diff options
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/src/pqc/crypto/test/CrystalsKyberTest.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/test/src/pqc/crypto/test/CrystalsKyberTest.cs b/crypto/test/src/pqc/crypto/test/CrystalsKyberTest.cs index 6130db774..856fe1b7a 100644 --- a/crypto/test/src/pqc/crypto/test/CrystalsKyberTest.cs +++ b/crypto/test/src/pqc/crypto/test/CrystalsKyberTest.cs @@ -91,7 +91,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Tests Assert.True(Arrays.AreEqual(sk, privParams.GetEncoded()), name + " " + count + ": secret key"); // KEM Enc - KyberKEMGenerator KyberEncCipher = new KyberKEMGenerator(random); + KyberKemGenerator KyberEncCipher = new KyberKemGenerator(random); ISecretWithEncapsulation secWenc = KyberEncCipher.GenerateEncapsulated(pubParams); byte[] generated_cipher_text = secWenc.GetEncapsulation(); @@ -111,7 +111,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Tests Assert.True(Arrays.AreEqual(ss, 0, secret.Length, secret, 0, secret.Length), name + " " + count + ": kem_enc key"); // KEM Dec - KyberKEMExtractor KyberDecCipher = new KyberKEMExtractor(privParams); + KyberKemExtractor KyberDecCipher = new KyberKemExtractor(privParams); byte[] dec_key = KyberDecCipher.ExtractSecret(generated_cipher_text); |