rhel: Add depmod.d conf file for rhel6 kmod package.
[sliver-openvswitch.git] / tests / aes128.at
1 AT_BANNER([AES-128 unit tests])
2
3 m4_define([AES128_CHECK], 
4   [AT_SETUP([$1])
5    AT_KEYWORDS([aes128])
6    AT_CHECK([test-aes128 $2 $3], [0], [$4
7 ], [])
8    AT_CLEANUP])
9
10 AES128_CHECK(
11   [wikipedia test vector 1],
12   [00010203050607080a0b0c0d0f101112],
13   [506812a45f08c889b97f5980038b8359],
14   [d8f532538289ef7d06b506a4fd5be9c9])
15
16 AES128_CHECK(
17   [wikipedia test vector 2],
18   [95A8EE8E89979B9EFDCBC6EB9797528D],
19   [4ec137a426dabf8aa0beb8bc0c2b89d6],
20   [d9b65d1232ba0199cdbd487b2a1fd646])
21
22 AES128_CHECK(
23   [NIST KAT ECBKeySbox128e vector 0],
24   [10a58869d74be5a374cf867cfb473859],
25   [00000000000000000000000000000000],
26   [6d251e6944b051e04eaa6fb4dbf78465])
27
28 AES128_CHECK(
29   [NIST KAT ECBKeySbox128e vector 1],
30   [caea65cdbb75e9169ecd22ebe6e54675],
31   [00000000000000000000000000000000],
32   [6e29201190152df4ee058139def610bb])
33
34 AES128_CHECK(
35   [NIST KAT ECBKeySbox128e vector 2],
36   [a2e2fa9baf7d20822ca9f0542f764a41],
37   [00000000000000000000000000000000],
38   [c3b44b95d9d2f25670eee9a0de099fa3])
39
40 AES128_CHECK(
41   [NIST KAT ECBKeySbox128e vector 3],
42   [b6364ac4e1de1e285eaf144a2415f7a0],
43   [00000000000000000000000000000000],
44   [5d9b05578fc944b3cf1ccf0e746cd581])
45
46 AES128_CHECK(
47   [NIST KAT ECBKeySbox128e vector 4],
48   [64cf9c7abc50b888af65f49d521944b2],
49   [00000000000000000000000000000000],
50   [f7efc89d5dba578104016ce5ad659c05])
51
52 AES128_CHECK(
53   [NIST KAT ECBKeySbox128e vector 5],
54   [47d6742eefcc0465dc96355e851b64d9],
55   [00000000000000000000000000000000],
56   [0306194f666d183624aa230a8b264ae7])
57
58 AES128_CHECK(
59   [NIST KAT ECBKeySbox128e vector 6],
60   [3eb39790678c56bee34bbcdeccf6cdb5],
61   [00000000000000000000000000000000],
62   [858075d536d79ccee571f7d7204b1f67])
63
64 AES128_CHECK(
65   [NIST KAT ECBKeySbox128e vector 7],
66   [64110a924f0743d500ccadae72c13427],
67   [00000000000000000000000000000000],
68   [35870c6a57e9e92314bcb8087cde72ce])
69
70 AES128_CHECK(
71   [NIST KAT ECBKeySbox128e vector 8],
72   [18d8126516f8a12ab1a36d9f04d68e51],
73   [00000000000000000000000000000000],
74   [6c68e9be5ec41e22c825b7c7affb4363])
75
76 AES128_CHECK(
77   [NIST KAT ECBKeySbox128e vector 9],
78   [f530357968578480b398a3c251cd1093],
79   [00000000000000000000000000000000],
80   [f5df39990fc688f1b07224cc03e86cea])
81
82 AES128_CHECK(
83   [NIST KAT ECBKeySbox128e vector 10],
84   [da84367f325d42d601b4326964802e8e],
85   [00000000000000000000000000000000],
86   [bba071bcb470f8f6586e5d3add18bc66])
87
88 AES128_CHECK(
89   [NIST KAT ECBKeySbox128e vector 11],
90   [e37b1c6aa2846f6fdb413f238b089f23],
91   [00000000000000000000000000000000],
92   [43c9f7e62f5d288bb27aa40ef8fe1ea8])
93
94 AES128_CHECK(
95   [NIST KAT ECBKeySbox128e vector 12],
96   [6c002b682483e0cabcc731c253be5674],
97   [00000000000000000000000000000000],
98   [3580d19cff44f1014a7c966a69059de5])
99
100 AES128_CHECK(
101   [NIST KAT ECBKeySbox128e vector 13],
102   [143ae8ed6555aba96110ab58893a8ae1],
103   [00000000000000000000000000000000],
104   [806da864dd29d48deafbe764f8202aef])
105
106 AES128_CHECK(
107   [NIST KAT ECBKeySbox128e vector 14],
108   [b69418a85332240dc82492353956ae0c],
109   [00000000000000000000000000000000],
110   [a303d940ded8f0baff6f75414cac5243])
111
112 AES128_CHECK(
113   [NIST KAT ECBKeySbox128e vector 15],
114   [71b5c08a1993e1362e4d0ce9b22b78d5],
115   [00000000000000000000000000000000],
116   [c2dabd117f8a3ecabfbb11d12194d9d0])
117
118 AES128_CHECK(
119   [NIST KAT ECBKeySbox128e vector 16],
120   [e234cdca2606b81f29408d5f6da21206],
121   [00000000000000000000000000000000],
122   [fff60a4740086b3b9c56195b98d91a7b])
123
124 AES128_CHECK(
125   [NIST KAT ECBKeySbox128e vector 17],
126   [13237c49074a3da078dc1d828bb78c6f],
127   [00000000000000000000000000000000],
128   [8146a08e2357f0caa30ca8c94d1a0544])
129
130 AES128_CHECK(
131   [NIST KAT ECBKeySbox128e vector 18],
132   [3071a2a48fe6cbd04f1a129098e308f8],
133   [00000000000000000000000000000000],
134   [4b98e06d356deb07ebb824e5713f7be3])
135
136 AES128_CHECK(
137   [NIST KAT ECBKeySbox128e vector 19],
138   [90f42ec0f68385f2ffc5dfc03a654dce],
139   [00000000000000000000000000000000],
140   [7a20a53d460fc9ce0423a7a0764c6cf2])
141
142 AES128_CHECK(
143   [NIST KAT ECBKeySbox128e vector 20],
144   [febd9a24d8b65c1c787d50a4ed3619a9],
145   [00000000000000000000000000000000],
146   [f4a70d8af877f9b02b4c40df57d45b17])