summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'crypto')
-rw-r--r--crypto/src/crypto/generators/HKDFBytesGenerator.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crypto/src/crypto/generators/HKDFBytesGenerator.cs b/crypto/src/crypto/generators/HKDFBytesGenerator.cs
index c2e667c95..6f36a6faa 100644
--- a/crypto/src/crypto/generators/HKDFBytesGenerator.cs
+++ b/crypto/src/crypto/generators/HKDFBytesGenerator.cs
@@ -66,7 +66,6 @@ namespace Org.BouncyCastle.Crypto.Generators
          */
         private KeyParameter Extract(byte[] salt, byte[] ikm)
         {
-            hMacHash.Init(new KeyParameter(ikm));
             if (salt == null)
             {
                 // TODO check if hashLen is indeed same as HMAC size