summary refs log tree commit diff
path: root/crypto/test
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2022-09-20 16:14:16 +1000
committerDavid Hook <dgh@cryptoworkshop.com>2022-09-20 16:14:16 +1000
commit29713a2a41a0ef69b13466ece39ac92d2db6bcc3 (patch)
tree86c31daa9fc496d5f6e2a37d17f6b562d57de542 /crypto/test
parentAdd MapElements methods (diff)
downloadBouncyCastle.NET-ed25519-29713a2a41a0ef69b13466ece39ac92d2db6bcc3.tar.xz
added randomized signing
Diffstat (limited to 'crypto/test')
-rw-r--r--crypto/test/src/pqc/crypto/test/CrystalsDilithiumTest.cs4
1 files changed, 2 insertions, 2 deletions
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);