From 29713a2a41a0ef69b13466ece39ac92d2db6bcc3 Mon Sep 17 00:00:00 2001 From: David Hook Date: Tue, 20 Sep 2022 16:14:16 +1000 Subject: added randomized signing --- crypto/test/src/pqc/crypto/test/CrystalsDilithiumTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/test') diff --git a/crypto/test/src/pqc/crypto/test/CrystalsDilithiumTest.cs b/crypto/test/src/pqc/crypto/test/CrystalsDilithiumTest.cs index fc26f3c5f..351fc9140 100644 --- a/crypto/test/src/pqc/crypto/test/CrystalsDilithiumTest.cs +++ b/crypto/test/src/pqc/crypto/test/CrystalsDilithiumTest.cs @@ -60,7 +60,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Tests AsymmetricCipherKeyPair kp = kpGen.GenerateKeyPair(); - DilithiumSigner signer = new DilithiumSigner(random); + DilithiumSigner signer = new DilithiumSigner(); signer.Init(true, kp.Private); @@ -112,7 +112,7 @@ namespace Org.BouncyCastle.Pqc.Crypto.Tests // // Signature test // - DilithiumSigner signer = new DilithiumSigner(random); + DilithiumSigner signer = new DilithiumSigner(); signer.Init(true, privParams); byte[] sigGenerated = signer.GenerateSignature(msg); -- cgit 1.4.1