Class MLKEMEngine


  • public class MLKEMEngine
    extends java.lang.Object
    • Method Detail

      • getCipherTextBytes

        public int getCipherTextBytes()
      • getIndCpaPublicKeyBytes

        public int getIndCpaPublicKeyBytes()
      • getIndCpaSecretKeyBytes

        public int getIndCpaSecretKeyBytes()
      • getPolyVecBytes

        public int getPolyVecBytes()
      • checkModulus

        public boolean checkModulus​(byte[] t)
      • checkPrivateKey

        public boolean checkPrivateKey​(byte[] encoding)
      • generateKemKeyPair

        public byte[][] generateKemKeyPair​(java.security.SecureRandom random)
      • generateKemKeyPairInternal

        public byte[][] generateKemKeyPairInternal​(byte[] d,
                                                   byte[] z)