summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crypto/src/pqc/crypto/ntruprime/NtruPrimeKemExtractor.cs4
-rw-r--r--crypto/test/src/pqc/crypto/test/NtruPrimeVectorTest.cs2
2 files changed, 3 insertions, 3 deletions
diff --git a/crypto/src/pqc/crypto/ntruprime/NtruPrimeKemExtractor.cs b/crypto/src/pqc/crypto/ntruprime/NtruPrimeKemExtractor.cs
index 9e3c65b10..7ae67db50 100644
--- a/crypto/src/pqc/crypto/ntruprime/NtruPrimeKemExtractor.cs
+++ b/crypto/src/pqc/crypto/ntruprime/NtruPrimeKemExtractor.cs
@@ -3,12 +3,12 @@ using Org.BouncyCastle.Pqc.Crypto.Frodo;
 
 namespace Org.BouncyCastle.Pqc.Crypto.NtruPrime
 {
-    public class NtruPrimeKEMExtractor : IEncapsulatedSecretExtractor
+    public class NtruPrimeKemExtractor : IEncapsulatedSecretExtractor
     {
         private NtruPrimeEngine _pEngine;
         private NtruPrimeKeyParameters _pKey;
 
-        public NtruPrimeKEMExtractor(NtruPrimeKeyParameters privParams)
+        public NtruPrimeKemExtractor(NtruPrimeKeyParameters privParams)
         {
             this._pKey = privParams;
             InitCipher(_pKey.Parameters);
diff --git a/crypto/test/src/pqc/crypto/test/NtruPrimeVectorTest.cs b/crypto/test/src/pqc/crypto/test/NtruPrimeVectorTest.cs
index 29d5292fa..f42135674 100644
--- a/crypto/test/src/pqc/crypto/test/NtruPrimeVectorTest.cs
+++ b/crypto/test/src/pqc/crypto/test/NtruPrimeVectorTest.cs
@@ -122,7 +122,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Tests
                             Assert.True(Arrays.AreEqual(ss, secret), name + " " + count + ": kem_enc secret");
                             
                             // Decapsulation
-                            NtruPrimeKEMExtractor ntruDecCipher = new NtruPrimeKEMExtractor(privParams);
+                            NtruPrimeKemExtractor ntruDecCipher = new NtruPrimeKemExtractor(privParams);
                             byte[] dec_key = ntruDecCipher.ExtractSecret(generatedCT);
                             
                             // Check decapsulation secret