aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-11-05 21:22:59 -0500
committerJack Lloyd <[email protected]>2017-11-05 21:22:59 -0500
commit7e3cfd7eb4cc9165c9c53c81c3613c23db433cd7 (patch)
tree6ecff777d5f8e3e2fe6ea87504944d4a9b395f0f /src
parent70b5a6ac8e8787d38286edcd5dd9135bd32125b0 (diff)
Add SHACAL2 test from Bouncy Castle
[ci skip]
Diffstat (limited to 'src')
-rw-r--r--src/tests/data/block/shacal2.vec5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tests/data/block/shacal2.vec b/src/tests/data/block/shacal2.vec
index e72b1b078..5eaf70a29 100644
--- a/src/tests/data/block/shacal2.vec
+++ b/src/tests/data/block/shacal2.vec
@@ -1,5 +1,10 @@
[SHACAL2]
+# From Bouncy Castle
+Key = 000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F202122232425262728292A2B2C2D2E2F303132333435363738393A3B3C3D3E3F
+In = 98BCC10405AB0BFC686BECECAAD01AC19B452511BCEB9CB094F905C51CA45430
+Out = 00112233445566778899AABBCCDDEEFF102132435465768798A9BACBDCEDFE0F
+
# Tests for short key handling
Key = 80000000000000000000000000000000
In = 0000000000000000000000000000000000000000000000000000000000000000