diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2017-09-17 16:59:02 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2017-09-17 16:59:02 +0700 |
commit | 48a6d119371426cc80fecd4f4e82981397bbb1d0 (patch) | |
tree | 40359ec5f69166dc4308cbe59dab27776fe063f7 | |
parent | Port of some newer test cases and data from Java CertTest (diff) | |
download | BouncyCastle.NET-ed25519-48a6d119371426cc80fecd4f4e82981397bbb1d0.tar.xz |
Remove redundant Init call
-rw-r--r-- | crypto/src/crypto/generators/HKDFBytesGenerator.cs | 1 |
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 |