summary refs log tree commit diff
path: root/crypto/src/pqc
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/pqc')
-rw-r--r--crypto/src/pqc/crypto/hqc/HqcKeccakRandomGenerator.cs3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/src/pqc/crypto/hqc/HqcKeccakRandomGenerator.cs b/crypto/src/pqc/crypto/hqc/HqcKeccakRandomGenerator.cs
index e744bb9b1..4349c6a15 100644
--- a/crypto/src/pqc/crypto/hqc/HqcKeccakRandomGenerator.cs
+++ b/crypto/src/pqc/crypto/hqc/HqcKeccakRandomGenerator.cs
@@ -62,9 +62,6 @@ namespace Org.BouncyCastle.Pqc.Crypto.Hqc
 
         private void KeccakIncAbsorb(byte[] input, int inputLen)
         {
-            if (input == null)
-                return;
-
             int count = 0;
             int rateBytes = rate >> 3;
             while (inputLen + (long)state[25] >= rateBytes)