| Modifier and Type | Field and Description |
|---|---|
| private MLKEMEngine | |
| private int | |
| private int | |
| public final int | |
| private int | |
| private int | |
| private int | |
| private int | |
| private Symmetric |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public byte[] | |
| pack-priv byte[][] | Returns: KeyPair where each key is represented as bytesGenerates IndCpa Key Pair |
| public void | |
| private byte[] | |
| public byte[] | |
| public byte[] | |
| private static int | |
| private void | |
| public byte[] | |
| public void |
| engine | back to summary |
|---|---|
| private MLKEMEngine engine | |
| indCpaBytes | back to summary |
|---|---|
| private int indCpaBytes | |
| indCpaPublicKeyBytes | back to summary |
|---|---|
| private int indCpaPublicKeyBytes | |
| KyberGenerateMatrixNBlocks | back to summary |
|---|---|
| public final int KyberGenerateMatrixNBlocks | |
| kyberK | back to summary |
|---|---|
| private int kyberK | |
| polyCompressedBytes | back to summary |
|---|---|
| private int polyCompressedBytes | |
| polyVecBytes | back to summary |
|---|---|
| private int polyVecBytes | |
| polyVecCompressedBytes | back to summary |
|---|---|
| private int polyVecCompressedBytes | |
| symmetric | back to summary |
|---|---|
| private Symmetric symmetric | |
| MLKEMIndCpa | back to summary |
|---|---|
| public MLKEMIndCpa(MLKEMEngine engine) | |
| decrypt | back to summary |
|---|---|
| public byte[] decrypt(byte[] secretKey, byte[] cipherText) | |
| encrypt | back to summary |
|---|---|
| public byte[] encrypt(byte[] publicKeyInput, byte[] msg, byte[] coins) | |
| generateKeyPair | back to summary |
|---|---|
| pack-priv byte[][] generateKeyPair(byte[] d) Generates IndCpa Key Pair
| |
| generateMatrix | back to summary |
|---|---|
| public void generateMatrix(PolyVec[] aMatrix, byte[] seed, boolean transposed) | |
| packCipherText | back to summary |
|---|---|
| private byte[] packCipherText(PolyVec b, Poly v) | |
| packPublicKey | back to summary |
|---|---|
| public byte[] packPublicKey(PolyVec publicKeyPolyVec, byte[] seed) | |
| packSecretKey | back to summary |
|---|---|
| public byte[] packSecretKey(PolyVec secretKeyPolyVec) | |
| rejectionSampling | back to summary |
|---|---|
| private static int rejectionSampling(Poly outputBuffer, int coeffOff, int len, byte[] inpBuf, int inpBufLen) | |
| unpackCipherText | back to summary |
|---|---|
| private void unpackCipherText(PolyVec b, Poly v, byte[] cipherText) | |
| unpackPublicKey | back to summary |
|---|---|
| public byte[] unpackPublicKey(PolyVec publicKeyPolyVec, byte[] publicKey) | |
| unpackSecretKey | back to summary |
|---|---|
| public void unpackSecretKey(PolyVec secretKeyPolyVec, byte[] secretKey) | |