diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-09-07 11:10:02 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2015-09-07 11:10:02 +0700 |
commit | 38024d27b227a1b6a37ddd78ee8d6842524d116f (patch) | |
tree | b950cd8a726c67dbaf3be41e222eead83b5eca12 /crypto/test/src | |
parent | Avoid duplicate test execution (diff) | |
download | BouncyCastle.NET-ed25519-38024d27b227a1b6a37ddd78ee8d6842524d116f.tar.xz |
Correct 1605-bit test vector for SHA3-512
Diffstat (limited to 'crypto/test/src')
-rw-r--r-- | crypto/test/src/crypto/test/SHA3DigestTest.cs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/crypto/test/src/crypto/test/SHA3DigestTest.cs b/crypto/test/src/crypto/test/SHA3DigestTest.cs index b5c26c621..71f51f43b 100644 --- a/crypto/test/src/crypto/test/SHA3DigestTest.cs +++ b/crypto/test/src/crypto/test/SHA3DigestTest.cs @@ -170,15 +170,6 @@ namespace Org.BouncyCastle.Crypto.Tests int bits = v.Bits; int partialBits = bits % 8; - if (bits == 1605 && v.Algorithm.IndexOf("512") >= 0) - { - /* - * TODO The SHA3-512 1605-bit test vector appear to be invalid. The 1605-bit vectors for - * the other SHA3 lengths were originally wrong, but fixed 14th Aug, 2015. - */ - return; - } - //Console.WriteLine(v.Algorithm + " " + bits + "-bit"); //Console.WriteLine(Hex.ToHexString(v.Message).ToUpper()); //Console.WriteLine(Hex.ToHexString(v.Hash).ToUpper()); |