summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorDavid Hook <david.hook@keyfactor.com>2022-11-07 17:39:01 +1100
committerDavid Hook <david.hook@keyfactor.com>2022-11-07 17:39:01 +1100
commitd75a665afb72634d4a2af42b3c8d29931fcdaf3e (patch)
tree550a4ba131270022873f5d7c2ef35b70451c552a /crypto/test
parentfixed use of property (diff)
downloadBouncyCastle.NET-ed25519-d75a665afb72634d4a2af42b3c8d29931fcdaf3e.tar.xz
fixed use of property
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/pqc/crypto/test/FrodoVectorTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/test/src/pqc/crypto/test/FrodoVectorTest.cs b/crypto/test/src/pqc/crypto/test/FrodoVectorTest.cs
index f7397c442..a8133e524 100644
--- a/crypto/test/src/pqc/crypto/test/FrodoVectorTest.cs
+++ b/crypto/test/src/pqc/crypto/test/FrodoVectorTest.cs
@@ -87,8 +87,8 @@ namespace Org.BouncyCastle.Pqc.Crypto.Tests
             FrodoPublicKeyParameters pubParams = (FrodoPublicKeyParameters)kp.Public;
             FrodoPrivateKeyParameters privParams = (FrodoPrivateKeyParameters)kp.Private;
 
-            Assert.True(Arrays.AreEqual(pk, pubParams.PublicKey), $"{name} {count} : public key");
-            Assert.True(Arrays.AreEqual(sk, privParams.PrivateKey), $"{name} {count} : secret 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
             FrodoKEMGenerator frodoEncCipher = new FrodoKEMGenerator(random);