public abstract class NTRUHPSParameterSet extends NTRUParameterSet
The naming convention for the classes is NTRUHPS[q][n]. e.g. NTRUHPS2048509 has n = 509 and q = 2048.
NTRUHPS2048509,
NTRUHPS2048677,
NTRUHPS4096821,
NTRU specification document section 1.3.2| Modifier and Type | Method and Description |
|---|---|
Polynomial |
createPolynomial()
Creates a polynomial based on this parameter set.
|
int |
sampleFgBytes() |
int |
sampleRmBytes() |
int |
weight() |
logQ, n, ntruCiphertextBytes, ntruPublicKeyBytes, ntruSecretKeyBytes, owcpaBytes, owcpaMsgBytes, owcpaPublicKeyBytes, owcpaSecretKeyBytes, packDegree, packTrinaryBytes, prfKeyBytes, q, sampleFixedTypeBytes, sampleIidBytes, seedBytes, sharedKeyBytespublic Polynomial createPolynomial()
NTRUParameterSetcreatePolynomial in class NTRUParameterSetPolynomialpublic int sampleFgBytes()
sampleFgBytes in class NTRUParameterSetsample_key_bits/8public int sampleRmBytes()
sampleRmBytes in class NTRUParameterSetsample_plaintext_bits/8public int weight()