summary refs log tree commit diff
path: root/crypto
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2017-09-17 16:59:02 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2017-09-17 16:59:02 +0700
commit48a6d119371426cc80fecd4f4e82981397bbb1d0 (patch)
tree40359ec5f69166dc4308cbe59dab27776fe063f7 /crypto
parentPort of some newer test cases and data from Java CertTest (diff)
downloadBouncyCastle.NET-ed25519-48a6d119371426cc80fecd4f4e82981397bbb1d0.tar.xz
Remove redundant Init call
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