165c059f |
1 | # $Id: tiger,v 1.1 2000/07/15 10:17:19 mdw Exp $ |
2 | # |
3 | # Test vectors for Tiger |
4 | |
5 | # --- The main hash --- |
6 | # |
7 | # These are taken from the reference implementation. |
8 | |
9 | tiger { |
10 | "" 3293ac630c13f0245f92bbb1766e16167a4e58492dde73f3; |
11 | "abc" 2aab1484e8c158f2bfb8c5ff41b57a525129131c957b5f93; |
12 | "Tiger" dd00230799f5009fec6debc838bb6a27df2b9d6f110c7937; |
13 | "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-" |
14 | f71c8583902afb879edfe610f82c0d4786a3a534504486b5; |
15 | "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789" |
16 | 48ceeb6308b87d46e95d656112cdf18d97915f9765658957; |
17 | "Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham" |
18 | 8a866829040a410c729ad23f5ada711603b3cdd357e4c15e; |
19 | "Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham, proceedings of Fast Software Encryption 3, Cambridge." |
20 | ce55a6afd591f5ebac547ff84f89227f9331dab0b611c889; |
21 | "Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham, proceedings of Fast Software Encryption 3, Cambridge, 1996." |
22 | 631abdd103eb9a3d245b6dfd4d77b257fc7439501d1568dd; |
23 | "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-" |
24 | c54034e5b43eb8005848a7e0ae6aac76e4ff590ae715fd25; |
25 | } |
26 | |
27 | # --- HMAC mode --- |
28 | # |
29 | # No test vectors available. The HMAC implementation has not been tested |
30 | # against an external reference. The HMAC code is autogenerated anyway, and |
31 | # ought to be reliable and correct. |
32 | # |
33 | # These test vectors are here to spot changes in behaviour rather than ensure |
34 | # interoperability. |
35 | |
36 | tiger-hmac { |
37 | "Hi There" |
38 | 0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b |
39 | 0a402190741a498d6d4a09016b0895cb6419ff849b196137; |
40 | |
41 | "what do ya want for nothing?" |
42 | 4a656665 |
43 | 3a351b1dec6075d6290e68b604e553821edc39041b82da83; |
44 | |
45 |