|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bouncycastle.pqc.math.ntru.parameters.NTRUParameterSet
Abstract class for all NTRU parameter sets.
NTRUHPSParameterSet
,
NTRUHRSSParameterSet
,
NTRU specification documentConstructor Summary | |
NTRUParameterSet(int n,
int logQ,
int seedBytes,
int prfKeyBytes,
int sharedKeyBytes)
|
Method Summary | |
abstract Polynomial |
createPolynomial()
Creates a polynomial based on this parameter set. |
int |
logQ()
logq |
int |
n()
n |
int |
ntruCiphertextBytes()
The number of bytes in a ciphertext for the KEM. |
int |
ntruPublicKeyBytes()
The number of bytes in a public key for the KEM. |
int |
ntruSecretKeyBytes()
The number of bytes in a private key for the KEM. |
int |
owcpaBytes()
The number of bytes in a ciphertext for the DPKE. |
int |
owcpaMsgBytes()
The number of bytes in a plaintext for the DPKE. |
int |
owcpaPublicKeyBytes()
The number of bytes in a public key for the DPKE. |
int |
owcpaSecretKeyBytes()
The number of bytes in a private key for the DPKE. |
int |
packDegree()
|
int |
packTrinaryBytes()
|
int |
prfKeyBytes()
The number of bytes used to key the implicit rejection mechanism. |
int |
q()
q |
abstract int |
sampleFgBytes()
|
int |
sampleFixedTypeBytes()
|
int |
sampleIidBytes()
|
abstract int |
sampleRmBytes()
|
int |
seedBytes()
The number of random bytes consumed by keygen. |
int |
sharedKeyBytes()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NTRUParameterSet(int n, int logQ, int seedBytes, int prfKeyBytes, int sharedKeyBytes)
Method Detail |
public abstract Polynomial createPolynomial()
Polynomial
public int n()
public int logQ()
public int q()
public int seedBytes()
public int prfKeyBytes()
public int sharedKeyBytes()
public int sampleIidBytes()
public int sampleFixedTypeBytes()
public abstract int sampleFgBytes()
public abstract int sampleRmBytes()
public int packDegree()
public int packTrinaryBytes()
public int owcpaMsgBytes()
public int owcpaPublicKeyBytes()
public int owcpaSecretKeyBytes()
public int owcpaBytes()
public int ntruPublicKeyBytes()
public int ntruSecretKeyBytes()
public int ntruCiphertextBytes()
|
Bouncy Castle Cryptography Library 1.79 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |