summary refs log tree commit diff
path: root/crypto/test/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-09-28 15:54:37 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-09-28 15:54:37 +0700
commit2c0198457d4e32f2cb967b44f3caeb17c838069b (patch)
tree31b46480de94b562d440f0771304215aca834668 /crypto/test/src
parentAdd LE_To_UInt24, refactor (diff)
downloadBouncyCastle.NET-ed25519-2c0198457d4e32f2cb967b44f3caeb17c838069b.tar.xz
Kyber refactoring
Diffstat (limited to 'crypto/test/src')
-rw-r--r--crypto/test/src/pqc/crypto/test/CrystalsKyberTest.cs4
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);