|
1 +M SHA1 tests |
|
2 +C This file contains test vectors for the SHA1 algorithm... |
|
3 +C Null string |
|
4 DA39A3EE5E6B4B0D3255BFEF95601890AFD80709 |
|
5 +M FIPS 180-1: SHA1 vectors test |
|
6 +C Fips test 1 "abc" |
|
7 616263 A9993E364706816ABA3E25717850C26C9CD0D89D |
|
8 +C Fips test 2 -- 56 bytes and should cause overflow (append a single 1, then 63 zeros, then 448 more zeros, and finally 2 counter words) |
|
9 6162636462636465636465666465666765666768666768696768696A68696A6B696A6B6C6A6B6C6D6B6C6D6E6C6D6E6F6D6E6F706E6F7071 84983E441C3BD26EBAAE4AA1F95129E5E54670F1 |
|
10 +C 511 byte vector from openssl |
|
11 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F 14BBF552816C92AE1EF7F85609C9AA5D3FA7D215 |
|
12 +C 510 byte vector from openssl |
|
13 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E D0B9C250533E04D2756BB2DAE2A48C0A45D3C143 |
|
14 +C 255 byte vector from openssl |
|
15 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F 39EB3F491AF16F54DF9A0F89F63E1446CCCF9750 |
|
16 +C 63 byte vector from openssl |
|
17 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F 9FBBAD9F3B4AC98AD98678AC1794D1B3573BE9BB |
|
18 +C 64 byte vector from openssl |
|
19 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F10 E06ED9C943DBA7F1522158CBE24C28A4811D5BBE |
|
20 +C 65 byte vector from openssl |
|
21 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F1001 4E3BEEA28FBDA0091C7A40A3651AE6B7E8CC2D86 |
|
22 +C 66 byte vector from openssl |
|
23 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102 89F58D609C0A66FABB171710A495B9CB5B3ADD23 |
|
24 +C 67 byte vector from openssl |
|
25 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F10010203 FB076BF3E1E4A42DABAE95F4A44A8135B2D8DF9F |
|
26 +C 68 byte vector from openssl |
|
27 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F1001020304 789629C809305BB3114233628DFA44735CFD8565 |
|
28 +C 32 byte vector from openssl |
|
29 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F10 7338E14187A47EA6A262BFC4AAD74B7FE867E81E |
|
30 +C 31 byte vector from openssl |
|
31 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F 931BA23E8451CC594A90532FFA5411B7AE8219FD |
|
32 +C 96 byte vector from openssl |
|
33 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F10 92DC32E8E33BB1BFBAC343184A6AB666AF99284C |
|
34 +C 95 byte vector from openssl |
|
35 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F 9EDBB3B1BDABFA8386F83B492F2D1F5C242A160B |
|
36 +C 127 byte vector from openssl |
|
37 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F F7EE9B2055DB2868012C4C136F487532A94CCE36 |
|
38 +C 7 byte vector from openssl |
|
39 01020304050607 8C1F28FC2F48C271D6C498F0F249CDDE365C54C5 |
|
40 +C 8 byte vector from openssl |
|
41 0102030405060708 DD5783BCF1E9002BC00AD5B83A95ED6E4EBB4AD5 |
|
42 +C 447 byte vector from openssl |
|
43 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F 071BA8FA5F5D3F6660D4DC00257C48FEA8F13631 |
|
44 +C 448 byte vector from openssl |
|
45 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F10 55BE7023312244FF7F150229A0A4D39732012ECF |
|
46 +C 55 byte vector from openssl (shouldn't cause padding overflow, a single 0x80 is appended followed by the two counter words) |
|
47 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F1001020304050607 853EB610E45E01CF1B7E83B1730BA8B0E716E76C |
|
48 +C 60 byte vector from openssl |
|
49 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C 177D7ECEB83F2F816D3226FAD5D81E7AD7214ACF |
|
50 +C 59 byte vector from openssl |
|
51 0102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B0C0D0E0F100102030405060708090A0B 5FB531887DB584754707F568948C8DC254DAD5FA |