NTRUHPSParameterSet, NTRUHRSSParameterSet, NTRU specification document
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final int | |
| private final int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract Polynomial | Returns: an instance ofPolynomialCreates a polynomial based on this parameter set. |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | |
| public int | Returns: dpke_public_key_bytesThe number of bytes in a public key for the DPKE. |
| public int | Returns: dpke_private_key_bytesThe number of bytes in a private key for the DPKE. |
| public int | |
| public int | |
| public int | Returns: prf_key_bits/8The number of bytes used to key the implicit rejection mechanism. |
| public int | |
| public abstract int | |
| public int | |
| public int | |
| public abstract int | |
| public int | |
| public int |
| logQ | back to summary |
|---|---|
| private final int logQ | |
| n | back to summary |
|---|---|
| private final int n | |
| prfKeyBytes | back to summary |
|---|---|
| private final int prfKeyBytes | |
| seedBytes | back to summary |
|---|---|
| private final int seedBytes | |
| sharedKeyBytes | back to summary |
|---|---|
| private final int sharedKeyBytes | |
| NTRUParameterSet | back to summary |
|---|---|
| public NTRUParameterSet(int n, int logQ, int seedBytes, int prfKeyBytes, int sharedKeyBytes) | |
| createPolynomial | back to summary |
|---|---|
| public abstract Polynomial createPolynomial() Creates a polynomial based on this parameter set.
| |
| logQ | back to summary |
|---|---|
| public int logQ() logq
| |
| n | back to summary |
|---|---|
| public int n() n
| |
| ntruCiphertextBytes | back to summary |
|---|---|
| public int ntruCiphertextBytes() The number of bytes in a ciphertext for the KEM.
| |
| ntruPublicKeyBytes | back to summary |
|---|---|
| public int ntruPublicKeyBytes() The number of bytes in a public key for the KEM.
| |
| ntruSecretKeyBytes | back to summary |
|---|---|
| public int ntruSecretKeyBytes() The number of bytes in a private key for the KEM.
| |
| owcpaBytes | back to summary |
|---|---|
| public int owcpaBytes() The number of bytes in a ciphertext for the DPKE.
| |
| owcpaMsgBytes | back to summary |
|---|---|
| public int owcpaMsgBytes() The number of bytes in a plaintext for the DPKE.
| |
| owcpaPublicKeyBytes | back to summary |
|---|---|
| public int owcpaPublicKeyBytes() The number of bytes in a public key for the DPKE.
| |
| owcpaSecretKeyBytes | back to summary |
|---|---|
| public int owcpaSecretKeyBytes() The number of bytes in a private key for the DPKE.
| |
| packDegree | back to summary |
|---|---|
| public int packDegree() | |
| packTrinaryBytes | back to summary |
|---|---|
public int packTrinaryBytes()
| |
| prfKeyBytes | back to summary |
|---|---|
| public int prfKeyBytes() The number of bytes used to key the implicit rejection mechanism.
| |
| q | back to summary |
|---|---|
| public int q() q
| |
| sampleFgBytes | back to summary |
|---|---|
public abstract int sampleFgBytes()
| |
| sampleFixedTypeBytes | back to summary |
|---|---|
public int sampleFixedTypeBytes()
| |
| sampleIidBytes | back to summary |
|---|---|
public int sampleIidBytes()
| |
| sampleRmBytes | back to summary |
|---|---|
public abstract int sampleRmBytes()
| |
| seedBytes | back to summary |
|---|---|
| public int seedBytes() The number of random bytes consumed by keygen.
| |
| sharedKeyBytes | back to summary |
|---|---|
public int sharedKeyBytes()
| |