summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-10-22 14:00:43 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-10-22 14:00:43 +0700
commit86daf64a96babafec6320f078bec76de8f297947 (patch)
tree680c6aa9943383a4d03b54e1f1f0da862af14d1e /crypto/test
parentRefactoring in Pqc.Crypto.Lms (diff)
downloadBouncyCastle.NET-ed25519-86daf64a96babafec6320f078bec76de8f297947.tar.xz
Refactoring in Pqc.Crypto.Saber
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/pqc/crypto/test/SaberVectorTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/pqc/crypto/test/SaberVectorTest.cs b/crypto/test/src/pqc/crypto/test/SaberVectorTest.cs
index 5da8828cc..45a14d965 100644
--- a/crypto/test/src/pqc/crypto/test/SaberVectorTest.cs
+++ b/crypto/test/src/pqc/crypto/test/SaberVectorTest.cs
@@ -88,7 +88,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Tests
             SaberPrivateKeyParameters privParams = (SaberPrivateKeyParameters)PrivateKeyFactory.CreateKey(
                     PrivateKeyInfoFactory.CreatePrivateKeyInfo((SaberPrivateKeyParameters)kp.Private));
 
-            Assert.True(Arrays.AreEqual(pk, pubParams.PublicKey), name + " " + count + ": public key");
+            Assert.True(Arrays.AreEqual(pk, pubParams.GetPublicKey()), name + " " + count + ": public key");
             Assert.True(Arrays.AreEqual(sk, privParams.GetPrivateKey()), name + " " + count + ": secret key");
 
             // KEM Enc