diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-12-25 00:23:52 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-12-25 00:23:52 +0700 |
commit | d23f5025d8281432258b906ab07dcf96db37703f (patch) | |
tree | 59606ee37faf854051d13876ef215a92c987a0f9 /crypto/src | |
parent | Merge branch 'master' of git.bouncycastle.org:bc-csharp (diff) | |
download | BouncyCastle.NET-ed25519-d23f5025d8281432258b906ab07dcf96db37703f.tar.xz |
Fix VmpcMac to actually use offset in BlockUpdate()
- https://github.com/bcgit/bc-java/issues/127
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/crypto/macs/VMPCMac.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/crypto/macs/VMPCMac.cs b/crypto/src/crypto/macs/VMPCMac.cs index 89916355c..6f2da075c 100644 --- a/crypto/src/crypto/macs/VMPCMac.cs +++ b/crypto/src/crypto/macs/VMPCMac.cs @@ -166,7 +166,7 @@ namespace Org.BouncyCastle.Crypto.Macs for (int i = 0; i < len; i++) { - Update(input[i]); + Update(input[inOff + i]); } } } |