|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.pqc.math.ntru.parameters.NTRUParameterSet
org.bouncycastle.pqc.math.ntru.parameters.NTRUHPSParameterSet
Abstract class for NTRU-HPS parameter classes.
The naming convention for the classes is . e.g. NTRUHPS2048509
has n = 509 and q = 2048.
NTRUHPS2048509
,
NTRUHPS2048677
,
NTRUHPS4096821
,
NTRU specification document section 1.3.2Method Summary | |
Polynomial |
createPolynomial()
Creates a polynomial based on this parameter set. |
int |
sampleFgBytes()
|
int |
sampleRmBytes()
|
int |
weight()
|
Methods inherited from class org.bouncycastle.pqc.math.ntru.parameters.NTRUParameterSet |
logQ, n, ntruCiphertextBytes, ntruPublicKeyBytes, ntruSecretKeyBytes, owcpaBytes, owcpaMsgBytes, owcpaPublicKeyBytes, owcpaSecretKeyBytes, packDegree, packTrinaryBytes, prfKeyBytes, q, sampleFixedTypeBytes, sampleIidBytes, seedBytes, sharedKeyBytes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Polynomial createPolynomial()
NTRUParameterSet
createPolynomial
in class NTRUParameterSet
Polynomial
public int sampleFgBytes()
sampleFgBytes
in class NTRUParameterSet
public int sampleRmBytes()
sampleRmBytes
in class NTRUParameterSet
public int weight()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |