6c1529db37eb460e1c732fd1437ae7427d098158
[oweals/openssl.git] / crypto / evp / evptests.txt
1 #cipher:key:iv:input:output
2 #digest:::input:output
3
4 # SHA(1) tests (from shatest.c)
5 SHA1:::616263:a9993e364706816aba3e25717850c26c9cd0d89d
6
7 # MD5 tests (from md5test.c)
8 MD5::::d41d8cd98f00b204e9800998ecf8427e
9 MD5:::61:0cc175b9c0f1b6a831c399e269772661
10 MD5:::616263:900150983cd24fb0d6963f7d28e17f72
11 MD5:::6d65737361676520646967657374:f96b697d7cb7938d525a2f31aaf161d0
12 MD5:::6162636465666768696a6b6c6d6e6f707172737475767778797a:c3fcd3d76192e4007dfb496cca67e13b
13 MD5:::4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a30313233343536373839:d174ab98d277d9f5a5611c2c9f419d9f
14 MD5:::3132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930313233343536373839303132333435363738393031323334353637383930:57edf4a22be3c955ac49da2e2107b67a
15
16 # AES 128 ECB tests (from FIPS-197 test vectors, encrypt)
17
18 AES-128-ECB:000102030405060708090A0B0C0D0E0F::00112233445566778899AABBCCDDEEFF:69C4E0D86A7B0430D8CDB78070B4C55A
19
20 # AES 192 ECB tests (from FIPS-197 test vectors, encrypt)
21
22 AES-192-ECB:000102030405060708090A0B0C0D0E0F1011121314151617::00112233445566778899AABBCCDDEEFF:DDA97CA4864CDFE06EAF70A0EC0D7191
23
24 # AES 256 ECB tests (from FIPS-197 test vectors, encrypt)
25
26 AES-256-ECB:000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F::00112233445566778899AABBCCDDEEFF:8EA2B7CA516745BFEAFC49904B496089
27
28 # AES 128 ECB tests (from NIST test vectors, encrypt)
29
30 #AES-128-ECB:00000000000000000000000000000000::00000000000000000000000000000000:C34C052CC0DA8D73451AFE5F03BE297F
31
32 # AES 128 ECB tests (from NIST test vectors, decrypt)
33
34 #AES-128-ECB:00000000000000000000000000000000::44416AC2D1F53C583303917E6BE9EBE0:00000000000000000000000000000000
35
36 # AES 192 ECB tests (from NIST test vectors, decrypt)
37
38 #AES-192-ECB:000000000000000000000000000000000000000000000000::48E31E9E256718F29229319C19F15BA4:00000000000000000000000000000000
39
40 # AES 256 ECB tests (from NIST test vectors, decrypt)
41
42 #AES-256-ECB:0000000000000000000000000000000000000000000000000000000000000000::058CCFFDBBCB382D1F6F56585D8A4ADE:00000000000000000000000000000000
43
44 # AES 128 CBC tests (from NIST test vectors, encrypt)
45
46 #AES-128-CBC:00000000000000000000000000000000:00000000000000000000000000000000:00000000000000000000000000000000:8A05FC5E095AF4848A08D328D3688E3D
47
48 # AES 192 CBC tests (from NIST test vectors, encrypt)
49
50 #AES-192-CBC:000000000000000000000000000000000000000000000000:00000000000000000000000000000000:00000000000000000000000000000000:7BD966D53AD8C1BB85D2ADFAE87BB104
51
52 # AES 256 CBC tests (from NIST test vectors, encrypt)
53
54 #AES-256-CBC:0000000000000000000000000000000000000000000000000000000000000000:00000000000000000000000000000000:00000000000000000000000000000000:FE3C53653E2F45B56FCD88B2CC898FF0
55
56 # AES 128 CBC tests (from NIST test vectors, decrypt)
57
58 #AES-128-CBC:00000000000000000000000000000000:00000000000000000000000000000000:FACA37E0B0C85373DF706E73F7C9AF86:00000000000000000000000000000000
59
60 # DES ECB tests (from destest)
61
62 DES-ECB:0000000000000000::0000000000000000:8CA64DE9C1B123A7
63 DES-ECB:FFFFFFFFFFFFFFFF::FFFFFFFFFFFFFFFF:7359B2163E4EDC58
64 DES-ECB:3000000000000000::1000000000000001:958E6E627A05557B
65 DES-ECB:1111111111111111::1111111111111111:F40379AB9E0EC533
66 DES-ECB:0123456789ABCDEF::1111111111111111:17668DFC7292532D
67 DES-ECB:1111111111111111::0123456789ABCDEF:8A5AE1F81AB8F2DD
68 DES-ECB:FEDCBA9876543210::0123456789ABCDEF:ED39D950FA74BCC4
69
70 # DESX-CBC tests (from destest)
71 DESX-CBC:0123456789abcdeff1e0d3c2b5a49786fedcba9876543210:fedcba9876543210:37363534333231204E6F77206973207468652074696D6520666F722000000000:846B2914851E9A2954732F8AA0A611C115CDC2D7951B1053A63C5E03B21AA3C4
72
73 # DES EDE3 CBC tests (from destest)
74 DES-EDE3-CBC:0123456789abcdeff1e0d3c2b5a49786fedcba9876543210:fedcba9876543210:37363534333231204E6F77206973207468652074696D6520666F722000000000:3FE301C962AC01D02213763C1CBD4CDC799657C064ECF5D41C673812CFDE9675
75
76 # RC4 tests (from rc4test)
77 RC4:0123456789abcdef0123456789abcdef::0123456789abcdef:75b7878099e0c596
78 RC4:0123456789abcdef0123456789abcdef::0000000000000000:7494c2e7104b0879
79 RC4:00000000000000000000000000000000::0000000000000000:de188941a3375d3a
80 RC4:ef012345ef012345ef012345ef012345::0000000000000000000000000000000000000000:d6a141a7ec3c38dfbd615a1162e1c7ba36b67858
81 RC4:0123456789abcdef0123456789abcdef::123456789ABCDEF0123456789ABCDEF0123456789ABCDEF012345678:66a0949f8af7d6891f7f832ba833c00c892ebe30143ce28740011ecf
82 RC4:ef012345ef012345ef012345ef012345::00000000000000000000:d6a141a7ec3c38dfbd61