summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Hook <david.hook@keyfactor.com>2022-11-08 16:20:11 +1100
committerDavid Hook <david.hook@keyfactor.com>2022-11-08 16:20:11 +1100
commit3c3448ac36888206090a524ab1d8bb22d8736ab2 (patch)
treeacb4fe51dd023939f36aa7837fa0a77b925e3c62
parentPqc cleanup (diff)
downloadBouncyCastle.NET-ed25519-3c3448ac36888206090a524ab1d8bb22d8736ab2.tar.xz
removed unused SecureRandom
-rw-r--r--crypto/src/pqc/crypto/picnic/PicnicSigner.cs5
1 files changed, 1 insertions, 4 deletions
diff --git a/crypto/src/pqc/crypto/picnic/PicnicSigner.cs b/crypto/src/pqc/crypto/picnic/PicnicSigner.cs
index a6eee2400..b391b62bc 100644
--- a/crypto/src/pqc/crypto/picnic/PicnicSigner.cs
+++ b/crypto/src/pqc/crypto/picnic/PicnicSigner.cs
@@ -7,14 +7,11 @@ namespace Org.BouncyCastle.Pqc.Crypto.Picnic
     public sealed class PicnicSigner 
         : IMessageSigner
     {
-        private readonly SecureRandom random;
-
         private PicnicPrivateKeyParameters privKey;
         private PicnicPublicKeyParameters pubKey;
 
-        public PicnicSigner(SecureRandom random)
+        public PicnicSigner()
         {
-            this.random = random;
         }
 
         public void Init(bool forSigning, ICipherParameters param)