| Modifier and Type | Field and Description |
|---|---|
| private final NTRUPrivateKeyParameters | |
| private final NTRUParameters |
| Access | Constructor and Description |
|---|---|
| public | NTRUKEMExtractor(NTRUPrivateKeyParameters
private key used to encapsulate the secret ntruPrivateKey)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public byte[] | extractSecret(byte[]
the encapsulated secret. encapsulation)Implements org. |
| public int | getEncapsulationLength()
Implements org. |
| ntruPrivateKey | back to summary |
|---|---|
| private final NTRUPrivateKeyParameters ntruPrivateKey | |
| params | back to summary |
|---|---|
| private final NTRUParameters params | |
| NTRUKEMExtractor | back to summary |
|---|---|
| public NTRUKEMExtractor(NTRUPrivateKeyParameters ntruPrivateKey) Constructor. an NTRU parameter
| |
| cmov | back to summary |
|---|---|
| private void cmov(byte[] r, byte[] x, byte b) | |
| extractSecret | back to summary |
|---|---|
| public byte[] extractSecret(byte[] encapsulation) Implements org. Doc from org. Extract the secret based on the recipient private key.
| |
| getEncapsulationLength | back to summary |
|---|---|
| public int getEncapsulationLength() Implements org. Doc from org. Return the length in bytes of the encapsulation.
| |