diff options
author | David Hook <david.hook@keyfactor.com> | 2022-11-08 16:20:11 +1100 |
---|---|---|
committer | David Hook <david.hook@keyfactor.com> | 2022-11-08 16:20:11 +1100 |
commit | 3c3448ac36888206090a524ab1d8bb22d8736ab2 (patch) | |
tree | acb4fe51dd023939f36aa7837fa0a77b925e3c62 | |
parent | Pqc cleanup (diff) | |
download | BouncyCastle.NET-ed25519-3c3448ac36888206090a524ab1d8bb22d8736ab2.tar.xz |
removed unused SecureRandom
-rw-r--r-- | crypto/src/pqc/crypto/picnic/PicnicSigner.cs | 5 |
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) |