public abstract class NTRUHRSSParameterSet extends NTRUParameterSet
The naming convention for the classes is NTRUHRSS[n]
. e.g. NTRUHRSS701
has n = 701.
NTRUHRSS701
,
NTRU specification document section 1.3.3Modifier and Type | Method and Description |
---|---|
Polynomial |
createPolynomial()
Creates a polynomial based on this parameter set.
|
int |
sampleFgBytes() |
int |
sampleRmBytes() |
logQ, n, ntruCiphertextBytes, ntruPublicKeyBytes, ntruSecretKeyBytes, owcpaBytes, owcpaMsgBytes, owcpaPublicKeyBytes, owcpaSecretKeyBytes, packDegree, packTrinaryBytes, prfKeyBytes, q, sampleFixedTypeBytes, sampleIidBytes, seedBytes, sharedKeyBytes
public Polynomial createPolynomial()
NTRUParameterSet
createPolynomial
in class NTRUParameterSet
Polynomial
public int sampleFgBytes()
sampleFgBytes
in class NTRUParameterSet
sample_key_bits/8
public int sampleRmBytes()
sampleRmBytes
in class NTRUParameterSet
sample_plaintext_bits/8