aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-22 19:22:29 -0500
committerJack Lloyd <[email protected]>2016-12-22 19:22:29 -0500
commit292c44fe729f494d1abdde5f5f47a0ccbb32976c (patch)
tree959bac5d052bb3d7c6840c5a3e3c4c6b3de65c49 /src/tests
parentfa288c3d2e0c8051db86ff47efeda807b0173edc (diff)
Add tests for 4-pass Tiger hash
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/data/hash/tiger.vec12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tests/data/hash/tiger.vec b/src/tests/data/hash/tiger.vec
index 7e6c9091e..78226e9f1 100644
--- a/src/tests/data/hash/tiger.vec
+++ b/src/tests/data/hash/tiger.vec
@@ -40,3 +40,15 @@ Out = CE55A6AFD591F5EBAC547FF84F89227F9331DAB0B611C889
In = 5469676572202D20412046617374204E657720486173682046756E6374696F6E2C20627920526F737320416E646572736F6E20616E6420456C6920426968616D2C2070726F63656564696E6773206F66204661737420536F66747761726520456E6372797074696F6E20332C2043616D6272696467652C20313939362E
Out = 631ABDD103EB9A3D245B6DFD4D77B257FC7439501D1568DD
+# 4-pass Tiger outputs generated by http://www.hashemall.com/
+[Tiger(16,4)]
+In = 3420706173732054696765722031323820626974206F7574707574
+Out = D784FD3A91D22FEE99FF8E7E2ECBA079
+
+[Tiger(20,4)]
+In = 3420706173732054696765722031363020626974206F7574707574
+Out = A104348FA6F4F026AF81E4F46BBBE27BED70201A
+
+[Tiger(24,4)]
+In = 342070617373205469676572
+Out = 4BC93EC0E1188DE695617907BDF4E4BE7F27C005D3DF9AB0