diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-05-29 17:34:36 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2023-05-29 17:34:36 +0700 |
commit | 3e1cd145fc0c700ea267dc4e30e6f0ebd99f9c04 (patch) | |
tree | 1dacd33f47bb0fe7195d9c09ba87a3e177bf643c /crypto/test | |
parent | Correct the error message (diff) | |
download | BouncyCastle.NET-ed25519-3e1cd145fc0c700ea267dc4e30e6f0ebd99f9c04.tar.xz |
HC128Engine: require exactly 128 bits of IV
Diffstat (limited to 'crypto/test')
-rw-r--r-- | crypto/test/src/test/CipherStreamTest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/test/src/test/CipherStreamTest.cs b/crypto/test/src/test/CipherStreamTest.cs index f7115e254..d51234649 100644 --- a/crypto/test/src/test/CipherStreamTest.cs +++ b/crypto/test/src/test/CipherStreamTest.cs @@ -36,7 +36,7 @@ namespace Org.BouncyCastle.Tests + "F9E460BC65EF95DA58F740B7D1DBB0AA"); private static readonly byte[] HCIN = new byte[64]; - private static readonly byte[] HCIV = new byte[32]; + private static readonly byte[] HCIV = new byte[16]; private static readonly byte[] HCK256A = new byte[32]; private static readonly byte[] HC256A = Hex.Decode( |