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