From 936681fdad330fda0c4b283fc9f4541336771d9f Mon Sep 17 00:00:00 2001 From: David Hook Date: Mon, 8 Aug 2022 18:26:22 +1000 Subject: minor refactoring --- crypto/test/src/pqc/crypto/test/FalconTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/test/src') diff --git a/crypto/test/src/pqc/crypto/test/FalconTest.cs b/crypto/test/src/pqc/crypto/test/FalconTest.cs index f923f699f..0c73dfcfd 100644 --- a/crypto/test/src/pqc/crypto/test/FalconTest.cs +++ b/crypto/test/src/pqc/crypto/test/FalconTest.cs @@ -80,7 +80,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Tests FalconPublicKeyParameters pkparam = new FalconPublicKeyParameters(parameters[fileIndex], pk); verifier.Init(false, pkparam); byte[] noncesig = new byte[sm_len - m_len - 2 + 1]; - noncesig[0] = (byte)(0x30 + parameters[fileIndex].GetLogN()); + noncesig[0] = (byte)(0x30 + parameters[fileIndex].LogN); Array.Copy(sm, 2, noncesig, 1, 40); Array.Copy(sm, 2 + 40 + m_len, noncesig, 40 + 1, sm_len - 2 - 40 - m_len); bool vrfyrespass = verifier.VerifySignature(msg, noncesig); -- cgit 1.5.1