From 3e1cd145fc0c700ea267dc4e30e6f0ebd99f9c04 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Mon, 29 May 2023 17:34:36 +0700 Subject: HC128Engine: require exactly 128 bits of IV --- crypto/test/src/test/CipherStreamTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto/test/src') 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( -- cgit 1.5.1