1 AT_BANNER([AES-128 unit tests])
3 m4_define([AES128_CHECK],
6 AT_CHECK([test-aes128 $2 $3], [0], [$4
11 [wikipedia test vector 1],
12 [00010203050607080a0b0c0d0f101112],
13 [506812a45f08c889b97f5980038b8359],
14 [d8f532538289ef7d06b506a4fd5be9c9])
17 [wikipedia test vector 2],
18 [95A8EE8E89979B9EFDCBC6EB9797528D],
19 [4ec137a426dabf8aa0beb8bc0c2b89d6],
20 [d9b65d1232ba0199cdbd487b2a1fd646])
23 [NIST KAT ECBKeySbox128e vector 0],
24 [10a58869d74be5a374cf867cfb473859],
25 [00000000000000000000000000000000],
26 [6d251e6944b051e04eaa6fb4dbf78465])
29 [NIST KAT ECBKeySbox128e vector 1],
30 [caea65cdbb75e9169ecd22ebe6e54675],
31 [00000000000000000000000000000000],
32 [6e29201190152df4ee058139def610bb])
35 [NIST KAT ECBKeySbox128e vector 2],
36 [a2e2fa9baf7d20822ca9f0542f764a41],
37 [00000000000000000000000000000000],
38 [c3b44b95d9d2f25670eee9a0de099fa3])
41 [NIST KAT ECBKeySbox128e vector 3],
42 [b6364ac4e1de1e285eaf144a2415f7a0],
43 [00000000000000000000000000000000],
44 [5d9b05578fc944b3cf1ccf0e746cd581])
47 [NIST KAT ECBKeySbox128e vector 4],
48 [64cf9c7abc50b888af65f49d521944b2],
49 [00000000000000000000000000000000],
50 [f7efc89d5dba578104016ce5ad659c05])
53 [NIST KAT ECBKeySbox128e vector 5],
54 [47d6742eefcc0465dc96355e851b64d9],
55 [00000000000000000000000000000000],
56 [0306194f666d183624aa230a8b264ae7])
59 [NIST KAT ECBKeySbox128e vector 6],
60 [3eb39790678c56bee34bbcdeccf6cdb5],
61 [00000000000000000000000000000000],
62 [858075d536d79ccee571f7d7204b1f67])
65 [NIST KAT ECBKeySbox128e vector 7],
66 [64110a924f0743d500ccadae72c13427],
67 [00000000000000000000000000000000],
68 [35870c6a57e9e92314bcb8087cde72ce])
71 [NIST KAT ECBKeySbox128e vector 8],
72 [18d8126516f8a12ab1a36d9f04d68e51],
73 [00000000000000000000000000000000],
74 [6c68e9be5ec41e22c825b7c7affb4363])
77 [NIST KAT ECBKeySbox128e vector 9],
78 [f530357968578480b398a3c251cd1093],
79 [00000000000000000000000000000000],
80 [f5df39990fc688f1b07224cc03e86cea])
83 [NIST KAT ECBKeySbox128e vector 10],
84 [da84367f325d42d601b4326964802e8e],
85 [00000000000000000000000000000000],
86 [bba071bcb470f8f6586e5d3add18bc66])
89 [NIST KAT ECBKeySbox128e vector 11],
90 [e37b1c6aa2846f6fdb413f238b089f23],
91 [00000000000000000000000000000000],
92 [43c9f7e62f5d288bb27aa40ef8fe1ea8])
95 [NIST KAT ECBKeySbox128e vector 12],
96 [6c002b682483e0cabcc731c253be5674],
97 [00000000000000000000000000000000],
98 [3580d19cff44f1014a7c966a69059de5])
101 [NIST KAT ECBKeySbox128e vector 13],
102 [143ae8ed6555aba96110ab58893a8ae1],
103 [00000000000000000000000000000000],
104 [806da864dd29d48deafbe764f8202aef])
107 [NIST KAT ECBKeySbox128e vector 14],
108 [b69418a85332240dc82492353956ae0c],
109 [00000000000000000000000000000000],
110 [a303d940ded8f0baff6f75414cac5243])
113 [NIST KAT ECBKeySbox128e vector 15],
114 [71b5c08a1993e1362e4d0ce9b22b78d5],
115 [00000000000000000000000000000000],
116 [c2dabd117f8a3ecabfbb11d12194d9d0])
119 [NIST KAT ECBKeySbox128e vector 16],
120 [e234cdca2606b81f29408d5f6da21206],
121 [00000000000000000000000000000000],
122 [fff60a4740086b3b9c56195b98d91a7b])
125 [NIST KAT ECBKeySbox128e vector 17],
126 [13237c49074a3da078dc1d828bb78c6f],
127 [00000000000000000000000000000000],
128 [8146a08e2357f0caa30ca8c94d1a0544])
131 [NIST KAT ECBKeySbox128e vector 18],
132 [3071a2a48fe6cbd04f1a129098e308f8],
133 [00000000000000000000000000000000],
134 [4b98e06d356deb07ebb824e5713f7be3])
137 [NIST KAT ECBKeySbox128e vector 19],
138 [90f42ec0f68385f2ffc5dfc03a654dce],
139 [00000000000000000000000000000000],
140 [7a20a53d460fc9ce0423a7a0764c6cf2])
143 [NIST KAT ECBKeySbox128e vector 20],
144 [febd9a24d8b65c1c787d50a4ed3619a9],
145 [00000000000000000000000000000000],
146 [f4a70d8af877f9b02b4c40df57d45b17])