summary refs log tree commit diff
path: root/crypto/src/pqc
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-03-08 19:23:13 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-03-08 19:23:13 +0700
commit8b01148624504b062559735e5ea318dd2531fd39 (patch)
tree5d2501f6304799cbf2d98dd56ed081792de1b91b /crypto/src/pqc
parentMark explicitly internal (diff)
downloadBouncyCastle.NET-ed25519-8b01148624504b062559735e5ea318dd2531fd39.tar.xz
Fix some warnings
Diffstat (limited to 'crypto/src/pqc')
-rw-r--r--crypto/src/pqc/crypto/hqc/HqcKeccakRandomGenerator.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/src/pqc/crypto/hqc/HqcKeccakRandomGenerator.cs b/crypto/src/pqc/crypto/hqc/HqcKeccakRandomGenerator.cs
index 07d933247..e744bb9b1 100644
--- a/crypto/src/pqc/crypto/hqc/HqcKeccakRandomGenerator.cs
+++ b/crypto/src/pqc/crypto/hqc/HqcKeccakRandomGenerator.cs
@@ -20,7 +20,6 @@ namespace Org.BouncyCastle.Pqc.Crypto.Hqc
         private readonly ulong[] state = new ulong[26];
         private readonly byte[] dataQueue = new byte[192];
         private int rate;
-        private int bitsInQueue;
         private int fixedOutputLength;
 
         public HqcKeccakRandomGenerator()
@@ -58,7 +57,6 @@ namespace Org.BouncyCastle.Pqc.Crypto.Hqc
             this.rate = rate;
             Arrays.Fill(state, 0UL);
             Arrays.Fill(dataQueue, 0);
-            bitsInQueue = 0;
             fixedOutputLength = (1600 - rate) / 2;
         }