perf thread-stack: Allow for a thread stack array
[linux/fpc-iii.git] / crypto / testmgr.h
blob1fe7b97ba03f906e81eb032614e567c74ac9b796
1 /*
2 * Algorithm testing framework and tests.
4 * Copyright (c) 2002 James Morris <jmorris@intercode.com.au>
5 * Copyright (c) 2002 Jean-Francois Dive <jef@linuxbe.org>
6 * Copyright (c) 2007 Nokia Siemens Networks
7 * Copyright (c) 2008 Herbert Xu <herbert@gondor.apana.org.au>
9 * Updated RFC4106 AES-GCM testing. Some test vectors were taken from
10 * http://csrc.nist.gov/groups/ST/toolkit/BCM/documents/proposedmodes/
11 * gcm/gcm-test-vectors.tar.gz
12 * Authors: Aidan O'Mahony (aidan.o.mahony@intel.com)
13 * Adrian Hoban <adrian.hoban@intel.com>
14 * Gabriele Paoloni <gabriele.paoloni@intel.com>
15 * Tadeusz Struk (tadeusz.struk@intel.com)
16 * Copyright (c) 2010, Intel Corporation.
18 * This program is free software; you can redistribute it and/or modify it
19 * under the terms of the GNU General Public License as published by the Free
20 * Software Foundation; either version 2 of the License, or (at your option)
21 * any later version.
24 #ifndef _CRYPTO_TESTMGR_H
25 #define _CRYPTO_TESTMGR_H
27 #define MAX_DIGEST_SIZE 64
28 #define MAX_TAP 8
30 #define MAX_KEYLEN 160
31 #define MAX_IVLEN 32
33 struct hash_testvec {
34 /* only used with keyed hash algorithms */
35 const char *key;
36 const char *plaintext;
37 const char *digest;
38 unsigned char tap[MAX_TAP];
39 unsigned short psize;
40 unsigned char np;
41 unsigned char ksize;
45 * cipher_testvec: structure to describe a symmetric cipher test
46 * @key: Pointer to key
47 * @klen: Length of @key in bytes
48 * @iv: Pointer to IV (optional for some ciphers)
49 * @ptext: Pointer to plaintext
50 * @ctext: Pointer to ciphertext
51 * @len: Length of @ptext and @ctext in bytes
52 * @fail: If set to one, the test need to fail
53 * @wk: Does the test need CRYPTO_TFM_REQ_WEAK_KEY
54 * ( e.g. test needs to fail due to a weak key )
55 * @np: numbers of SG to distribute data in (from 1 to MAX_TAP)
56 * @tap: How to distribute data in @np SGs
57 * @also_non_np: if set to 1, the test will be also done without
58 * splitting data in @np SGs
59 * @fips_skip: Skip the test vector in FIPS mode
60 * @generates_iv: Encryption should ignore the given IV, and output @iv.
61 * Decryption takes @iv. Needed for AES Keywrap ("kw(aes)").
63 struct cipher_testvec {
64 const char *key;
65 const char *iv;
66 const char *ptext;
67 const char *ctext;
68 unsigned short tap[MAX_TAP];
69 int np;
70 unsigned char also_non_np;
71 bool fail;
72 unsigned char wk; /* weak key flag */
73 unsigned char klen;
74 unsigned short len;
75 bool fips_skip;
76 bool generates_iv;
79 struct aead_testvec {
80 const char *key;
81 const char *iv;
82 const char *input;
83 const char *assoc;
84 const char *result;
85 unsigned char tap[MAX_TAP];
86 unsigned char atap[MAX_TAP];
87 int np;
88 int anp;
89 bool fail;
90 unsigned char novrfy; /* ccm dec verification failure expected */
91 unsigned char wk; /* weak key flag */
92 unsigned char klen;
93 unsigned short ilen;
94 unsigned short alen;
95 unsigned short rlen;
98 struct cprng_testvec {
99 const char *key;
100 const char *dt;
101 const char *v;
102 const char *result;
103 unsigned char klen;
104 unsigned short dtlen;
105 unsigned short vlen;
106 unsigned short rlen;
107 unsigned short loops;
110 struct drbg_testvec {
111 const unsigned char *entropy;
112 size_t entropylen;
113 const unsigned char *entpra;
114 const unsigned char *entprb;
115 size_t entprlen;
116 const unsigned char *addtla;
117 const unsigned char *addtlb;
118 size_t addtllen;
119 const unsigned char *pers;
120 size_t perslen;
121 const unsigned char *expected;
122 size_t expectedlen;
125 struct akcipher_testvec {
126 const unsigned char *key;
127 const unsigned char *m;
128 const unsigned char *c;
129 unsigned int key_len;
130 unsigned int m_size;
131 unsigned int c_size;
132 bool public_key_vec;
133 bool siggen_sigver_test;
136 struct kpp_testvec {
137 const unsigned char *secret;
138 const unsigned char *b_secret;
139 const unsigned char *b_public;
140 const unsigned char *expected_a_public;
141 const unsigned char *expected_ss;
142 unsigned short secret_size;
143 unsigned short b_secret_size;
144 unsigned short b_public_size;
145 unsigned short expected_a_public_size;
146 unsigned short expected_ss_size;
147 bool genkey;
150 static const char zeroed_string[48];
153 * RSA test vectors. Borrowed from openSSL.
155 static const struct akcipher_testvec rsa_tv_template[] = {
157 #ifndef CONFIG_CRYPTO_FIPS
158 .key =
159 "\x30\x81\x9A" /* sequence of 154 bytes */
160 "\x02\x01\x01" /* version - integer of 1 byte */
161 "\x02\x41" /* modulus - integer of 65 bytes */
162 "\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
163 "\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5"
164 "\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93"
165 "\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1"
166 "\xF5"
167 "\x02\x01\x11" /* public key - integer of 1 byte */
168 "\x02\x40" /* private key - integer of 64 bytes */
169 "\x0A\x03\x37\x48\x62\x64\x87\x69\x5F\x5F\x30\xBC\x38\xB9\x8B\x44"
170 "\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64"
171 "\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9"
172 "\xDF\x8E\x8A\xE5\x9D\x73\x3D\x9F\x33\xB3\x01\x62\x4A\xFD\x1D\x51"
173 "\x02\x01\x00" /* prime1 - integer of 1 byte */
174 "\x02\x01\x00" /* prime2 - integer of 1 byte */
175 "\x02\x01\x00" /* exponent1 - integer of 1 byte */
176 "\x02\x01\x00" /* exponent2 - integer of 1 byte */
177 "\x02\x01\x00", /* coefficient - integer of 1 byte */
178 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
179 .c =
180 "\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63"
181 "\x7d\x24\xec\x83\xc3\x15\xe4\x7f\x73\x05\x34\xd1\xec\x22\xbb\x8a"
182 "\x5e\x32\x39\x6d\xc1\x1d\x7d\x50\x3b\x9f\x7a\xad\xf0\x2e\x25\x53"
183 "\x9f\x6e\xbd\x4c\x55\x84\x0c\x9b\xcf\x1a\x4b\x51\x1e\x9e\x0c\x06",
184 .key_len = 157,
185 .m_size = 8,
186 .c_size = 64,
187 }, {
188 .key =
189 "\x30\x82\x01\x1D" /* sequence of 285 bytes */
190 "\x02\x01\x01" /* version - integer of 1 byte */
191 "\x02\x81\x81" /* modulus - integer of 129 bytes */
192 "\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
193 "\xF7\x36\x8D\x07\xEE\xD4\x10\x43\xA4\x40\xD6\xB6\xF0\x74\x54\xF5"
194 "\x1F\xB8\xDF\xBA\xAF\x03\x5C\x02\xAB\x61\xEA\x48\xCE\xEB\x6F\xCD"
195 "\x48\x76\xED\x52\x0D\x60\xE1\xEC\x46\x19\x71\x9D\x8A\x5B\x8B\x80"
196 "\x7F\xAF\xB8\xE0\xA3\xDF\xC7\x37\x72\x3E\xE6\xB4\xB7\xD9\x3A\x25"
197 "\x84\xEE\x6A\x64\x9D\x06\x09\x53\x74\x88\x34\xB2\x45\x45\x98\x39"
198 "\x4E\xE0\xAA\xB1\x2D\x7B\x61\xA5\x1F\x52\x7A\x9A\x41\xF6\xC1\x68"
199 "\x7F\xE2\x53\x72\x98\xCA\x2A\x8F\x59\x46\xF8\xE5\xFD\x09\x1D\xBD"
200 "\xCB"
201 "\x02\x01\x11" /* public key - integer of 1 byte */
202 "\x02\x81\x81" /* private key - integer of 129 bytes */
203 "\x00\xA5\xDA\xFC\x53\x41\xFA\xF2\x89\xC4\xB9\x88\xDB\x30\xC1\xCD"
204 "\xF8\x3F\x31\x25\x1E\x06\x68\xB4\x27\x84\x81\x38\x01\x57\x96\x41"
205 "\xB2\x94\x10\xB3\xC7\x99\x8D\x6B\xC4\x65\x74\x5E\x5C\x39\x26\x69"
206 "\xD6\x87\x0D\xA2\xC0\x82\xA9\x39\xE3\x7F\xDC\xB8\x2E\xC9\x3E\xDA"
207 "\xC9\x7F\xF3\xAD\x59\x50\xAC\xCF\xBC\x11\x1C\x76\xF1\xA9\x52\x94"
208 "\x44\xE5\x6A\xAF\x68\xC5\x6C\x09\x2C\xD3\x8D\xC3\xBE\xF5\xD2\x0A"
209 "\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94"
210 "\xAF\x94\x28\xC2\xB7\xB8\x88\x3F\xE4\x46\x3A\x4B\xC8\x5B\x1C\xB3"
211 "\xC1"
212 "\x02\x01\x00" /* prime1 - integer of 1 byte */
213 "\x02\x01\x00" /* prime2 - integer of 1 byte */
214 "\x02\x01\x00" /* exponent1 - integer of 1 byte */
215 "\x02\x01\x00" /* exponent2 - integer of 1 byte */
216 "\x02\x01\x00", /* coefficient - integer of 1 byte */
217 .key_len = 289,
218 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
219 .c =
220 "\x74\x1b\x55\xac\x47\xb5\x08\x0a\x6e\x2b\x2d\xf7\x94\xb8\x8a\x95"
221 "\xed\xa3\x6b\xc9\x29\xee\xb2\x2c\x80\xc3\x39\x3b\x8c\x62\x45\x72"
222 "\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f"
223 "\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34"
224 "\x59\x89\xaf\xf0\xba\x44\xd7\xf1\x1a\x50\x72\xef\x5e\x4a\xb6\xb7"
225 "\x54\x34\xd1\xc4\x83\x09\xdf\x0f\x91\x5f\x7d\x91\x70\x2f\xd4\x13"
226 "\xcc\x5e\xa4\x6c\xc3\x4d\x28\xef\xda\xaf\xec\x14\x92\xfc\xa3\x75"
227 "\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b",
228 .m_size = 8,
229 .c_size = 128,
230 }, {
231 #endif
232 .key =
233 "\x30\x82\x02\x1F" /* sequence of 543 bytes */
234 "\x02\x01\x01" /* version - integer of 1 byte */
235 "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
236 "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
237 "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
238 "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
239 "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
240 "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
241 "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
242 "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
243 "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
244 "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
245 "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
246 "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
247 "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
248 "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
249 "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
250 "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
251 "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
252 "\x02\x03\x01\x00\x01" /* public key - integer of 3 bytes */
253 "\x02\x82\x01\x00" /* private key - integer of 256 bytes */
254 "\x52\x41\xF4\xDA\x7B\xB7\x59\x55\xCA\xD4\x2F\x0F\x3A\xCB\xA4\x0D"
255 "\x93\x6C\xCC\x9D\xC1\xB2\xFB\xFD\xAE\x40\x31\xAC\x69\x52\x21\x92"
256 "\xB3\x27\xDF\xEA\xEE\x2C\x82\xBB\xF7\x40\x32\xD5\x14\xC4\x94\x12"
257 "\xEC\xB8\x1F\xCA\x59\xE3\xC1\x78\xF3\x85\xD8\x47\xA5\xD7\x02\x1A"
258 "\x65\x79\x97\x0D\x24\xF4\xF0\x67\x6E\x75\x2D\xBF\x10\x3D\xA8\x7D"
259 "\xEF\x7F\x60\xE4\xE6\x05\x82\x89\x5D\xDF\xC6\xD2\x6C\x07\x91\x33"
260 "\x98\x42\xF0\x02\x00\x25\x38\xC5\x85\x69\x8A\x7D\x2F\x95\x6C\x43"
261 "\x9A\xB8\x81\xE2\xD0\x07\x35\xAA\x05\x41\xC9\x1E\xAF\xE4\x04\x3B"
262 "\x19\xB8\x73\xA2\xAC\x4B\x1E\x66\x48\xD8\x72\x1F\xAC\xF6\xCB\xBC"
263 "\x90\x09\xCA\xEC\x0C\xDC\xF9\x2C\xD7\xEB\xAE\xA3\xA4\x47\xD7\x33"
264 "\x2F\x8A\xCA\xBC\x5E\xF0\x77\xE4\x97\x98\x97\xC7\x10\x91\x7D\x2A"
265 "\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D"
266 "\x77\xAF\x51\x27\x5B\x5E\x69\xB8\x81\xE6\x11\xC5\x43\x23\x81\x04"
267 "\x62\xFF\xE9\x46\xB8\xD8\x44\xDB\xA5\xCC\x31\x54\x34\xCE\x3E\x82"
268 "\xD6\xBF\x7A\x0B\x64\x21\x6D\x88\x7E\x5B\x45\x12\x1E\x63\x8D\x49"
269 "\xA7\x1D\xD9\x1E\x06\xCD\xE8\xBA\x2C\x8C\x69\x32\xEA\xBE\x60\x71"
270 "\x02\x01\x00" /* prime1 - integer of 1 byte */
271 "\x02\x01\x00" /* prime2 - integer of 1 byte */
272 "\x02\x01\x00" /* exponent1 - integer of 1 byte */
273 "\x02\x01\x00" /* exponent2 - integer of 1 byte */
274 "\x02\x01\x00", /* coefficient - integer of 1 byte */
275 .key_len = 547,
276 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
277 .c =
278 "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
279 "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
280 "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
281 "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
282 "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
283 "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
284 "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
285 "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
286 "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
287 "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
288 "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
289 "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
290 "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
291 "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
292 "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
293 "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
294 .m_size = 8,
295 .c_size = 256,
296 }, {
297 .key =
298 "\x30\x82\x01\x09" /* sequence of 265 bytes */
299 "\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
300 "\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
301 "\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
302 "\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
303 "\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
304 "\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
305 "\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
306 "\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
307 "\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
308 "\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
309 "\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
310 "\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
311 "\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
312 "\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
313 "\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
314 "\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
315 "\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
316 "\x02\x03\x01\x00\x01", /* public key - integer of 3 bytes */
317 .key_len = 269,
318 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
319 .c =
320 "\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
321 "\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
322 "\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
323 "\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
324 "\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
325 "\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
326 "\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
327 "\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
328 "\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
329 "\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
330 "\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
331 "\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
332 "\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
333 "\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
334 "\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
335 "\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
336 .m_size = 8,
337 .c_size = 256,
338 .public_key_vec = true,
339 #ifndef CONFIG_CRYPTO_FIPS
340 }, {
341 .key =
342 "\x30\x82\x09\x29" /* sequence of 2345 bytes */
343 "\x02\x01\x00" /* version integer of 1 byte */
344 "\x02\x82\x02\x01" /* modulus - integer of 513 bytes */
345 "\x00\xC3\x8B\x55\x7B\x73\x4D\xFF\xE9\x9B\xC6\xDC\x67\x3C\xB4\x8E"
346 "\xA0\x86\xED\xF2\xB9\x50\x5C\x54\x5C\xBA\xE4\xA1\xB2\xA7\xAE\x2F"
347 "\x1B\x7D\xF1\xFB\xAC\x79\xC5\xDF\x1A\x00\xC9\xB2\xC1\x61\x25\x33"
348 "\xE6\x9C\xE9\xCF\xD6\x27\xC4\x4E\x44\x30\x44\x5E\x08\xA1\x87\x52"
349 "\xCC\x6B\x97\x70\x8C\xBC\xA5\x06\x31\x0C\xD4\x2F\xD5\x7D\x26\x24"
350 "\xA2\xE2\xAC\x78\xF4\x53\x14\xCE\xF7\x19\x2E\xD7\xF7\xE6\x0C\xB9"
351 "\x56\x7F\x0B\xF1\xB1\xE2\x43\x70\xBD\x86\x1D\xA1\xCC\x2B\x19\x08"
352 "\x76\xEF\x91\xAC\xBF\x20\x24\x0D\x38\xC0\x89\xB8\x9A\x70\xB3\x64"
353 "\xD9\x8F\x80\x41\x10\x5B\x9F\xB1\xCB\x76\x43\x00\x21\x25\x36\xD4"
354 "\x19\xFC\x55\x95\x10\xE4\x26\x74\x98\x2C\xD9\xBD\x0B\x2B\x04\xC2"
355 "\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25"
356 "\xDD\x4B\xB2\xE7\x20\x0A\x57\xF9\xB4\x94\xC3\x08\x33\x22\x6F\x8B"
357 "\x48\xDB\x03\x68\x5A\x5B\xBA\xAE\xF3\xAD\xCF\xC3\x6D\xBA\xF1\x28"
358 "\x67\x7E\x6C\x79\x07\xDE\xFC\xED\xE7\x96\xE3\x6C\xE0\x2C\x87\xF8"
359 "\x02\x01\x28\x38\x43\x21\x53\x84\x69\x75\x78\x15\x7E\xEE\xD2\x1B"
360 "\xB9\x23\x40\xA8\x86\x1E\x38\x83\xB2\x73\x1D\x53\xFB\x9E\x2A\x8A"
361 "\xB2\x75\x35\x01\xC3\xC3\xC4\x94\xE8\x84\x86\x64\x81\xF4\x42\xAA"
362 "\x3C\x0E\xD6\x4F\xBC\x0A\x09\x2D\xE7\x1B\xD4\x10\xA8\x54\xEA\x89"
363 "\x84\x8A\xCB\xF7\x5A\x3C\xCA\x76\x08\x29\x62\xB4\x6A\x22\xDF\x14"
364 "\x95\x71\xFD\xB6\x86\x39\xB8\x8B\xF8\x91\x7F\x38\xAA\x14\xCD\xE5"
365 "\xF5\x1D\xC2\x6D\x53\x69\x52\x84\x7F\xA3\x1A\x5E\x26\x04\x83\x06"
366 "\x73\x52\x56\xCF\x76\x26\xC9\xDD\x75\xD7\xFC\xF4\x69\xD8\x7B\x55"
367 "\xB7\x68\x13\x53\xB9\xE7\x89\xC3\xE8\xD6\x6E\xA7\x6D\xEA\x81\xFD"
368 "\xC4\xB7\x05\x5A\xB7\x41\x0A\x23\x8E\x03\x8A\x1C\xAE\xD3\x1E\xCE"
369 "\xE3\x5E\xFC\x19\x4A\xEE\x61\x9B\x8E\xE5\xE5\xDD\x85\xF9\x41\xEC"
370 "\x14\x53\x92\xF7\xDD\x06\x85\x02\x91\xE3\xEB\x6C\x43\x03\xB1\x36"
371 "\x7B\x89\x5A\xA8\xEB\xFC\xD5\xA8\x35\xDC\x81\xD9\x5C\xBD\xCA\xDC"
372 "\x9B\x98\x0B\x06\x5D\x0C\x5B\xEE\xF3\xD5\xCC\x57\xC9\x71\x2F\x90"
373 "\x3B\x3C\xF0\x8E\x4E\x35\x48\xAE\x63\x74\xA9\xFC\x72\x75\x8E\x34"
374 "\xA8\xF2\x1F\xEA\xDF\x3A\x37\x2D\xE5\x39\x39\xF8\x57\x58\x3C\x04"
375 "\xFE\x87\x06\x98\xBC\x7B\xD3\x21\x36\x60\x25\x54\xA7\x3D\xFA\x91"
376 "\xCC\xA8\x0B\x92\x8E\xB4\xF7\x06\xFF\x1E\x95\xCB\x07\x76\x97\x3B"
377 "\x9D"
378 "\x02\x03\x01\x00\x01" /* public key integer of 3 bytes */
379 "\x02\x82\x02\x00" /* private key integer of 512 bytes */
380 "\x74\xA9\xE0\x6A\x32\xB4\xCA\x85\xD9\x86\x9F\x60\x88\x7B\x40\xCC"
381 "\xCD\x33\x91\xA8\xB6\x25\x1F\xBF\xE3\x51\x1C\x97\xB6\x2A\xD9\xB8"
382 "\x11\x40\x19\xE3\x21\x13\xC8\xB3\x7E\xDC\xD7\x65\x40\x4C\x2D\xD6"
383 "\xDC\xAF\x32\x6C\x96\x75\x2C\x2C\xCA\x8F\x3F\x7A\xEE\xC4\x09\xC6"
384 "\x24\x3A\xC9\xCF\x6D\x8D\x17\x50\x94\x52\xD3\xE7\x0F\x2F\x7E\x94"
385 "\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38"
386 "\xEF\xBB\x74\x8B\xA8\x6E\x8C\x08\xC6\xC7\x4F\x0C\xBC\x79\xC6\xEF"
387 "\x0E\xA7\x5E\xE4\xF8\x8C\x09\xC7\x5E\x37\xCC\x87\x77\xCD\xCF\xD1"
388 "\x6D\x28\x1B\xA9\x62\xC0\xB8\x16\xA7\x8B\xF9\xBB\xCC\xB4\x15\x7F"
389 "\x1B\x69\x03\xF2\x7B\xEB\xE5\x8C\x14\xD6\x23\x4F\x52\x6F\x18\xA6"
390 "\x4B\x5B\x01\xAD\x35\xF9\x48\x53\xB3\x86\x35\x66\xD7\xE7\x29\xC0"
391 "\x09\xB5\xC6\xE6\xFA\xC4\xDA\x19\xBE\xD7\x4D\x41\x14\xBE\x6F\xDF"
392 "\x1B\xAB\xC0\xCA\x88\x07\xAC\xF1\x7D\x35\x83\x67\x28\x2D\x50\xE9"
393 "\xCE\x27\x71\x5E\x1C\xCF\xD2\x30\x65\x79\x72\x2F\x9C\xE1\xD2\x39"
394 "\x7F\xEF\x3B\x01\xF2\x14\x1D\xDF\xBD\x51\xD3\xA1\x53\x62\xCF\x5F"
395 "\x79\x84\xCE\x06\x96\x69\x29\x49\x82\x1C\x71\x4A\xA1\x66\xC8\x2F"
396 "\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83"
397 "\x87\xCB\x46\xDE\x97\xA7\xB3\xA2\x54\x5B\xD7\xAF\xAB\xEB\xC8\xF3"
398 "\x55\x9D\x48\x2B\x30\x9C\xDC\x26\x4B\xC2\x89\x45\x13\xB2\x01\x9A"
399 "\xA4\x65\xC3\xEC\x24\x2D\x26\x97\xEB\x80\x8A\x9D\x03\xBC\x59\x66"
400 "\x9E\xE2\xBB\xBB\x63\x19\x64\x93\x11\x7B\x25\x65\x30\xCD\x5B\x4B"
401 "\x2C\xFF\xDC\x2D\x30\x87\x1F\x3C\x88\x07\xD0\xFC\x48\xCC\x05\x8A"
402 "\xA2\xC8\x39\x3E\xD5\x51\xBC\x0A\xBE\x6D\xA8\xA0\xF6\x88\x06\x79"
403 "\x13\xFF\x1B\x45\xDA\x54\xC9\x24\x25\x8A\x75\x0A\x26\xD1\x69\x81"
404 "\x14\x14\xD1\x79\x7D\x8E\x76\xF2\xE0\xEB\xDD\x0F\xDE\xC2\xEC\x80"
405 "\xD7\xDC\x16\x99\x92\xBE\xCB\x40\x0C\xCE\x7C\x3B\x46\xA2\x5B\x5D"
406 "\x0C\x45\xEB\xE1\x00\xDE\x72\x50\xB1\xA6\x0B\x76\xC5\x8D\xFC\x82"
407 "\x38\x6D\x99\x14\x1D\x1A\x4A\xD3\x7C\x53\xB8\x12\x46\xA2\x30\x38"
408 "\x82\xF4\x96\x6E\x8C\xCE\x47\x0D\xAF\x0A\x3B\x45\xB7\x43\x95\x43"
409 "\x9E\x02\x2C\x44\x07\x6D\x1F\x3C\x66\x89\x09\xB6\x1F\x06\x30\xCC"
410 "\xAD\xCE\x7D\x9A\xDE\x3E\xFB\x6C\xE4\x58\x43\xD2\x4F\xA5\x9E\x5E"
411 "\xA7\x7B\xAE\x3A\xF6\x7E\xD9\xDB\xD3\xF5\xC5\x41\xAF\xE6\x9C\x91"
412 "\x02\x82\x01\x01" /* prime1 - integer of 257 bytes */
413 "\x00\xE0\xA6\x6C\xF0\xA2\xF8\x81\x85\x36\x43\xD0\x13\x0B\x33\x8B"
414 "\x8F\x78\x3D\xAC\xC7\x5E\x46\x6A\x7F\x05\xAE\x3E\x26\x0A\xA6\xD0"
415 "\x51\xF3\xC8\x61\xF5\x77\x22\x48\x10\x87\x4C\xD5\xA4\xD5\xAE\x2D"
416 "\x4E\x7A\xFE\x1C\x31\xE7\x6B\xFF\xA4\x69\x20\xF9\x2A\x0B\x99\xBE"
417 "\x7C\x32\x68\xAD\xB0\xC6\x94\x81\x41\x75\xDC\x06\x78\x0A\xB4\xCF"
418 "\xCD\x1B\x2D\x31\xE4\x7B\xEA\xA8\x35\x99\x75\x57\xC6\x0E\xF6\x78"
419 "\x4F\xA0\x92\x4A\x00\x1B\xE7\x96\xF2\x5B\xFD\x2C\x0A\x0A\x13\x81"
420 "\xAF\xCB\x59\x87\x31\xD9\x83\x65\xF2\x22\x48\xD0\x03\x67\x39\xF6"
421 "\xFF\xA8\x36\x07\x3A\x68\xE3\x7B\xA9\x64\xFD\x9C\xF7\xB1\x3D\xBF"
422 "\x26\x5C\xCC\x7A\xFC\xA2\x8F\x51\xD1\xE1\xE2\x3C\xEC\x06\x75\x7C"
423 "\x34\xF9\xA9\x33\x70\x11\xAD\x5A\xDC\x5F\xCF\x50\xF6\x23\x2F\x39"
424 "\xAC\x92\x48\x53\x4D\x01\x96\x3C\xD8\xDC\x1F\x23\x23\x78\x80\x34"
425 "\x54\x14\x76\x8B\xB6\xBB\xFB\x88\x78\x31\x59\x28\xD2\xB1\x75\x17"
426 "\x88\x04\x4A\x78\x62\x18\x2E\xF5\xFB\x9B\xEF\x15\xD8\x16\x47\xC6"
427 "\x42\xB1\x02\xDA\x9E\xE3\x84\x90\xB4\x2D\xC3\xCE\x13\xC9\x12\x7D"
428 "\x3E\xCD\x39\x39\xC9\xAD\xA1\x1A\xE6\xD5\xAD\x5A\x09\x4D\x1B\x0C"
429 "\xAB"
430 "\x02\x82\x01\x01" /* prime 2 - integer of 257 bytes */
431 "\x00\xDE\xD5\x1B\xF6\xCD\x83\xB1\xC6\x47\x7E\xB9\xC0\x6B\xA9\xB8"
432 "\x02\xF3\xAE\x40\x5D\xFC\xD3\xE5\x4E\xF1\xE3\x39\x04\x52\x84\x89"
433 "\x40\x37\xBB\xC2\xCD\x7F\x71\x77\x17\xDF\x6A\x4C\x31\x24\x7F\xB9"
434 "\x7E\x7F\xC8\x43\x4A\x3C\xEB\x8D\x1B\x7F\x21\x51\x67\x45\x8F\xA0"
435 "\x36\x29\x3A\x18\x45\xA5\x32\xEC\x74\x88\x3C\x98\x5D\x67\x3B\xD7"
436 "\x51\x1F\xE9\xAE\x09\x01\xDE\xDE\x7C\xFB\x60\xD1\xA5\x6C\xE9\x6A"
437 "\x93\x04\x02\x3A\xBB\x67\x02\xB9\xFD\x23\xF0\x02\x2B\x49\x85\xC9"
438 "\x5B\xE7\x4B\xDF\xA3\xF4\xEE\x59\x4C\x45\xEF\x8B\xC1\x6B\xDE\xDE"
439 "\xBC\x1A\xFC\xD2\x76\x3F\x33\x74\xA9\x8E\xA3\x7E\x0C\xC6\xCE\x70"
440 "\xA1\x5B\xA6\x77\xEA\x76\xEB\x18\xCE\xB9\xD7\x78\x8D\xAE\x06\xBB"
441 "\xD3\x1F\x16\x0D\x05\xAB\x4F\xC6\x52\xC8\x6B\x36\x51\x7D\x1D\x27"
442 "\xAF\x88\x9A\x6F\xCC\x25\x2E\x74\x06\x72\xCE\x9E\xDB\xE0\x9D\x30"
443 "\xEF\x55\xA5\x58\x21\xA7\x42\x12\x2C\x2C\x23\x87\xC1\x0F\xE8\x51"
444 "\xDA\x53\xDA\xFC\x05\x36\xDF\x08\x0E\x08\x36\xBE\x5C\x86\x9E\xCA"
445 "\x68\x90\x33\x12\x0B\x14\x82\xAB\x90\x1A\xD4\x49\x32\x9C\xBD\xAA"
446 "\xAB\x4E\x38\xF1\xEE\xED\x3D\x3F\xE8\xBD\x48\x56\xA6\x64\xEE\xC8"
447 "\xD7"
448 "\x02\x82\x01\x01" /* exponent 1 - integer of 257 bytes */
449 "\x00\x96\x5E\x6F\x8F\x06\xD6\xE6\x03\x1F\x96\x76\x81\x38\xBF\x30"
450 "\xCC\x40\x84\xAF\xD0\xE7\x06\xA5\x24\x0E\xCE\x59\xA5\x26\xFE\x0F"
451 "\x74\xBB\x83\xC6\x26\x02\xAF\x3C\xA3\x6B\x9C\xFF\x68\x0C\xEB\x40"
452 "\x42\x46\xCB\x2E\x5E\x2C\xF4\x3A\x32\x77\x77\xED\xAF\xBA\x02\x17"
453 "\xE1\x93\xF0\x43\x4A\x8F\x31\x39\xEF\x72\x0F\x6B\x79\x10\x59\x84"
454 "\xBA\x5A\x55\x7F\x0E\xDB\xEE\xEE\xD6\xA9\xB8\x44\x9F\x3A\xC6\xB9"
455 "\x33\x3B\x5C\x90\x11\xD0\x9B\xCC\x8A\xBF\x0E\x10\x5B\x4B\xF1\x50"
456 "\x9E\x35\xB3\xE0\x6D\x7A\x95\x9C\x38\x5D\xC0\x75\x13\xC2\x15\xA7"
457 "\x81\xEA\xBA\xF7\x4D\x9E\x85\x9D\xF1\x7D\xBA\xD0\x45\x6F\x2A\xD0"
458 "\x76\xC2\x28\xD0\xAD\xA7\xB5\xDC\xE3\x6A\x99\xFF\x83\x50\xB3\x75"
459 "\x07\x14\x91\xAF\xEF\x74\xB5\x9F\x9A\xE0\xBA\xA9\x0B\x87\xF3\x85"
460 "\x5C\x40\xB2\x0E\xA7\xFD\xC6\xED\x45\x8E\xD9\x7C\xB0\xB2\x68\xC6"
461 "\x1D\xFD\x70\x78\x06\x41\x7F\x95\x12\x36\x9D\xE2\x58\x5D\x15\xEE"
462 "\x41\x49\xF5\xFA\xEC\x56\x19\xA0\xE6\xE0\xB2\x40\xE1\xD9\xD0\x03"
463 "\x22\x02\xCF\xD1\x3C\x07\x38\x65\x8F\x65\x0E\xAA\x32\xCE\x25\x05"
464 "\x16\x73\x51\xB9\x9F\x88\x0B\xCD\x30\xF3\x97\xCC\x2B\x6B\xA4\x0E"
465 "\x6F"
466 "\x02\x82\x01\x00" /* exponent 2 - integer of 256 bytes */
467 "\x2A\x5F\x3F\xB8\x08\x90\x58\x47\xA9\xE4\xB1\x11\xA3\xE7\x5B\xF4"
468 "\x43\xBE\x08\xC3\x56\x86\x3C\x7E\x6C\x84\x96\x9C\xF9\xCB\xF6\x05"
469 "\x5E\x13\xB8\x11\x37\x80\xAD\xF2\xBE\x2B\x0A\x5D\xF5\xE0\xCB\xB7"
470 "\x00\x39\x66\x82\x41\x5F\x51\x2F\xBF\x56\xE8\x91\xC8\xAA\x6C\xFE"
471 "\x9F\x8C\x4A\x7D\x43\xD2\x91\x1F\xFF\x9F\xF6\x21\x1C\xB6\x46\x55"
472 "\x48\xCA\x38\xAB\xC1\xCD\x4D\x65\x5A\xAF\xA8\x6D\xDA\x6D\xF0\x34"
473 "\x10\x79\x14\x0D\xFA\xA2\x8C\x17\x54\xB4\x18\xD5\x7E\x5F\x90\x50"
474 "\x87\x84\xE7\xFB\xD7\x61\x53\x5D\xAB\x96\xC7\x6E\x7A\x42\xA0\xFC"
475 "\x07\xED\xB7\x5F\x80\xD9\x19\xFF\xFB\xFD\x9E\xC4\x73\x31\x62\x3D"
476 "\x6C\x9E\x15\x03\x62\xA5\x85\xCC\x19\x8E\x9D\x7F\xE3\x6D\xA8\x5D"
477 "\x96\xF5\xAC\x78\x3D\x81\x27\xE7\x29\xF1\x29\x1D\x09\xBB\x77\x86"
478 "\x6B\x65\x62\x88\xE1\x31\x1A\x22\xF7\xC5\xCE\x73\x65\x1C\xBE\xE7"
479 "\x63\xD3\xD3\x14\x63\x27\xAF\x28\xF3\x23\xB6\x76\xC1\xBD\x9D\x82"
480 "\xF4\x9B\x19\x7D\x2C\x57\xF0\xC2\x2A\x51\xAE\x95\x0D\x8C\x38\x54"
481 "\xF5\xC6\xA0\x51\xB7\x0E\xB9\xEC\xE7\x0D\x22\xF6\x1A\xD3\xFE\x16"
482 "\x21\x03\xB7\x0D\x85\xD3\x35\xC9\xDD\xE4\x59\x85\xBE\x7F\xA1\x75"
483 "\x02\x82\x01\x01" /* coefficient - integer of 257 bytes */
484 "\x00\xB9\x48\xD2\x54\x2F\x19\x54\x64\xAE\x62\x80\x61\x89\x80\xB4"
485 "\x48\x0B\x8D\x7E\x1B\x0F\x50\x08\x82\x3F\xED\x75\x84\xB7\x13\xE4"
486 "\xF8\x8D\xA8\xBB\x54\x21\x4C\x5A\x54\x07\x16\x4B\xB4\xA4\x9E\x30"
487 "\xBF\x7A\x30\x1B\x39\x60\xA3\x21\x53\xFB\xB0\xDC\x0F\x7C\x2C\xFB"
488 "\xAA\x95\x7D\x51\x39\x28\x33\x1F\x25\x31\x53\xF5\xD2\x64\x2B\xF2"
489 "\x1E\xB3\xC0\x6A\x0B\xC9\xA4\x42\x64\x5C\xFB\x15\xA3\xE8\x4C\x3A"
490 "\x9C\x3C\xBE\xA3\x39\x83\x23\xE3\x6D\x18\xCC\xC2\xDC\x63\x8D\xBA"
491 "\x98\xE0\xE0\x31\x4A\x2B\x37\x9C\x4D\x6B\xF3\x9F\x51\xE4\x43\x5C"
492 "\x83\x5F\xBF\x5C\xFE\x92\x45\x01\xAF\xF5\xC2\xF4\xB7\x56\x93\xA5"
493 "\xF4\xAA\x67\x3C\x48\x37\xBD\x9A\x3C\xFE\xA5\x9A\xB0\xD1\x6B\x85"
494 "\xDD\x81\xD4\xFA\xAD\x31\x83\xA8\x22\x9B\xFD\xB4\x61\xDC\x7A\x51"
495 "\x59\x62\x10\x1B\x7E\x44\xA3\xFE\x90\x51\x5A\x3E\x02\x87\xAD\xFA"
496 "\xDD\x0B\x1F\x3D\x35\xAF\xEE\x13\x85\x51\xA7\x42\xC0\xEE\x9E\x20"
497 "\xE9\xD0\x29\xB2\xE4\x21\xE4\x6D\x62\xB9\xF4\x48\x4A\xD8\x46\x8E"
498 "\x61\xA6\x2C\x5D\xDF\x8F\x97\x2B\x3A\x75\x1D\x83\x17\x6F\xC6\xB0"
499 "\xDE\xFC\x14\x25\x06\x5A\x60\xBB\xB8\x21\x89\xD1\xEF\x57\xF1\x71"
500 "\x3D",
501 .m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
502 .c =
503 "\x5c\xce\x9c\xd7\x9a\x9e\xa1\xfe\x7a\x82\x3c\x68\x27\x98\xe3\x5d"
504 "\xd5\xd7\x07\x29\xf5\xfb\xc3\x1a\x7f\x63\x1e\x62\x31\x3b\x19\x87"
505 "\x79\x4f\xec\x7b\xf3\xcb\xea\x9b\x95\x52\x3a\x40\xe5\x87\x7b\x72"
506 "\xd1\x72\xc9\xfb\x54\x63\xd8\xc9\xd7\x2c\xfc\x7b\xc3\x14\x1e\xbc"
507 "\x18\xb4\x34\xa1\xbf\x14\xb1\x37\x31\x6e\xf0\x1b\x35\x19\x54\x07"
508 "\xf7\x99\xec\x3e\x63\xe2\xcd\x61\x28\x65\xc3\xcd\xb1\x38\x36\xa5"
509 "\xb2\xd7\xb0\xdc\x1f\xf5\xef\x19\xc7\x53\x32\x2d\x1c\x26\xda\xe4"
510 "\x0d\xd6\x90\x7e\x28\xd8\xdc\xe4\x61\x05\xd2\x25\x90\x01\xd3\x96"
511 "\x6d\xa6\xcf\x58\x20\xbb\x03\xf4\x01\xbc\x79\xb9\x18\xd8\xb8\xba"
512 "\xbd\x93\xfc\xf2\x62\x5d\x8c\x66\x1e\x0e\x84\x59\x93\xdd\xe2\x93"
513 "\xa2\x62\x7d\x08\x82\x7a\xdd\xfc\xb8\xbc\xc5\x4f\x9c\x4e\xbf\xb4"
514 "\xfc\xf4\xc5\x01\xe8\x00\x70\x4d\x28\x26\xcc\x2e\xfe\x0e\x58\x41"
515 "\x8b\xec\xaf\x7c\x4b\x54\xd0\xa0\x64\xf9\x32\xf4\x2e\x47\x65\x0a"
516 "\x67\x88\x39\x3a\xdb\xb2\xdb\x7b\xb5\xf6\x17\xa8\xd9\xc6\x5e\x28"
517 "\x13\x82\x8a\x99\xdb\x60\x08\xa5\x23\x37\xfa\x88\x90\x31\xc8\x9d"
518 "\x8f\xec\xfb\x85\x9f\xb1\xce\xa6\x24\x50\x46\x44\x47\xcb\x65\xd1"
519 "\xdf\xc0\xb1\x6c\x90\x1f\x99\x8e\x4d\xd5\x9e\x31\x07\x66\x87\xdf"
520 "\x01\xaa\x56\x3c\x71\xe0\x2b\x6f\x67\x3b\x23\xed\xc2\xbd\x03\x30"
521 "\x79\x76\x02\x10\x10\x98\x85\x8a\xff\xfd\x0b\xda\xa5\xd9\x32\x48"
522 "\x02\xa0\x0b\xb9\x2a\x8a\x18\xca\xc6\x8f\x3f\xbb\x16\xb2\xaa\x98"
523 "\x27\xe3\x60\x43\xed\x15\x70\xd4\x57\x15\xfe\x19\xd4\x9b\x13\x78"
524 "\x8a\xf7\x21\xf1\xa2\xa2\x2d\xb3\x09\xcf\x44\x91\x6e\x08\x3a\x30"
525 "\x81\x3e\x90\x93\x8a\x67\x33\x00\x59\x54\x9a\x25\xd3\x49\x8e\x9f"
526 "\xc1\x4b\xe5\x86\xf3\x50\x4c\xbc\xc5\xd3\xf5\x3a\x54\xe1\x36\x3f"
527 "\xe2\x5a\xb4\x37\xc0\xeb\x70\x35\xec\xf6\xb7\xe8\x44\x3b\x7b\xf3"
528 "\xf1\xf2\x1e\xdb\x60\x7d\xd5\xbe\xf0\x71\x34\x90\x4c\xcb\xd4\x35"
529 "\x51\xc7\xdd\xd8\xc9\x81\xf5\x5d\x57\x46\x2c\xb1\x7b\x9b\xaa\xcb"
530 "\xd1\x22\x25\x49\x44\xa3\xd4\x6b\x29\x7b\xd8\xb2\x07\x93\xbf\x3d"
531 "\x52\x49\x84\x79\xef\xb8\xe5\xc4\xad\xca\xa8\xc6\xf6\xa6\x76\x70"
532 "\x5b\x0b\xe5\x83\xc6\x0e\xef\x55\xf2\xe7\xff\x04\xea\xe6\x13\xbe"
533 "\x40\xe1\x40\x45\x48\x66\x75\x31\xae\x35\x64\x91\x11\x6f\xda\xee"
534 "\x26\x86\x45\x6f\x0b\xd5\x9f\x03\xb1\x65\x5b\xdb\xa4\xe4\xf9\x45",
535 .key_len = 2349,
536 .m_size = 8,
537 .c_size = 512,
538 #endif
543 * PKCS#1 RSA test vectors. Obtained from CAVS testing.
545 static const struct akcipher_testvec pkcs1pad_rsa_tv_template[] = {
547 .key =
548 "\x30\x82\x03\x1f\x02\x01\x00\x02\x82\x01\x01\x00\xd7\x1e\x77\x82"
549 "\x8c\x92\x31\xe7\x69\x02\xa2\xd5\x5c\x78\xde\xa2\x0c\x8f\xfe\x28"
550 "\x59\x31\xdf\x40\x9c\x60\x61\x06\xb9\x2f\x62\x40\x80\x76\xcb\x67"
551 "\x4a\xb5\x59\x56\x69\x17\x07\xfa\xf9\x4c\xbd\x6c\x37\x7a\x46\x7d"
552 "\x70\xa7\x67\x22\xb3\x4d\x7a\x94\xc3\xba\x4b\x7c\x4b\xa9\x32\x7c"
553 "\xb7\x38\x95\x45\x64\xa4\x05\xa8\x9f\x12\x7c\x4e\xc6\xc8\x2d\x40"
554 "\x06\x30\xf4\x60\xa6\x91\xbb\x9b\xca\x04\x79\x11\x13\x75\xf0\xae"
555 "\xd3\x51\x89\xc5\x74\xb9\xaa\x3f\xb6\x83\xe4\x78\x6b\xcd\xf9\x5c"
556 "\x4c\x85\xea\x52\x3b\x51\x93\xfc\x14\x6b\x33\x5d\x30\x70\xfa\x50"
557 "\x1b\x1b\x38\x81\x13\x8d\xf7\xa5\x0c\xc0\x8e\xf9\x63\x52\x18\x4e"
558 "\xa9\xf9\xf8\x5c\x5d\xcd\x7a\x0d\xd4\x8e\x7b\xee\x91\x7b\xad\x7d"
559 "\xb4\x92\xd5\xab\x16\x3b\x0a\x8a\xce\x8e\xde\x47\x1a\x17\x01\x86"
560 "\x7b\xab\x99\xf1\x4b\x0c\x3a\x0d\x82\x47\xc1\x91\x8c\xbb\x2e\x22"
561 "\x9e\x49\x63\x6e\x02\xc1\xc9\x3a\x9b\xa5\x22\x1b\x07\x95\xd6\x10"
562 "\x02\x50\xfd\xfd\xd1\x9b\xbe\xab\xc2\xc0\x74\xd7\xec\x00\xfb\x11"
563 "\x71\xcb\x7a\xdc\x81\x79\x9f\x86\x68\x46\x63\x82\x4d\xb7\xf1\xe6"
564 "\x16\x6f\x42\x63\xf4\x94\xa0\xca\x33\xcc\x75\x13\x02\x82\x01\x00"
565 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
566 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
567 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
568 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
569 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
570 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
571 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
572 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
573 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
574 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
575 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
576 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
577 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
578 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
579 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
580 "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01"
581 "\x02\x82\x01\x00\x62\xb5\x60\x31\x4f\x3f\x66\x16\xc1\x60\xac\x47"
582 "\x2a\xff\x6b\x69\x00\x4a\xb2\x5c\xe1\x50\xb9\x18\x74\xa8\xe4\xdc"
583 "\xa8\xec\xcd\x30\xbb\xc1\xc6\xe3\xc6\xac\x20\x2a\x3e\x5e\x8b\x12"
584 "\xe6\x82\x08\x09\x38\x0b\xab\x7c\xb3\xcc\x9c\xce\x97\x67\xdd\xef"
585 "\x95\x40\x4e\x92\xe2\x44\xe9\x1d\xc1\x14\xfd\xa9\xb1\xdc\x71\x9c"
586 "\x46\x21\xbd\x58\x88\x6e\x22\x15\x56\xc1\xef\xe0\xc9\x8d\xe5\x80"
587 "\x3e\xda\x7e\x93\x0f\x52\xf6\xf5\xc1\x91\x90\x9e\x42\x49\x4f\x8d"
588 "\x9c\xba\x38\x83\xe9\x33\xc2\x50\x4f\xec\xc2\xf0\xa8\xb7\x6e\x28"
589 "\x25\x56\x6b\x62\x67\xfe\x08\xf1\x56\xe5\x6f\x0e\x99\xf1\xe5\x95"
590 "\x7b\xef\xeb\x0a\x2c\x92\x97\x57\x23\x33\x36\x07\xdd\xfb\xae\xf1"
591 "\xb1\xd8\x33\xb7\x96\x71\x42\x36\xc5\xa4\xa9\x19\x4b\x1b\x52\x4c"
592 "\x50\x69\x91\xf0\x0e\xfa\x80\x37\x4b\xb5\xd0\x2f\xb7\x44\x0d\xd4"
593 "\xf8\x39\x8d\xab\x71\x67\x59\x05\x88\x3d\xeb\x48\x48\x33\x88\x4e"
594 "\xfe\xf8\x27\x1b\xd6\x55\x60\x5e\x48\xb7\x6d\x9a\xa8\x37\xf9\x7a"
595 "\xde\x1b\xcd\x5d\x1a\x30\xd4\xe9\x9e\x5b\x3c\x15\xf8\x9c\x1f\xda"
596 "\xd1\x86\x48\x55\xce\x83\xee\x8e\x51\xc7\xde\x32\x12\x47\x7d\x46"
597 "\xb8\x35\xdf\x41\x02\x01\x00\x02\x01\x00\x02\x01\x00\x02\x01\x00"
598 "\x02\x01\x00",
599 .key_len = 804,
601 * m is SHA256 hash of following message:
602 * "\x49\x41\xbe\x0a\x0c\xc9\xf6\x35\x51\xe4\x27\x56\x13\x71\x4b\xd0"
603 * "\x36\x92\x84\x89\x1b\xf8\x56\x4a\x72\x61\x14\x69\x4f\x5e\x98\xa5"
604 * "\x80\x5a\x37\x51\x1f\xd8\xf5\xb5\x63\xfc\xf4\xb1\xbb\x4d\x33\xa3"
605 * "\x1e\xb9\x75\x8b\x9c\xda\x7e\x6d\x3a\x77\x85\xf7\xfc\x4e\xe7\x64"
606 * "\x43\x10\x19\xa0\x59\xae\xe0\xad\x4b\xd3\xc4\x45\xf7\xb1\xc2\xc1"
607 * "\x65\x01\x41\x39\x5b\x45\x47\xed\x2b\x51\xed\xe3\xd0\x09\x10\xd2"
608 * "\x39\x6c\x4a\x3f\xe5\xd2\x20\xe6\xb0\x71\x7d\x5b\xed\x26\x60\xf1"
609 * "\xb4\x73\xd1\xdb\x7d\xc4\x19\x91\xee\xf6\x32\x76\xf2\x19\x7d\xb7"
611 .m =
612 "\x3e\xc8\xa1\x26\x20\x54\x44\x52\x48\x0d\xe5\x66\xf3\xb3\xf5\x04"
613 "\xbe\x10\xa8\x48\x94\x22\x2d\xdd\xba\x7a\xb4\x76\x8d\x79\x98\x89",
614 .m_size = 32,
615 .c =
616 "\xc7\xa3\x98\xeb\x43\xd1\x08\xc2\x3d\x78\x45\x04\x70\xc9\x01\xee"
617 "\xf8\x85\x37\x7c\x0b\xf9\x19\x70\x5c\x45\x7b\x2f\x3a\x0b\xb7\x8b"
618 "\xc4\x0d\x7b\x3a\x64\x0b\x0f\xdb\x78\xa9\x0b\xfd\x8d\x82\xa4\x86"
619 "\x39\xbf\x21\xb8\x84\xc4\xce\x9f\xc2\xe8\xb6\x61\x46\x17\xb9\x4e"
620 "\x0b\x57\x05\xb4\x4f\xf9\x9c\x93\x2d\x9b\xd5\x48\x1d\x80\x12\xef"
621 "\x3a\x77\x7f\xbc\xb5\x8e\x2b\x6b\x7c\xfc\x9f\x8c\x9d\xa2\xc4\x85"
622 "\xb0\x87\xe9\x17\x9b\xb6\x23\x62\xd2\xa9\x9f\x57\xe8\xf7\x04\x45"
623 "\x24\x3a\x45\xeb\xeb\x6a\x08\x8e\xaf\xc8\xa0\x84\xbc\x5d\x13\x38"
624 "\xf5\x17\x8c\xa3\x96\x9b\xa9\x38\x8d\xf0\x35\xad\x32\x8a\x72\x5b"
625 "\xdf\x21\xab\x4b\x0e\xa8\x29\xbb\x61\x54\xbf\x05\xdb\x84\x84\xde"
626 "\xdd\x16\x36\x31\xda\xf3\x42\x6d\x7a\x90\x22\x9b\x11\x29\xa6\xf8"
627 "\x30\x61\xda\xd3\x8b\x54\x1e\x42\xd1\x47\x1d\x6f\xd1\xcd\x42\x0b"
628 "\xd1\xe4\x15\x85\x7e\x08\xd6\x59\x64\x4c\x01\x34\x91\x92\x26\xe8"
629 "\xb0\x25\x8c\xf8\xf4\xfa\x8b\xc9\x31\x33\x76\x72\xfb\x64\x92\x9f"
630 "\xda\x62\x8d\xe1\x2a\x71\x91\x43\x40\x61\x3c\x5a\xbe\x86\xfc\x5b"
631 "\xe6\xf9\xa9\x16\x31\x1f\xaf\x25\x6d\xc2\x4a\x23\x6e\x63\x02\xa2",
632 .c_size = 256,
633 .siggen_sigver_test = true,
637 static const struct kpp_testvec dh_tv_template[] = {
639 .secret =
640 #ifdef __LITTLE_ENDIAN
641 "\x01\x00" /* type */
642 "\x15\x02" /* len */
643 "\x00\x01\x00\x00" /* key_size */
644 "\x00\x01\x00\x00" /* p_size */
645 "\x00\x00\x00\x00" /* q_size */
646 "\x01\x00\x00\x00" /* g_size */
647 #else
648 "\x00\x01" /* type */
649 "\x02\x15" /* len */
650 "\x00\x00\x01\x00" /* key_size */
651 "\x00\x00\x01\x00" /* p_size */
652 "\x00\x00\x00\x00" /* q_size */
653 "\x00\x00\x00\x01" /* g_size */
654 #endif
655 /* xa */
656 "\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
657 "\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
658 "\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
659 "\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
660 "\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
661 "\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
662 "\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
663 "\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
664 "\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
665 "\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
666 "\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
667 "\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
668 "\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
669 "\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
670 "\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
671 "\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
672 /* p */
673 "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
674 "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
675 "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
676 "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
677 "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
678 "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
679 "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
680 "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
681 "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
682 "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
683 "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
684 "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
685 "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
686 "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
687 "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
688 "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
689 /* g */
690 "\x02",
691 .b_public =
692 "\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
693 "\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
694 "\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
695 "\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
696 "\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
697 "\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
698 "\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
699 "\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
700 "\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
701 "\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
702 "\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
703 "\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
704 "\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
705 "\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
706 "\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
707 "\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
708 .expected_a_public =
709 "\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
710 "\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
711 "\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
712 "\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
713 "\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
714 "\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
715 "\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
716 "\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
717 "\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
718 "\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
719 "\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
720 "\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
721 "\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
722 "\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
723 "\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
724 "\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
725 .expected_ss =
726 "\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
727 "\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
728 "\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
729 "\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
730 "\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
731 "\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
732 "\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
733 "\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
734 "\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
735 "\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
736 "\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
737 "\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
738 "\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
739 "\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
740 "\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
741 "\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
742 .secret_size = 533,
743 .b_public_size = 256,
744 .expected_a_public_size = 256,
745 .expected_ss_size = 256,
748 .secret =
749 #ifdef __LITTLE_ENDIAN
750 "\x01\x00" /* type */
751 "\x15\x02" /* len */
752 "\x00\x01\x00\x00" /* key_size */
753 "\x00\x01\x00\x00" /* p_size */
754 "\x00\x00\x00\x00" /* q_size */
755 "\x01\x00\x00\x00" /* g_size */
756 #else
757 "\x00\x01" /* type */
758 "\x02\x15" /* len */
759 "\x00\x00\x01\x00" /* key_size */
760 "\x00\x00\x01\x00" /* p_size */
761 "\x00\x00\x00\x00" /* q_size */
762 "\x00\x00\x00\x01" /* g_size */
763 #endif
764 /* xa */
765 "\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
766 "\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
767 "\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
768 "\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
769 "\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
770 "\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
771 "\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
772 "\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
773 "\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
774 "\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
775 "\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
776 "\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
777 "\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
778 "\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
779 "\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
780 "\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
781 /* p */
782 "\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
783 "\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
784 "\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
785 "\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
786 "\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
787 "\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
788 "\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
789 "\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
790 "\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
791 "\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
792 "\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
793 "\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
794 "\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
795 "\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
796 "\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
797 "\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
798 /* g */
799 "\x02",
800 .b_public =
801 "\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
802 "\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
803 "\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
804 "\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
805 "\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
806 "\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
807 "\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
808 "\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
809 "\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
810 "\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
811 "\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
812 "\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
813 "\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
814 "\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
815 "\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
816 "\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
817 .expected_a_public =
818 "\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
819 "\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
820 "\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
821 "\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
822 "\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
823 "\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
824 "\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
825 "\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
826 "\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
827 "\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
828 "\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
829 "\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
830 "\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
831 "\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
832 "\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
833 "\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
834 .expected_ss =
835 "\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
836 "\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
837 "\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
838 "\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
839 "\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
840 "\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
841 "\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
842 "\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
843 "\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
844 "\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
845 "\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
846 "\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
847 "\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
848 "\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
849 "\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
850 "\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
851 .secret_size = 533,
852 .b_public_size = 256,
853 .expected_a_public_size = 256,
854 .expected_ss_size = 256,
858 static const struct kpp_testvec ecdh_tv_template[] = {
860 #ifndef CONFIG_CRYPTO_FIPS
861 .secret =
862 #ifdef __LITTLE_ENDIAN
863 "\x02\x00" /* type */
864 "\x20\x00" /* len */
865 "\x01\x00" /* curve_id */
866 "\x18\x00" /* key_size */
867 #else
868 "\x00\x02" /* type */
869 "\x00\x20" /* len */
870 "\x00\x01" /* curve_id */
871 "\x00\x18" /* key_size */
872 #endif
873 "\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
874 "\x4e\x19\x1e\x62\x1f\x23\x23\x31"
875 "\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
876 .b_public =
877 "\xc3\xba\x67\x4b\x71\xec\xd0\x76"
878 "\x7a\x99\x75\x64\x36\x13\x9a\x94"
879 "\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
880 "\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
881 "\x83\x87\xdd\x67\x09\xf8\x8d\x96"
882 "\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
883 .expected_a_public =
884 "\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
885 "\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
886 "\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
887 "\x22\x90\x21\x02\xf9\x1b\x81\x5d"
888 "\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
889 "\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
890 .expected_ss =
891 "\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
892 "\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
893 "\x99\x80\x81\x28\xaf\xc5\x51\x74",
894 .secret_size = 32,
895 .b_public_size = 48,
896 .expected_a_public_size = 48,
897 .expected_ss_size = 24
898 }, {
899 #endif
900 .secret =
901 #ifdef __LITTLE_ENDIAN
902 "\x02\x00" /* type */
903 "\x28\x00" /* len */
904 "\x02\x00" /* curve_id */
905 "\x20\x00" /* key_size */
906 #else
907 "\x00\x02" /* type */
908 "\x00\x28" /* len */
909 "\x00\x02" /* curve_id */
910 "\x00\x20" /* key_size */
911 #endif
912 "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
913 "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
914 "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
915 "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
916 .expected_a_public =
917 "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
918 "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
919 "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
920 "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
921 "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
922 "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
923 "\x6a\x02\x6e\x41\x87\x68\x38\x77"
924 "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
925 .expected_ss =
926 "\xea\x17\x6f\x7e\x6e\x57\x26\x38"
927 "\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
928 "\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
929 "\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
930 .b_public =
931 "\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
932 "\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
933 "\x29\xb2\x47\x03\x19\xab\xdd\x34"
934 "\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
935 "\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
936 "\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
937 "\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
938 "\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
939 .secret_size = 40,
940 .b_public_size = 64,
941 .expected_a_public_size = 64,
942 .expected_ss_size = 32
943 }, {
944 .secret =
945 #ifdef __LITTLE_ENDIAN
946 "\x02\x00" /* type */
947 "\x08\x00" /* len */
948 "\x02\x00" /* curve_id */
949 "\x00\x00", /* key_size */
950 #else
951 "\x00\x02" /* type */
952 "\x00\x08" /* len */
953 "\x00\x02" /* curve_id */
954 "\x00\x00", /* key_size */
955 #endif
956 .b_secret =
957 #ifdef __LITTLE_ENDIAN
958 "\x02\x00" /* type */
959 "\x28\x00" /* len */
960 "\x02\x00" /* curve_id */
961 "\x20\x00" /* key_size */
962 #else
963 "\x00\x02" /* type */
964 "\x00\x28" /* len */
965 "\x00\x02" /* curve_id */
966 "\x00\x20" /* key_size */
967 #endif
968 "\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
969 "\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
970 "\x8b\xe0\x86\xc3\x20\x19\xda\x92"
971 "\x50\x53\x03\xe1\xc0\xea\xb8\x82",
972 .b_public =
973 "\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
974 "\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
975 "\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
976 "\xb6\x63\x82\x77\x33\x24\xa1\x5f"
977 "\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
978 "\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
979 "\x6a\x02\x6e\x41\x87\x68\x38\x77"
980 "\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
981 .secret_size = 8,
982 .b_secret_size = 40,
983 .b_public_size = 64,
984 .expected_a_public_size = 64,
985 .expected_ss_size = 32,
986 .genkey = true,
991 * MD4 test vectors from RFC1320
993 static const struct hash_testvec md4_tv_template[] = {
995 .plaintext = "",
996 .digest = "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
997 "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
998 }, {
999 .plaintext = "a",
1000 .psize = 1,
1001 .digest = "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
1002 "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
1003 }, {
1004 .plaintext = "abc",
1005 .psize = 3,
1006 .digest = "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
1007 "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
1008 }, {
1009 .plaintext = "message digest",
1010 .psize = 14,
1011 .digest = "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
1012 "\x18\x87\x48\x06\xe1\xc7\x01\x4b",
1013 }, {
1014 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1015 .psize = 26,
1016 .digest = "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
1017 "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
1018 .np = 2,
1019 .tap = { 13, 13 },
1020 }, {
1021 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
1022 .psize = 62,
1023 .digest = "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
1024 "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
1025 }, {
1026 .plaintext = "123456789012345678901234567890123456789012345678901234567890123"
1027 "45678901234567890",
1028 .psize = 80,
1029 .digest = "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
1030 "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
1034 static const struct hash_testvec sha3_224_tv_template[] = {
1036 .plaintext = "",
1037 .digest = "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
1038 "\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
1039 "\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
1040 "\x5b\x5a\x6b\xc7",
1041 }, {
1042 .plaintext = "a",
1043 .psize = 1,
1044 .digest = "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
1045 "\x40\x5f\x08\x12\x69\x68\x5b\x38"
1046 "\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
1047 "\x48\x2b\x6a\x8b",
1048 }, {
1049 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1050 "jklmklmnlmnomnopnopq",
1051 .psize = 56,
1052 .digest = "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
1053 "\xc9\xfd\x55\x74\x49\x44\x79\xba"
1054 "\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
1055 "\xd0\xfc\xce\x33",
1056 .np = 2,
1057 .tap = { 28, 28 },
1058 }, {
1059 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1060 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1061 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1062 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1063 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1064 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1065 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1066 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1067 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1068 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1069 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1070 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1071 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1072 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1073 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1074 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1075 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1076 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1077 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1078 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1079 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1080 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1081 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1082 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1083 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1084 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1085 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1086 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1087 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1088 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1089 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1090 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1091 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1092 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1093 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1094 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1095 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1096 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1097 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1098 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1099 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1100 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1101 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1102 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1103 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1104 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1105 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1106 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1107 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1108 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1109 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1110 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1111 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1112 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1113 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1114 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1115 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1116 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1117 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1118 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1119 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1120 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1121 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1122 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1123 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1124 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1125 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1126 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1127 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1128 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1129 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1130 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1131 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1132 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1133 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1134 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1135 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1136 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1137 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1138 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1139 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1140 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1141 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1142 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1143 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1144 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1145 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1146 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1147 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1148 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1149 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1150 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1151 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1152 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1153 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1154 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1155 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1156 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1157 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1158 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1159 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1160 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1161 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1162 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1163 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1164 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1165 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1166 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1167 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1168 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1169 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1170 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1171 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1172 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1173 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1174 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1175 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1176 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1177 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1178 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1179 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1180 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1181 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1182 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1183 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1184 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1185 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1186 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1187 .psize = 1023,
1188 .digest = "\x7d\x0f\x2f\xb7\x65\x3b\xa7\x26"
1189 "\xc3\x88\x20\x71\x15\x06\xe8\x2d"
1190 "\xa3\x92\x44\xab\x3e\xe7\xff\x86"
1191 "\xb6\x79\x10\x72",
1195 static const struct hash_testvec sha3_256_tv_template[] = {
1197 .plaintext = "",
1198 .digest = "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
1199 "\x51\xc1\x47\x56\xa0\x61\xd6\x62"
1200 "\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
1201 "\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
1202 }, {
1203 .plaintext = "a",
1204 .psize = 1,
1205 .digest = "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
1206 "\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
1207 "\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
1208 "\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
1209 }, {
1210 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1211 "jklmklmnlmnomnopnopq",
1212 .psize = 56,
1213 .digest = "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
1214 "\x49\x10\x03\x76\xa8\x23\x5e\x2c"
1215 "\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
1216 "\xdb\x32\xdd\x97\x49\x6d\x33\x76",
1217 .np = 2,
1218 .tap = { 28, 28 },
1219 }, {
1220 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1221 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1222 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1223 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1224 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1225 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1226 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1227 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1228 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1229 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1230 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1231 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1232 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1233 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1234 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1235 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1236 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1237 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1238 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1239 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1240 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1241 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1242 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1243 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1244 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1245 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1246 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1247 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1248 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1249 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1250 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1251 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1252 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1253 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1254 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1255 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1256 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1257 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1258 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1259 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1260 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1261 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1262 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1263 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1264 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1265 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1266 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1267 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1268 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1269 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1270 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1271 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1272 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1273 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1274 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1275 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1276 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1277 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1278 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1279 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1280 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1281 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1282 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1283 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1284 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1285 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1286 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1287 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1288 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1289 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1290 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1291 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1292 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1293 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1294 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1295 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1296 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1297 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1298 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1299 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1300 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1301 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1302 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1303 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1304 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1305 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1306 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1307 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1308 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1309 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1310 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1311 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1312 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1313 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1314 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1315 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1316 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1317 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1318 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1319 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1320 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1321 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1322 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1323 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1324 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1325 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1326 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1327 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1328 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1329 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1330 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1331 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1332 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1333 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1334 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1335 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1336 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1337 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1338 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1339 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1340 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1341 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1342 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1343 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1344 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1345 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1346 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1347 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1348 .psize = 1023,
1349 .digest = "\xde\x41\x04\xbd\xda\xda\xd9\x71"
1350 "\xf7\xfa\x80\xf5\xea\x11\x03\xb1"
1351 "\x3b\x6a\xbc\x5f\xb9\x66\x26\xf7"
1352 "\x8a\x97\xbb\xf2\x07\x08\x38\x30",
1357 static const struct hash_testvec sha3_384_tv_template[] = {
1359 .plaintext = "",
1360 .digest = "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
1361 "\x01\x10\x7d\x85\x2e\x4c\x24\x85"
1362 "\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
1363 "\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
1364 "\xc3\x71\x38\x31\x26\x4a\xdb\x47"
1365 "\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
1366 }, {
1367 .plaintext = "a",
1368 .psize = 1,
1369 .digest = "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
1370 "\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
1371 "\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
1372 "\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
1373 "\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
1374 "\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
1375 }, {
1376 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1377 "jklmklmnlmnomnopnopq",
1378 .psize = 56,
1379 .digest = "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
1380 "\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
1381 "\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
1382 "\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
1383 "\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
1384 "\x9e\xef\x51\xac\xd0\x65\x7c\x22",
1385 .np = 2,
1386 .tap = { 28, 28 },
1387 }, {
1388 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1389 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1390 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1391 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1392 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1393 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1394 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1395 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1396 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1397 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1398 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1399 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1400 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1401 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1402 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1403 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1404 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1405 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1406 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1407 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1408 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1409 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1410 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1411 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1412 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1413 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1414 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1415 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1416 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1417 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1418 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1419 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1420 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1421 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1422 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1423 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1424 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1425 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1426 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1427 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1428 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1429 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1430 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1431 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1432 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1433 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1434 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1435 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1436 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1437 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1438 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1439 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1440 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1441 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1442 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1443 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1444 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1445 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1446 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1447 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1448 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1449 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1450 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1451 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1452 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1453 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1454 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1455 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1456 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1457 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1458 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1459 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1460 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1461 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1462 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1463 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1464 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1465 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1466 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1467 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1468 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1469 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1470 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1471 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1472 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1473 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1474 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1475 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1476 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1477 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1478 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1479 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1480 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1481 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1482 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1483 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1484 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1485 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1486 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1487 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1488 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1489 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1490 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1491 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1492 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1493 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1494 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1495 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1496 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1497 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1498 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1499 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1500 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1501 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1502 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1503 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1504 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1505 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1506 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1507 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1508 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1509 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1510 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1511 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1512 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1513 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1514 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1515 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1516 .psize = 1023,
1517 .digest = "\x1b\x19\x4d\x8f\xd5\x36\x87\x71"
1518 "\xcf\xca\x30\x85\x9b\xc1\x25\xc7"
1519 "\x00\xcb\x73\x8a\x8e\xd4\xfe\x2b"
1520 "\x1a\xa2\xdc\x2e\x41\xfd\x52\x51"
1521 "\xd2\x21\xae\x2d\xc7\xae\x8c\x40"
1522 "\xb9\xe6\x56\x48\x03\xcd\x88\x6b",
1527 static const struct hash_testvec sha3_512_tv_template[] = {
1529 .plaintext = "",
1530 .digest = "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
1531 "\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
1532 "\x97\xc9\x82\x16\x4f\xe2\x58\x59"
1533 "\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
1534 "\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
1535 "\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
1536 "\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
1537 "\x01\x75\x85\x86\x28\x1d\xcd\x26",
1538 }, {
1539 .plaintext = "a",
1540 .psize = 1,
1541 .digest = "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
1542 "\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
1543 "\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
1544 "\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
1545 "\x3f\x4f\x93\xff\x24\x39\x35\x86"
1546 "\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
1547 "\x69\x42\x0c\xe5\x33\x32\x71\x2f"
1548 "\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
1549 }, {
1550 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1551 "jklmklmnlmnomnopnopq",
1552 .psize = 56,
1553 .digest = "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
1554 "\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
1555 "\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
1556 "\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
1557 "\xee\x69\x1f\xbe\x0c\x98\x53\x02"
1558 "\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
1559 "\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
1560 "\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
1561 .np = 2,
1562 .tap = { 28, 28 },
1563 }, {
1564 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1565 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1566 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1567 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1568 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1569 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1570 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1571 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1572 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1573 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1574 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1575 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1576 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1577 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1578 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1579 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1580 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1581 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1582 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1583 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1584 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1585 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1586 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1587 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1588 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1589 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1590 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1591 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1592 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1593 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1594 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1595 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1596 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1597 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1598 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1599 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1600 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1601 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1602 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1603 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1604 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1605 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1606 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1607 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1608 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1609 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1610 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1611 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1612 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1613 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1614 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1615 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1616 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1617 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1618 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1619 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1620 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1621 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1622 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1623 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1624 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1625 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1626 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1627 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1628 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1629 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1630 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1631 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1632 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1633 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1634 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1635 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1636 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1637 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1638 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1639 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1640 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1641 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1642 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1643 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1644 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1645 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1646 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1647 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1648 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1649 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1650 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1651 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1652 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1653 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1654 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1655 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1656 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1657 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1658 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1659 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1660 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1661 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1662 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1663 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1664 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1665 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1666 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1667 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1668 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1669 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1670 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1671 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1672 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1673 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1674 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1675 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1676 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1677 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1678 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1679 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1680 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1681 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1682 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1683 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1684 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1685 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1686 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1687 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1688 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1689 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1690 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1691 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1692 .psize = 1023,
1693 .digest = "\x59\xda\x30\xe3\x90\xe4\x3d\xde"
1694 "\xf0\xc6\x42\x17\xd7\xb2\x26\x47"
1695 "\x90\x28\xa6\x84\xe8\x49\x7a\x86"
1696 "\xd6\xb8\x9e\xf8\x07\x59\x21\x03"
1697 "\xad\xd2\xed\x48\xa3\xb9\xa5\xf0"
1698 "\xb3\xae\x02\x2b\xb8\xaf\xc3\x3b"
1699 "\xd6\xb0\x8f\xcb\x76\x8b\xa7\x41"
1700 "\x32\xc2\x8e\x50\x91\x86\x90\xfb",
1706 * MD5 test vectors from RFC1321
1708 static const struct hash_testvec md5_tv_template[] = {
1710 .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
1711 "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
1712 }, {
1713 .plaintext = "a",
1714 .psize = 1,
1715 .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
1716 "\x31\xc3\x99\xe2\x69\x77\x26\x61",
1717 }, {
1718 .plaintext = "abc",
1719 .psize = 3,
1720 .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
1721 "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
1722 }, {
1723 .plaintext = "message digest",
1724 .psize = 14,
1725 .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
1726 "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
1727 }, {
1728 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1729 .psize = 26,
1730 .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
1731 "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
1732 .np = 2,
1733 .tap = {13, 13}
1734 }, {
1735 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
1736 .psize = 62,
1737 .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
1738 "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
1739 }, {
1740 .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
1741 "345678901234567890",
1742 .psize = 80,
1743 .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
1744 "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
1750 * RIPEMD-128 test vectors from ISO/IEC 10118-3:2004(E)
1752 static const struct hash_testvec rmd128_tv_template[] = {
1754 .digest = "\xcd\xf2\x62\x13\xa1\x50\xdc\x3e"
1755 "\xcb\x61\x0f\x18\xf6\xb3\x8b\x46",
1756 }, {
1757 .plaintext = "a",
1758 .psize = 1,
1759 .digest = "\x86\xbe\x7a\xfa\x33\x9d\x0f\xc7"
1760 "\xcf\xc7\x85\xe7\x2f\x57\x8d\x33",
1761 }, {
1762 .plaintext = "abc",
1763 .psize = 3,
1764 .digest = "\xc1\x4a\x12\x19\x9c\x66\xe4\xba"
1765 "\x84\x63\x6b\x0f\x69\x14\x4c\x77",
1766 }, {
1767 .plaintext = "message digest",
1768 .psize = 14,
1769 .digest = "\x9e\x32\x7b\x3d\x6e\x52\x30\x62"
1770 "\xaf\xc1\x13\x2d\x7d\xf9\xd1\xb8",
1771 }, {
1772 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1773 .psize = 26,
1774 .digest = "\xfd\x2a\xa6\x07\xf7\x1d\xc8\xf5"
1775 "\x10\x71\x49\x22\xb3\x71\x83\x4e",
1776 }, {
1777 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1778 "fghijklmnopqrstuvwxyz0123456789",
1779 .psize = 62,
1780 .digest = "\xd1\xe9\x59\xeb\x17\x9c\x91\x1f"
1781 "\xae\xa4\x62\x4c\x60\xc5\xc7\x02",
1782 }, {
1783 .plaintext = "1234567890123456789012345678901234567890"
1784 "1234567890123456789012345678901234567890",
1785 .psize = 80,
1786 .digest = "\x3f\x45\xef\x19\x47\x32\xc2\xdb"
1787 "\xb2\xc4\xa2\xc7\x69\x79\x5f\xa3",
1788 }, {
1789 .plaintext = "abcdbcdecdefdefgefghfghighij"
1790 "hijkijkljklmklmnlmnomnopnopq",
1791 .psize = 56,
1792 .digest = "\xa1\xaa\x06\x89\xd0\xfa\xfa\x2d"
1793 "\xdc\x22\xe8\x8b\x49\x13\x3a\x06",
1794 .np = 2,
1795 .tap = { 28, 28 },
1796 }, {
1797 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1798 "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1799 "lmnopqrsmnopqrstnopqrstu",
1800 .psize = 112,
1801 .digest = "\xd4\xec\xc9\x13\xe1\xdf\x77\x6b"
1802 "\xf4\x8d\xe9\xd5\x5b\x1f\x25\x46",
1803 }, {
1804 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1805 .psize = 32,
1806 .digest = "\x13\xfc\x13\xe8\xef\xff\x34\x7d"
1807 "\xe1\x93\xff\x46\xdb\xac\xcf\xd4",
1812 * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
1814 static const struct hash_testvec rmd160_tv_template[] = {
1816 .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
1817 "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
1818 }, {
1819 .plaintext = "a",
1820 .psize = 1,
1821 .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
1822 "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
1823 }, {
1824 .plaintext = "abc",
1825 .psize = 3,
1826 .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
1827 "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
1828 }, {
1829 .plaintext = "message digest",
1830 .psize = 14,
1831 .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
1832 "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
1833 }, {
1834 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1835 .psize = 26,
1836 .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
1837 "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
1838 }, {
1839 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1840 "fghijklmnopqrstuvwxyz0123456789",
1841 .psize = 62,
1842 .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
1843 "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
1844 }, {
1845 .plaintext = "1234567890123456789012345678901234567890"
1846 "1234567890123456789012345678901234567890",
1847 .psize = 80,
1848 .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
1849 "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
1850 }, {
1851 .plaintext = "abcdbcdecdefdefgefghfghighij"
1852 "hijkijkljklmklmnlmnomnopnopq",
1853 .psize = 56,
1854 .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
1855 "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
1856 .np = 2,
1857 .tap = { 28, 28 },
1858 }, {
1859 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1860 "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1861 "lmnopqrsmnopqrstnopqrstu",
1862 .psize = 112,
1863 .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
1864 "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
1865 }, {
1866 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1867 .psize = 32,
1868 .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
1869 "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
1874 * RIPEMD-256 test vectors
1876 static const struct hash_testvec rmd256_tv_template[] = {
1878 .digest = "\x02\xba\x4c\x4e\x5f\x8e\xcd\x18"
1879 "\x77\xfc\x52\xd6\x4d\x30\xe3\x7a"
1880 "\x2d\x97\x74\xfb\x1e\x5d\x02\x63"
1881 "\x80\xae\x01\x68\xe3\xc5\x52\x2d",
1882 }, {
1883 .plaintext = "a",
1884 .psize = 1,
1885 .digest = "\xf9\x33\x3e\x45\xd8\x57\xf5\xd9"
1886 "\x0a\x91\xba\xb7\x0a\x1e\xba\x0c"
1887 "\xfb\x1b\xe4\xb0\x78\x3c\x9a\xcf"
1888 "\xcd\x88\x3a\x91\x34\x69\x29\x25",
1889 }, {
1890 .plaintext = "abc",
1891 .psize = 3,
1892 .digest = "\xaf\xbd\x6e\x22\x8b\x9d\x8c\xbb"
1893 "\xce\xf5\xca\x2d\x03\xe6\xdb\xa1"
1894 "\x0a\xc0\xbc\x7d\xcb\xe4\x68\x0e"
1895 "\x1e\x42\xd2\xe9\x75\x45\x9b\x65",
1896 }, {
1897 .plaintext = "message digest",
1898 .psize = 14,
1899 .digest = "\x87\xe9\x71\x75\x9a\x1c\xe4\x7a"
1900 "\x51\x4d\x5c\x91\x4c\x39\x2c\x90"
1901 "\x18\xc7\xc4\x6b\xc1\x44\x65\x55"
1902 "\x4a\xfc\xdf\x54\xa5\x07\x0c\x0e",
1903 }, {
1904 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1905 .psize = 26,
1906 .digest = "\x64\x9d\x30\x34\x75\x1e\xa2\x16"
1907 "\x77\x6b\xf9\xa1\x8a\xcc\x81\xbc"
1908 "\x78\x96\x11\x8a\x51\x97\x96\x87"
1909 "\x82\xdd\x1f\xd9\x7d\x8d\x51\x33",
1910 }, {
1911 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1912 "fghijklmnopqrstuvwxyz0123456789",
1913 .psize = 62,
1914 .digest = "\x57\x40\xa4\x08\xac\x16\xb7\x20"
1915 "\xb8\x44\x24\xae\x93\x1c\xbb\x1f"
1916 "\xe3\x63\xd1\xd0\xbf\x40\x17\xf1"
1917 "\xa8\x9f\x7e\xa6\xde\x77\xa0\xb8",
1918 }, {
1919 .plaintext = "1234567890123456789012345678901234567890"
1920 "1234567890123456789012345678901234567890",
1921 .psize = 80,
1922 .digest = "\x06\xfd\xcc\x7a\x40\x95\x48\xaa"
1923 "\xf9\x13\x68\xc0\x6a\x62\x75\xb5"
1924 "\x53\xe3\xf0\x99\xbf\x0e\xa4\xed"
1925 "\xfd\x67\x78\xdf\x89\xa8\x90\xdd",
1926 }, {
1927 .plaintext = "abcdbcdecdefdefgefghfghighij"
1928 "hijkijkljklmklmnlmnomnopnopq",
1929 .psize = 56,
1930 .digest = "\x38\x43\x04\x55\x83\xaa\xc6\xc8"
1931 "\xc8\xd9\x12\x85\x73\xe7\xa9\x80"
1932 "\x9a\xfb\x2a\x0f\x34\xcc\xc3\x6e"
1933 "\xa9\xe7\x2f\x16\xf6\x36\x8e\x3f",
1934 .np = 2,
1935 .tap = { 28, 28 },
1940 * RIPEMD-320 test vectors
1942 static const struct hash_testvec rmd320_tv_template[] = {
1944 .digest = "\x22\xd6\x5d\x56\x61\x53\x6c\xdc\x75\xc1"
1945 "\xfd\xf5\xc6\xde\x7b\x41\xb9\xf2\x73\x25"
1946 "\xeb\xc6\x1e\x85\x57\x17\x7d\x70\x5a\x0e"
1947 "\xc8\x80\x15\x1c\x3a\x32\xa0\x08\x99\xb8",
1948 }, {
1949 .plaintext = "a",
1950 .psize = 1,
1951 .digest = "\xce\x78\x85\x06\x38\xf9\x26\x58\xa5\xa5"
1952 "\x85\x09\x75\x79\x92\x6d\xda\x66\x7a\x57"
1953 "\x16\x56\x2c\xfc\xf6\xfb\xe7\x7f\x63\x54"
1954 "\x2f\x99\xb0\x47\x05\xd6\x97\x0d\xff\x5d",
1955 }, {
1956 .plaintext = "abc",
1957 .psize = 3,
1958 .digest = "\xde\x4c\x01\xb3\x05\x4f\x89\x30\xa7\x9d"
1959 "\x09\xae\x73\x8e\x92\x30\x1e\x5a\x17\x08"
1960 "\x5b\xef\xfd\xc1\xb8\xd1\x16\x71\x3e\x74"
1961 "\xf8\x2f\xa9\x42\xd6\x4c\xdb\xc4\x68\x2d",
1962 }, {
1963 .plaintext = "message digest",
1964 .psize = 14,
1965 .digest = "\x3a\x8e\x28\x50\x2e\xd4\x5d\x42\x2f\x68"
1966 "\x84\x4f\x9d\xd3\x16\xe7\xb9\x85\x33\xfa"
1967 "\x3f\x2a\x91\xd2\x9f\x84\xd4\x25\xc8\x8d"
1968 "\x6b\x4e\xff\x72\x7d\xf6\x6a\x7c\x01\x97",
1969 }, {
1970 .plaintext = "abcdefghijklmnopqrstuvwxyz",
1971 .psize = 26,
1972 .digest = "\xca\xbd\xb1\x81\x0b\x92\x47\x0a\x20\x93"
1973 "\xaa\x6b\xce\x05\x95\x2c\x28\x34\x8c\xf4"
1974 "\x3f\xf6\x08\x41\x97\x51\x66\xbb\x40\xed"
1975 "\x23\x40\x04\xb8\x82\x44\x63\xe6\xb0\x09",
1976 }, {
1977 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1978 "fghijklmnopqrstuvwxyz0123456789",
1979 .psize = 62,
1980 .digest = "\xed\x54\x49\x40\xc8\x6d\x67\xf2\x50\xd2"
1981 "\x32\xc3\x0b\x7b\x3e\x57\x70\xe0\xc6\x0c"
1982 "\x8c\xb9\xa4\xca\xfe\x3b\x11\x38\x8a\xf9"
1983 "\x92\x0e\x1b\x99\x23\x0b\x84\x3c\x86\xa4",
1984 }, {
1985 .plaintext = "1234567890123456789012345678901234567890"
1986 "1234567890123456789012345678901234567890",
1987 .psize = 80,
1988 .digest = "\x55\x78\x88\xaf\x5f\x6d\x8e\xd6\x2a\xb6"
1989 "\x69\x45\xc6\xd2\xa0\xa4\x7e\xcd\x53\x41"
1990 "\xe9\x15\xeb\x8f\xea\x1d\x05\x24\x95\x5f"
1991 "\x82\x5d\xc7\x17\xe4\xa0\x08\xab\x2d\x42",
1992 }, {
1993 .plaintext = "abcdbcdecdefdefgefghfghighij"
1994 "hijkijkljklmklmnlmnomnopnopq",
1995 .psize = 56,
1996 .digest = "\xd0\x34\xa7\x95\x0c\xf7\x22\x02\x1b\xa4"
1997 "\xb8\x4d\xf7\x69\xa5\xde\x20\x60\xe2\x59"
1998 "\xdf\x4c\x9b\xb4\xa4\x26\x8c\x0e\x93\x5b"
1999 "\xbc\x74\x70\xa9\x69\xc9\xd0\x72\xa1\xac",
2000 .np = 2,
2001 .tap = { 28, 28 },
2005 static const struct hash_testvec crct10dif_tv_template[] = {
2007 .plaintext = "abc",
2008 .psize = 3,
2009 .digest = (u8 *)(u16 []){ 0x443b },
2010 }, {
2011 .plaintext = "1234567890123456789012345678901234567890"
2012 "123456789012345678901234567890123456789",
2013 .psize = 79,
2014 .digest = (u8 *)(u16 []){ 0x4b70 },
2015 .np = 2,
2016 .tap = { 63, 16 },
2017 }, {
2018 .plaintext = "abcdddddddddddddddddddddddddddddddddddddddd"
2019 "ddddddddddddd",
2020 .psize = 56,
2021 .digest = (u8 *)(u16 []){ 0x9ce3 },
2022 .np = 8,
2023 .tap = { 1, 2, 28, 7, 6, 5, 4, 3 },
2024 }, {
2025 .plaintext = "1234567890123456789012345678901234567890"
2026 "1234567890123456789012345678901234567890"
2027 "1234567890123456789012345678901234567890"
2028 "1234567890123456789012345678901234567890"
2029 "1234567890123456789012345678901234567890"
2030 "1234567890123456789012345678901234567890"
2031 "1234567890123456789012345678901234567890"
2032 "123456789012345678901234567890123456789",
2033 .psize = 319,
2034 .digest = (u8 *)(u16 []){ 0x44c6 },
2035 }, {
2036 .plaintext = "1234567890123456789012345678901234567890"
2037 "1234567890123456789012345678901234567890"
2038 "1234567890123456789012345678901234567890"
2039 "1234567890123456789012345678901234567890"
2040 "1234567890123456789012345678901234567890"
2041 "1234567890123456789012345678901234567890"
2042 "1234567890123456789012345678901234567890"
2043 "123456789012345678901234567890123456789",
2044 .psize = 319,
2045 .digest = (u8 *)(u16 []){ 0x44c6 },
2046 .np = 4,
2047 .tap = { 1, 255, 57, 6 },
2048 }, {
2049 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
2050 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
2051 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
2052 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
2053 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
2054 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
2055 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
2056 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
2057 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
2058 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
2059 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
2060 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
2061 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
2062 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
2063 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
2064 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
2065 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
2066 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
2067 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
2068 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
2069 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
2070 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
2071 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
2072 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
2073 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
2074 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
2075 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
2076 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
2077 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
2078 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
2079 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
2080 "\x47\xde\x75\x0c\x80\x17\xae\x22"
2081 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
2082 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
2083 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
2084 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
2085 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
2086 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
2087 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
2088 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
2089 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
2090 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
2091 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
2092 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
2093 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
2094 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
2095 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
2096 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
2097 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
2098 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
2099 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
2100 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
2101 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
2102 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
2103 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
2104 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
2105 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
2106 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
2107 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
2108 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
2109 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
2110 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
2111 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
2112 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
2113 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
2114 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
2115 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
2116 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
2117 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
2118 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
2119 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
2120 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
2121 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
2122 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
2123 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
2124 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
2125 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
2126 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
2127 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
2128 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
2129 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
2130 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
2131 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
2132 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
2133 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
2134 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
2135 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
2136 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
2137 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
2138 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
2139 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
2140 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
2141 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
2142 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
2143 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
2144 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
2145 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
2146 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
2147 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
2148 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
2149 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
2150 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
2151 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
2152 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
2153 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
2154 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
2155 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
2156 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
2157 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
2158 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
2159 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
2160 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
2161 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
2162 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
2163 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
2164 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
2165 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
2166 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
2167 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
2168 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
2169 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
2170 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
2171 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
2172 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
2173 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
2174 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
2175 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
2176 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
2177 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
2178 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
2179 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
2180 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
2181 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
2182 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
2183 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
2184 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
2185 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
2186 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
2187 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
2188 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
2189 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
2190 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
2191 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
2192 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
2193 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
2194 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
2195 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
2196 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
2197 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
2198 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
2199 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
2200 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
2201 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
2202 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
2203 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
2204 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
2205 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
2206 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
2207 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
2208 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
2209 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
2210 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
2211 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
2212 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
2213 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
2214 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
2215 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
2216 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
2217 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
2218 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
2219 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
2220 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
2221 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
2222 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
2223 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
2224 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
2225 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
2226 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
2227 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
2228 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
2229 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
2230 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
2231 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
2232 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
2233 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
2234 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
2235 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
2236 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
2237 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
2238 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
2239 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
2240 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
2241 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
2242 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
2243 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
2244 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
2245 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
2246 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
2247 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
2248 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
2249 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
2250 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
2251 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
2252 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
2253 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
2254 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
2255 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
2256 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
2257 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
2258 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
2259 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
2260 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
2261 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
2262 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
2263 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
2264 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
2265 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
2266 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
2267 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
2268 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
2269 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
2270 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
2271 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
2272 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
2273 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
2274 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
2275 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
2276 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
2277 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
2278 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
2279 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
2280 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
2281 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
2282 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
2283 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
2284 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
2285 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
2286 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
2287 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
2288 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
2289 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
2290 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
2291 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
2292 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
2293 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
2294 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
2295 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
2296 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
2297 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
2298 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
2299 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
2300 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
2301 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
2302 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
2303 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
2304 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
2305 .psize = 2048,
2306 .digest = (u8 *)(u16 []){ 0x23ca },
2310 /* Example vectors below taken from
2311 * http://www.oscca.gov.cn/UpFile/20101222141857786.pdf
2313 * The rest taken from
2314 * https://github.com/adamws/oscca-sm3
2316 static const struct hash_testvec sm3_tv_template[] = {
2318 .plaintext = "",
2319 .psize = 0,
2320 .digest = (u8 *)(u8 []) {
2321 0x1A, 0xB2, 0x1D, 0x83, 0x55, 0xCF, 0xA1, 0x7F,
2322 0x8e, 0x61, 0x19, 0x48, 0x31, 0xE8, 0x1A, 0x8F,
2323 0x22, 0xBE, 0xC8, 0xC7, 0x28, 0xFE, 0xFB, 0x74,
2324 0x7E, 0xD0, 0x35, 0xEB, 0x50, 0x82, 0xAA, 0x2B }
2325 }, {
2326 .plaintext = "a",
2327 .psize = 1,
2328 .digest = (u8 *)(u8 []) {
2329 0x62, 0x34, 0x76, 0xAC, 0x18, 0xF6, 0x5A, 0x29,
2330 0x09, 0xE4, 0x3C, 0x7F, 0xEC, 0x61, 0xB4, 0x9C,
2331 0x7E, 0x76, 0x4A, 0x91, 0xA1, 0x8C, 0xCB, 0x82,
2332 0xF1, 0x91, 0x7A, 0x29, 0xC8, 0x6C, 0x5E, 0x88 }
2333 }, {
2334 /* A.1. Example 1 */
2335 .plaintext = "abc",
2336 .psize = 3,
2337 .digest = (u8 *)(u8 []) {
2338 0x66, 0xC7, 0xF0, 0xF4, 0x62, 0xEE, 0xED, 0xD9,
2339 0xD1, 0xF2, 0xD4, 0x6B, 0xDC, 0x10, 0xE4, 0xE2,
2340 0x41, 0x67, 0xC4, 0x87, 0x5C, 0xF2, 0xF7, 0xA2,
2341 0x29, 0x7D, 0xA0, 0x2B, 0x8F, 0x4B, 0xA8, 0xE0 }
2342 }, {
2343 .plaintext = "abcdefghijklmnopqrstuvwxyz",
2344 .psize = 26,
2345 .digest = (u8 *)(u8 []) {
2346 0xB8, 0x0F, 0xE9, 0x7A, 0x4D, 0xA2, 0x4A, 0xFC,
2347 0x27, 0x75, 0x64, 0xF6, 0x6A, 0x35, 0x9E, 0xF4,
2348 0x40, 0x46, 0x2A, 0xD2, 0x8D, 0xCC, 0x6D, 0x63,
2349 0xAD, 0xB2, 0x4D, 0x5C, 0x20, 0xA6, 0x15, 0x95 }
2350 }, {
2351 /* A.1. Example 2 */
2352 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdab"
2353 "cdabcdabcdabcdabcd",
2354 .psize = 64,
2355 .digest = (u8 *)(u8 []) {
2356 0xDE, 0xBE, 0x9F, 0xF9, 0x22, 0x75, 0xB8, 0xA1,
2357 0x38, 0x60, 0x48, 0x89, 0xC1, 0x8E, 0x5A, 0x4D,
2358 0x6F, 0xDB, 0x70, 0xE5, 0x38, 0x7E, 0x57, 0x65,
2359 0x29, 0x3D, 0xCB, 0xA3, 0x9C, 0x0C, 0x57, 0x32 }
2360 }, {
2361 .plaintext = "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2362 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2363 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2364 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2365 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2366 "abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd"
2367 "abcdabcdabcdabcdabcdabcdabcdabcd",
2368 .psize = 256,
2369 .digest = (u8 *)(u8 []) {
2370 0xB9, 0x65, 0x76, 0x4C, 0x8B, 0xEB, 0xB0, 0x91,
2371 0xC7, 0x60, 0x2B, 0x74, 0xAF, 0xD3, 0x4E, 0xEF,
2372 0xB5, 0x31, 0xDC, 0xCB, 0x4E, 0x00, 0x76, 0xD9,
2373 0xB7, 0xCD, 0x81, 0x31, 0x99, 0xB4, 0x59, 0x71 }
2378 * SHA1 test vectors from from FIPS PUB 180-1
2379 * Long vector from CAVS 5.0
2381 static const struct hash_testvec sha1_tv_template[] = {
2383 .plaintext = "",
2384 .psize = 0,
2385 .digest = "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
2386 "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
2387 }, {
2388 .plaintext = "abc",
2389 .psize = 3,
2390 .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
2391 "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
2392 }, {
2393 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2394 .psize = 56,
2395 .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
2396 "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
2397 .np = 2,
2398 .tap = { 28, 28 }
2399 }, {
2400 .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
2401 "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
2402 "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
2403 "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
2404 "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
2405 "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
2406 "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
2407 "\x72\x28\x26\xc0\x66\x86\x9e\xda"
2408 "\xcd\x73\xb2\x54\x80\x35\x18\x58"
2409 "\x13\xe2\x26\x34\xa9\xda\x44\x00"
2410 "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
2411 "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
2412 "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
2413 "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
2414 "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
2415 "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
2416 "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
2417 "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
2418 "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
2419 "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
2420 "\x5a\x90\x11",
2421 .psize = 163,
2422 .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
2423 "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
2424 .np = 4,
2425 .tap = { 63, 64, 31, 5 }
2426 }, {
2427 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2428 .psize = 64,
2429 .digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
2430 "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
2431 }, {
2432 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2433 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2434 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2435 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2436 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2437 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2438 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2439 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2440 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2441 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2442 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2443 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2444 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2445 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2446 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2447 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2448 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2449 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2450 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2451 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2452 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2453 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2454 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2455 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2456 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2457 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2458 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2459 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2460 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2461 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2462 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2463 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2464 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2465 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2466 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2467 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2468 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2469 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2470 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2471 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2472 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2473 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2474 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2475 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2476 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2477 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2478 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2479 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2480 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2481 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2482 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2483 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2484 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2485 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2486 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2487 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2488 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2489 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2490 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2491 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2492 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2493 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2494 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2495 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2496 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2497 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2498 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2499 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2500 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2501 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2502 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2503 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2504 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2505 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2506 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2507 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2508 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2509 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2510 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2511 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2512 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2513 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2514 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2515 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2516 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2517 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2518 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2519 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2520 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2521 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2522 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2523 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2524 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2525 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2526 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2527 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2528 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2529 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2530 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2531 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2532 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2533 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2534 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2535 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2536 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2537 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2538 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2539 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2540 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2541 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2542 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2543 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2544 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2545 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2546 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2547 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2548 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2549 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2550 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2551 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2552 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2553 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2554 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2555 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2556 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2557 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2558 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2559 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2560 .psize = 1023,
2561 .digest = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
2562 "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
2563 "\x30\xd6\xc9\x85",
2569 * SHA224 test vectors from from FIPS PUB 180-2
2571 static const struct hash_testvec sha224_tv_template[] = {
2573 .plaintext = "",
2574 .psize = 0,
2575 .digest = "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
2576 "\x47\x61\x02\xbb\x28\x82\x34\xc4"
2577 "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
2578 "\xc5\xb3\xe4\x2f",
2579 }, {
2580 .plaintext = "abc",
2581 .psize = 3,
2582 .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
2583 "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
2584 "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
2585 "\xE3\x6C\x9D\xA7",
2586 }, {
2587 .plaintext =
2588 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2589 .psize = 56,
2590 .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
2591 "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
2592 "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
2593 "\x52\x52\x25\x25",
2594 .np = 2,
2595 .tap = { 28, 28 }
2596 }, {
2597 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2598 .psize = 64,
2599 .digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
2600 "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
2601 "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
2602 "\xef\x3b\xcb\x0e",
2603 }, {
2604 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2605 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2606 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2607 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2608 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2609 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2610 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2611 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2612 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2613 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2614 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2615 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2616 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2617 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2618 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2619 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2620 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2621 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2622 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2623 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2624 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2625 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2626 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2627 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2628 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2629 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2630 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2631 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2632 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2633 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2634 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2635 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2636 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2637 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2638 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2639 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2640 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2641 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2642 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2643 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2644 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2645 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2646 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2647 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2648 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2649 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2650 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2651 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2652 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2653 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2654 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2655 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2656 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2657 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2658 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2659 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2660 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2661 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2662 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2663 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2664 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2665 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2666 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2667 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2668 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2669 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2670 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2671 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2672 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2673 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2674 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2675 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2676 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2677 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2678 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2679 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2680 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2681 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2682 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2683 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2684 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2685 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2686 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2687 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2688 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2689 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2690 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2691 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2692 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2693 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2694 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2695 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2696 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2697 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2698 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2699 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2700 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2701 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2702 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2703 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2704 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2705 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2706 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2707 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2708 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2709 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2710 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2711 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2712 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2713 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2714 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2715 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2716 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2717 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2718 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2719 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2720 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2721 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2722 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2723 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2724 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2725 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2726 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2727 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2728 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2729 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2730 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2731 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2732 .psize = 1023,
2733 .digest = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
2734 "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
2735 "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
2736 "\xe6\xf9\x4f\xcc",
2741 * SHA256 test vectors from from NIST
2743 static const struct hash_testvec sha256_tv_template[] = {
2745 .plaintext = "",
2746 .psize = 0,
2747 .digest = "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
2748 "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
2749 "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
2750 "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
2751 }, {
2752 .plaintext = "abc",
2753 .psize = 3,
2754 .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
2755 "\x41\x41\x40\xde\x5d\xae\x22\x23"
2756 "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
2757 "\xb4\x10\xff\x61\xf2\x00\x15\xad",
2758 }, {
2759 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2760 .psize = 56,
2761 .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
2762 "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
2763 "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
2764 "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
2765 .np = 2,
2766 .tap = { 28, 28 }
2767 }, {
2768 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2769 .psize = 64,
2770 .digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
2771 "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
2772 "\xd6\xff\x94\xa3\x72\x91\x85\x66"
2773 "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
2774 }, {
2775 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2776 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2777 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2778 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2779 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2780 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2781 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2782 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2783 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2784 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2785 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2786 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2787 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2788 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2789 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2790 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2791 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2792 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2793 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2794 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2795 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2796 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2797 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2798 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2799 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2800 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2801 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2802 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2803 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2804 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2805 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2806 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2807 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2808 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2809 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2810 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2811 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2812 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2813 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2814 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2815 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2816 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2817 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2818 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2819 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2820 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2821 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2822 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2823 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2824 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2825 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2826 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2827 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2828 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2829 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2830 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2831 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2832 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2833 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2834 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2835 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2836 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2837 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2838 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2839 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2840 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2841 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2842 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2843 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2844 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2845 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2846 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2847 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2848 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2849 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2850 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2851 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2852 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2853 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2854 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2855 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2856 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2857 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2858 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2859 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2860 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2861 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2862 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2863 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2864 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2865 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2866 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2867 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2868 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2869 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2870 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2871 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2872 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2873 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2874 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2875 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2876 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2877 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2878 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2879 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2880 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2881 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2882 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2883 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2884 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2885 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2886 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2887 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2888 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2889 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2890 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2891 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2892 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2893 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2894 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2895 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2896 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2897 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2898 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2899 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2900 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2901 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2902 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2903 .psize = 1023,
2904 .digest = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
2905 "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
2906 "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
2907 "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
2912 * SHA384 test vectors from from NIST and kerneli
2914 static const struct hash_testvec sha384_tv_template[] = {
2916 .plaintext = "",
2917 .psize = 0,
2918 .digest = "\x38\xb0\x60\xa7\x51\xac\x96\x38"
2919 "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
2920 "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
2921 "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
2922 "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
2923 "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
2924 }, {
2925 .plaintext= "abc",
2926 .psize = 3,
2927 .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
2928 "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
2929 "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
2930 "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
2931 "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
2932 "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
2933 }, {
2934 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2935 .psize = 56,
2936 .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
2937 "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
2938 "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
2939 "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
2940 "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
2941 "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
2942 }, {
2943 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
2944 "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
2945 .psize = 112,
2946 .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
2947 "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
2948 "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
2949 "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
2950 "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
2951 "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
2952 }, {
2953 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
2954 "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
2955 .psize = 104,
2956 .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
2957 "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
2958 "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
2959 "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
2960 "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
2961 "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
2962 .np = 4,
2963 .tap = { 26, 26, 26, 26 }
2964 }, {
2965 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2966 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2967 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2968 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2969 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2970 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2971 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2972 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2973 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2974 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2975 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2976 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2977 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2978 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2979 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2980 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2981 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2982 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2983 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2984 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2985 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2986 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2987 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2988 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2989 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2990 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2991 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2992 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2993 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2994 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2995 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2996 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2997 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2998 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2999 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
3000 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
3001 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
3002 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
3003 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
3004 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
3005 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
3006 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
3007 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
3008 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
3009 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
3010 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
3011 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
3012 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
3013 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
3014 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
3015 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
3016 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
3017 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
3018 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
3019 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
3020 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
3021 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
3022 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
3023 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
3024 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
3025 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
3026 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
3027 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
3028 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
3029 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
3030 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
3031 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
3032 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
3033 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
3034 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
3035 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
3036 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
3037 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
3038 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
3039 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
3040 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
3041 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
3042 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
3043 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
3044 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
3045 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
3046 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
3047 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
3048 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
3049 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
3050 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
3051 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
3052 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
3053 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
3054 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
3055 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
3056 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
3057 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
3058 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
3059 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
3060 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
3061 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
3062 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
3063 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
3064 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
3065 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
3066 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
3067 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
3068 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
3069 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
3070 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
3071 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
3072 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
3073 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
3074 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
3075 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
3076 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
3077 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
3078 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
3079 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
3080 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
3081 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
3082 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
3083 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
3084 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
3085 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
3086 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
3087 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
3088 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
3089 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
3090 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
3091 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
3092 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
3093 .psize = 1023,
3094 .digest = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
3095 "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
3096 "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
3097 "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
3098 "\x75\x29\x62\x83\xae\x3f\x17\xab"
3099 "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
3104 * SHA512 test vectors from from NIST and kerneli
3106 static const struct hash_testvec sha512_tv_template[] = {
3108 .plaintext = "",
3109 .psize = 0,
3110 .digest = "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
3111 "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
3112 "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
3113 "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
3114 "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
3115 "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
3116 "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
3117 "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
3118 }, {
3119 .plaintext = "abc",
3120 .psize = 3,
3121 .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
3122 "\xcc\x41\x73\x49\xae\x20\x41\x31"
3123 "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
3124 "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
3125 "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
3126 "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
3127 "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
3128 "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
3129 }, {
3130 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3131 .psize = 56,
3132 .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
3133 "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
3134 "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
3135 "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
3136 "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
3137 "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
3138 "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
3139 "\x54\xec\x63\x12\x38\xca\x34\x45",
3140 }, {
3141 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
3142 "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
3143 .psize = 112,
3144 .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
3145 "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
3146 "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
3147 "\x72\x99\xae\xad\xb6\x88\x90\x18"
3148 "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
3149 "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
3150 "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
3151 "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
3152 }, {
3153 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
3154 "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
3155 .psize = 104,
3156 .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
3157 "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
3158 "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
3159 "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
3160 "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
3161 "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
3162 "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
3163 "\xed\xb4\x19\x87\x23\x28\x50\xc9",
3164 .np = 4,
3165 .tap = { 26, 26, 26, 26 }
3166 }, {
3167 .plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
3168 "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
3169 "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
3170 "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
3171 "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
3172 "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
3173 "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
3174 "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
3175 "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
3176 "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
3177 "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
3178 "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
3179 "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
3180 "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
3181 "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
3182 "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
3183 "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
3184 "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
3185 "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
3186 "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
3187 "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
3188 "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
3189 "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
3190 "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
3191 "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
3192 "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
3193 "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
3194 "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
3195 "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
3196 "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
3197 "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
3198 "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
3199 "\x53\xea\x81\x18\x8c\x23\xba\x2e"
3200 "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
3201 "\x37\xce\x42\xd9\x70\x07\x7b\x12"
3202 "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
3203 "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
3204 "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
3205 "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
3206 "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
3207 "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
3208 "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
3209 "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
3210 "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
3211 "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
3212 "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
3213 "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
3214 "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
3215 "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
3216 "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
3217 "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
3218 "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
3219 "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
3220 "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
3221 "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
3222 "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
3223 "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
3224 "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
3225 "\x38\xcf\x43\xda\x71\x08\x7c\x13"
3226 "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
3227 "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
3228 "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
3229 "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
3230 "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
3231 "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
3232 "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
3233 "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
3234 "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
3235 "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
3236 "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
3237 "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
3238 "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
3239 "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
3240 "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
3241 "\xef\x63\xfa\x91\x05\x9c\x33\xca"
3242 "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
3243 "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
3244 "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
3245 "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
3246 "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
3247 "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
3248 "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
3249 "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
3250 "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
3251 "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
3252 "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
3253 "\xde\x75\x0c\x80\x17\xae\x22\xb9"
3254 "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
3255 "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
3256 "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
3257 "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
3258 "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
3259 "\x67\xfe\x72\x09\xa0\x14\xab\x42"
3260 "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
3261 "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
3262 "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
3263 "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
3264 "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
3265 "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
3266 "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
3267 "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
3268 "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
3269 "\x95\x09\xa0\x37\xce\x42\xd9\x70"
3270 "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
3271 "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
3272 "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
3273 "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
3274 "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
3275 "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
3276 "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
3277 "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
3278 "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
3279 "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
3280 "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
3281 "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
3282 "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
3283 "\x68\xff\x73\x0a\xa1\x15\xac\x43"
3284 "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
3285 "\x29\xc0\x57\xee\x62\xf9\x90\x04"
3286 "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
3287 "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
3288 "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
3289 "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
3290 "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
3291 "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
3292 "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
3293 "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
3294 "\x08\x7c\x13\xaa\x1e\xb5\x4c",
3295 .psize = 1023,
3296 .digest = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
3297 "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
3298 "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
3299 "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
3300 "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
3301 "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
3302 "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
3303 "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
3309 * WHIRLPOOL test vectors from Whirlpool package
3310 * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
3311 * submission
3313 static const struct hash_testvec wp512_tv_template[] = {
3315 .plaintext = "",
3316 .psize = 0,
3317 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
3318 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
3319 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
3320 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
3321 "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
3322 "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
3323 "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
3324 "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
3327 }, {
3328 .plaintext = "a",
3329 .psize = 1,
3330 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
3331 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
3332 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
3333 "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
3334 "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
3335 "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
3336 "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
3337 "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
3338 }, {
3339 .plaintext = "abc",
3340 .psize = 3,
3341 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
3342 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
3343 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
3344 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
3345 "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
3346 "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
3347 "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
3348 "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
3349 }, {
3350 .plaintext = "message digest",
3351 .psize = 14,
3352 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
3353 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
3354 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
3355 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
3356 "\x84\x21\x55\x76\x59\xEF\x55\xC1"
3357 "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
3358 "\x92\xED\x92\x00\x52\x83\x8F\x33"
3359 "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
3360 }, {
3361 .plaintext = "abcdefghijklmnopqrstuvwxyz",
3362 .psize = 26,
3363 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
3364 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
3365 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
3366 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
3367 "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
3368 "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
3369 "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
3370 "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
3371 }, {
3372 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
3373 "abcdefghijklmnopqrstuvwxyz0123456789",
3374 .psize = 62,
3375 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
3376 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
3377 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
3378 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
3379 "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
3380 "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
3381 "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
3382 "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
3383 }, {
3384 .plaintext = "1234567890123456789012345678901234567890"
3385 "1234567890123456789012345678901234567890",
3386 .psize = 80,
3387 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
3388 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
3389 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
3390 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
3391 "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
3392 "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
3393 "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
3394 "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
3395 }, {
3396 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
3397 .psize = 32,
3398 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
3399 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
3400 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
3401 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
3402 "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
3403 "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
3404 "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
3405 "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
3409 static const struct hash_testvec wp384_tv_template[] = {
3411 .plaintext = "",
3412 .psize = 0,
3413 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
3414 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
3415 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
3416 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
3417 "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
3418 "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
3421 }, {
3422 .plaintext = "a",
3423 .psize = 1,
3424 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
3425 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
3426 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
3427 "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
3428 "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
3429 "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
3430 }, {
3431 .plaintext = "abc",
3432 .psize = 3,
3433 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
3434 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
3435 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
3436 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
3437 "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
3438 "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
3439 }, {
3440 .plaintext = "message digest",
3441 .psize = 14,
3442 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
3443 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
3444 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
3445 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
3446 "\x84\x21\x55\x76\x59\xEF\x55\xC1"
3447 "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
3448 }, {
3449 .plaintext = "abcdefghijklmnopqrstuvwxyz",
3450 .psize = 26,
3451 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
3452 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
3453 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
3454 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
3455 "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
3456 "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
3457 }, {
3458 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
3459 "abcdefghijklmnopqrstuvwxyz0123456789",
3460 .psize = 62,
3461 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
3462 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
3463 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
3464 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
3465 "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
3466 "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
3467 }, {
3468 .plaintext = "1234567890123456789012345678901234567890"
3469 "1234567890123456789012345678901234567890",
3470 .psize = 80,
3471 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
3472 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
3473 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
3474 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
3475 "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
3476 "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
3477 }, {
3478 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
3479 .psize = 32,
3480 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
3481 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
3482 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
3483 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
3484 "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
3485 "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
3489 static const struct hash_testvec wp256_tv_template[] = {
3491 .plaintext = "",
3492 .psize = 0,
3493 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
3494 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
3495 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
3496 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
3499 }, {
3500 .plaintext = "a",
3501 .psize = 1,
3502 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
3503 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
3504 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
3505 "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
3506 }, {
3507 .plaintext = "abc",
3508 .psize = 3,
3509 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
3510 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
3511 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
3512 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
3513 }, {
3514 .plaintext = "message digest",
3515 .psize = 14,
3516 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
3517 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
3518 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
3519 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
3520 }, {
3521 .plaintext = "abcdefghijklmnopqrstuvwxyz",
3522 .psize = 26,
3523 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
3524 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
3525 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
3526 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
3527 }, {
3528 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
3529 "abcdefghijklmnopqrstuvwxyz0123456789",
3530 .psize = 62,
3531 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
3532 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
3533 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
3534 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
3535 }, {
3536 .plaintext = "1234567890123456789012345678901234567890"
3537 "1234567890123456789012345678901234567890",
3538 .psize = 80,
3539 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
3540 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
3541 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
3542 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
3543 }, {
3544 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
3545 .psize = 32,
3546 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
3547 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
3548 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
3549 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
3554 * TIGER test vectors from Tiger website
3556 static const struct hash_testvec tgr192_tv_template[] = {
3558 .plaintext = "",
3559 .psize = 0,
3560 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
3561 "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
3562 "\xf3\x73\xde\x2d\x49\x58\x4e\x7a",
3563 }, {
3564 .plaintext = "abc",
3565 .psize = 3,
3566 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
3567 "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
3568 "\x93\x5f\x7b\x95\x1c\x13\x29\x51",
3569 }, {
3570 .plaintext = "Tiger",
3571 .psize = 5,
3572 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
3573 "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
3574 "\x37\x79\x0c\x11\x6f\x9d\x2b\xdf",
3575 }, {
3576 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
3577 .psize = 64,
3578 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
3579 "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
3580 "\xb5\x86\x44\x50\x34\xa5\xa3\x86",
3581 }, {
3582 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
3583 .psize = 64,
3584 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
3585 "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
3586 "\x57\x89\x65\x65\x97\x5f\x91\x97",
3587 }, {
3588 .plaintext = "Tiger - A Fast New Hash Function, "
3589 "by Ross Anderson and Eli Biham, "
3590 "proceedings of Fast Software Encryption 3, "
3591 "Cambridge, 1996.",
3592 .psize = 125,
3593 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
3594 "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
3595 "\xdd\x68\x15\x1d\x50\x39\x74\xfc",
3599 static const struct hash_testvec tgr160_tv_template[] = {
3601 .plaintext = "",
3602 .psize = 0,
3603 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
3604 "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
3605 "\xf3\x73\xde\x2d",
3606 }, {
3607 .plaintext = "abc",
3608 .psize = 3,
3609 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
3610 "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
3611 "\x93\x5f\x7b\x95",
3612 }, {
3613 .plaintext = "Tiger",
3614 .psize = 5,
3615 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
3616 "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
3617 "\x37\x79\x0c\x11",
3618 }, {
3619 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
3620 .psize = 64,
3621 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
3622 "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
3623 "\xb5\x86\x44\x50",
3624 }, {
3625 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
3626 .psize = 64,
3627 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
3628 "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
3629 "\x57\x89\x65\x65",
3630 }, {
3631 .plaintext = "Tiger - A Fast New Hash Function, "
3632 "by Ross Anderson and Eli Biham, "
3633 "proceedings of Fast Software Encryption 3, "
3634 "Cambridge, 1996.",
3635 .psize = 125,
3636 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
3637 "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
3638 "\xdd\x68\x15\x1d",
3642 static const struct hash_testvec tgr128_tv_template[] = {
3644 .plaintext = "",
3645 .psize = 0,
3646 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
3647 "\x16\x16\x6e\x76\xb1\xbb\x92\x5f",
3648 }, {
3649 .plaintext = "abc",
3650 .psize = 3,
3651 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
3652 "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf",
3653 }, {
3654 .plaintext = "Tiger",
3655 .psize = 5,
3656 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
3657 "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec",
3658 }, {
3659 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
3660 .psize = 64,
3661 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
3662 "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e",
3663 }, {
3664 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
3665 .psize = 64,
3666 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
3667 "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9",
3668 }, {
3669 .plaintext = "Tiger - A Fast New Hash Function, "
3670 "by Ross Anderson and Eli Biham, "
3671 "proceedings of Fast Software Encryption 3, "
3672 "Cambridge, 1996.",
3673 .psize = 125,
3674 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
3675 "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24",
3679 static const struct hash_testvec ghash_tv_template[] =
3682 .key = "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
3683 "\xff\xca\xff\x95\xf8\x30\xf0\x61",
3684 .ksize = 16,
3685 .plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
3686 "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
3687 .psize = 16,
3688 .digest = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
3689 "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
3690 }, {
3691 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3692 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3693 .ksize = 16,
3694 .plaintext = "what do ya want for nothing?",
3695 .psize = 28,
3696 .digest = "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
3697 "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
3698 .np = 2,
3699 .tap = {14, 14}
3700 }, {
3701 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3702 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3703 .ksize = 16,
3704 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3705 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3706 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3707 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3708 .psize = 50,
3709 .digest = "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
3710 "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
3711 }, {
3712 .key = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
3713 "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
3714 .ksize = 16,
3715 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3716 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3717 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3718 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3719 .psize = 50,
3720 .digest = "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
3721 "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
3722 }, {
3723 .key = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
3724 "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
3725 .ksize = 16,
3726 .plaintext = "Test With Truncation",
3727 .psize = 20,
3728 .digest = "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
3729 "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
3730 }, {
3731 .key = "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
3732 "\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
3733 .ksize = 16,
3734 .plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
3735 "\x65\x72\x20\x4c\x61\x75\x73\x63"
3736 "\x68\x65\x6e\x20\x75\x6e\x64\x20"
3737 "\x53\x74\x61\x75\x6e\x65\x6e\x20"
3738 "\x73\x65\x69\x20\x73\x74\x69\x6c"
3739 "\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
3740 "\x69\x6e\x20\x74\x69\x65\x66\x74"
3741 "\x69\x65\x66\x65\x73\x20\x4c\x65"
3742 "\x62\x65\x6e\x3b\x0a\x64\x61\x73"
3743 "\x73\x20\x64\x75\x20\x77\x65\x69"
3744 "\xc3\x9f\x74\x20\x77\x61\x73\x20"
3745 "\x64\x65\x72\x20\x57\x69\x6e\x64"
3746 "\x20\x64\x69\x72\x20\x77\x69\x6c"
3747 "\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
3748 "\x63\x68\x20\x64\x69\x65\x20\x42"
3749 "\x69\x72\x6b\x65\x6e\x20\x62\x65"
3750 "\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
3751 "\x64\x20\x77\x65\x6e\x6e\x20\x64"
3752 "\x69\x72\x20\x65\x69\x6e\x6d\x61"
3753 "\x6c\x20\x64\x61\x73\x20\x53\x63"
3754 "\x68\x77\x65\x69\x67\x65\x6e\x20"
3755 "\x73\x70\x72\x61\x63\x68\x2c\x0a"
3756 "\x6c\x61\x73\x73\x20\x64\x65\x69"
3757 "\x6e\x65\x20\x53\x69\x6e\x6e\x65"
3758 "\x20\x62\x65\x73\x69\x65\x67\x65"
3759 "\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
3760 "\x20\x48\x61\x75\x63\x68\x65\x20"
3761 "\x67\x69\x62\x74\x20\x64\x69\x63"
3762 "\x68\x2c\x20\x67\x69\x62\x20\x6e"
3763 "\x61\x63\x68\x2c\x0a\x65\x72\x20"
3764 "\x77\x69\x72\x64\x20\x64\x69\x63"
3765 "\x68\x20\x6c\x69\x65\x62\x65\x6e"
3766 "\x20\x75\x6e\x64\x20\x77\x69\x65"
3767 "\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
3768 "\x64\x20\x64\x61\x6e\x6e\x20\x6d"
3769 "\x65\x69\x6e\x65\x20\x53\x65\x65"
3770 "\x6c\x65\x20\x73\x65\x69\x74\x20"
3771 "\x77\x65\x69\x74\x2c\x20\x73\x65"
3772 "\x69\x20\x77\x65\x69\x74\x2c\x0a"
3773 "\x64\x61\x73\x73\x20\x64\x69\x72"
3774 "\x20\x64\x61\x73\x20\x4c\x65\x62"
3775 "\x65\x6e\x20\x67\x65\x6c\x69\x6e"
3776 "\x67\x65\x2c\x0a\x62\x72\x65\x69"
3777 "\x74\x65\x20\x64\x69\x63\x68\x20"
3778 "\x77\x69\x65\x20\x65\x69\x6e\x20"
3779 "\x46\x65\x69\x65\x72\x6b\x6c\x65"
3780 "\x69\x64\x0a\xc3\xbc\x62\x65\x72"
3781 "\x20\x64\x69\x65\x20\x73\x69\x6e"
3782 "\x6e\x65\x6e\x64\x65\x6e\x20\x44"
3783 "\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
3784 .psize = 400,
3785 .digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
3786 "\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
3791 * HMAC-MD5 test vectors from RFC2202
3792 * (These need to be fixed to not use strlen).
3794 static const struct hash_testvec hmac_md5_tv_template[] =
3797 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3798 .ksize = 16,
3799 .plaintext = "Hi There",
3800 .psize = 8,
3801 .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
3802 "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
3803 }, {
3804 .key = "Jefe",
3805 .ksize = 4,
3806 .plaintext = "what do ya want for nothing?",
3807 .psize = 28,
3808 .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
3809 "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
3810 .np = 2,
3811 .tap = {14, 14}
3812 }, {
3813 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3814 .ksize = 16,
3815 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3816 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3817 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3818 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3819 .psize = 50,
3820 .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
3821 "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
3822 }, {
3823 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
3824 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3825 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3826 .ksize = 25,
3827 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3828 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3829 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3830 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3831 .psize = 50,
3832 .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
3833 "\x3a\x75\x16\x47\x46\xff\xaa\x79",
3834 }, {
3835 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3836 .ksize = 16,
3837 .plaintext = "Test With Truncation",
3838 .psize = 20,
3839 .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
3840 "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
3841 }, {
3842 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3843 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3844 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3845 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3846 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3847 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3848 "\xaa\xaa",
3849 .ksize = 80,
3850 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3851 .psize = 54,
3852 .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
3853 "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
3854 }, {
3855 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3856 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3857 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3858 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3859 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3860 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3861 "\xaa\xaa",
3862 .ksize = 80,
3863 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3864 "Block-Size Data",
3865 .psize = 73,
3866 .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
3867 "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
3872 * HMAC-RIPEMD128 test vectors from RFC2286
3874 static const struct hash_testvec hmac_rmd128_tv_template[] = {
3876 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3877 .ksize = 16,
3878 .plaintext = "Hi There",
3879 .psize = 8,
3880 .digest = "\xfb\xf6\x1f\x94\x92\xaa\x4b\xbf"
3881 "\x81\xc1\x72\xe8\x4e\x07\x34\xdb",
3882 }, {
3883 .key = "Jefe",
3884 .ksize = 4,
3885 .plaintext = "what do ya want for nothing?",
3886 .psize = 28,
3887 .digest = "\x87\x5f\x82\x88\x62\xb6\xb3\x34"
3888 "\xb4\x27\xc5\x5f\x9f\x7f\xf0\x9b",
3889 .np = 2,
3890 .tap = { 14, 14 },
3891 }, {
3892 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3893 .ksize = 16,
3894 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3895 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3896 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3897 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3898 .psize = 50,
3899 .digest = "\x09\xf0\xb2\x84\x6d\x2f\x54\x3d"
3900 "\xa3\x63\xcb\xec\x8d\x62\xa3\x8d",
3901 }, {
3902 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
3903 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3904 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3905 .ksize = 25,
3906 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3907 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3908 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3909 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3910 .psize = 50,
3911 .digest = "\xbd\xbb\xd7\xcf\x03\xe4\x4b\x5a"
3912 "\xa6\x0a\xf8\x15\xbe\x4d\x22\x94",
3913 }, {
3914 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3915 .ksize = 16,
3916 .plaintext = "Test With Truncation",
3917 .psize = 20,
3918 .digest = "\xe7\x98\x08\xf2\x4b\x25\xfd\x03"
3919 "\x1c\x15\x5f\x0d\x55\x1d\x9a\x3a",
3920 }, {
3921 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3922 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3923 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3924 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3925 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3926 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3927 "\xaa\xaa",
3928 .ksize = 80,
3929 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3930 .psize = 54,
3931 .digest = "\xdc\x73\x29\x28\xde\x98\x10\x4a"
3932 "\x1f\x59\xd3\x73\xc1\x50\xac\xbb",
3933 }, {
3934 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3935 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3936 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3937 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3938 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3939 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3940 "\xaa\xaa",
3941 .ksize = 80,
3942 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3943 "Block-Size Data",
3944 .psize = 73,
3945 .digest = "\x5c\x6b\xec\x96\x79\x3e\x16\xd4"
3946 "\x06\x90\xc2\x37\x63\x5f\x30\xc5",
3951 * HMAC-RIPEMD160 test vectors from RFC2286
3953 static const struct hash_testvec hmac_rmd160_tv_template[] = {
3955 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3956 .ksize = 20,
3957 .plaintext = "Hi There",
3958 .psize = 8,
3959 .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
3960 "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
3961 }, {
3962 .key = "Jefe",
3963 .ksize = 4,
3964 .plaintext = "what do ya want for nothing?",
3965 .psize = 28,
3966 .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
3967 "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
3968 .np = 2,
3969 .tap = { 14, 14 },
3970 }, {
3971 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3972 .ksize = 20,
3973 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3974 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3975 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3976 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3977 .psize = 50,
3978 .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
3979 "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
3980 }, {
3981 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
3982 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3983 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3984 .ksize = 25,
3985 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3986 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3987 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3988 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3989 .psize = 50,
3990 .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
3991 "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
3992 }, {
3993 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3994 .ksize = 20,
3995 .plaintext = "Test With Truncation",
3996 .psize = 20,
3997 .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
3998 "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
3999 }, {
4000 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4001 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4002 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4003 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4004 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4005 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4006 "\xaa\xaa",
4007 .ksize = 80,
4008 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
4009 .psize = 54,
4010 .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
4011 "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
4012 }, {
4013 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4014 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4015 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4016 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4017 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4018 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4019 "\xaa\xaa",
4020 .ksize = 80,
4021 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
4022 "Block-Size Data",
4023 .psize = 73,
4024 .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
4025 "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
4030 * HMAC-SHA1 test vectors from RFC2202
4032 static const struct hash_testvec hmac_sha1_tv_template[] = {
4034 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
4035 .ksize = 20,
4036 .plaintext = "Hi There",
4037 .psize = 8,
4038 .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
4039 "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
4040 "\x46\xbe",
4041 }, {
4042 .key = "Jefe",
4043 .ksize = 4,
4044 .plaintext = "what do ya want for nothing?",
4045 .psize = 28,
4046 .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
4047 "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
4048 .np = 2,
4049 .tap = { 14, 14 }
4050 }, {
4051 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
4052 .ksize = 20,
4053 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4054 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4055 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4056 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
4057 .psize = 50,
4058 .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
4059 "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
4060 }, {
4061 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4062 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4063 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
4064 .ksize = 25,
4065 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4066 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4067 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4068 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
4069 .psize = 50,
4070 .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
4071 "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
4072 }, {
4073 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
4074 .ksize = 20,
4075 .plaintext = "Test With Truncation",
4076 .psize = 20,
4077 .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
4078 "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
4079 }, {
4080 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4081 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4082 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4083 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4084 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4085 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4086 "\xaa\xaa",
4087 .ksize = 80,
4088 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
4089 .psize = 54,
4090 .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
4091 "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
4092 }, {
4093 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4094 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4095 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4096 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4097 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4098 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4099 "\xaa\xaa",
4100 .ksize = 80,
4101 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
4102 "Block-Size Data",
4103 .psize = 73,
4104 .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
4105 "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
4111 * SHA224 HMAC test vectors from RFC4231
4113 static const struct hash_testvec hmac_sha224_tv_template[] = {
4115 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4116 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4117 "\x0b\x0b\x0b\x0b",
4118 .ksize = 20,
4119 /* ("Hi There") */
4120 .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
4121 .psize = 8,
4122 .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
4123 "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
4124 "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
4125 "\x53\x68\x4b\x22",
4126 }, {
4127 .key = "Jefe",
4128 .ksize = 4,
4129 /* ("what do ya want for nothing?") */
4130 .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
4131 "\x79\x61\x20\x77\x61\x6e\x74\x20"
4132 "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
4133 "\x69\x6e\x67\x3f",
4134 .psize = 28,
4135 .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
4136 "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
4137 "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
4138 "\x8f\xd0\x5e\x44",
4139 .np = 4,
4140 .tap = { 7, 7, 7, 7 }
4141 }, {
4142 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4143 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4144 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4145 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4146 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4147 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4148 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4149 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4150 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4151 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4152 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4153 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4154 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4155 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4156 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4157 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4158 "\xaa\xaa\xaa",
4159 .ksize = 131,
4160 /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
4161 .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
4162 "\x6e\x67\x20\x4c\x61\x72\x67\x65"
4163 "\x72\x20\x54\x68\x61\x6e\x20\x42"
4164 "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
4165 "\x65\x20\x4b\x65\x79\x20\x2d\x20"
4166 "\x48\x61\x73\x68\x20\x4b\x65\x79"
4167 "\x20\x46\x69\x72\x73\x74",
4168 .psize = 54,
4169 .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
4170 "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
4171 "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
4172 "\x3f\xa6\x87\x0e",
4173 }, {
4174 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4175 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4176 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4177 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4178 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4179 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4180 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4181 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4182 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4183 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4184 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4185 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4186 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4187 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4188 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4189 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4190 "\xaa\xaa\xaa",
4191 .ksize = 131,
4192 /* ("This is a test using a larger than block-size key and a")
4193 (" larger than block-size data. The key needs to be")
4194 (" hashed before being used by the HMAC algorithm.") */
4195 .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
4196 "\x61\x20\x74\x65\x73\x74\x20\x75"
4197 "\x73\x69\x6e\x67\x20\x61\x20\x6c"
4198 "\x61\x72\x67\x65\x72\x20\x74\x68"
4199 "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
4200 "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
4201 "\x79\x20\x61\x6e\x64\x20\x61\x20"
4202 "\x6c\x61\x72\x67\x65\x72\x20\x74"
4203 "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
4204 "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
4205 "\x61\x74\x61\x2e\x20\x54\x68\x65"
4206 "\x20\x6b\x65\x79\x20\x6e\x65\x65"
4207 "\x64\x73\x20\x74\x6f\x20\x62\x65"
4208 "\x20\x68\x61\x73\x68\x65\x64\x20"
4209 "\x62\x65\x66\x6f\x72\x65\x20\x62"
4210 "\x65\x69\x6e\x67\x20\x75\x73\x65"
4211 "\x64\x20\x62\x79\x20\x74\x68\x65"
4212 "\x20\x48\x4d\x41\x43\x20\x61\x6c"
4213 "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
4214 .psize = 152,
4215 .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
4216 "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
4217 "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
4218 "\xf6\xf5\x65\xd1",
4223 * HMAC-SHA256 test vectors from
4224 * draft-ietf-ipsec-ciph-sha-256-01.txt
4226 static const struct hash_testvec hmac_sha256_tv_template[] = {
4228 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4229 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4230 "\x11\x12\x13\x14\x15\x16\x17\x18"
4231 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
4232 .ksize = 32,
4233 .plaintext = "abc",
4234 .psize = 3,
4235 .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
4236 "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
4237 "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
4238 "\x92\x75\x90\x21\xcf\xab\x81\x81",
4239 }, {
4240 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4241 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4242 "\x11\x12\x13\x14\x15\x16\x17\x18"
4243 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
4244 .ksize = 32,
4245 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
4246 .psize = 56,
4247 .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
4248 "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
4249 "\xe6\x98\xe3\x61\x19\x42\x11\x49"
4250 "\xea\x8c\x71\x24\x56\x69\x7d\x30",
4251 }, {
4252 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4253 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4254 "\x11\x12\x13\x14\x15\x16\x17\x18"
4255 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
4256 .ksize = 32,
4257 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
4258 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
4259 .psize = 112,
4260 .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
4261 "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
4262 "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
4263 "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
4264 }, {
4265 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4266 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4267 "\x0b\x0b\x0b\x0b\x0b\x0b",
4268 .ksize = 32,
4269 .plaintext = "Hi There",
4270 .psize = 8,
4271 .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
4272 "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
4273 "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
4274 "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
4275 }, {
4276 .key = "Jefe",
4277 .ksize = 4,
4278 .plaintext = "what do ya want for nothing?",
4279 .psize = 28,
4280 .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
4281 "\x6a\x04\x24\x26\x08\x95\x75\xc7"
4282 "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
4283 "\x9d\xec\x58\xb9\x64\xec\x38\x43",
4284 .np = 2,
4285 .tap = { 14, 14 }
4286 }, {
4287 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4288 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4289 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
4290 .ksize = 32,
4291 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4292 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4293 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
4294 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
4295 .psize = 50,
4296 .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
4297 "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
4298 "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
4299 "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
4300 }, {
4301 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
4302 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
4303 "\x11\x12\x13\x14\x15\x16\x17\x18"
4304 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
4305 "\x21\x22\x23\x24\x25",
4306 .ksize = 37,
4307 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4308 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4309 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
4310 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
4311 .psize = 50,
4312 .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
4313 "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
4314 "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
4315 "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
4316 }, {
4317 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
4318 "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
4319 "\x0c\x0c\x0c\x0c\x0c\x0c",
4320 .ksize = 32,
4321 .plaintext = "Test With Truncation",
4322 .psize = 20,
4323 .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
4324 "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
4325 "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
4326 "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
4327 }, {
4328 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4329 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4330 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4331 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4332 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4333 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4334 "\xaa\xaa",
4335 .ksize = 80,
4336 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
4337 .psize = 54,
4338 .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
4339 "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
4340 "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
4341 "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
4342 }, {
4343 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4344 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4345 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4346 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4347 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4348 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4349 "\xaa\xaa",
4350 .ksize = 80,
4351 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
4352 "One Block-Size Data",
4353 .psize = 73,
4354 .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
4355 "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
4356 "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
4357 "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
4361 static const struct hash_testvec aes_cmac128_tv_template[] = {
4362 { /* From NIST Special Publication 800-38B, AES-128 */
4363 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4364 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4365 .plaintext = zeroed_string,
4366 .digest = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
4367 "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
4368 .psize = 0,
4369 .ksize = 16,
4370 }, {
4371 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4372 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4373 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4374 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
4375 .digest = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
4376 "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
4377 .psize = 16,
4378 .ksize = 16,
4379 }, {
4380 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4381 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4382 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4383 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4384 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4385 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4386 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
4387 .digest = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
4388 "\x30\xca\x32\x61\x14\x97\xc8\x27",
4389 .psize = 40,
4390 .ksize = 16,
4391 }, {
4392 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4393 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4394 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4395 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4396 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4397 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4398 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
4399 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
4400 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
4401 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
4402 .digest = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
4403 "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
4404 .psize = 64,
4405 .ksize = 16,
4406 }, { /* From NIST Special Publication 800-38B, AES-256 */
4407 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
4408 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
4409 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
4410 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
4411 .plaintext = zeroed_string,
4412 .digest = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
4413 "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
4414 .psize = 0,
4415 .ksize = 32,
4416 }, {
4417 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
4418 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
4419 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
4420 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
4421 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4422 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4423 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4424 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4425 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
4426 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
4427 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
4428 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
4429 .digest = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
4430 "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
4431 .psize = 64,
4432 .ksize = 32,
4436 static const struct hash_testvec aes_cbcmac_tv_template[] = {
4438 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4439 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4440 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4441 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
4442 .digest = "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
4443 "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
4444 .psize = 16,
4445 .ksize = 16,
4446 }, {
4447 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4448 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4449 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4450 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4451 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4452 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4453 "\x30",
4454 .digest = "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
4455 "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
4456 .psize = 33,
4457 .ksize = 16,
4458 .np = 2,
4459 .tap = { 7, 26 },
4460 }, {
4461 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
4462 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
4463 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4464 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4465 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4466 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4467 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
4468 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
4469 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
4470 "\xad\x2b\x41\x7b\xe6\x6c\x37",
4471 .digest = "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
4472 "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
4473 .psize = 63,
4474 .ksize = 16,
4475 }, {
4476 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
4477 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
4478 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
4479 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
4480 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4481 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4482 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4483 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
4484 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
4485 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
4486 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
4487 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
4488 "\x1c",
4489 .digest = "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
4490 "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
4491 .psize = 65,
4492 .ksize = 32,
4496 static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
4498 * From NIST Special Publication 800-38B, Three Key TDEA
4499 * Corrected test vectors from:
4500 * http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
4503 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
4504 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
4505 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
4506 .plaintext = zeroed_string,
4507 .digest = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
4508 .psize = 0,
4509 .ksize = 24,
4510 }, {
4511 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
4512 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
4513 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
4514 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
4515 .digest = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
4516 .psize = 8,
4517 .ksize = 24,
4518 }, {
4519 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
4520 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
4521 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
4522 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4523 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4524 "\xae\x2d\x8a\x57",
4525 .digest = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
4526 .psize = 20,
4527 .ksize = 24,
4528 }, {
4529 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
4530 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
4531 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
4532 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
4533 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
4534 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
4535 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
4536 .digest = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
4537 .psize = 32,
4538 .ksize = 24,
4542 static const struct hash_testvec aes_xcbc128_tv_template[] = {
4544 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4545 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4546 .plaintext = zeroed_string,
4547 .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
4548 "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
4549 .psize = 0,
4550 .ksize = 16,
4551 }, {
4552 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4553 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4554 .plaintext = "\x00\x01\x02",
4555 .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
4556 "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
4557 .psize = 3,
4558 .ksize = 16,
4559 } , {
4560 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4561 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4562 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
4563 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4564 .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
4565 "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
4566 .psize = 16,
4567 .ksize = 16,
4568 }, {
4569 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4570 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4571 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
4572 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4573 "\x10\x11\x12\x13",
4574 .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
4575 "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
4576 .tap = { 10, 10 },
4577 .psize = 20,
4578 .np = 2,
4579 .ksize = 16,
4580 }, {
4581 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4582 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4583 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
4584 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4585 "\x10\x11\x12\x13\x14\x15\x16\x17"
4586 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
4587 .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
4588 "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
4589 .psize = 32,
4590 .ksize = 16,
4591 }, {
4592 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4593 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4594 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
4595 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
4596 "\x10\x11\x12\x13\x14\x15\x16\x17"
4597 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
4598 "\x20\x21",
4599 .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
4600 "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
4601 .tap = { 17, 17 },
4602 .psize = 34,
4603 .np = 2,
4604 .ksize = 16,
4608 static const char vmac64_string1[144] = {
4609 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4610 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4611 '\x01', '\x01', '\x01', '\x01', '\x02', '\x03', '\x02', '\x02',
4612 '\x02', '\x04', '\x01', '\x07', '\x04', '\x01', '\x04', '\x03',
4615 static const char vmac64_string2[144] = {
4616 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4617 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4618 'a', 'b', 'c',
4621 static const char vmac64_string3[144] = {
4622 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4623 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4624 'a', 'b', 'c', 'a', 'b', 'c', 'a', 'b',
4625 'c', 'a', 'b', 'c', 'a', 'b', 'c', 'a',
4626 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c',
4627 'a', 'b', 'c', 'a', 'b', 'c', 'a', 'b',
4628 'c', 'a', 'b', 'c', 'a', 'b', 'c', 'a',
4629 'b', 'c', 'a', 'b', 'c', 'a', 'b', 'c',
4632 static const char vmac64_string4[33] = {
4633 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4634 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4635 'b', 'c', 'e', 'f', 'i', 'j', 'l', 'm',
4636 'o', 'p', 'r', 's', 't', 'u', 'w', 'x',
4637 'z',
4640 static const char vmac64_string5[143] = {
4641 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4642 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4643 'r', 'm', 'b', 't', 'c', 'o', 'l', 'k',
4644 ']', '%', '9', '2', '7', '!', 'A',
4647 static const char vmac64_string6[145] = {
4648 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4649 '\0', '\0', '\0', '\0', '\0', '\0', '\0', '\0',
4650 'p', 't', '*', '7', 'l', 'i', '!', '#',
4651 'w', '0', 'z', '/', '4', 'A', 'n',
4654 static const struct hash_testvec vmac64_aes_tv_template[] = {
4655 { /* draft-krovetz-vmac-01 test vector 1 */
4656 .key = "abcdefghijklmnop",
4657 .ksize = 16,
4658 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi",
4659 .psize = 16,
4660 .digest = "\x25\x76\xbe\x1c\x56\xd8\xb8\x1b",
4661 }, { /* draft-krovetz-vmac-01 test vector 2 */
4662 .key = "abcdefghijklmnop",
4663 .ksize = 16,
4664 .plaintext = "\0\0\0\0\0\0\0\0bcdefghiabc",
4665 .psize = 19,
4666 .digest = "\x2d\x37\x6c\xf5\xb1\x81\x3c\xe5",
4667 }, { /* draft-krovetz-vmac-01 test vector 3 */
4668 .key = "abcdefghijklmnop",
4669 .ksize = 16,
4670 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
4671 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
4672 .psize = 64,
4673 .digest = "\xe8\x42\x1f\x61\xd5\x73\xd2\x98",
4674 }, { /* draft-krovetz-vmac-01 test vector 4 */
4675 .key = "abcdefghijklmnop",
4676 .ksize = 16,
4677 .plaintext = "\0\0\0\0\0\0\0\0bcdefghi"
4678 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
4679 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
4680 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
4681 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
4682 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabcabc"
4683 "abcabcabcabcabcabcabcabcabcabcabcabcabcabcabc",
4684 .psize = 316,
4685 .digest = "\x44\x92\xdf\x6c\x5c\xac\x1b\xbe",
4686 .tap = { 1, 100, 200, 15 },
4687 .np = 4,
4688 }, {
4689 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4690 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4691 .ksize = 16,
4692 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
4693 "\x00\x00\x00\x00\x00\x00\x00\x00",
4694 .psize = 16,
4695 .digest = "\x54\x7b\xa4\x77\x35\x80\x58\x07",
4696 }, {
4697 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4698 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4699 .ksize = 16,
4700 .plaintext = vmac64_string1,
4701 .psize = sizeof(vmac64_string1),
4702 .digest = "\xa1\x8c\x68\xae\xd3\x3c\xf5\xce",
4703 }, {
4704 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4705 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4706 .ksize = 16,
4707 .plaintext = vmac64_string2,
4708 .psize = sizeof(vmac64_string2),
4709 .digest = "\x2d\x14\xbd\x81\x73\xb0\x27\xc9",
4710 }, {
4711 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
4712 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
4713 .ksize = 16,
4714 .plaintext = vmac64_string3,
4715 .psize = sizeof(vmac64_string3),
4716 .digest = "\x19\x0b\x47\x98\x8c\x95\x1a\x8d",
4717 }, {
4718 .key = "abcdefghijklmnop",
4719 .ksize = 16,
4720 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
4721 "\x00\x00\x00\x00\x00\x00\x00\x00",
4722 .psize = 16,
4723 .digest = "\x84\x8f\x55\x9e\x26\xa1\x89\x3b",
4724 }, {
4725 .key = "abcdefghijklmnop",
4726 .ksize = 16,
4727 .plaintext = vmac64_string1,
4728 .psize = sizeof(vmac64_string1),
4729 .digest = "\xc2\x74\x8d\xf6\xb0\xab\x5e\xab",
4730 }, {
4731 .key = "abcdefghijklmnop",
4732 .ksize = 16,
4733 .plaintext = vmac64_string2,
4734 .psize = sizeof(vmac64_string2),
4735 .digest = "\xdf\x09\x7b\x3d\x42\x68\x15\x11",
4736 }, {
4737 .key = "abcdefghijklmnop",
4738 .ksize = 16,
4739 .plaintext = vmac64_string3,
4740 .psize = sizeof(vmac64_string3),
4741 .digest = "\xd4\xfa\x8f\xed\xe1\x8f\x32\x8b",
4742 }, {
4743 .key = "a09b5cd!f#07K\x00\x00\x00",
4744 .ksize = 16,
4745 .plaintext = vmac64_string4,
4746 .psize = sizeof(vmac64_string4),
4747 .digest = "\x5f\xa1\x4e\x42\xea\x0f\xa5\xab",
4748 }, {
4749 .key = "a09b5cd!f#07K\x00\x00\x00",
4750 .ksize = 16,
4751 .plaintext = vmac64_string5,
4752 .psize = sizeof(vmac64_string5),
4753 .digest = "\x60\x67\xe8\x1d\xbc\x98\x31\x25",
4754 }, {
4755 .key = "a09b5cd!f#07K\x00\x00\x00",
4756 .ksize = 16,
4757 .plaintext = vmac64_string6,
4758 .psize = sizeof(vmac64_string6),
4759 .digest = "\x41\xeb\x65\x95\x47\x9b\xae\xc4",
4764 * SHA384 HMAC test vectors from RFC4231
4767 static const struct hash_testvec hmac_sha384_tv_template[] = {
4769 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4770 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4771 "\x0b\x0b\x0b\x0b",
4772 .ksize = 20,
4773 .plaintext = "Hi There",
4774 .psize = 8,
4775 .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
4776 "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
4777 "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
4778 "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
4779 "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
4780 "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
4781 }, {
4782 .key = "Jefe",
4783 .ksize = 4,
4784 .plaintext = "what do ya want for nothing?",
4785 .psize = 28,
4786 .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
4787 "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
4788 "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
4789 "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
4790 "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
4791 "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
4792 .np = 4,
4793 .tap = { 7, 7, 7, 7 }
4794 }, {
4795 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4796 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4797 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4798 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4799 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4800 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4801 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4802 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4803 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4804 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4805 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4806 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4807 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4808 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4809 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4810 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4811 "\xaa\xaa\xaa",
4812 .ksize = 131,
4813 .plaintext = "Test Using Larger Than Block-Siz"
4814 "e Key - Hash Key First",
4815 .psize = 54,
4816 .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
4817 "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
4818 "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
4819 "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
4820 "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
4821 "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
4822 }, {
4823 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4824 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4825 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4826 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4827 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4828 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4829 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4830 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4831 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4832 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4833 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4834 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4835 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4836 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4837 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4838 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4839 "\xaa\xaa\xaa",
4840 .ksize = 131,
4841 .plaintext = "This is a test u"
4842 "sing a larger th"
4843 "an block-size ke"
4844 "y and a larger t"
4845 "han block-size d"
4846 "ata. The key nee"
4847 "ds to be hashed "
4848 "before being use"
4849 "d by the HMAC al"
4850 "gorithm.",
4851 .psize = 152,
4852 .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
4853 "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
4854 "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
4855 "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
4856 "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
4857 "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
4862 * SHA512 HMAC test vectors from RFC4231
4865 static const struct hash_testvec hmac_sha512_tv_template[] = {
4867 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4868 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4869 "\x0b\x0b\x0b\x0b",
4870 .ksize = 20,
4871 .plaintext = "Hi There",
4872 .psize = 8,
4873 .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
4874 "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
4875 "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
4876 "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
4877 "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
4878 "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
4879 "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
4880 "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
4881 }, {
4882 .key = "Jefe",
4883 .ksize = 4,
4884 .plaintext = "what do ya want for nothing?",
4885 .psize = 28,
4886 .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
4887 "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
4888 "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
4889 "\x10\x27\x0c\xd7\xea\x25\x05\x54"
4890 "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
4891 "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
4892 "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
4893 "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
4894 .np = 4,
4895 .tap = { 7, 7, 7, 7 }
4896 }, {
4897 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4898 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4899 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4900 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4901 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4902 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4903 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4904 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4905 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4906 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4907 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4908 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4909 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4910 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4911 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4912 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4913 "\xaa\xaa\xaa",
4914 .ksize = 131,
4915 .plaintext = "Test Using Large"
4916 "r Than Block-Siz"
4917 "e Key - Hash Key"
4918 " First",
4919 .psize = 54,
4920 .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
4921 "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
4922 "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
4923 "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
4924 "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
4925 "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
4926 "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
4927 "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
4928 }, {
4929 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4930 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4931 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4932 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4933 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4934 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4935 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4936 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4937 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4938 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4939 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4940 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4941 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4942 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4943 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4944 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4945 "\xaa\xaa\xaa",
4946 .ksize = 131,
4947 .plaintext =
4948 "This is a test u"
4949 "sing a larger th"
4950 "an block-size ke"
4951 "y and a larger t"
4952 "han block-size d"
4953 "ata. The key nee"
4954 "ds to be hashed "
4955 "before being use"
4956 "d by the HMAC al"
4957 "gorithm.",
4958 .psize = 152,
4959 .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
4960 "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
4961 "\xde\xbd\x71\xf8\x86\x72\x89\x86"
4962 "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
4963 "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
4964 "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
4965 "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
4966 "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
4970 static const struct hash_testvec hmac_sha3_224_tv_template[] = {
4972 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4973 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4974 "\x0b\x0b\x0b\x0b",
4975 .ksize = 20,
4976 .plaintext = "Hi There",
4977 .psize = 8,
4978 .digest = "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
4979 "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
4980 "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
4981 "\xf3\xc8\x60\xf7",
4982 }, {
4983 .key = "Jefe",
4984 .ksize = 4,
4985 .plaintext = "what do ya want for nothing?",
4986 .psize = 28,
4987 .digest = "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
4988 "\x1b\x79\x86\x34\xad\x38\x68\x11"
4989 "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
4990 "\xba\xce\x5e\x66",
4991 .np = 4,
4992 .tap = { 7, 7, 7, 7 }
4993 }, {
4994 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4995 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4996 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4997 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4998 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4999 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5000 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5001 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5002 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5003 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5004 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5005 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5006 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5007 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5008 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5009 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5010 "\xaa\xaa\xaa",
5011 .ksize = 131,
5012 .plaintext = "Test Using Large"
5013 "r Than Block-Siz"
5014 "e Key - Hash Key"
5015 " First",
5016 .psize = 54,
5017 .digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
5018 "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
5019 "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
5020 "\x5f\xb9\x99\x5f",
5021 }, {
5022 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5023 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5024 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5025 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5026 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5027 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5028 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5029 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5030 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5031 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5032 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5033 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5034 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5035 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5036 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5037 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5038 "\xaa\xaa\xaa",
5039 .ksize = 131,
5040 .plaintext =
5041 "This is a test u"
5042 "sing a larger th"
5043 "an block-size ke"
5044 "y and a larger t"
5045 "han block-size d"
5046 "ata. The key nee"
5047 "ds to be hashed "
5048 "before being use"
5049 "d by the HMAC al"
5050 "gorithm.",
5051 .psize = 152,
5052 .digest = "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
5053 "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
5054 "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
5055 "\x29\xcd\x62\xa0",
5059 static const struct hash_testvec hmac_sha3_256_tv_template[] = {
5061 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5062 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5063 "\x0b\x0b\x0b\x0b",
5064 .ksize = 20,
5065 .plaintext = "Hi There",
5066 .psize = 8,
5067 .digest = "\xba\x85\x19\x23\x10\xdf\xfa\x96"
5068 "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
5069 "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
5070 "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
5071 }, {
5072 .key = "Jefe",
5073 .ksize = 4,
5074 .plaintext = "what do ya want for nothing?",
5075 .psize = 28,
5076 .digest = "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
5077 "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
5078 "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
5079 "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
5080 .np = 4,
5081 .tap = { 7, 7, 7, 7 }
5082 }, {
5083 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5084 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5085 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5086 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5087 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5088 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5089 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5090 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5091 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5092 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5093 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5094 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5095 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5096 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5097 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5098 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5099 "\xaa\xaa\xaa",
5100 .ksize = 131,
5101 .plaintext = "Test Using Large"
5102 "r Than Block-Siz"
5103 "e Key - Hash Key"
5104 " First",
5105 .psize = 54,
5106 .digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
5107 "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
5108 "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
5109 "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
5110 }, {
5111 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5112 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5113 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5114 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5115 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5116 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5117 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5118 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5119 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5120 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5121 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5122 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5123 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5124 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5125 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5126 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5127 "\xaa\xaa\xaa",
5128 .ksize = 131,
5129 .plaintext =
5130 "This is a test u"
5131 "sing a larger th"
5132 "an block-size ke"
5133 "y and a larger t"
5134 "han block-size d"
5135 "ata. The key nee"
5136 "ds to be hashed "
5137 "before being use"
5138 "d by the HMAC al"
5139 "gorithm.",
5140 .psize = 152,
5141 .digest = "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
5142 "\x7a\xef\x87\x63\x26\x1e\x49\xad"
5143 "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
5144 "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
5148 static const struct hash_testvec hmac_sha3_384_tv_template[] = {
5150 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5151 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5152 "\x0b\x0b\x0b\x0b",
5153 .ksize = 20,
5154 .plaintext = "Hi There",
5155 .psize = 8,
5156 .digest = "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
5157 "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
5158 "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
5159 "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
5160 "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
5161 "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
5162 }, {
5163 .key = "Jefe",
5164 .ksize = 4,
5165 .plaintext = "what do ya want for nothing?",
5166 .psize = 28,
5167 .digest = "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
5168 "\x67\x64\xd2\xed\x61\x90\x3f\x21"
5169 "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
5170 "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
5171 "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
5172 "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
5173 .np = 4,
5174 .tap = { 7, 7, 7, 7 }
5175 }, {
5176 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5177 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5178 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5179 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5180 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5181 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5182 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5183 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5184 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5185 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5186 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5187 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5188 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5189 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5190 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5191 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5192 "\xaa\xaa\xaa",
5193 .ksize = 131,
5194 .plaintext = "Test Using Large"
5195 "r Than Block-Siz"
5196 "e Key - Hash Key"
5197 " First",
5198 .psize = 54,
5199 .digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
5200 "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
5201 "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
5202 "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
5203 "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
5204 "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
5205 }, {
5206 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5207 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5208 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5209 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5210 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5211 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5212 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5213 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5214 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5215 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5216 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5217 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5218 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5219 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5220 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5221 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5222 "\xaa\xaa\xaa",
5223 .ksize = 131,
5224 .plaintext =
5225 "This is a test u"
5226 "sing a larger th"
5227 "an block-size ke"
5228 "y and a larger t"
5229 "han block-size d"
5230 "ata. The key nee"
5231 "ds to be hashed "
5232 "before being use"
5233 "d by the HMAC al"
5234 "gorithm.",
5235 .psize = 152,
5236 .digest = "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
5237 "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
5238 "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
5239 "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
5240 "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
5241 "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
5245 static const struct hash_testvec hmac_sha3_512_tv_template[] = {
5247 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5248 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
5249 "\x0b\x0b\x0b\x0b",
5250 .ksize = 20,
5251 .plaintext = "Hi There",
5252 .psize = 8,
5253 .digest = "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
5254 "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
5255 "\xec\x15\x77\x0a\x7c\xab\xac\x53"
5256 "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
5257 "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
5258 "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
5259 "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
5260 "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
5261 }, {
5262 .key = "Jefe",
5263 .ksize = 4,
5264 .plaintext = "what do ya want for nothing?",
5265 .psize = 28,
5266 .digest = "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
5267 "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
5268 "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
5269 "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
5270 "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
5271 "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
5272 "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
5273 "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
5274 .np = 4,
5275 .tap = { 7, 7, 7, 7 }
5276 }, {
5277 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5278 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5279 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5280 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5281 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5282 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5283 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5284 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5285 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5286 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5287 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5288 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5289 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5290 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5291 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5292 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5293 "\xaa\xaa\xaa",
5294 .ksize = 131,
5295 .plaintext = "Test Using Large"
5296 "r Than Block-Siz"
5297 "e Key - Hash Key"
5298 " First",
5299 .psize = 54,
5300 .digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
5301 "\x90\xed\x69\x11\xa4\xb6\x55\x24"
5302 "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
5303 "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
5304 "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
5305 "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
5306 "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
5307 "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
5308 }, {
5309 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5310 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5311 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5312 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5313 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5314 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5315 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5316 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5317 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5318 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5319 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5320 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5321 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5322 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5323 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5324 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
5325 "\xaa\xaa\xaa",
5326 .ksize = 131,
5327 .plaintext =
5328 "This is a test u"
5329 "sing a larger th"
5330 "an block-size ke"
5331 "y and a larger t"
5332 "han block-size d"
5333 "ata. The key nee"
5334 "ds to be hashed "
5335 "before being use"
5336 "d by the HMAC al"
5337 "gorithm.",
5338 .psize = 152,
5339 .digest = "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
5340 "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
5341 "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
5342 "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
5343 "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
5344 "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
5345 "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
5346 "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
5351 * Poly1305 test vectors from RFC7539 A.3.
5354 static const struct hash_testvec poly1305_tv_template[] = {
5355 { /* Test Vector #1 */
5356 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
5357 "\x00\x00\x00\x00\x00\x00\x00\x00"
5358 "\x00\x00\x00\x00\x00\x00\x00\x00"
5359 "\x00\x00\x00\x00\x00\x00\x00\x00"
5360 "\x00\x00\x00\x00\x00\x00\x00\x00"
5361 "\x00\x00\x00\x00\x00\x00\x00\x00"
5362 "\x00\x00\x00\x00\x00\x00\x00\x00"
5363 "\x00\x00\x00\x00\x00\x00\x00\x00"
5364 "\x00\x00\x00\x00\x00\x00\x00\x00"
5365 "\x00\x00\x00\x00\x00\x00\x00\x00"
5366 "\x00\x00\x00\x00\x00\x00\x00\x00"
5367 "\x00\x00\x00\x00\x00\x00\x00\x00",
5368 .psize = 96,
5369 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
5370 "\x00\x00\x00\x00\x00\x00\x00\x00",
5371 }, { /* Test Vector #2 */
5372 .plaintext = "\x00\x00\x00\x00\x00\x00\x00\x00"
5373 "\x00\x00\x00\x00\x00\x00\x00\x00"
5374 "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
5375 "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
5376 "\x41\x6e\x79\x20\x73\x75\x62\x6d"
5377 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
5378 "\x6f\x20\x74\x68\x65\x20\x49\x45"
5379 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
5380 "\x64\x65\x64\x20\x62\x79\x20\x74"
5381 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
5382 "\x69\x62\x75\x74\x6f\x72\x20\x66"
5383 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
5384 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
5385 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
5386 "\x20\x70\x61\x72\x74\x20\x6f\x66"
5387 "\x20\x61\x6e\x20\x49\x45\x54\x46"
5388 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
5389 "\x74\x2d\x44\x72\x61\x66\x74\x20"
5390 "\x6f\x72\x20\x52\x46\x43\x20\x61"
5391 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
5392 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
5393 "\x20\x6d\x61\x64\x65\x20\x77\x69"
5394 "\x74\x68\x69\x6e\x20\x74\x68\x65"
5395 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
5396 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
5397 "\x45\x54\x46\x20\x61\x63\x74\x69"
5398 "\x76\x69\x74\x79\x20\x69\x73\x20"
5399 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
5400 "\x65\x64\x20\x61\x6e\x20\x22\x49"
5401 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
5402 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
5403 "\x22\x2e\x20\x53\x75\x63\x68\x20"
5404 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
5405 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
5406 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
5407 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
5408 "\x74\x73\x20\x69\x6e\x20\x49\x45"
5409 "\x54\x46\x20\x73\x65\x73\x73\x69"
5410 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
5411 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
5412 "\x77\x72\x69\x74\x74\x65\x6e\x20"
5413 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
5414 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
5415 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
5416 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
5417 "\x64\x65\x20\x61\x74\x20\x61\x6e"
5418 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
5419 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
5420 "\x20\x77\x68\x69\x63\x68\x20\x61"
5421 "\x72\x65\x20\x61\x64\x64\x72\x65"
5422 "\x73\x73\x65\x64\x20\x74\x6f",
5423 .psize = 407,
5424 .digest = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
5425 "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
5426 }, { /* Test Vector #3 */
5427 .plaintext = "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
5428 "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
5429 "\x00\x00\x00\x00\x00\x00\x00\x00"
5430 "\x00\x00\x00\x00\x00\x00\x00\x00"
5431 "\x41\x6e\x79\x20\x73\x75\x62\x6d"
5432 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
5433 "\x6f\x20\x74\x68\x65\x20\x49\x45"
5434 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
5435 "\x64\x65\x64\x20\x62\x79\x20\x74"
5436 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
5437 "\x69\x62\x75\x74\x6f\x72\x20\x66"
5438 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
5439 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
5440 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
5441 "\x20\x70\x61\x72\x74\x20\x6f\x66"
5442 "\x20\x61\x6e\x20\x49\x45\x54\x46"
5443 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
5444 "\x74\x2d\x44\x72\x61\x66\x74\x20"
5445 "\x6f\x72\x20\x52\x46\x43\x20\x61"
5446 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
5447 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
5448 "\x20\x6d\x61\x64\x65\x20\x77\x69"
5449 "\x74\x68\x69\x6e\x20\x74\x68\x65"
5450 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
5451 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
5452 "\x45\x54\x46\x20\x61\x63\x74\x69"
5453 "\x76\x69\x74\x79\x20\x69\x73\x20"
5454 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
5455 "\x65\x64\x20\x61\x6e\x20\x22\x49"
5456 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
5457 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
5458 "\x22\x2e\x20\x53\x75\x63\x68\x20"
5459 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
5460 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
5461 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
5462 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
5463 "\x74\x73\x20\x69\x6e\x20\x49\x45"
5464 "\x54\x46\x20\x73\x65\x73\x73\x69"
5465 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
5466 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
5467 "\x77\x72\x69\x74\x74\x65\x6e\x20"
5468 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
5469 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
5470 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
5471 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
5472 "\x64\x65\x20\x61\x74\x20\x61\x6e"
5473 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
5474 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
5475 "\x20\x77\x68\x69\x63\x68\x20\x61"
5476 "\x72\x65\x20\x61\x64\x64\x72\x65"
5477 "\x73\x73\x65\x64\x20\x74\x6f",
5478 .psize = 407,
5479 .digest = "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
5480 "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
5481 }, { /* Test Vector #4 */
5482 .plaintext = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
5483 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
5484 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
5485 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
5486 "\x27\x54\x77\x61\x73\x20\x62\x72"
5487 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
5488 "\x6e\x64\x20\x74\x68\x65\x20\x73"
5489 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
5490 "\x76\x65\x73\x0a\x44\x69\x64\x20"
5491 "\x67\x79\x72\x65\x20\x61\x6e\x64"
5492 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
5493 "\x69\x6e\x20\x74\x68\x65\x20\x77"
5494 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
5495 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
5496 "\x65\x72\x65\x20\x74\x68\x65\x20"
5497 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
5498 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
5499 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
5500 "\x72\x61\x74\x68\x73\x20\x6f\x75"
5501 "\x74\x67\x72\x61\x62\x65\x2e",
5502 .psize = 159,
5503 .digest = "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
5504 "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
5505 }, { /* Test Vector #5 */
5506 .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
5507 "\x00\x00\x00\x00\x00\x00\x00\x00"
5508 "\x00\x00\x00\x00\x00\x00\x00\x00"
5509 "\x00\x00\x00\x00\x00\x00\x00\x00"
5510 "\xff\xff\xff\xff\xff\xff\xff\xff"
5511 "\xff\xff\xff\xff\xff\xff\xff\xff",
5512 .psize = 48,
5513 .digest = "\x03\x00\x00\x00\x00\x00\x00\x00"
5514 "\x00\x00\x00\x00\x00\x00\x00\x00",
5515 }, { /* Test Vector #6 */
5516 .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
5517 "\x00\x00\x00\x00\x00\x00\x00\x00"
5518 "\xff\xff\xff\xff\xff\xff\xff\xff"
5519 "\xff\xff\xff\xff\xff\xff\xff\xff"
5520 "\x02\x00\x00\x00\x00\x00\x00\x00"
5521 "\x00\x00\x00\x00\x00\x00\x00\x00",
5522 .psize = 48,
5523 .digest = "\x03\x00\x00\x00\x00\x00\x00\x00"
5524 "\x00\x00\x00\x00\x00\x00\x00\x00",
5525 }, { /* Test Vector #7 */
5526 .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
5527 "\x00\x00\x00\x00\x00\x00\x00\x00"
5528 "\x00\x00\x00\x00\x00\x00\x00\x00"
5529 "\x00\x00\x00\x00\x00\x00\x00\x00"
5530 "\xff\xff\xff\xff\xff\xff\xff\xff"
5531 "\xff\xff\xff\xff\xff\xff\xff\xff"
5532 "\xf0\xff\xff\xff\xff\xff\xff\xff"
5533 "\xff\xff\xff\xff\xff\xff\xff\xff"
5534 "\x11\x00\x00\x00\x00\x00\x00\x00"
5535 "\x00\x00\x00\x00\x00\x00\x00\x00",
5536 .psize = 80,
5537 .digest = "\x05\x00\x00\x00\x00\x00\x00\x00"
5538 "\x00\x00\x00\x00\x00\x00\x00\x00",
5539 }, { /* Test Vector #8 */
5540 .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
5541 "\x00\x00\x00\x00\x00\x00\x00\x00"
5542 "\x00\x00\x00\x00\x00\x00\x00\x00"
5543 "\x00\x00\x00\x00\x00\x00\x00\x00"
5544 "\xff\xff\xff\xff\xff\xff\xff\xff"
5545 "\xff\xff\xff\xff\xff\xff\xff\xff"
5546 "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
5547 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
5548 "\x01\x01\x01\x01\x01\x01\x01\x01"
5549 "\x01\x01\x01\x01\x01\x01\x01\x01",
5550 .psize = 80,
5551 .digest = "\x00\x00\x00\x00\x00\x00\x00\x00"
5552 "\x00\x00\x00\x00\x00\x00\x00\x00",
5553 }, { /* Test Vector #9 */
5554 .plaintext = "\x02\x00\x00\x00\x00\x00\x00\x00"
5555 "\x00\x00\x00\x00\x00\x00\x00\x00"
5556 "\x00\x00\x00\x00\x00\x00\x00\x00"
5557 "\x00\x00\x00\x00\x00\x00\x00\x00"
5558 "\xfd\xff\xff\xff\xff\xff\xff\xff"
5559 "\xff\xff\xff\xff\xff\xff\xff\xff",
5560 .psize = 48,
5561 .digest = "\xfa\xff\xff\xff\xff\xff\xff\xff"
5562 "\xff\xff\xff\xff\xff\xff\xff\xff",
5563 }, { /* Test Vector #10 */
5564 .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
5565 "\x04\x00\x00\x00\x00\x00\x00\x00"
5566 "\x00\x00\x00\x00\x00\x00\x00\x00"
5567 "\x00\x00\x00\x00\x00\x00\x00\x00"
5568 "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
5569 "\x00\x00\x00\x00\x00\x00\x00\x00"
5570 "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
5571 "\x01\x00\x00\x00\x00\x00\x00\x00"
5572 "\x00\x00\x00\x00\x00\x00\x00\x00"
5573 "\x00\x00\x00\x00\x00\x00\x00\x00"
5574 "\x01\x00\x00\x00\x00\x00\x00\x00"
5575 "\x00\x00\x00\x00\x00\x00\x00\x00",
5576 .psize = 96,
5577 .digest = "\x14\x00\x00\x00\x00\x00\x00\x00"
5578 "\x55\x00\x00\x00\x00\x00\x00\x00",
5579 }, { /* Test Vector #11 */
5580 .plaintext = "\x01\x00\x00\x00\x00\x00\x00\x00"
5581 "\x04\x00\x00\x00\x00\x00\x00\x00"
5582 "\x00\x00\x00\x00\x00\x00\x00\x00"
5583 "\x00\x00\x00\x00\x00\x00\x00\x00"
5584 "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
5585 "\x00\x00\x00\x00\x00\x00\x00\x00"
5586 "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
5587 "\x01\x00\x00\x00\x00\x00\x00\x00"
5588 "\x00\x00\x00\x00\x00\x00\x00\x00"
5589 "\x00\x00\x00\x00\x00\x00\x00\x00",
5590 .psize = 80,
5591 .digest = "\x13\x00\x00\x00\x00\x00\x00\x00"
5592 "\x00\x00\x00\x00\x00\x00\x00\x00",
5597 * DES test vectors.
5599 static const struct cipher_testvec des_tv_template[] = {
5600 { /* From Applied Cryptography */
5601 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5602 .klen = 8,
5603 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
5604 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
5605 .len = 8,
5606 }, { /* Same key, different plaintext block */
5607 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5608 .klen = 8,
5609 .ptext = "\x22\x33\x44\x55\x66\x77\x88\x99",
5610 .ctext = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
5611 .len = 8,
5612 }, { /* Sbox test from NBS */
5613 .key = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
5614 .klen = 8,
5615 .ptext = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
5616 .ctext = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
5617 .len = 8,
5618 }, { /* Three blocks */
5619 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5620 .klen = 8,
5621 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5622 "\x22\x33\x44\x55\x66\x77\x88\x99"
5623 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
5624 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5625 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
5626 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
5627 .len = 24,
5628 }, { /* Weak key */
5629 .fail = true,
5630 .wk = 1,
5631 .key = "\x01\x01\x01\x01\x01\x01\x01\x01",
5632 .klen = 8,
5633 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
5634 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
5635 .len = 8,
5636 }, { /* Two blocks -- for testing encryption across pages */
5637 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5638 .klen = 8,
5639 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5640 "\x22\x33\x44\x55\x66\x77\x88\x99",
5641 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5642 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
5643 .len = 16,
5644 .np = 2,
5645 .tap = { 8, 8 }
5646 }, {
5647 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5648 .klen = 8,
5649 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5650 "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
5651 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5652 "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
5653 .len = 16,
5654 .np = 2,
5655 .tap = { 8, 8 }
5656 }, {
5657 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5658 .klen = 8,
5659 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5660 "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
5661 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5662 "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
5663 .len = 16,
5664 .np = 3,
5665 .tap = { 3, 12, 1 }
5666 }, { /* Four blocks -- for testing encryption with chunking */
5667 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5668 .klen = 8,
5669 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5670 "\x22\x33\x44\x55\x66\x77\x88\x99"
5671 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
5672 "\x22\x33\x44\x55\x66\x77\x88\x99",
5673 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5674 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
5675 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
5676 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
5677 .len = 32,
5678 .np = 3,
5679 .tap = { 14, 10, 8 }
5680 }, {
5681 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5682 .klen = 8,
5683 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5684 "\x22\x33\x44\x55\x66\x77\x88\x99"
5685 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
5686 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5687 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
5688 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
5689 .len = 24,
5690 .np = 4,
5691 .tap = { 2, 1, 3, 18 }
5692 }, {
5693 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5694 .klen = 8,
5695 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
5696 "\x22\x33\x44\x55\x66\x77\x88\x99",
5697 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
5698 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
5699 .len = 16,
5700 .np = 5,
5701 .tap = { 2, 2, 2, 2, 8 }
5702 }, {
5703 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5704 .klen = 8,
5705 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
5706 .ctext = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
5707 .len = 8,
5708 .np = 8,
5709 .tap = { 1, 1, 1, 1, 1, 1, 1, 1 }
5710 }, { /* Generated with Crypto++ */
5711 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5712 .klen = 8,
5713 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5714 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5715 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5716 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5717 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5718 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5719 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5720 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5721 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5722 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5723 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5724 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5725 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5726 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5727 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5728 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5729 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5730 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5731 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5732 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5733 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5734 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5735 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5736 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5737 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5738 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5739 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5740 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5741 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5742 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5743 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5744 .ctext = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
5745 "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
5746 "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
5747 "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
5748 "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
5749 "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
5750 "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
5751 "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
5752 "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
5753 "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
5754 "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
5755 "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
5756 "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
5757 "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
5758 "\x2E\x51\x16\xCA\x09\x89\x54\x62"
5759 "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
5760 "\x62\xF0\x02\x58\x83\xAF\x30\x87"
5761 "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
5762 "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
5763 "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
5764 "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
5765 "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
5766 "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
5767 "\xE9\x95\x61\x74\x12\xED\x07\xD7"
5768 "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
5769 "\x51\x96\x16\xF7\x94\x61\xB8\x87"
5770 "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
5771 "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
5772 "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
5773 "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
5774 "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
5775 .len = 248,
5776 .also_non_np = 1,
5777 .np = 3,
5778 .tap = { 248 - 10, 2, 8 },
5782 static const struct cipher_testvec des_cbc_tv_template[] = {
5783 { /* From OpenSSL */
5784 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5785 .klen = 8,
5786 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5787 .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
5788 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
5789 "\x68\x65\x20\x74\x69\x6d\x65\x20",
5790 .ctext = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
5791 "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
5792 "\x46\x8e\x91\x15\x78\x88\xba\x68",
5793 .len = 24,
5794 }, { /* FIPS Pub 81 */
5795 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5796 .klen = 8,
5797 .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef",
5798 .ptext = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
5799 .ctext = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
5800 .len = 8,
5801 }, {
5802 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5803 .klen = 8,
5804 .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
5805 .ptext = "\x68\x65\x20\x74\x69\x6d\x65\x20",
5806 .ctext = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5807 .len = 8,
5808 }, {
5809 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5810 .klen = 8,
5811 .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5812 .ptext = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
5813 .ctext = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
5814 .len = 8,
5815 .np = 2,
5816 .tap = { 4, 4 },
5817 .also_non_np = 1,
5818 }, { /* Copy of openssl vector for chunk testing */
5819 /* From OpenSSL */
5820 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
5821 .klen = 8,
5822 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5823 .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
5824 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
5825 "\x68\x65\x20\x74\x69\x6d\x65\x20",
5826 .ctext = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
5827 "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
5828 "\x46\x8e\x91\x15\x78\x88\xba\x68",
5829 .len = 24,
5830 .np = 2,
5831 .tap = { 13, 11 }
5832 }, { /* Generated with Crypto++ */
5833 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5834 .klen = 8,
5835 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5836 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5837 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5838 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5839 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5840 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5841 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5842 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5843 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5844 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5845 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5846 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5847 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5848 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5849 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5850 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5851 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5852 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5853 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5854 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5855 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5856 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5857 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5858 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5859 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5860 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5861 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5862 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5863 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5864 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5865 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5866 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5867 .ctext = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
5868 "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
5869 "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
5870 "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
5871 "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
5872 "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
5873 "\x81\x72\x74\xDE\x30\x19\x69\x49"
5874 "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
5875 "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
5876 "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
5877 "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
5878 "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
5879 "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
5880 "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
5881 "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
5882 "\x49\x90\x88\x6A\x09\x8F\x76\x59"
5883 "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
5884 "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
5885 "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
5886 "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
5887 "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
5888 "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
5889 "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
5890 "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
5891 "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
5892 "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
5893 "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
5894 "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
5895 "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
5896 "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
5897 "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
5898 .len = 248,
5899 .also_non_np = 1,
5900 .np = 3,
5901 .tap = { 248 - 10, 2, 8 },
5905 static const struct cipher_testvec des_ctr_tv_template[] = {
5906 { /* Generated with Crypto++ */
5907 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5908 .klen = 8,
5909 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5910 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5911 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5912 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5913 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5914 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5915 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5916 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5917 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5918 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5919 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5920 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5921 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5922 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5923 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5924 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5925 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5926 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5927 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5928 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5929 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5930 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5931 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5932 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5933 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5934 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5935 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5936 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5937 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5938 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5939 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5940 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5941 .ctext = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
5942 "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
5943 "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
5944 "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
5945 "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
5946 "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
5947 "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
5948 "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
5949 "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
5950 "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
5951 "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
5952 "\xBE\x4C\x91\x43\x22\x65\x72\x48"
5953 "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
5954 "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
5955 "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
5956 "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
5957 "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
5958 "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
5959 "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
5960 "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
5961 "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
5962 "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
5963 "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
5964 "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
5965 "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
5966 "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
5967 "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
5968 "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
5969 "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
5970 "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
5971 "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
5972 .len = 248,
5973 .also_non_np = 1,
5974 .np = 3,
5975 .tap = { 248 - 10, 2, 8 },
5976 }, { /* Generated with Crypto++ */
5977 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5978 .klen = 8,
5979 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5980 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5981 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5982 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5983 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5984 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5985 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5986 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5987 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5988 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5989 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5990 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5991 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5992 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5993 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5994 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5995 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5996 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5997 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5998 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5999 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
6000 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
6001 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
6002 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
6003 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
6004 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
6005 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
6006 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
6007 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
6008 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
6009 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
6010 "\xC6\x2F\xBB\x24\x8D\x19\x82",
6011 .ctext = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
6012 "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
6013 "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
6014 "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
6015 "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
6016 "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
6017 "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
6018 "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
6019 "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
6020 "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
6021 "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
6022 "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
6023 "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
6024 "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
6025 "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
6026 "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
6027 "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
6028 "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
6029 "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
6030 "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
6031 "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
6032 "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
6033 "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
6034 "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
6035 "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
6036 "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
6037 "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
6038 "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
6039 "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
6040 "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
6041 "\x91\x45\x05\x3E\x58\xBF\x32",
6042 .len = 247,
6043 .also_non_np = 1,
6044 .np = 2,
6045 .tap = { 247 - 8, 8 },
6049 static const struct cipher_testvec des3_ede_tv_template[] = {
6050 { /* These are from openssl */
6051 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
6052 "\x55\x55\x55\x55\x55\x55\x55\x55"
6053 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6054 .klen = 24,
6055 .ptext = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
6056 .ctext = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
6057 .len = 8,
6058 }, {
6059 .key = "\x03\x52\x02\x07\x67\x20\x82\x17"
6060 "\x86\x02\x87\x66\x59\x08\x21\x98"
6061 "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
6062 .klen = 24,
6063 .ptext = "\x73\x71\x75\x69\x67\x67\x6c\x65",
6064 .ctext = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
6065 .len = 8,
6066 }, {
6067 .key = "\x10\x46\x10\x34\x89\x98\x80\x20"
6068 "\x91\x07\xd0\x15\x89\x19\x01\x01"
6069 "\x19\x07\x92\x10\x98\x1a\x01\x01",
6070 .klen = 24,
6071 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
6072 .ctext = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
6073 .len = 8,
6074 }, { /* Generated with Crypto++ */
6075 .key = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
6076 "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
6077 "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
6078 .klen = 24,
6079 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6080 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6081 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6082 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6083 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6084 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6085 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6086 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6087 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6088 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6089 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6090 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6091 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6092 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6093 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6094 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6095 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6096 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6097 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6098 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6099 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6100 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6101 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6102 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6103 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6104 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6105 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6106 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6107 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6108 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6109 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6110 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6111 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6112 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6113 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6114 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6115 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6116 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6117 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6118 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6119 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6120 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6121 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6122 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6123 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6124 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6125 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6126 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6127 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6128 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6129 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6130 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6131 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6132 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6133 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6134 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6135 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6136 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6137 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6138 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6139 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6140 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6141 .ctext = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
6142 "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
6143 "\x81\x01\x04\x00\x76\xFA\xED\xD3"
6144 "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
6145 "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
6146 "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
6147 "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
6148 "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
6149 "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
6150 "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
6151 "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
6152 "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
6153 "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
6154 "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
6155 "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
6156 "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
6157 "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
6158 "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
6159 "\x45\x86\x50\x01\x70\x35\x99\x92"
6160 "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
6161 "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
6162 "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
6163 "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
6164 "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
6165 "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
6166 "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
6167 "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
6168 "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
6169 "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
6170 "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
6171 "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
6172 "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
6173 "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
6174 "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
6175 "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
6176 "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
6177 "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
6178 "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
6179 "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
6180 "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
6181 "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
6182 "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
6183 "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
6184 "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
6185 "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
6186 "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
6187 "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
6188 "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
6189 "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
6190 "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
6191 "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
6192 "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
6193 "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
6194 "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
6195 "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
6196 "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
6197 "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
6198 "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
6199 "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
6200 "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
6201 "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
6202 "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
6203 .len = 496,
6204 .also_non_np = 1,
6205 .np = 3,
6206 .tap = { 496 - 20, 4, 16 },
6210 static const struct cipher_testvec des3_ede_cbc_tv_template[] = {
6211 { /* Generated from openssl */
6212 .key = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
6213 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
6214 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
6215 .klen = 24,
6216 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
6217 .ptext = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
6218 "\x53\x20\x63\x65\x65\x72\x73\x74"
6219 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
6220 "\x20\x79\x65\x53\x72\x63\x74\x65"
6221 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
6222 "\x79\x6e\x53\x20\x63\x65\x65\x72"
6223 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
6224 "\x6e\x61\x20\x79\x65\x53\x72\x63"
6225 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
6226 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
6227 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
6228 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
6229 "\x72\x63\x74\x65\x20\x73\x6f\x54"
6230 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
6231 "\x63\x65\x65\x72\x73\x74\x54\x20"
6232 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
6233 .ctext = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
6234 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
6235 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
6236 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
6237 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
6238 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
6239 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
6240 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
6241 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
6242 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
6243 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
6244 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
6245 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
6246 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
6247 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
6248 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
6249 .len = 128,
6250 }, { /* Generated with Crypto++ */
6251 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6252 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6253 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6254 .klen = 24,
6255 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6256 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6257 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6258 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6259 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6260 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6261 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6262 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6263 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6264 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6265 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6266 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6267 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6268 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6269 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6270 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6271 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6272 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6273 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6274 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6275 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6276 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6277 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6278 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6279 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6280 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6281 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6282 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6283 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6284 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6285 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6286 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6287 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6288 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6289 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6290 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6291 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6292 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6293 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6294 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6295 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6296 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6297 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6298 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6299 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6300 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6301 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6302 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6303 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6304 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6305 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6306 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6307 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6308 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6309 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6310 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6311 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6312 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6313 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6314 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6315 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6316 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6317 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6318 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6319 .ctext = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
6320 "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
6321 "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
6322 "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
6323 "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
6324 "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
6325 "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
6326 "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
6327 "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
6328 "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
6329 "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
6330 "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
6331 "\x11\x35\x61\x94\x88\x7B\x1C\x48"
6332 "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
6333 "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
6334 "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
6335 "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
6336 "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
6337 "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
6338 "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
6339 "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
6340 "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
6341 "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
6342 "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
6343 "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
6344 "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
6345 "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
6346 "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
6347 "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
6348 "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
6349 "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
6350 "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
6351 "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
6352 "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
6353 "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
6354 "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
6355 "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
6356 "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
6357 "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
6358 "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
6359 "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
6360 "\x73\x50\x08\x56\x20\x9B\x94\x23"
6361 "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
6362 "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
6363 "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
6364 "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
6365 "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
6366 "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
6367 "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
6368 "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
6369 "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
6370 "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
6371 "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
6372 "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
6373 "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
6374 "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
6375 "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
6376 "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
6377 "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
6378 "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
6379 "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
6380 "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
6381 .len = 496,
6382 .also_non_np = 1,
6383 .np = 3,
6384 .tap = { 496 - 20, 4, 16 },
6388 static const struct cipher_testvec des3_ede_ctr_tv_template[] = {
6389 { /* Generated with Crypto++ */
6390 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6391 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6392 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6393 .klen = 24,
6394 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
6395 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
6396 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6397 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6398 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6399 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6400 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6401 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6402 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6403 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6404 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6405 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6406 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6407 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6408 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6409 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6410 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6411 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6412 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6413 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6414 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6415 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6416 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6417 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6418 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6419 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6420 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6421 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6422 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6423 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6424 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6425 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6426 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6427 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6428 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6429 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6430 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6431 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6432 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6433 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6434 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6435 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6436 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6437 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6438 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6439 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6440 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6441 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6442 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6443 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6444 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6445 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6446 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6447 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6448 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6449 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6450 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6451 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6452 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6453 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6454 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6455 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6456 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6457 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6458 .ctext = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
6459 "\x19\xCD\x6F\x32\x53\x05\x22\x15"
6460 "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
6461 "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
6462 "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
6463 "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
6464 "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
6465 "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
6466 "\x13\x78\xDC\x89\x12\x12\x43\xFA"
6467 "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
6468 "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
6469 "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
6470 "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
6471 "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
6472 "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
6473 "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
6474 "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
6475 "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
6476 "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
6477 "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
6478 "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
6479 "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
6480 "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
6481 "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
6482 "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
6483 "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
6484 "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
6485 "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
6486 "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
6487 "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
6488 "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
6489 "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
6490 "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
6491 "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
6492 "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
6493 "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
6494 "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
6495 "\x83\x37\x4F\x1F\x48\x30\xED\x04"
6496 "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
6497 "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
6498 "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
6499 "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
6500 "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
6501 "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
6502 "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
6503 "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
6504 "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
6505 "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
6506 "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
6507 "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
6508 "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
6509 "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
6510 "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
6511 "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
6512 "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
6513 "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
6514 "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
6515 "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
6516 "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
6517 "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
6518 "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
6519 "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
6520 .len = 496,
6521 .also_non_np = 1,
6522 .np = 3,
6523 .tap = { 496 - 20, 4, 16 },
6524 }, { /* Generated with Crypto++ */
6525 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6526 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6527 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6528 .klen = 24,
6529 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6530 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6531 .ptext = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6532 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6533 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6534 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6535 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6536 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6537 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6538 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6539 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6540 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6541 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6542 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6543 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6544 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6545 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6546 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6547 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6548 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6549 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6550 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6551 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6552 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6553 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6554 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6555 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6556 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6557 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6558 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6559 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6560 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6561 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6562 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6563 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6564 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6565 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6566 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6567 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6568 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6569 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6570 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6571 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6572 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6573 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6574 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6575 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6576 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6577 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6578 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6579 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6580 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6581 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6582 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6583 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6584 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6585 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6586 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6587 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6588 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6589 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6590 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6591 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6592 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
6593 "\x2E\xB1\x18",
6594 .ctext = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
6595 "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
6596 "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
6597 "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
6598 "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
6599 "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
6600 "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
6601 "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
6602 "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
6603 "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
6604 "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
6605 "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
6606 "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
6607 "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
6608 "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
6609 "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
6610 "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
6611 "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
6612 "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
6613 "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
6614 "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
6615 "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
6616 "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
6617 "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
6618 "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
6619 "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
6620 "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
6621 "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
6622 "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
6623 "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
6624 "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
6625 "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
6626 "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
6627 "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
6628 "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
6629 "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
6630 "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
6631 "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
6632 "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
6633 "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
6634 "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
6635 "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
6636 "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
6637 "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
6638 "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
6639 "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
6640 "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
6641 "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
6642 "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
6643 "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
6644 "\x8A\x19\x08\xE1\x08\x48\x59\x51"
6645 "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
6646 "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
6647 "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
6648 "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
6649 "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
6650 "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
6651 "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
6652 "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
6653 "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
6654 "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
6655 "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
6656 "\xF2\x79\xD9",
6657 .len = 499,
6658 .also_non_np = 1,
6659 .np = 2,
6660 .tap = { 499 - 16, 16 },
6665 * Blowfish test vectors.
6667 static const struct cipher_testvec bf_tv_template[] = {
6668 { /* DES test vectors from OpenSSL */
6669 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
6670 .klen = 8,
6671 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
6672 .ctext = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
6673 .len = 8,
6674 }, {
6675 .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
6676 .klen = 8,
6677 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
6678 .ctext = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
6679 .len = 8,
6680 }, {
6681 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
6682 .klen = 8,
6683 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6684 .ctext = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
6685 .len = 8,
6686 }, { /* Vary the keylength... */
6687 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6688 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
6689 .klen = 16,
6690 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6691 .ctext = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
6692 .len = 8,
6693 }, {
6694 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6695 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6696 "\x00\x11\x22\x33\x44",
6697 .klen = 21,
6698 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6699 .ctext = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
6700 .len = 8,
6701 }, { /* Generated with bf488 */
6702 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6703 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6704 "\x00\x11\x22\x33\x44\x55\x66\x77"
6705 "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
6706 "\x58\x40\x23\x64\x1a\xba\x61\x76"
6707 "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
6708 "\xff\xff\xff\xff\xff\xff\xff\xff",
6709 .klen = 56,
6710 .ptext = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6711 .ctext = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
6712 .len = 8,
6713 }, { /* Generated with Crypto++ */
6714 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6715 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6716 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6717 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6718 .klen = 32,
6719 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6720 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6721 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6722 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6723 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6724 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6725 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6726 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6727 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6728 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6729 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6730 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6731 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6732 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6733 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6734 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6735 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6736 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6737 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6738 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6739 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6740 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6741 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6742 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6743 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6744 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6745 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6746 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6747 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6748 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6749 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6750 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6751 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6752 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6753 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6754 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6755 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6756 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6757 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6758 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6759 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6760 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6761 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6762 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6763 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6764 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6765 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6766 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6767 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6768 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6769 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6770 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6771 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6772 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6773 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6774 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6775 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6776 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6777 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6778 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6779 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6780 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
6781 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
6782 .ctext = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
6783 "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
6784 "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
6785 "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
6786 "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
6787 "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
6788 "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
6789 "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
6790 "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
6791 "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
6792 "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
6793 "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
6794 "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
6795 "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
6796 "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
6797 "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
6798 "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
6799 "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
6800 "\x47\x82\x98\x23\x33\x36\xBC\x1B"
6801 "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
6802 "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
6803 "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
6804 "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
6805 "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
6806 "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
6807 "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
6808 "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
6809 "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
6810 "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
6811 "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
6812 "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
6813 "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
6814 "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
6815 "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
6816 "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
6817 "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
6818 "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
6819 "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
6820 "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
6821 "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
6822 "\x3E\x42\x14\x49\x88\x51\xBF\x68"
6823 "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
6824 "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
6825 "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
6826 "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
6827 "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
6828 "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
6829 "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
6830 "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
6831 "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
6832 "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
6833 "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
6834 "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
6835 "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
6836 "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
6837 "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
6838 "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
6839 "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
6840 "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
6841 "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
6842 "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
6843 "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
6844 "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
6845 .len = 504,
6846 .also_non_np = 1,
6847 .np = 3,
6848 .tap = { 504 - 10, 2, 8 },
6852 static const struct cipher_testvec bf_cbc_tv_template[] = {
6853 { /* From OpenSSL */
6854 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
6855 "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
6856 .klen = 16,
6857 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6858 .ptext = "\x37\x36\x35\x34\x33\x32\x31\x20"
6859 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
6860 "\x68\x65\x20\x74\x69\x6d\x65\x20"
6861 "\x66\x6f\x72\x20\x00\x00\x00\x00",
6862 .ctext = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
6863 "\x05\xb1\x56\xe2\x74\x03\x97\x93"
6864 "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
6865 "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
6866 .len = 32,
6867 }, { /* Generated with Crypto++ */
6868 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6869 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6870 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6871 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6872 .klen = 32,
6873 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
6874 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6875 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6876 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6877 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6878 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6879 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6880 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6881 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6882 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6883 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6884 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6885 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6886 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6887 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6888 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6889 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6890 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6891 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6892 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6893 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6894 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6895 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6896 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6897 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6898 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6899 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6900 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6901 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6902 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6903 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6904 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6905 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6906 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6907 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6908 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6909 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6910 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6911 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6912 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6913 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6914 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6915 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6916 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6917 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6918 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6919 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6920 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6921 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6922 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6923 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6924 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6925 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6926 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6927 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6928 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6929 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6930 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6931 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6932 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6933 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6934 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6935 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
6936 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
6937 .ctext = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
6938 "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
6939 "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
6940 "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
6941 "\x01\x9C\x93\x63\x51\x60\x82\xD2"
6942 "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
6943 "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
6944 "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
6945 "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
6946 "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
6947 "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
6948 "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
6949 "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
6950 "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
6951 "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
6952 "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
6953 "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
6954 "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
6955 "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
6956 "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
6957 "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
6958 "\x65\xFE\x15\x40\xD0\x62\x41\x02"
6959 "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
6960 "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
6961 "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
6962 "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
6963 "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
6964 "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
6965 "\x04\xF0\x86\x08\x78\x18\x42\xE0"
6966 "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
6967 "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
6968 "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
6969 "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
6970 "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
6971 "\x97\x18\x92\xFF\x15\x11\xCE\xED"
6972 "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
6973 "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
6974 "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
6975 "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
6976 "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
6977 "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
6978 "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
6979 "\x43\x12\x73\x77\xDB\x91\x83\x5B"
6980 "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
6981 "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
6982 "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
6983 "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
6984 "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
6985 "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
6986 "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
6987 "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
6988 "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
6989 "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
6990 "\xC5\xF8\x69\x83\x28\x84\x87\x56"
6991 "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
6992 "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
6993 "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
6994 "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
6995 "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
6996 "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
6997 "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
6998 "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
6999 "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
7000 .len = 504,
7001 .also_non_np = 1,
7002 .np = 3,
7003 .tap = { 504 - 10, 2, 8 },
7007 static const struct cipher_testvec bf_ctr_tv_template[] = {
7008 { /* Generated with Crypto++ */
7009 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7010 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7011 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7012 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7013 .klen = 32,
7014 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7015 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7016 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7017 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7018 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7019 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7020 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7021 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7022 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7023 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7024 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7025 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7026 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7027 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7028 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7029 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7030 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7031 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7032 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7033 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7034 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7035 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7036 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7037 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7038 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7039 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7040 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7041 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7042 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7043 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7044 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7045 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7046 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7047 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7048 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7049 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7050 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7051 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7052 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7053 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7054 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7055 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7056 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7057 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7058 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7059 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7060 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7061 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7062 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7063 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7064 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7065 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7066 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7067 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7068 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7069 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7070 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7071 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7072 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7073 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7074 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7075 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7076 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7077 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7078 .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7079 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7080 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7081 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7082 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7083 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7084 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7085 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7086 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7087 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7088 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7089 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7090 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7091 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7092 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7093 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7094 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7095 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7096 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7097 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7098 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7099 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7100 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7101 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7102 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7103 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7104 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7105 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7106 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7107 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7108 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7109 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7110 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7111 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7112 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7113 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7114 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7115 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7116 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7117 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7118 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7119 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7120 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7121 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7122 "\x82\x63\x11\xB3\x54\x49\x00\x08"
7123 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7124 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7125 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7126 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7127 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7128 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7129 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7130 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7131 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7132 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7133 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7134 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7135 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7136 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7137 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7138 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7139 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7140 "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
7141 .len = 504,
7142 }, { /* Generated with Crypto++ */
7143 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7144 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7145 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7146 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7147 .klen = 32,
7148 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7149 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7150 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7151 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7152 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7153 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7154 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7155 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7156 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7157 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7158 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7159 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7160 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7161 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7162 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7163 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7164 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7165 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7166 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7167 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7168 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7169 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7170 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7171 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7172 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7173 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7174 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7175 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7176 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7177 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7178 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7179 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7180 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7181 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7182 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7183 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7184 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7185 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7186 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7187 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7188 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7189 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7190 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7191 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7192 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7193 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7194 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7195 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7196 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7197 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7198 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7199 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7200 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7201 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7202 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7203 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7204 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7205 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7206 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7207 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7208 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7209 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7210 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7211 "\x2B\xC2\x59\xF0\x64\xFB\x92",
7212 .ctext = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7213 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7214 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7215 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7216 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7217 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7218 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7219 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7220 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7221 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7222 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7223 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7224 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7225 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7226 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7227 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7228 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7229 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7230 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7231 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7232 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7233 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7234 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7235 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7236 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7237 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7238 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7239 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7240 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7241 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7242 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7243 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7244 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7245 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7246 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7247 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7248 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7249 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7250 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7251 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7252 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7253 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7254 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7255 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7256 "\x82\x63\x11\xB3\x54\x49\x00\x08"
7257 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7258 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7259 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7260 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7261 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7262 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7263 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7264 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7265 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7266 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7267 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7268 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7269 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7270 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7271 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7272 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7273 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7274 "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
7275 .len = 503,
7276 .also_non_np = 1,
7277 .np = 2,
7278 .tap = { 503 - 8, 8 },
7279 }, { /* Generated with Crypto++ */
7280 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7281 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7282 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7283 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7284 .klen = 32,
7285 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
7286 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7287 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7288 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7289 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7290 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7291 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7292 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7293 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7294 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7295 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7296 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7297 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7298 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7299 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7300 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7301 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7302 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7303 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7304 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7305 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7306 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7307 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7308 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7309 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7310 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7311 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7312 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7313 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7314 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7315 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7316 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7317 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7318 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7319 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7320 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7321 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7322 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7323 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7324 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7325 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7326 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7327 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7328 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7329 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7330 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7331 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7332 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7333 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7334 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7335 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7336 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7337 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7338 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7339 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7340 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7341 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7342 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7343 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7344 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7345 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7346 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7347 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7348 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7349 .ctext = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
7350 "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
7351 "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
7352 "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
7353 "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
7354 "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
7355 "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
7356 "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
7357 "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
7358 "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
7359 "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
7360 "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
7361 "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
7362 "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
7363 "\x0B\x82\x59\x14\x26\x67\x08\x09"
7364 "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
7365 "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
7366 "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
7367 "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
7368 "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
7369 "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
7370 "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
7371 "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
7372 "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
7373 "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
7374 "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
7375 "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
7376 "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
7377 "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
7378 "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
7379 "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
7380 "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
7381 "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
7382 "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
7383 "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
7384 "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
7385 "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
7386 "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
7387 "\xB4\x19\xD8\x19\x45\x66\x27\x02"
7388 "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
7389 "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
7390 "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
7391 "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
7392 "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
7393 "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
7394 "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
7395 "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
7396 "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
7397 "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
7398 "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
7399 "\x91\x51\x4E\x71\xF2\x98\x85\x16"
7400 "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
7401 "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
7402 "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
7403 "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
7404 "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
7405 "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
7406 "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
7407 "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
7408 "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
7409 "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
7410 "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
7411 "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
7412 .len = 504,
7417 * Twofish test vectors.
7419 static const struct cipher_testvec tf_tv_template[] = {
7421 .key = zeroed_string,
7422 .klen = 16,
7423 .ptext = zeroed_string,
7424 .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
7425 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
7426 .len = 16,
7427 }, {
7428 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
7429 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
7430 "\x00\x11\x22\x33\x44\x55\x66\x77",
7431 .klen = 24,
7432 .ptext = zeroed_string,
7433 .ctext = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
7434 "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
7435 .len = 16,
7436 }, {
7437 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
7438 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
7439 "\x00\x11\x22\x33\x44\x55\x66\x77"
7440 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
7441 .klen = 32,
7442 .ptext = zeroed_string,
7443 .ctext = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
7444 "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
7445 .len = 16,
7446 }, { /* Generated with Crypto++ */
7447 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
7448 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
7449 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
7450 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
7451 .klen = 32,
7452 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7453 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7454 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7455 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7456 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7457 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7458 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7459 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7460 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7461 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7462 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7463 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7464 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7465 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7466 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7467 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7468 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7469 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7470 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7471 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7472 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7473 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7474 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7475 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7476 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7477 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7478 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7479 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7480 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7481 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7482 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7483 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7484 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7485 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7486 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7487 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7488 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7489 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7490 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7491 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7492 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7493 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7494 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7495 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7496 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7497 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7498 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7499 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7500 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7501 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7502 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7503 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7504 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7505 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7506 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7507 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7508 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7509 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7510 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7511 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7512 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7513 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
7514 .ctext = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
7515 "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
7516 "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
7517 "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
7518 "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
7519 "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
7520 "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
7521 "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
7522 "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
7523 "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
7524 "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
7525 "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
7526 "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
7527 "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
7528 "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
7529 "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
7530 "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
7531 "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
7532 "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
7533 "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
7534 "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
7535 "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
7536 "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
7537 "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
7538 "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
7539 "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
7540 "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
7541 "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
7542 "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
7543 "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
7544 "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
7545 "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
7546 "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
7547 "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
7548 "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
7549 "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
7550 "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
7551 "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
7552 "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
7553 "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
7554 "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
7555 "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
7556 "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
7557 "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
7558 "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
7559 "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
7560 "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
7561 "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
7562 "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
7563 "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
7564 "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
7565 "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
7566 "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
7567 "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
7568 "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
7569 "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
7570 "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
7571 "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
7572 "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
7573 "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
7574 "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
7575 "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
7576 .len = 496,
7577 .also_non_np = 1,
7578 .np = 3,
7579 .tap = { 496 - 20, 4, 16 },
7583 static const struct cipher_testvec tf_cbc_tv_template[] = {
7584 { /* Generated with Nettle */
7585 .key = zeroed_string,
7586 .klen = 16,
7587 .iv = zeroed_string,
7588 .ptext = zeroed_string,
7589 .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
7590 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
7591 .len = 16,
7592 }, {
7593 .key = zeroed_string,
7594 .klen = 16,
7595 .iv = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
7596 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
7597 .ptext = zeroed_string,
7598 .ctext = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
7599 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
7600 .len = 16,
7601 }, {
7602 .key = zeroed_string,
7603 .klen = 16,
7604 .iv = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
7605 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
7606 .ptext = zeroed_string,
7607 .ctext = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
7608 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
7609 .len = 16,
7610 }, {
7611 .key = zeroed_string,
7612 .klen = 16,
7613 .iv = zeroed_string,
7614 .ptext = zeroed_string,
7615 .ctext = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
7616 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
7617 "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
7618 "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
7619 "\x05\xef\x8c\x61\xa8\x11\x58\x26"
7620 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
7621 .len = 48,
7622 }, { /* Generated with Crypto++ */
7623 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7624 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7625 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7626 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7627 .klen = 32,
7628 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
7629 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
7630 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7631 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7632 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7633 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7634 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7635 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7636 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7637 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7638 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7639 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7640 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7641 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7642 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7643 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7644 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7645 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7646 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7647 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7648 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7649 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7650 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7651 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7652 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7653 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7654 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7655 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7656 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7657 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7658 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7659 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7660 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7661 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7662 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7663 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7664 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7665 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7666 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7667 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7668 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7669 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7670 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7671 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7672 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7673 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7674 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7675 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7676 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7677 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7678 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7679 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7680 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7681 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7682 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7683 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7684 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7685 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7686 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7687 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7688 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7689 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7690 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7691 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
7692 .ctext = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
7693 "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
7694 "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
7695 "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
7696 "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
7697 "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
7698 "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
7699 "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
7700 "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
7701 "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
7702 "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
7703 "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
7704 "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
7705 "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
7706 "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
7707 "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
7708 "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
7709 "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
7710 "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
7711 "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
7712 "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
7713 "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
7714 "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
7715 "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
7716 "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
7717 "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
7718 "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
7719 "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
7720 "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
7721 "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
7722 "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
7723 "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
7724 "\x75\x42\x62\x04\x31\x1F\x95\x7C"
7725 "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
7726 "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
7727 "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
7728 "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
7729 "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
7730 "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
7731 "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
7732 "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
7733 "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
7734 "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
7735 "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
7736 "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
7737 "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
7738 "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
7739 "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
7740 "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
7741 "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
7742 "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
7743 "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
7744 "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
7745 "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
7746 "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
7747 "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
7748 "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
7749 "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
7750 "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
7751 "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
7752 "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
7753 "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
7754 .len = 496,
7755 .also_non_np = 1,
7756 .np = 3,
7757 .tap = { 496 - 20, 4, 16 },
7761 static const struct cipher_testvec tf_ctr_tv_template[] = {
7762 { /* Generated with Crypto++ */
7763 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7764 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7765 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7766 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7767 .klen = 32,
7768 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
7769 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
7770 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7771 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7772 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7773 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7774 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7775 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7776 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7777 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7778 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7779 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7780 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7781 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7782 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7783 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7784 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7785 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7786 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7787 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7788 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7789 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7790 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7791 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7792 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7793 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7794 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7795 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7796 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7797 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7798 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7799 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7800 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7801 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7802 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7803 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7804 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7805 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7806 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7807 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7808 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7809 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7810 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7811 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7812 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7813 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7814 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7815 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7816 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7817 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7818 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7819 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7820 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7821 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7822 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7823 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7824 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7825 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7826 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7827 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7828 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7829 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7830 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7831 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
7832 .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
7833 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
7834 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
7835 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
7836 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
7837 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
7838 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
7839 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
7840 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
7841 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
7842 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
7843 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
7844 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
7845 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
7846 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
7847 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
7848 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
7849 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
7850 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
7851 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
7852 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
7853 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
7854 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
7855 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
7856 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
7857 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
7858 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
7859 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
7860 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
7861 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
7862 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
7863 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
7864 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
7865 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
7866 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
7867 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
7868 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
7869 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
7870 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
7871 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
7872 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
7873 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
7874 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
7875 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
7876 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
7877 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
7878 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
7879 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
7880 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
7881 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
7882 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
7883 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
7884 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
7885 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
7886 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
7887 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
7888 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
7889 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
7890 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
7891 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
7892 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
7893 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
7894 .len = 496,
7895 }, { /* Generated with Crypto++ */
7896 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7897 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7898 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7899 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7900 .klen = 32,
7901 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
7902 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
7903 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7904 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7905 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7906 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7907 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7908 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7909 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7910 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7911 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7912 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7913 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7914 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7915 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7916 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7917 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7918 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7919 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7920 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7921 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7922 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7923 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7924 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7925 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7926 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7927 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7928 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7929 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7930 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7931 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7932 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7933 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7934 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7935 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7936 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7937 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7938 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7939 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7940 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7941 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7942 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7943 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7944 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7945 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7946 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7947 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7948 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7949 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7950 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7951 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7952 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7953 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7954 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7955 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7956 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7957 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7958 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7959 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7960 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7961 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7962 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7963 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7964 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
7965 .ctext = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
7966 "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
7967 "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
7968 "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
7969 "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
7970 "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
7971 "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
7972 "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
7973 "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
7974 "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
7975 "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
7976 "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
7977 "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
7978 "\x39\x18\x09\xA4\x82\x59\x78\xE7"
7979 "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
7980 "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
7981 "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
7982 "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
7983 "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
7984 "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
7985 "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
7986 "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
7987 "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
7988 "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
7989 "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
7990 "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
7991 "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
7992 "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
7993 "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
7994 "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
7995 "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
7996 "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
7997 "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
7998 "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
7999 "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
8000 "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
8001 "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
8002 "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
8003 "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
8004 "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
8005 "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
8006 "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
8007 "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
8008 "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
8009 "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
8010 "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
8011 "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
8012 "\xDE\x55\x1B\x50\x14\x53\x44\x17"
8013 "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
8014 "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
8015 "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
8016 "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
8017 "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
8018 "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
8019 "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
8020 "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
8021 "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
8022 "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
8023 "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
8024 "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
8025 "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
8026 "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
8027 .len = 496,
8028 }, { /* Generated with Crypto++ */
8029 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8030 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8031 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8032 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8033 .klen = 32,
8034 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8035 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8036 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8037 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8038 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8039 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8040 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8041 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8042 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8043 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8044 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8045 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8046 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8047 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8048 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8049 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8050 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8051 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8052 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8053 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8054 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8055 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8056 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8057 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8058 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8059 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8060 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8061 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8062 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8063 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8064 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8065 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8066 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8067 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8068 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8069 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8070 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8071 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8072 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8073 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8074 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8075 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8076 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8077 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8078 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8079 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8080 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8081 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8082 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8083 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8084 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8085 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8086 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8087 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8088 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8089 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8090 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8091 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8092 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8093 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8094 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8095 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8096 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8097 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8098 "\x2B\xC2\x59",
8099 .ctext = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
8100 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
8101 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
8102 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
8103 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
8104 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
8105 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
8106 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
8107 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
8108 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
8109 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
8110 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
8111 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
8112 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
8113 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
8114 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
8115 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
8116 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
8117 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
8118 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
8119 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
8120 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
8121 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
8122 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
8123 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
8124 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
8125 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
8126 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
8127 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
8128 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
8129 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
8130 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
8131 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
8132 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
8133 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
8134 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
8135 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
8136 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
8137 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
8138 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
8139 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
8140 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
8141 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
8142 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
8143 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
8144 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
8145 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
8146 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
8147 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
8148 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
8149 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
8150 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
8151 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
8152 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
8153 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
8154 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
8155 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
8156 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
8157 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
8158 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
8159 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
8160 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
8161 "\x6C\x82\x9D",
8162 .len = 499,
8163 .also_non_np = 1,
8164 .np = 2,
8165 .tap = { 499 - 16, 16 },
8169 static const struct cipher_testvec tf_lrw_tv_template[] = {
8170 /* Generated from AES-LRW test vectors */
8172 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
8173 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
8174 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
8175 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
8176 .klen = 32,
8177 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
8178 "\x00\x00\x00\x00\x00\x00\x00\x01",
8179 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
8180 "\x38\x39\x41\x42\x43\x44\x45\x46",
8181 .ctext = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
8182 "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
8183 .len = 16,
8184 }, {
8185 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
8186 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
8187 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
8188 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
8189 .klen = 32,
8190 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
8191 "\x00\x00\x00\x00\x00\x00\x00\x02",
8192 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
8193 "\x38\x39\x41\x42\x43\x44\x45\x46",
8194 .ctext = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
8195 "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
8196 .len = 16,
8197 }, {
8198 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
8199 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
8200 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
8201 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
8202 .klen = 32,
8203 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
8204 "\x00\x00\x00\x02\x00\x00\x00\x00",
8205 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
8206 "\x38\x39\x41\x42\x43\x44\x45\x46",
8207 .ctext = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
8208 "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
8209 .len = 16,
8210 }, {
8211 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
8212 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
8213 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
8214 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
8215 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
8216 .klen = 40,
8217 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
8218 "\x00\x00\x00\x00\x00\x00\x00\x01",
8219 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
8220 "\x38\x39\x41\x42\x43\x44\x45\x46",
8221 .ctext = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
8222 "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
8223 .len = 16,
8224 }, {
8225 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
8226 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
8227 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
8228 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
8229 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
8230 .klen = 40,
8231 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
8232 "\x00\x00\x00\x02\x00\x00\x00\x00",
8233 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
8234 "\x38\x39\x41\x42\x43\x44\x45\x46",
8235 .ctext = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
8236 "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
8237 .len = 16,
8238 }, {
8239 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
8240 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
8241 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
8242 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
8243 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
8244 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
8245 .klen = 48,
8246 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
8247 "\x00\x00\x00\x00\x00\x00\x00\x01",
8248 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
8249 "\x38\x39\x41\x42\x43\x44\x45\x46",
8250 .ctext = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
8251 "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
8252 .len = 16,
8253 }, {
8254 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
8255 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
8256 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
8257 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
8258 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
8259 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
8260 .klen = 48,
8261 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
8262 "\x00\x00\x00\x02\x00\x00\x00\x00",
8263 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
8264 "\x38\x39\x41\x42\x43\x44\x45\x46",
8265 .ctext = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
8266 "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
8267 .len = 16,
8268 }, {
8269 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
8270 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
8271 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
8272 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
8273 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
8274 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
8275 .klen = 48,
8276 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
8277 "\x00\x00\x00\x00\x00\x00\x00\x01",
8278 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
8279 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
8280 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
8281 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
8282 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
8283 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
8284 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
8285 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
8286 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
8287 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
8288 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
8289 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
8290 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
8291 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
8292 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
8293 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
8294 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
8295 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
8296 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
8297 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
8298 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
8299 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
8300 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
8301 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
8302 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
8303 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
8304 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
8305 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
8306 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
8307 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
8308 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
8309 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
8310 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
8311 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
8312 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
8313 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
8314 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
8315 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
8316 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
8317 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
8318 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
8319 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
8320 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
8321 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
8322 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
8323 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
8324 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
8325 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
8326 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
8327 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
8328 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
8329 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
8330 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
8331 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
8332 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
8333 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
8334 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
8335 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
8336 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
8337 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
8338 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
8339 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
8340 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
8341 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
8342 .ctext = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
8343 "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
8344 "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
8345 "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
8346 "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
8347 "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
8348 "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
8349 "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
8350 "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
8351 "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
8352 "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
8353 "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
8354 "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
8355 "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
8356 "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
8357 "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
8358 "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
8359 "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
8360 "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
8361 "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
8362 "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
8363 "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
8364 "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
8365 "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
8366 "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
8367 "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
8368 "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
8369 "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
8370 "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
8371 "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
8372 "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
8373 "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
8374 "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
8375 "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
8376 "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
8377 "\x3e\xae\x71\x90\x07\x70\x1c\x38"
8378 "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
8379 "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
8380 "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
8381 "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
8382 "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
8383 "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
8384 "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
8385 "\x93\x51\x1d\x3d\x62\x59\x83\x82"
8386 "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
8387 "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
8388 "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
8389 "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
8390 "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
8391 "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
8392 "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
8393 "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
8394 "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
8395 "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
8396 "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
8397 "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
8398 "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
8399 "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
8400 "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
8401 "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
8402 "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
8403 "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
8404 "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
8405 "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
8406 .len = 512,
8407 .also_non_np = 1,
8408 .np = 3,
8409 .tap = { 512 - 20, 4, 16 },
8413 static const struct cipher_testvec tf_xts_tv_template[] = {
8414 /* Generated from AES-XTS test vectors */
8416 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
8417 "\x00\x00\x00\x00\x00\x00\x00\x00"
8418 "\x00\x00\x00\x00\x00\x00\x00\x00"
8419 "\x00\x00\x00\x00\x00\x00\x00\x00",
8420 .klen = 32,
8421 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
8422 "\x00\x00\x00\x00\x00\x00\x00\x00",
8423 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
8424 "\x00\x00\x00\x00\x00\x00\x00\x00"
8425 "\x00\x00\x00\x00\x00\x00\x00\x00"
8426 "\x00\x00\x00\x00\x00\x00\x00\x00",
8427 .ctext = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
8428 "\x30\x74\xe4\x44\x52\x77\x97\x43"
8429 "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
8430 "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
8431 .len = 32,
8432 }, {
8433 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
8434 "\x11\x11\x11\x11\x11\x11\x11\x11"
8435 "\x22\x22\x22\x22\x22\x22\x22\x22"
8436 "\x22\x22\x22\x22\x22\x22\x22\x22",
8437 .klen = 32,
8438 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
8439 "\x00\x00\x00\x00\x00\x00\x00\x00",
8440 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
8441 "\x44\x44\x44\x44\x44\x44\x44\x44"
8442 "\x44\x44\x44\x44\x44\x44\x44\x44"
8443 "\x44\x44\x44\x44\x44\x44\x44\x44",
8444 .ctext = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
8445 "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
8446 "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
8447 "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
8448 .len = 32,
8449 }, {
8450 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
8451 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
8452 "\x22\x22\x22\x22\x22\x22\x22\x22"
8453 "\x22\x22\x22\x22\x22\x22\x22\x22",
8454 .klen = 32,
8455 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
8456 "\x00\x00\x00\x00\x00\x00\x00\x00",
8457 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
8458 "\x44\x44\x44\x44\x44\x44\x44\x44"
8459 "\x44\x44\x44\x44\x44\x44\x44\x44"
8460 "\x44\x44\x44\x44\x44\x44\x44\x44",
8461 .ctext = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
8462 "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
8463 "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
8464 "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
8465 .len = 32,
8466 }, {
8467 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
8468 "\x23\x53\x60\x28\x74\x71\x35\x26"
8469 "\x31\x41\x59\x26\x53\x58\x97\x93"
8470 "\x23\x84\x62\x64\x33\x83\x27\x95",
8471 .klen = 32,
8472 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
8473 "\x00\x00\x00\x00\x00\x00\x00\x00",
8474 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
8475 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8476 "\x10\x11\x12\x13\x14\x15\x16\x17"
8477 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
8478 "\x20\x21\x22\x23\x24\x25\x26\x27"
8479 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
8480 "\x30\x31\x32\x33\x34\x35\x36\x37"
8481 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
8482 "\x40\x41\x42\x43\x44\x45\x46\x47"
8483 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
8484 "\x50\x51\x52\x53\x54\x55\x56\x57"
8485 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
8486 "\x60\x61\x62\x63\x64\x65\x66\x67"
8487 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
8488 "\x70\x71\x72\x73\x74\x75\x76\x77"
8489 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
8490 "\x80\x81\x82\x83\x84\x85\x86\x87"
8491 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
8492 "\x90\x91\x92\x93\x94\x95\x96\x97"
8493 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
8494 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
8495 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
8496 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
8497 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
8498 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
8499 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
8500 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
8501 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
8502 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
8503 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
8504 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
8505 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
8506 "\x00\x01\x02\x03\x04\x05\x06\x07"
8507 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8508 "\x10\x11\x12\x13\x14\x15\x16\x17"
8509 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
8510 "\x20\x21\x22\x23\x24\x25\x26\x27"
8511 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
8512 "\x30\x31\x32\x33\x34\x35\x36\x37"
8513 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
8514 "\x40\x41\x42\x43\x44\x45\x46\x47"
8515 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
8516 "\x50\x51\x52\x53\x54\x55\x56\x57"
8517 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
8518 "\x60\x61\x62\x63\x64\x65\x66\x67"
8519 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
8520 "\x70\x71\x72\x73\x74\x75\x76\x77"
8521 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
8522 "\x80\x81\x82\x83\x84\x85\x86\x87"
8523 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
8524 "\x90\x91\x92\x93\x94\x95\x96\x97"
8525 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
8526 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
8527 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
8528 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
8529 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
8530 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
8531 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
8532 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
8533 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
8534 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
8535 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
8536 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
8537 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
8538 .ctext = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
8539 "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
8540 "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
8541 "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
8542 "\xea\x35\x35\x8c\xb2\x46\x61\x06"
8543 "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
8544 "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
8545 "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
8546 "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
8547 "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
8548 "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
8549 "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
8550 "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
8551 "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
8552 "\x01\x73\x68\x32\x25\x19\xfa\xfb"
8553 "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
8554 "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
8555 "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
8556 "\x39\x80\x39\x09\x97\x65\xf2\x83"
8557 "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
8558 "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
8559 "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
8560 "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
8561 "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
8562 "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
8563 "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
8564 "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
8565 "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
8566 "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
8567 "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
8568 "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
8569 "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
8570 "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
8571 "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
8572 "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
8573 "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
8574 "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
8575 "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
8576 "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
8577 "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
8578 "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
8579 "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
8580 "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
8581 "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
8582 "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
8583 "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
8584 "\x04\x39\x73\x32\xb2\x86\x79\xe7"
8585 "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
8586 "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
8587 "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
8588 "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
8589 "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
8590 "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
8591 "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
8592 "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
8593 "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
8594 "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
8595 "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
8596 "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
8597 "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
8598 "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
8599 "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
8600 "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
8601 "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
8602 .len = 512,
8603 }, {
8604 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
8605 "\x23\x53\x60\x28\x74\x71\x35\x26"
8606 "\x62\x49\x77\x57\x24\x70\x93\x69"
8607 "\x99\x59\x57\x49\x66\x96\x76\x27"
8608 "\x31\x41\x59\x26\x53\x58\x97\x93"
8609 "\x23\x84\x62\x64\x33\x83\x27\x95"
8610 "\x02\x88\x41\x97\x16\x93\x99\x37"
8611 "\x51\x05\x82\x09\x74\x94\x45\x92",
8612 .klen = 64,
8613 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
8614 "\x00\x00\x00\x00\x00\x00\x00\x00",
8615 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
8616 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8617 "\x10\x11\x12\x13\x14\x15\x16\x17"
8618 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
8619 "\x20\x21\x22\x23\x24\x25\x26\x27"
8620 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
8621 "\x30\x31\x32\x33\x34\x35\x36\x37"
8622 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
8623 "\x40\x41\x42\x43\x44\x45\x46\x47"
8624 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
8625 "\x50\x51\x52\x53\x54\x55\x56\x57"
8626 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
8627 "\x60\x61\x62\x63\x64\x65\x66\x67"
8628 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
8629 "\x70\x71\x72\x73\x74\x75\x76\x77"
8630 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
8631 "\x80\x81\x82\x83\x84\x85\x86\x87"
8632 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
8633 "\x90\x91\x92\x93\x94\x95\x96\x97"
8634 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
8635 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
8636 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
8637 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
8638 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
8639 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
8640 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
8641 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
8642 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
8643 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
8644 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
8645 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
8646 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
8647 "\x00\x01\x02\x03\x04\x05\x06\x07"
8648 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8649 "\x10\x11\x12\x13\x14\x15\x16\x17"
8650 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
8651 "\x20\x21\x22\x23\x24\x25\x26\x27"
8652 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
8653 "\x30\x31\x32\x33\x34\x35\x36\x37"
8654 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
8655 "\x40\x41\x42\x43\x44\x45\x46\x47"
8656 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
8657 "\x50\x51\x52\x53\x54\x55\x56\x57"
8658 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
8659 "\x60\x61\x62\x63\x64\x65\x66\x67"
8660 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
8661 "\x70\x71\x72\x73\x74\x75\x76\x77"
8662 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
8663 "\x80\x81\x82\x83\x84\x85\x86\x87"
8664 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
8665 "\x90\x91\x92\x93\x94\x95\x96\x97"
8666 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
8667 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
8668 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
8669 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
8670 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
8671 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
8672 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
8673 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
8674 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
8675 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
8676 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
8677 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
8678 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
8679 .ctext = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
8680 "\x35\x39\x71\x88\x76\x1e\xc9\xea"
8681 "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
8682 "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
8683 "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
8684 "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
8685 "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
8686 "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
8687 "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
8688 "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
8689 "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
8690 "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
8691 "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
8692 "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
8693 "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
8694 "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
8695 "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
8696 "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
8697 "\x69\x35\x61\x86\xf8\x86\xb9\x89"
8698 "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
8699 "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
8700 "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
8701 "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
8702 "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
8703 "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
8704 "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
8705 "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
8706 "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
8707 "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
8708 "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
8709 "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
8710 "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
8711 "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
8712 "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
8713 "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
8714 "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
8715 "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
8716 "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
8717 "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
8718 "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
8719 "\xad\x12\x32\x31\x03\xf7\x21\xbe"
8720 "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
8721 "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
8722 "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
8723 "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
8724 "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
8725 "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
8726 "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
8727 "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
8728 "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
8729 "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
8730 "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
8731 "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
8732 "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
8733 "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
8734 "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
8735 "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
8736 "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
8737 "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
8738 "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
8739 "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
8740 "\xf3\xea\x67\x52\x78\xc2\xce\x70"
8741 "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
8742 "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
8743 .len = 512,
8744 .also_non_np = 1,
8745 .np = 3,
8746 .tap = { 512 - 20, 4, 16 },
8751 * Serpent test vectors. These are backwards because Serpent writes
8752 * octet sequences in right-to-left mode.
8754 static const struct cipher_testvec serpent_tv_template[] = {
8756 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
8757 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8758 .ctext = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
8759 "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
8760 .len = 16,
8761 }, {
8762 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
8763 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8764 .klen = 16,
8765 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
8766 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8767 .ctext = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
8768 "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
8769 .len = 16,
8770 }, {
8771 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
8772 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8773 "\x10\x11\x12\x13\x14\x15\x16\x17"
8774 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
8775 .klen = 32,
8776 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
8777 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8778 .ctext = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
8779 "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
8780 .len = 16,
8781 }, {
8782 .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
8783 .klen = 16,
8784 .ptext = zeroed_string,
8785 .ctext = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
8786 "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
8787 .len = 16,
8788 }, { /* Generated with Crypto++ */
8789 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8790 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8791 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8792 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8793 .klen = 32,
8794 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8795 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8796 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8797 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8798 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8799 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8800 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8801 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8802 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8803 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8804 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8805 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8806 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8807 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8808 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8809 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8810 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8811 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8812 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8813 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8814 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8815 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8816 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8817 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8818 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8819 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8820 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8821 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8822 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8823 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8824 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8825 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8826 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8827 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8828 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8829 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8830 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8831 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8832 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8833 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8834 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8835 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8836 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8837 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8838 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8839 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8840 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8841 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8842 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8843 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8844 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8845 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8846 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8847 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8848 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8849 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8850 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8851 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8852 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8853 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8854 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8855 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8856 .ctext = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
8857 "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
8858 "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
8859 "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
8860 "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
8861 "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
8862 "\x99\x34\x89\x5B\x54\xE9\x12\x13"
8863 "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
8864 "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
8865 "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
8866 "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
8867 "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
8868 "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
8869 "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
8870 "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
8871 "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
8872 "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
8873 "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
8874 "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
8875 "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
8876 "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
8877 "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
8878 "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
8879 "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
8880 "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
8881 "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
8882 "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
8883 "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
8884 "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
8885 "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
8886 "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
8887 "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
8888 "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
8889 "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
8890 "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
8891 "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
8892 "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
8893 "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
8894 "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
8895 "\x87\x70\x14\xD0\x01\x57\xCB\x42"
8896 "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
8897 "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
8898 "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
8899 "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
8900 "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
8901 "\x71\x80\x05\x35\x3F\x40\x0B\x21"
8902 "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
8903 "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
8904 "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
8905 "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
8906 "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
8907 "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
8908 "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
8909 "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
8910 "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
8911 "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
8912 "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
8913 "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
8914 "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
8915 "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
8916 "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
8917 "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
8918 .len = 496,
8919 .also_non_np = 1,
8920 .np = 3,
8921 .tap = { 496 - 20, 4, 16 },
8925 static const struct cipher_testvec tnepres_tv_template[] = {
8926 { /* KeySize=0 */
8927 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
8928 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8929 .ctext = "\x41\xcc\x6b\x31\x59\x31\x45\x97"
8930 "\x6d\x6f\xbb\x38\x4b\x37\x21\x28",
8931 .len = 16,
8933 { /* KeySize=128, PT=0, I=1 */
8934 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
8935 "\x00\x00\x00\x00\x00\x00\x00\x00",
8936 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
8937 "\x00\x00\x00\x00\x00\x00\x00\x00",
8938 .klen = 16,
8939 .ctext = "\x49\xaf\xbf\xad\x9d\x5a\x34\x05"
8940 "\x2c\xd8\xff\xa5\x98\x6b\xd2\xdd",
8941 .len = 16,
8942 }, { /* KeySize=128 */
8943 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
8944 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8945 .klen = 16,
8946 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
8947 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8948 .ctext = "\xea\xf4\xd7\xfc\xd8\x01\x34\x47"
8949 "\x81\x45\x0b\xfa\x0c\xd6\xad\x6e",
8950 .len = 16,
8951 }, { /* KeySize=128, I=121 */
8952 .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
8953 .klen = 16,
8954 .ptext = zeroed_string,
8955 .ctext = "\x3d\xda\xbf\xc0\x06\xda\xab\x06"
8956 "\x46\x2a\xf4\xef\x81\x54\x4e\x26",
8957 .len = 16,
8958 }, { /* KeySize=192, PT=0, I=1 */
8959 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
8960 "\x00\x00\x00\x00\x00\x00\x00\x00"
8961 "\x00\x00\x00\x00\x00\x00\x00\x00",
8962 .klen = 24,
8963 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
8964 "\x00\x00\x00\x00\x00\x00\x00\x00",
8965 .ctext = "\xe7\x8e\x54\x02\xc7\x19\x55\x68"
8966 "\xac\x36\x78\xf7\xa3\xf6\x0c\x66",
8967 .len = 16,
8968 }, { /* KeySize=256, PT=0, I=1 */
8969 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
8970 "\x00\x00\x00\x00\x00\x00\x00\x00"
8971 "\x00\x00\x00\x00\x00\x00\x00\x00"
8972 "\x00\x00\x00\x00\x00\x00\x00\x00",
8973 .klen = 32,
8974 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
8975 "\x00\x00\x00\x00\x00\x00\x00\x00",
8976 .ctext = "\xab\xed\x96\xe7\x66\xbf\x28\xcb"
8977 "\xc0\xeb\xd2\x1a\x82\xef\x08\x19",
8978 .len = 16,
8979 }, { /* KeySize=256, I=257 */
8980 .key = "\x1f\x1e\x1d\x1c\x1b\x1a\x19\x18"
8981 "\x17\x16\x15\x14\x13\x12\x11\x10"
8982 "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
8983 "\x07\x06\x05\x04\x03\x02\x01\x00",
8984 .klen = 32,
8985 .ptext = "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
8986 "\x07\x06\x05\x04\x03\x02\x01\x00",
8987 .ctext = "\x5c\xe7\x1c\x70\xd2\x88\x2e\x5b"
8988 "\xb8\x32\xe4\x33\xf8\x9f\x26\xde",
8989 .len = 16,
8990 }, { /* KeySize=256 */
8991 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
8992 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8993 "\x10\x11\x12\x13\x14\x15\x16\x17"
8994 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
8995 .klen = 32,
8996 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
8997 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8998 .ctext = "\x64\xa9\x1a\x37\xed\x9f\xe7\x49"
8999 "\xa8\x4e\x76\xd6\xf5\x0d\x78\xee",
9000 .len = 16,
9004 static const struct cipher_testvec serpent_cbc_tv_template[] = {
9005 { /* Generated with Crypto++ */
9006 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9007 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9008 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9009 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9010 .klen = 32,
9011 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9012 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9013 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9014 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9015 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9016 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9017 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9018 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9019 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9020 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9021 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9022 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9023 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9024 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9025 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9026 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9027 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9028 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9029 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9030 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9031 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9032 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9033 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9034 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9035 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9036 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9037 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9038 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9039 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9040 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9041 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9042 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9043 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9044 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9045 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9046 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9047 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9048 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9049 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9050 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9051 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9052 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9053 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9054 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9055 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9056 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9057 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9058 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9059 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9060 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9061 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9062 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9063 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9064 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9065 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9066 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9067 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9068 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9069 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9070 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9071 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9072 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9073 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9074 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9075 .ctext = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
9076 "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
9077 "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
9078 "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
9079 "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
9080 "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
9081 "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
9082 "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
9083 "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
9084 "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
9085 "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
9086 "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
9087 "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
9088 "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
9089 "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
9090 "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
9091 "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
9092 "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
9093 "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
9094 "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
9095 "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
9096 "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
9097 "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
9098 "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
9099 "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
9100 "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
9101 "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
9102 "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
9103 "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
9104 "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
9105 "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
9106 "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
9107 "\x81\x92\x66\x67\x15\x1E\x39\x98"
9108 "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
9109 "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
9110 "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
9111 "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
9112 "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
9113 "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
9114 "\x04\x05\x46\xD3\x90\x0F\x64\x64"
9115 "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
9116 "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
9117 "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
9118 "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
9119 "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
9120 "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
9121 "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
9122 "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
9123 "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
9124 "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
9125 "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
9126 "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
9127 "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
9128 "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
9129 "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
9130 "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
9131 "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
9132 "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
9133 "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
9134 "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
9135 "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
9136 "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
9137 .len = 496,
9138 .also_non_np = 1,
9139 .np = 3,
9140 .tap = { 496 - 20, 4, 16 },
9144 static const struct cipher_testvec serpent_ctr_tv_template[] = {
9145 { /* Generated with Crypto++ */
9146 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9147 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9148 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9149 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9150 .klen = 32,
9151 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9152 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9153 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9154 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9155 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9156 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9157 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9158 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9159 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9160 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9161 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9162 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9163 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9164 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9165 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9166 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9167 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9168 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9169 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9170 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9171 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9172 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9173 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9174 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9175 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9176 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9177 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9178 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9179 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9180 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9181 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9182 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9183 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9184 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9185 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9186 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9187 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9188 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9189 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9190 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9191 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9192 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9193 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9194 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9195 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9196 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9197 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9198 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9199 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9200 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9201 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9202 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9203 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9204 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9205 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9206 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9207 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9208 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9209 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9210 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9211 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9212 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9213 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9214 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9215 .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
9216 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
9217 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
9218 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
9219 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
9220 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
9221 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
9222 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
9223 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
9224 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
9225 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
9226 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
9227 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
9228 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
9229 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
9230 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
9231 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
9232 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
9233 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
9234 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
9235 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
9236 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
9237 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
9238 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
9239 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
9240 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
9241 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
9242 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
9243 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
9244 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
9245 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
9246 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
9247 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
9248 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
9249 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
9250 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
9251 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
9252 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
9253 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
9254 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
9255 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
9256 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
9257 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
9258 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
9259 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
9260 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
9261 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
9262 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
9263 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
9264 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
9265 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
9266 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
9267 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
9268 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
9269 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
9270 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
9271 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
9272 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
9273 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
9274 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
9275 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
9276 "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
9277 .len = 496,
9278 }, { /* Generated with Crypto++ */
9279 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9280 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9281 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9282 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9283 .klen = 32,
9284 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9285 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9286 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9287 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9288 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9289 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9290 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9291 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9292 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9293 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9294 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9295 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9296 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9297 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9298 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9299 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9300 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9301 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9302 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9303 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9304 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9305 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9306 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9307 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9308 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9309 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9310 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9311 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9312 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9313 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9314 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9315 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9316 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9317 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9318 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9319 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9320 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9321 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9322 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9323 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9324 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9325 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9326 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9327 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9328 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9329 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9330 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9331 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9332 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9333 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9334 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9335 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9336 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9337 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9338 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9339 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9340 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9341 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9342 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9343 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9344 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9345 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9346 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9347 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9348 "\x2B\xC2\x59",
9349 .ctext = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
9350 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
9351 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
9352 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
9353 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
9354 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
9355 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
9356 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
9357 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
9358 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
9359 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
9360 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
9361 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
9362 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
9363 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
9364 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
9365 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
9366 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
9367 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
9368 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
9369 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
9370 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
9371 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
9372 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
9373 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
9374 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
9375 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
9376 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
9377 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
9378 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
9379 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
9380 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
9381 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
9382 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
9383 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
9384 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
9385 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
9386 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
9387 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
9388 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
9389 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
9390 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
9391 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
9392 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
9393 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
9394 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
9395 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
9396 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
9397 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
9398 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
9399 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
9400 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
9401 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
9402 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
9403 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
9404 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
9405 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
9406 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
9407 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
9408 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
9409 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
9410 "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
9411 "\x38\xE2\xE5",
9412 .len = 499,
9413 .also_non_np = 1,
9414 .np = 2,
9415 .tap = { 499 - 16, 16 },
9416 }, { /* Generated with Crypto++ */
9417 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9418 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9419 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9420 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9421 .klen = 32,
9422 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
9423 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9424 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9425 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9426 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9427 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9428 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9429 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9430 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9431 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9432 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9433 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9434 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9435 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9436 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9437 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9438 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9439 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9440 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9441 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9442 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9443 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9444 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9445 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9446 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9447 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9448 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9449 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9450 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9451 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9452 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9453 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9454 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9455 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9456 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9457 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9458 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9459 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9460 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9461 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9462 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9463 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9464 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9465 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9466 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9467 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9468 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9469 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9470 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9471 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9472 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9473 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9474 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9475 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9476 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9477 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9478 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9479 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9480 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9481 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9482 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9483 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9484 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9485 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9486 .ctext = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
9487 "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
9488 "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
9489 "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
9490 "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
9491 "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
9492 "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
9493 "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
9494 "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
9495 "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
9496 "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
9497 "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
9498 "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
9499 "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
9500 "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
9501 "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
9502 "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
9503 "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
9504 "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
9505 "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
9506 "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
9507 "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
9508 "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
9509 "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
9510 "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
9511 "\x29\x5E\x01\x47\x13\x32\x78\xBE"
9512 "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
9513 "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
9514 "\x38\x35\x11\x26\x4A\xB4\x06\x32"
9515 "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
9516 "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
9517 "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
9518 "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
9519 "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
9520 "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
9521 "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
9522 "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
9523 "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
9524 "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
9525 "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
9526 "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
9527 "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
9528 "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
9529 "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
9530 "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
9531 "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
9532 "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
9533 "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
9534 "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
9535 "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
9536 "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
9537 "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
9538 "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
9539 "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
9540 "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
9541 "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
9542 "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
9543 "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
9544 "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
9545 "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
9546 "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
9547 "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
9548 .len = 496,
9552 static const struct cipher_testvec serpent_lrw_tv_template[] = {
9553 /* Generated from AES-LRW test vectors */
9555 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
9556 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
9557 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
9558 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
9559 .klen = 32,
9560 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9561 "\x00\x00\x00\x00\x00\x00\x00\x01",
9562 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9563 "\x38\x39\x41\x42\x43\x44\x45\x46",
9564 .ctext = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
9565 "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
9566 .len = 16,
9567 }, {
9568 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
9569 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
9570 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
9571 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
9572 .klen = 32,
9573 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9574 "\x00\x00\x00\x00\x00\x00\x00\x02",
9575 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9576 "\x38\x39\x41\x42\x43\x44\x45\x46",
9577 .ctext = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
9578 "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
9579 .len = 16,
9580 }, {
9581 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
9582 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
9583 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
9584 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
9585 .klen = 32,
9586 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9587 "\x00\x00\x00\x02\x00\x00\x00\x00",
9588 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9589 "\x38\x39\x41\x42\x43\x44\x45\x46",
9590 .ctext = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
9591 "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
9592 .len = 16,
9593 }, {
9594 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
9595 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
9596 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
9597 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
9598 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
9599 .klen = 40,
9600 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9601 "\x00\x00\x00\x00\x00\x00\x00\x01",
9602 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9603 "\x38\x39\x41\x42\x43\x44\x45\x46",
9604 .ctext = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
9605 "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
9606 .len = 16,
9607 }, {
9608 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
9609 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
9610 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
9611 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
9612 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
9613 .klen = 40,
9614 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9615 "\x00\x00\x00\x02\x00\x00\x00\x00",
9616 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9617 "\x38\x39\x41\x42\x43\x44\x45\x46",
9618 .ctext = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
9619 "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
9620 .len = 16,
9621 }, {
9622 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9623 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9624 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9625 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9626 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9627 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9628 .klen = 48,
9629 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9630 "\x00\x00\x00\x00\x00\x00\x00\x01",
9631 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9632 "\x38\x39\x41\x42\x43\x44\x45\x46",
9633 .ctext = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
9634 "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
9635 .len = 16,
9636 }, {
9637 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
9638 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
9639 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
9640 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
9641 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
9642 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
9643 .klen = 48,
9644 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9645 "\x00\x00\x00\x02\x00\x00\x00\x00",
9646 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
9647 "\x38\x39\x41\x42\x43\x44\x45\x46",
9648 .ctext = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
9649 "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
9650 .len = 16,
9651 }, {
9652 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9653 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9654 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9655 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9656 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9657 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9658 .klen = 48,
9659 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9660 "\x00\x00\x00\x00\x00\x00\x00\x01",
9661 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
9662 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
9663 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
9664 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
9665 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
9666 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
9667 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
9668 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
9669 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
9670 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
9671 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
9672 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
9673 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
9674 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
9675 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
9676 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
9677 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
9678 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
9679 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
9680 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
9681 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
9682 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
9683 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
9684 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
9685 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
9686 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
9687 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
9688 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
9689 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
9690 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
9691 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
9692 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
9693 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
9694 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
9695 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
9696 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
9697 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
9698 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
9699 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
9700 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
9701 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
9702 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
9703 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
9704 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
9705 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
9706 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
9707 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
9708 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
9709 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
9710 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
9711 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
9712 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
9713 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
9714 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
9715 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
9716 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
9717 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
9718 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
9719 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
9720 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
9721 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
9722 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
9723 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
9724 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
9725 .ctext = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
9726 "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
9727 "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
9728 "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
9729 "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
9730 "\xce\xab\xda\x33\x30\x20\x12\xfa"
9731 "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
9732 "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
9733 "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
9734 "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
9735 "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
9736 "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
9737 "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
9738 "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
9739 "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
9740 "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
9741 "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
9742 "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
9743 "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
9744 "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
9745 "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
9746 "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
9747 "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
9748 "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
9749 "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
9750 "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
9751 "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
9752 "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
9753 "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
9754 "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
9755 "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
9756 "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
9757 "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
9758 "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
9759 "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
9760 "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
9761 "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
9762 "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
9763 "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
9764 "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
9765 "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
9766 "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
9767 "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
9768 "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
9769 "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
9770 "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
9771 "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
9772 "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
9773 "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
9774 "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
9775 "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
9776 "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
9777 "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
9778 "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
9779 "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
9780 "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
9781 "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
9782 "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
9783 "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
9784 "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
9785 "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
9786 "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
9787 "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
9788 "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
9789 .len = 512,
9790 .also_non_np = 1,
9791 .np = 3,
9792 .tap = { 512 - 20, 4, 16 },
9796 static const struct cipher_testvec serpent_xts_tv_template[] = {
9797 /* Generated from AES-XTS test vectors */
9799 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
9800 "\x00\x00\x00\x00\x00\x00\x00\x00"
9801 "\x00\x00\x00\x00\x00\x00\x00\x00"
9802 "\x00\x00\x00\x00\x00\x00\x00\x00",
9803 .klen = 32,
9804 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9805 "\x00\x00\x00\x00\x00\x00\x00\x00",
9806 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
9807 "\x00\x00\x00\x00\x00\x00\x00\x00"
9808 "\x00\x00\x00\x00\x00\x00\x00\x00"
9809 "\x00\x00\x00\x00\x00\x00\x00\x00",
9810 .ctext = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
9811 "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
9812 "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
9813 "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
9814 .len = 32,
9815 }, {
9816 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
9817 "\x11\x11\x11\x11\x11\x11\x11\x11"
9818 "\x22\x22\x22\x22\x22\x22\x22\x22"
9819 "\x22\x22\x22\x22\x22\x22\x22\x22",
9820 .klen = 32,
9821 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
9822 "\x00\x00\x00\x00\x00\x00\x00\x00",
9823 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
9824 "\x44\x44\x44\x44\x44\x44\x44\x44"
9825 "\x44\x44\x44\x44\x44\x44\x44\x44"
9826 "\x44\x44\x44\x44\x44\x44\x44\x44",
9827 .ctext = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
9828 "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
9829 "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
9830 "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
9831 .len = 32,
9832 }, {
9833 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
9834 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
9835 "\x22\x22\x22\x22\x22\x22\x22\x22"
9836 "\x22\x22\x22\x22\x22\x22\x22\x22",
9837 .klen = 32,
9838 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
9839 "\x00\x00\x00\x00\x00\x00\x00\x00",
9840 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
9841 "\x44\x44\x44\x44\x44\x44\x44\x44"
9842 "\x44\x44\x44\x44\x44\x44\x44\x44"
9843 "\x44\x44\x44\x44\x44\x44\x44\x44",
9844 .ctext = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
9845 "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
9846 "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
9847 "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
9848 .len = 32,
9849 }, {
9850 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
9851 "\x23\x53\x60\x28\x74\x71\x35\x26"
9852 "\x31\x41\x59\x26\x53\x58\x97\x93"
9853 "\x23\x84\x62\x64\x33\x83\x27\x95",
9854 .klen = 32,
9855 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
9856 "\x00\x00\x00\x00\x00\x00\x00\x00",
9857 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
9858 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
9859 "\x10\x11\x12\x13\x14\x15\x16\x17"
9860 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
9861 "\x20\x21\x22\x23\x24\x25\x26\x27"
9862 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
9863 "\x30\x31\x32\x33\x34\x35\x36\x37"
9864 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
9865 "\x40\x41\x42\x43\x44\x45\x46\x47"
9866 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
9867 "\x50\x51\x52\x53\x54\x55\x56\x57"
9868 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
9869 "\x60\x61\x62\x63\x64\x65\x66\x67"
9870 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
9871 "\x70\x71\x72\x73\x74\x75\x76\x77"
9872 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
9873 "\x80\x81\x82\x83\x84\x85\x86\x87"
9874 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
9875 "\x90\x91\x92\x93\x94\x95\x96\x97"
9876 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
9877 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
9878 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
9879 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
9880 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
9881 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
9882 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
9883 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
9884 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
9885 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
9886 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
9887 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
9888 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
9889 "\x00\x01\x02\x03\x04\x05\x06\x07"
9890 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
9891 "\x10\x11\x12\x13\x14\x15\x16\x17"
9892 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
9893 "\x20\x21\x22\x23\x24\x25\x26\x27"
9894 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
9895 "\x30\x31\x32\x33\x34\x35\x36\x37"
9896 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
9897 "\x40\x41\x42\x43\x44\x45\x46\x47"
9898 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
9899 "\x50\x51\x52\x53\x54\x55\x56\x57"
9900 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
9901 "\x60\x61\x62\x63\x64\x65\x66\x67"
9902 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
9903 "\x70\x71\x72\x73\x74\x75\x76\x77"
9904 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
9905 "\x80\x81\x82\x83\x84\x85\x86\x87"
9906 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
9907 "\x90\x91\x92\x93\x94\x95\x96\x97"
9908 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
9909 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
9910 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
9911 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
9912 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
9913 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
9914 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
9915 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
9916 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
9917 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
9918 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
9919 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
9920 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
9921 .ctext = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
9922 "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
9923 "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
9924 "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
9925 "\x00\x5c\x75\x14\x06\xd6\x25\x82"
9926 "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
9927 "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
9928 "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
9929 "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
9930 "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
9931 "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
9932 "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
9933 "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
9934 "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
9935 "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
9936 "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
9937 "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
9938 "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
9939 "\x58\xfa\x43\x91\x16\x85\x40\xbb"
9940 "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
9941 "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
9942 "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
9943 "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
9944 "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
9945 "\x6e\x29\x60\xbd\x10\x14\x84\x82"
9946 "\x83\x82\x0c\x63\x73\x92\x02\x7c"
9947 "\x55\x37\x20\x80\x17\x51\xc8\xbc"
9948 "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
9949 "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
9950 "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
9951 "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
9952 "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
9953 "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
9954 "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
9955 "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
9956 "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
9957 "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
9958 "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
9959 "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
9960 "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
9961 "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
9962 "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
9963 "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
9964 "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
9965 "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
9966 "\x43\x42\x35\xd0\xcf\xec\x77\x67"
9967 "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
9968 "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
9969 "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
9970 "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
9971 "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
9972 "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
9973 "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
9974 "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
9975 "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
9976 "\x03\x57\xe6\x98\x52\x2f\x61\x62"
9977 "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
9978 "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
9979 "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
9980 "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
9981 "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
9982 "\xef\x91\x64\x1d\x18\x07\x4e\x31"
9983 "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
9984 "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
9985 .len = 512,
9986 }, {
9987 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
9988 "\x23\x53\x60\x28\x74\x71\x35\x26"
9989 "\x62\x49\x77\x57\x24\x70\x93\x69"
9990 "\x99\x59\x57\x49\x66\x96\x76\x27"
9991 "\x31\x41\x59\x26\x53\x58\x97\x93"
9992 "\x23\x84\x62\x64\x33\x83\x27\x95"
9993 "\x02\x88\x41\x97\x16\x93\x99\x37"
9994 "\x51\x05\x82\x09\x74\x94\x45\x92",
9995 .klen = 64,
9996 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
9997 "\x00\x00\x00\x00\x00\x00\x00\x00",
9998 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
9999 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10000 "\x10\x11\x12\x13\x14\x15\x16\x17"
10001 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10002 "\x20\x21\x22\x23\x24\x25\x26\x27"
10003 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10004 "\x30\x31\x32\x33\x34\x35\x36\x37"
10005 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10006 "\x40\x41\x42\x43\x44\x45\x46\x47"
10007 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10008 "\x50\x51\x52\x53\x54\x55\x56\x57"
10009 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10010 "\x60\x61\x62\x63\x64\x65\x66\x67"
10011 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10012 "\x70\x71\x72\x73\x74\x75\x76\x77"
10013 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10014 "\x80\x81\x82\x83\x84\x85\x86\x87"
10015 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10016 "\x90\x91\x92\x93\x94\x95\x96\x97"
10017 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10018 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10019 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10020 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10021 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10022 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10023 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10024 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10025 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10026 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10027 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10028 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10029 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10030 "\x00\x01\x02\x03\x04\x05\x06\x07"
10031 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10032 "\x10\x11\x12\x13\x14\x15\x16\x17"
10033 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10034 "\x20\x21\x22\x23\x24\x25\x26\x27"
10035 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10036 "\x30\x31\x32\x33\x34\x35\x36\x37"
10037 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10038 "\x40\x41\x42\x43\x44\x45\x46\x47"
10039 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10040 "\x50\x51\x52\x53\x54\x55\x56\x57"
10041 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10042 "\x60\x61\x62\x63\x64\x65\x66\x67"
10043 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10044 "\x70\x71\x72\x73\x74\x75\x76\x77"
10045 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10046 "\x80\x81\x82\x83\x84\x85\x86\x87"
10047 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10048 "\x90\x91\x92\x93\x94\x95\x96\x97"
10049 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10050 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10051 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10052 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10053 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10054 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10055 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10056 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10057 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10058 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10059 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10060 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10061 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10062 .ctext = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
10063 "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
10064 "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
10065 "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
10066 "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
10067 "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
10068 "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
10069 "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
10070 "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
10071 "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
10072 "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
10073 "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
10074 "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
10075 "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
10076 "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
10077 "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
10078 "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
10079 "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
10080 "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
10081 "\xec\x9a\xda\x64\x96\xb5\x61\xff"
10082 "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
10083 "\x81\x85\x14\xa8\x59\xac\x8c\x94"
10084 "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
10085 "\x82\xc6\x4d\xca\x86\xea\x53\x28"
10086 "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
10087 "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
10088 "\x05\xca\x81\x7b\xda\xa2\xde\x63"
10089 "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
10090 "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
10091 "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
10092 "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
10093 "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
10094 "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
10095 "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
10096 "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
10097 "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
10098 "\xfd\x43\x7d\xda\x42\x51\x87\x43"
10099 "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
10100 "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
10101 "\x27\x5f\x11\xac\x71\xc7\x48\x46"
10102 "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
10103 "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
10104 "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
10105 "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
10106 "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
10107 "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
10108 "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
10109 "\x50\x88\x97\x40\x69\xb1\x37\xf5"
10110 "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
10111 "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
10112 "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
10113 "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
10114 "\xc1\x16\x73\x50\x77\xba\xa6\x65"
10115 "\x20\x2d\xb0\x02\x27\x89\xda\x99"
10116 "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
10117 "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
10118 "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
10119 "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
10120 "\xa3\x0e\x33\x74\x40\x18\x39\x72"
10121 "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
10122 "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
10123 "\x30\x05\xc8\x92\x98\x80\xff\x7a"
10124 "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
10125 "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
10126 .len = 512,
10127 .also_non_np = 1,
10128 .np = 3,
10129 .tap = { 512 - 20, 4, 16 },
10134 * SM4 test vectors taken from the "The SM4 Blockcipher Algorithm And Its
10135 * Modes Of Operations" draft RFC
10136 * https://datatracker.ietf.org/doc/draft-ribose-cfrg-sm4
10139 static const struct cipher_testvec sm4_tv_template[] = {
10140 { /* GB/T 32907-2016 Example 1. */
10141 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
10142 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
10143 .klen = 16,
10144 .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
10145 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
10146 .ctext = "\x68\x1E\xDF\x34\xD2\x06\x96\x5E"
10147 "\x86\xB3\xE9\x4F\x53\x6E\x42\x46",
10148 .len = 16,
10149 }, { /* Last 10 iterations of GB/T 32907-2016 Example 2. */
10150 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
10151 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
10152 .klen = 16,
10153 .ptext = "\x99\x4a\xc3\xe7\xc3\x57\x89\x6a"
10154 "\x81\xfc\xa8\xe\x38\x3e\xef\x80"
10155 "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
10156 "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
10157 "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
10158 "\xad\x57\x15\xab\x31\x5d\xc\xef"
10159 "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
10160 "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
10161 "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
10162 "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
10163 "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
10164 "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
10165 "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
10166 "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
10167 "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
10168 "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
10169 "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
10170 "\xed\xce\x0\x19\xe\x16\x2\x6e"
10171 "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
10172 "\x31\x51\xec\x47\xc3\x51\x83\xc1",
10173 .ctext = "\xb1\x98\xf2\xde\x3f\x4b\xae\xd1"
10174 "\xf0\xf1\x30\x4c\x1\x27\x5a\x8f"
10175 "\x45\xe1\x39\xb7\xae\xff\x1f\x27"
10176 "\xad\x57\x15\xab\x31\x5d\xc\xef"
10177 "\x8c\xc8\x80\xbd\x11\x98\xf3\x7b"
10178 "\xa2\xdd\x14\x20\xf9\xe8\xbb\x82"
10179 "\xf7\x32\xca\x4b\xa8\xf7\xb3\x4d"
10180 "\x27\xd1\xcd\xe6\xb6\x65\x5a\x23"
10181 "\xc2\xf3\x54\x84\x53\xe3\xb9\x20"
10182 "\xa5\x37\x0\xbe\xe7\x7b\x48\xfb"
10183 "\x21\x3d\x9e\x48\x1d\x9e\xf5\xbf"
10184 "\x77\xd5\xb4\x4a\x53\x71\x94\x7a"
10185 "\x88\xa6\x6e\x6\x93\xca\x43\xa5"
10186 "\xc4\xf6\xcd\x53\x4b\x7b\x8e\xfe"
10187 "\xb4\x28\x7c\x42\x29\x32\x5d\x88"
10188 "\xed\xce\x0\x19\xe\x16\x2\x6e"
10189 "\x87\xff\x2c\xac\xe8\xe7\xe9\xbf"
10190 "\x31\x51\xec\x47\xc3\x51\x83\xc1"
10191 "\x59\x52\x98\xc7\xc6\xfd\x27\x1f"
10192 "\x4\x2\xf8\x4\xc3\x3d\x3f\x66",
10193 .len = 160
10194 }, { /* A.2.1.1 SM4-ECB Example 1 */
10195 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
10196 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
10197 .klen = 16,
10198 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
10199 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
10200 "\xee\xee\xee\xee\xff\xff\xff\xff"
10201 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
10202 .ctext = "\x5e\xc8\x14\x3d\xe5\x09\xcf\xf7"
10203 "\xb5\x17\x9f\x8f\x47\x4b\x86\x19"
10204 "\x2f\x1d\x30\x5a\x7f\xb1\x7d\xf9"
10205 "\x85\xf8\x1c\x84\x82\x19\x23\x04",
10206 .len = 32,
10207 }, { /* A.2.1.2 SM4-ECB Example 2 */
10208 .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
10209 "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
10210 .klen = 16,
10211 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
10212 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
10213 "\xee\xee\xee\xee\xff\xff\xff\xff"
10214 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
10215 .ctext = "\xC5\x87\x68\x97\xE4\xA5\x9B\xBB"
10216 "\xA7\x2A\x10\xC8\x38\x72\x24\x5B"
10217 "\x12\xDD\x90\xBC\x2D\x20\x06\x92"
10218 "\xB5\x29\xA4\x15\x5A\xC9\xE6\x00",
10219 .len = 32,
10223 static const struct cipher_testvec sm4_cbc_tv_template[] = {
10224 { /* A.2.2.1 SM4-CBC Example 1 */
10225 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
10226 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
10227 .klen = 16,
10228 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
10229 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
10230 "\xee\xee\xee\xee\xff\xff\xff\xff"
10231 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
10232 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
10233 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
10234 .ctext = "\x78\xEB\xB1\x1C\xC4\x0B\x0A\x48"
10235 "\x31\x2A\xAE\xB2\x04\x02\x44\xCB"
10236 "\x4C\xB7\x01\x69\x51\x90\x92\x26"
10237 "\x97\x9B\x0D\x15\xDC\x6A\x8F\x6D",
10238 .len = 32,
10239 }, { /* A.2.2.2 SM4-CBC Example 2 */
10240 .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
10241 "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
10242 .klen = 16,
10243 .ptext = "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb"
10244 "\xcc\xcc\xcc\xcc\xdd\xdd\xdd\xdd"
10245 "\xee\xee\xee\xee\xff\xff\xff\xff"
10246 "\xaa\xaa\xaa\xaa\xbb\xbb\xbb\xbb",
10247 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
10248 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
10249 .ctext = "\x0d\x3a\x6d\xdc\x2d\x21\xc6\x98"
10250 "\x85\x72\x15\x58\x7b\x7b\xb5\x9a"
10251 "\x91\xf2\xc1\x47\x91\x1a\x41\x44"
10252 "\x66\x5e\x1f\xa1\xd4\x0b\xae\x38",
10253 .len = 32,
10257 static const struct cipher_testvec sm4_ctr_tv_template[] = {
10258 { /* A.2.5.1 SM4-CTR Example 1 */
10259 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
10260 "\xFE\xDC\xBA\x98\x76\x54\x32\x10",
10261 .klen = 16,
10262 .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
10263 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
10264 "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
10265 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
10266 "\xee\xee\xee\xee\xee\xee\xee\xee"
10267 "\xff\xff\xff\xff\xff\xff\xff\xff"
10268 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
10269 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
10270 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
10271 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
10272 .ctext = "\xac\x32\x36\xcb\x97\x0c\xc2\x07"
10273 "\x91\x36\x4c\x39\x5a\x13\x42\xd1"
10274 "\xa3\xcb\xc1\x87\x8c\x6f\x30\xcd"
10275 "\x07\x4c\xce\x38\x5c\xdd\x70\xc7"
10276 "\xf2\x34\xbc\x0e\x24\xc1\x19\x80"
10277 "\xfd\x12\x86\x31\x0c\xe3\x7b\x92"
10278 "\x6e\x02\xfc\xd0\xfa\xa0\xba\xf3"
10279 "\x8b\x29\x33\x85\x1d\x82\x45\x14",
10280 .len = 64,
10281 }, { /* A.2.5.2 SM4-CTR Example 2 */
10282 .key = "\xFE\xDC\xBA\x98\x76\x54\x32\x10"
10283 "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
10284 .klen = 16,
10285 .ptext = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
10286 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb"
10287 "\xcc\xcc\xcc\xcc\xcc\xcc\xcc\xcc"
10288 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
10289 "\xee\xee\xee\xee\xee\xee\xee\xee"
10290 "\xff\xff\xff\xff\xff\xff\xff\xff"
10291 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
10292 "\xbb\xbb\xbb\xbb\xbb\xbb\xbb\xbb",
10293 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
10294 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
10295 .ctext = "\x5d\xcc\xcd\x25\xb9\x5a\xb0\x74"
10296 "\x17\xa0\x85\x12\xee\x16\x0e\x2f"
10297 "\x8f\x66\x15\x21\xcb\xba\xb4\x4c"
10298 "\xc8\x71\x38\x44\x5b\xc2\x9e\x5c"
10299 "\x0a\xe0\x29\x72\x05\xd6\x27\x04"
10300 "\x17\x3b\x21\x23\x9b\x88\x7f\x6c"
10301 "\x8c\xb5\xb8\x00\x91\x7a\x24\x88"
10302 "\x28\x4b\xde\x9e\x16\xea\x29\x06",
10303 .len = 64,
10307 /* Cast6 test vectors from RFC 2612 */
10308 static const struct cipher_testvec cast6_tv_template[] = {
10310 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
10311 "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
10312 .klen = 16,
10313 .ptext = zeroed_string,
10314 .ctext = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
10315 "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
10316 .len = 16,
10317 }, {
10318 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
10319 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
10320 "\xba\xc7\x7a\x77\x17\x94\x28\x63",
10321 .klen = 24,
10322 .ptext = zeroed_string,
10323 .ctext = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
10324 "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
10325 .len = 16,
10326 }, {
10327 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
10328 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
10329 "\x8d\x7c\x47\xce\x26\x49\x08\x46"
10330 "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
10331 .klen = 32,
10332 .ptext = zeroed_string,
10333 .ctext = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
10334 "\xc9\x87\x01\x36\x55\x33\x17\xfa",
10335 .len = 16,
10336 }, { /* Generated from TF test vectors */
10337 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10338 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10339 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10340 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10341 .klen = 32,
10342 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10343 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
10344 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10345 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10346 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10347 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10348 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10349 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10350 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10351 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10352 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10353 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10354 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10355 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10356 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10357 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10358 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10359 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10360 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10361 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10362 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10363 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10364 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10365 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10366 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10367 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10368 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10369 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10370 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10371 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10372 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10373 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10374 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10375 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10376 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10377 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10378 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10379 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10380 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10381 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10382 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10383 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10384 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10385 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10386 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10387 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10388 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10389 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10390 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10391 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10392 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10393 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10394 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10395 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10396 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10397 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10398 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10399 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10400 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10401 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10402 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10403 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10404 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10405 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10406 .ctext = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
10407 "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
10408 "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
10409 "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
10410 "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
10411 "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
10412 "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
10413 "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
10414 "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
10415 "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
10416 "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
10417 "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
10418 "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
10419 "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
10420 "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
10421 "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
10422 "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
10423 "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
10424 "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
10425 "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
10426 "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
10427 "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
10428 "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
10429 "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
10430 "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
10431 "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
10432 "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
10433 "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
10434 "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
10435 "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
10436 "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
10437 "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
10438 "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
10439 "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
10440 "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
10441 "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
10442 "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
10443 "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
10444 "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
10445 "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
10446 "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
10447 "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
10448 "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
10449 "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
10450 "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
10451 "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
10452 "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
10453 "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
10454 "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
10455 "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
10456 "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
10457 "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
10458 "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
10459 "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
10460 "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
10461 "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
10462 "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
10463 "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
10464 "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
10465 "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
10466 "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
10467 "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
10468 .len = 496,
10469 .also_non_np = 1,
10470 .np = 3,
10471 .tap = { 496 - 20, 4, 16 },
10475 static const struct cipher_testvec cast6_cbc_tv_template[] = {
10476 { /* Generated from TF test vectors */
10477 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10478 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10479 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10480 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10481 .klen = 32,
10482 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10483 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
10484 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10485 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10486 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10487 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10488 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10489 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10490 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10491 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10492 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10493 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10494 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10495 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10496 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10497 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10498 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10499 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10500 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10501 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10502 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10503 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10504 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10505 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10506 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10507 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10508 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10509 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10510 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10511 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10512 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10513 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10514 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10515 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10516 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10517 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10518 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10519 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10520 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10521 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10522 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10523 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10524 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10525 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10526 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10527 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10528 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10529 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10530 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10531 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10532 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10533 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10534 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10535 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10536 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10537 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10538 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10539 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10540 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10541 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10542 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10543 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10544 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10545 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10546 .ctext = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
10547 "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
10548 "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
10549 "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
10550 "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
10551 "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
10552 "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
10553 "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
10554 "\x57\x95\xE1\x21\x26\x10\x9A\x21"
10555 "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
10556 "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
10557 "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
10558 "\x23\x16\x47\x72\x81\x13\x3A\x72"
10559 "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
10560 "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
10561 "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
10562 "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
10563 "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
10564 "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
10565 "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
10566 "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
10567 "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
10568 "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
10569 "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
10570 "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
10571 "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
10572 "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
10573 "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
10574 "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
10575 "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
10576 "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
10577 "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
10578 "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
10579 "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
10580 "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
10581 "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
10582 "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
10583 "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
10584 "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
10585 "\x73\x3F\x12\x91\x47\x54\xBA\x39"
10586 "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
10587 "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
10588 "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
10589 "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
10590 "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
10591 "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
10592 "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
10593 "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
10594 "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
10595 "\x80\x21\x83\x58\x3C\x76\xFD\x28"
10596 "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
10597 "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
10598 "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
10599 "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
10600 "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
10601 "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
10602 "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
10603 "\x56\x4D\x82\x62\x37\xA3\x48\x01"
10604 "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
10605 "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
10606 "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
10607 "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
10608 .len = 496,
10609 .also_non_np = 1,
10610 .np = 3,
10611 .tap = { 496 - 20, 4, 16 },
10615 static const struct cipher_testvec cast6_ctr_tv_template[] = {
10616 { /* Generated from TF test vectors */
10617 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10618 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10619 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10620 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10621 .klen = 32,
10622 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10623 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
10624 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10625 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10626 "\x3A",
10627 .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
10628 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
10629 "\x57",
10630 .len = 17,
10631 }, { /* Generated from TF test vectors */
10632 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10633 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10634 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10635 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10636 .klen = 32,
10637 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
10638 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
10639 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10640 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10641 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10642 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10643 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10644 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10645 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10646 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10647 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10648 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10649 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10650 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10651 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10652 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10653 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10654 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10655 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10656 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10657 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10658 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10659 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10660 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10661 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10662 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10663 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10664 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10665 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10666 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10667 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10668 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10669 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10670 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10671 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10672 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10673 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10674 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10675 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10676 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10677 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10678 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10679 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10680 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10681 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10682 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10683 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10684 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10685 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10686 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10687 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10688 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10689 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10690 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10691 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10692 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10693 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10694 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10695 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10696 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10697 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10698 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10699 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10700 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10701 .ctext = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
10702 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
10703 "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
10704 "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
10705 "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
10706 "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
10707 "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
10708 "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
10709 "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
10710 "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
10711 "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
10712 "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
10713 "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
10714 "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
10715 "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
10716 "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
10717 "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
10718 "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
10719 "\x49\x61\x22\x52\x64\x8C\x46\x41"
10720 "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
10721 "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
10722 "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
10723 "\x00\x14\x15\x59\xC1\x30\x64\xAF"
10724 "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
10725 "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
10726 "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
10727 "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
10728 "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
10729 "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
10730 "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
10731 "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
10732 "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
10733 "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
10734 "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
10735 "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
10736 "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
10737 "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
10738 "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
10739 "\x60\x40\x38\x90\x20\x46\xC7\xB3"
10740 "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
10741 "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
10742 "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
10743 "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
10744 "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
10745 "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
10746 "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
10747 "\x73\xFC\x91\xAB\x79\x41\x23\x14"
10748 "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
10749 "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
10750 "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
10751 "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
10752 "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
10753 "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
10754 "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
10755 "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
10756 "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
10757 "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
10758 "\x19\x35\x88\x22\x45\x59\x0E\x8F"
10759 "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
10760 "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
10761 "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
10762 "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
10763 .len = 496,
10764 .also_non_np = 1,
10765 .np = 3,
10766 .tap = { 496 - 20, 4, 16 },
10770 static const struct cipher_testvec cast6_lrw_tv_template[] = {
10771 { /* Generated from TF test vectors */
10772 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10773 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10774 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10775 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10776 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10777 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10778 .klen = 48,
10779 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10780 "\x00\x00\x00\x00\x00\x00\x00\x01",
10781 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
10782 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
10783 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
10784 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
10785 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
10786 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
10787 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
10788 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
10789 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
10790 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
10791 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
10792 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
10793 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
10794 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
10795 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
10796 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
10797 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
10798 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
10799 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
10800 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
10801 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
10802 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
10803 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
10804 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
10805 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
10806 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
10807 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
10808 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
10809 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
10810 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
10811 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
10812 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
10813 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
10814 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
10815 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
10816 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
10817 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
10818 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
10819 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
10820 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
10821 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
10822 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
10823 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
10824 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
10825 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
10826 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
10827 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
10828 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
10829 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
10830 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
10831 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
10832 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
10833 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
10834 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
10835 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
10836 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
10837 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
10838 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
10839 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
10840 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
10841 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
10842 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
10843 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
10844 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
10845 .ctext = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
10846 "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
10847 "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
10848 "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
10849 "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
10850 "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
10851 "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
10852 "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
10853 "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
10854 "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
10855 "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
10856 "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
10857 "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
10858 "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
10859 "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
10860 "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
10861 "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
10862 "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
10863 "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
10864 "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
10865 "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
10866 "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
10867 "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
10868 "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
10869 "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
10870 "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
10871 "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
10872 "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
10873 "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
10874 "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
10875 "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
10876 "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
10877 "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
10878 "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
10879 "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
10880 "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
10881 "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
10882 "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
10883 "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
10884 "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
10885 "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
10886 "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
10887 "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
10888 "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
10889 "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
10890 "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
10891 "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
10892 "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
10893 "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
10894 "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
10895 "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
10896 "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
10897 "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
10898 "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
10899 "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
10900 "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
10901 "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
10902 "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
10903 "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
10904 "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
10905 "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
10906 "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
10907 "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
10908 "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
10909 .len = 512,
10910 .also_non_np = 1,
10911 .np = 3,
10912 .tap = { 512 - 20, 4, 16 },
10916 static const struct cipher_testvec cast6_xts_tv_template[] = {
10917 { /* Generated from TF test vectors */
10918 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
10919 "\x23\x53\x60\x28\x74\x71\x35\x26"
10920 "\x62\x49\x77\x57\x24\x70\x93\x69"
10921 "\x99\x59\x57\x49\x66\x96\x76\x27"
10922 "\x31\x41\x59\x26\x53\x58\x97\x93"
10923 "\x23\x84\x62\x64\x33\x83\x27\x95"
10924 "\x02\x88\x41\x97\x16\x93\x99\x37"
10925 "\x51\x05\x82\x09\x74\x94\x45\x92",
10926 .klen = 64,
10927 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
10928 "\x00\x00\x00\x00\x00\x00\x00\x00",
10929 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
10930 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10931 "\x10\x11\x12\x13\x14\x15\x16\x17"
10932 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10933 "\x20\x21\x22\x23\x24\x25\x26\x27"
10934 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10935 "\x30\x31\x32\x33\x34\x35\x36\x37"
10936 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10937 "\x40\x41\x42\x43\x44\x45\x46\x47"
10938 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10939 "\x50\x51\x52\x53\x54\x55\x56\x57"
10940 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10941 "\x60\x61\x62\x63\x64\x65\x66\x67"
10942 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10943 "\x70\x71\x72\x73\x74\x75\x76\x77"
10944 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10945 "\x80\x81\x82\x83\x84\x85\x86\x87"
10946 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10947 "\x90\x91\x92\x93\x94\x95\x96\x97"
10948 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10949 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10950 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10951 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10952 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10953 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10954 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10955 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10956 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10957 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10958 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10959 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10960 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10961 "\x00\x01\x02\x03\x04\x05\x06\x07"
10962 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10963 "\x10\x11\x12\x13\x14\x15\x16\x17"
10964 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10965 "\x20\x21\x22\x23\x24\x25\x26\x27"
10966 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10967 "\x30\x31\x32\x33\x34\x35\x36\x37"
10968 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10969 "\x40\x41\x42\x43\x44\x45\x46\x47"
10970 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10971 "\x50\x51\x52\x53\x54\x55\x56\x57"
10972 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10973 "\x60\x61\x62\x63\x64\x65\x66\x67"
10974 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10975 "\x70\x71\x72\x73\x74\x75\x76\x77"
10976 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10977 "\x80\x81\x82\x83\x84\x85\x86\x87"
10978 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10979 "\x90\x91\x92\x93\x94\x95\x96\x97"
10980 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10981 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10982 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10983 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10984 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10985 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10986 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10987 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10988 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10989 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10990 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10991 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10992 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10993 .ctext = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
10994 "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
10995 "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
10996 "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
10997 "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
10998 "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
10999 "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
11000 "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
11001 "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
11002 "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
11003 "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
11004 "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
11005 "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
11006 "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
11007 "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
11008 "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
11009 "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
11010 "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
11011 "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
11012 "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
11013 "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
11014 "\x71\x38\x17\x91\x44\xE8\xFC\x65"
11015 "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
11016 "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
11017 "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
11018 "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
11019 "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
11020 "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
11021 "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
11022 "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
11023 "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
11024 "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
11025 "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
11026 "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
11027 "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
11028 "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
11029 "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
11030 "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
11031 "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
11032 "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
11033 "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
11034 "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
11035 "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
11036 "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
11037 "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
11038 "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
11039 "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
11040 "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
11041 "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
11042 "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
11043 "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
11044 "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
11045 "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
11046 "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
11047 "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
11048 "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
11049 "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
11050 "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
11051 "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
11052 "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
11053 "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
11054 "\x45\x72\x80\x17\x81\xBD\x9D\x62"
11055 "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
11056 "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
11057 .len = 512,
11058 .also_non_np = 1,
11059 .np = 3,
11060 .tap = { 512 - 20, 4, 16 },
11065 * AES test vectors.
11067 static const struct cipher_testvec aes_tv_template[] = {
11068 { /* From FIPS-197 */
11069 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
11070 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11071 .klen = 16,
11072 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
11073 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
11074 .ctext = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
11075 "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
11076 .len = 16,
11077 }, {
11078 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
11079 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11080 "\x10\x11\x12\x13\x14\x15\x16\x17",
11081 .klen = 24,
11082 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
11083 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
11084 .ctext = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
11085 "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
11086 .len = 16,
11087 }, {
11088 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
11089 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11090 "\x10\x11\x12\x13\x14\x15\x16\x17"
11091 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11092 .klen = 32,
11093 .ptext = "\x00\x11\x22\x33\x44\x55\x66\x77"
11094 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
11095 .ctext = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
11096 "\xea\xfc\x49\x90\x4b\x49\x60\x89",
11097 .len = 16,
11098 }, { /* Generated with Crypto++ */
11099 .key = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
11100 "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
11101 "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
11102 "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
11103 .klen = 32,
11104 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
11105 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
11106 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
11107 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
11108 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
11109 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
11110 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
11111 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
11112 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
11113 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
11114 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
11115 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
11116 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
11117 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
11118 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
11119 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
11120 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
11121 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
11122 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
11123 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
11124 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
11125 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
11126 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
11127 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
11128 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
11129 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
11130 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
11131 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
11132 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
11133 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
11134 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
11135 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
11136 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
11137 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
11138 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
11139 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
11140 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
11141 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
11142 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
11143 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
11144 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
11145 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
11146 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
11147 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
11148 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
11149 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
11150 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
11151 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
11152 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
11153 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
11154 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
11155 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
11156 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
11157 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
11158 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
11159 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
11160 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
11161 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
11162 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
11163 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
11164 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
11165 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
11166 .ctext = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
11167 "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
11168 "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
11169 "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
11170 "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
11171 "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
11172 "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
11173 "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
11174 "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
11175 "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
11176 "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
11177 "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
11178 "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
11179 "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
11180 "\x41\x72\x51\x97\x1D\x07\x49\xA0"
11181 "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
11182 "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
11183 "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
11184 "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
11185 "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
11186 "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
11187 "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
11188 "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
11189 "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
11190 "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
11191 "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
11192 "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
11193 "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
11194 "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
11195 "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
11196 "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
11197 "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
11198 "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
11199 "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
11200 "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
11201 "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
11202 "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
11203 "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
11204 "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
11205 "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
11206 "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
11207 "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
11208 "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
11209 "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
11210 "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
11211 "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
11212 "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
11213 "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
11214 "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
11215 "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
11216 "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
11217 "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
11218 "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
11219 "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
11220 "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
11221 "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
11222 "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
11223 "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
11224 "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
11225 "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
11226 "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
11227 "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
11228 .len = 496,
11229 .also_non_np = 1,
11230 .np = 3,
11231 .tap = { 496 - 20, 4, 16 },
11235 static const struct cipher_testvec aes_cbc_tv_template[] = {
11236 { /* From RFC 3602 */
11237 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
11238 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
11239 .klen = 16,
11240 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
11241 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
11242 .ptext = "Single block msg",
11243 .ctext = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
11244 "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
11245 .len = 16,
11246 .also_non_np = 1,
11247 .np = 8,
11248 .tap = { 3, 2, 3, 2, 3, 1, 1, 1 },
11249 }, {
11250 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
11251 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
11252 .klen = 16,
11253 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
11254 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
11255 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
11256 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11257 "\x10\x11\x12\x13\x14\x15\x16\x17"
11258 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11259 .ctext = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
11260 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
11261 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
11262 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
11263 .len = 32,
11264 }, { /* From NIST SP800-38A */
11265 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
11266 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
11267 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
11268 .klen = 24,
11269 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
11270 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11271 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
11272 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
11273 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
11274 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
11275 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
11276 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
11277 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
11278 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
11279 .ctext = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
11280 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
11281 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
11282 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
11283 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
11284 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
11285 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
11286 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
11287 .len = 64,
11288 }, {
11289 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
11290 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
11291 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
11292 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
11293 .klen = 32,
11294 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
11295 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11296 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
11297 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
11298 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
11299 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
11300 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
11301 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
11302 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
11303 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
11304 .ctext = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
11305 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
11306 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
11307 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
11308 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
11309 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
11310 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
11311 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
11312 .len = 64,
11313 }, { /* Generated with Crypto++ */
11314 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
11315 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
11316 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
11317 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
11318 .klen = 32,
11319 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
11320 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
11321 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
11322 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
11323 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
11324 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
11325 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
11326 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
11327 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
11328 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
11329 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
11330 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
11331 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
11332 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
11333 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
11334 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
11335 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
11336 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
11337 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
11338 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
11339 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
11340 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
11341 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
11342 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
11343 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
11344 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
11345 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
11346 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
11347 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
11348 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
11349 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
11350 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
11351 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
11352 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
11353 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
11354 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
11355 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
11356 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
11357 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
11358 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
11359 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
11360 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
11361 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
11362 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
11363 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
11364 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
11365 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
11366 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
11367 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
11368 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
11369 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
11370 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
11371 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
11372 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
11373 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
11374 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
11375 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
11376 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
11377 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
11378 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
11379 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
11380 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
11381 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
11382 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
11383 .ctext = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
11384 "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
11385 "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
11386 "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
11387 "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
11388 "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
11389 "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
11390 "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
11391 "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
11392 "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
11393 "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
11394 "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
11395 "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
11396 "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
11397 "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
11398 "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
11399 "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
11400 "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
11401 "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
11402 "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
11403 "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
11404 "\x16\x24\x02\x07\x48\xAE\xF2\x31"
11405 "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
11406 "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
11407 "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
11408 "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
11409 "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
11410 "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
11411 "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
11412 "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
11413 "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
11414 "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
11415 "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
11416 "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
11417 "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
11418 "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
11419 "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
11420 "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
11421 "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
11422 "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
11423 "\x22\x39\x7B\x16\x03\x01\x69\xAF"
11424 "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
11425 "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
11426 "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
11427 "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
11428 "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
11429 "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
11430 "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
11431 "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
11432 "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
11433 "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
11434 "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
11435 "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
11436 "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
11437 "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
11438 "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
11439 "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
11440 "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
11441 "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
11442 "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
11443 "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
11444 "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
11445 .len = 496,
11446 .also_non_np = 1,
11447 .np = 3,
11448 .tap = { 496 - 20, 4, 16 },
11452 static const struct aead_testvec hmac_md5_ecb_cipher_null_enc_tv_template[] = {
11453 { /* Input data from RFC 2410 Case 1 */
11454 #ifdef __LITTLE_ENDIAN
11455 .key = "\x08\x00" /* rta length */
11456 "\x01\x00" /* rta type */
11457 #else
11458 .key = "\x00\x08" /* rta length */
11459 "\x00\x01" /* rta type */
11460 #endif
11461 "\x00\x00\x00\x00" /* enc key length */
11462 "\x00\x00\x00\x00\x00\x00\x00\x00"
11463 "\x00\x00\x00\x00\x00\x00\x00\x00",
11464 .klen = 8 + 16 + 0,
11465 .iv = "",
11466 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11467 .ilen = 8,
11468 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
11469 "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
11470 "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
11471 .rlen = 8 + 16,
11472 }, { /* Input data from RFC 2410 Case 2 */
11473 #ifdef __LITTLE_ENDIAN
11474 .key = "\x08\x00" /* rta length */
11475 "\x01\x00" /* rta type */
11476 #else
11477 .key = "\x00\x08" /* rta length */
11478 "\x00\x01" /* rta type */
11479 #endif
11480 "\x00\x00\x00\x00" /* enc key length */
11481 "\x00\x00\x00\x00\x00\x00\x00\x00"
11482 "\x00\x00\x00\x00\x00\x00\x00\x00",
11483 .klen = 8 + 16 + 0,
11484 .iv = "",
11485 .input = "Network Security People Have A Strange Sense Of Humor",
11486 .ilen = 53,
11487 .result = "Network Security People Have A Strange Sense Of Humor"
11488 "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
11489 "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
11490 .rlen = 53 + 16,
11494 static const struct aead_testvec hmac_md5_ecb_cipher_null_dec_tv_template[] = {
11496 #ifdef __LITTLE_ENDIAN
11497 .key = "\x08\x00" /* rta length */
11498 "\x01\x00" /* rta type */
11499 #else
11500 .key = "\x00\x08" /* rta length */
11501 "\x00\x01" /* rta type */
11502 #endif
11503 "\x00\x00\x00\x00" /* enc key length */
11504 "\x00\x00\x00\x00\x00\x00\x00\x00"
11505 "\x00\x00\x00\x00\x00\x00\x00\x00",
11506 .klen = 8 + 16 + 0,
11507 .iv = "",
11508 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef"
11509 "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
11510 "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
11511 .ilen = 8 + 16,
11512 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11513 .rlen = 8,
11514 }, {
11515 #ifdef __LITTLE_ENDIAN
11516 .key = "\x08\x00" /* rta length */
11517 "\x01\x00" /* rta type */
11518 #else
11519 .key = "\x00\x08" /* rta length */
11520 "\x00\x01" /* rta type */
11521 #endif
11522 "\x00\x00\x00\x00" /* enc key length */
11523 "\x00\x00\x00\x00\x00\x00\x00\x00"
11524 "\x00\x00\x00\x00\x00\x00\x00\x00",
11525 .klen = 8 + 16 + 0,
11526 .iv = "",
11527 .input = "Network Security People Have A Strange Sense Of Humor"
11528 "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
11529 "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
11530 .ilen = 53 + 16,
11531 .result = "Network Security People Have A Strange Sense Of Humor",
11532 .rlen = 53,
11536 static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
11537 { /* RFC 3602 Case 1 */
11538 #ifdef __LITTLE_ENDIAN
11539 .key = "\x08\x00" /* rta length */
11540 "\x01\x00" /* rta type */
11541 #else
11542 .key = "\x00\x08" /* rta length */
11543 "\x00\x01" /* rta type */
11544 #endif
11545 "\x00\x00\x00\x10" /* enc key length */
11546 "\x00\x00\x00\x00\x00\x00\x00\x00"
11547 "\x00\x00\x00\x00\x00\x00\x00\x00"
11548 "\x00\x00\x00\x00"
11549 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
11550 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
11551 .klen = 8 + 20 + 16,
11552 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
11553 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
11554 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
11555 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
11556 .alen = 16,
11557 .input = "Single block msg",
11558 .ilen = 16,
11559 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
11560 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
11561 "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
11562 "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
11563 "\x03\x71\xa2\x06",
11564 .rlen = 16 + 20,
11565 }, { /* RFC 3602 Case 2 */
11566 #ifdef __LITTLE_ENDIAN
11567 .key = "\x08\x00" /* rta length */
11568 "\x01\x00" /* rta type */
11569 #else
11570 .key = "\x00\x08" /* rta length */
11571 "\x00\x01" /* rta type */
11572 #endif
11573 "\x00\x00\x00\x10" /* enc key length */
11574 "\x20\x21\x22\x23\x24\x25\x26\x27"
11575 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11576 "\x30\x31\x32\x33"
11577 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
11578 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
11579 .klen = 8 + 20 + 16,
11580 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
11581 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
11582 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
11583 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
11584 .alen = 16,
11585 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
11586 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11587 "\x10\x11\x12\x13\x14\x15\x16\x17"
11588 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11589 .ilen = 32,
11590 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
11591 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
11592 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
11593 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
11594 "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
11595 "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
11596 "\x65\x39\xf8\xde",
11597 .rlen = 32 + 20,
11598 }, { /* RFC 3602 Case 3 */
11599 #ifdef __LITTLE_ENDIAN
11600 .key = "\x08\x00" /* rta length */
11601 "\x01\x00" /* rta type */
11602 #else
11603 .key = "\x00\x08" /* rta length */
11604 "\x00\x01" /* rta type */
11605 #endif
11606 "\x00\x00\x00\x10" /* enc key length */
11607 "\x11\x22\x33\x44\x55\x66\x77\x88"
11608 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
11609 "\x22\x33\x44\x55"
11610 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
11611 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
11612 .klen = 8 + 20 + 16,
11613 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
11614 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
11615 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
11616 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
11617 .alen = 16,
11618 .input = "This is a 48-byte message (exactly 3 AES blocks)",
11619 .ilen = 48,
11620 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
11621 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
11622 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
11623 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
11624 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
11625 "\x85\x79\x69\x5d\x83\xba\x26\x84"
11626 "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
11627 "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
11628 "\x8d\x62\xf2\x1e",
11629 .rlen = 48 + 20,
11630 }, { /* RFC 3602 Case 4 */
11631 #ifdef __LITTLE_ENDIAN
11632 .key = "\x08\x00" /* rta length */
11633 "\x01\x00" /* rta type */
11634 #else
11635 .key = "\x00\x08" /* rta length */
11636 "\x00\x01" /* rta type */
11637 #endif
11638 "\x00\x00\x00\x10" /* enc key length */
11639 "\x11\x22\x33\x44\x55\x66\x77\x88"
11640 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
11641 "\x22\x33\x44\x55"
11642 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
11643 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
11644 .klen = 8 + 20 + 16,
11645 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
11646 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
11647 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
11648 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
11649 .alen = 16,
11650 .input = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11651 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11652 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11653 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11654 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11655 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11656 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11657 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
11658 .ilen = 64,
11659 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
11660 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
11661 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
11662 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
11663 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
11664 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
11665 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
11666 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
11667 "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
11668 "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
11669 "\x1d\xbe\xc6\xe9",
11670 .rlen = 64 + 20,
11671 }, { /* RFC 3602 Case 5 */
11672 #ifdef __LITTLE_ENDIAN
11673 .key = "\x08\x00" /* rta length */
11674 "\x01\x00" /* rta type */
11675 #else
11676 .key = "\x00\x08" /* rta length */
11677 "\x00\x01" /* rta type */
11678 #endif
11679 "\x00\x00\x00\x10" /* enc key length */
11680 "\x11\x22\x33\x44\x55\x66\x77\x88"
11681 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
11682 "\x22\x33\x44\x55"
11683 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
11684 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
11685 .klen = 8 + 20 + 16,
11686 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
11687 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
11688 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
11689 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
11690 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
11691 .alen = 24,
11692 .input = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
11693 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
11694 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11695 "\x10\x11\x12\x13\x14\x15\x16\x17"
11696 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11697 "\x20\x21\x22\x23\x24\x25\x26\x27"
11698 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11699 "\x30\x31\x32\x33\x34\x35\x36\x37"
11700 "\x01\x02\x03\x04\x05\x06\x07\x08"
11701 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
11702 .ilen = 80,
11703 .result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
11704 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
11705 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
11706 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
11707 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
11708 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
11709 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
11710 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
11711 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
11712 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
11713 "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
11714 "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
11715 "\x85\xe1\x59\xf7",
11716 .rlen = 80 + 20,
11717 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
11718 #ifdef __LITTLE_ENDIAN
11719 .key = "\x08\x00" /* rta length */
11720 "\x01\x00" /* rta type */
11721 #else
11722 .key = "\x00\x08" /* rta length */
11723 "\x00\x01" /* rta type */
11724 #endif
11725 "\x00\x00\x00\x18" /* enc key length */
11726 "\x11\x22\x33\x44\x55\x66\x77\x88"
11727 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
11728 "\x22\x33\x44\x55"
11729 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
11730 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
11731 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
11732 .klen = 8 + 20 + 24,
11733 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
11734 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11735 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
11736 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11737 .alen = 16,
11738 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
11739 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
11740 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
11741 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
11742 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
11743 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
11744 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
11745 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
11746 .ilen = 64,
11747 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
11748 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
11749 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
11750 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
11751 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
11752 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
11753 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
11754 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
11755 "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
11756 "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
11757 "\x47\x4c\xfc\x36",
11758 .rlen = 64 + 20,
11759 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
11760 #ifdef __LITTLE_ENDIAN
11761 .key = "\x08\x00" /* rta length */
11762 "\x01\x00" /* rta type */
11763 #else
11764 .key = "\x00\x08" /* rta length */
11765 "\x00\x01" /* rta type */
11766 #endif
11767 "\x00\x00\x00\x20" /* enc key length */
11768 "\x11\x22\x33\x44\x55\x66\x77\x88"
11769 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
11770 "\x22\x33\x44\x55"
11771 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
11772 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
11773 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
11774 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
11775 .klen = 8 + 20 + 32,
11776 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
11777 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11778 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
11779 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11780 .alen = 16,
11781 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
11782 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
11783 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
11784 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
11785 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
11786 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
11787 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
11788 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
11789 .ilen = 64,
11790 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
11791 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
11792 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
11793 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
11794 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
11795 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
11796 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
11797 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
11798 "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
11799 "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
11800 "\x51\xee\xd6\x4e",
11801 .rlen = 64 + 20,
11805 static const struct aead_testvec hmac_sha1_ecb_cipher_null_enc_tv_temp[] = {
11806 { /* Input data from RFC 2410 Case 1 */
11807 #ifdef __LITTLE_ENDIAN
11808 .key = "\x08\x00" /* rta length */
11809 "\x01\x00" /* rta type */
11810 #else
11811 .key = "\x00\x08" /* rta length */
11812 "\x00\x01" /* rta type */
11813 #endif
11814 "\x00\x00\x00\x00" /* enc key length */
11815 "\x00\x00\x00\x00\x00\x00\x00\x00"
11816 "\x00\x00\x00\x00\x00\x00\x00\x00"
11817 "\x00\x00\x00\x00",
11818 .klen = 8 + 20 + 0,
11819 .iv = "",
11820 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11821 .ilen = 8,
11822 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
11823 "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
11824 "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
11825 "\x8c\x5e\xe4\x08",
11826 .rlen = 8 + 20,
11827 }, { /* Input data from RFC 2410 Case 2 */
11828 #ifdef __LITTLE_ENDIAN
11829 .key = "\x08\x00" /* rta length */
11830 "\x01\x00" /* rta type */
11831 #else
11832 .key = "\x00\x08" /* rta length */
11833 "\x00\x01" /* rta type */
11834 #endif
11835 "\x00\x00\x00\x00" /* enc key length */
11836 "\x00\x00\x00\x00\x00\x00\x00\x00"
11837 "\x00\x00\x00\x00\x00\x00\x00\x00"
11838 "\x00\x00\x00\x00",
11839 .klen = 8 + 20 + 0,
11840 .iv = "",
11841 .input = "Network Security People Have A Strange Sense Of Humor",
11842 .ilen = 53,
11843 .result = "Network Security People Have A Strange Sense Of Humor"
11844 "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
11845 "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
11846 "\x91\x56\xe4\xd6",
11847 .rlen = 53 + 20,
11851 static const struct aead_testvec hmac_sha1_ecb_cipher_null_dec_tv_temp[] = {
11853 #ifdef __LITTLE_ENDIAN
11854 .key = "\x08\x00" /* rta length */
11855 "\x01\x00" /* rta type */
11856 #else
11857 .key = "\x00\x08" /* rta length */
11858 "\x00\x01" /* rta type */
11859 #endif
11860 "\x00\x00\x00\x00" /* enc key length */
11861 "\x00\x00\x00\x00\x00\x00\x00\x00"
11862 "\x00\x00\x00\x00\x00\x00\x00\x00"
11863 "\x00\x00\x00\x00",
11864 .klen = 8 + 20 + 0,
11865 .iv = "",
11866 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef"
11867 "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
11868 "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
11869 "\x8c\x5e\xe4\x08",
11870 .ilen = 8 + 20,
11871 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
11872 .rlen = 8,
11873 }, {
11874 #ifdef __LITTLE_ENDIAN
11875 .key = "\x08\x00" /* rta length */
11876 "\x01\x00" /* rta type */
11877 #else
11878 .key = "\x00\x08" /* rta length */
11879 "\x00\x01" /* rta type */
11880 #endif
11881 "\x00\x00\x00\x00" /* enc key length */
11882 "\x00\x00\x00\x00\x00\x00\x00\x00"
11883 "\x00\x00\x00\x00\x00\x00\x00\x00"
11884 "\x00\x00\x00\x00",
11885 .klen = 8 + 20 + 0,
11886 .iv = "",
11887 .input = "Network Security People Have A Strange Sense Of Humor"
11888 "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
11889 "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
11890 "\x91\x56\xe4\xd6",
11891 .ilen = 53 + 20,
11892 .result = "Network Security People Have A Strange Sense Of Humor",
11893 .rlen = 53,
11897 static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
11898 { /* RFC 3602 Case 1 */
11899 #ifdef __LITTLE_ENDIAN
11900 .key = "\x08\x00" /* rta length */
11901 "\x01\x00" /* rta type */
11902 #else
11903 .key = "\x00\x08" /* rta length */
11904 "\x00\x01" /* rta type */
11905 #endif
11906 "\x00\x00\x00\x10" /* enc key length */
11907 "\x00\x00\x00\x00\x00\x00\x00\x00"
11908 "\x00\x00\x00\x00\x00\x00\x00\x00"
11909 "\x00\x00\x00\x00\x00\x00\x00\x00"
11910 "\x00\x00\x00\x00\x00\x00\x00\x00"
11911 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
11912 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
11913 .klen = 8 + 32 + 16,
11914 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
11915 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
11916 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
11917 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
11918 .alen = 16,
11919 .input = "Single block msg",
11920 .ilen = 16,
11921 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
11922 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
11923 "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
11924 "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
11925 "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
11926 "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
11927 .rlen = 16 + 32,
11928 }, { /* RFC 3602 Case 2 */
11929 #ifdef __LITTLE_ENDIAN
11930 .key = "\x08\x00" /* rta length */
11931 "\x01\x00" /* rta type */
11932 #else
11933 .key = "\x00\x08" /* rta length */
11934 "\x00\x01" /* rta type */
11935 #endif
11936 "\x00\x00\x00\x10" /* enc key length */
11937 "\x20\x21\x22\x23\x24\x25\x26\x27"
11938 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11939 "\x30\x31\x32\x33\x34\x35\x36\x37"
11940 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11941 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
11942 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
11943 .klen = 8 + 32 + 16,
11944 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
11945 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
11946 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
11947 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
11948 .alen = 16,
11949 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
11950 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11951 "\x10\x11\x12\x13\x14\x15\x16\x17"
11952 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11953 .ilen = 32,
11954 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
11955 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
11956 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
11957 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
11958 "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
11959 "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
11960 "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
11961 "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
11962 .rlen = 32 + 32,
11963 }, { /* RFC 3602 Case 3 */
11964 #ifdef __LITTLE_ENDIAN
11965 .key = "\x08\x00" /* rta length */
11966 "\x01\x00" /* rta type */
11967 #else
11968 .key = "\x00\x08" /* rta length */
11969 "\x00\x01" /* rta type */
11970 #endif
11971 "\x00\x00\x00\x10" /* enc key length */
11972 "\x11\x22\x33\x44\x55\x66\x77\x88"
11973 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
11974 "\x22\x33\x44\x55\x66\x77\x88\x99"
11975 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
11976 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
11977 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
11978 .klen = 8 + 32 + 16,
11979 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
11980 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
11981 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
11982 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
11983 .alen = 16,
11984 .input = "This is a 48-byte message (exactly 3 AES blocks)",
11985 .ilen = 48,
11986 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
11987 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
11988 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
11989 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
11990 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
11991 "\x85\x79\x69\x5d\x83\xba\x26\x84"
11992 "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
11993 "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
11994 "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
11995 "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
11996 .rlen = 48 + 32,
11997 }, { /* RFC 3602 Case 4 */
11998 #ifdef __LITTLE_ENDIAN
11999 .key = "\x08\x00" /* rta length */
12000 "\x01\x00" /* rta type */
12001 #else
12002 .key = "\x00\x08" /* rta length */
12003 "\x00\x01" /* rta type */
12004 #endif
12005 "\x00\x00\x00\x10" /* enc key length */
12006 "\x11\x22\x33\x44\x55\x66\x77\x88"
12007 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12008 "\x22\x33\x44\x55\x66\x77\x88\x99"
12009 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12010 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
12011 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
12012 .klen = 8 + 32 + 16,
12013 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
12014 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
12015 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
12016 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
12017 .alen = 16,
12018 .input = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12019 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12020 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12021 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12022 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12023 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12024 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12025 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
12026 .ilen = 64,
12027 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
12028 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
12029 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
12030 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
12031 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
12032 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
12033 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
12034 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
12035 "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
12036 "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
12037 "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
12038 "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
12039 .rlen = 64 + 32,
12040 }, { /* RFC 3602 Case 5 */
12041 #ifdef __LITTLE_ENDIAN
12042 .key = "\x08\x00" /* rta length */
12043 "\x01\x00" /* rta type */
12044 #else
12045 .key = "\x00\x08" /* rta length */
12046 "\x00\x01" /* rta type */
12047 #endif
12048 "\x00\x00\x00\x10" /* enc key length */
12049 "\x11\x22\x33\x44\x55\x66\x77\x88"
12050 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12051 "\x22\x33\x44\x55\x66\x77\x88\x99"
12052 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12053 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
12054 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
12055 .klen = 8 + 32 + 16,
12056 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
12057 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
12058 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
12059 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
12060 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
12061 .alen = 24,
12062 .input = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
12063 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
12064 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12065 "\x10\x11\x12\x13\x14\x15\x16\x17"
12066 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12067 "\x20\x21\x22\x23\x24\x25\x26\x27"
12068 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12069 "\x30\x31\x32\x33\x34\x35\x36\x37"
12070 "\x01\x02\x03\x04\x05\x06\x07\x08"
12071 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
12072 .ilen = 80,
12073 .result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
12074 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
12075 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
12076 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
12077 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
12078 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
12079 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
12080 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
12081 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
12082 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
12083 "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
12084 "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
12085 "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
12086 "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
12087 .rlen = 80 + 32,
12088 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
12089 #ifdef __LITTLE_ENDIAN
12090 .key = "\x08\x00" /* rta length */
12091 "\x01\x00" /* rta type */
12092 #else
12093 .key = "\x00\x08" /* rta length */
12094 "\x00\x01" /* rta type */
12095 #endif
12096 "\x00\x00\x00\x18" /* enc key length */
12097 "\x11\x22\x33\x44\x55\x66\x77\x88"
12098 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12099 "\x22\x33\x44\x55\x66\x77\x88\x99"
12100 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12101 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
12102 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
12103 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
12104 .klen = 8 + 32 + 24,
12105 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
12106 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12107 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
12108 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12109 .alen = 16,
12110 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
12111 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
12112 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
12113 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
12114 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
12115 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
12116 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
12117 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
12118 .ilen = 64,
12119 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
12120 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
12121 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
12122 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
12123 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
12124 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
12125 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
12126 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
12127 "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
12128 "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
12129 "\xca\x71\x85\x93\xf7\x85\x55\x8b"
12130 "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
12131 .rlen = 64 + 32,
12132 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
12133 #ifdef __LITTLE_ENDIAN
12134 .key = "\x08\x00" /* rta length */
12135 "\x01\x00" /* rta type */
12136 #else
12137 .key = "\x00\x08" /* rta length */
12138 "\x00\x01" /* rta type */
12139 #endif
12140 "\x00\x00\x00\x20" /* enc key length */
12141 "\x11\x22\x33\x44\x55\x66\x77\x88"
12142 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12143 "\x22\x33\x44\x55\x66\x77\x88\x99"
12144 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12145 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
12146 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
12147 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
12148 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
12149 .klen = 8 + 32 + 32,
12150 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
12151 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12152 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
12153 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12154 .alen = 16,
12155 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
12156 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
12157 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
12158 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
12159 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
12160 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
12161 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
12162 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
12163 .ilen = 64,
12164 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
12165 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
12166 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
12167 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
12168 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
12169 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
12170 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
12171 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
12172 "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
12173 "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
12174 "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
12175 "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
12176 .rlen = 64 + 32,
12180 static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
12181 { /* RFC 3602 Case 1 */
12182 #ifdef __LITTLE_ENDIAN
12183 .key = "\x08\x00" /* rta length */
12184 "\x01\x00" /* rta type */
12185 #else
12186 .key = "\x00\x08" /* rta length */
12187 "\x00\x01" /* rta type */
12188 #endif
12189 "\x00\x00\x00\x10" /* enc key length */
12190 "\x00\x00\x00\x00\x00\x00\x00\x00"
12191 "\x00\x00\x00\x00\x00\x00\x00\x00"
12192 "\x00\x00\x00\x00\x00\x00\x00\x00"
12193 "\x00\x00\x00\x00\x00\x00\x00\x00"
12194 "\x00\x00\x00\x00\x00\x00\x00\x00"
12195 "\x00\x00\x00\x00\x00\x00\x00\x00"
12196 "\x00\x00\x00\x00\x00\x00\x00\x00"
12197 "\x00\x00\x00\x00\x00\x00\x00\x00"
12198 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
12199 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
12200 .klen = 8 + 64 + 16,
12201 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
12202 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
12203 .assoc = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
12204 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
12205 .alen = 16,
12206 .input = "Single block msg",
12207 .ilen = 16,
12208 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
12209 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
12210 "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
12211 "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
12212 "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
12213 "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
12214 "\xec\xbd\x50\x08\x07\x64\x1a\x49"
12215 "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
12216 "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
12217 "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
12218 .rlen = 16 + 64,
12219 }, { /* RFC 3602 Case 2 */
12220 #ifdef __LITTLE_ENDIAN
12221 .key = "\x08\x00" /* rta length */
12222 "\x01\x00" /* rta type */
12223 #else
12224 .key = "\x00\x08" /* rta length */
12225 "\x00\x01" /* rta type */
12226 #endif
12227 "\x00\x00\x00\x10" /* enc key length */
12228 "\x20\x21\x22\x23\x24\x25\x26\x27"
12229 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12230 "\x30\x31\x32\x33\x34\x35\x36\x37"
12231 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12232 "\x40\x41\x42\x43\x44\x45\x46\x47"
12233 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12234 "\x50\x51\x52\x53\x54\x55\x56\x57"
12235 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12236 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
12237 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
12238 .klen = 8 + 64 + 16,
12239 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
12240 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
12241 .assoc = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
12242 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
12243 .alen = 16,
12244 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
12245 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12246 "\x10\x11\x12\x13\x14\x15\x16\x17"
12247 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
12248 .ilen = 32,
12249 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
12250 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
12251 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
12252 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
12253 "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
12254 "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
12255 "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
12256 "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
12257 "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
12258 "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
12259 "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
12260 "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
12261 .rlen = 32 + 64,
12262 }, { /* RFC 3602 Case 3 */
12263 #ifdef __LITTLE_ENDIAN
12264 .key = "\x08\x00" /* rta length */
12265 "\x01\x00" /* rta type */
12266 #else
12267 .key = "\x00\x08" /* rta length */
12268 "\x00\x01" /* rta type */
12269 #endif
12270 "\x00\x00\x00\x10" /* enc key length */
12271 "\x11\x22\x33\x44\x55\x66\x77\x88"
12272 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12273 "\x22\x33\x44\x55\x66\x77\x88\x99"
12274 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12275 "\x33\x44\x55\x66\x77\x88\x99\xaa"
12276 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
12277 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
12278 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
12279 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
12280 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
12281 .klen = 8 + 64 + 16,
12282 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
12283 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
12284 .assoc = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
12285 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
12286 .alen = 16,
12287 .input = "This is a 48-byte message (exactly 3 AES blocks)",
12288 .ilen = 48,
12289 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
12290 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
12291 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
12292 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
12293 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
12294 "\x85\x79\x69\x5d\x83\xba\x26\x84"
12295 "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
12296 "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
12297 "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
12298 "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
12299 "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
12300 "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
12301 "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
12302 "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
12303 .rlen = 48 + 64,
12304 }, { /* RFC 3602 Case 4 */
12305 #ifdef __LITTLE_ENDIAN
12306 .key = "\x08\x00" /* rta length */
12307 "\x01\x00" /* rta type */
12308 #else
12309 .key = "\x00\x08" /* rta length */
12310 "\x00\x01" /* rta type */
12311 #endif
12312 "\x00\x00\x00\x10" /* enc key length */
12313 "\x11\x22\x33\x44\x55\x66\x77\x88"
12314 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12315 "\x22\x33\x44\x55\x66\x77\x88\x99"
12316 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12317 "\x33\x44\x55\x66\x77\x88\x99\xaa"
12318 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
12319 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
12320 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
12321 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
12322 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
12323 .klen = 8 + 64 + 16,
12324 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
12325 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
12326 .assoc = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
12327 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
12328 .alen = 16,
12329 .input = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12330 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12331 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12332 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12333 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12334 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12335 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12336 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
12337 .ilen = 64,
12338 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
12339 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
12340 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
12341 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
12342 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
12343 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
12344 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
12345 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
12346 "\x82\xcd\x42\x28\x21\x20\x15\xcc"
12347 "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
12348 "\x61\x32\x82\x85\xcf\x27\xed\xb4"
12349 "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
12350 "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
12351 "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
12352 "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
12353 "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
12354 .rlen = 64 + 64,
12355 }, { /* RFC 3602 Case 5 */
12356 #ifdef __LITTLE_ENDIAN
12357 .key = "\x08\x00" /* rta length */
12358 "\x01\x00" /* rta type */
12359 #else
12360 .key = "\x00\x08" /* rta length */
12361 "\x00\x01" /* rta type */
12362 #endif
12363 "\x00\x00\x00\x10" /* enc key length */
12364 "\x11\x22\x33\x44\x55\x66\x77\x88"
12365 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12366 "\x22\x33\x44\x55\x66\x77\x88\x99"
12367 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12368 "\x33\x44\x55\x66\x77\x88\x99\xaa"
12369 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
12370 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
12371 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
12372 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
12373 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
12374 .klen = 8 + 64 + 16,
12375 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
12376 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
12377 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
12378 "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
12379 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
12380 .alen = 24,
12381 .input = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
12382 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
12383 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12384 "\x10\x11\x12\x13\x14\x15\x16\x17"
12385 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12386 "\x20\x21\x22\x23\x24\x25\x26\x27"
12387 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12388 "\x30\x31\x32\x33\x34\x35\x36\x37"
12389 "\x01\x02\x03\x04\x05\x06\x07\x08"
12390 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
12391 .ilen = 80,
12392 .result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
12393 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
12394 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
12395 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
12396 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
12397 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
12398 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
12399 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
12400 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
12401 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
12402 "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
12403 "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
12404 "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
12405 "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
12406 "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
12407 "\x92\x26\xc1\x76\x20\x11\xeb\xba"
12408 "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
12409 "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
12410 .rlen = 80 + 64,
12411 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
12412 #ifdef __LITTLE_ENDIAN
12413 .key = "\x08\x00" /* rta length */
12414 "\x01\x00" /* rta type */
12415 #else
12416 .key = "\x00\x08" /* rta length */
12417 "\x00\x01" /* rta type */
12418 #endif
12419 "\x00\x00\x00\x18" /* enc key length */
12420 "\x11\x22\x33\x44\x55\x66\x77\x88"
12421 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12422 "\x22\x33\x44\x55\x66\x77\x88\x99"
12423 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12424 "\x33\x44\x55\x66\x77\x88\x99\xaa"
12425 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
12426 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
12427 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
12428 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
12429 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
12430 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
12431 .klen = 8 + 64 + 24,
12432 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
12433 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12434 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
12435 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12436 .alen = 16,
12437 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
12438 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
12439 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
12440 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
12441 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
12442 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
12443 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
12444 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
12445 .ilen = 64,
12446 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
12447 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
12448 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
12449 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
12450 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
12451 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
12452 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
12453 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
12454 "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
12455 "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
12456 "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
12457 "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
12458 "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
12459 "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
12460 "\x8d\x43\x98\xa7\x94\x16\x07\x02"
12461 "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
12462 .rlen = 64 + 64,
12463 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
12464 #ifdef __LITTLE_ENDIAN
12465 .key = "\x08\x00" /* rta length */
12466 "\x01\x00" /* rta type */
12467 #else
12468 .key = "\x00\x08" /* rta length */
12469 "\x00\x01" /* rta type */
12470 #endif
12471 "\x00\x00\x00\x20" /* enc key length */
12472 "\x11\x22\x33\x44\x55\x66\x77\x88"
12473 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12474 "\x22\x33\x44\x55\x66\x77\x88\x99"
12475 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12476 "\x33\x44\x55\x66\x77\x88\x99\xaa"
12477 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
12478 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
12479 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
12480 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
12481 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
12482 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
12483 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
12484 .klen = 8 + 64 + 32,
12485 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
12486 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12487 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
12488 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12489 .alen = 16,
12490 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
12491 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
12492 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
12493 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
12494 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
12495 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
12496 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
12497 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
12498 .ilen = 64,
12499 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
12500 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
12501 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
12502 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
12503 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
12504 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
12505 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
12506 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
12507 "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
12508 "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
12509 "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
12510 "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
12511 "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
12512 "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
12513 "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
12514 "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
12515 .rlen = 64 + 64,
12519 static const struct aead_testvec hmac_sha1_des_cbc_enc_tv_temp[] = {
12520 { /*Generated with cryptopp*/
12521 #ifdef __LITTLE_ENDIAN
12522 .key = "\x08\x00" /* rta length */
12523 "\x01\x00" /* rta type */
12524 #else
12525 .key = "\x00\x08" /* rta length */
12526 "\x00\x01" /* rta type */
12527 #endif
12528 "\x00\x00\x00\x08" /* enc key length */
12529 "\x11\x22\x33\x44\x55\x66\x77\x88"
12530 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12531 "\x22\x33\x44\x55"
12532 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
12533 .klen = 8 + 20 + 8,
12534 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12535 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
12536 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12537 .alen = 16,
12538 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
12539 "\x53\x20\x63\x65\x65\x72\x73\x74"
12540 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
12541 "\x20\x79\x65\x53\x72\x63\x74\x65"
12542 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
12543 "\x79\x6e\x53\x20\x63\x65\x65\x72"
12544 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
12545 "\x6e\x61\x20\x79\x65\x53\x72\x63"
12546 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
12547 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
12548 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
12549 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
12550 "\x72\x63\x74\x65\x20\x73\x6f\x54"
12551 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
12552 "\x63\x65\x65\x72\x73\x74\x54\x20"
12553 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
12554 .ilen = 128,
12555 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
12556 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
12557 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
12558 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
12559 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
12560 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
12561 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
12562 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
12563 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
12564 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
12565 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
12566 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
12567 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
12568 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
12569 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
12570 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
12571 "\x95\x16\x20\x09\xf5\x95\x19\xfd"
12572 "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
12573 "\x5c\x44\xa9\x37",
12574 .rlen = 128 + 20,
12578 static const struct aead_testvec hmac_sha224_des_cbc_enc_tv_temp[] = {
12579 { /*Generated with cryptopp*/
12580 #ifdef __LITTLE_ENDIAN
12581 .key = "\x08\x00" /* rta length */
12582 "\x01\x00" /* rta type */
12583 #else
12584 .key = "\x00\x08" /* rta length */
12585 "\x00\x01" /* rta type */
12586 #endif
12587 "\x00\x00\x00\x08" /* enc key length */
12588 "\x11\x22\x33\x44\x55\x66\x77\x88"
12589 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12590 "\x22\x33\x44\x55\x66\x77\x88\x99"
12591 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
12592 .klen = 8 + 24 + 8,
12593 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12594 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
12595 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12596 .alen = 16,
12597 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
12598 "\x53\x20\x63\x65\x65\x72\x73\x74"
12599 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
12600 "\x20\x79\x65\x53\x72\x63\x74\x65"
12601 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
12602 "\x79\x6e\x53\x20\x63\x65\x65\x72"
12603 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
12604 "\x6e\x61\x20\x79\x65\x53\x72\x63"
12605 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
12606 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
12607 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
12608 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
12609 "\x72\x63\x74\x65\x20\x73\x6f\x54"
12610 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
12611 "\x63\x65\x65\x72\x73\x74\x54\x20"
12612 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
12613 .ilen = 128,
12614 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
12615 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
12616 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
12617 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
12618 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
12619 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
12620 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
12621 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
12622 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
12623 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
12624 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
12625 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
12626 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
12627 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
12628 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
12629 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
12630 "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
12631 "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
12632 "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
12633 .rlen = 128 + 24,
12637 static const struct aead_testvec hmac_sha256_des_cbc_enc_tv_temp[] = {
12638 { /*Generated with cryptopp*/
12639 #ifdef __LITTLE_ENDIAN
12640 .key = "\x08\x00" /* rta length */
12641 "\x01\x00" /* rta type */
12642 #else
12643 .key = "\x00\x08" /* rta length */
12644 "\x00\x01" /* rta type */
12645 #endif
12646 "\x00\x00\x00\x08" /* enc key length */
12647 "\x11\x22\x33\x44\x55\x66\x77\x88"
12648 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12649 "\x22\x33\x44\x55\x66\x77\x88\x99"
12650 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12651 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
12652 .klen = 8 + 32 + 8,
12653 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12654 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
12655 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12656 .alen = 16,
12657 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
12658 "\x53\x20\x63\x65\x65\x72\x73\x74"
12659 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
12660 "\x20\x79\x65\x53\x72\x63\x74\x65"
12661 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
12662 "\x79\x6e\x53\x20\x63\x65\x65\x72"
12663 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
12664 "\x6e\x61\x20\x79\x65\x53\x72\x63"
12665 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
12666 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
12667 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
12668 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
12669 "\x72\x63\x74\x65\x20\x73\x6f\x54"
12670 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
12671 "\x63\x65\x65\x72\x73\x74\x54\x20"
12672 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
12673 .ilen = 128,
12674 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
12675 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
12676 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
12677 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
12678 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
12679 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
12680 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
12681 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
12682 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
12683 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
12684 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
12685 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
12686 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
12687 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
12688 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
12689 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
12690 "\xc6\x58\xa1\x60\x70\x91\x39\x36"
12691 "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
12692 "\xde\x63\xde\x76\x52\xde\x9f\xba"
12693 "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
12694 .rlen = 128 + 32,
12698 static const struct aead_testvec hmac_sha384_des_cbc_enc_tv_temp[] = {
12699 { /*Generated with cryptopp*/
12700 #ifdef __LITTLE_ENDIAN
12701 .key = "\x08\x00" /* rta length */
12702 "\x01\x00" /* rta type */
12703 #else
12704 .key = "\x00\x08" /* rta length */
12705 "\x00\x01" /* rta type */
12706 #endif
12707 "\x00\x00\x00\x08" /* enc key length */
12708 "\x11\x22\x33\x44\x55\x66\x77\x88"
12709 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12710 "\x22\x33\x44\x55\x66\x77\x88\x99"
12711 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12712 "\x33\x44\x55\x66\x77\x88\x99\xaa"
12713 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
12714 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
12715 .klen = 8 + 48 + 8,
12716 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12717 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
12718 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12719 .alen = 16,
12720 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
12721 "\x53\x20\x63\x65\x65\x72\x73\x74"
12722 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
12723 "\x20\x79\x65\x53\x72\x63\x74\x65"
12724 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
12725 "\x79\x6e\x53\x20\x63\x65\x65\x72"
12726 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
12727 "\x6e\x61\x20\x79\x65\x53\x72\x63"
12728 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
12729 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
12730 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
12731 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
12732 "\x72\x63\x74\x65\x20\x73\x6f\x54"
12733 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
12734 "\x63\x65\x65\x72\x73\x74\x54\x20"
12735 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
12736 .ilen = 128,
12737 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
12738 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
12739 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
12740 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
12741 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
12742 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
12743 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
12744 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
12745 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
12746 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
12747 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
12748 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
12749 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
12750 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
12751 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
12752 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
12753 "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
12754 "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
12755 "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
12756 "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
12757 "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
12758 "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
12759 .rlen = 128 + 48,
12763 static const struct aead_testvec hmac_sha512_des_cbc_enc_tv_temp[] = {
12764 { /*Generated with cryptopp*/
12765 #ifdef __LITTLE_ENDIAN
12766 .key = "\x08\x00" /* rta length */
12767 "\x01\x00" /* rta type */
12768 #else
12769 .key = "\x00\x08" /* rta length */
12770 "\x00\x01" /* rta type */
12771 #endif
12772 "\x00\x00\x00\x08" /* enc key length */
12773 "\x11\x22\x33\x44\x55\x66\x77\x88"
12774 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12775 "\x22\x33\x44\x55\x66\x77\x88\x99"
12776 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12777 "\x33\x44\x55\x66\x77\x88\x99\xaa"
12778 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
12779 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
12780 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
12781 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
12782 .klen = 8 + 64 + 8,
12783 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12784 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
12785 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12786 .alen = 16,
12787 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
12788 "\x53\x20\x63\x65\x65\x72\x73\x74"
12789 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
12790 "\x20\x79\x65\x53\x72\x63\x74\x65"
12791 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
12792 "\x79\x6e\x53\x20\x63\x65\x65\x72"
12793 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
12794 "\x6e\x61\x20\x79\x65\x53\x72\x63"
12795 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
12796 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
12797 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
12798 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
12799 "\x72\x63\x74\x65\x20\x73\x6f\x54"
12800 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
12801 "\x63\x65\x65\x72\x73\x74\x54\x20"
12802 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
12803 .ilen = 128,
12804 .result = "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
12805 "\x54\x31\x85\x37\xed\x6b\x01\x8d"
12806 "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
12807 "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
12808 "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
12809 "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
12810 "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
12811 "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
12812 "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
12813 "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
12814 "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
12815 "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
12816 "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
12817 "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
12818 "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
12819 "\x53\xba\xe1\x76\xe3\x82\x07\x86"
12820 "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
12821 "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
12822 "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
12823 "\x58\x83\xda\x67\xfb\x21\x24\xa2"
12824 "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
12825 "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
12826 "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
12827 "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
12828 .rlen = 128 + 64,
12832 static const struct aead_testvec hmac_sha1_des3_ede_cbc_enc_tv_temp[] = {
12833 { /*Generated with cryptopp*/
12834 #ifdef __LITTLE_ENDIAN
12835 .key = "\x08\x00" /* rta length */
12836 "\x01\x00" /* rta type */
12837 #else
12838 .key = "\x00\x08" /* rta length */
12839 "\x00\x01" /* rta type */
12840 #endif
12841 "\x00\x00\x00\x18" /* enc key length */
12842 "\x11\x22\x33\x44\x55\x66\x77\x88"
12843 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12844 "\x22\x33\x44\x55"
12845 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
12846 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
12847 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
12848 .klen = 8 + 20 + 24,
12849 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12850 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
12851 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12852 .alen = 16,
12853 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
12854 "\x53\x20\x63\x65\x65\x72\x73\x74"
12855 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
12856 "\x20\x79\x65\x53\x72\x63\x74\x65"
12857 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
12858 "\x79\x6e\x53\x20\x63\x65\x65\x72"
12859 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
12860 "\x6e\x61\x20\x79\x65\x53\x72\x63"
12861 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
12862 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
12863 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
12864 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
12865 "\x72\x63\x74\x65\x20\x73\x6f\x54"
12866 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
12867 "\x63\x65\x65\x72\x73\x74\x54\x20"
12868 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
12869 .ilen = 128,
12870 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
12871 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
12872 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
12873 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
12874 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
12875 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
12876 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
12877 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
12878 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
12879 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
12880 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
12881 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
12882 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
12883 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
12884 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
12885 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
12886 "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
12887 "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
12888 "\xd1\x60\x91\xb3",
12889 .rlen = 128 + 20,
12893 static const struct aead_testvec hmac_sha224_des3_ede_cbc_enc_tv_temp[] = {
12894 { /*Generated with cryptopp*/
12895 #ifdef __LITTLE_ENDIAN
12896 .key = "\x08\x00" /* rta length */
12897 "\x01\x00" /* rta type */
12898 #else
12899 .key = "\x00\x08" /* rta length */
12900 "\x00\x01" /* rta type */
12901 #endif
12902 "\x00\x00\x00\x18" /* enc key length */
12903 "\x11\x22\x33\x44\x55\x66\x77\x88"
12904 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12905 "\x22\x33\x44\x55\x66\x77\x88\x99"
12906 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
12907 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
12908 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
12909 .klen = 8 + 24 + 24,
12910 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12911 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
12912 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12913 .alen = 16,
12914 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
12915 "\x53\x20\x63\x65\x65\x72\x73\x74"
12916 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
12917 "\x20\x79\x65\x53\x72\x63\x74\x65"
12918 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
12919 "\x79\x6e\x53\x20\x63\x65\x65\x72"
12920 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
12921 "\x6e\x61\x20\x79\x65\x53\x72\x63"
12922 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
12923 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
12924 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
12925 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
12926 "\x72\x63\x74\x65\x20\x73\x6f\x54"
12927 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
12928 "\x63\x65\x65\x72\x73\x74\x54\x20"
12929 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
12930 .ilen = 128,
12931 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
12932 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
12933 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
12934 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
12935 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
12936 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
12937 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
12938 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
12939 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
12940 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
12941 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
12942 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
12943 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
12944 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
12945 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
12946 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
12947 "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
12948 "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
12949 "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
12950 .rlen = 128 + 24,
12954 static const struct aead_testvec hmac_sha256_des3_ede_cbc_enc_tv_temp[] = {
12955 { /*Generated with cryptopp*/
12956 #ifdef __LITTLE_ENDIAN
12957 .key = "\x08\x00" /* rta length */
12958 "\x01\x00" /* rta type */
12959 #else
12960 .key = "\x00\x08" /* rta length */
12961 "\x00\x01" /* rta type */
12962 #endif
12963 "\x00\x00\x00\x18" /* enc key length */
12964 "\x11\x22\x33\x44\x55\x66\x77\x88"
12965 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
12966 "\x22\x33\x44\x55\x66\x77\x88\x99"
12967 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
12968 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
12969 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
12970 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
12971 .klen = 8 + 32 + 24,
12972 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12973 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
12974 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
12975 .alen = 16,
12976 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
12977 "\x53\x20\x63\x65\x65\x72\x73\x74"
12978 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
12979 "\x20\x79\x65\x53\x72\x63\x74\x65"
12980 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
12981 "\x79\x6e\x53\x20\x63\x65\x65\x72"
12982 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
12983 "\x6e\x61\x20\x79\x65\x53\x72\x63"
12984 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
12985 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
12986 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
12987 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
12988 "\x72\x63\x74\x65\x20\x73\x6f\x54"
12989 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
12990 "\x63\x65\x65\x72\x73\x74\x54\x20"
12991 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
12992 .ilen = 128,
12993 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
12994 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
12995 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
12996 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
12997 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
12998 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
12999 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
13000 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
13001 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
13002 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
13003 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
13004 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
13005 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
13006 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
13007 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
13008 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
13009 "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
13010 "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
13011 "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
13012 "\xca\x43\x95\xdf\x80\x61\x81\xa9",
13013 .rlen = 128 + 32,
13017 static const struct aead_testvec hmac_sha384_des3_ede_cbc_enc_tv_temp[] = {
13018 { /*Generated with cryptopp*/
13019 #ifdef __LITTLE_ENDIAN
13020 .key = "\x08\x00" /* rta length */
13021 "\x01\x00" /* rta type */
13022 #else
13023 .key = "\x00\x08" /* rta length */
13024 "\x00\x01" /* rta type */
13025 #endif
13026 "\x00\x00\x00\x18" /* enc key length */
13027 "\x11\x22\x33\x44\x55\x66\x77\x88"
13028 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13029 "\x22\x33\x44\x55\x66\x77\x88\x99"
13030 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13031 "\x33\x44\x55\x66\x77\x88\x99\xaa"
13032 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
13033 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
13034 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
13035 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
13036 .klen = 8 + 48 + 24,
13037 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
13038 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
13039 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
13040 .alen = 16,
13041 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
13042 "\x53\x20\x63\x65\x65\x72\x73\x74"
13043 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
13044 "\x20\x79\x65\x53\x72\x63\x74\x65"
13045 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
13046 "\x79\x6e\x53\x20\x63\x65\x65\x72"
13047 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
13048 "\x6e\x61\x20\x79\x65\x53\x72\x63"
13049 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
13050 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
13051 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
13052 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
13053 "\x72\x63\x74\x65\x20\x73\x6f\x54"
13054 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
13055 "\x63\x65\x65\x72\x73\x74\x54\x20"
13056 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
13057 .ilen = 128,
13058 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
13059 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
13060 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
13061 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
13062 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
13063 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
13064 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
13065 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
13066 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
13067 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
13068 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
13069 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
13070 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
13071 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
13072 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
13073 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
13074 "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
13075 "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
13076 "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
13077 "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
13078 "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
13079 "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
13080 .rlen = 128 + 48,
13084 static const struct aead_testvec hmac_sha512_des3_ede_cbc_enc_tv_temp[] = {
13085 { /*Generated with cryptopp*/
13086 #ifdef __LITTLE_ENDIAN
13087 .key = "\x08\x00" /* rta length */
13088 "\x01\x00" /* rta type */
13089 #else
13090 .key = "\x00\x08" /* rta length */
13091 "\x00\x01" /* rta type */
13092 #endif
13093 "\x00\x00\x00\x18" /* enc key length */
13094 "\x11\x22\x33\x44\x55\x66\x77\x88"
13095 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13096 "\x22\x33\x44\x55\x66\x77\x88\x99"
13097 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13098 "\x33\x44\x55\x66\x77\x88\x99\xaa"
13099 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
13100 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
13101 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
13102 "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
13103 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
13104 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
13105 .klen = 8 + 64 + 24,
13106 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
13107 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01"
13108 "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
13109 .alen = 16,
13110 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
13111 "\x53\x20\x63\x65\x65\x72\x73\x74"
13112 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
13113 "\x20\x79\x65\x53\x72\x63\x74\x65"
13114 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
13115 "\x79\x6e\x53\x20\x63\x65\x65\x72"
13116 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
13117 "\x6e\x61\x20\x79\x65\x53\x72\x63"
13118 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
13119 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
13120 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
13121 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
13122 "\x72\x63\x74\x65\x20\x73\x6f\x54"
13123 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
13124 "\x63\x65\x65\x72\x73\x74\x54\x20"
13125 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
13126 .ilen = 128,
13127 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
13128 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
13129 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
13130 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
13131 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
13132 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
13133 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
13134 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
13135 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
13136 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
13137 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
13138 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
13139 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
13140 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
13141 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
13142 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
13143 "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
13144 "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
13145 "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
13146 "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
13147 "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
13148 "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
13149 "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
13150 "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
13151 .rlen = 128 + 64,
13155 static const struct cipher_testvec aes_lrw_tv_template[] = {
13156 /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
13157 { /* LRW-32-AES 1 */
13158 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
13159 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
13160 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
13161 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
13162 .klen = 32,
13163 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13164 "\x00\x00\x00\x00\x00\x00\x00\x01",
13165 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
13166 "\x38\x39\x41\x42\x43\x44\x45\x46",
13167 .ctext = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
13168 "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
13169 .len = 16,
13170 }, { /* LRW-32-AES 2 */
13171 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
13172 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
13173 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
13174 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
13175 .klen = 32,
13176 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13177 "\x00\x00\x00\x00\x00\x00\x00\x02",
13178 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
13179 "\x38\x39\x41\x42\x43\x44\x45\x46",
13180 .ctext = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
13181 "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
13182 .len = 16,
13183 }, { /* LRW-32-AES 3 */
13184 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
13185 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
13186 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
13187 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
13188 .klen = 32,
13189 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13190 "\x00\x00\x00\x02\x00\x00\x00\x00",
13191 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
13192 "\x38\x39\x41\x42\x43\x44\x45\x46",
13193 .ctext = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
13194 "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
13195 .len = 16,
13196 }, { /* LRW-32-AES 4 */
13197 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
13198 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
13199 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
13200 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
13201 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
13202 .klen = 40,
13203 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13204 "\x00\x00\x00\x00\x00\x00\x00\x01",
13205 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
13206 "\x38\x39\x41\x42\x43\x44\x45\x46",
13207 .ctext = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
13208 "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
13209 .len = 16,
13210 }, { /* LRW-32-AES 5 */
13211 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
13212 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
13213 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
13214 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
13215 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
13216 .klen = 40,
13217 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13218 "\x00\x00\x00\x02\x00\x00\x00\x00",
13219 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
13220 "\x38\x39\x41\x42\x43\x44\x45\x46",
13221 .ctext = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
13222 "\xc8\x60\x48\x02\x87\xe3\x34\x06",
13223 .len = 16,
13224 }, { /* LRW-32-AES 6 */
13225 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
13226 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
13227 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
13228 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
13229 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
13230 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
13231 .klen = 48,
13232 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13233 "\x00\x00\x00\x00\x00\x00\x00\x01",
13234 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
13235 "\x38\x39\x41\x42\x43\x44\x45\x46",
13236 .ctext = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
13237 "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
13238 .len = 16,
13239 }, { /* LRW-32-AES 7 */
13240 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
13241 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
13242 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
13243 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
13244 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
13245 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
13246 .klen = 48,
13247 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13248 "\x00\x00\x00\x02\x00\x00\x00\x00",
13249 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
13250 "\x38\x39\x41\x42\x43\x44\x45\x46",
13251 .ctext = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
13252 "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
13253 .len = 16,
13254 }, { /* Test counter wrap-around, modified from LRW-32-AES 1 */
13255 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
13256 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
13257 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
13258 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
13259 .klen = 32,
13260 .iv = "\xff\xff\xff\xff\xff\xff\xff\xff"
13261 "\xff\xff\xff\xff\xff\xff\xff\xff",
13262 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
13263 "\x38\x39\x41\x42\x43\x44\x45\x46"
13264 "\x30\x31\x32\x33\x34\x35\x36\x37"
13265 "\x38\x39\x41\x42\x43\x44\x45\x46"
13266 "\x30\x31\x32\x33\x34\x35\x36\x37"
13267 "\x38\x39\x41\x42\x43\x44\x45\x46",
13268 .ctext = "\x47\x90\x50\xf6\xf4\x8d\x5c\x7f"
13269 "\x84\xc7\x83\x95\x2d\xa2\x02\xc0"
13270 "\xda\x7f\xa3\xc0\x88\x2a\x0a\x50"
13271 "\xfb\xc1\x78\x03\x39\xfe\x1d\xe5"
13272 "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
13273 "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
13274 .len = 48,
13275 }, {
13276 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
13277 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
13278 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
13279 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
13280 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
13281 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
13282 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
13283 .klen = 48,
13284 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13285 "\x00\x00\x00\x00\x00\x00\x00\x01",
13286 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
13287 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
13288 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
13289 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
13290 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
13291 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
13292 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
13293 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
13294 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
13295 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
13296 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
13297 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
13298 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
13299 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
13300 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
13301 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
13302 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
13303 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
13304 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
13305 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
13306 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
13307 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
13308 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
13309 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
13310 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
13311 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
13312 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
13313 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
13314 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
13315 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
13316 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
13317 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
13318 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
13319 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
13320 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
13321 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
13322 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
13323 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
13324 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
13325 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
13326 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
13327 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
13328 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
13329 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
13330 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
13331 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
13332 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
13333 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
13334 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
13335 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
13336 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
13337 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
13338 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
13339 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
13340 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
13341 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
13342 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
13343 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
13344 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
13345 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
13346 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
13347 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
13348 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
13349 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
13350 .ctext = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
13351 "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
13352 "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
13353 "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
13354 "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
13355 "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
13356 "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
13357 "\xe8\x58\x46\x97\x39\x51\x07\xde"
13358 "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
13359 "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
13360 "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
13361 "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
13362 "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
13363 "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
13364 "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
13365 "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
13366 "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
13367 "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
13368 "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
13369 "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
13370 "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
13371 "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
13372 "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
13373 "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
13374 "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
13375 "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
13376 "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
13377 "\x41\x30\x58\xc5\x62\x74\x52\x1d"
13378 "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
13379 "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
13380 "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
13381 "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
13382 "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
13383 "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
13384 "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
13385 "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
13386 "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
13387 "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
13388 "\xb8\x79\x78\x97\x94\xff\x72\x13"
13389 "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
13390 "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
13391 "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
13392 "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
13393 "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
13394 "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
13395 "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
13396 "\x1e\x86\x53\x11\x53\x94\x00\xee"
13397 "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
13398 "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
13399 "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
13400 "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
13401 "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
13402 "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
13403 "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
13404 "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
13405 "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
13406 "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
13407 "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
13408 "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
13409 "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
13410 "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
13411 "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
13412 "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
13413 "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
13414 .len = 512,
13415 .also_non_np = 1,
13416 .np = 3,
13417 .tap = { 512 - 20, 4, 16 },
13421 static const struct cipher_testvec aes_xts_tv_template[] = {
13422 /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
13423 { /* XTS-AES 1 */
13424 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
13425 "\x00\x00\x00\x00\x00\x00\x00\x00"
13426 "\x00\x00\x00\x00\x00\x00\x00\x00"
13427 "\x00\x00\x00\x00\x00\x00\x00\x00",
13428 .klen = 32,
13429 .fips_skip = 1,
13430 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13431 "\x00\x00\x00\x00\x00\x00\x00\x00",
13432 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
13433 "\x00\x00\x00\x00\x00\x00\x00\x00"
13434 "\x00\x00\x00\x00\x00\x00\x00\x00"
13435 "\x00\x00\x00\x00\x00\x00\x00\x00",
13436 .ctext = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
13437 "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
13438 "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
13439 "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
13440 .len = 32,
13441 }, { /* XTS-AES 2 */
13442 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
13443 "\x11\x11\x11\x11\x11\x11\x11\x11"
13444 "\x22\x22\x22\x22\x22\x22\x22\x22"
13445 "\x22\x22\x22\x22\x22\x22\x22\x22",
13446 .klen = 32,
13447 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
13448 "\x00\x00\x00\x00\x00\x00\x00\x00",
13449 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
13450 "\x44\x44\x44\x44\x44\x44\x44\x44"
13451 "\x44\x44\x44\x44\x44\x44\x44\x44"
13452 "\x44\x44\x44\x44\x44\x44\x44\x44",
13453 .ctext = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
13454 "\x39\x33\x40\x38\xac\xef\x83\x8b"
13455 "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
13456 "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
13457 .len = 32,
13458 }, { /* XTS-AES 3 */
13459 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
13460 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
13461 "\x22\x22\x22\x22\x22\x22\x22\x22"
13462 "\x22\x22\x22\x22\x22\x22\x22\x22",
13463 .klen = 32,
13464 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
13465 "\x00\x00\x00\x00\x00\x00\x00\x00",
13466 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
13467 "\x44\x44\x44\x44\x44\x44\x44\x44"
13468 "\x44\x44\x44\x44\x44\x44\x44\x44"
13469 "\x44\x44\x44\x44\x44\x44\x44\x44",
13470 .ctext = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
13471 "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
13472 "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
13473 "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
13474 .len = 32,
13475 }, { /* XTS-AES 4 */
13476 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
13477 "\x23\x53\x60\x28\x74\x71\x35\x26"
13478 "\x31\x41\x59\x26\x53\x58\x97\x93"
13479 "\x23\x84\x62\x64\x33\x83\x27\x95",
13480 .klen = 32,
13481 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
13482 "\x00\x00\x00\x00\x00\x00\x00\x00",
13483 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13484 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13485 "\x10\x11\x12\x13\x14\x15\x16\x17"
13486 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13487 "\x20\x21\x22\x23\x24\x25\x26\x27"
13488 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13489 "\x30\x31\x32\x33\x34\x35\x36\x37"
13490 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13491 "\x40\x41\x42\x43\x44\x45\x46\x47"
13492 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13493 "\x50\x51\x52\x53\x54\x55\x56\x57"
13494 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13495 "\x60\x61\x62\x63\x64\x65\x66\x67"
13496 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13497 "\x70\x71\x72\x73\x74\x75\x76\x77"
13498 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13499 "\x80\x81\x82\x83\x84\x85\x86\x87"
13500 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13501 "\x90\x91\x92\x93\x94\x95\x96\x97"
13502 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13503 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13504 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13505 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13506 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13507 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13508 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13509 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13510 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13511 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13512 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13513 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13514 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13515 "\x00\x01\x02\x03\x04\x05\x06\x07"
13516 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13517 "\x10\x11\x12\x13\x14\x15\x16\x17"
13518 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13519 "\x20\x21\x22\x23\x24\x25\x26\x27"
13520 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13521 "\x30\x31\x32\x33\x34\x35\x36\x37"
13522 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13523 "\x40\x41\x42\x43\x44\x45\x46\x47"
13524 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13525 "\x50\x51\x52\x53\x54\x55\x56\x57"
13526 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13527 "\x60\x61\x62\x63\x64\x65\x66\x67"
13528 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13529 "\x70\x71\x72\x73\x74\x75\x76\x77"
13530 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13531 "\x80\x81\x82\x83\x84\x85\x86\x87"
13532 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13533 "\x90\x91\x92\x93\x94\x95\x96\x97"
13534 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13535 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13536 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13537 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13538 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13539 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13540 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13541 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13542 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13543 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13544 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13545 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13546 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13547 .ctext = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
13548 "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
13549 "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
13550 "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
13551 "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
13552 "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
13553 "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
13554 "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
13555 "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
13556 "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
13557 "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
13558 "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
13559 "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
13560 "\x22\x97\x61\x46\xae\x20\xce\x84"
13561 "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
13562 "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
13563 "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
13564 "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
13565 "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
13566 "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
13567 "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
13568 "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
13569 "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
13570 "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
13571 "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
13572 "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
13573 "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
13574 "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
13575 "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
13576 "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
13577 "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
13578 "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
13579 "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
13580 "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
13581 "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
13582 "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
13583 "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
13584 "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
13585 "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
13586 "\x55\xef\x52\x97\xca\x67\xe9\xf3"
13587 "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
13588 "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
13589 "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
13590 "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
13591 "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
13592 "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
13593 "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
13594 "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
13595 "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
13596 "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
13597 "\x18\x84\x69\x77\xae\x11\x9f\x7a"
13598 "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
13599 "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
13600 "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
13601 "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
13602 "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
13603 "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
13604 "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
13605 "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
13606 "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
13607 "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
13608 "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
13609 "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
13610 "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
13611 .len = 512,
13612 }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
13613 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
13614 "\x23\x53\x60\x28\x74\x71\x35\x26"
13615 "\x62\x49\x77\x57\x24\x70\x93\x69"
13616 "\x99\x59\x57\x49\x66\x96\x76\x27"
13617 "\x31\x41\x59\x26\x53\x58\x97\x93"
13618 "\x23\x84\x62\x64\x33\x83\x27\x95"
13619 "\x02\x88\x41\x97\x16\x93\x99\x37"
13620 "\x51\x05\x82\x09\x74\x94\x45\x92",
13621 .klen = 64,
13622 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
13623 "\x00\x00\x00\x00\x00\x00\x00\x00",
13624 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
13625 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13626 "\x10\x11\x12\x13\x14\x15\x16\x17"
13627 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13628 "\x20\x21\x22\x23\x24\x25\x26\x27"
13629 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13630 "\x30\x31\x32\x33\x34\x35\x36\x37"
13631 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13632 "\x40\x41\x42\x43\x44\x45\x46\x47"
13633 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13634 "\x50\x51\x52\x53\x54\x55\x56\x57"
13635 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13636 "\x60\x61\x62\x63\x64\x65\x66\x67"
13637 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13638 "\x70\x71\x72\x73\x74\x75\x76\x77"
13639 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13640 "\x80\x81\x82\x83\x84\x85\x86\x87"
13641 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13642 "\x90\x91\x92\x93\x94\x95\x96\x97"
13643 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13644 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13645 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13646 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13647 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13648 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13649 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13650 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13651 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13652 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13653 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13654 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13655 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13656 "\x00\x01\x02\x03\x04\x05\x06\x07"
13657 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13658 "\x10\x11\x12\x13\x14\x15\x16\x17"
13659 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13660 "\x20\x21\x22\x23\x24\x25\x26\x27"
13661 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13662 "\x30\x31\x32\x33\x34\x35\x36\x37"
13663 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13664 "\x40\x41\x42\x43\x44\x45\x46\x47"
13665 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13666 "\x50\x51\x52\x53\x54\x55\x56\x57"
13667 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13668 "\x60\x61\x62\x63\x64\x65\x66\x67"
13669 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13670 "\x70\x71\x72\x73\x74\x75\x76\x77"
13671 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13672 "\x80\x81\x82\x83\x84\x85\x86\x87"
13673 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13674 "\x90\x91\x92\x93\x94\x95\x96\x97"
13675 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13676 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13677 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13678 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13679 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13680 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13681 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13682 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13683 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13684 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13685 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13686 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13687 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13688 .ctext = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
13689 "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
13690 "\xea\x00\x80\x3f\x5e\x48\x23\x57"
13691 "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
13692 "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
13693 "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
13694 "\x68\x0a\x86\xac\x35\xad\xfc\x33"
13695 "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
13696 "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
13697 "\xb1\x08\xfd\x10\x98\xba\xec\x70"
13698 "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
13699 "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
13700 "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
13701 "\xae\xba\x12\x29\x61\xd0\x3a\x75"
13702 "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
13703 "\x00\x02\x08\x87\x89\x14\x29\xca"
13704 "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
13705 "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
13706 "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
13707 "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
13708 "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
13709 "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
13710 "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
13711 "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
13712 "\x93\xec\x05\xc5\x2e\x04\x93\xef"
13713 "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
13714 "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
13715 "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
13716 "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
13717 "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
13718 "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
13719 "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
13720 "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
13721 "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
13722 "\xbc\x48\x14\x57\x77\x8f\x61\x60"
13723 "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
13724 "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
13725 "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
13726 "\xf4\xc3\x33\xec\x44\x23\x88\x51"
13727 "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
13728 "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
13729 "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
13730 "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
13731 "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
13732 "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
13733 "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
13734 "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
13735 "\x92\x5f\xed\xc4\xae\x74\xff\xac"
13736 "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
13737 "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
13738 "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
13739 "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
13740 "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
13741 "\x94\x30\x54\xff\x84\x01\x14\x93"
13742 "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
13743 "\x53\x76\x44\x1a\x77\xed\x43\x85"
13744 "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
13745 "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
13746 "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
13747 "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
13748 "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
13749 "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
13750 "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
13751 "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
13752 .len = 512,
13753 .also_non_np = 1,
13754 .np = 3,
13755 .tap = { 512 - 20, 4, 16 },
13759 static const struct cipher_testvec aes_ctr_tv_template[] = {
13760 { /* From NIST Special Publication 800-38A, Appendix F.5 */
13761 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
13762 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
13763 .klen = 16,
13764 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13765 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13766 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13767 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13768 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13769 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13770 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13771 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13772 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13773 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13774 .ctext = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
13775 "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
13776 "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
13777 "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
13778 "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
13779 "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
13780 "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
13781 "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
13782 .len = 64,
13783 }, {
13784 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
13785 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
13786 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
13787 .klen = 24,
13788 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13789 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13790 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13791 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13792 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13793 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13794 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13795 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13796 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13797 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13798 .ctext = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
13799 "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
13800 "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
13801 "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
13802 "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
13803 "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
13804 "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
13805 "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
13806 .len = 64,
13807 }, {
13808 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
13809 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
13810 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
13811 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
13812 .klen = 32,
13813 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13814 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13815 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13816 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13817 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13818 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13819 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13820 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13821 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13822 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13823 .ctext = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
13824 "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
13825 "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
13826 "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
13827 "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
13828 "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
13829 "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
13830 "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
13831 .len = 64,
13832 }, { /* Generated with Crypto++ */
13833 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
13834 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
13835 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
13836 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
13837 .klen = 32,
13838 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
13839 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
13840 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
13841 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
13842 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
13843 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
13844 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
13845 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
13846 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
13847 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
13848 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
13849 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
13850 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
13851 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
13852 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
13853 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
13854 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
13855 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
13856 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
13857 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
13858 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
13859 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
13860 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
13861 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
13862 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
13863 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
13864 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
13865 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
13866 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
13867 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
13868 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
13869 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
13870 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
13871 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
13872 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
13873 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
13874 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
13875 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
13876 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
13877 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
13878 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
13879 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
13880 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
13881 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
13882 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
13883 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
13884 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
13885 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
13886 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
13887 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
13888 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
13889 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
13890 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
13891 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
13892 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
13893 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
13894 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
13895 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
13896 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
13897 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
13898 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
13899 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
13900 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
13901 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
13902 .ctext = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
13903 "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
13904 "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
13905 "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
13906 "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
13907 "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
13908 "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
13909 "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
13910 "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
13911 "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
13912 "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
13913 "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
13914 "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
13915 "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
13916 "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
13917 "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
13918 "\x34\x4B\x31\x69\x84\x66\x96\x44"
13919 "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
13920 "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
13921 "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
13922 "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
13923 "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
13924 "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
13925 "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
13926 "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
13927 "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
13928 "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
13929 "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
13930 "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
13931 "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
13932 "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
13933 "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
13934 "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
13935 "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
13936 "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
13937 "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
13938 "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
13939 "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
13940 "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
13941 "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
13942 "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
13943 "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
13944 "\x85\x99\x22\xE8\x91\x38\x70\x83"
13945 "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
13946 "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
13947 "\x2F\x69\xEE\x84\x36\x44\x76\x98"
13948 "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
13949 "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
13950 "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
13951 "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
13952 "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
13953 "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
13954 "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
13955 "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
13956 "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
13957 "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
13958 "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
13959 "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
13960 "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
13961 "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
13962 "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
13963 "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
13964 .len = 496,
13965 .also_non_np = 1,
13966 .np = 3,
13967 .tap = { 496 - 20, 4, 16 },
13968 }, { /* Generated with Crypto++ */
13969 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
13970 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
13971 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
13972 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
13973 .klen = 32,
13974 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
13975 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
13976 .ptext = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
13977 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
13978 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
13979 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
13980 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
13981 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
13982 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
13983 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
13984 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
13985 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
13986 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
13987 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
13988 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
13989 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
13990 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
13991 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
13992 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
13993 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
13994 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
13995 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
13996 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
13997 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
13998 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
13999 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
14000 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
14001 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
14002 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
14003 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
14004 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
14005 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
14006 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
14007 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
14008 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
14009 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
14010 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
14011 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
14012 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
14013 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
14014 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
14015 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
14016 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
14017 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
14018 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
14019 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
14020 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
14021 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
14022 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
14023 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
14024 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
14025 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
14026 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
14027 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
14028 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
14029 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
14030 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
14031 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
14032 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
14033 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
14034 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
14035 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
14036 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
14037 "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
14038 "\x7B\xE4\x4D",
14039 .ctext = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
14040 "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
14041 "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
14042 "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
14043 "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
14044 "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
14045 "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
14046 "\x75\xDE\x71\x86\x3C\x98\x23\x44"
14047 "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
14048 "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
14049 "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
14050 "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
14051 "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
14052 "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
14053 "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
14054 "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
14055 "\xA8\x28\x69\x65\x31\xE1\x45\x83"
14056 "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
14057 "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
14058 "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
14059 "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
14060 "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
14061 "\x45\x18\x18\x74\x19\xAD\x71\x01"
14062 "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
14063 "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
14064 "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
14065 "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
14066 "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
14067 "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
14068 "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
14069 "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
14070 "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
14071 "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
14072 "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
14073 "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
14074 "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
14075 "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
14076 "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
14077 "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
14078 "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
14079 "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
14080 "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
14081 "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
14082 "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
14083 "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
14084 "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
14085 "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
14086 "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
14087 "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
14088 "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
14089 "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
14090 "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
14091 "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
14092 "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
14093 "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
14094 "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
14095 "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
14096 "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
14097 "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
14098 "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
14099 "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
14100 "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
14101 "\xFB\xF2\x3F",
14102 .len = 499,
14103 .also_non_np = 1,
14104 .np = 2,
14105 .tap = { 499 - 16, 16 },
14109 static const struct cipher_testvec aes_ctr_rfc3686_tv_template[] = {
14110 { /* From RFC 3686 */
14111 .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
14112 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
14113 "\x00\x00\x00\x30",
14114 .klen = 20,
14115 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
14116 .ptext = "Single block msg",
14117 .ctext = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
14118 "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
14119 .len = 16,
14120 }, {
14121 .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
14122 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
14123 "\x00\x6c\xb6\xdb",
14124 .klen = 20,
14125 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
14126 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
14127 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14128 "\x10\x11\x12\x13\x14\x15\x16\x17"
14129 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14130 .ctext = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
14131 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
14132 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
14133 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
14134 .len = 32,
14135 }, {
14136 .key = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
14137 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
14138 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
14139 "\x00\x00\x00\x48",
14140 .klen = 28,
14141 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
14142 .ptext = "Single block msg",
14143 .ctext = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
14144 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
14145 .len = 16,
14146 }, {
14147 .key = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
14148 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
14149 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
14150 "\x00\x96\xb0\x3b",
14151 .klen = 28,
14152 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
14153 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
14154 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14155 "\x10\x11\x12\x13\x14\x15\x16\x17"
14156 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14157 .ctext = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
14158 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
14159 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
14160 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
14161 .len = 32,
14162 }, {
14163 .key = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
14164 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
14165 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
14166 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
14167 "\x00\x00\x00\x60",
14168 .klen = 36,
14169 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
14170 .ptext = "Single block msg",
14171 .ctext = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
14172 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
14173 .len = 16,
14174 }, {
14175 .key = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
14176 "\x07\x96\x36\x58\x79\xef\xf8\x86"
14177 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
14178 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
14179 "\x00\xfa\xac\x24",
14180 .klen = 36,
14181 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
14182 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
14183 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14184 "\x10\x11\x12\x13\x14\x15\x16\x17"
14185 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14186 .ctext = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
14187 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
14188 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
14189 "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
14190 .len = 32,
14191 }, {
14192 // generated using Crypto++
14193 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
14194 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14195 "\x10\x11\x12\x13\x14\x15\x16\x17"
14196 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14197 "\x00\x00\x00\x00",
14198 .klen = 32 + 4,
14199 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
14200 .ptext =
14201 "\x00\x01\x02\x03\x04\x05\x06\x07"
14202 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14203 "\x10\x11\x12\x13\x14\x15\x16\x17"
14204 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14205 "\x20\x21\x22\x23\x24\x25\x26\x27"
14206 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14207 "\x30\x31\x32\x33\x34\x35\x36\x37"
14208 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14209 "\x40\x41\x42\x43\x44\x45\x46\x47"
14210 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14211 "\x50\x51\x52\x53\x54\x55\x56\x57"
14212 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14213 "\x60\x61\x62\x63\x64\x65\x66\x67"
14214 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14215 "\x70\x71\x72\x73\x74\x75\x76\x77"
14216 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14217 "\x80\x81\x82\x83\x84\x85\x86\x87"
14218 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14219 "\x90\x91\x92\x93\x94\x95\x96\x97"
14220 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14221 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14222 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14223 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14224 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14225 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14226 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14227 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14228 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14229 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14230 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14231 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14232 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
14233 "\x00\x03\x06\x09\x0c\x0f\x12\x15"
14234 "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
14235 "\x30\x33\x36\x39\x3c\x3f\x42\x45"
14236 "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
14237 "\x60\x63\x66\x69\x6c\x6f\x72\x75"
14238 "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
14239 "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
14240 "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
14241 "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
14242 "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
14243 "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
14244 "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
14245 "\x20\x23\x26\x29\x2c\x2f\x32\x35"
14246 "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
14247 "\x50\x53\x56\x59\x5c\x5f\x62\x65"
14248 "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
14249 "\x80\x83\x86\x89\x8c\x8f\x92\x95"
14250 "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
14251 "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
14252 "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
14253 "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
14254 "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
14255 "\x10\x13\x16\x19\x1c\x1f\x22\x25"
14256 "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
14257 "\x40\x43\x46\x49\x4c\x4f\x52\x55"
14258 "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
14259 "\x70\x73\x76\x79\x7c\x7f\x82\x85"
14260 "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
14261 "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
14262 "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
14263 "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
14264 "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
14265 "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
14266 "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
14267 "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
14268 "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
14269 "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
14270 "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
14271 "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
14272 "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
14273 "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
14274 "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
14275 "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
14276 "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
14277 "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
14278 "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
14279 "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
14280 "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
14281 "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
14282 "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
14283 "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
14284 "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
14285 "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
14286 "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
14287 "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
14288 "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
14289 "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
14290 "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
14291 "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
14292 "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
14293 "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
14294 "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
14295 "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
14296 "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
14297 "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
14298 "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
14299 "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
14300 "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
14301 "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
14302 "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
14303 "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
14304 "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
14305 "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
14306 "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
14307 "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
14308 "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
14309 "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
14310 "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
14311 "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
14312 "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
14313 "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
14314 "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
14315 "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
14316 "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
14317 "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
14318 "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
14319 "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
14320 "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
14321 "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
14322 "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
14323 "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
14324 "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
14325 "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
14326 "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
14327 "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
14328 "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
14329 "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
14330 "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
14331 "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
14332 "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
14333 "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
14334 "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
14335 "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
14336 "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
14337 "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
14338 "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
14339 "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
14340 "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
14341 "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
14342 "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
14343 "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
14344 "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
14345 "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
14346 "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
14347 "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
14348 "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
14349 "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
14350 "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
14351 "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
14352 "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
14353 "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
14354 "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
14355 "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
14356 "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
14357 "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
14358 "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
14359 "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
14360 "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
14361 "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
14362 "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
14363 "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
14364 "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
14365 "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
14366 "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
14367 "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
14368 "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
14369 "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
14370 "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
14371 "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
14372 "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
14373 "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
14374 "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
14375 "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
14376 "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
14377 "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
14378 "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
14379 "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
14380 "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
14381 "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
14382 "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
14383 "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
14384 "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
14385 "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
14386 "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
14387 "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
14388 "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
14389 "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
14390 "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
14391 "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
14392 "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
14393 "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
14394 "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
14395 "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
14396 "\x38\x45\x52\x5f\x6c\x79\x86\x93"
14397 "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
14398 "\x08\x15\x22\x2f\x3c\x49\x56\x63"
14399 "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
14400 "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
14401 "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
14402 "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
14403 "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
14404 "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
14405 "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
14406 "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
14407 "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
14408 "\x18\x25\x32\x3f\x4c\x59\x66\x73"
14409 "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
14410 "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
14411 "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
14412 "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
14413 "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
14414 "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
14415 "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
14416 "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
14417 "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
14418 "\x28\x35\x42\x4f\x5c\x69\x76\x83"
14419 "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
14420 "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
14421 "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
14422 "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
14423 "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
14424 "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
14425 "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
14426 "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
14427 "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
14428 "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
14429 "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
14430 "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
14431 "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
14432 "\x48\x57\x66\x75\x84\x93\xa2\xb1"
14433 "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
14434 "\x38\x47\x56\x65\x74\x83\x92\xa1"
14435 "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
14436 "\x28\x37\x46\x55\x64\x73\x82\x91"
14437 "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
14438 "\x18\x27\x36\x45\x54\x63\x72\x81"
14439 "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
14440 "\x08\x17\x26\x35\x44\x53\x62\x71"
14441 "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
14442 "\xf8\x07\x16\x25\x34\x43\x52\x61"
14443 "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
14444 "\xe8\xf7\x06\x15\x24\x33\x42\x51"
14445 "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
14446 "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
14447 "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
14448 "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
14449 "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
14450 "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
14451 "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
14452 "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
14453 "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
14454 "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
14455 "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
14456 "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
14457 "\x00\x11\x22\x33\x44\x55\x66\x77"
14458 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
14459 "\x10\x21\x32\x43\x54\x65\x76\x87"
14460 "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
14461 "\x20\x31\x42\x53\x64\x75\x86\x97"
14462 "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
14463 "\x30\x41\x52\x63\x74\x85\x96\xa7"
14464 "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
14465 "\x40\x51\x62\x73\x84\x95\xa6\xb7"
14466 "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
14467 "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
14468 "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
14469 "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
14470 "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
14471 "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
14472 "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
14473 "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
14474 "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
14475 "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
14476 "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
14477 "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
14478 "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
14479 "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
14480 "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
14481 "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
14482 "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
14483 "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
14484 "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
14485 "\xe0\xf1\x02\x13\x24\x35\x46\x57"
14486 "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
14487 "\xf0\x01\x12\x23\x34\x45\x56\x67"
14488 "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
14489 "\x00\x13\x26\x39\x4c\x5f\x72\x85"
14490 "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
14491 "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
14492 "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
14493 "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
14494 "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
14495 "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
14496 "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
14497 "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
14498 "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
14499 "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
14500 "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
14501 "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
14502 "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
14503 "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
14504 "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
14505 "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
14506 "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
14507 "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
14508 "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
14509 "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
14510 "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
14511 "\x10\x23\x36\x49\x5c\x6f\x82\x95"
14512 "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
14513 "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
14514 "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
14515 "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
14516 "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
14517 "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
14518 "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
14519 "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
14520 "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
14521 "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
14522 "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
14523 "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
14524 "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
14525 "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
14526 "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
14527 "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
14528 "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
14529 "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
14530 "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
14531 "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
14532 "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
14533 "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
14534 "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
14535 "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
14536 "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
14537 "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
14538 "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
14539 "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
14540 "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
14541 "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
14542 "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
14543 "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
14544 "\x18\x2d\x42\x57\x6c\x81\x96\xab"
14545 "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
14546 "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
14547 "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
14548 "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
14549 "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
14550 "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
14551 "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
14552 "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
14553 "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
14554 "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
14555 "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
14556 "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
14557 "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
14558 "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
14559 "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
14560 "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
14561 "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
14562 "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
14563 "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
14564 "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
14565 "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
14566 "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
14567 "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
14568 "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
14569 "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
14570 "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
14571 "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
14572 "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
14573 "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
14574 "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
14575 "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
14576 "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
14577 "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
14578 "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
14579 "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
14580 "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
14581 "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
14582 "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
14583 "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
14584 "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
14585 "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
14586 "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
14587 "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
14588 "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
14589 "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
14590 "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
14591 "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
14592 "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
14593 "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
14594 "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
14595 "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
14596 "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
14597 "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
14598 "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
14599 "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
14600 "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
14601 "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
14602 "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
14603 "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
14604 "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
14605 "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
14606 "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
14607 "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
14608 "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
14609 "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
14610 "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
14611 "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
14612 "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
14613 "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
14614 "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
14615 "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
14616 "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
14617 "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
14618 "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
14619 "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
14620 "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
14621 "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
14622 "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
14623 "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
14624 "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
14625 "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
14626 "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
14627 "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
14628 "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
14629 "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
14630 "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
14631 "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
14632 "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
14633 "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
14634 "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
14635 "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
14636 "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
14637 "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
14638 "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
14639 "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
14640 "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
14641 "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
14642 "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
14643 "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
14644 "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
14645 "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
14646 "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
14647 "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
14648 "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
14649 "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
14650 "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
14651 "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
14652 "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
14653 "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
14654 "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
14655 "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
14656 "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
14657 "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
14658 "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
14659 "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
14660 "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
14661 "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
14662 "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
14663 "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
14664 "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
14665 "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
14666 "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
14667 "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
14668 "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
14669 "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
14670 "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
14671 "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
14672 "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
14673 "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
14674 "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
14675 "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
14676 "\x78\x95\xb2\xcf\xec\x09\x26\x43"
14677 "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
14678 "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
14679 "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
14680 "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
14681 "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
14682 "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
14683 "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
14684 "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
14685 "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
14686 "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
14687 "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
14688 "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
14689 "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
14690 "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
14691 "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
14692 "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
14693 "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
14694 "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
14695 "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
14696 "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
14697 "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
14698 "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
14699 "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
14700 "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
14701 "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
14702 "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
14703 "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
14704 "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
14705 "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
14706 "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
14707 "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
14708 "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
14709 "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
14710 "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
14711 "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
14712 "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
14713 "\x00\x21\x42\x63",
14714 .ctext =
14715 "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
14716 "\xae\xff\x91\x3a\x44\xcf\x38\x32"
14717 "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
14718 "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
14719 "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
14720 "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
14721 "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
14722 "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
14723 "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
14724 "\x18\xff\x75\x6d\x06\x2d\x00\xab"
14725 "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
14726 "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
14727 "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
14728 "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
14729 "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
14730 "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
14731 "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
14732 "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
14733 "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
14734 "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
14735 "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
14736 "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
14737 "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
14738 "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
14739 "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
14740 "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
14741 "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
14742 "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
14743 "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
14744 "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
14745 "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
14746 "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
14747 "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
14748 "\x6a\x25\x15\x33\x4e\x45\x08\xec"
14749 "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
14750 "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
14751 "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
14752 "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
14753 "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
14754 "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
14755 "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
14756 "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
14757 "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
14758 "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
14759 "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
14760 "\x04\x02\xef\xd3\x44\xde\x76\x31"
14761 "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
14762 "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
14763 "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
14764 "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
14765 "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
14766 "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
14767 "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
14768 "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
14769 "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
14770 "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
14771 "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
14772 "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
14773 "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
14774 "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
14775 "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
14776 "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
14777 "\x32\x03\xed\xf0\x50\x1c\x56\x39"
14778 "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
14779 "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
14780 "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
14781 "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
14782 "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
14783 "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
14784 "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
14785 "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
14786 "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
14787 "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
14788 "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
14789 "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
14790 "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
14791 "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
14792 "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
14793 "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
14794 "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
14795 "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
14796 "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
14797 "\x69\x3a\x29\x23\xac\x86\x32\xa5"
14798 "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
14799 "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
14800 "\x59\x6a\xd3\x50\x59\x43\x59\xde"
14801 "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
14802 "\x18\x34\x0d\x1a\x63\x33\xed\x10"
14803 "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
14804 "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
14805 "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
14806 "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
14807 "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
14808 "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
14809 "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
14810 "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
14811 "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
14812 "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
14813 "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
14814 "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
14815 "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
14816 "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
14817 "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
14818 "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
14819 "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
14820 "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
14821 "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
14822 "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
14823 "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
14824 "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
14825 "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
14826 "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
14827 "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
14828 "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
14829 "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
14830 "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
14831 "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
14832 "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
14833 "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
14834 "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
14835 "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
14836 "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
14837 "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
14838 "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
14839 "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
14840 "\x26\x39\x83\x94\xef\x27\xd8\x53"
14841 "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
14842 "\x43\x7c\x95\x0a\x53\xef\x66\xda"
14843 "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
14844 "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
14845 "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
14846 "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
14847 "\x88\xee\x73\xcf\x66\x2f\x52\x56"
14848 "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
14849 "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
14850 "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
14851 "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
14852 "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
14853 "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
14854 "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
14855 "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
14856 "\xba\x61\x34\x38\x7c\xda\x48\x3e"
14857 "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
14858 "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
14859 "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
14860 "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
14861 "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
14862 "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
14863 "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
14864 "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
14865 "\x35\x12\xe3\x36\x28\x27\x36\x58"
14866 "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
14867 "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
14868 "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
14869 "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
14870 "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
14871 "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
14872 "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
14873 "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
14874 "\x89\xf3\x78\x35\x44\x62\x78\x72"
14875 "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
14876 "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
14877 "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
14878 "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
14879 "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
14880 "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
14881 "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
14882 "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
14883 "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
14884 "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
14885 "\xd2\x49\x77\x81\x6d\x90\x70\xae"
14886 "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
14887 "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
14888 "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
14889 "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
14890 "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
14891 "\x45\x42\x27\x75\x50\xe5\xee\xb8"
14892 "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
14893 "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
14894 "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
14895 "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
14896 "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
14897 "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
14898 "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
14899 "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
14900 "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
14901 "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
14902 "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
14903 "\xa9\x21\x2b\x92\x94\x87\x62\x57"
14904 "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
14905 "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
14906 "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
14907 "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
14908 "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
14909 "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
14910 "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
14911 "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
14912 "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
14913 "\x69\x34\x78\x61\x24\x21\x9c\x8a"
14914 "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
14915 "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
14916 "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
14917 "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
14918 "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
14919 "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
14920 "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
14921 "\xb1\x95\x28\x86\x20\xe9\x17\x49"
14922 "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
14923 "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
14924 "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
14925 "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
14926 "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
14927 "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
14928 "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
14929 "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
14930 "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
14931 "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
14932 "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
14933 "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
14934 "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
14935 "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
14936 "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
14937 "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
14938 "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
14939 "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
14940 "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
14941 "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
14942 "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
14943 "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
14944 "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
14945 "\x29\x90\x46\x30\x92\x69\x7d\x13"
14946 "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
14947 "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
14948 "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
14949 "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
14950 "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
14951 "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
14952 "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
14953 "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
14954 "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
14955 "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
14956 "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
14957 "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
14958 "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
14959 "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
14960 "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
14961 "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
14962 "\x77\x65\x08\x60\x11\x76\x4c\x8d"
14963 "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
14964 "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
14965 "\x03\xd1\x24\x95\xec\x6d\xab\x38"
14966 "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
14967 "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
14968 "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
14969 "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
14970 "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
14971 "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
14972 "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
14973 "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
14974 "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
14975 "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
14976 "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
14977 "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
14978 "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
14979 "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
14980 "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
14981 "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
14982 "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
14983 "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
14984 "\xe5\x79\x81\x73\xcd\x43\x59\x68"
14985 "\x73\x02\x3b\x78\x21\x72\x43\x00"
14986 "\x49\x17\xf7\x00\xaf\x68\x24\x53"
14987 "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
14988 "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
14989 "\x11\x94\x13\x69\x51\x09\x28\xde"
14990 "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
14991 "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
14992 "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
14993 "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
14994 "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
14995 "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
14996 "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
14997 "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
14998 "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
14999 "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
15000 "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
15001 "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
15002 "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
15003 "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
15004 "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
15005 "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
15006 "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
15007 "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
15008 "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
15009 "\x69\xdc\xab\x24\x57\x60\x47\xc1"
15010 "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
15011 "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
15012 "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
15013 "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
15014 "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
15015 "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
15016 "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
15017 "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
15018 "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
15019 "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
15020 "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
15021 "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
15022 "\x85\x62\x82\x70\x18\xe2\x9a\x78"
15023 "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
15024 "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
15025 "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
15026 "\x35\xf3\x61\x06\x72\x84\xc4\x32"
15027 "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
15028 "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
15029 "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
15030 "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
15031 "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
15032 "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
15033 "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
15034 "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
15035 "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
15036 "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
15037 "\x4f\x73\x38\x09\x75\x64\x48\xe0"
15038 "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
15039 "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
15040 "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
15041 "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
15042 "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
15043 "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
15044 "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
15045 "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
15046 "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
15047 "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
15048 "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
15049 "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
15050 "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
15051 "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
15052 "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
15053 "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
15054 "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
15055 "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
15056 "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
15057 "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
15058 "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
15059 "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
15060 "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
15061 "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
15062 "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
15063 "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
15064 "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
15065 "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
15066 "\xce\x4d\x5f\x18\x60\xce\x87\x22"
15067 "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
15068 "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
15069 "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
15070 "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
15071 "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
15072 "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
15073 "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
15074 "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
15075 "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
15076 "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
15077 "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
15078 "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
15079 "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
15080 "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
15081 "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
15082 "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
15083 "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
15084 "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
15085 "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
15086 "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
15087 "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
15088 "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
15089 "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
15090 "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
15091 "\xce\x54\xf9\x18\x58\xb5\xff\x44"
15092 "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
15093 "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
15094 "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
15095 "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
15096 "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
15097 "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
15098 "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
15099 "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
15100 "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
15101 "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
15102 "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
15103 "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
15104 "\x0c\xd6\x04\x14\xde\x51\x74\x75"
15105 "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
15106 "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
15107 "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
15108 "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
15109 "\x75\x46\x65\x4e\x07\x34\x37\xa3"
15110 "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
15111 "\x69\x24\x0e\x38\x67\x43\x8c\xde"
15112 "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
15113 "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
15114 "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
15115 "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
15116 "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
15117 "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
15118 "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
15119 "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
15120 "\x91\x7d\x62\x64\x96\x72\xde\xfc"
15121 "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
15122 "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
15123 "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
15124 "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
15125 "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
15126 "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
15127 "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
15128 "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
15129 "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
15130 "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
15131 "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
15132 "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
15133 "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
15134 "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
15135 "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
15136 "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
15137 "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
15138 "\xae\xed\x39\x88\x42\x11\x3c\xed"
15139 "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
15140 "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
15141 "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
15142 "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
15143 "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
15144 "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
15145 "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
15146 "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
15147 "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
15148 "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
15149 "\x34\x17\xde\xba\x47\xf1\x06\x18"
15150 "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
15151 "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
15152 "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
15153 "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
15154 "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
15155 "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
15156 "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
15157 "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
15158 "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
15159 "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
15160 "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
15161 "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
15162 "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
15163 "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
15164 "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
15165 "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
15166 "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
15167 "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
15168 "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
15169 "\x2c\x56\x39\x79\x0f\x69\x44\x75"
15170 "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
15171 "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
15172 "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
15173 "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
15174 "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
15175 "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
15176 "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
15177 "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
15178 "\x63\x9b\xce\x61\x24\x79\xc0\x70"
15179 "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
15180 "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
15181 "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
15182 "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
15183 "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
15184 "\x74\x56\x58\x40\x02\x37\x52\x2c"
15185 "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
15186 "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
15187 "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
15188 "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
15189 "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
15190 "\xed\x38\x80\x36\x72\x43\x27\x49"
15191 "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
15192 "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
15193 "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
15194 "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
15195 "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
15196 "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
15197 "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
15198 "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
15199 "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
15200 "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
15201 "\x12\xee\x30\xfe\xd8\x30\xef\x34"
15202 "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
15203 "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
15204 "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
15205 "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
15206 "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
15207 "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
15208 "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
15209 "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
15210 "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
15211 "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
15212 "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
15213 "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
15214 "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
15215 "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
15216 "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
15217 "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
15218 "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
15219 "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
15220 "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
15221 "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
15222 "\x44\x12\xfb\x73\x77\xd4\x13\x39"
15223 "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
15224 "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
15225 "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
15226 "\x4b\xef\x31\x18\xea\xac\xb1\x84"
15227 "\x21\xed\xda\x86",
15228 .len = 4100,
15229 .np = 2,
15230 .tap = { 4064, 36 },
15234 static const struct cipher_testvec aes_ofb_tv_template[] = {
15235 /* From NIST Special Publication 800-38A, Appendix F.5 */
15237 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
15238 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
15239 .klen = 16,
15240 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
15241 "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15242 .ptext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15243 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15244 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15245 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15246 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15247 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15248 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15249 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15250 .ctext = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
15251 "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
15252 "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
15253 "\x3c\x52\xda\xc5\x4e\xd8\x25"
15254 "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
15255 "\x44\xf7\xa8\x22\x60\xed\xcc"
15256 "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
15257 "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
15258 .len = 64,
15262 static const struct aead_testvec aes_gcm_enc_tv_template[] = {
15263 { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
15264 .key = zeroed_string,
15265 .klen = 16,
15266 .result = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
15267 "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
15268 .rlen = 16,
15269 }, {
15270 .key = zeroed_string,
15271 .klen = 16,
15272 .input = zeroed_string,
15273 .ilen = 16,
15274 .result = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
15275 "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
15276 "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
15277 "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
15278 .rlen = 32,
15279 }, {
15280 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15281 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
15282 .klen = 16,
15283 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15284 "\xde\xca\xf8\x88",
15285 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15286 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15287 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15288 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15289 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15290 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15291 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15292 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
15293 .ilen = 64,
15294 .result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
15295 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
15296 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
15297 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
15298 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
15299 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
15300 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
15301 "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
15302 "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
15303 "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
15304 .rlen = 80,
15305 }, {
15306 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15307 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
15308 .klen = 16,
15309 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15310 "\xde\xca\xf8\x88",
15311 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15312 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15313 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15314 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15315 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15316 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15317 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15318 "\xba\x63\x7b\x39",
15319 .ilen = 60,
15320 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15321 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15322 "\xab\xad\xda\xd2",
15323 .alen = 20,
15324 .result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
15325 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
15326 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
15327 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
15328 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
15329 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
15330 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
15331 "\x3d\x58\xe0\x91"
15332 "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
15333 "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
15334 .rlen = 76,
15335 }, {
15336 .key = zeroed_string,
15337 .klen = 24,
15338 .result = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
15339 "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
15340 .rlen = 16,
15341 }, {
15342 .key = zeroed_string,
15343 .klen = 24,
15344 .input = zeroed_string,
15345 .ilen = 16,
15346 .result = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
15347 "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
15348 "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
15349 "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
15350 .rlen = 32,
15351 }, {
15352 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15353 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
15354 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
15355 .klen = 24,
15356 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15357 "\xde\xca\xf8\x88",
15358 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15359 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15360 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15361 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15362 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15363 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15364 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15365 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
15366 .ilen = 64,
15367 .result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
15368 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
15369 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
15370 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
15371 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
15372 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
15373 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
15374 "\xcc\xda\x27\x10\xac\xad\xe2\x56"
15375 "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
15376 "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
15377 .rlen = 80,
15378 }, {
15379 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15380 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
15381 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
15382 .klen = 24,
15383 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15384 "\xde\xca\xf8\x88",
15385 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15386 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15387 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15388 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15389 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15390 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15391 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15392 "\xba\x63\x7b\x39",
15393 .ilen = 60,
15394 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15395 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15396 "\xab\xad\xda\xd2",
15397 .alen = 20,
15398 .result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
15399 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
15400 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
15401 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
15402 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
15403 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
15404 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
15405 "\xcc\xda\x27\x10"
15406 "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
15407 "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
15408 .rlen = 76,
15409 .np = 2,
15410 .tap = { 32, 28 },
15411 .anp = 2,
15412 .atap = { 8, 12 }
15413 }, {
15414 .key = zeroed_string,
15415 .klen = 32,
15416 .result = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
15417 "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
15418 .rlen = 16,
15422 static const struct aead_testvec aes_gcm_dec_tv_template[] = {
15423 { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
15424 .key = zeroed_string,
15425 .klen = 32,
15426 .input = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
15427 "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
15428 "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
15429 "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
15430 .ilen = 32,
15431 .result = zeroed_string,
15432 .rlen = 16,
15433 }, {
15434 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15435 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
15436 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15437 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
15438 .klen = 32,
15439 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15440 "\xde\xca\xf8\x88",
15441 .input = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
15442 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
15443 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
15444 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
15445 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
15446 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
15447 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
15448 "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
15449 "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
15450 "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
15451 .ilen = 80,
15452 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15453 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15454 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15455 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15456 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15457 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15458 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15459 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
15460 .rlen = 64,
15461 }, {
15462 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15463 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
15464 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15465 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
15466 .klen = 32,
15467 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15468 "\xde\xca\xf8\x88",
15469 .input = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
15470 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
15471 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
15472 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
15473 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
15474 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
15475 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
15476 "\xbc\xc9\xf6\x62"
15477 "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
15478 "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
15479 .ilen = 76,
15480 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15481 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15482 "\xab\xad\xda\xd2",
15483 .alen = 20,
15484 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15485 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15486 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15487 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15488 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15489 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15490 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15491 "\xba\x63\x7b\x39",
15492 .rlen = 60,
15493 .np = 2,
15494 .tap = { 48, 28 },
15495 .anp = 3,
15496 .atap = { 8, 8, 4 }
15497 }, {
15498 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15499 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
15500 .klen = 16,
15501 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15502 "\xde\xca\xf8\x88",
15503 .input = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
15504 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
15505 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
15506 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
15507 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
15508 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
15509 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
15510 "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
15511 "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
15512 "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
15513 .ilen = 80,
15514 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15515 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15516 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15517 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15518 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15519 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15520 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15521 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
15522 .rlen = 64,
15523 }, {
15524 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15525 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
15526 .klen = 16,
15527 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15528 "\xde\xca\xf8\x88",
15529 .input = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
15530 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
15531 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
15532 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
15533 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
15534 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
15535 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
15536 "\x3d\x58\xe0\x91"
15537 "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
15538 "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
15539 .ilen = 76,
15540 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15541 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15542 "\xab\xad\xda\xd2",
15543 .alen = 20,
15544 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15545 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15546 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15547 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15548 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15549 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15550 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15551 "\xba\x63\x7b\x39",
15552 .rlen = 60,
15553 }, {
15554 .key = zeroed_string,
15555 .klen = 24,
15556 .input = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
15557 "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
15558 "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
15559 "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
15560 .ilen = 32,
15561 .result = zeroed_string,
15562 .rlen = 16,
15563 }, {
15564 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15565 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
15566 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
15567 .klen = 24,
15568 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15569 "\xde\xca\xf8\x88",
15570 .input = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
15571 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
15572 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
15573 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
15574 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
15575 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
15576 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
15577 "\xcc\xda\x27\x10\xac\xad\xe2\x56"
15578 "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
15579 "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
15580 .ilen = 80,
15581 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15582 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15583 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15584 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15585 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15586 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15587 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15588 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
15589 .rlen = 64,
15590 }, {
15591 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15592 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
15593 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
15594 .klen = 24,
15595 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
15596 "\xde\xca\xf8\x88",
15597 .input = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
15598 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
15599 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
15600 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
15601 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
15602 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
15603 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
15604 "\xcc\xda\x27\x10"
15605 "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
15606 "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
15607 .ilen = 76,
15608 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15609 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
15610 "\xab\xad\xda\xd2",
15611 .alen = 20,
15612 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
15613 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
15614 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
15615 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
15616 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
15617 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
15618 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
15619 "\xba\x63\x7b\x39",
15620 .rlen = 60,
15624 static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
15625 { /* Generated using Crypto++ */
15626 .key = zeroed_string,
15627 .klen = 20,
15628 .iv = zeroed_string,
15629 .input = zeroed_string,
15630 .ilen = 16,
15631 .assoc = zeroed_string,
15632 .alen = 16,
15633 .result = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
15634 "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
15635 "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
15636 "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
15637 .rlen = 32,
15639 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15640 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
15641 "\x00\x00\x00\x00",
15642 .klen = 20,
15643 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
15644 .input = zeroed_string,
15645 .ilen = 16,
15646 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
15647 "\x00\x00\x00\x00\x00\x00\x00\x01",
15648 .alen = 16,
15649 .result = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
15650 "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
15651 "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
15652 "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
15653 .rlen = 32,
15655 }, {
15656 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15657 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
15658 "\x00\x00\x00\x00",
15659 .klen = 20,
15660 .iv = zeroed_string,
15661 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
15662 "\x01\x01\x01\x01\x01\x01\x01\x01",
15663 .ilen = 16,
15664 .assoc = zeroed_string,
15665 .alen = 16,
15666 .result = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
15667 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
15668 "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
15669 "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
15670 .rlen = 32,
15671 }, {
15672 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15673 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
15674 "\x00\x00\x00\x00",
15675 .klen = 20,
15676 .iv = zeroed_string,
15677 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
15678 "\x01\x01\x01\x01\x01\x01\x01\x01",
15679 .ilen = 16,
15680 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
15681 "\x00\x00\x00\x00\x00\x00\x00\x00",
15682 .alen = 16,
15683 .result = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
15684 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
15685 "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
15686 "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
15687 .rlen = 32,
15688 }, {
15689 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15690 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
15691 "\x00\x00\x00\x00",
15692 .klen = 20,
15693 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
15694 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
15695 "\x01\x01\x01\x01\x01\x01\x01\x01",
15696 .ilen = 16,
15697 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
15698 "\x00\x00\x00\x00\x00\x00\x00\x01",
15699 .alen = 16,
15700 .result = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
15701 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
15702 "\x64\x50\xF9\x32\x13\xFB\x74\x61"
15703 "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
15704 .rlen = 32,
15705 }, {
15706 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
15707 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
15708 "\x00\x00\x00\x00",
15709 .klen = 20,
15710 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
15711 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
15712 "\x01\x01\x01\x01\x01\x01\x01\x01"
15713 "\x01\x01\x01\x01\x01\x01\x01\x01"
15714 "\x01\x01\x01\x01\x01\x01\x01\x01"
15715 "\x01\x01\x01\x01\x01\x01\x01\x01"
15716 "\x01\x01\x01\x01\x01\x01\x01\x01"
15717 "\x01\x01\x01\x01\x01\x01\x01\x01"
15718 "\x01\x01\x01\x01\x01\x01\x01\x01",
15719 .ilen = 64,
15720 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
15721 "\x00\x00\x00\x00\x00\x00\x00\x01",
15722 .alen = 16,
15723 .result = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
15724 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
15725 "\x98\x14\xA1\x42\x37\x80\xFD\x90"
15726 "\x68\x12\x01\xA8\x91\x89\xB9\x83"
15727 "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
15728 "\x94\x5F\x18\x12\xBA\x27\x09\x39"
15729 "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
15730 "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
15731 "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
15732 "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
15733 .rlen = 80,
15734 }, {
15735 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
15736 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15737 "\x00\x00\x00\x00",
15738 .klen = 20,
15739 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
15740 .input = "\xff\xff\xff\xff\xff\xff\xff\xff"
15741 "\xff\xff\xff\xff\xff\xff\xff\xff"
15742 "\xff\xff\xff\xff\xff\xff\xff\xff"
15743 "\xff\xff\xff\xff\xff\xff\xff\xff"
15744 "\xff\xff\xff\xff\xff\xff\xff\xff"
15745 "\xff\xff\xff\xff\xff\xff\xff\xff"
15746 "\xff\xff\xff\xff\xff\xff\xff\xff"
15747 "\xff\xff\xff\xff\xff\xff\xff\xff"
15748 "\xff\xff\xff\xff\xff\xff\xff\xff"
15749 "\xff\xff\xff\xff\xff\xff\xff\xff"
15750 "\xff\xff\xff\xff\xff\xff\xff\xff"
15751 "\xff\xff\xff\xff\xff\xff\xff\xff"
15752 "\xff\xff\xff\xff\xff\xff\xff\xff"
15753 "\xff\xff\xff\xff\xff\xff\xff\xff"
15754 "\xff\xff\xff\xff\xff\xff\xff\xff"
15755 "\xff\xff\xff\xff\xff\xff\xff\xff"
15756 "\xff\xff\xff\xff\xff\xff\xff\xff"
15757 "\xff\xff\xff\xff\xff\xff\xff\xff"
15758 "\xff\xff\xff\xff\xff\xff\xff\xff"
15759 "\xff\xff\xff\xff\xff\xff\xff\xff"
15760 "\xff\xff\xff\xff\xff\xff\xff\xff"
15761 "\xff\xff\xff\xff\xff\xff\xff\xff"
15762 "\xff\xff\xff\xff\xff\xff\xff\xff"
15763 "\xff\xff\xff\xff\xff\xff\xff\xff",
15764 .ilen = 192,
15765 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
15766 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
15767 "\x89\xab\xcd\xef",
15768 .alen = 20,
15769 .result = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
15770 "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
15771 "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
15772 "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
15773 "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
15774 "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
15775 "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
15776 "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
15777 "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
15778 "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
15779 "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
15780 "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
15781 "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
15782 "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
15783 "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
15784 "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
15785 "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
15786 "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
15787 "\x7E\x13\x06\x82\x08\x17\xA4\x35"
15788 "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
15789 "\xA3\x05\x38\x95\x20\x1A\x47\x04"
15790 "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
15791 "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
15792 "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
15793 "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
15794 "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
15795 .rlen = 208,
15796 }, { /* From draft-mcgrew-gcm-test-01 */
15797 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
15798 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
15799 "\x2E\x44\x3B\x68",
15800 .klen = 20,
15801 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
15802 .input = "\x45\x00\x00\x48\x69\x9A\x00\x00"
15803 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
15804 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
15805 "\x38\xD3\x01\x00\x00\x01\x00\x00"
15806 "\x00\x00\x00\x00\x04\x5F\x73\x69"
15807 "\x70\x04\x5F\x75\x64\x70\x03\x73"
15808 "\x69\x70\x09\x63\x79\x62\x65\x72"
15809 "\x63\x69\x74\x79\x02\x64\x6B\x00"
15810 "\x00\x21\x00\x01\x01\x02\x02\x01",
15811 .ilen = 72,
15812 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
15813 "\x00\x00\x00\x00\x49\x56\xED\x7E"
15814 "\x3B\x24\x4C\xFE",
15815 .alen = 20,
15816 .result = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
15817 "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
15818 "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
15819 "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
15820 "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
15821 "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
15822 "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
15823 "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
15824 "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
15825 "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
15826 "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
15827 .rlen = 88,
15828 }, {
15829 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
15830 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
15831 "\xCA\xFE\xBA\xBE",
15832 .klen = 20,
15833 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
15834 .input = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
15835 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
15836 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
15837 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
15838 "\x00\x01\x00\x00\x00\x00\x00\x00"
15839 "\x03\x73\x69\x70\x09\x63\x79\x62"
15840 "\x65\x72\x63\x69\x74\x79\x02\x64"
15841 "\x6B\x00\x00\x01\x00\x01\x00\x01",
15842 .ilen = 64,
15843 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
15844 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
15845 .alen = 16,
15846 .result = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
15847 "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
15848 "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
15849 "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
15850 "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
15851 "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
15852 "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
15853 "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
15854 "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
15855 "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
15856 .rlen = 80,
15857 }, {
15858 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
15859 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
15860 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
15861 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
15862 "\x11\x22\x33\x44",
15863 .klen = 36,
15864 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
15865 .input = "\x45\x00\x00\x30\x69\xA6\x40\x00"
15866 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
15867 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
15868 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
15869 "\x70\x02\x40\x00\x20\xBF\x00\x00"
15870 "\x02\x04\x05\xB4\x01\x01\x04\x02"
15871 "\x01\x02\x02\x01",
15872 .ilen = 52,
15873 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
15874 "\x01\x02\x03\x04\x05\x06\x07\x08",
15875 .alen = 16,
15876 .result = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
15877 "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
15878 "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
15879 "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
15880 "\x74\x8A\x63\x79\x85\x77\x1D\x34"
15881 "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
15882 "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
15883 "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
15884 "\x15\x95\x6C\x96",
15885 .rlen = 68,
15886 }, {
15887 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
15888 "\x00\x00\x00\x00\x00\x00\x00\x00"
15889 "\x00\x00\x00\x00",
15890 .klen = 20,
15891 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
15892 .input = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
15893 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
15894 "\x01\x01\x01\x01\x08\x00\x07\x5C"
15895 "\x02\x00\x44\x00\x61\x62\x63\x64"
15896 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
15897 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
15898 "\x75\x76\x77\x61\x62\x63\x64\x65"
15899 "\x66\x67\x68\x69\x01\x02\x02\x01",
15900 .ilen = 64,
15901 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
15902 "\x00\x00\x00\x00\x00\x00\x00\x00",
15903 .alen = 16,
15904 .result = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
15905 "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
15906 "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
15907 "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
15908 "\x45\x64\x76\x49\x27\x19\xFF\xB6"
15909 "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
15910 "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
15911 "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
15912 "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
15913 "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
15914 .rlen = 80,
15915 }, {
15916 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
15917 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
15918 "\x57\x69\x0E\x43",
15919 .klen = 20,
15920 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
15921 .input = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
15922 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
15923 "\x01\x01\x01\x01\x08\x00\x08\x5C"
15924 "\x02\x00\x43\x00\x61\x62\x63\x64"
15925 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
15926 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
15927 "\x75\x76\x77\x61\x62\x63\x64\x65"
15928 "\x66\x67\x68\x69\x01\x02\x02\x01",
15929 .ilen = 64,
15930 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
15931 "\x10\x10\x10\x10\x4E\x28\x00\x00"
15932 "\xA2\xFC\xA1\xA3",
15933 .alen = 20,
15934 .result = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
15935 "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
15936 "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
15937 "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
15938 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
15939 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
15940 "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
15941 "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
15942 "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
15943 "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
15944 .rlen = 80,
15945 }, {
15946 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
15947 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
15948 "\x57\x69\x0E\x43",
15949 .klen = 20,
15950 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
15951 .input = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
15952 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
15953 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
15954 "\x01\x02\x02\x01",
15955 .ilen = 28,
15956 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
15957 "\x10\x10\x10\x10\x4E\x28\x00\x00"
15958 "\xA2\xFC\xA1\xA3",
15959 .alen = 20,
15960 .result = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
15961 "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
15962 "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
15963 "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
15964 "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
15965 "\xE7\xD0\x5D\x35",
15966 .rlen = 44,
15967 }, {
15968 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
15969 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
15970 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
15971 "\xCA\xFE\xBA\xBE",
15972 .klen = 28,
15973 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
15974 .input = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
15975 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
15976 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
15977 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
15978 "\x50\x10\x16\xD0\x75\x68\x00\x01",
15979 .ilen = 40,
15980 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
15981 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
15982 .alen = 16,
15983 .result = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
15984 "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
15985 "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
15986 "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
15987 "\x31\x5B\x27\x45\x21\x44\xCC\x77"
15988 "\x95\x45\x7B\x96\x52\x03\x7F\x53"
15989 "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
15990 .rlen = 56,
15991 }, {
15992 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
15993 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
15994 "\xDE\xCA\xF8\x88",
15995 .klen = 20,
15996 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
15997 .input = "\x45\x00\x00\x49\x33\xBA\x00\x00"
15998 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
15999 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
16000 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
16001 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
16002 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
16003 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
16004 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
16005 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
16006 "\x23\x01\x01\x01",
16007 .ilen = 76,
16008 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
16009 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
16010 "\xCE\xFA\xCE\x74",
16011 .alen = 20,
16012 .result = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
16013 "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
16014 "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
16015 "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
16016 "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
16017 "\x84\xE6\x58\x63\x96\x5D\x74\x72"
16018 "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
16019 "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
16020 "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
16021 "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
16022 "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
16023 "\x69\x62\x34\x36",
16024 .rlen = 92,
16025 }, {
16026 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16027 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16028 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16029 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16030 "\x73\x61\x6C\x74",
16031 .klen = 36,
16032 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
16033 .input = "\x45\x08\x00\x28\x73\x2C\x00\x00"
16034 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
16035 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
16036 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
16037 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
16038 .ilen = 40,
16039 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
16040 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
16041 "\x69\x76\x65\x63",
16042 .alen = 20,
16043 .result = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
16044 "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
16045 "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
16046 "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
16047 "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
16048 "\x45\x16\x26\xC2\x41\x57\x71\xE3"
16049 "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
16050 .rlen = 56,
16051 }, {
16052 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
16053 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
16054 "\x57\x69\x0E\x43",
16055 .klen = 20,
16056 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
16057 .input = "\x45\x00\x00\x49\x33\x3E\x00\x00"
16058 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
16059 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
16060 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
16061 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
16062 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
16063 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
16064 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
16065 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
16066 "\x15\x01\x01\x01",
16067 .ilen = 76,
16068 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
16069 "\x10\x10\x10\x10\x4E\x28\x00\x00"
16070 "\xA2\xFC\xA1\xA3",
16071 .alen = 20,
16072 .result = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
16073 "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
16074 "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
16075 "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
16076 "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
16077 "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
16078 "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
16079 "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
16080 "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
16081 "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
16082 "\x76\x91\x89\x60\x97\x63\xB8\xE1"
16083 "\x8C\xAA\x81\xE2",
16084 .rlen = 92,
16085 }, {
16086 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16087 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16088 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16089 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16090 "\x73\x61\x6C\x74",
16091 .klen = 36,
16092 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
16093 .input = "\x63\x69\x73\x63\x6F\x01\x72\x75"
16094 "\x6C\x65\x73\x01\x74\x68\x65\x01"
16095 "\x6E\x65\x74\x77\x65\x01\x64\x65"
16096 "\x66\x69\x6E\x65\x01\x74\x68\x65"
16097 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
16098 "\x67\x69\x65\x73\x01\x74\x68\x61"
16099 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
16100 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
16101 "\x72\x72\x6F\x77\x01\x02\x02\x01",
16102 .ilen = 72,
16103 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
16104 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
16105 "\x69\x76\x65\x63",
16106 .alen = 20,
16107 .result = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
16108 "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
16109 "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
16110 "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
16111 "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
16112 "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
16113 "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
16114 "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
16115 "\x12\xA4\x93\x63\x41\x23\x64\xF8"
16116 "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
16117 "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
16118 .rlen = 88,
16119 }, {
16120 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
16121 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
16122 "\xD9\x66\x42\x67",
16123 .klen = 20,
16124 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
16125 .input = "\x01\x02\x02\x01",
16126 .ilen = 4,
16127 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
16128 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
16129 .alen = 16,
16130 .result = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
16131 "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
16132 "\x04\xBE\xF2\x70",
16133 .rlen = 20,
16134 }, {
16135 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16136 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16137 "\xDE\xCA\xF8\x88",
16138 .klen = 20,
16139 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
16140 .input = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
16141 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
16142 "\x62\x65\x00\x01",
16143 .ilen = 20,
16144 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
16145 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
16146 "\xCE\xFA\xCE\x74",
16147 .alen = 20,
16148 .result = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
16149 "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
16150 "\x43\x33\x21\x64\x41\x25\x03\x52"
16151 "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
16152 "\x43\xAF\x8C\x3E",
16153 .rlen = 36,
16154 }, {
16155 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
16156 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
16157 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
16158 "\x62\x65\x66\x6F\x72\x65\x69\x61"
16159 "\x74\x75\x72\x6E",
16160 .klen = 36,
16161 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
16162 .input = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
16163 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
16164 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
16165 "\x02\x00\x07\x00\x61\x62\x63\x64"
16166 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
16167 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
16168 "\x01\x02\x02\x01",
16169 .ilen = 52,
16170 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
16171 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
16172 "\x67\x65\x74\x6D",
16173 .alen = 20,
16174 .result = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
16175 "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
16176 "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
16177 "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
16178 "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
16179 "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
16180 "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
16181 "\x94\x5F\x66\x93\x68\x66\x1A\x32"
16182 "\x9F\xB4\xC0\x53",
16183 .rlen = 68,
16184 }, {
16185 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
16186 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
16187 "\x57\x69\x0E\x43",
16188 .klen = 20,
16189 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
16190 .input = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
16191 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
16192 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
16193 "\x02\x00\x07\x00\x61\x62\x63\x64"
16194 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
16195 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
16196 "\x01\x02\x02\x01",
16197 .ilen = 52,
16198 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
16199 "\x10\x10\x10\x10\x4E\x28\x00\x00"
16200 "\xA2\xFC\xA1\xA3",
16201 .alen = 20,
16202 .result = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
16203 "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
16204 "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
16205 "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
16206 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
16207 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
16208 "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
16209 "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
16210 "\x40\xD7\xCB\x05",
16211 .rlen = 68,
16212 }, {
16213 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
16214 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
16215 "\x22\x43\x3C\x64",
16216 .klen = 20,
16217 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
16218 .input = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
16219 "\x61\x62\x63\x64\x65\x66\x67\x68"
16220 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
16221 "\x71\x72\x73\x74\x01\x02\x02\x01",
16222 .ilen = 32,
16223 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
16224 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
16225 "\x3A\x23\x4B\xFD",
16226 .alen = 20,
16227 .result = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
16228 "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
16229 "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
16230 "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
16231 "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
16232 "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
16233 .rlen = 48,
16237 static const struct aead_testvec aes_gcm_rfc4106_dec_tv_template[] = {
16238 { /* Generated using Crypto++ */
16239 .key = zeroed_string,
16240 .klen = 20,
16241 .iv = zeroed_string,
16242 .input = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
16243 "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
16244 "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
16245 "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
16246 .ilen = 32,
16247 .assoc = zeroed_string,
16248 .alen = 16,
16249 .result = zeroed_string,
16250 .rlen = 16,
16253 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16254 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
16255 "\x00\x00\x00\x00",
16256 .klen = 20,
16257 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
16258 .input = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
16259 "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
16260 "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
16261 "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
16262 .ilen = 32,
16263 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
16264 "\x00\x00\x00\x00\x00\x00\x00\x01",
16265 .alen = 16,
16266 .result = zeroed_string,
16267 .rlen = 16,
16268 }, {
16269 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16270 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
16271 "\x00\x00\x00\x00",
16272 .klen = 20,
16273 .iv = zeroed_string,
16274 .input = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
16275 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
16276 "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
16277 "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
16278 .ilen = 32,
16279 .assoc = zeroed_string,
16280 .alen = 16,
16281 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
16282 "\x01\x01\x01\x01\x01\x01\x01\x01",
16283 .rlen = 16,
16284 }, {
16285 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16286 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
16287 "\x00\x00\x00\x00",
16288 .klen = 20,
16289 .iv = zeroed_string,
16290 .input = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
16291 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
16292 "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
16293 "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
16294 .ilen = 32,
16295 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
16296 "\x00\x00\x00\x00\x00\x00\x00\x00",
16297 .alen = 16,
16298 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
16299 "\x01\x01\x01\x01\x01\x01\x01\x01",
16300 .rlen = 16,
16302 }, {
16303 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16304 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
16305 "\x00\x00\x00\x00",
16306 .klen = 20,
16307 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
16308 .input = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
16309 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
16310 "\x64\x50\xF9\x32\x13\xFB\x74\x61"
16311 "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
16312 .ilen = 32,
16313 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
16314 "\x00\x00\x00\x00\x00\x00\x00\x01",
16315 .alen = 16,
16316 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
16317 "\x01\x01\x01\x01\x01\x01\x01\x01",
16318 .rlen = 16,
16319 }, {
16320 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
16321 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
16322 "\x00\x00\x00\x00",
16323 .klen = 20,
16324 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
16325 .input = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
16326 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
16327 "\x98\x14\xA1\x42\x37\x80\xFD\x90"
16328 "\x68\x12\x01\xA8\x91\x89\xB9\x83"
16329 "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
16330 "\x94\x5F\x18\x12\xBA\x27\x09\x39"
16331 "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
16332 "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
16333 "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
16334 "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
16335 .ilen = 80,
16336 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
16337 "\x00\x00\x00\x00\x00\x00\x00\x01",
16338 .alen = 16,
16339 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
16340 "\x01\x01\x01\x01\x01\x01\x01\x01"
16341 "\x01\x01\x01\x01\x01\x01\x01\x01"
16342 "\x01\x01\x01\x01\x01\x01\x01\x01"
16343 "\x01\x01\x01\x01\x01\x01\x01\x01"
16344 "\x01\x01\x01\x01\x01\x01\x01\x01"
16345 "\x01\x01\x01\x01\x01\x01\x01\x01"
16346 "\x01\x01\x01\x01\x01\x01\x01\x01",
16347 .rlen = 64,
16348 }, {
16349 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
16350 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16351 "\x00\x00\x00\x00",
16352 .klen = 20,
16353 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
16354 .input = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
16355 "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
16356 "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
16357 "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
16358 "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
16359 "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
16360 "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
16361 "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
16362 "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
16363 "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
16364 "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
16365 "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
16366 "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
16367 "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
16368 "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
16369 "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
16370 "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
16371 "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
16372 "\x7E\x13\x06\x82\x08\x17\xA4\x35"
16373 "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
16374 "\xA3\x05\x38\x95\x20\x1A\x47\x04"
16375 "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
16376 "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
16377 "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
16378 "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
16379 "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
16380 .ilen = 208,
16381 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
16382 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
16383 "\x89\xab\xcd\xef",
16384 .alen = 20,
16385 .result = "\xff\xff\xff\xff\xff\xff\xff\xff"
16386 "\xff\xff\xff\xff\xff\xff\xff\xff"
16387 "\xff\xff\xff\xff\xff\xff\xff\xff"
16388 "\xff\xff\xff\xff\xff\xff\xff\xff"
16389 "\xff\xff\xff\xff\xff\xff\xff\xff"
16390 "\xff\xff\xff\xff\xff\xff\xff\xff"
16391 "\xff\xff\xff\xff\xff\xff\xff\xff"
16392 "\xff\xff\xff\xff\xff\xff\xff\xff"
16393 "\xff\xff\xff\xff\xff\xff\xff\xff"
16394 "\xff\xff\xff\xff\xff\xff\xff\xff"
16395 "\xff\xff\xff\xff\xff\xff\xff\xff"
16396 "\xff\xff\xff\xff\xff\xff\xff\xff"
16397 "\xff\xff\xff\xff\xff\xff\xff\xff"
16398 "\xff\xff\xff\xff\xff\xff\xff\xff"
16399 "\xff\xff\xff\xff\xff\xff\xff\xff"
16400 "\xff\xff\xff\xff\xff\xff\xff\xff"
16401 "\xff\xff\xff\xff\xff\xff\xff\xff"
16402 "\xff\xff\xff\xff\xff\xff\xff\xff"
16403 "\xff\xff\xff\xff\xff\xff\xff\xff"
16404 "\xff\xff\xff\xff\xff\xff\xff\xff"
16405 "\xff\xff\xff\xff\xff\xff\xff\xff"
16406 "\xff\xff\xff\xff\xff\xff\xff\xff"
16407 "\xff\xff\xff\xff\xff\xff\xff\xff"
16408 "\xff\xff\xff\xff\xff\xff\xff\xff",
16409 .rlen = 192,
16410 }, {
16411 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
16412 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
16413 "\x2E\x44\x3B\x68",
16414 .klen = 20,
16415 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
16416 .result = "\x45\x00\x00\x48\x69\x9A\x00\x00"
16417 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
16418 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
16419 "\x38\xD3\x01\x00\x00\x01\x00\x00"
16420 "\x00\x00\x00\x00\x04\x5F\x73\x69"
16421 "\x70\x04\x5F\x75\x64\x70\x03\x73"
16422 "\x69\x70\x09\x63\x79\x62\x65\x72"
16423 "\x63\x69\x74\x79\x02\x64\x6B\x00"
16424 "\x00\x21\x00\x01\x01\x02\x02\x01",
16425 .rlen = 72,
16426 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
16427 "\x00\x00\x00\x00\x49\x56\xED\x7E"
16428 "\x3B\x24\x4C\xFE",
16429 .alen = 20,
16430 .input = "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
16431 "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
16432 "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
16433 "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
16434 "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
16435 "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
16436 "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
16437 "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
16438 "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
16439 "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
16440 "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
16441 .ilen = 88,
16442 }, {
16443 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
16444 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
16445 "\xCA\xFE\xBA\xBE",
16446 .klen = 20,
16447 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
16448 .result = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
16449 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
16450 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
16451 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
16452 "\x00\x01\x00\x00\x00\x00\x00\x00"
16453 "\x03\x73\x69\x70\x09\x63\x79\x62"
16454 "\x65\x72\x63\x69\x74\x79\x02\x64"
16455 "\x6B\x00\x00\x01\x00\x01\x00\x01",
16456 .rlen = 64,
16457 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
16458 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
16459 .alen = 16,
16460 .input = "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
16461 "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
16462 "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
16463 "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
16464 "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
16465 "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
16466 "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
16467 "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
16468 "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
16469 "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
16470 .ilen = 80,
16471 }, {
16472 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16473 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16474 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16475 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16476 "\x11\x22\x33\x44",
16477 .klen = 36,
16478 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
16479 .result = "\x45\x00\x00\x30\x69\xA6\x40\x00"
16480 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
16481 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
16482 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
16483 "\x70\x02\x40\x00\x20\xBF\x00\x00"
16484 "\x02\x04\x05\xB4\x01\x01\x04\x02"
16485 "\x01\x02\x02\x01",
16486 .rlen = 52,
16487 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
16488 "\x01\x02\x03\x04\x05\x06\x07\x08",
16489 .alen = 16,
16490 .input = "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
16491 "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
16492 "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
16493 "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
16494 "\x74\x8A\x63\x79\x85\x77\x1D\x34"
16495 "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
16496 "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
16497 "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
16498 "\x15\x95\x6C\x96",
16499 .ilen = 68,
16500 }, {
16501 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
16502 "\x00\x00\x00\x00\x00\x00\x00\x00"
16503 "\x00\x00\x00\x00",
16504 .klen = 20,
16505 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
16506 .result = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
16507 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
16508 "\x01\x01\x01\x01\x08\x00\x07\x5C"
16509 "\x02\x00\x44\x00\x61\x62\x63\x64"
16510 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
16511 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
16512 "\x75\x76\x77\x61\x62\x63\x64\x65"
16513 "\x66\x67\x68\x69\x01\x02\x02\x01",
16514 .rlen = 64,
16515 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
16516 "\x00\x00\x00\x00\x00\x00\x00\x00",
16517 .alen = 16,
16518 .input = "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
16519 "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
16520 "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
16521 "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
16522 "\x45\x64\x76\x49\x27\x19\xFF\xB6"
16523 "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
16524 "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
16525 "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
16526 "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
16527 "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
16528 .ilen = 80,
16529 }, {
16530 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
16531 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
16532 "\x57\x69\x0E\x43",
16533 .klen = 20,
16534 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
16535 .result = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
16536 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
16537 "\x01\x01\x01\x01\x08\x00\x08\x5C"
16538 "\x02\x00\x43\x00\x61\x62\x63\x64"
16539 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
16540 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
16541 "\x75\x76\x77\x61\x62\x63\x64\x65"
16542 "\x66\x67\x68\x69\x01\x02\x02\x01",
16543 .rlen = 64,
16544 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
16545 "\x10\x10\x10\x10\x4E\x28\x00\x00"
16546 "\xA2\xFC\xA1\xA3",
16547 .alen = 20,
16548 .input = "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
16549 "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
16550 "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
16551 "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
16552 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
16553 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
16554 "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
16555 "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
16556 "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
16557 "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
16558 .ilen = 80,
16559 }, {
16560 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
16561 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
16562 "\x57\x69\x0E\x43",
16563 .klen = 20,
16564 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
16565 .result = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
16566 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
16567 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
16568 "\x01\x02\x02\x01",
16569 .rlen = 28,
16570 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
16571 "\x10\x10\x10\x10\x4E\x28\x00\x00"
16572 "\xA2\xFC\xA1\xA3",
16573 .alen = 20,
16574 .input = "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
16575 "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
16576 "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
16577 "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
16578 "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
16579 "\xE7\xD0\x5D\x35",
16580 .ilen = 44,
16581 }, {
16582 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
16583 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
16584 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
16585 "\xCA\xFE\xBA\xBE",
16586 .klen = 28,
16587 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
16588 .result = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
16589 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
16590 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
16591 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
16592 "\x50\x10\x16\xD0\x75\x68\x00\x01",
16593 .rlen = 40,
16594 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
16595 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
16596 .alen = 16,
16597 .input = "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
16598 "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
16599 "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
16600 "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
16601 "\x31\x5B\x27\x45\x21\x44\xCC\x77"
16602 "\x95\x45\x7B\x96\x52\x03\x7F\x53"
16603 "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
16604 .ilen = 56,
16605 }, {
16606 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16607 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16608 "\xDE\xCA\xF8\x88",
16609 .klen = 20,
16610 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
16611 .result = "\x45\x00\x00\x49\x33\xBA\x00\x00"
16612 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
16613 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
16614 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
16615 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
16616 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
16617 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
16618 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
16619 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
16620 "\x23\x01\x01\x01",
16621 .rlen = 76,
16622 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
16623 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
16624 "\xCE\xFA\xCE\x74",
16625 .alen = 20,
16626 .input = "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
16627 "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
16628 "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
16629 "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
16630 "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
16631 "\x84\xE6\x58\x63\x96\x5D\x74\x72"
16632 "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
16633 "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
16634 "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
16635 "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
16636 "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
16637 "\x69\x62\x34\x36",
16638 .ilen = 92,
16639 }, {
16640 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16641 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16642 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16643 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16644 "\x73\x61\x6C\x74",
16645 .klen = 36,
16646 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
16647 .result = "\x45\x08\x00\x28\x73\x2C\x00\x00"
16648 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
16649 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
16650 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
16651 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
16652 .rlen = 40,
16653 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
16654 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
16655 "\x69\x76\x65\x63",
16656 .alen = 20,
16657 .input = "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
16658 "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
16659 "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
16660 "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
16661 "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
16662 "\x45\x16\x26\xC2\x41\x57\x71\xE3"
16663 "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
16664 .ilen = 56,
16665 }, {
16666 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
16667 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
16668 "\x57\x69\x0E\x43",
16669 .klen = 20,
16670 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
16671 .result = "\x45\x00\x00\x49\x33\x3E\x00\x00"
16672 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
16673 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
16674 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
16675 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
16676 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
16677 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
16678 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
16679 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
16680 "\x15\x01\x01\x01",
16681 .rlen = 76,
16682 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
16683 "\x10\x10\x10\x10\x4E\x28\x00\x00"
16684 "\xA2\xFC\xA1\xA3",
16685 .alen = 20,
16686 .input = "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
16687 "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
16688 "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
16689 "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
16690 "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
16691 "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
16692 "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
16693 "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
16694 "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
16695 "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
16696 "\x76\x91\x89\x60\x97\x63\xB8\xE1"
16697 "\x8C\xAA\x81\xE2",
16698 .ilen = 92,
16699 }, {
16700 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16701 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16702 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16703 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16704 "\x73\x61\x6C\x74",
16705 .klen = 36,
16706 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
16707 .result = "\x63\x69\x73\x63\x6F\x01\x72\x75"
16708 "\x6C\x65\x73\x01\x74\x68\x65\x01"
16709 "\x6E\x65\x74\x77\x65\x01\x64\x65"
16710 "\x66\x69\x6E\x65\x01\x74\x68\x65"
16711 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
16712 "\x67\x69\x65\x73\x01\x74\x68\x61"
16713 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
16714 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
16715 "\x72\x72\x6F\x77\x01\x02\x02\x01",
16716 .rlen = 72,
16717 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
16718 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
16719 "\x69\x76\x65\x63",
16720 .alen = 20,
16721 .input = "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
16722 "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
16723 "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
16724 "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
16725 "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
16726 "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
16727 "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
16728 "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
16729 "\x12\xA4\x93\x63\x41\x23\x64\xF8"
16730 "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
16731 "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
16732 .ilen = 88,
16733 }, {
16734 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
16735 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
16736 "\xD9\x66\x42\x67",
16737 .klen = 20,
16738 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
16739 .result = "\x01\x02\x02\x01",
16740 .rlen = 4,
16741 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
16742 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
16743 .alen = 16,
16744 .input = "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
16745 "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
16746 "\x04\xBE\xF2\x70",
16747 .ilen = 20,
16748 }, {
16749 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
16750 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
16751 "\xDE\xCA\xF8\x88",
16752 .klen = 20,
16753 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
16754 .result = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
16755 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
16756 "\x62\x65\x00\x01",
16757 .rlen = 20,
16758 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
16759 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
16760 "\xCE\xFA\xCE\x74",
16761 .alen = 20,
16762 .input = "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
16763 "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
16764 "\x43\x33\x21\x64\x41\x25\x03\x52"
16765 "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
16766 "\x43\xAF\x8C\x3E",
16767 .ilen = 36,
16768 }, {
16769 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
16770 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
16771 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
16772 "\x62\x65\x66\x6F\x72\x65\x69\x61"
16773 "\x74\x75\x72\x6E",
16774 .klen = 36,
16775 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
16776 .result = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
16777 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
16778 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
16779 "\x02\x00\x07\x00\x61\x62\x63\x64"
16780 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
16781 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
16782 "\x01\x02\x02\x01",
16783 .rlen = 52,
16784 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
16785 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
16786 "\x67\x65\x74\x6D",
16787 .alen = 20,
16788 .input = "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
16789 "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
16790 "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
16791 "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
16792 "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
16793 "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
16794 "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
16795 "\x94\x5F\x66\x93\x68\x66\x1A\x32"
16796 "\x9F\xB4\xC0\x53",
16797 .ilen = 68,
16798 }, {
16799 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
16800 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
16801 "\x57\x69\x0E\x43",
16802 .klen = 20,
16803 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
16804 .result = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
16805 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
16806 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
16807 "\x02\x00\x07\x00\x61\x62\x63\x64"
16808 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
16809 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
16810 "\x01\x02\x02\x01",
16811 .rlen = 52,
16812 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
16813 "\x10\x10\x10\x10\x4E\x28\x00\x00"
16814 "\xA2\xFC\xA1\xA3",
16815 .alen = 20,
16816 .input = "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
16817 "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
16818 "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
16819 "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
16820 "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
16821 "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
16822 "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
16823 "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
16824 "\x40\xD7\xCB\x05",
16825 .ilen = 68,
16826 }, {
16827 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
16828 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
16829 "\x22\x43\x3C\x64",
16830 .klen = 20,
16831 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
16832 .result = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
16833 "\x61\x62\x63\x64\x65\x66\x67\x68"
16834 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
16835 "\x71\x72\x73\x74\x01\x02\x02\x01",
16836 .rlen = 32,
16837 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
16838 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
16839 "\x3A\x23\x4B\xFD",
16840 .alen = 20,
16841 .input = "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
16842 "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
16843 "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
16844 "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
16845 "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
16846 "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
16847 .ilen = 48,
16851 static const struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = {
16852 { /* From draft-mcgrew-gcm-test-01 */
16853 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
16854 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
16855 "\x22\x43\x3c\x64",
16856 .klen = 20,
16857 .iv = zeroed_string,
16858 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
16859 "\x00\x00\x00\x00\x00\x00\x00\x00",
16860 .alen = 16,
16861 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00"
16862 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
16863 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
16864 "\x02\x00\x07\x00\x61\x62\x63\x64"
16865 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
16866 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
16867 "\x01\x02\x02\x01",
16868 .ilen = 52,
16869 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00"
16870 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
16871 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
16872 "\x02\x00\x07\x00\x61\x62\x63\x64"
16873 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
16874 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
16875 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
16876 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
16877 "\xe4\x09\x9a\xaa",
16878 .rlen = 68,
16882 static const struct aead_testvec aes_gcm_rfc4543_dec_tv_template[] = {
16883 { /* From draft-mcgrew-gcm-test-01 */
16884 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
16885 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
16886 "\x22\x43\x3c\x64",
16887 .klen = 20,
16888 .iv = zeroed_string,
16889 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
16890 "\x00\x00\x00\x00\x00\x00\x00\x00",
16891 .alen = 16,
16892 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00"
16893 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
16894 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
16895 "\x02\x00\x07\x00\x61\x62\x63\x64"
16896 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
16897 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
16898 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
16899 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
16900 "\xe4\x09\x9a\xaa",
16901 .ilen = 68,
16902 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00"
16903 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
16904 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
16905 "\x02\x00\x07\x00\x61\x62\x63\x64"
16906 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
16907 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
16908 "\x01\x02\x02\x01",
16909 .rlen = 52,
16910 }, { /* nearly same as previous, but should fail */
16911 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
16912 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
16913 "\x22\x43\x3c\x64",
16914 .klen = 20,
16915 .iv = zeroed_string,
16916 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07"
16917 "\x00\x00\x00\x00\x00\x00\x00\x00",
16918 .alen = 16,
16919 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00"
16920 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
16921 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
16922 "\x02\x00\x07\x00\x61\x62\x63\x64"
16923 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
16924 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
16925 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
16926 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
16927 "\x00\x00\x00\x00",
16928 .ilen = 68,
16929 .novrfy = 1,
16930 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00"
16931 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
16932 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
16933 "\x02\x00\x07\x00\x61\x62\x63\x64"
16934 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
16935 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
16936 "\x01\x02\x02\x01",
16937 .rlen = 52,
16941 static const struct aead_testvec aes_ccm_enc_tv_template[] = {
16942 { /* From RFC 3610 */
16943 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16944 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
16945 .klen = 16,
16946 .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
16947 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
16948 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
16949 .alen = 8,
16950 .input = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16951 "\x10\x11\x12\x13\x14\x15\x16\x17"
16952 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
16953 .ilen = 23,
16954 .result = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
16955 "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
16956 "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
16957 "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
16958 .rlen = 31,
16959 }, {
16960 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16961 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
16962 .klen = 16,
16963 .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
16964 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
16965 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
16966 "\x08\x09\x0a\x0b",
16967 .alen = 12,
16968 .input = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
16969 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
16970 "\x1c\x1d\x1e\x1f",
16971 .ilen = 20,
16972 .result = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
16973 "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
16974 "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
16975 "\x7d\x9c\x2d\x93",
16976 .rlen = 28,
16977 }, {
16978 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16979 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
16980 .klen = 16,
16981 .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
16982 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
16983 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
16984 .alen = 8,
16985 .input = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16986 "\x10\x11\x12\x13\x14\x15\x16\x17"
16987 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16988 "\x20",
16989 .ilen = 25,
16990 .result = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
16991 "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
16992 "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
16993 "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
16994 "\x7e\x5f\x4e",
16995 .rlen = 35,
16996 }, {
16997 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16998 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
16999 .klen = 16,
17000 .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
17001 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
17002 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
17003 "\x08\x09\x0a\x0b",
17004 .alen = 12,
17005 .input = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
17006 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
17007 "\x1c\x1d\x1e",
17008 .ilen = 19,
17009 .result = "\x07\x34\x25\x94\x15\x77\x85\x15"
17010 "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
17011 "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
17012 "\x4d\x99\x99\x88\xdd",
17013 .rlen = 29,
17014 }, {
17015 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
17016 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
17017 .klen = 16,
17018 .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
17019 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
17020 .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
17021 .alen = 8,
17022 .input = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
17023 "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
17024 "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
17025 .ilen = 24,
17026 .result = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
17027 "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
17028 "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
17029 "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
17030 .rlen = 32,
17031 }, {
17032 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
17033 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
17034 .klen = 16,
17035 .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
17036 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
17037 .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
17038 "\x20\xea\x60\xc0",
17039 .alen = 12,
17040 .input = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
17041 "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
17042 "\x3a\x80\x3b\xa8\x7f",
17043 .ilen = 21,
17044 .result = "\x00\x97\x69\xec\xab\xdf\x48\x62"
17045 "\x55\x94\xc5\x92\x51\xe6\x03\x57"
17046 "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
17047 "\x5a\xe0\x70\x45\x51",
17048 .rlen = 29,
17049 }, {
17050 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
17051 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
17052 .klen = 16,
17053 .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
17054 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
17055 .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
17056 .alen = 8,
17057 .input = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
17058 "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
17059 "\x98\x09\xd6\x7d\xbe\xdd\x18",
17060 .ilen = 23,
17061 .result = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
17062 "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
17063 "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
17064 "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
17065 "\xba",
17066 .rlen = 33,
17067 }, {
17068 /* This is taken from FIPS CAVS. */
17069 .key = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
17070 "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
17071 .klen = 16,
17072 .iv = "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
17073 .alen = 0,
17074 .input = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
17075 "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
17076 "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
17077 "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
17078 .ilen = 32,
17079 .result = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
17080 "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
17081 "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
17082 "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
17083 "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
17084 "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
17085 .rlen = 48,
17086 }, {
17087 .key = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
17088 "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
17089 .klen = 16,
17090 .iv = "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
17091 "\x30\x60\x15\x56\x00\x00\x00\x00",
17092 .assoc = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
17093 "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
17094 "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
17095 "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
17096 .alen = 32,
17097 .input = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
17098 "\xa9\x28\x63\xba\x12\xa3\x14\x85"
17099 "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
17100 "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
17101 .ilen = 32,
17102 .result = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
17103 "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
17104 "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
17105 "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
17106 "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
17107 "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
17108 .rlen = 48,
17109 }, {
17110 .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
17111 "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
17112 "\x53\x14\x73\x66\x8d\x88\xf6\x80",
17113 .klen = 24,
17114 .iv = "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
17115 "\x50\x20\xda\xe2\x00\x00\x00\x00",
17116 .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
17117 "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
17118 "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
17119 "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
17120 .alen = 32,
17121 .result = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
17122 "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
17123 .rlen = 16,
17124 }, {
17125 .key = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
17126 "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
17127 "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
17128 .klen = 24,
17129 .iv = "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
17130 "\xef\x09\x2e\x94\x00\x00\x00\x00",
17131 .assoc = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
17132 "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
17133 "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
17134 "\xe3\x00\x73\x69\x84\x69\x87\x79",
17135 .alen = 32,
17136 .input = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
17137 "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
17138 "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
17139 "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
17140 .ilen = 32,
17141 .result = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
17142 "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
17143 "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
17144 "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
17145 "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
17146 "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
17147 .rlen = 48,
17148 }, {
17149 .key = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
17150 "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
17151 "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
17152 "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
17153 .klen = 32,
17154 .iv = "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
17155 "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
17156 .assoc = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
17157 "\x78\x2b\x94\x02\x29\x0f\x42\x27"
17158 "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
17159 "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
17160 .alen = 32,
17161 .input = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
17162 "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
17163 "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
17164 "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
17165 .ilen = 32,
17166 .result = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
17167 "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
17168 "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
17169 "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
17170 "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
17171 .rlen = 40,
17172 }, {
17173 .key = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
17174 "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
17175 "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
17176 "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
17177 .klen = 32,
17178 .iv = "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
17179 "\x43\xf6\x1e\x50\0\0\0\0",
17180 .assoc = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
17181 "\x13\x02\x01\x0c\x83\x4c\x96\x35"
17182 "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
17183 "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
17184 .alen = 32,
17185 .input = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
17186 "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
17187 "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
17188 "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
17189 .ilen = 32,
17190 .result = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
17191 "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
17192 "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
17193 "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
17194 "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
17195 "\x7b\x72\x8a\xf7",
17196 .rlen = 44,
17197 }, {
17198 .key = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
17199 "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
17200 "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
17201 "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
17202 .klen = 32,
17203 .iv = "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
17204 "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
17205 .assoc = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
17206 "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
17207 "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
17208 "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
17209 .alen = 32,
17210 .input = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
17211 "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
17212 "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
17213 "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
17214 .ilen = 32,
17215 .result = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
17216 "\xef\xbb\x80\x21\x04\x6c\x58\x09"
17217 "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
17218 "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
17219 "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
17220 "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
17221 .rlen = 48,
17225 static const struct aead_testvec aes_ccm_dec_tv_template[] = {
17226 { /* From RFC 3610 */
17227 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17228 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
17229 .klen = 16,
17230 .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
17231 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
17232 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
17233 .alen = 8,
17234 .input = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
17235 "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
17236 "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
17237 "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
17238 .ilen = 31,
17239 .result = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17240 "\x10\x11\x12\x13\x14\x15\x16\x17"
17241 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
17242 .rlen = 23,
17243 }, {
17244 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17245 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
17246 .klen = 16,
17247 .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
17248 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
17249 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
17250 "\x08\x09\x0a\x0b",
17251 .alen = 12,
17252 .input = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
17253 "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
17254 "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
17255 "\x7d\x9c\x2d\x93",
17256 .ilen = 28,
17257 .result = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
17258 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
17259 "\x1c\x1d\x1e\x1f",
17260 .rlen = 20,
17261 }, {
17262 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17263 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
17264 .klen = 16,
17265 .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
17266 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
17267 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
17268 .alen = 8,
17269 .input = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
17270 "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
17271 "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
17272 "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
17273 "\x7e\x5f\x4e",
17274 .ilen = 35,
17275 .result = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17276 "\x10\x11\x12\x13\x14\x15\x16\x17"
17277 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
17278 "\x20",
17279 .rlen = 25,
17280 }, {
17281 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
17282 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
17283 .klen = 16,
17284 .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
17285 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
17286 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
17287 "\x08\x09\x0a\x0b",
17288 .alen = 12,
17289 .input = "\x07\x34\x25\x94\x15\x77\x85\x15"
17290 "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
17291 "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
17292 "\x4d\x99\x99\x88\xdd",
17293 .ilen = 29,
17294 .result = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
17295 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
17296 "\x1c\x1d\x1e",
17297 .rlen = 19,
17298 }, {
17299 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
17300 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
17301 .klen = 16,
17302 .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
17303 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
17304 .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
17305 .alen = 8,
17306 .input = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
17307 "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
17308 "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
17309 "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
17310 .ilen = 32,
17311 .result = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
17312 "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
17313 "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
17314 .rlen = 24,
17315 }, {
17316 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
17317 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
17318 .klen = 16,
17319 .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
17320 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
17321 .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
17322 "\x20\xea\x60\xc0",
17323 .alen = 12,
17324 .input = "\x00\x97\x69\xec\xab\xdf\x48\x62"
17325 "\x55\x94\xc5\x92\x51\xe6\x03\x57"
17326 "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
17327 "\x5a\xe0\x70\x45\x51",
17328 .ilen = 29,
17329 .result = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
17330 "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
17331 "\x3a\x80\x3b\xa8\x7f",
17332 .rlen = 21,
17333 }, {
17334 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
17335 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
17336 .klen = 16,
17337 .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
17338 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
17339 .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
17340 .alen = 8,
17341 .input = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
17342 "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
17343 "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
17344 "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
17345 "\xba",
17346 .ilen = 33,
17347 .result = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
17348 "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
17349 "\x98\x09\xd6\x7d\xbe\xdd\x18",
17350 .rlen = 23,
17351 }, {
17352 /* This is taken from FIPS CAVS. */
17353 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
17354 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
17355 .klen = 16,
17356 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
17357 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
17358 .alen = 0,
17359 .input = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
17360 .ilen = 8,
17361 .result = "\x00",
17362 .rlen = 0,
17363 .novrfy = 1,
17364 }, {
17365 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
17366 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
17367 .klen = 16,
17368 .iv = "\x03\xaf\x94\x87\x78\x35\x82\x81"
17369 "\x7f\x88\x94\x68\x00\x00\x00\x00",
17370 .alen = 0,
17371 .input = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
17372 .ilen = 8,
17373 .result = "\x00",
17374 .rlen = 0,
17375 }, {
17376 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
17377 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
17378 .klen = 16,
17379 .iv = "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
17380 "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
17381 .assoc = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
17382 "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
17383 "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
17384 "\xd8\x94\x99\x91\x81\x54\x62\x57",
17385 .alen = 32,
17386 .input = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
17387 "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
17388 "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
17389 "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
17390 "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
17391 "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
17392 .ilen = 48,
17393 .result = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
17394 "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
17395 "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
17396 "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
17397 .rlen = 32,
17398 .novrfy = 1,
17399 }, {
17400 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
17401 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
17402 .klen = 16,
17403 .iv = "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
17404 "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
17405 .assoc = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
17406 "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
17407 "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
17408 "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
17409 .alen = 32,
17410 .input = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
17411 "\xad\x83\x52\x6d\x71\x03\x25\x1c"
17412 "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
17413 "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
17414 "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
17415 "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
17416 .ilen = 48,
17417 .result = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
17418 "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
17419 "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
17420 "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
17421 .rlen = 32,
17422 }, {
17423 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
17424 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
17425 "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
17426 .klen = 24,
17427 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
17428 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
17429 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
17430 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
17431 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
17432 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
17433 .alen = 32,
17434 .input = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
17435 .ilen = 8,
17436 .result = "\x00",
17437 .rlen = 0,
17438 }, {
17439 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
17440 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
17441 "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
17442 .klen = 24,
17443 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
17444 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
17445 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
17446 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
17447 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
17448 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
17449 .alen = 32,
17450 .input = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
17451 "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
17452 "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
17453 "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
17454 "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
17455 .ilen = 40,
17456 .result = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
17457 "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
17458 "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
17459 "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
17460 .rlen = 32,
17461 }, {
17462 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
17463 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
17464 "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
17465 .klen = 24,
17466 .iv = "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
17467 "\xad\x71\xaa\x1f\x00\x00\x00\x00",
17468 .assoc = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
17469 "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
17470 "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
17471 "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
17472 .alen = 32,
17473 .input = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
17474 "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
17475 "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
17476 "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
17477 "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
17478 "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
17479 .ilen = 48,
17480 .result = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
17481 "\x99\x2a\xa8\xca\x04\x25\x45\x90"
17482 "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
17483 "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
17484 .rlen = 32,
17485 .novrfy = 1,
17486 }, {
17487 .key = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
17488 "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
17489 "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
17490 "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
17491 .klen = 32,
17492 .iv = "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
17493 "\x57\xba\xfd\x9e\x00\x00\x00\x00",
17494 .alen = 0,
17495 .input = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
17496 .ilen = 8,
17497 .result = "\x00",
17498 .rlen = 0,
17499 }, {
17500 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
17501 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
17502 "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
17503 "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
17504 .klen = 32,
17505 .iv = "\x03\x85\x34\x66\x42\xc8\x92\x0f"
17506 "\x36\x58\xe0\x6b\x00\x00\x00\x00",
17507 .alen = 0,
17508 .input = "\x48\x01\x5e\x02\x24\x04\x66\x47"
17509 "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
17510 "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
17511 "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
17512 "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
17513 "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
17514 .ilen = 48,
17515 .result = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
17516 "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
17517 "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
17518 "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
17519 .rlen = 32,
17520 .novrfy = 1,
17521 }, {
17522 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
17523 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
17524 "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
17525 "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
17526 .klen = 32,
17527 .iv = "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
17528 "\x44\x89\x40\x7b\x00\x00\x00\x00",
17529 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
17530 "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
17531 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
17532 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
17533 .alen = 32,
17534 .input = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
17535 "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
17536 "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
17537 "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
17538 "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
17539 "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
17540 .ilen = 48,
17541 .result = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
17542 "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
17543 "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
17544 "\x04\x49\x3b\x19\x93\x57\x25\x5d",
17545 .rlen = 32,
17550 * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
17551 * use a 13-byte nonce, we only support an 11-byte nonce. Worse,
17552 * they use AD lengths which are not valid ESP header lengths.
17554 * These vectors are copied/generated from the ones for rfc4106 with
17555 * the key truncated by one byte..
17557 static const struct aead_testvec aes_ccm_rfc4309_enc_tv_template[] = {
17558 { /* Generated using Crypto++ */
17559 .key = zeroed_string,
17560 .klen = 19,
17561 .iv = zeroed_string,
17562 .input = zeroed_string,
17563 .ilen = 16,
17564 .assoc = zeroed_string,
17565 .alen = 16,
17566 .result = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
17567 "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
17568 "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
17569 "\x27\x50\x01\xAC\x03\x33\x39\xFB",
17570 .rlen = 32,
17572 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17573 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17574 "\x00\x00\x00",
17575 .klen = 19,
17576 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
17577 .input = zeroed_string,
17578 .ilen = 16,
17579 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
17580 "\x00\x00\x00\x00\x00\x00\x00\x01",
17581 .alen = 16,
17582 .result = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
17583 "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
17584 "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
17585 "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
17586 .rlen = 32,
17588 }, {
17589 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17590 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17591 "\x00\x00\x00",
17592 .klen = 19,
17593 .iv = zeroed_string,
17594 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
17595 "\x01\x01\x01\x01\x01\x01\x01\x01",
17596 .ilen = 16,
17597 .assoc = zeroed_string,
17598 .alen = 16,
17599 .result = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
17600 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
17601 "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
17602 "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
17603 .rlen = 32,
17604 }, {
17605 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17606 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17607 "\x00\x00\x00",
17608 .klen = 19,
17609 .iv = zeroed_string,
17610 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
17611 "\x01\x01\x01\x01\x01\x01\x01\x01",
17612 .ilen = 16,
17613 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
17614 "\x00\x00\x00\x00\x00\x00\x00\x00",
17615 .alen = 16,
17616 .result = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
17617 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
17618 "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
17619 "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
17620 .rlen = 32,
17621 }, {
17622 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17623 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17624 "\x00\x00\x00",
17625 .klen = 19,
17626 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
17627 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
17628 "\x01\x01\x01\x01\x01\x01\x01\x01",
17629 .ilen = 16,
17630 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
17631 "\x00\x00\x00\x00\x00\x00\x00\x01",
17632 .alen = 16,
17633 .result = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
17634 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
17635 "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
17636 "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
17637 .rlen = 32,
17638 }, {
17639 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17640 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17641 "\x00\x00\x00",
17642 .klen = 19,
17643 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
17644 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
17645 "\x01\x01\x01\x01\x01\x01\x01\x01"
17646 "\x01\x01\x01\x01\x01\x01\x01\x01"
17647 "\x01\x01\x01\x01\x01\x01\x01\x01"
17648 "\x01\x01\x01\x01\x01\x01\x01\x01"
17649 "\x01\x01\x01\x01\x01\x01\x01\x01"
17650 "\x01\x01\x01\x01\x01\x01\x01\x01"
17651 "\x01\x01\x01\x01\x01\x01\x01\x01",
17652 .ilen = 64,
17653 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
17654 "\x00\x00\x00\x00\x00\x00\x00\x01",
17655 .alen = 16,
17656 .result = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
17657 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
17658 "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
17659 "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
17660 "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
17661 "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
17662 "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
17663 "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
17664 "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
17665 "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
17666 .rlen = 80,
17667 }, {
17668 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
17669 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17670 "\x00\x00\x00",
17671 .klen = 19,
17672 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
17673 .input = "\xff\xff\xff\xff\xff\xff\xff\xff"
17674 "\xff\xff\xff\xff\xff\xff\xff\xff"
17675 "\xff\xff\xff\xff\xff\xff\xff\xff"
17676 "\xff\xff\xff\xff\xff\xff\xff\xff"
17677 "\xff\xff\xff\xff\xff\xff\xff\xff"
17678 "\xff\xff\xff\xff\xff\xff\xff\xff"
17679 "\xff\xff\xff\xff\xff\xff\xff\xff"
17680 "\xff\xff\xff\xff\xff\xff\xff\xff"
17681 "\xff\xff\xff\xff\xff\xff\xff\xff"
17682 "\xff\xff\xff\xff\xff\xff\xff\xff"
17683 "\xff\xff\xff\xff\xff\xff\xff\xff"
17684 "\xff\xff\xff\xff\xff\xff\xff\xff"
17685 "\xff\xff\xff\xff\xff\xff\xff\xff"
17686 "\xff\xff\xff\xff\xff\xff\xff\xff"
17687 "\xff\xff\xff\xff\xff\xff\xff\xff"
17688 "\xff\xff\xff\xff\xff\xff\xff\xff"
17689 "\xff\xff\xff\xff\xff\xff\xff\xff"
17690 "\xff\xff\xff\xff\xff\xff\xff\xff"
17691 "\xff\xff\xff\xff\xff\xff\xff\xff"
17692 "\xff\xff\xff\xff\xff\xff\xff\xff"
17693 "\xff\xff\xff\xff\xff\xff\xff\xff"
17694 "\xff\xff\xff\xff\xff\xff\xff\xff"
17695 "\xff\xff\xff\xff\xff\xff\xff\xff"
17696 "\xff\xff\xff\xff\xff\xff\xff\xff",
17697 .ilen = 192,
17698 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
17699 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
17700 "\x89\xab\xcd\xef",
17701 .alen = 20,
17702 .result = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
17703 "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
17704 "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
17705 "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
17706 "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
17707 "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
17708 "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
17709 "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
17710 "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
17711 "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
17712 "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
17713 "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
17714 "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
17715 "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
17716 "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
17717 "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
17718 "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
17719 "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
17720 "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
17721 "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
17722 "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
17723 "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
17724 "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
17725 "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
17726 "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
17727 "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
17728 .rlen = 208,
17729 }, { /* From draft-mcgrew-gcm-test-01 */
17730 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
17731 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
17732 "\x2E\x44\x3B",
17733 .klen = 19,
17734 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
17735 .input = "\x45\x00\x00\x48\x69\x9A\x00\x00"
17736 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
17737 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
17738 "\x38\xD3\x01\x00\x00\x01\x00\x00"
17739 "\x00\x00\x00\x00\x04\x5F\x73\x69"
17740 "\x70\x04\x5F\x75\x64\x70\x03\x73"
17741 "\x69\x70\x09\x63\x79\x62\x65\x72"
17742 "\x63\x69\x74\x79\x02\x64\x6B\x00"
17743 "\x00\x21\x00\x01\x01\x02\x02\x01",
17744 .ilen = 72,
17745 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
17746 "\x00\x00\x00\x00\x49\x56\xED\x7E"
17747 "\x3B\x24\x4C\xFE",
17748 .alen = 20,
17749 .result = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
17750 "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
17751 "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
17752 "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
17753 "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
17754 "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
17755 "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
17756 "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
17757 "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
17758 "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
17759 "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
17760 .rlen = 88,
17761 }, {
17762 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
17763 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
17764 "\xCA\xFE\xBA",
17765 .klen = 19,
17766 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
17767 .input = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
17768 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
17769 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
17770 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
17771 "\x00\x01\x00\x00\x00\x00\x00\x00"
17772 "\x03\x73\x69\x70\x09\x63\x79\x62"
17773 "\x65\x72\x63\x69\x74\x79\x02\x64"
17774 "\x6B\x00\x00\x01\x00\x01\x00\x01",
17775 .ilen = 64,
17776 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
17777 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
17778 .alen = 16,
17779 .result = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
17780 "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
17781 "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
17782 "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
17783 "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
17784 "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
17785 "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
17786 "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
17787 "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
17788 "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
17789 .rlen = 80,
17790 }, {
17791 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17792 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17793 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17794 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17795 "\x11\x22\x33",
17796 .klen = 35,
17797 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
17798 .input = "\x45\x00\x00\x30\x69\xA6\x40\x00"
17799 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
17800 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
17801 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
17802 "\x70\x02\x40\x00\x20\xBF\x00\x00"
17803 "\x02\x04\x05\xB4\x01\x01\x04\x02"
17804 "\x01\x02\x02\x01",
17805 .ilen = 52,
17806 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
17807 "\x01\x02\x03\x04\x05\x06\x07\x08",
17808 .alen = 16,
17809 .result = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
17810 "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
17811 "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
17812 "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
17813 "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
17814 "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
17815 "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
17816 "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
17817 "\x5A\x48\x6A\x3E",
17818 .rlen = 68,
17819 }, {
17820 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
17821 "\x00\x00\x00\x00\x00\x00\x00\x00"
17822 "\x00\x00\x00",
17823 .klen = 19,
17824 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
17825 .input = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
17826 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
17827 "\x01\x01\x01\x01\x08\x00\x07\x5C"
17828 "\x02\x00\x44\x00\x61\x62\x63\x64"
17829 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
17830 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
17831 "\x75\x76\x77\x61\x62\x63\x64\x65"
17832 "\x66\x67\x68\x69\x01\x02\x02\x01",
17833 .ilen = 64,
17834 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
17835 "\x00\x00\x00\x00\x00\x00\x00\x00",
17836 .alen = 16,
17837 .result = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
17838 "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
17839 "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
17840 "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
17841 "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
17842 "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
17843 "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
17844 "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
17845 "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
17846 "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
17847 .rlen = 80,
17848 }, {
17849 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
17850 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
17851 "\x57\x69\x0E",
17852 .klen = 19,
17853 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
17854 .input = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
17855 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
17856 "\x01\x01\x01\x01\x08\x00\x08\x5C"
17857 "\x02\x00\x43\x00\x61\x62\x63\x64"
17858 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
17859 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
17860 "\x75\x76\x77\x61\x62\x63\x64\x65"
17861 "\x66\x67\x68\x69\x01\x02\x02\x01",
17862 .ilen = 64,
17863 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
17864 "\x10\x10\x10\x10\x4E\x28\x00\x00"
17865 "\xA2\xFC\xA1\xA3",
17866 .alen = 20,
17867 .result = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
17868 "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
17869 "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
17870 "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
17871 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
17872 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
17873 "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
17874 "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
17875 "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
17876 "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
17877 .rlen = 80,
17878 }, {
17879 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
17880 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
17881 "\x57\x69\x0E",
17882 .klen = 19,
17883 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
17884 .input = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
17885 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
17886 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
17887 "\x01\x02\x02\x01",
17888 .ilen = 28,
17889 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
17890 "\x10\x10\x10\x10\x4E\x28\x00\x00"
17891 "\xA2\xFC\xA1\xA3",
17892 .alen = 20,
17893 .result = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
17894 "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
17895 "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
17896 "\xA1\xE5\x90\x40\x05\x37\x45\x70"
17897 "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
17898 "\x08\xB4\x22\xE4",
17899 .rlen = 44,
17900 }, {
17901 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
17902 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
17903 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
17904 "\xCA\xFE\xBA",
17905 .klen = 27,
17906 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
17907 .input = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
17908 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
17909 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
17910 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
17911 "\x50\x10\x16\xD0\x75\x68\x00\x01",
17912 .ilen = 40,
17913 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
17914 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
17915 .alen = 16,
17916 .result = "\x05\x22\x15\xD1\x52\x56\x85\x04"
17917 "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
17918 "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
17919 "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
17920 "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
17921 "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
17922 "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
17923 .rlen = 56,
17924 }, {
17925 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17926 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17927 "\xDE\xCA\xF8",
17928 .klen = 19,
17929 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
17930 .input = "\x45\x00\x00\x49\x33\xBA\x00\x00"
17931 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
17932 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
17933 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
17934 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
17935 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
17936 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
17937 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
17938 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
17939 "\x23\x01\x01\x01",
17940 .ilen = 76,
17941 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
17942 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
17943 "\xCE\xFA\xCE\x74",
17944 .alen = 20,
17945 .result = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
17946 "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
17947 "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
17948 "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
17949 "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
17950 "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
17951 "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
17952 "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
17953 "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
17954 "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
17955 "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
17956 "\x12\x25\x0B\xF9",
17957 .rlen = 92,
17958 }, {
17959 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17960 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17961 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
17962 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
17963 "\x73\x61\x6C",
17964 .klen = 35,
17965 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
17966 .input = "\x45\x08\x00\x28\x73\x2C\x00\x00"
17967 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
17968 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
17969 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
17970 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
17971 .ilen = 40,
17972 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
17973 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
17974 "\x69\x76\x65\x63",
17975 .alen = 20,
17976 .result = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
17977 "\x2C\x64\x87\x46\x1E\x34\x10\x05"
17978 "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
17979 "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
17980 "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
17981 "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
17982 "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
17983 .rlen = 56,
17984 }, {
17985 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
17986 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
17987 "\x57\x69\x0E",
17988 .klen = 19,
17989 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
17990 .input = "\x45\x00\x00\x49\x33\x3E\x00\x00"
17991 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
17992 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
17993 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
17994 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
17995 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
17996 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
17997 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
17998 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
17999 "\x15\x01\x01\x01",
18000 .ilen = 76,
18001 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
18002 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18003 "\xA2\xFC\xA1\xA3",
18004 .alen = 20,
18005 .result = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
18006 "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
18007 "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
18008 "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
18009 "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
18010 "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
18011 "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
18012 "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
18013 "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
18014 "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
18015 "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
18016 "\xCC\xF7\x46\x6F",
18017 .rlen = 92,
18018 }, {
18019 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18020 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18021 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18022 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18023 "\x73\x61\x6C",
18024 .klen = 35,
18025 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
18026 .input = "\x63\x69\x73\x63\x6F\x01\x72\x75"
18027 "\x6C\x65\x73\x01\x74\x68\x65\x01"
18028 "\x6E\x65\x74\x77\x65\x01\x64\x65"
18029 "\x66\x69\x6E\x65\x01\x74\x68\x65"
18030 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
18031 "\x67\x69\x65\x73\x01\x74\x68\x61"
18032 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
18033 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
18034 "\x72\x72\x6F\x77\x01\x02\x02\x01",
18035 .ilen = 72,
18036 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
18037 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
18038 "\x69\x76\x65\x63",
18039 .alen = 20,
18040 .result = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
18041 "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
18042 "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
18043 "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
18044 "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
18045 "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
18046 "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
18047 "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
18048 "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
18049 "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
18050 "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
18051 .rlen = 88,
18052 }, {
18053 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
18054 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
18055 "\xD9\x66\x42",
18056 .klen = 19,
18057 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
18058 .input = "\x01\x02\x02\x01",
18059 .ilen = 4,
18060 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
18061 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
18062 .alen = 16,
18063 .result = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
18064 "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
18065 "\xF7\x61\x24\x62",
18066 .rlen = 20,
18067 }, {
18068 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18069 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18070 "\xDE\xCA\xF8",
18071 .klen = 19,
18072 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
18073 .input = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
18074 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
18075 "\x62\x65\x00\x01",
18076 .ilen = 20,
18077 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
18078 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
18079 "\xCE\xFA\xCE\x74",
18080 .alen = 20,
18081 .result = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
18082 "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
18083 "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
18084 "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
18085 "\x17\x17\x65\xAD",
18086 .rlen = 36,
18087 }, {
18088 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
18089 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
18090 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
18091 "\x62\x65\x66\x6F\x72\x65\x69\x61"
18092 "\x74\x75\x72",
18093 .klen = 35,
18094 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
18095 .input = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
18096 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
18097 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
18098 "\x02\x00\x07\x00\x61\x62\x63\x64"
18099 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18100 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18101 "\x01\x02\x02\x01",
18102 .ilen = 52,
18103 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
18104 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
18105 "\x67\x65\x74\x6D",
18106 .alen = 20,
18107 .result = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
18108 "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
18109 "\x48\x59\x80\x18\x1A\x18\x1A\x04"
18110 "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
18111 "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
18112 "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
18113 "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
18114 "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
18115 "\x39\xDB\xC8\xDC",
18116 .rlen = 68,
18117 }, {
18118 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18119 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18120 "\x57\x69\x0E",
18121 .klen = 19,
18122 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
18123 .input = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
18124 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
18125 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
18126 "\x02\x00\x07\x00\x61\x62\x63\x64"
18127 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18128 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18129 "\x01\x02\x02\x01",
18130 .ilen = 52,
18131 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
18132 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18133 "\xA2\xFC\xA1\xA3",
18134 .alen = 20,
18135 .result = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
18136 "\x10\x60\x54\x25\xEB\x80\x04\x93"
18137 "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
18138 "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
18139 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
18140 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
18141 "\x44\xCC\x90\xBF\x00\x94\x94\x92"
18142 "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
18143 "\xF4\x95\x5D\x4F",
18144 .rlen = 68,
18145 }, {
18146 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
18147 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
18148 "\x22\x43\x3C",
18149 .klen = 19,
18150 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
18151 .input = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
18152 "\x61\x62\x63\x64\x65\x66\x67\x68"
18153 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
18154 "\x71\x72\x73\x74\x01\x02\x02\x01",
18155 .ilen = 32,
18156 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
18157 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
18158 "\x3A\x23\x4B\xFD",
18159 .alen = 20,
18160 .result = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
18161 "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
18162 "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
18163 "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
18164 "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
18165 "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
18166 .rlen = 48,
18170 static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
18171 { /* Generated using Crypto++ */
18172 .key = zeroed_string,
18173 .klen = 19,
18174 .iv = zeroed_string,
18175 .result = zeroed_string,
18176 .rlen = 16,
18177 .assoc = zeroed_string,
18178 .alen = 16,
18179 .input = "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
18180 "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
18181 "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
18182 "\x27\x50\x01\xAC\x03\x33\x39\xFB",
18183 .ilen = 32,
18185 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18186 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18187 "\x00\x00\x00",
18188 .klen = 19,
18189 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
18190 .result = zeroed_string,
18191 .rlen = 16,
18192 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x00"
18193 "\x00\x00\x00\x00\x00\x00\x00\x01",
18194 .alen = 16,
18195 .input = "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
18196 "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
18197 "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
18198 "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
18199 .ilen = 32,
18201 }, {
18202 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18203 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18204 "\x00\x00\x00",
18205 .klen = 19,
18206 .iv = zeroed_string,
18207 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
18208 "\x01\x01\x01\x01\x01\x01\x01\x01",
18209 .rlen = 16,
18210 .assoc = zeroed_string,
18211 .alen = 16,
18212 .input = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
18213 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
18214 "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
18215 "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
18216 .ilen = 32,
18217 }, {
18218 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18219 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18220 "\x00\x00\x00",
18221 .klen = 19,
18222 .iv = zeroed_string,
18223 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
18224 "\x01\x01\x01\x01\x01\x01\x01\x01",
18225 .rlen = 16,
18226 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
18227 "\x00\x00\x00\x00\x00\x00\x00\x00",
18228 .alen = 16,
18229 .input = "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
18230 "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
18231 "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
18232 "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
18233 .ilen = 32,
18234 }, {
18235 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18236 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18237 "\x00\x00\x00",
18238 .klen = 19,
18239 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
18240 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
18241 "\x01\x01\x01\x01\x01\x01\x01\x01",
18242 .rlen = 16,
18243 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
18244 "\x00\x00\x00\x00\x00\x00\x00\x01",
18245 .alen = 16,
18246 .input = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
18247 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
18248 "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
18249 "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
18250 .ilen = 32,
18251 }, {
18252 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18253 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18254 "\x00\x00\x00",
18255 .klen = 19,
18256 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01",
18257 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
18258 "\x01\x01\x01\x01\x01\x01\x01\x01"
18259 "\x01\x01\x01\x01\x01\x01\x01\x01"
18260 "\x01\x01\x01\x01\x01\x01\x01\x01"
18261 "\x01\x01\x01\x01\x01\x01\x01\x01"
18262 "\x01\x01\x01\x01\x01\x01\x01\x01"
18263 "\x01\x01\x01\x01\x01\x01\x01\x01"
18264 "\x01\x01\x01\x01\x01\x01\x01\x01",
18265 .rlen = 64,
18266 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01"
18267 "\x00\x00\x00\x00\x00\x00\x00\x01",
18268 .alen = 16,
18269 .input = "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
18270 "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
18271 "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
18272 "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
18273 "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
18274 "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
18275 "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
18276 "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
18277 "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
18278 "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
18279 .ilen = 80,
18280 }, {
18281 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
18282 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18283 "\x00\x00\x00",
18284 .klen = 19,
18285 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef",
18286 .result = "\xff\xff\xff\xff\xff\xff\xff\xff"
18287 "\xff\xff\xff\xff\xff\xff\xff\xff"
18288 "\xff\xff\xff\xff\xff\xff\xff\xff"
18289 "\xff\xff\xff\xff\xff\xff\xff\xff"
18290 "\xff\xff\xff\xff\xff\xff\xff\xff"
18291 "\xff\xff\xff\xff\xff\xff\xff\xff"
18292 "\xff\xff\xff\xff\xff\xff\xff\xff"
18293 "\xff\xff\xff\xff\xff\xff\xff\xff"
18294 "\xff\xff\xff\xff\xff\xff\xff\xff"
18295 "\xff\xff\xff\xff\xff\xff\xff\xff"
18296 "\xff\xff\xff\xff\xff\xff\xff\xff"
18297 "\xff\xff\xff\xff\xff\xff\xff\xff"
18298 "\xff\xff\xff\xff\xff\xff\xff\xff"
18299 "\xff\xff\xff\xff\xff\xff\xff\xff"
18300 "\xff\xff\xff\xff\xff\xff\xff\xff"
18301 "\xff\xff\xff\xff\xff\xff\xff\xff"
18302 "\xff\xff\xff\xff\xff\xff\xff\xff"
18303 "\xff\xff\xff\xff\xff\xff\xff\xff"
18304 "\xff\xff\xff\xff\xff\xff\xff\xff"
18305 "\xff\xff\xff\xff\xff\xff\xff\xff"
18306 "\xff\xff\xff\xff\xff\xff\xff\xff"
18307 "\xff\xff\xff\xff\xff\xff\xff\xff"
18308 "\xff\xff\xff\xff\xff\xff\xff\xff"
18309 "\xff\xff\xff\xff\xff\xff\xff\xff",
18310 .rlen = 192,
18311 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
18312 "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
18313 "\x89\xab\xcd\xef",
18314 .alen = 20,
18315 .input = "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
18316 "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
18317 "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
18318 "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
18319 "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
18320 "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
18321 "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
18322 "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
18323 "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
18324 "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
18325 "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
18326 "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
18327 "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
18328 "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
18329 "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
18330 "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
18331 "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
18332 "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
18333 "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
18334 "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
18335 "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
18336 "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
18337 "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
18338 "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
18339 "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
18340 "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
18341 .ilen = 208,
18342 }, { /* From draft-mcgrew-gcm-test-01 */
18343 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
18344 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
18345 "\x2E\x44\x3B",
18346 .klen = 19,
18347 .iv = "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
18348 .result = "\x45\x00\x00\x48\x69\x9A\x00\x00"
18349 "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
18350 "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
18351 "\x38\xD3\x01\x00\x00\x01\x00\x00"
18352 "\x00\x00\x00\x00\x04\x5F\x73\x69"
18353 "\x70\x04\x5F\x75\x64\x70\x03\x73"
18354 "\x69\x70\x09\x63\x79\x62\x65\x72"
18355 "\x63\x69\x74\x79\x02\x64\x6B\x00"
18356 "\x00\x21\x00\x01\x01\x02\x02\x01",
18357 .rlen = 72,
18358 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
18359 "\x00\x00\x00\x00\x49\x56\xED\x7E"
18360 "\x3B\x24\x4C\xFE",
18361 .alen = 20,
18362 .input = "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
18363 "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
18364 "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
18365 "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
18366 "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
18367 "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
18368 "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
18369 "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
18370 "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
18371 "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
18372 "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
18373 .ilen = 88,
18374 }, {
18375 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
18376 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
18377 "\xCA\xFE\xBA",
18378 .klen = 19,
18379 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18380 .result = "\x45\x00\x00\x3E\x69\x8F\x00\x00"
18381 "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
18382 "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
18383 "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
18384 "\x00\x01\x00\x00\x00\x00\x00\x00"
18385 "\x03\x73\x69\x70\x09\x63\x79\x62"
18386 "\x65\x72\x63\x69\x74\x79\x02\x64"
18387 "\x6B\x00\x00\x01\x00\x01\x00\x01",
18388 .rlen = 64,
18389 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
18390 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18391 .alen = 16,
18392 .input = "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
18393 "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
18394 "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
18395 "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
18396 "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
18397 "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
18398 "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
18399 "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
18400 "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
18401 "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
18402 .ilen = 80,
18403 }, {
18404 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18405 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18406 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18407 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18408 "\x11\x22\x33",
18409 .klen = 35,
18410 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
18411 .result = "\x45\x00\x00\x30\x69\xA6\x40\x00"
18412 "\x80\x06\x26\x90\xC0\xA8\x01\x02"
18413 "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
18414 "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
18415 "\x70\x02\x40\x00\x20\xBF\x00\x00"
18416 "\x02\x04\x05\xB4\x01\x01\x04\x02"
18417 "\x01\x02\x02\x01",
18418 .rlen = 52,
18419 .assoc = "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
18420 "\x01\x02\x03\x04\x05\x06\x07\x08",
18421 .alen = 16,
18422 .input = "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
18423 "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
18424 "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
18425 "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
18426 "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
18427 "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
18428 "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
18429 "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
18430 "\x5A\x48\x6A\x3E",
18431 .ilen = 68,
18432 }, {
18433 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
18434 "\x00\x00\x00\x00\x00\x00\x00\x00"
18435 "\x00\x00\x00",
18436 .klen = 19,
18437 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
18438 .result = "\x45\x00\x00\x3C\x99\xC5\x00\x00"
18439 "\x80\x01\xCB\x7A\x40\x67\x93\x18"
18440 "\x01\x01\x01\x01\x08\x00\x07\x5C"
18441 "\x02\x00\x44\x00\x61\x62\x63\x64"
18442 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18443 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18444 "\x75\x76\x77\x61\x62\x63\x64\x65"
18445 "\x66\x67\x68\x69\x01\x02\x02\x01",
18446 .rlen = 64,
18447 .assoc = "\x00\x00\x00\x00\x00\x00\x00\x01"
18448 "\x00\x00\x00\x00\x00\x00\x00\x00",
18449 .alen = 16,
18450 .input = "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
18451 "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
18452 "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
18453 "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
18454 "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
18455 "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
18456 "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
18457 "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
18458 "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
18459 "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
18460 .ilen = 80,
18461 }, {
18462 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18463 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18464 "\x57\x69\x0E",
18465 .klen = 19,
18466 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
18467 .result = "\x45\x00\x00\x3C\x99\xC3\x00\x00"
18468 "\x80\x01\xCB\x7C\x40\x67\x93\x18"
18469 "\x01\x01\x01\x01\x08\x00\x08\x5C"
18470 "\x02\x00\x43\x00\x61\x62\x63\x64"
18471 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18472 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18473 "\x75\x76\x77\x61\x62\x63\x64\x65"
18474 "\x66\x67\x68\x69\x01\x02\x02\x01",
18475 .rlen = 64,
18476 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
18477 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18478 "\xA2\xFC\xA1\xA3",
18479 .alen = 20,
18480 .input = "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
18481 "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
18482 "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
18483 "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
18484 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
18485 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
18486 "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
18487 "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
18488 "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
18489 "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
18490 .ilen = 80,
18491 }, {
18492 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18493 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18494 "\x57\x69\x0E",
18495 .klen = 19,
18496 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
18497 .result = "\x45\x00\x00\x1C\x42\xA2\x00\x00"
18498 "\x80\x01\x44\x1F\x40\x67\x93\xB6"
18499 "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
18500 "\x01\x02\x02\x01",
18501 .rlen = 28,
18502 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
18503 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18504 "\xA2\xFC\xA1\xA3",
18505 .alen = 20,
18506 .input = "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
18507 "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
18508 "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
18509 "\xA1\xE5\x90\x40\x05\x37\x45\x70"
18510 "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
18511 "\x08\xB4\x22\xE4",
18512 .ilen = 44,
18513 }, {
18514 .key = "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
18515 "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
18516 "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
18517 "\xCA\xFE\xBA",
18518 .klen = 27,
18519 .iv = "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18520 .result = "\x45\x00\x00\x28\xA4\xAD\x40\x00"
18521 "\x40\x06\x78\x80\x0A\x01\x03\x8F"
18522 "\x0A\x01\x06\x12\x80\x23\x06\xB8"
18523 "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
18524 "\x50\x10\x16\xD0\x75\x68\x00\x01",
18525 .rlen = 40,
18526 .assoc = "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
18527 "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
18528 .alen = 16,
18529 .input = "\x05\x22\x15\xD1\x52\x56\x85\x04"
18530 "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
18531 "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
18532 "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
18533 "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
18534 "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
18535 "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
18536 .ilen = 56,
18537 }, {
18538 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18539 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18540 "\xDE\xCA\xF8",
18541 .klen = 19,
18542 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
18543 .result = "\x45\x00\x00\x49\x33\xBA\x00\x00"
18544 "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
18545 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
18546 "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
18547 "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
18548 "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
18549 "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
18550 "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
18551 "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
18552 "\x23\x01\x01\x01",
18553 .rlen = 76,
18554 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
18555 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
18556 "\xCE\xFA\xCE\x74",
18557 .alen = 20,
18558 .input = "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
18559 "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
18560 "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
18561 "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
18562 "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
18563 "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
18564 "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
18565 "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
18566 "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
18567 "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
18568 "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
18569 "\x12\x25\x0B\xF9",
18570 .ilen = 92,
18571 }, {
18572 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18573 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18574 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18575 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18576 "\x73\x61\x6C",
18577 .klen = 35,
18578 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
18579 .result = "\x45\x08\x00\x28\x73\x2C\x00\x00"
18580 "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
18581 "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
18582 "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
18583 "\x50\x10\x1F\x64\x6D\x54\x00\x01",
18584 .rlen = 40,
18585 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
18586 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
18587 "\x69\x76\x65\x63",
18588 .alen = 20,
18589 .input = "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
18590 "\x2C\x64\x87\x46\x1E\x34\x10\x05"
18591 "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
18592 "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
18593 "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
18594 "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
18595 "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
18596 .ilen = 56,
18597 }, {
18598 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18599 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18600 "\x57\x69\x0E",
18601 .klen = 19,
18602 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
18603 .result = "\x45\x00\x00\x49\x33\x3E\x00\x00"
18604 "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
18605 "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
18606 "\x00\x35\xCB\x45\x80\x03\x02\x5B"
18607 "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
18608 "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
18609 "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
18610 "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
18611 "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
18612 "\x15\x01\x01\x01",
18613 .rlen = 76,
18614 .assoc = "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
18615 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18616 "\xA2\xFC\xA1\xA3",
18617 .alen = 20,
18618 .input = "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
18619 "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
18620 "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
18621 "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
18622 "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
18623 "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
18624 "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
18625 "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
18626 "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
18627 "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
18628 "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
18629 "\xCC\xF7\x46\x6F",
18630 .ilen = 92,
18631 }, {
18632 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18633 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18634 "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18635 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18636 "\x73\x61\x6C",
18637 .klen = 35,
18638 .iv = "\x61\x6E\x64\x01\x69\x76\x65\x63",
18639 .result = "\x63\x69\x73\x63\x6F\x01\x72\x75"
18640 "\x6C\x65\x73\x01\x74\x68\x65\x01"
18641 "\x6E\x65\x74\x77\x65\x01\x64\x65"
18642 "\x66\x69\x6E\x65\x01\x74\x68\x65"
18643 "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
18644 "\x67\x69\x65\x73\x01\x74\x68\x61"
18645 "\x74\x77\x69\x6C\x6C\x01\x64\x65"
18646 "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
18647 "\x72\x72\x6F\x77\x01\x02\x02\x01",
18648 .rlen = 72,
18649 .assoc = "\x17\x40\x5E\x67\x15\x6F\x31\x26"
18650 "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
18651 "\x69\x76\x65\x63",
18652 .alen = 20,
18653 .input = "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
18654 "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
18655 "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
18656 "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
18657 "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
18658 "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
18659 "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
18660 "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
18661 "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
18662 "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
18663 "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
18664 .ilen = 88,
18665 }, {
18666 .key = "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
18667 "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
18668 "\xD9\x66\x42",
18669 .klen = 19,
18670 .iv = "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
18671 .result = "\x01\x02\x02\x01",
18672 .rlen = 4,
18673 .assoc = "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
18674 "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
18675 .alen = 16,
18676 .input = "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
18677 "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
18678 "\xF7\x61\x24\x62",
18679 .ilen = 20,
18680 }, {
18681 .key = "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
18682 "\x34\x45\x56\x67\x78\x89\x9A\xAB"
18683 "\xDE\xCA\xF8",
18684 .klen = 19,
18685 .iv = "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
18686 .result = "\x74\x6F\x01\x62\x65\x01\x6F\x72"
18687 "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
18688 "\x62\x65\x00\x01",
18689 .rlen = 20,
18690 .assoc = "\x00\x00\x01\x00\x00\x00\x00\x00"
18691 "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
18692 "\xCE\xFA\xCE\x74",
18693 .alen = 20,
18694 .input = "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
18695 "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
18696 "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
18697 "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
18698 "\x17\x17\x65\xAD",
18699 .ilen = 36,
18700 }, {
18701 .key = "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
18702 "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
18703 "\x61\x61\x6E\x64\x64\x6F\x69\x74"
18704 "\x62\x65\x66\x6F\x72\x65\x69\x61"
18705 "\x74\x75\x72",
18706 .klen = 35,
18707 .iv = "\x33\x30\x21\x69\x67\x65\x74\x6D",
18708 .result = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
18709 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
18710 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
18711 "\x02\x00\x07\x00\x61\x62\x63\x64"
18712 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18713 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18714 "\x01\x02\x02\x01",
18715 .rlen = 52,
18716 .assoc = "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
18717 "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
18718 "\x67\x65\x74\x6D",
18719 .alen = 20,
18720 .input = "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
18721 "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
18722 "\x48\x59\x80\x18\x1A\x18\x1A\x04"
18723 "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
18724 "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
18725 "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
18726 "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
18727 "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
18728 "\x39\xDB\xC8\xDC",
18729 .ilen = 68,
18730 }, {
18731 .key = "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
18732 "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
18733 "\x57\x69\x0E",
18734 .klen = 19,
18735 .iv = "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
18736 .result = "\x45\x00\x00\x30\xDA\x3A\x00\x00"
18737 "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
18738 "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
18739 "\x02\x00\x07\x00\x61\x62\x63\x64"
18740 "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
18741 "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
18742 "\x01\x02\x02\x01",
18743 .rlen = 52,
18744 .assoc = "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
18745 "\x10\x10\x10\x10\x4E\x28\x00\x00"
18746 "\xA2\xFC\xA1\xA3",
18747 .alen = 20,
18748 .input = "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
18749 "\x10\x60\x54\x25\xEB\x80\x04\x93"
18750 "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
18751 "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
18752 "\x79\x01\x58\x50\x01\x06\xE1\xE0"
18753 "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
18754 "\x44\xCC\x90\xBF\x00\x94\x94\x92"
18755 "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
18756 "\xF4\x95\x5D\x4F",
18757 .ilen = 68,
18758 }, {
18759 .key = "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
18760 "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
18761 "\x22\x43\x3C",
18762 .klen = 19,
18763 .iv = "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
18764 .result = "\x08\x00\xC6\xCD\x02\x00\x07\x00"
18765 "\x61\x62\x63\x64\x65\x66\x67\x68"
18766 "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
18767 "\x71\x72\x73\x74\x01\x02\x02\x01",
18768 .rlen = 32,
18769 .assoc = "\x00\x00\x43\x21\x87\x65\x43\x21"
18770 "\x00\x00\x00\x07\x48\x55\xEC\x7D"
18771 "\x3A\x23\x4B\xFD",
18772 .alen = 20,
18773 .input = "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
18774 "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
18775 "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
18776 "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
18777 "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
18778 "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
18779 .ilen = 48,
18784 * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
18786 static const struct aead_testvec rfc7539_enc_tv_template[] = {
18788 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
18789 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18790 "\x90\x91\x92\x93\x94\x95\x96\x97"
18791 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
18792 .klen = 32,
18793 .iv = "\x07\x00\x00\x00\x40\x41\x42\x43"
18794 "\x44\x45\x46\x47",
18795 .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
18796 "\xc4\xc5\xc6\xc7",
18797 .alen = 12,
18798 .input = "\x4c\x61\x64\x69\x65\x73\x20\x61"
18799 "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
18800 "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
18801 "\x74\x68\x65\x20\x63\x6c\x61\x73"
18802 "\x73\x20\x6f\x66\x20\x27\x39\x39"
18803 "\x3a\x20\x49\x66\x20\x49\x20\x63"
18804 "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
18805 "\x65\x72\x20\x79\x6f\x75\x20\x6f"
18806 "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
18807 "\x74\x69\x70\x20\x66\x6f\x72\x20"
18808 "\x74\x68\x65\x20\x66\x75\x74\x75"
18809 "\x72\x65\x2c\x20\x73\x75\x6e\x73"
18810 "\x63\x72\x65\x65\x6e\x20\x77\x6f"
18811 "\x75\x6c\x64\x20\x62\x65\x20\x69"
18812 "\x74\x2e",
18813 .ilen = 114,
18814 .result = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
18815 "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
18816 "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
18817 "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
18818 "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
18819 "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
18820 "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
18821 "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
18822 "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
18823 "\x98\x03\xae\xe3\x28\x09\x1b\x58"
18824 "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
18825 "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
18826 "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
18827 "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
18828 "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
18829 "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
18830 "\x06\x91",
18831 .rlen = 130,
18832 }, {
18833 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
18834 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
18835 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
18836 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
18837 .klen = 32,
18838 .iv = "\x00\x00\x00\x00\x01\x02\x03\x04"
18839 "\x05\x06\x07\x08",
18840 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
18841 "\x00\x00\x4e\x91",
18842 .alen = 12,
18843 .input = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
18844 "\x2d\x44\x72\x61\x66\x74\x73\x20"
18845 "\x61\x72\x65\x20\x64\x72\x61\x66"
18846 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
18847 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
18848 "\x64\x20\x66\x6f\x72\x20\x61\x20"
18849 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
18850 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
18851 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
18852 "\x64\x20\x6d\x61\x79\x20\x62\x65"
18853 "\x20\x75\x70\x64\x61\x74\x65\x64"
18854 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
18855 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
18856 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
18857 "\x20\x62\x79\x20\x6f\x74\x68\x65"
18858 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
18859 "\x6e\x74\x73\x20\x61\x74\x20\x61"
18860 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
18861 "\x20\x49\x74\x20\x69\x73\x20\x69"
18862 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
18863 "\x69\x61\x74\x65\x20\x74\x6f\x20"
18864 "\x75\x73\x65\x20\x49\x6e\x74\x65"
18865 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
18866 "\x66\x74\x73\x20\x61\x73\x20\x72"
18867 "\x65\x66\x65\x72\x65\x6e\x63\x65"
18868 "\x20\x6d\x61\x74\x65\x72\x69\x61"
18869 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
18870 "\x63\x69\x74\x65\x20\x74\x68\x65"
18871 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
18872 "\x74\x68\x61\x6e\x20\x61\x73\x20"
18873 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
18874 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
18875 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
18876 "\x9d",
18877 .ilen = 265,
18878 .result = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
18879 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
18880 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
18881 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
18882 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
18883 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
18884 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
18885 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
18886 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
18887 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
18888 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
18889 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
18890 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
18891 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
18892 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
18893 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
18894 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
18895 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
18896 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
18897 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
18898 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
18899 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
18900 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
18901 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
18902 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
18903 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
18904 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
18905 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
18906 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
18907 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
18908 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
18909 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
18910 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
18911 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
18912 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
18913 "\x38",
18914 .rlen = 281,
18918 static const struct aead_testvec rfc7539_dec_tv_template[] = {
18920 .key = "\x80\x81\x82\x83\x84\x85\x86\x87"
18921 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18922 "\x90\x91\x92\x93\x94\x95\x96\x97"
18923 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
18924 .klen = 32,
18925 .iv = "\x07\x00\x00\x00\x40\x41\x42\x43"
18926 "\x44\x45\x46\x47",
18927 .assoc = "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
18928 "\xc4\xc5\xc6\xc7",
18929 .alen = 12,
18930 .input = "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
18931 "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
18932 "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
18933 "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
18934 "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
18935 "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
18936 "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
18937 "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
18938 "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
18939 "\x98\x03\xae\xe3\x28\x09\x1b\x58"
18940 "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
18941 "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
18942 "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
18943 "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
18944 "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
18945 "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
18946 "\x06\x91",
18947 .ilen = 130,
18948 .result = "\x4c\x61\x64\x69\x65\x73\x20\x61"
18949 "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
18950 "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
18951 "\x74\x68\x65\x20\x63\x6c\x61\x73"
18952 "\x73\x20\x6f\x66\x20\x27\x39\x39"
18953 "\x3a\x20\x49\x66\x20\x49\x20\x63"
18954 "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
18955 "\x65\x72\x20\x79\x6f\x75\x20\x6f"
18956 "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
18957 "\x74\x69\x70\x20\x66\x6f\x72\x20"
18958 "\x74\x68\x65\x20\x66\x75\x74\x75"
18959 "\x72\x65\x2c\x20\x73\x75\x6e\x73"
18960 "\x63\x72\x65\x65\x6e\x20\x77\x6f"
18961 "\x75\x6c\x64\x20\x62\x65\x20\x69"
18962 "\x74\x2e",
18963 .rlen = 114,
18964 }, {
18965 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
18966 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
18967 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
18968 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
18969 .klen = 32,
18970 .iv = "\x00\x00\x00\x00\x01\x02\x03\x04"
18971 "\x05\x06\x07\x08",
18972 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
18973 "\x00\x00\x4e\x91",
18974 .alen = 12,
18975 .input = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
18976 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
18977 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
18978 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
18979 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
18980 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
18981 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
18982 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
18983 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
18984 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
18985 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
18986 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
18987 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
18988 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
18989 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
18990 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
18991 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
18992 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
18993 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
18994 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
18995 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
18996 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
18997 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
18998 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
18999 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
19000 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
19001 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
19002 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
19003 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
19004 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
19005 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
19006 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
19007 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
19008 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
19009 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
19010 "\x38",
19011 .ilen = 281,
19012 .result = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
19013 "\x2d\x44\x72\x61\x66\x74\x73\x20"
19014 "\x61\x72\x65\x20\x64\x72\x61\x66"
19015 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
19016 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
19017 "\x64\x20\x66\x6f\x72\x20\x61\x20"
19018 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
19019 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
19020 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
19021 "\x64\x20\x6d\x61\x79\x20\x62\x65"
19022 "\x20\x75\x70\x64\x61\x74\x65\x64"
19023 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
19024 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
19025 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
19026 "\x20\x62\x79\x20\x6f\x74\x68\x65"
19027 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
19028 "\x6e\x74\x73\x20\x61\x74\x20\x61"
19029 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
19030 "\x20\x49\x74\x20\x69\x73\x20\x69"
19031 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
19032 "\x69\x61\x74\x65\x20\x74\x6f\x20"
19033 "\x75\x73\x65\x20\x49\x6e\x74\x65"
19034 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
19035 "\x66\x74\x73\x20\x61\x73\x20\x72"
19036 "\x65\x66\x65\x72\x65\x6e\x63\x65"
19037 "\x20\x6d\x61\x74\x65\x72\x69\x61"
19038 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
19039 "\x63\x69\x74\x65\x20\x74\x68\x65"
19040 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
19041 "\x74\x68\x61\x6e\x20\x61\x73\x20"
19042 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
19043 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
19044 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
19045 "\x9d",
19046 .rlen = 265,
19051 * draft-irtf-cfrg-chacha20-poly1305
19053 static const struct aead_testvec rfc7539esp_enc_tv_template[] = {
19055 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
19056 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
19057 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
19058 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
19059 "\x00\x00\x00\x00",
19060 .klen = 36,
19061 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
19062 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
19063 "\x00\x00\x4e\x91\x01\x02\x03\x04"
19064 "\x05\x06\x07\x08",
19065 .alen = 20,
19066 .input = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
19067 "\x2d\x44\x72\x61\x66\x74\x73\x20"
19068 "\x61\x72\x65\x20\x64\x72\x61\x66"
19069 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
19070 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
19071 "\x64\x20\x66\x6f\x72\x20\x61\x20"
19072 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
19073 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
19074 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
19075 "\x64\x20\x6d\x61\x79\x20\x62\x65"
19076 "\x20\x75\x70\x64\x61\x74\x65\x64"
19077 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
19078 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
19079 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
19080 "\x20\x62\x79\x20\x6f\x74\x68\x65"
19081 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
19082 "\x6e\x74\x73\x20\x61\x74\x20\x61"
19083 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
19084 "\x20\x49\x74\x20\x69\x73\x20\x69"
19085 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
19086 "\x69\x61\x74\x65\x20\x74\x6f\x20"
19087 "\x75\x73\x65\x20\x49\x6e\x74\x65"
19088 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
19089 "\x66\x74\x73\x20\x61\x73\x20\x72"
19090 "\x65\x66\x65\x72\x65\x6e\x63\x65"
19091 "\x20\x6d\x61\x74\x65\x72\x69\x61"
19092 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
19093 "\x63\x69\x74\x65\x20\x74\x68\x65"
19094 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
19095 "\x74\x68\x61\x6e\x20\x61\x73\x20"
19096 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
19097 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
19098 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
19099 "\x9d",
19100 .ilen = 265,
19101 .result = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
19102 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
19103 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
19104 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
19105 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
19106 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
19107 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
19108 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
19109 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
19110 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
19111 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
19112 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
19113 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
19114 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
19115 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
19116 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
19117 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
19118 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
19119 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
19120 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
19121 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
19122 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
19123 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
19124 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
19125 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
19126 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
19127 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
19128 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
19129 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
19130 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
19131 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
19132 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
19133 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
19134 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
19135 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
19136 "\x38",
19137 .rlen = 281,
19141 static const struct aead_testvec rfc7539esp_dec_tv_template[] = {
19143 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
19144 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
19145 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
19146 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
19147 "\x00\x00\x00\x00",
19148 .klen = 36,
19149 .iv = "\x01\x02\x03\x04\x05\x06\x07\x08",
19150 .assoc = "\xf3\x33\x88\x86\x00\x00\x00\x00"
19151 "\x00\x00\x4e\x91\x01\x02\x03\x04"
19152 "\x05\x06\x07\x08",
19153 .alen = 20,
19154 .input = "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
19155 "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
19156 "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
19157 "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
19158 "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
19159 "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
19160 "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
19161 "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
19162 "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
19163 "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
19164 "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
19165 "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
19166 "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
19167 "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
19168 "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
19169 "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
19170 "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
19171 "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
19172 "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
19173 "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
19174 "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
19175 "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
19176 "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
19177 "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
19178 "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
19179 "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
19180 "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
19181 "\x73\xa6\x72\x76\x27\x09\x7a\x10"
19182 "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
19183 "\xfa\x68\xf0\xff\x77\x98\x71\x30"
19184 "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
19185 "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
19186 "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
19187 "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
19188 "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
19189 "\x38",
19190 .ilen = 281,
19191 .result = "\x49\x6e\x74\x65\x72\x6e\x65\x74"
19192 "\x2d\x44\x72\x61\x66\x74\x73\x20"
19193 "\x61\x72\x65\x20\x64\x72\x61\x66"
19194 "\x74\x20\x64\x6f\x63\x75\x6d\x65"
19195 "\x6e\x74\x73\x20\x76\x61\x6c\x69"
19196 "\x64\x20\x66\x6f\x72\x20\x61\x20"
19197 "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
19198 "\x6f\x66\x20\x73\x69\x78\x20\x6d"
19199 "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
19200 "\x64\x20\x6d\x61\x79\x20\x62\x65"
19201 "\x20\x75\x70\x64\x61\x74\x65\x64"
19202 "\x2c\x20\x72\x65\x70\x6c\x61\x63"
19203 "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
19204 "\x62\x73\x6f\x6c\x65\x74\x65\x64"
19205 "\x20\x62\x79\x20\x6f\x74\x68\x65"
19206 "\x72\x20\x64\x6f\x63\x75\x6d\x65"
19207 "\x6e\x74\x73\x20\x61\x74\x20\x61"
19208 "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
19209 "\x20\x49\x74\x20\x69\x73\x20\x69"
19210 "\x6e\x61\x70\x70\x72\x6f\x70\x72"
19211 "\x69\x61\x74\x65\x20\x74\x6f\x20"
19212 "\x75\x73\x65\x20\x49\x6e\x74\x65"
19213 "\x72\x6e\x65\x74\x2d\x44\x72\x61"
19214 "\x66\x74\x73\x20\x61\x73\x20\x72"
19215 "\x65\x66\x65\x72\x65\x6e\x63\x65"
19216 "\x20\x6d\x61\x74\x65\x72\x69\x61"
19217 "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
19218 "\x63\x69\x74\x65\x20\x74\x68\x65"
19219 "\x6d\x20\x6f\x74\x68\x65\x72\x20"
19220 "\x74\x68\x61\x6e\x20\x61\x73\x20"
19221 "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
19222 "\x20\x69\x6e\x20\x70\x72\x6f\x67"
19223 "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
19224 "\x9d",
19225 .rlen = 265,
19229 static const struct aead_testvec aegis128_enc_tv_template[] = {
19231 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
19232 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
19233 .klen = 16,
19234 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
19235 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
19236 .assoc = "",
19237 .alen = 0,
19238 .input = "",
19239 .ilen = 0,
19240 .result = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
19241 "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
19242 .rlen = 16,
19243 }, {
19244 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
19245 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
19246 .klen = 16,
19247 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
19248 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
19249 .assoc = "",
19250 .alen = 0,
19251 .input = "\x79",
19252 .ilen = 1,
19253 .result = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
19254 "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
19255 "\xcc",
19256 .rlen = 17,
19257 }, {
19258 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
19259 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
19260 .klen = 16,
19261 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
19262 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
19263 .assoc = "",
19264 .alen = 0,
19265 .input = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
19266 "\x82\x8e\x16\xb4\xed\x6d\x47",
19267 .ilen = 15,
19268 .result = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
19269 "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
19270 "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
19271 "\x7a\x21\x16\xb3\xe6\x67\x66",
19272 .rlen = 31,
19273 }, {
19274 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
19275 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
19276 .klen = 16,
19277 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
19278 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
19279 .assoc = "",
19280 .alen = 0,
19281 .input = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
19282 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
19283 .ilen = 16,
19284 .result = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
19285 "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
19286 "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
19287 "\x51\x10\x16\x27\x70\x9b\x64\x29",
19288 .rlen = 32,
19289 }, {
19290 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
19291 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
19292 .klen = 16,
19293 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
19294 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
19295 .assoc = "",
19296 .alen = 0,
19297 .input = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
19298 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
19299 "\xd3",
19300 .ilen = 17,
19301 .result = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
19302 "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
19303 "\x46\x80\xb1\x0e\x18\x30\x40\x97"
19304 "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
19305 "\x3b",
19306 .rlen = 33,
19307 }, {
19308 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
19309 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
19310 .klen = 16,
19311 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
19312 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
19313 .assoc = "",
19314 .alen = 0,
19315 .input = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
19316 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
19317 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
19318 "\x88\x11\x39\x12\x1c\x3a\xbb",
19319 .ilen = 31,
19320 .result = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
19321 "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
19322 "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
19323 "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
19324 "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
19325 "\x75\xc4\x53\x01\x89\x45\x59",
19326 .rlen = 47,
19327 }, {
19328 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
19329 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
19330 .klen = 16,
19331 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
19332 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
19333 .assoc = "",
19334 .alen = 0,
19335 .input = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
19336 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
19337 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
19338 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
19339 .ilen = 32,
19340 .result = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
19341 "\x95\xf4\x58\x38\x14\x83\x27\x01"
19342 "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
19343 "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
19344 "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
19345 "\x51\x52\x77\xf2\x5e\x85\x80\x41",
19346 .rlen = 48,
19347 }, {
19348 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
19349 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
19350 .klen = 16,
19351 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
19352 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
19353 .assoc = "\xd5",
19354 .alen = 1,
19355 .input = "",
19356 .ilen = 0,
19357 .result = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
19358 "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
19359 .rlen = 16,
19360 }, {
19361 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
19362 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
19363 .klen = 16,
19364 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
19365 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
19366 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
19367 "\x68\x75\x16\xf8\xcb\x7e\xa7",
19368 .alen = 15,
19369 .input = "",
19370 .ilen = 0,
19371 .result = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
19372 "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
19373 .rlen = 16,
19374 }, {
19375 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
19376 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
19377 .klen = 16,
19378 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
19379 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
19380 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
19381 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
19382 .alen = 16,
19383 .input = "",
19384 .ilen = 0,
19385 .result = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
19386 "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
19387 .rlen = 16,
19388 }, {
19389 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
19390 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
19391 .klen = 16,
19392 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
19393 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
19394 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
19395 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
19396 "\x07",
19397 .alen = 17,
19398 .input = "",
19399 .ilen = 0,
19400 .result = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
19401 "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
19402 .rlen = 16,
19403 }, {
19404 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
19405 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
19406 .klen = 16,
19407 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
19408 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
19409 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
19410 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
19411 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
19412 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
19413 .alen = 31,
19414 .input = "",
19415 .ilen = 0,
19416 .result = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
19417 "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
19418 .rlen = 16,
19419 }, {
19420 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
19421 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
19422 .klen = 16,
19423 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
19424 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
19425 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
19426 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
19427 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
19428 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
19429 .alen = 32,
19430 .input = "",
19431 .ilen = 0,
19432 .result = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
19433 "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
19434 .rlen = 16,
19435 }, {
19436 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
19437 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
19438 .klen = 16,
19439 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
19440 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
19441 .assoc = "\x40",
19442 .alen = 1,
19443 .input = "\x4f",
19444 .ilen = 1,
19445 .result = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
19446 "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
19447 "\x39",
19448 .rlen = 17,
19449 }, {
19450 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
19451 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
19452 .klen = 16,
19453 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
19454 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
19455 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
19456 "\x6d\x92\x42\x61\xa7\x58\x37",
19457 .alen = 15,
19458 .input = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
19459 "\x8d\xc8\x6e\x85\xa5\x21\x67",
19460 .ilen = 15,
19461 .result = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
19462 "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
19463 "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
19464 "\x98\xbd\x71\x7a\xef\xa4\xfa",
19465 .rlen = 31,
19466 }, {
19467 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
19468 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
19469 .klen = 16,
19470 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
19471 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
19472 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
19473 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
19474 .alen = 16,
19475 .input = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
19476 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
19477 .ilen = 16,
19478 .result = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
19479 "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
19480 "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
19481 "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
19482 .rlen = 32,
19483 }, {
19484 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
19485 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
19486 .klen = 16,
19487 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
19488 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
19489 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
19490 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
19491 "\x05",
19492 .alen = 17,
19493 .input = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
19494 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
19495 "\xd0",
19496 .ilen = 17,
19497 .result = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
19498 "\x38\x2d\x69\x90\x1c\x71\x38\x98"
19499 "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
19500 "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
19501 "\x93",
19502 .rlen = 33,
19503 }, {
19504 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
19505 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
19506 .klen = 16,
19507 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
19508 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
19509 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
19510 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
19511 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
19512 "\x68\x28\x73\x40\x9f\x96\x4a",
19513 .alen = 31,
19514 .input = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
19515 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
19516 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
19517 "\x98\x34\xab\x37\x56\xae\x32",
19518 .ilen = 31,
19519 .result = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
19520 "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
19521 "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
19522 "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
19523 "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
19524 "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
19525 .rlen = 47,
19526 }, {
19527 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
19528 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
19529 .klen = 16,
19530 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
19531 "\x50\xc4\xde\x82\x90\x21\x11\x73",
19532 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
19533 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
19534 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
19535 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
19536 .alen = 32,
19537 .input = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
19538 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
19539 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
19540 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
19541 .ilen = 32,
19542 .result = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
19543 "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
19544 "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
19545 "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
19546 "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
19547 "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
19548 .rlen = 48,
19549 }, {
19550 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
19551 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
19552 .klen = 16,
19553 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
19554 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
19555 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
19556 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
19557 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
19558 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
19559 "\x9d",
19560 .alen = 33,
19561 .input = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
19562 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
19563 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
19564 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
19565 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
19566 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
19567 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
19568 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
19569 "\xbd",
19570 .ilen = 65,
19571 .result = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
19572 "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
19573 "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
19574 "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
19575 "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
19576 "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
19577 "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
19578 "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
19579 "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
19580 "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
19581 "\x3f",
19582 .rlen = 81,
19583 }, {
19584 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
19585 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
19586 .klen = 16,
19587 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
19588 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
19589 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
19590 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
19591 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
19592 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
19593 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
19594 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
19595 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
19596 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
19597 "\x54",
19598 .alen = 65,
19599 .input = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
19600 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
19601 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
19602 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
19603 "\x2f",
19604 .ilen = 33,
19605 .result = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
19606 "\x77\x09\xac\x74\xef\xd2\x56\xae"
19607 "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
19608 "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
19609 "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
19610 "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
19611 "\x39",
19612 .rlen = 49,
19613 }, {
19614 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
19615 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
19616 .klen = 16,
19617 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
19618 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
19619 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
19620 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
19621 .alen = 16,
19622 .input = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
19623 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
19624 .ilen = 16,
19625 .result = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
19626 "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
19627 "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
19628 "\xde\x20\x59\x77\xc1\x74\x90",
19629 .rlen = 31,
19630 }, {
19631 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
19632 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
19633 .klen = 16,
19634 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
19635 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
19636 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
19637 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
19638 .alen = 16,
19639 .input = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
19640 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
19641 .ilen = 16,
19642 .result = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
19643 "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
19644 "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
19645 "\xe9\xe0\x17\x45\x70\x12",
19646 .rlen = 30,
19647 }, {
19648 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
19649 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
19650 .klen = 16,
19651 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
19652 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
19653 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
19654 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
19655 .alen = 16,
19656 .input = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
19657 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
19658 .ilen = 16,
19659 .result = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
19660 "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
19661 "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
19662 .rlen = 24,
19667 * AEGIS-128 test vectors - generated via reference implementation from
19668 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
19670 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
19671 * (see crypto_aead/aegis128/)
19673 static const struct aead_testvec aegis128_dec_tv_template[] = {
19675 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
19676 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
19677 .klen = 16,
19678 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
19679 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
19680 .assoc = "",
19681 .alen = 0,
19682 .input = "\x07\xa5\x11\xf2\x9d\x40\xb8\x6d"
19683 "\xda\xb8\x12\x34\x4c\x53\xd9\x72",
19684 .ilen = 16,
19685 .result = "",
19686 .rlen = 0,
19687 }, {
19688 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
19689 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
19690 .klen = 16,
19691 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
19692 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
19693 .assoc = "",
19694 .alen = 0,
19695 .input = "\x9e\x78\x52\xae\xcb\x9e\xe4\xd3"
19696 "\x9a\xd7\x5d\xd7\xaa\x9a\xe9\x5a"
19697 "\xcc",
19698 .ilen = 17,
19699 .result = "\x79",
19700 .rlen = 1,
19701 }, {
19702 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
19703 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
19704 .klen = 16,
19705 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
19706 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
19707 .assoc = "",
19708 .alen = 0,
19709 .input = "\xc3\x80\x83\x04\x5f\xaa\x61\xc7"
19710 "\xca\xdd\x6f\xac\x85\x08\xb5\x35"
19711 "\x2b\xc2\x3e\x0b\x1b\x39\x37\x2b"
19712 "\x7a\x21\x16\xb3\xe6\x67\x66",
19713 .ilen = 31,
19714 .result = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
19715 "\x82\x8e\x16\xb4\xed\x6d\x47",
19716 .rlen = 15,
19717 }, {
19718 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
19719 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
19720 .klen = 16,
19721 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
19722 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
19723 .assoc = "",
19724 .alen = 0,
19725 .input = "\x23\x25\x30\xe5\x6a\xb6\x36\x7d"
19726 "\x38\xfd\x3a\xd2\xc2\x58\xa9\x11"
19727 "\x1e\xa8\x30\x9c\x16\xa4\xdb\x65"
19728 "\x51\x10\x16\x27\x70\x9b\x64\x29",
19729 .ilen = 32,
19730 .result = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
19731 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
19732 .rlen = 16,
19733 }, {
19734 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
19735 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
19736 .klen = 16,
19737 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
19738 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
19739 .assoc = "",
19740 .alen = 0,
19741 .input = "\x2a\x8d\x56\x91\xc6\xf3\x56\xa5"
19742 "\x1f\xf0\x89\x2e\x13\xad\xe6\xf6"
19743 "\x46\x80\xb1\x0e\x18\x30\x40\x97"
19744 "\x03\xdf\x64\x3c\xbe\x93\x9e\xc9"
19745 "\x3b",
19746 .ilen = 33,
19747 .result = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
19748 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
19749 "\xd3",
19750 .rlen = 17,
19751 }, {
19752 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
19753 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
19754 .klen = 16,
19755 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
19756 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
19757 .assoc = "",
19758 .alen = 0,
19759 .input = "\x4e\xf6\xfa\x13\xde\x43\x63\x4c"
19760 "\xe2\x04\x3e\xe4\x85\x14\xb6\x3f"
19761 "\xb1\x8f\x4c\xdb\x41\xa2\x14\x99"
19762 "\xf5\x53\x0f\x73\x86\x7e\x97\xa1"
19763 "\x4b\x56\x5b\x94\xce\xcd\x74\xcd"
19764 "\x75\xc4\x53\x01\x89\x45\x59",
19765 .ilen = 47,
19766 .result = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
19767 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
19768 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
19769 "\x88\x11\x39\x12\x1c\x3a\xbb",
19770 .rlen = 31,
19771 }, {
19772 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
19773 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
19774 .klen = 16,
19775 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
19776 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
19777 .assoc = "",
19778 .alen = 0,
19779 .input = "\xa4\x9a\xb7\xfd\xa0\xd4\xd6\x47"
19780 "\x95\xf4\x58\x38\x14\x83\x27\x01"
19781 "\x4c\xed\x32\x2c\xf7\xd6\x31\xf7"
19782 "\x38\x1b\x2c\xc9\xb6\x31\xce\xaa"
19783 "\xa5\x3c\x1a\x18\x5c\xce\xb9\xdf"
19784 "\x51\x52\x77\xf2\x5e\x85\x80\x41",
19785 .ilen = 48,
19786 .result = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
19787 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
19788 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
19789 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
19790 .rlen = 32,
19791 }, {
19792 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
19793 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
19794 .klen = 16,
19795 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
19796 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
19797 .assoc = "\xd5",
19798 .alen = 1,
19799 .input = "\xfb\xd4\x83\x71\x9e\x63\xad\x60"
19800 "\xb9\xf9\xeb\x34\x52\x49\xcf\xb7",
19801 .ilen = 16,
19802 .result = "",
19803 .rlen = 0,
19804 }, {
19805 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
19806 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
19807 .klen = 16,
19808 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
19809 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
19810 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
19811 "\x68\x75\x16\xf8\xcb\x7e\xa7",
19812 .alen = 15,
19813 .input = "\x0c\xaf\x2e\x96\xf6\x97\x08\x71"
19814 "\x7d\x3a\x84\xc4\x44\x57\x77\x7e",
19815 .ilen = 16,
19816 .result = "",
19817 .rlen = 0,
19818 }, {
19819 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
19820 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
19821 .klen = 16,
19822 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
19823 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
19824 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
19825 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
19826 .alen = 16,
19827 .input = "\xc7\x87\x09\x3b\xc7\x19\x74\x22"
19828 "\x22\xa5\x67\x10\xb2\x36\xb3\x45",
19829 .ilen = 16,
19830 .result = "",
19831 .rlen = 0,
19832 }, {
19833 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
19834 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
19835 .klen = 16,
19836 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
19837 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
19838 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
19839 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
19840 "\x07",
19841 .alen = 17,
19842 .input = "\x02\xc6\x3b\x46\x65\xb2\xef\x91"
19843 "\x31\xf0\x45\x48\x8a\x2a\xed\xe4",
19844 .ilen = 16,
19845 .result = "",
19846 .rlen = 0,
19847 }, {
19848 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
19849 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
19850 .klen = 16,
19851 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
19852 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
19853 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
19854 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
19855 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
19856 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
19857 .alen = 31,
19858 .input = "\x20\x85\xa8\xd0\x91\x48\x85\xf3"
19859 "\x5a\x16\xc0\x57\x68\x47\xdd\xcb",
19860 .ilen = 16,
19861 .result = "",
19862 .rlen = 0,
19863 }, {
19864 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
19865 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
19866 .klen = 16,
19867 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
19868 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
19869 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
19870 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
19871 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
19872 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
19873 .alen = 32,
19874 .input = "\x6a\xf8\x8d\x9c\x42\x75\x35\x79"
19875 "\xc1\x96\xbd\x31\x6e\x69\x1b\x50",
19876 .ilen = 16,
19877 .result = "",
19878 .rlen = 0,
19879 }, {
19880 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
19881 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
19882 .klen = 16,
19883 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
19884 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
19885 .assoc = "\x40",
19886 .alen = 1,
19887 .input = "\x01\x24\xb1\xba\xf6\xd3\xdf\x83"
19888 "\x70\x45\xe3\x2a\x9d\x5c\x63\x98"
19889 "\x39",
19890 .ilen = 17,
19891 .result = "\x4f",
19892 .rlen = 1,
19893 }, {
19894 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
19895 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
19896 .klen = 16,
19897 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
19898 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
19899 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
19900 "\x6d\x92\x42\x61\xa7\x58\x37",
19901 .alen = 15,
19902 .input = "\x18\x78\xc2\x6e\xe1\xf7\xe6\x8a"
19903 "\xca\x0e\x62\x00\xa8\x21\xb5\x21"
19904 "\x3d\x36\xdb\xf7\xcc\x31\x94\x9c"
19905 "\x98\xbd\x71\x7a\xef\xa4\xfa",
19906 .ilen = 31,
19907 .result = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
19908 "\x8d\xc8\x6e\x85\xa5\x21\x67",
19909 .rlen = 15,
19910 }, {
19911 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
19912 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
19913 .klen = 16,
19914 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
19915 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
19916 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
19917 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
19918 .alen = 16,
19919 .input = "\xea\xd1\x81\x75\xb4\x13\x1d\x86"
19920 "\xd4\x17\x26\xe5\xd6\x89\x39\x04"
19921 "\xa9\x6c\xca\xac\x40\x73\xb2\x4c"
19922 "\x9c\xb9\x0e\x79\x4c\x40\x65\xc6",
19923 .ilen = 32,
19924 .result = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
19925 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
19926 .rlen = 16,
19927 }, {
19928 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
19929 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
19930 .klen = 16,
19931 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
19932 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
19933 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
19934 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
19935 "\x05",
19936 .alen = 17,
19937 .input = "\xf4\xb2\x84\xd1\x81\xfa\x98\x1c"
19938 "\x38\x2d\x69\x90\x1c\x71\x38\x98"
19939 "\x9f\xe1\x19\x3b\x63\x91\xaf\x6e"
19940 "\x4b\x07\x2c\xac\x53\xc5\xd5\xfe"
19941 "\x93",
19942 .ilen = 33,
19943 .result = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
19944 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
19945 "\xd0",
19946 .rlen = 17,
19947 }, {
19948 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
19949 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
19950 .klen = 16,
19951 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
19952 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
19953 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
19954 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
19955 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
19956 "\x68\x28\x73\x40\x9f\x96\x4a",
19957 .alen = 31,
19958 .input = "\xa0\xe7\x0a\x60\xe7\xb8\x8a\xdb"
19959 "\x94\xd3\x93\xf2\x41\x86\x16\xdd"
19960 "\x4c\xe8\xe7\xe0\x62\x48\x89\x40"
19961 "\xc0\x49\x9b\x63\x32\xec\x8b\xdb"
19962 "\xdc\xa6\xea\x2c\xc2\x7f\xf5\x04"
19963 "\xcb\xe5\x47\xbb\xa7\xd1\x9d",
19964 .ilen = 47,
19965 .result = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
19966 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
19967 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
19968 "\x98\x34\xab\x37\x56\xae\x32",
19969 .rlen = 31,
19970 }, {
19971 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
19972 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
19973 .klen = 16,
19974 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
19975 "\x50\xc4\xde\x82\x90\x21\x11\x73",
19976 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
19977 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
19978 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
19979 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
19980 .alen = 32,
19981 .input = "\x62\xdc\x2d\x68\x2d\x71\xbb\x33"
19982 "\x13\xdf\xc0\x46\xf6\x61\x94\xa7"
19983 "\x60\xd3\xd4\xca\xd9\xbe\x82\xf3"
19984 "\xf1\x5b\xa0\xfa\x15\xba\xda\xea"
19985 "\x87\x68\x47\x08\x5d\xdd\x83\xb0"
19986 "\x60\xf4\x93\x20\xdf\x34\x8f\xea",
19987 .ilen = 48,
19988 .result = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
19989 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
19990 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
19991 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
19992 .rlen = 32,
19993 }, {
19994 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
19995 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
19996 .klen = 16,
19997 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
19998 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
19999 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
20000 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
20001 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
20002 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
20003 "\x9d",
20004 .alen = 33,
20005 .input = "\x84\xc5\x21\xab\xe1\xeb\xbb\x6d"
20006 "\xaa\x2a\xaf\xeb\x3b\x3b\x69\xe7"
20007 "\x2c\x47\xef\x9d\xb7\x53\x36\xb7"
20008 "\xb6\xf5\xe5\xa8\xc9\x9e\x02\xd7"
20009 "\x83\x88\xc2\xbd\x2f\xf9\x10\xc0"
20010 "\xf5\xa1\x6e\xd3\x97\x64\x82\xa3"
20011 "\xfb\xda\x2c\xb1\x94\xa1\x58\x32"
20012 "\xe8\xd4\x39\xfc\x9e\x26\xf9\xf1"
20013 "\x61\xe6\xae\x07\xf2\xe0\xa7\x44"
20014 "\x96\x28\x3b\xee\x6b\xc6\x16\x31"
20015 "\x3f",
20016 .ilen = 81,
20017 .result = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
20018 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
20019 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
20020 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
20021 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
20022 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
20023 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
20024 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
20025 "\xbd",
20026 .rlen = 65,
20027 }, {
20028 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
20029 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
20030 .klen = 16,
20031 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
20032 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
20033 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
20034 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
20035 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
20036 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
20037 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
20038 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
20039 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
20040 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
20041 "\x54",
20042 .alen = 65,
20043 .input = "\x8f\x23\x47\xfb\xf2\xac\x23\x83"
20044 "\x77\x09\xac\x74\xef\xd2\x56\xae"
20045 "\x20\x7b\x7b\xca\x45\x8e\xc8\xc2"
20046 "\x50\xbd\xc7\x44\x1c\x54\x98\xd8"
20047 "\x1f\xd0\x9a\x79\xaa\xf9\xe1\xb3"
20048 "\xb4\x98\x5a\x9b\xe4\x4d\xbf\x4e"
20049 "\x39",
20050 .ilen = 49,
20051 .result = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
20052 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
20053 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
20054 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
20055 "\x2f",
20056 .rlen = 33,
20057 }, {
20058 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
20059 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
20060 .klen = 16,
20061 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
20062 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
20063 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
20064 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
20065 .alen = 16,
20066 .input = "\x42\xc3\x58\xfb\x29\xe2\x4a\x56"
20067 "\xf1\xf5\xe1\x51\x55\x4b\x0a\x45"
20068 "\x46\xb5\x8d\xac\xb6\x34\xd8\x8b"
20069 "\xde\x20\x59\x77\xc1\x74\x90",
20070 .ilen = 31,
20071 .result = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
20072 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
20073 .rlen = 16,
20074 }, {
20075 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
20076 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
20077 .klen = 16,
20078 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
20079 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
20080 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
20081 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
20082 .alen = 16,
20083 .input = "\xb2\xfb\xf6\x97\x69\x7a\xe9\xec"
20084 "\xe2\x94\xa1\x8b\xa0\x2b\x60\x72"
20085 "\x1d\x04\xdd\x6a\xef\x46\x8f\x68"
20086 "\xe9\xe0\x17\x45\x70\x12",
20087 .ilen = 30,
20088 .result = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
20089 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
20090 .rlen = 16,
20091 }, {
20092 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
20093 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
20094 .klen = 16,
20095 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
20096 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
20097 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
20098 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
20099 .alen = 16,
20100 .input = "\x47\xda\x54\x42\x51\x72\xc4\x8b"
20101 "\xf5\x57\x0f\x2f\x49\x0e\x11\x3b"
20102 "\x78\x93\xec\xfc\xf4\xff\xe1\x2d",
20103 .ilen = 24,
20104 .result = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
20105 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
20106 .rlen = 16,
20111 * AEGIS-128L test vectors - generated via reference implementation from
20112 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
20114 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
20115 * (see crypto_aead/aegis128l/)
20117 static const struct aead_testvec aegis128l_enc_tv_template[] = {
20119 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
20120 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
20121 .klen = 16,
20122 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
20123 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
20124 .assoc = "",
20125 .alen = 0,
20126 .input = "",
20127 .ilen = 0,
20128 .result = "\x30\x4f\xf3\xe9\xb1\xfa\x81\xa6"
20129 "\x20\x72\x78\xdd\x93\xc8\x57\xef",
20130 .rlen = 16,
20131 }, {
20132 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
20133 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
20134 .klen = 16,
20135 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
20136 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
20137 .assoc = "",
20138 .alen = 0,
20139 .input = "\x79",
20140 .ilen = 1,
20141 .result = "\xa9\x24\xa0\xb6\x2d\xdd\x29\xdb"
20142 "\x40\xb3\x71\xc5\x22\x58\x31\x77"
20143 "\x6d",
20144 .rlen = 17,
20145 }, {
20146 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
20147 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
20148 .klen = 16,
20149 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
20150 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
20151 .assoc = "",
20152 .alen = 0,
20153 .input = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
20154 "\x82\x8e\x16\xb4\xed\x6d\x47",
20155 .ilen = 15,
20156 .result = "\xbb\x0a\x53\xc4\xaa\x7e\xa4\x03"
20157 "\x2b\xee\x62\x99\x7b\x98\x13\x1f"
20158 "\xe0\x76\x4c\x2e\x53\x99\x4f\xbe"
20159 "\xe1\xa8\x04\x7f\xe1\x71\xbe",
20160 .rlen = 31,
20161 }, {
20162 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
20163 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
20164 .klen = 16,
20165 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
20166 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
20167 .assoc = "",
20168 .alen = 0,
20169 .input = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
20170 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
20171 .ilen = 16,
20172 .result = "\x66\xdf\x6e\x71\xc0\x6e\xa4\x4c"
20173 "\x9d\xb7\x8c\x9a\xdb\x1f\xd2\x2e"
20174 "\x23\xb6\xa4\xfb\xd3\x86\xdd\xbb"
20175 "\xde\x54\x9b\xf5\x92\x8b\x93\xc5",
20176 .rlen = 32,
20177 }, {
20178 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
20179 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
20180 .klen = 16,
20181 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
20182 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
20183 .assoc = "",
20184 .alen = 0,
20185 .input = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
20186 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
20187 "\xd3",
20188 .ilen = 17,
20189 .result = "\x4f\xc3\x69\xb6\xd3\xa4\x64\x8b"
20190 "\x71\xc3\x8a\x91\x22\x4f\x1b\xd2"
20191 "\x33\x6d\x86\xbc\xf8\x2f\x06\xf9"
20192 "\x82\x64\xc7\x72\x00\x30\xfc\xf0"
20193 "\xf8",
20194 .rlen = 33,
20195 }, {
20196 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
20197 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
20198 .klen = 16,
20199 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
20200 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
20201 .assoc = "",
20202 .alen = 0,
20203 .input = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
20204 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
20205 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
20206 "\x88\x11\x39\x12\x1c\x3a\xbb",
20207 .ilen = 31,
20208 .result = "\xe3\x93\x15\xae\x5f\x9d\x3c\xb5"
20209 "\xd6\x9d\xee\xee\xcf\xaa\xaf\xe1"
20210 "\x45\x10\x96\xe0\xbf\x55\x0f\x4c"
20211 "\x1a\xfd\xf4\xda\x4e\x10\xde\xc9"
20212 "\x0e\x6f\xc7\x3c\x49\x94\x41\xfc"
20213 "\x59\x28\x88\x3c\x79\x10\x6b",
20214 .rlen = 47,
20215 }, {
20216 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
20217 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
20218 .klen = 16,
20219 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
20220 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
20221 .assoc = "",
20222 .alen = 0,
20223 .input = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
20224 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
20225 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
20226 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
20227 .ilen = 32,
20228 .result = "\x1c\x8e\x22\x34\xfd\xab\xe6\x0d"
20229 "\x1c\x9f\x06\x54\x8b\x0b\xb4\x40"
20230 "\xde\x11\x59\x3e\xfd\x74\xf6\x42"
20231 "\x97\x17\xf7\x24\xb6\x7e\xc4\xc6"
20232 "\x06\xa3\x94\xda\x3d\x7f\x55\x0a"
20233 "\x92\x07\x2f\xa6\xf3\x6b\x2c\xfc",
20234 .rlen = 48,
20235 }, {
20236 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
20237 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
20238 .klen = 16,
20239 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
20240 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
20241 .assoc = "\xd5",
20242 .alen = 1,
20243 .input = "",
20244 .ilen = 0,
20245 .result = "\xa0\x2a\xb4\x9a\x91\x00\x15\xb8"
20246 "\x0f\x9a\x15\x60\x0e\x9b\x13\x8f",
20247 .rlen = 16,
20248 }, {
20249 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
20250 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
20251 .klen = 16,
20252 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
20253 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
20254 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
20255 "\x68\x75\x16\xf8\xcb\x7e\xa7",
20256 .alen = 15,
20257 .input = "",
20258 .ilen = 0,
20259 .result = "\x4c\x26\xad\x9c\x14\xfd\x9c\x8c"
20260 "\x84\xfb\x26\xfb\xd5\xca\x62\x39",
20261 .rlen = 16,
20262 }, {
20263 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
20264 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
20265 .klen = 16,
20266 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
20267 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
20268 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
20269 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
20270 .alen = 16,
20271 .input = "",
20272 .ilen = 0,
20273 .result = "\x45\x85\x0e\x0f\xf4\xae\x96\xa1"
20274 "\x99\x4d\x6d\xb4\x67\x32\xb0\x3a",
20275 .rlen = 16,
20276 }, {
20277 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
20278 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
20279 .klen = 16,
20280 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
20281 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
20282 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
20283 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
20284 "\x07",
20285 .alen = 17,
20286 .input = "",
20287 .ilen = 0,
20288 .result = "\x33\xb1\x42\x97\x8e\x16\x7b\x63"
20289 "\x06\xba\x5b\xcb\xae\x6d\x8b\x56",
20290 .rlen = 16,
20291 }, {
20292 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
20293 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
20294 .klen = 16,
20295 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
20296 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
20297 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
20298 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
20299 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
20300 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
20301 .alen = 31,
20302 .input = "",
20303 .ilen = 0,
20304 .result = "\xda\x44\x08\x8c\x2a\xa5\x07\x35"
20305 "\x0b\x54\x4e\x6d\xe3\xfd\xc4\x5f",
20306 .rlen = 16,
20307 }, {
20308 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
20309 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
20310 .klen = 16,
20311 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
20312 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
20313 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
20314 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
20315 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
20316 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
20317 .alen = 32,
20318 .input = "",
20319 .ilen = 0,
20320 .result = "\x1b\xb1\xf1\xa8\x9e\xc2\xb2\x88"
20321 "\x40\x7f\x7b\x19\x7a\x52\x8c\xf0",
20322 .rlen = 16,
20323 }, {
20324 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
20325 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
20326 .klen = 16,
20327 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
20328 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
20329 .assoc = "\x40",
20330 .alen = 1,
20331 .input = "\x4f",
20332 .ilen = 1,
20333 .result = "\x6e\xc8\xfb\x15\x9d\x98\x49\xc9"
20334 "\xa0\x98\x09\x85\xbe\x56\x8e\x79"
20335 "\xf4",
20336 .rlen = 17,
20337 }, {
20338 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
20339 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
20340 .klen = 16,
20341 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
20342 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
20343 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
20344 "\x6d\x92\x42\x61\xa7\x58\x37",
20345 .alen = 15,
20346 .input = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
20347 "\x8d\xc8\x6e\x85\xa5\x21\x67",
20348 .ilen = 15,
20349 .result = "\x99\x2e\x84\x50\x64\x5c\xab\x29"
20350 "\x20\xba\xb9\x2f\x62\x3a\xce\x2a"
20351 "\x75\x25\x3b\xe3\x40\xe0\x1d\xfc"
20352 "\x20\x63\x0b\x49\x7e\x97\x08",
20353 .rlen = 31,
20354 }, {
20355 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
20356 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
20357 .klen = 16,
20358 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
20359 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
20360 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
20361 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
20362 .alen = 16,
20363 .input = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
20364 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
20365 .ilen = 16,
20366 .result = "\xd9\x8e\xfd\x50\x8f\x02\x9f\xee"
20367 "\x78\x08\x12\xec\x09\xaf\x53\x14"
20368 "\x90\x3e\x3d\x76\xad\x71\x21\x08"
20369 "\x77\xe5\x4b\x15\xc2\xe6\xbc\xdb",
20370 .rlen = 32,
20371 }, {
20372 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
20373 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
20374 .klen = 16,
20375 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
20376 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
20377 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
20378 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
20379 "\x05",
20380 .alen = 17,
20381 .input = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
20382 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
20383 "\xd0",
20384 .ilen = 17,
20385 .result = "\xf3\xe7\x95\x86\xcf\x34\x95\x96"
20386 "\x17\xfe\x1b\xae\x1b\x31\xf2\x1a"
20387 "\xbd\xbc\xc9\x4e\x11\x29\x09\x5c"
20388 "\x05\xd3\xb4\x2e\x4a\x74\x59\x49"
20389 "\x7d",
20390 .rlen = 33,
20391 }, {
20392 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
20393 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
20394 .klen = 16,
20395 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
20396 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
20397 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
20398 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
20399 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
20400 "\x68\x28\x73\x40\x9f\x96\x4a",
20401 .alen = 31,
20402 .input = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
20403 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
20404 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
20405 "\x98\x34\xab\x37\x56\xae\x32",
20406 .ilen = 31,
20407 .result = "\x06\x96\xb2\xbf\x63\xf4\x1e\x24"
20408 "\x0d\x19\x15\x61\x65\x3b\x06\x26"
20409 "\x71\xe8\x7e\x16\xdb\x96\x01\x01"
20410 "\x52\xcd\x49\x5b\x07\x33\x4e\xe7"
20411 "\xaa\x91\xf5\xd5\xc6\xfe\x41\xb5"
20412 "\xed\x90\xce\xb9\xcd\xcc\xa1",
20413 .rlen = 47,
20414 }, {
20415 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
20416 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
20417 .klen = 16,
20418 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
20419 "\x50\xc4\xde\x82\x90\x21\x11\x73",
20420 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
20421 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
20422 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
20423 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
20424 .alen = 32,
20425 .input = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
20426 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
20427 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
20428 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
20429 .ilen = 32,
20430 .result = "\xf9\xd7\xee\x17\xfd\x24\xcd\xf1"
20431 "\xbc\x0f\x35\x97\x97\x0c\x4b\x18"
20432 "\xce\x58\xc8\x3b\xd4\x85\x93\x79"
20433 "\xcc\x9c\xea\xc1\x73\x13\x0b\x4c"
20434 "\xcc\x6f\x28\xf8\xa4\x4e\xb8\x56"
20435 "\x64\x4e\x47\xce\xb2\xb4\x92\xb4",
20436 .rlen = 48,
20437 }, {
20438 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
20439 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
20440 .klen = 16,
20441 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
20442 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
20443 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
20444 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
20445 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
20446 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
20447 "\x9d",
20448 .alen = 33,
20449 .input = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
20450 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
20451 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
20452 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
20453 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
20454 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
20455 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
20456 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
20457 "\xbd",
20458 .ilen = 65,
20459 .result = "\x58\xfa\x3a\x3d\xd9\x88\x63\xe8"
20460 "\xc5\x78\x50\x8b\x4a\xc9\xdf\x7f"
20461 "\x4b\xfa\xc8\x2e\x67\x43\xf3\x63"
20462 "\x42\x8e\x99\x5a\x9c\x0b\x84\x77"
20463 "\xbc\x46\x76\x48\x82\xc7\x57\x96"
20464 "\xe1\x65\xd1\xed\x1d\xdd\x80\x24"
20465 "\xa6\x4d\xa9\xf1\x53\x8b\x5e\x0e"
20466 "\x26\xb9\xcc\x37\xe5\x43\xe1\x5a"
20467 "\x8a\xd6\x8c\x5a\xe4\x95\xd1\x8d"
20468 "\xf7\x33\x64\xc1\xd3\xf2\xfc\x35"
20469 "\x01",
20470 .rlen = 81,
20471 }, {
20472 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
20473 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
20474 .klen = 16,
20475 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
20476 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
20477 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
20478 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
20479 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
20480 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
20481 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
20482 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
20483 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
20484 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
20485 "\x54",
20486 .alen = 65,
20487 .input = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
20488 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
20489 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
20490 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
20491 "\x2f",
20492 .ilen = 33,
20493 .result = "\x4c\xa9\xac\x71\xed\x10\xa6\x24"
20494 "\xb7\xa7\xdf\x8b\xf5\xc2\x41\xcb"
20495 "\x05\xc9\xd6\x97\xb6\x10\x7f\x17"
20496 "\xc2\xc0\x93\xcf\xe0\x94\xfd\x99"
20497 "\xf2\x62\x25\x28\x01\x23\x6f\x8b"
20498 "\x04\x52\xbc\xb0\x3e\x66\x52\x90"
20499 "\x9f",
20500 .rlen = 49,
20501 }, {
20502 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
20503 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
20504 .klen = 16,
20505 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
20506 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
20507 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
20508 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
20509 .alen = 16,
20510 .input = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
20511 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
20512 .ilen = 16,
20513 .result = "\x6d\xed\x04\x7a\x2f\x0c\x30\xa5"
20514 "\x96\xe6\x97\xe4\x10\xeb\x40\x95"
20515 "\xc5\x9a\xdf\x31\xd5\xa5\xa6\xec"
20516 "\x05\xa8\x31\x50\x11\x19\x44",
20517 .rlen = 31,
20518 }, {
20519 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
20520 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
20521 .klen = 16,
20522 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
20523 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
20524 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
20525 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
20526 .alen = 16,
20527 .input = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
20528 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
20529 .ilen = 16,
20530 .result = "\x30\x95\x7d\xea\xdc\x62\xc0\x88"
20531 "\xa1\xe3\x8d\x8c\xac\x04\x10\xa7"
20532 "\xfa\xfa\x07\xbd\xa0\xf0\x36\xeb"
20533 "\x21\x93\x2e\x31\x84\x83",
20534 .rlen = 30,
20535 }, {
20536 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
20537 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
20538 .klen = 16,
20539 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
20540 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
20541 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
20542 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
20543 .alen = 16,
20544 .input = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
20545 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
20546 .ilen = 16,
20547 .result = "\x93\xcd\xee\xd4\xcb\x9d\x8d\x16"
20548 "\x63\x0d\x43\xd5\x49\xca\xa8\x85"
20549 "\x49\xc0\xae\x13\xbc\x26\x1d\x4b",
20550 .rlen = 24,
20554 static const struct aead_testvec aegis128l_dec_tv_template[] = {
20556 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
20557 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
20558 .klen = 16,
20559 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
20560 "\x40\x6d\x59\x48\xfc\x92\x61\x03",
20561 .assoc = "",
20562 .alen = 0,
20563 .input = "\x30\x4f\xf3\xe9\xb1\xfa\x81\xa6"
20564 "\x20\x72\x78\xdd\x93\xc8\x57\xef",
20565 .ilen = 16,
20566 .result = "",
20567 .rlen = 0,
20568 }, {
20569 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
20570 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
20571 .klen = 16,
20572 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
20573 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09",
20574 .assoc = "",
20575 .alen = 0,
20576 .input = "\xa9\x24\xa0\xb6\x2d\xdd\x29\xdb"
20577 "\x40\xb3\x71\xc5\x22\x58\x31\x77"
20578 "\x6d",
20579 .ilen = 17,
20580 .result = "\x79",
20581 .rlen = 1,
20582 }, {
20583 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
20584 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
20585 .klen = 16,
20586 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
20587 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f",
20588 .assoc = "",
20589 .alen = 0,
20590 .input = "\xbb\x0a\x53\xc4\xaa\x7e\xa4\x03"
20591 "\x2b\xee\x62\x99\x7b\x98\x13\x1f"
20592 "\xe0\x76\x4c\x2e\x53\x99\x4f\xbe"
20593 "\xe1\xa8\x04\x7f\xe1\x71\xbe",
20594 .ilen = 31,
20595 .result = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
20596 "\x82\x8e\x16\xb4\xed\x6d\x47",
20597 .rlen = 15,
20598 }, {
20599 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
20600 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
20601 .klen = 16,
20602 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
20603 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15",
20604 .assoc = "",
20605 .alen = 0,
20606 .input = "\x66\xdf\x6e\x71\xc0\x6e\xa4\x4c"
20607 "\x9d\xb7\x8c\x9a\xdb\x1f\xd2\x2e"
20608 "\x23\xb6\xa4\xfb\xd3\x86\xdd\xbb"
20609 "\xde\x54\x9b\xf5\x92\x8b\x93\xc5",
20610 .ilen = 32,
20611 .result = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
20612 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
20613 .rlen = 16,
20614 }, {
20615 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
20616 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
20617 .klen = 16,
20618 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
20619 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c",
20620 .assoc = "",
20621 .alen = 0,
20622 .input = "\x4f\xc3\x69\xb6\xd3\xa4\x64\x8b"
20623 "\x71\xc3\x8a\x91\x22\x4f\x1b\xd2"
20624 "\x33\x6d\x86\xbc\xf8\x2f\x06\xf9"
20625 "\x82\x64\xc7\x72\x00\x30\xfc\xf0"
20626 "\xf8",
20627 .ilen = 33,
20628 .result = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
20629 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
20630 "\xd3",
20631 .rlen = 17,
20632 }, {
20633 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
20634 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
20635 .klen = 16,
20636 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
20637 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22",
20638 .assoc = "",
20639 .alen = 0,
20640 .input = "\xe3\x93\x15\xae\x5f\x9d\x3c\xb5"
20641 "\xd6\x9d\xee\xee\xcf\xaa\xaf\xe1"
20642 "\x45\x10\x96\xe0\xbf\x55\x0f\x4c"
20643 "\x1a\xfd\xf4\xda\x4e\x10\xde\xc9"
20644 "\x0e\x6f\xc7\x3c\x49\x94\x41\xfc"
20645 "\x59\x28\x88\x3c\x79\x10\x6b",
20646 .ilen = 47,
20647 .result = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
20648 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
20649 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
20650 "\x88\x11\x39\x12\x1c\x3a\xbb",
20651 .rlen = 31,
20652 }, {
20653 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
20654 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
20655 .klen = 16,
20656 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
20657 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28",
20658 .assoc = "",
20659 .alen = 0,
20660 .input = "\x1c\x8e\x22\x34\xfd\xab\xe6\x0d"
20661 "\x1c\x9f\x06\x54\x8b\x0b\xb4\x40"
20662 "\xde\x11\x59\x3e\xfd\x74\xf6\x42"
20663 "\x97\x17\xf7\x24\xb6\x7e\xc4\xc6"
20664 "\x06\xa3\x94\xda\x3d\x7f\x55\x0a"
20665 "\x92\x07\x2f\xa6\xf3\x6b\x2c\xfc",
20666 .ilen = 48,
20667 .result = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
20668 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
20669 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
20670 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
20671 .rlen = 32,
20672 }, {
20673 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
20674 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
20675 .klen = 16,
20676 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
20677 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e",
20678 .assoc = "\xd5",
20679 .alen = 1,
20680 .input = "\xa0\x2a\xb4\x9a\x91\x00\x15\xb8"
20681 "\x0f\x9a\x15\x60\x0e\x9b\x13\x8f",
20682 .ilen = 16,
20683 .result = "",
20684 .rlen = 0,
20685 }, {
20686 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
20687 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
20688 .klen = 16,
20689 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
20690 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34",
20691 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
20692 "\x68\x75\x16\xf8\xcb\x7e\xa7",
20693 .alen = 15,
20694 .input = "\x4c\x26\xad\x9c\x14\xfd\x9c\x8c"
20695 "\x84\xfb\x26\xfb\xd5\xca\x62\x39",
20696 .ilen = 16,
20697 .result = "",
20698 .rlen = 0,
20699 }, {
20700 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
20701 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
20702 .klen = 16,
20703 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
20704 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
20705 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
20706 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
20707 .alen = 16,
20708 .input = "\x45\x85\x0e\x0f\xf4\xae\x96\xa1"
20709 "\x99\x4d\x6d\xb4\x67\x32\xb0\x3a",
20710 .ilen = 16,
20711 .result = "",
20712 .rlen = 0,
20713 }, {
20714 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
20715 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
20716 .klen = 16,
20717 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
20718 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41",
20719 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
20720 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
20721 "\x07",
20722 .alen = 17,
20723 .input = "\x33\xb1\x42\x97\x8e\x16\x7b\x63"
20724 "\x06\xba\x5b\xcb\xae\x6d\x8b\x56",
20725 .ilen = 16,
20726 .result = "",
20727 .rlen = 0,
20728 }, {
20729 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
20730 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
20731 .klen = 16,
20732 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
20733 "\xca\xcd\xff\x88\xba\x22\xbe\x47",
20734 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
20735 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
20736 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
20737 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
20738 .alen = 31,
20739 .input = "\xda\x44\x08\x8c\x2a\xa5\x07\x35"
20740 "\x0b\x54\x4e\x6d\xe3\xfd\xc4\x5f",
20741 .ilen = 16,
20742 .result = "",
20743 .rlen = 0,
20744 }, {
20745 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
20746 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
20747 .klen = 16,
20748 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
20749 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d",
20750 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
20751 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
20752 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
20753 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
20754 .alen = 32,
20755 .input = "\x1b\xb1\xf1\xa8\x9e\xc2\xb2\x88"
20756 "\x40\x7f\x7b\x19\x7a\x52\x8c\xf0",
20757 .ilen = 16,
20758 .result = "",
20759 .rlen = 0,
20760 }, {
20761 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
20762 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
20763 .klen = 16,
20764 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
20765 "\xcc\x81\x63\xab\xae\x6b\x43\x54",
20766 .assoc = "\x40",
20767 .alen = 1,
20768 .input = "\x6e\xc8\xfb\x15\x9d\x98\x49\xc9"
20769 "\xa0\x98\x09\x85\xbe\x56\x8e\x79"
20770 "\xf4",
20771 .ilen = 17,
20772 .result = "\x4f",
20773 .rlen = 1,
20774 }, {
20775 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
20776 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
20777 .klen = 16,
20778 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
20779 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a",
20780 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
20781 "\x6d\x92\x42\x61\xa7\x58\x37",
20782 .alen = 15,
20783 .input = "\x99\x2e\x84\x50\x64\x5c\xab\x29"
20784 "\x20\xba\xb9\x2f\x62\x3a\xce\x2a"
20785 "\x75\x25\x3b\xe3\x40\xe0\x1d\xfc"
20786 "\x20\x63\x0b\x49\x7e\x97\x08",
20787 .ilen = 31,
20788 .result = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
20789 "\x8d\xc8\x6e\x85\xa5\x21\x67",
20790 .rlen = 15,
20791 }, {
20792 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
20793 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
20794 .klen = 16,
20795 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
20796 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
20797 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
20798 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
20799 .alen = 16,
20800 .input = "\xd9\x8e\xfd\x50\x8f\x02\x9f\xee"
20801 "\x78\x08\x12\xec\x09\xaf\x53\x14"
20802 "\x90\x3e\x3d\x76\xad\x71\x21\x08"
20803 "\x77\xe5\x4b\x15\xc2\xe6\xbc\xdb",
20804 .ilen = 32,
20805 .result = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
20806 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
20807 .rlen = 16,
20808 }, {
20809 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
20810 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
20811 .klen = 16,
20812 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
20813 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66",
20814 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
20815 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
20816 "\x05",
20817 .alen = 17,
20818 .input = "\xf3\xe7\x95\x86\xcf\x34\x95\x96"
20819 "\x17\xfe\x1b\xae\x1b\x31\xf2\x1a"
20820 "\xbd\xbc\xc9\x4e\x11\x29\x09\x5c"
20821 "\x05\xd3\xb4\x2e\x4a\x74\x59\x49"
20822 "\x7d",
20823 .ilen = 33,
20824 .result = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
20825 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
20826 "\xd0",
20827 .rlen = 17,
20828 }, {
20829 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
20830 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
20831 .klen = 16,
20832 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
20833 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d",
20834 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
20835 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
20836 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
20837 "\x68\x28\x73\x40\x9f\x96\x4a",
20838 .alen = 31,
20839 .input = "\x06\x96\xb2\xbf\x63\xf4\x1e\x24"
20840 "\x0d\x19\x15\x61\x65\x3b\x06\x26"
20841 "\x71\xe8\x7e\x16\xdb\x96\x01\x01"
20842 "\x52\xcd\x49\x5b\x07\x33\x4e\xe7"
20843 "\xaa\x91\xf5\xd5\xc6\xfe\x41\xb5"
20844 "\xed\x90\xce\xb9\xcd\xcc\xa1",
20845 .ilen = 47,
20846 .result = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
20847 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
20848 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
20849 "\x98\x34\xab\x37\x56\xae\x32",
20850 .rlen = 31,
20851 }, {
20852 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
20853 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
20854 .klen = 16,
20855 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
20856 "\x50\xc4\xde\x82\x90\x21\x11\x73",
20857 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
20858 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
20859 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
20860 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
20861 .alen = 32,
20862 .input = "\xf9\xd7\xee\x17\xfd\x24\xcd\xf1"
20863 "\xbc\x0f\x35\x97\x97\x0c\x4b\x18"
20864 "\xce\x58\xc8\x3b\xd4\x85\x93\x79"
20865 "\xcc\x9c\xea\xc1\x73\x13\x0b\x4c"
20866 "\xcc\x6f\x28\xf8\xa4\x4e\xb8\x56"
20867 "\x64\x4e\x47\xce\xb2\xb4\x92\xb4",
20868 .ilen = 48,
20869 .result = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
20870 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
20871 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
20872 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
20873 .rlen = 32,
20874 }, {
20875 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
20876 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
20877 .klen = 16,
20878 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
20879 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79",
20880 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
20881 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
20882 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
20883 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
20884 "\x9d",
20885 .alen = 33,
20886 .input = "\x58\xfa\x3a\x3d\xd9\x88\x63\xe8"
20887 "\xc5\x78\x50\x8b\x4a\xc9\xdf\x7f"
20888 "\x4b\xfa\xc8\x2e\x67\x43\xf3\x63"
20889 "\x42\x8e\x99\x5a\x9c\x0b\x84\x77"
20890 "\xbc\x46\x76\x48\x82\xc7\x57\x96"
20891 "\xe1\x65\xd1\xed\x1d\xdd\x80\x24"
20892 "\xa6\x4d\xa9\xf1\x53\x8b\x5e\x0e"
20893 "\x26\xb9\xcc\x37\xe5\x43\xe1\x5a"
20894 "\x8a\xd6\x8c\x5a\xe4\x95\xd1\x8d"
20895 "\xf7\x33\x64\xc1\xd3\xf2\xfc\x35"
20896 "\x01",
20897 .ilen = 81,
20898 .result = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
20899 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
20900 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
20901 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
20902 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
20903 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
20904 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
20905 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
20906 "\xbd",
20907 .rlen = 65,
20908 }, {
20909 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
20910 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
20911 .klen = 16,
20912 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
20913 "\x52\x79\x42\xa5\x84\x6a\x96\x7f",
20914 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
20915 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
20916 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
20917 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
20918 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
20919 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
20920 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
20921 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
20922 "\x54",
20923 .alen = 65,
20924 .input = "\x4c\xa9\xac\x71\xed\x10\xa6\x24"
20925 "\xb7\xa7\xdf\x8b\xf5\xc2\x41\xcb"
20926 "\x05\xc9\xd6\x97\xb6\x10\x7f\x17"
20927 "\xc2\xc0\x93\xcf\xe0\x94\xfd\x99"
20928 "\xf2\x62\x25\x28\x01\x23\x6f\x8b"
20929 "\x04\x52\xbc\xb0\x3e\x66\x52\x90"
20930 "\x9f",
20931 .ilen = 49,
20932 .result = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
20933 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
20934 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
20935 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
20936 "\x2f",
20937 .rlen = 33,
20938 }, {
20939 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
20940 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
20941 .klen = 16,
20942 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
20943 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
20944 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
20945 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
20946 .alen = 16,
20947 .input = "\x6d\xed\x04\x7a\x2f\x0c\x30\xa5"
20948 "\x96\xe6\x97\xe4\x10\xeb\x40\x95"
20949 "\xc5\x9a\xdf\x31\xd5\xa5\xa6\xec"
20950 "\x05\xa8\x31\x50\x11\x19\x44",
20951 .ilen = 31,
20952 .result = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
20953 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
20954 .rlen = 16,
20955 }, {
20956 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
20957 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
20958 .klen = 16,
20959 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
20960 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
20961 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
20962 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
20963 .alen = 16,
20964 .input = "\x30\x95\x7d\xea\xdc\x62\xc0\x88"
20965 "\xa1\xe3\x8d\x8c\xac\x04\x10\xa7"
20966 "\xfa\xfa\x07\xbd\xa0\xf0\x36\xeb"
20967 "\x21\x93\x2e\x31\x84\x83",
20968 .ilen = 30,
20969 .result = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
20970 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
20971 .rlen = 16,
20972 }, {
20973 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
20974 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
20975 .klen = 16,
20976 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
20977 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
20978 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
20979 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
20980 .alen = 16,
20981 .input = "\x93\xcd\xee\xd4\xcb\x9d\x8d\x16"
20982 "\x63\x0d\x43\xd5\x49\xca\xa8\x85"
20983 "\x49\xc0\xae\x13\xbc\x26\x1d\x4b",
20984 .ilen = 24,
20985 .result = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
20986 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
20987 .rlen = 16,
20992 * AEGIS-256 test vectors - generated via reference implementation from
20993 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
20995 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
20996 * (see crypto_aead/aegis256/)
20998 static const struct aead_testvec aegis256_enc_tv_template[] = {
21000 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
21001 "\x20\x36\x2c\x24\xfe\xc9\x30\x81"
21002 "\xca\xb0\x82\x21\x41\xa8\xe0\x06"
21003 "\x30\x0b\x37\xf6\xb6\x17\xe7\xb5",
21004 .klen = 32,
21005 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
21006 "\x40\x6d\x59\x48\xfc\x92\x61\x03"
21007 "\x95\x61\x05\x42\x82\x50\xc0\x0c"
21008 "\x60\x16\x6f\xec\x6d\x2f\xcf\x6b",
21009 .assoc = "",
21010 .alen = 0,
21011 .input = "",
21012 .ilen = 0,
21013 .result = "\xd5\x65\x3a\xa9\x03\x51\xd7\xaa"
21014 "\xfa\x4b\xd8\xa2\x41\x9b\xc1\xb2",
21015 .rlen = 16,
21016 }, {
21017 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
21018 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87"
21019 "\xf4\x72\x8e\xa5\x46\x48\x62\x20"
21020 "\xf1\x38\x16\xce\x90\x76\x87\x8c",
21021 .klen = 32,
21022 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
21023 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09"
21024 "\xbf\x23\x11\xc6\x87\xf0\x42\x26"
21025 "\x22\x44\x4e\xc4\x47\x8e\x6e\x41",
21026 .assoc = "",
21027 .alen = 0,
21028 .input = "\x79",
21029 .ilen = 1,
21030 .result = "\x84\xa2\x8f\xad\xdb\x8d\x2c\x16"
21031 "\x9e\x89\xd9\x06\xa6\xa8\x14\x29"
21032 "\x8b",
21033 .rlen = 17,
21034 }, {
21035 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
21036 "\x22\xea\x90\x47\xf2\x11\xb5\x8e"
21037 "\x1f\x35\x9a\x29\x4b\xe8\xe4\x39"
21038 "\xb3\x66\xf5\xa6\x6a\xd5\x26\x62",
21039 .klen = 32,
21040 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
21041 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f"
21042 "\xe9\xe5\x1d\x4a\x8c\x90\xc4\x40"
21043 "\xe3\x71\x2d\x9c\x21\xed\x0e\x18",
21044 .assoc = "",
21045 .alen = 0,
21046 .input = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
21047 "\x82\x8e\x16\xb4\xed\x6d\x47",
21048 .ilen = 15,
21049 .result = "\x09\x94\x1f\xa6\x13\xc3\x74\x75"
21050 "\x17\xad\x8a\x0e\xd8\x66\x9a\x28"
21051 "\xd7\x30\x66\x09\x2a\xdc\xfa\x2a"
21052 "\x9f\x3b\xd7\xdd\x66\xd1\x2b",
21053 .rlen = 31,
21054 }, {
21055 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
21056 "\xa2\xc5\x42\xd8\xec\x36\x78\x94"
21057 "\x49\xf7\xa5\xad\x50\x88\x66\x53"
21058 "\x74\x94\xd4\x7f\x44\x34\xc5\x39",
21059 .klen = 32,
21060 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
21061 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15"
21062 "\x14\xa8\x28\xce\x92\x30\x46\x59"
21063 "\xa4\x9f\x0b\x75\xfb\x4c\xad\xee",
21064 .assoc = "",
21065 .alen = 0,
21066 .input = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
21067 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
21068 .ilen = 16,
21069 .result = "\x8a\x46\xa2\x22\x8c\x03\xab\x6f"
21070 "\x54\x63\x4e\x7f\xc9\x8e\xfa\x70"
21071 "\x7b\xe5\x8d\x78\xbc\xe9\xb6\xa1"
21072 "\x29\x17\xc8\x3b\x52\xa4\x98\x72",
21073 .rlen = 32,
21074 }, {
21075 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
21076 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a"
21077 "\x74\xb9\xb1\x32\x55\x28\xe8\x6d"
21078 "\x35\xc1\xb3\x57\x1f\x93\x64\x0f",
21079 .klen = 32,
21080 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
21081 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c"
21082 "\x3e\x6a\x34\x53\x97\xd0\xc8\x73"
21083 "\x66\xcd\xea\x4d\xd5\xab\x4c\xc5",
21084 .assoc = "",
21085 .alen = 0,
21086 .input = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
21087 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
21088 "\xd3",
21089 .ilen = 17,
21090 .result = "\x71\x6b\x37\x0b\x02\x61\x28\x12"
21091 "\x83\xab\x66\x90\x84\xc7\xd1\xc5"
21092 "\xb2\x7a\xb4\x7b\xb4\xfe\x02\xb2"
21093 "\xc0\x00\x39\x13\xb5\x51\x68\x44"
21094 "\xad",
21095 .rlen = 33,
21096 }, {
21097 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
21098 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0"
21099 "\x9e\x7c\xbc\xb6\x5b\xc8\x6a\x86"
21100 "\xf7\xef\x91\x30\xf9\xf2\x04\xe6",
21101 .klen = 32,
21102 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
21103 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22"
21104 "\x69\x2c\x3f\xd7\x9c\x70\x4a\x8d"
21105 "\x27\xfa\xc9\x26\xaf\x0a\xeb\x9c",
21106 .assoc = "",
21107 .alen = 0,
21108 .input = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
21109 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
21110 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
21111 "\x88\x11\x39\x12\x1c\x3a\xbb",
21112 .ilen = 31,
21113 .result = "\xaf\xa4\x34\x0d\x59\xe6\x1c\x2f"
21114 "\x06\x3b\x52\x18\x49\x75\x1b\xf0"
21115 "\x53\x09\x72\x7b\x45\x79\xe0\xbe"
21116 "\x89\x85\x23\x15\xb8\x79\x07\x4c"
21117 "\x53\x7a\x15\x37\x0a\xee\xb7\xfb"
21118 "\xc4\x1f\x12\x27\xcf\x77\x90",
21119 .rlen = 47,
21120 }, {
21121 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
21122 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6"
21123 "\xc8\x3e\xc8\x3a\x60\x68\xec\xa0"
21124 "\xb8\x1c\x70\x08\xd3\x51\xa3\xbd",
21125 .klen = 32,
21126 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
21127 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28"
21128 "\x93\xef\x4b\x5b\xa1\x10\xcc\xa6"
21129 "\xe8\x28\xa8\xfe\x89\x69\x8b\x72",
21130 .assoc = "",
21131 .alen = 0,
21132 .input = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
21133 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
21134 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
21135 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
21136 .ilen = 32,
21137 .result = "\xe2\xc9\x0b\x33\x31\x02\xb3\xb4"
21138 "\x33\xfe\xeb\xa8\xb7\x9b\xb2\xd7"
21139 "\xeb\x0f\x05\x2b\xba\xb3\xca\xef"
21140 "\xf6\xd1\xb6\xc0\xb9\x9b\x85\xc5"
21141 "\xbf\x7a\x3e\xcc\x31\x76\x09\x80"
21142 "\x32\x5d\xbb\xe8\x38\x0e\x77\xd3",
21143 .rlen = 48,
21144 }, {
21145 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
21146 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad"
21147 "\xf3\x00\xd4\xbf\x65\x08\x6e\xb9"
21148 "\x7a\x4a\x4f\xe0\xad\xb0\x42\x93",
21149 .klen = 32,
21150 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
21151 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e"
21152 "\xbd\xb1\x57\xe0\xa6\xb0\x4e\xc0"
21153 "\xaa\x55\x87\xd6\x63\xc8\x2a\x49",
21154 .assoc = "\xd5",
21155 .alen = 1,
21156 .input = "",
21157 .ilen = 0,
21158 .result = "\x96\x43\x30\xca\x6c\x4f\xd7\x12"
21159 "\xba\xd9\xb3\x18\x86\xdf\xc3\x52",
21160 .rlen = 16,
21161 }, {
21162 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
21163 "\x27\x08\xbd\xaf\xce\xec\x45\xb3"
21164 "\x1d\xc3\xdf\x43\x6a\xa8\xf0\xd3"
21165 "\x3b\x77\x2e\xb9\x87\x0f\xe1\x6a",
21166 .klen = 32,
21167 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
21168 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34"
21169 "\xe8\x73\x62\x64\xab\x50\xd0\xda"
21170 "\x6b\x83\x66\xaf\x3e\x27\xc9\x1f",
21171 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
21172 "\x68\x75\x16\xf8\xcb\x7e\xa7",
21173 .alen = 15,
21174 .input = "",
21175 .ilen = 0,
21176 .result = "\x2f\xab\x45\xe2\xa7\x46\xc5\x83"
21177 "\x11\x9f\xb0\x74\xee\xc7\x03\xdd",
21178 .rlen = 16,
21179 }, {
21180 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
21181 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9"
21182 "\x47\x85\xeb\xc7\x6f\x48\x72\xed"
21183 "\xfc\xa5\x0d\x91\x61\x6e\x81\x40",
21184 .klen = 32,
21185 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
21186 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b"
21187 "\x12\x35\x6e\xe8\xb0\xf0\x52\xf3"
21188 "\x2d\xb0\x45\x87\x18\x86\x68\xf6",
21189 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
21190 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
21191 .alen = 16,
21192 .input = "",
21193 .ilen = 0,
21194 .result = "\x16\x44\x73\x33\x5d\xf2\xb9\x04"
21195 "\x6b\x79\x98\xef\xdb\xd5\xc5\xf1",
21196 .rlen = 16,
21197 }, {
21198 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
21199 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf"
21200 "\x72\x47\xf6\x4b\x74\xe8\xf4\x06"
21201 "\xbe\xd3\xec\x6a\x3b\xcd\x20\x17",
21202 .klen = 32,
21203 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
21204 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
21205 "\x3c\xf8\x79\x6c\xb6\x90\xd4\x0d"
21206 "\xee\xde\x23\x60\xf2\xe5\x08\xcc",
21207 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
21208 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
21209 "\x07",
21210 .alen = 17,
21211 .input = "",
21212 .ilen = 0,
21213 .result = "\xa4\x9b\xb8\x47\xc0\xed\x7a\x45"
21214 "\x98\x54\x8c\xed\x3d\x17\xf0\xdd",
21215 .rlen = 16,
21216 }, {
21217 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
21218 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6"
21219 "\x9c\x0a\x02\xd0\x79\x88\x76\x20"
21220 "\x7f\x00\xca\x42\x15\x2c\xbf\xed",
21221 .klen = 32,
21222 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
21223 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
21224 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
21225 "\xaf\x0b\x02\x38\xcc\x44\xa7\xa3",
21226 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
21227 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
21228 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
21229 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
21230 .alen = 31,
21231 .input = "",
21232 .ilen = 0,
21233 .result = "\x20\x24\xe2\x33\x5c\x60\xc9\xf0"
21234 "\xa4\x96\x2f\x0d\x53\xc2\xf8\xfc",
21235 .rlen = 16,
21236 }, {
21237 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
21238 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc"
21239 "\xc6\xcc\x0e\x54\x7f\x28\xf8\x3a"
21240 "\x40\x2e\xa9\x1a\xf0\x8b\x5e\xc4",
21241 .klen = 32,
21242 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
21243 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
21244 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
21245 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a",
21246 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
21247 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
21248 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
21249 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
21250 .alen = 32,
21251 .input = "",
21252 .ilen = 0,
21253 .result = "\x6f\x4a\xb9\xe0\xff\x51\xa3\xf1"
21254 "\xd2\x64\x3e\x66\x6a\xb2\x03\xc0",
21255 .rlen = 16,
21256 }, {
21257 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
21258 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2"
21259 "\xf1\x8e\x19\xd8\x84\xc8\x7a\x53"
21260 "\x02\x5b\x88\xf3\xca\xea\xfe\x9b",
21261 .klen = 32,
21262 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
21263 "\xcc\x81\x63\xab\xae\x6b\x43\x54"
21264 "\xbb\x3f\x9c\xf9\xc5\x70\x5a\x5a"
21265 "\x32\x67\xc0\xe9\x80\x02\xe5\x50",
21266 .assoc = "\x40",
21267 .alen = 1,
21268 .input = "\x4f",
21269 .ilen = 1,
21270 .result = "\x2c\xfb\xad\x7e\xbe\xa0\x9a\x5b"
21271 "\x7a\x3f\x81\xf7\xfc\x1b\x79\x83"
21272 "\xc7",
21273 .rlen = 17,
21274 }, {
21275 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
21276 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8"
21277 "\x1b\x50\x25\x5d\x89\x68\xfc\x6d"
21278 "\xc3\x89\x67\xcb\xa4\x49\x9d\x71",
21279 .klen = 32,
21280 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
21281 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a"
21282 "\xe6\x01\xa8\x7e\xca\x10\xdc\x73"
21283 "\xf4\x94\x9f\xc1\x5a\x61\x85\x27",
21284 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
21285 "\x6d\x92\x42\x61\xa7\x58\x37",
21286 .alen = 15,
21287 .input = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
21288 "\x8d\xc8\x6e\x85\xa5\x21\x67",
21289 .ilen = 15,
21290 .result = "\x1f\x7f\xca\x3c\x2b\xe7\x27\xba"
21291 "\x7e\x98\x83\x02\x34\x23\xf7\x94"
21292 "\xde\x35\xe6\x1d\x14\x18\xe5\x38"
21293 "\x14\x80\x6a\xa7\x1b\xae\x1d",
21294 .rlen = 31,
21295 }, {
21296 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
21297 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf"
21298 "\x46\x13\x31\xe1\x8e\x08\x7e\x87"
21299 "\x85\xb6\x46\xa3\x7e\xa8\x3c\x48",
21300 .klen = 32,
21301 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
21302 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60"
21303 "\x10\xc3\xb3\x02\xcf\xb0\x5e\x8d"
21304 "\xb5\xc2\x7e\x9a\x35\xc0\x24\xfd",
21305 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
21306 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
21307 .alen = 16,
21308 .input = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
21309 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
21310 .ilen = 16,
21311 .result = "\x05\x86\x9e\xd7\x2b\xa3\x97\x01"
21312 "\xbe\x28\x98\x10\x6f\xe9\x61\x32"
21313 "\x96\xbb\xb1\x2e\x8f\x0c\x44\xb9"
21314 "\x46\x2d\x55\xe3\x42\x67\xf2\xaf",
21315 .rlen = 32,
21316 }, {
21317 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
21318 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5"
21319 "\x70\xd5\x3c\x65\x93\xa8\x00\xa0"
21320 "\x46\xe4\x25\x7c\x58\x08\xdb\x1e",
21321 .klen = 32,
21322 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
21323 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
21324 "\x3b\x86\xbf\x86\xd4\x50\xe0\xa7"
21325 "\x76\xef\x5c\x72\x0f\x1f\xc3\xd4",
21326 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
21327 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
21328 "\x05",
21329 .alen = 17,
21330 .input = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
21331 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
21332 "\xd0",
21333 .ilen = 17,
21334 .result = "\x9c\xe0\x06\x7b\x86\xcf\x2e\xd8"
21335 "\x45\x65\x1b\x72\x9b\xaa\xa3\x1e"
21336 "\x87\x9d\x26\xdf\xff\x81\x11\xd2"
21337 "\x47\x41\xb9\x24\xc1\x8a\xa3\x8b"
21338 "\x55",
21339 .rlen = 33,
21340 }, {
21341 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
21342 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb"
21343 "\x9a\x97\x48\xe9\x98\x48\x82\xba"
21344 "\x07\x11\x04\x54\x32\x67\x7b\xf5",
21345 .klen = 32,
21346 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
21347 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
21348 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
21349 "\x38\x1d\x3b\x4a\xe9\x7e\x62\xaa",
21350 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
21351 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
21352 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
21353 "\x68\x28\x73\x40\x9f\x96\x4a",
21354 .alen = 31,
21355 .input = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
21356 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
21357 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
21358 "\x98\x34\xab\x37\x56\xae\x32",
21359 .ilen = 31,
21360 .result = "\xa0\xc8\xde\x83\x0d\xc3\x4e\xd5"
21361 "\x69\x7f\x7a\xdd\x8c\x46\xda\xba"
21362 "\x0a\x5c\x0e\x7f\xac\xee\x02\xd2"
21363 "\xe5\x4b\x0a\xba\xb8\xa4\x7b\x66"
21364 "\xde\xae\xdb\xc2\xc0\x0b\xf7\x2b"
21365 "\xdf\xb8\xea\xd8\xa9\x38\xed",
21366 .rlen = 47,
21367 }, {
21368 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
21369 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1"
21370 "\xc5\x5a\x53\x6e\x9d\xe8\x04\xd4"
21371 "\xc9\x3f\xe2\x2d\x0c\xc6\x1a\xcb",
21372 .klen = 32,
21373 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
21374 "\x50\xc4\xde\x82\x90\x21\x11\x73"
21375 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
21376 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81",
21377 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
21378 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
21379 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
21380 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
21381 .alen = 32,
21382 .input = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
21383 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
21384 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
21385 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
21386 .ilen = 32,
21387 .result = "\xd3\x68\x14\x70\x3c\x01\x43\x86"
21388 "\x02\xab\xbe\x75\xaa\xe7\xf5\x53"
21389 "\x5c\x05\xbd\x9b\x19\xbb\x2a\x61"
21390 "\x8f\x69\x05\x75\x8e\xca\x60\x0c"
21391 "\x5b\xa2\x48\x61\x32\x74\x11\x2b"
21392 "\xf6\xcf\x06\x78\x6f\x78\x1a\x4a",
21393 .rlen = 48,
21394 }, {
21395 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
21396 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7"
21397 "\xef\x1c\x5f\xf2\xa3\x88\x86\xed"
21398 "\x8a\x6d\xc1\x05\xe7\x25\xb9\xa2",
21399 .klen = 32,
21400 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
21401 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
21402 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
21403 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58",
21404 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
21405 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
21406 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
21407 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
21408 "\x9d",
21409 .alen = 33,
21410 .input = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
21411 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
21412 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
21413 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
21414 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
21415 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
21416 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
21417 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
21418 "\xbd",
21419 .ilen = 65,
21420 .result = "\x07\x0a\x35\xb0\x82\x03\x5a\xd2"
21421 "\x15\x3a\x6c\x72\x83\x9b\xb1\x75"
21422 "\xea\xf2\xfc\xff\xc6\xf1\x13\xa4"
21423 "\x1a\x93\x33\x79\x97\x82\x81\xc0"
21424 "\x96\xc2\x00\xab\x39\xae\xa1\x62"
21425 "\x53\xa3\x86\xc9\x07\x8c\xaf\x22"
21426 "\x47\x31\x29\xca\x4a\x95\xf5\xd5"
21427 "\x20\x63\x5a\x54\x80\x2c\x4a\x63"
21428 "\xfb\x18\x73\x31\x4f\x08\x21\x5d"
21429 "\x20\xe9\xc3\x7e\xea\x25\x77\x3a"
21430 "\x65",
21431 .rlen = 81,
21432 }, {
21433 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
21434 "\x32\x42\x15\x80\x85\xa1\x65\xfe"
21435 "\x19\xde\x6b\x76\xa8\x28\x08\x07"
21436 "\x4b\x9a\xa0\xdd\xc1\x84\x58\x79",
21437 .klen = 32,
21438 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
21439 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
21440 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
21441 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e",
21442 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
21443 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
21444 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
21445 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
21446 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
21447 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
21448 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
21449 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
21450 "\x54",
21451 .alen = 65,
21452 .input = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
21453 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
21454 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
21455 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
21456 "\x2f",
21457 .ilen = 33,
21458 .result = "\x33\xc1\xda\xfa\x15\x21\x07\x8e"
21459 "\x93\x68\xea\x64\x7b\x3d\x4b\x6b"
21460 "\x71\x5e\x5e\x6b\x92\xaa\x65\xc2"
21461 "\x7a\x2a\xc1\xa9\x0a\xa1\x24\x81"
21462 "\x26\x3a\x5a\x09\xe8\xce\x73\x72"
21463 "\xde\x7b\x58\x9e\x85\xb9\xa4\x28"
21464 "\xda",
21465 .rlen = 49,
21466 }, {
21467 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
21468 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04"
21469 "\x44\xa1\x76\xfb\xad\xc8\x8a\x21"
21470 "\x0d\xc8\x7f\xb6\x9b\xe3\xf8\x4f",
21471 .klen = 32,
21472 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
21473 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85"
21474 "\x0e\x51\xf9\x1c\xee\x70\x6a\x27"
21475 "\x3d\xd3\xb7\xac\x51\xfa\xdf\x05",
21476 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
21477 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
21478 .alen = 16,
21479 .input = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
21480 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
21481 .ilen = 16,
21482 .result = "\x3e\xf8\x86\x3d\x39\xf8\x96\x02"
21483 "\x0f\xdf\xc9\x6e\x37\x1e\x57\x99"
21484 "\x07\x2a\x1a\xac\xd1\xda\xfd\x3b"
21485 "\xc7\xff\xbd\xbc\x85\x09\x0b",
21486 .rlen = 31,
21487 }, {
21488 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
21489 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a"
21490 "\x6e\x63\x82\x7f\xb2\x68\x0c\x3a"
21491 "\xce\xf5\x5e\x8e\x75\x42\x97\x26",
21492 .klen = 32,
21493 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
21494 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c"
21495 "\x39\x14\x05\xa0\xf3\x10\xec\x41"
21496 "\xff\x01\x95\x84\x2b\x59\x7f\xdb",
21497 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
21498 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
21499 .alen = 16,
21500 .input = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
21501 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
21502 .ilen = 16,
21503 .result = "\x2f\xc4\xd8\x0d\xa6\x07\xef\x2e"
21504 "\x6c\xd9\x84\x63\x70\x97\x61\x37"
21505 "\x08\x2f\x16\x90\x9e\x62\x30\x0d"
21506 "\x62\xd5\xc8\xf0\x46\x1a",
21507 .rlen = 30,
21508 }, {
21509 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
21510 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10"
21511 "\x98\x25\x8d\x03\xb7\x08\x8e\x54"
21512 "\x90\x23\x3d\x67\x4f\xa1\x36\xfc",
21513 .klen = 32,
21514 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
21515 "\xd5\x07\x58\x59\x72\xd7\xde\x92"
21516 "\x63\xd6\x10\x24\xf8\xb0\x6e\x5a"
21517 "\xc0\x2e\x74\x5d\x06\xb8\x1e\xb2",
21518 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
21519 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
21520 .alen = 16,
21521 .input = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
21522 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
21523 .ilen = 16,
21524 .result = "\xce\xf3\x17\x87\x49\xc2\x00\x46"
21525 "\xc6\x12\x5c\x8f\x81\x38\xaa\x55"
21526 "\xf8\x67\x75\xf1\x75\xe3\x2a\x24",
21527 .rlen = 24,
21531 static const struct aead_testvec aegis256_dec_tv_template[] = {
21533 .key = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
21534 "\x20\x36\x2c\x24\xfe\xc9\x30\x81"
21535 "\xca\xb0\x82\x21\x41\xa8\xe0\x06"
21536 "\x30\x0b\x37\xf6\xb6\x17\xe7\xb5",
21537 .klen = 32,
21538 .iv = "\x1e\x92\x1c\xcf\x88\x3d\x54\x0d"
21539 "\x40\x6d\x59\x48\xfc\x92\x61\x03"
21540 "\x95\x61\x05\x42\x82\x50\xc0\x0c"
21541 "\x60\x16\x6f\xec\x6d\x2f\xcf\x6b",
21542 .assoc = "",
21543 .alen = 0,
21544 .input = "\xd5\x65\x3a\xa9\x03\x51\xd7\xaa"
21545 "\xfa\x4b\xd8\xa2\x41\x9b\xc1\xb2",
21546 .ilen = 16,
21547 .result = "",
21548 .rlen = 0,
21549 }, {
21550 .key = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
21551 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87"
21552 "\xf4\x72\x8e\xa5\x46\x48\x62\x20"
21553 "\xf1\x38\x16\xce\x90\x76\x87\x8c",
21554 .klen = 32,
21555 .iv = "\x5a\xb7\x56\x6e\x98\xb9\xfd\x29"
21556 "\xc1\x47\x0b\xda\xf6\xb6\x23\x09"
21557 "\xbf\x23\x11\xc6\x87\xf0\x42\x26"
21558 "\x22\x44\x4e\xc4\x47\x8e\x6e\x41",
21559 .assoc = "",
21560 .alen = 0,
21561 .input = "\x84\xa2\x8f\xad\xdb\x8d\x2c\x16"
21562 "\x9e\x89\xd9\x06\xa6\xa8\x14\x29"
21563 "\x8b",
21564 .ilen = 17,
21565 .result = "\x79",
21566 .rlen = 1,
21567 }, {
21568 .key = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
21569 "\x22\xea\x90\x47\xf2\x11\xb5\x8e"
21570 "\x1f\x35\x9a\x29\x4b\xe8\xe4\x39"
21571 "\xb3\x66\xf5\xa6\x6a\xd5\x26\x62",
21572 .klen = 32,
21573 .iv = "\x97\xdb\x90\x0e\xa8\x35\xa5\x45"
21574 "\x42\x21\xbd\x6b\xf0\xda\xe6\x0f"
21575 "\xe9\xe5\x1d\x4a\x8c\x90\xc4\x40"
21576 "\xe3\x71\x2d\x9c\x21\xed\x0e\x18",
21577 .assoc = "",
21578 .alen = 0,
21579 .input = "\x09\x94\x1f\xa6\x13\xc3\x74\x75"
21580 "\x17\xad\x8a\x0e\xd8\x66\x9a\x28"
21581 "\xd7\x30\x66\x09\x2a\xdc\xfa\x2a"
21582 "\x9f\x3b\xd7\xdd\x66\xd1\x2b",
21583 .ilen = 31,
21584 .result = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
21585 "\x82\x8e\x16\xb4\xed\x6d\x47",
21586 .rlen = 15,
21587 }, {
21588 .key = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
21589 "\xa2\xc5\x42\xd8\xec\x36\x78\x94"
21590 "\x49\xf7\xa5\xad\x50\x88\x66\x53"
21591 "\x74\x94\xd4\x7f\x44\x34\xc5\x39",
21592 .klen = 32,
21593 .iv = "\xd3\x00\xc9\xad\xb8\xb0\x4e\x61"
21594 "\xc3\xfb\x6f\xfd\xea\xff\xa9\x15"
21595 "\x14\xa8\x28\xce\x92\x30\x46\x59"
21596 "\xa4\x9f\x0b\x75\xfb\x4c\xad\xee",
21597 .assoc = "",
21598 .alen = 0,
21599 .input = "\x8a\x46\xa2\x22\x8c\x03\xab\x6f"
21600 "\x54\x63\x4e\x7f\xc9\x8e\xfa\x70"
21601 "\x7b\xe5\x8d\x78\xbc\xe9\xb6\xa1"
21602 "\x29\x17\xc8\x3b\x52\xa4\x98\x72",
21603 .ilen = 32,
21604 .result = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
21605 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
21606 .rlen = 16,
21607 }, {
21608 .key = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
21609 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a"
21610 "\x74\xb9\xb1\x32\x55\x28\xe8\x6d"
21611 "\x35\xc1\xb3\x57\x1f\x93\x64\x0f",
21612 .klen = 32,
21613 .iv = "\x10\x25\x03\x4c\xc8\x2c\xf7\x7d"
21614 "\x44\xd5\x21\x8e\xe4\x23\x6b\x1c"
21615 "\x3e\x6a\x34\x53\x97\xd0\xc8\x73"
21616 "\x66\xcd\xea\x4d\xd5\xab\x4c\xc5",
21617 .assoc = "",
21618 .alen = 0,
21619 .input = "\x71\x6b\x37\x0b\x02\x61\x28\x12"
21620 "\x83\xab\x66\x90\x84\xc7\xd1\xc5"
21621 "\xb2\x7a\xb4\x7b\xb4\xfe\x02\xb2"
21622 "\xc0\x00\x39\x13\xb5\x51\x68\x44"
21623 "\xad",
21624 .ilen = 33,
21625 .result = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
21626 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f"
21627 "\xd3",
21628 .rlen = 17,
21629 }, {
21630 .key = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
21631 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0"
21632 "\x9e\x7c\xbc\xb6\x5b\xc8\x6a\x86"
21633 "\xf7\xef\x91\x30\xf9\xf2\x04\xe6",
21634 .klen = 32,
21635 .iv = "\x4c\x49\x3d\xec\xd8\xa8\xa0\x98"
21636 "\xc5\xb0\xd3\x1f\xde\x48\x2e\x22"
21637 "\x69\x2c\x3f\xd7\x9c\x70\x4a\x8d"
21638 "\x27\xfa\xc9\x26\xaf\x0a\xeb\x9c",
21639 .assoc = "",
21640 .alen = 0,
21641 .input = "\xaf\xa4\x34\x0d\x59\xe6\x1c\x2f"
21642 "\x06\x3b\x52\x18\x49\x75\x1b\xf0"
21643 "\x53\x09\x72\x7b\x45\x79\xe0\xbe"
21644 "\x89\x85\x23\x15\xb8\x79\x07\x4c"
21645 "\x53\x7a\x15\x37\x0a\xee\xb7\xfb"
21646 "\xc4\x1f\x12\x27\xcf\x77\x90",
21647 .ilen = 47,
21648 .result = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
21649 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25"
21650 "\xfe\x8d\x45\x19\x1e\xc0\x0b\x99"
21651 "\x88\x11\x39\x12\x1c\x3a\xbb",
21652 .rlen = 31,
21653 }, {
21654 .key = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
21655 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6"
21656 "\xc8\x3e\xc8\x3a\x60\x68\xec\xa0"
21657 "\xb8\x1c\x70\x08\xd3\x51\xa3\xbd",
21658 .klen = 32,
21659 .iv = "\x89\x6e\x77\x8b\xe8\x23\x49\xb4"
21660 "\x45\x8a\x85\xb1\xd8\x6c\xf1\x28"
21661 "\x93\xef\x4b\x5b\xa1\x10\xcc\xa6"
21662 "\xe8\x28\xa8\xfe\x89\x69\x8b\x72",
21663 .assoc = "",
21664 .alen = 0,
21665 .input = "\xe2\xc9\x0b\x33\x31\x02\xb3\xb4"
21666 "\x33\xfe\xeb\xa8\xb7\x9b\xb2\xd7"
21667 "\xeb\x0f\x05\x2b\xba\xb3\xca\xef"
21668 "\xf6\xd1\xb6\xc0\xb9\x9b\x85\xc5"
21669 "\xbf\x7a\x3e\xcc\x31\x76\x09\x80"
21670 "\x32\x5d\xbb\xe8\x38\x0e\x77\xd3",
21671 .ilen = 48,
21672 .result = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
21673 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b"
21674 "\x28\x50\x51\x9d\x24\x60\x8d\xb3"
21675 "\x49\x3e\x17\xea\xf6\x99\x5a\xdd",
21676 .rlen = 32,
21677 }, {
21678 .key = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
21679 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad"
21680 "\xf3\x00\xd4\xbf\x65\x08\x6e\xb9"
21681 "\x7a\x4a\x4f\xe0\xad\xb0\x42\x93",
21682 .klen = 32,
21683 .iv = "\xc5\x93\xb0\x2a\xf8\x9f\xf1\xd0"
21684 "\xc6\x64\x37\x42\xd2\x90\xb3\x2e"
21685 "\xbd\xb1\x57\xe0\xa6\xb0\x4e\xc0"
21686 "\xaa\x55\x87\xd6\x63\xc8\x2a\x49",
21687 .assoc = "\xd5",
21688 .alen = 1,
21689 .input = "\x96\x43\x30\xca\x6c\x4f\xd7\x12"
21690 "\xba\xd9\xb3\x18\x86\xdf\xc3\x52",
21691 .ilen = 16,
21692 .result = "",
21693 .rlen = 0,
21694 }, {
21695 .key = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
21696 "\x27\x08\xbd\xaf\xce\xec\x45\xb3"
21697 "\x1d\xc3\xdf\x43\x6a\xa8\xf0\xd3"
21698 "\x3b\x77\x2e\xb9\x87\x0f\xe1\x6a",
21699 .klen = 32,
21700 .iv = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
21701 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34"
21702 "\xe8\x73\x62\x64\xab\x50\xd0\xda"
21703 "\x6b\x83\x66\xaf\x3e\x27\xc9\x1f",
21704 .assoc = "\x11\x81\x78\x32\x4d\xb9\x44\x73"
21705 "\x68\x75\x16\xf8\xcb\x7e\xa7",
21706 .alen = 15,
21707 .input = "\x2f\xab\x45\xe2\xa7\x46\xc5\x83"
21708 "\x11\x9f\xb0\x74\xee\xc7\x03\xdd",
21709 .ilen = 16,
21710 .result = "",
21711 .rlen = 0,
21712 }, {
21713 .key = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
21714 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9"
21715 "\x47\x85\xeb\xc7\x6f\x48\x72\xed"
21716 "\xfc\xa5\x0d\x91\x61\x6e\x81\x40",
21717 .klen = 32,
21718 .iv = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
21719 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b"
21720 "\x12\x35\x6e\xe8\xb0\xf0\x52\xf3"
21721 "\x2d\xb0\x45\x87\x18\x86\x68\xf6",
21722 .assoc = "\x4e\xa5\xb2\xd1\x5d\x35\xed\x8f"
21723 "\xe8\x4f\xc8\x89\xc5\xa2\x69\xbc",
21724 .alen = 16,
21725 .input = "\x16\x44\x73\x33\x5d\xf2\xb9\x04"
21726 "\x6b\x79\x98\xef\xdb\xd5\xc5\xf1",
21727 .ilen = 16,
21728 .result = "",
21729 .rlen = 0,
21730 }, {
21731 .key = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
21732 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf"
21733 "\x72\x47\xf6\x4b\x74\xe8\xf4\x06"
21734 "\xbe\xd3\xec\x6a\x3b\xcd\x20\x17",
21735 .klen = 32,
21736 .iv = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
21737 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
21738 "\x3c\xf8\x79\x6c\xb6\x90\xd4\x0d"
21739 "\xee\xde\x23\x60\xf2\xe5\x08\xcc",
21740 .assoc = "\x8a\xca\xec\x70\x6d\xb1\x96\xab"
21741 "\x69\x29\x7a\x1b\xbf\xc7\x2c\xc2"
21742 "\x07",
21743 .alen = 17,
21744 .input = "\xa4\x9b\xb8\x47\xc0\xed\x7a\x45"
21745 "\x98\x54\x8c\xed\x3d\x17\xf0\xdd",
21746 .ilen = 16,
21747 .result = "",
21748 .rlen = 0,
21749 }, {
21750 .key = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
21751 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6"
21752 "\x9c\x0a\x02\xd0\x79\x88\x76\x20"
21753 "\x7f\x00\xca\x42\x15\x2c\xbf\xed",
21754 .klen = 32,
21755 .iv = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
21756 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
21757 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
21758 "\xaf\x0b\x02\x38\xcc\x44\xa7\xa3",
21759 .assoc = "\xc7\xef\x26\x10\x7d\x2c\x3f\xc6"
21760 "\xea\x03\x2c\xac\xb9\xeb\xef\xc9"
21761 "\x31\x6b\x08\x12\xfc\xd8\x37\x2d"
21762 "\xe0\x17\x3a\x2e\x83\x5c\x8f",
21763 .alen = 31,
21764 .input = "\x20\x24\xe2\x33\x5c\x60\xc9\xf0"
21765 "\xa4\x96\x2f\x0d\x53\xc2\xf8\xfc",
21766 .ilen = 16,
21767 .result = "",
21768 .rlen = 0,
21769 }, {
21770 .key = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
21771 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc"
21772 "\xc6\xcc\x0e\x54\x7f\x28\xf8\x3a"
21773 "\x40\x2e\xa9\x1a\xf0\x8b\x5e\xc4",
21774 .klen = 32,
21775 .iv = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
21776 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
21777 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
21778 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a",
21779 .assoc = "\x03\x14\x5f\xaf\x8d\xa8\xe7\xe2"
21780 "\x6b\xde\xde\x3e\xb3\x10\xb1\xcf"
21781 "\x5c\x2d\x14\x96\x01\x78\xb9\x47"
21782 "\xa1\x44\x19\x06\x5d\xbb\x2e\x2f",
21783 .alen = 32,
21784 .input = "\x6f\x4a\xb9\xe0\xff\x51\xa3\xf1"
21785 "\xd2\x64\x3e\x66\x6a\xb2\x03\xc0",
21786 .ilen = 16,
21787 .result = "",
21788 .rlen = 0,
21789 }, {
21790 .key = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
21791 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2"
21792 "\xf1\x8e\x19\xd8\x84\xc8\x7a\x53"
21793 "\x02\x5b\x88\xf3\xca\xea\xfe\x9b",
21794 .klen = 32,
21795 .iv = "\x31\x6f\x0b\xe6\x59\x85\xe6\x77"
21796 "\xcc\x81\x63\xab\xae\x6b\x43\x54"
21797 "\xbb\x3f\x9c\xf9\xc5\x70\x5a\x5a"
21798 "\x32\x67\xc0\xe9\x80\x02\xe5\x50",
21799 .assoc = "\x40",
21800 .alen = 1,
21801 .input = "\x2c\xfb\xad\x7e\xbe\xa0\x9a\x5b"
21802 "\x7a\x3f\x81\xf7\xfc\x1b\x79\x83"
21803 "\xc7",
21804 .ilen = 17,
21805 .result = "\x4f",
21806 .rlen = 1,
21807 }, {
21808 .key = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
21809 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8"
21810 "\x1b\x50\x25\x5d\x89\x68\xfc\x6d"
21811 "\xc3\x89\x67\xcb\xa4\x49\x9d\x71",
21812 .klen = 32,
21813 .iv = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
21814 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a"
21815 "\xe6\x01\xa8\x7e\xca\x10\xdc\x73"
21816 "\xf4\x94\x9f\xc1\x5a\x61\x85\x27",
21817 .assoc = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
21818 "\x6d\x92\x42\x61\xa7\x58\x37",
21819 .alen = 15,
21820 .input = "\x1f\x7f\xca\x3c\x2b\xe7\x27\xba"
21821 "\x7e\x98\x83\x02\x34\x23\xf7\x94"
21822 "\xde\x35\xe6\x1d\x14\x18\xe5\x38"
21823 "\x14\x80\x6a\xa7\x1b\xae\x1d",
21824 .ilen = 31,
21825 .result = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
21826 "\x8d\xc8\x6e\x85\xa5\x21\x67",
21827 .rlen = 15,
21828 }, {
21829 .key = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
21830 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf"
21831 "\x46\x13\x31\xe1\x8e\x08\x7e\x87"
21832 "\x85\xb6\x46\xa3\x7e\xa8\x3c\x48",
21833 .klen = 32,
21834 .iv = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
21835 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60"
21836 "\x10\xc3\xb3\x02\xcf\xb0\x5e\x8d"
21837 "\xb5\xc2\x7e\x9a\x35\xc0\x24\xfd",
21838 .assoc = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
21839 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
21840 .alen = 16,
21841 .input = "\x05\x86\x9e\xd7\x2b\xa3\x97\x01"
21842 "\xbe\x28\x98\x10\x6f\xe9\x61\x32"
21843 "\x96\xbb\xb1\x2e\x8f\x0c\x44\xb9"
21844 "\x46\x2d\x55\xe3\x42\x67\xf2\xaf",
21845 .ilen = 32,
21846 .result = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
21847 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
21848 .rlen = 16,
21849 }, {
21850 .key = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
21851 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5"
21852 "\x70\xd5\x3c\x65\x93\xa8\x00\xa0"
21853 "\x46\xe4\x25\x7c\x58\x08\xdb\x1e",
21854 .klen = 32,
21855 .iv = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
21856 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
21857 "\x3b\x86\xbf\x86\xd4\x50\xe0\xa7"
21858 "\x76\xef\x5c\x72\x0f\x1f\xc3\xd4",
21859 .assoc = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
21860 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
21861 "\x05",
21862 .alen = 17,
21863 .input = "\x9c\xe0\x06\x7b\x86\xcf\x2e\xd8"
21864 "\x45\x65\x1b\x72\x9b\xaa\xa3\x1e"
21865 "\x87\x9d\x26\xdf\xff\x81\x11\xd2"
21866 "\x47\x41\xb9\x24\xc1\x8a\xa3\x8b"
21867 "\x55",
21868 .ilen = 33,
21869 .result = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
21870 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69"
21871 "\xd0",
21872 .rlen = 17,
21873 }, {
21874 .key = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
21875 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb"
21876 "\x9a\x97\x48\xe9\x98\x48\x82\xba"
21877 "\x07\x11\x04\x54\x32\x67\x7b\xf5",
21878 .klen = 32,
21879 .iv = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
21880 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
21881 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
21882 "\x38\x1d\x3b\x4a\xe9\x7e\x62\xaa",
21883 .assoc = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
21884 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
21885 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
21886 "\x68\x28\x73\x40\x9f\x96\x4a",
21887 .alen = 31,
21888 .input = "\xa0\xc8\xde\x83\x0d\xc3\x4e\xd5"
21889 "\x69\x7f\x7a\xdd\x8c\x46\xda\xba"
21890 "\x0a\x5c\x0e\x7f\xac\xee\x02\xd2"
21891 "\xe5\x4b\x0a\xba\xb8\xa4\x7b\x66"
21892 "\xde\xae\xdb\xc2\xc0\x0b\xf7\x2b"
21893 "\xdf\xb8\xea\xd8\xa9\x38\xed",
21894 .ilen = 47,
21895 .result = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
21896 "\x10\x57\x85\x39\x93\x8f\xaf\x70"
21897 "\xfa\xa9\xd0\x4d\x5c\x40\x23\xcd"
21898 "\x98\x34\xab\x37\x56\xae\x32",
21899 .rlen = 31,
21900 }, {
21901 .key = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
21902 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1"
21903 "\xc5\x5a\x53\x6e\x9d\xe8\x04\xd4"
21904 "\xc9\x3f\xe2\x2d\x0c\xc6\x1a\xcb",
21905 .klen = 32,
21906 .iv = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
21907 "\x50\xc4\xde\x82\x90\x21\x11\x73"
21908 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
21909 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81",
21910 .assoc = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
21911 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
21912 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
21913 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
21914 .alen = 32,
21915 .input = "\xd3\x68\x14\x70\x3c\x01\x43\x86"
21916 "\x02\xab\xbe\x75\xaa\xe7\xf5\x53"
21917 "\x5c\x05\xbd\x9b\x19\xbb\x2a\x61"
21918 "\x8f\x69\x05\x75\x8e\xca\x60\x0c"
21919 "\x5b\xa2\x48\x61\x32\x74\x11\x2b"
21920 "\xf6\xcf\x06\x78\x6f\x78\x1a\x4a",
21921 .ilen = 48,
21922 .result = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
21923 "\x91\x31\x37\xcb\x8d\xb3\x72\x76"
21924 "\x24\x6b\xdc\xd1\x61\xe0\xa5\xe7"
21925 "\x5a\x61\x8a\x0f\x30\x0d\xd1\xec",
21926 .rlen = 32,
21927 }, {
21928 .key = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
21929 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7"
21930 "\xef\x1c\x5f\xf2\xa3\x88\x86\xed"
21931 "\x8a\x6d\xc1\x05\xe7\x25\xb9\xa2",
21932 .klen = 32,
21933 .iv = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
21934 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
21935 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
21936 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58",
21937 .assoc = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
21938 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
21939 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
21940 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
21941 "\x9d",
21942 .alen = 33,
21943 .input = "\x07\x0a\x35\xb0\x82\x03\x5a\xd2"
21944 "\x15\x3a\x6c\x72\x83\x9b\xb1\x75"
21945 "\xea\xf2\xfc\xff\xc6\xf1\x13\xa4"
21946 "\x1a\x93\x33\x79\x97\x82\x81\xc0"
21947 "\x96\xc2\x00\xab\x39\xae\xa1\x62"
21948 "\x53\xa3\x86\xc9\x07\x8c\xaf\x22"
21949 "\x47\x31\x29\xca\x4a\x95\xf5\xd5"
21950 "\x20\x63\x5a\x54\x80\x2c\x4a\x63"
21951 "\xfb\x18\x73\x31\x4f\x08\x21\x5d"
21952 "\x20\xe9\xc3\x7e\xea\x25\x77\x3a"
21953 "\x65",
21954 .ilen = 81,
21955 .result = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
21956 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c"
21957 "\x4f\x2e\xe8\x55\x66\x80\x27\x00"
21958 "\x1b\x8f\x68\xe7\x0a\x6c\x71\xc3"
21959 "\x21\x78\x55\x9d\x9c\x65\x7b\xcd"
21960 "\x0a\x34\x97\xff\x47\x37\xb0\x2a"
21961 "\x80\x0d\x19\x98\x33\xa9\x7a\xe3"
21962 "\x2e\x4c\xc6\xf3\x8c\x88\x42\x01"
21963 "\xbd",
21964 .rlen = 65,
21965 }, {
21966 .key = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
21967 "\x32\x42\x15\x80\x85\xa1\x65\xfe"
21968 "\x19\xde\x6b\x76\xa8\x28\x08\x07"
21969 "\x4b\x9a\xa0\xdd\xc1\x84\x58\x79",
21970 .klen = 32,
21971 .iv = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
21972 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
21973 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
21974 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e",
21975 .assoc = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
21976 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
21977 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
21978 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
21979 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
21980 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
21981 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
21982 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
21983 "\x54",
21984 .alen = 65,
21985 .input = "\x33\xc1\xda\xfa\x15\x21\x07\x8e"
21986 "\x93\x68\xea\x64\x7b\x3d\x4b\x6b"
21987 "\x71\x5e\x5e\x6b\x92\xaa\x65\xc2"
21988 "\x7a\x2a\xc1\xa9\x0a\xa1\x24\x81"
21989 "\x26\x3a\x5a\x09\xe8\xce\x73\x72"
21990 "\xde\x7b\x58\x9e\x85\xb9\xa4\x28"
21991 "\xda",
21992 .ilen = 49,
21993 .result = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
21994 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82"
21995 "\x79\xf0\xf3\xd9\x6c\x20\xa9\x1a"
21996 "\xdc\xbc\x47\xc0\xe4\xcb\x10\x99"
21997 "\x2f",
21998 .rlen = 33,
21999 }, {
22000 .key = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
22001 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04"
22002 "\x44\xa1\x76\xfb\xad\xc8\x8a\x21"
22003 "\x0d\xc8\x7f\xb6\x9b\xe3\xf8\x4f",
22004 .klen = 32,
22005 .iv = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
22006 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85"
22007 "\x0e\x51\xf9\x1c\xee\x70\x6a\x27"
22008 "\x3d\xd3\xb7\xac\x51\xfa\xdf\x05",
22009 .assoc = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
22010 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
22011 .alen = 16,
22012 .input = "\x3e\xf8\x86\x3d\x39\xf8\x96\x02"
22013 "\x0f\xdf\xc9\x6e\x37\x1e\x57\x99"
22014 "\x07\x2a\x1a\xac\xd1\xda\xfd\x3b"
22015 "\xc7\xff\xbd\xbc\x85\x09\x0b",
22016 .ilen = 31,
22017 .result = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
22018 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
22019 .rlen = 16,
22020 }, {
22021 .key = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
22022 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a"
22023 "\x6e\x63\x82\x7f\xb2\x68\x0c\x3a"
22024 "\xce\xf5\x5e\x8e\x75\x42\x97\x26",
22025 .klen = 32,
22026 .iv = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
22027 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c"
22028 "\x39\x14\x05\xa0\xf3\x10\xec\x41"
22029 "\xff\x01\x95\x84\x2b\x59\x7f\xdb",
22030 .assoc = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
22031 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
22032 .alen = 16,
22033 .input = "\x2f\xc4\xd8\x0d\xa6\x07\xef\x2e"
22034 "\x6c\xd9\x84\x63\x70\x97\x61\x37"
22035 "\x08\x2f\x16\x90\x9e\x62\x30\x0d"
22036 "\x62\xd5\xc8\xf0\x46\x1a",
22037 .ilen = 30,
22038 .result = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
22039 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
22040 .rlen = 16,
22041 }, {
22042 .key = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
22043 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10"
22044 "\x98\x25\x8d\x03\xb7\x08\x8e\x54"
22045 "\x90\x23\x3d\x67\x4f\xa1\x36\xfc",
22046 .klen = 32,
22047 .iv = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
22048 "\xd5\x07\x58\x59\x72\xd7\xde\x92"
22049 "\x63\xd6\x10\x24\xf8\xb0\x6e\x5a"
22050 "\xc0\x2e\x74\x5d\x06\xb8\x1e\xb2",
22051 .assoc = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
22052 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
22053 .alen = 16,
22054 .input = "\xce\xf3\x17\x87\x49\xc2\x00\x46"
22055 "\xc6\x12\x5c\x8f\x81\x38\xaa\x55"
22056 "\xf8\x67\x75\xf1\x75\xe3\x2a\x24",
22057 .ilen = 24,
22058 .result = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
22059 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
22060 .rlen = 16,
22065 * MORUS-640 test vectors - generated via reference implementation from
22066 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
22068 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
22069 * (see crypto_aead/morus640128v2/)
22071 static const struct aead_testvec morus640_enc_tv_template[] = {
22073 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
22074 "\x00\x00\x00\x00\x00\x00\x00\x00",
22075 .klen = 16,
22076 .iv = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
22077 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
22078 .assoc = "",
22079 .alen = 0,
22080 .input = "",
22081 .ilen = 0,
22082 .result = "\x89\x62\x7d\xf3\x07\x9d\x52\x05"
22083 "\x53\xc3\x04\x60\x93\xb4\x37\x9a",
22084 .rlen = 16,
22085 }, {
22086 .key = "\x3c\x24\x39\x9f\x10\x7b\xa8\x1b"
22087 "\x80\xda\xb2\x91\xf9\x24\xc2\x06",
22088 .klen = 16,
22089 .iv = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
22090 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
22091 .assoc = "",
22092 .alen = 0,
22093 .input = "\x69",
22094 .ilen = 1,
22095 .result = "\xa8\x8d\xe4\x90\xb5\x50\x8f\x78"
22096 "\xb6\x10\x9a\x59\x5f\x61\x37\x70"
22097 "\x09",
22098 .rlen = 17,
22099 }, {
22100 .key = "\x79\x49\x73\x3e\x20\xf7\x51\x37"
22101 "\x01\xb4\x64\x22\xf3\x48\x85\x0c",
22102 .klen = 16,
22103 .iv = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
22104 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
22105 .assoc = "",
22106 .alen = 0,
22107 .input = "\xa6\xa4\x1e\x76\xec\xd4\x50\xcc"
22108 "\x62\x58\xe9\x8f\xef\xa4\x17",
22109 .ilen = 15,
22110 .result = "\x76\xdd\xb9\x05\x3d\xce\x61\x38"
22111 "\xf3\xef\xf7\xe5\xd7\xfd\x70\xa5"
22112 "\xcf\x9d\x64\xb8\x0a\x9f\xfd\x8b"
22113 "\xd4\x6e\xfe\xd9\xc8\x63\x4b",
22114 .rlen = 31,
22115 }, {
22116 .key = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
22117 "\x82\x8e\x16\xb4\xed\x6d\x47\x12",
22118 .klen = 16,
22119 .iv = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
22120 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
22121 .assoc = "",
22122 .alen = 0,
22123 .input = "\xe2\xc9\x58\x15\xfc\x4f\xf8\xe8"
22124 "\xe3\x32\x9b\x21\xe9\xc8\xd9\x97",
22125 .ilen = 16,
22126 .result = "\xdc\x72\xe8\x14\xfb\x63\xad\x72"
22127 "\x1f\x57\x9a\x1f\x88\x81\xdb\xd6"
22128 "\xc1\x91\x9d\xb9\x25\xc4\x99\x4c"
22129 "\x97\xcd\x8a\x0c\x9d\x68\x00\x1c",
22130 .rlen = 32,
22131 }, {
22132 .key = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
22133 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
22134 .klen = 16,
22135 .iv = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
22136 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
22137 .assoc = "",
22138 .alen = 0,
22139 .input = "\x1f\xee\x92\xb4\x0c\xcb\xa1\x04"
22140 "\x64\x0c\x4d\xb2\xe3\xec\x9c\x9d"
22141 "\x09",
22142 .ilen = 17,
22143 .result = "\x6b\x4f\x3b\x90\x9a\xa2\xb3\x82"
22144 "\x0a\xb8\x55\xee\xeb\x73\x4d\x7f"
22145 "\x54\x11\x3a\x8a\x31\xa3\xb5\xf2"
22146 "\xcd\x49\xdb\xf3\xee\x26\xbd\xa2"
22147 "\x0d",
22148 .rlen = 33,
22149 }, {
22150 .key = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
22151 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f",
22152 .klen = 16,
22153 .iv = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
22154 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
22155 .assoc = "",
22156 .alen = 0,
22157 .input = "\x5c\x13\xcb\x54\x1c\x47\x4a\x1f"
22158 "\xe5\xe6\xff\x44\xdd\x11\x5f\xa3"
22159 "\x33\xdd\xc2\xf8\xdd\x18\x2b\x93"
22160 "\x57\x05\x01\x1c\x66\x22\xd3",
22161 .ilen = 31,
22162 .result = "\x59\xd1\x0f\x6b\xee\x27\x84\x92"
22163 "\xb7\xa9\xb5\xdd\x02\xa4\x12\xa5"
22164 "\x50\x32\xb4\x9a\x2e\x35\x83\x55"
22165 "\x36\x12\x12\xed\xa3\x31\xc5\x30"
22166 "\xa7\xe2\x4a\x6d\x05\x59\x43\x91"
22167 "\x75\xfa\x6c\x17\xc6\x73\xca",
22168 .rlen = 47,
22169 }, {
22170 .key = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
22171 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25",
22172 .klen = 16,
22173 .iv = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
22174 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
22175 .assoc = "",
22176 .alen = 0,
22177 .input = "\x98\x37\x05\xf3\x2c\xc2\xf3\x3b"
22178 "\x66\xc0\xb1\xd5\xd7\x35\x21\xaa"
22179 "\x5d\x9f\xce\x7c\xe2\xb8\xad\xad"
22180 "\x19\x33\xe0\xf4\x40\x81\x72\x28",
22181 .ilen = 32,
22182 .result = "\xdb\x49\x68\x0f\x91\x5b\x21\xb1"
22183 "\xcf\x50\xb2\x4c\x32\xe1\xa6\x69"
22184 "\xc0\xfb\x44\x1f\xa0\x9a\xeb\x39"
22185 "\x1b\xde\x68\x38\xcc\x27\x52\xc5"
22186 "\xf6\x3e\x74\xea\x66\x5b\x5f\x0c"
22187 "\x65\x9e\x58\xe6\x52\xa2\xfe\x59",
22188 .rlen = 48,
22189 }, {
22190 .key = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
22191 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b",
22192 .klen = 16,
22193 .iv = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
22194 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
22195 .assoc = "\xc5",
22196 .alen = 1,
22197 .input = "",
22198 .ilen = 0,
22199 .result = "\x56\xe7\x24\x52\xdd\x95\x60\x5b"
22200 "\x09\x48\x39\x69\x9c\xb3\x62\x46",
22201 .rlen = 16,
22202 }, {
22203 .key = "\xe4\x25\xcd\xfa\x80\xdd\x46\xde"
22204 "\x07\xd1\x90\x8b\xcf\x23\x15\x31",
22205 .klen = 16,
22206 .iv = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
22207 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
22208 .assoc = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
22209 "\x47\x3e\xe9\xd4\xcc\xb5\x76",
22210 .alen = 15,
22211 .input = "",
22212 .ilen = 0,
22213 .result = "\xdd\xfa\x6c\x1f\x5d\x86\x87\x01"
22214 "\x13\xe5\x73\x46\x46\xf2\x5c\xe1",
22215 .rlen = 16,
22216 }, {
22217 .key = "\x20\x4a\x07\x99\x91\x58\xee\xfa"
22218 "\x88\xab\x42\x1c\xc9\x47\xd7\x38",
22219 .klen = 16,
22220 .iv = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
22221 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
22222 .assoc = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
22223 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
22224 .alen = 16,
22225 .input = "",
22226 .ilen = 0,
22227 .result = "\xa6\x1b\xb9\xd7\x5e\x3c\xcf\xac"
22228 "\xa9\x21\x45\x0b\x16\x52\xf7\xe1",
22229 .rlen = 16,
22230 }, {
22231 .key = "\x5d\x6f\x41\x39\xa1\xd4\x97\x16"
22232 "\x09\x85\xf4\xae\xc3\x6b\x9a\x3e",
22233 .klen = 16,
22234 .iv = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
22235 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
22236 .assoc = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
22237 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
22238 "\x3c",
22239 .alen = 17,
22240 .input = "",
22241 .ilen = 0,
22242 .result = "\x15\xff\xde\x3b\x34\xfc\xf6\xf9"
22243 "\xbb\xa8\x62\xad\x0a\xf5\x48\x60",
22244 .rlen = 16,
22245 }, {
22246 .key = "\x99\x93\x7a\xd8\xb1\x50\x40\x31"
22247 "\x8a\x60\xa6\x3f\xbd\x90\x5d\x44",
22248 .klen = 16,
22249 .iv = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
22250 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
22251 .assoc = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
22252 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
22253 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
22254 "\xaf\x0b\x02\x38\xcc\x44\xa7",
22255 .alen = 31,
22256 .input = "",
22257 .ilen = 0,
22258 .result = "\xd2\x9d\xf8\x3b\xd7\x84\xe9\x2d"
22259 "\x4b\xef\x75\x16\x0a\x99\xae\x6b",
22260 .rlen = 16,
22261 }, {
22262 .key = "\xd6\xb8\xb4\x77\xc1\xcb\xe9\x4d"
22263 "\x0a\x3a\x58\xd1\xb7\xb4\x1f\x4a",
22264 .klen = 16,
22265 .iv = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
22266 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
22267 .assoc = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
22268 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
22269 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
22270 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a",
22271 .alen = 32,
22272 .input = "",
22273 .ilen = 0,
22274 .result = "\xe4\x8d\xa7\xa7\x45\xc1\x31\x4f"
22275 "\xce\xfb\xaf\xd6\xc2\xe6\xee\xc0",
22276 .rlen = 16,
22277 }, {
22278 .key = "\x12\xdd\xee\x17\xd1\x47\x92\x69"
22279 "\x8b\x14\x0a\x62\xb1\xd9\xe2\x50",
22280 .klen = 16,
22281 .iv = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
22282 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
22283 .assoc = "\x31",
22284 .alen = 1,
22285 .input = "\x40",
22286 .ilen = 1,
22287 .result = "\xe2\x67\x38\x4f\xb9\xad\x7d\x38"
22288 "\x01\xfe\x84\x14\x85\xf8\xd1\xe3"
22289 "\x22",
22290 .rlen = 17,
22291 }, {
22292 .key = "\x4f\x01\x27\xb6\xe1\xc3\x3a\x85"
22293 "\x0c\xee\xbc\xf4\xab\xfd\xa5\x57",
22294 .klen = 16,
22295 .iv = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
22296 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
22297 .assoc = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
22298 "\x4d\x5b\x15\x3c\xa8\x8f\x06",
22299 .alen = 15,
22300 .input = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
22301 "\x6d\x92\x42\x61\xa7\x58\x37",
22302 .ilen = 15,
22303 .result = "\x77\x32\x61\xeb\xb4\x33\x29\x92"
22304 "\x29\x95\xc5\x8e\x85\x76\xab\xfc"
22305 "\x07\x95\xa7\x44\x74\xf7\x22\xff"
22306 "\xd8\xd8\x36\x3d\x8a\x7f\x9e",
22307 .rlen = 31,
22308 }, {
22309 .key = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
22310 "\x8d\xc8\x6e\x85\xa5\x21\x67\x5d",
22311 .klen = 16,
22312 .iv = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
22313 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
22314 .assoc = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
22315 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
22316 .alen = 16,
22317 .input = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
22318 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
22319 .ilen = 16,
22320 .result = "\xd8\xfd\x44\x45\xf6\x42\x12\x38"
22321 "\xf2\x0b\xea\x4f\x9e\x11\x61\x07"
22322 "\x48\x67\x98\x18\x9b\xd0\x0c\x59"
22323 "\x67\xa4\x11\xb3\x2b\xd6\xc1\x70",
22324 .rlen = 32,
22325 }, {
22326 .key = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
22327 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
22328 .klen = 16,
22329 .iv = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
22330 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
22331 .assoc = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
22332 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
22333 "\x3b",
22334 .alen = 17,
22335 .input = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
22336 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
22337 "\x05",
22338 .ilen = 17,
22339 .result = "\xb1\xab\x53\x4e\xc7\x40\x16\xb6"
22340 "\x71\x3a\x00\x9f\x41\x88\xb0\xb2"
22341 "\x71\x83\x85\x5f\xc8\x79\x0a\x99"
22342 "\x99\xdc\x89\x1c\x88\xd2\x3e\xf9"
22343 "\x83",
22344 .rlen = 33,
22345 }, {
22346 .key = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
22347 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69",
22348 .klen = 16,
22349 .iv = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
22350 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
22351 .assoc = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
22352 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
22353 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
22354 "\x38\x1d\x3b\x4a\xe9\x7e\x62",
22355 .alen = 31,
22356 .input = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
22357 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
22358 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
22359 "\x68\x28\x73\x40\x9f\x96\x4a",
22360 .ilen = 31,
22361 .result = "\x29\xc4\xf0\x03\xc1\x86\xdf\x06"
22362 "\x5c\x7b\xef\x64\x87\x00\xd1\x37"
22363 "\xa7\x08\xbc\x7f\x8f\x41\x54\xd0"
22364 "\x3e\xf1\xc3\xa2\x96\x84\xdd\x2a"
22365 "\x2d\x21\x30\xf9\x02\xdb\x06\x0c"
22366 "\xf1\x5a\x66\x69\xe0\xca\x83",
22367 .rlen = 47,
22368 }, {
22369 .key = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
22370 "\x10\x57\x85\x39\x93\x8f\xaf\x70",
22371 .klen = 16,
22372 .iv = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
22373 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
22374 .assoc = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
22375 "\x50\xc4\xde\x82\x90\x21\x11\x73"
22376 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
22377 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81",
22378 .alen = 32,
22379 .input = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
22380 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
22381 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
22382 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
22383 .ilen = 32,
22384 .result = "\xe2\x2e\x44\xdf\xd3\x60\x6d\xb2"
22385 "\x70\x57\x37\xc5\xc2\x4f\x8d\x14"
22386 "\xc6\xbf\x8b\xec\xf5\x62\x67\xf2"
22387 "\x2f\xa1\xe6\xd6\xa7\xb1\x8c\x54"
22388 "\xe5\x6b\x49\xf9\x6e\x90\xc3\xaa"
22389 "\x7a\x00\x2e\x4d\x7f\x31\x2e\x81",
22390 .rlen = 48,
22391 }, {
22392 .key = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
22393 "\x91\x31\x37\xcb\x8d\xb3\x72\x76",
22394 .klen = 16,
22395 .iv = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
22396 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
22397 .assoc = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
22398 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
22399 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
22400 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58"
22401 "\x1a",
22402 .alen = 33,
22403 .input = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
22404 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
22405 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
22406 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
22407 "\x9d\x4d\x54\x51\x84\x61\xf6\x8e"
22408 "\x03\x31\xf2\x25\x16\xcc\xaa\xc6"
22409 "\x75\x73\x20\x30\x59\x54\xb2\xf0"
22410 "\x3a\x4b\xe0\x23\x8e\xa6\x08\x35"
22411 "\x8a",
22412 .ilen = 65,
22413 .result = "\xc7\xca\x26\x61\x57\xee\xa2\xb9"
22414 "\xb1\x37\xde\x95\x06\x90\x11\x08"
22415 "\x4d\x30\x9f\x24\xc0\x56\xb7\xe1"
22416 "\x0b\x9f\xd2\x57\xe9\xd2\xb1\x76"
22417 "\x56\x9a\xb4\x58\xc5\x08\xfc\xb5"
22418 "\xf2\x31\x9b\xc9\xcd\xb3\x64\xdb"
22419 "\x6f\x50\xbf\xf4\x73\x9d\xfb\x6b"
22420 "\xef\x35\x25\x48\xed\xcf\x29\xa8"
22421 "\xac\xc3\xb9\xcb\x61\x8f\x73\x92"
22422 "\x2c\x7a\x6f\xda\xf9\x09\x6f\xe1"
22423 "\xc4",
22424 .rlen = 81,
22425 }, {
22426 .key = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
22427 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c",
22428 .klen = 16,
22429 .iv = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
22430 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
22431 .assoc = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
22432 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
22433 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
22434 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e"
22435 "\x28\xce\x57\x34\xcd\x6e\x84\x4c"
22436 "\x17\x3c\xe1\xb2\xa8\x0b\xbb\xf1"
22437 "\x96\x41\x0d\x69\xe8\x54\x0a\xc8"
22438 "\x15\x4e\x91\x92\x89\x4b\xb7\x9b"
22439 "\x21",
22440 .alen = 65,
22441 .input = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
22442 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
22443 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
22444 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
22445 "\xac",
22446 .ilen = 33,
22447 .result = "\x57\xcd\x3d\x46\xc5\xf9\x68\x3b"
22448 "\x2c\x0f\xb4\x7e\x7b\x64\x3e\x40"
22449 "\xf3\x78\x63\x34\x89\x79\x39\x6b"
22450 "\x61\x64\x4a\x9a\xfa\x70\xa4\xd3"
22451 "\x54\x0b\xea\x05\xa6\x95\x64\xed"
22452 "\x3d\x69\xa2\x0c\x27\x56\x2f\x34"
22453 "\x66",
22454 .rlen = 49,
22455 }, {
22456 .key = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
22457 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82",
22458 .klen = 16,
22459 .iv = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
22460 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
22461 .assoc = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
22462 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
22463 .alen = 16,
22464 .input = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
22465 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
22466 .ilen = 16,
22467 .result = "\xfc\x85\x06\x28\x8f\xe8\x23\x1f"
22468 "\x33\x98\x87\xde\x08\xb6\xb6\xae"
22469 "\x3e\xa4\xf8\x19\xf1\x92\x60\x39"
22470 "\xb9\x6b\x3f\xdf\xc8\xcb\x30",
22471 .rlen = 31,
22472 }, {
22473 .key = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
22474 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
22475 .klen = 16,
22476 .iv = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
22477 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
22478 .assoc = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
22479 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
22480 .alen = 16,
22481 .input = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
22482 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
22483 .ilen = 16,
22484 .result = "\x74\x7d\x70\x07\xe9\xba\x01\xee"
22485 "\x6c\xc6\x6f\x50\x25\x33\xbe\x50"
22486 "\x17\xb8\x17\x62\xed\x80\xa2\xf5"
22487 "\x03\xde\x85\x71\x5d\x34",
22488 .rlen = 30,
22489 }, {
22490 .key = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
22491 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
22492 .klen = 16,
22493 .iv = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
22494 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
22495 .assoc = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
22496 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
22497 .alen = 16,
22498 .input = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
22499 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
22500 .ilen = 16,
22501 .result = "\xf4\xb3\x85\xf9\xac\xde\xb1\x38"
22502 "\x29\xfd\x6c\x7c\x49\xe5\x1d\xaf"
22503 "\xba\xea\xd4\xfa\x3f\x11\x33\x98",
22504 .rlen = 24,
22505 }, {
22506 .key = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
22507 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
22508 .klen = 16,
22509 .iv = "\xbb\x3a\xf7\x57\xc6\x36\x7c\x22"
22510 "\x36\xab\xde\xc6\x6d\x32\x70\x17",
22511 .assoc = "\xcb\x03\x85\xbf\x0a\xd5\x26\xa9"
22512 "\x56\xe1\x0a\xeb\x6c\xfb\xa1\x98",
22513 .alen = 16,
22514 .input = "\xda\xcc\x14\x27\x4e\x74\xd1\x30"
22515 "\x76\x18\x37\x0f\x6a\xc4\xd1\x1a",
22516 .ilen = 16,
22517 .result = "\xe6\x5c\x49\x4f\x78\xf3\x62\x86"
22518 "\xe1\xb7\xa5\xc3\x32\x88\x3c\x8c"
22519 "\x6e",
22520 .rlen = 17,
22524 static const struct aead_testvec morus640_dec_tv_template[] = {
22526 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
22527 "\x00\x00\x00\x00\x00\x00\x00\x00",
22528 .klen = 16,
22529 .iv = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
22530 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
22531 .assoc = "",
22532 .alen = 0,
22533 .input = "\x89\x62\x7d\xf3\x07\x9d\x52\x05"
22534 "\x53\xc3\x04\x60\x93\xb4\x37\x9a",
22535 .ilen = 16,
22536 .result = "",
22537 .rlen = 0,
22538 }, {
22539 .key = "\x3c\x24\x39\x9f\x10\x7b\xa8\x1b"
22540 "\x80\xda\xb2\x91\xf9\x24\xc2\x06",
22541 .klen = 16,
22542 .iv = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
22543 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
22544 .assoc = "",
22545 .alen = 0,
22546 .input = "\xa8\x8d\xe4\x90\xb5\x50\x8f\x78"
22547 "\xb6\x10\x9a\x59\x5f\x61\x37\x70"
22548 "\x09",
22549 .ilen = 17,
22550 .result = "\x69",
22551 .rlen = 1,
22552 }, {
22553 .key = "\x79\x49\x73\x3e\x20\xf7\x51\x37"
22554 "\x01\xb4\x64\x22\xf3\x48\x85\x0c",
22555 .klen = 16,
22556 .iv = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
22557 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
22558 .assoc = "",
22559 .alen = 0,
22560 .input = "\x76\xdd\xb9\x05\x3d\xce\x61\x38"
22561 "\xf3\xef\xf7\xe5\xd7\xfd\x70\xa5"
22562 "\xcf\x9d\x64\xb8\x0a\x9f\xfd\x8b"
22563 "\xd4\x6e\xfe\xd9\xc8\x63\x4b",
22564 .ilen = 31,
22565 .result = "\xa6\xa4\x1e\x76\xec\xd4\x50\xcc"
22566 "\x62\x58\xe9\x8f\xef\xa4\x17",
22567 .rlen = 15,
22568 }, {
22569 .key = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
22570 "\x82\x8e\x16\xb4\xed\x6d\x47\x12",
22571 .klen = 16,
22572 .iv = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
22573 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
22574 .assoc = "",
22575 .alen = 0,
22576 .input = "\xdc\x72\xe8\x14\xfb\x63\xad\x72"
22577 "\x1f\x57\x9a\x1f\x88\x81\xdb\xd6"
22578 "\xc1\x91\x9d\xb9\x25\xc4\x99\x4c"
22579 "\x97\xcd\x8a\x0c\x9d\x68\x00\x1c",
22580 .ilen = 32,
22581 .result = "\xe2\xc9\x58\x15\xfc\x4f\xf8\xe8"
22582 "\xe3\x32\x9b\x21\xe9\xc8\xd9\x97",
22583 .rlen = 16,
22584 }, {
22585 .key = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
22586 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
22587 .klen = 16,
22588 .iv = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
22589 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
22590 .assoc = "",
22591 .alen = 0,
22592 .input = "\x6b\x4f\x3b\x90\x9a\xa2\xb3\x82"
22593 "\x0a\xb8\x55\xee\xeb\x73\x4d\x7f"
22594 "\x54\x11\x3a\x8a\x31\xa3\xb5\xf2"
22595 "\xcd\x49\xdb\xf3\xee\x26\xbd\xa2"
22596 "\x0d",
22597 .ilen = 33,
22598 .result = "\x1f\xee\x92\xb4\x0c\xcb\xa1\x04"
22599 "\x64\x0c\x4d\xb2\xe3\xec\x9c\x9d"
22600 "\x09",
22601 .rlen = 17,
22602 }, {
22603 .key = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
22604 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f",
22605 .klen = 16,
22606 .iv = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
22607 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
22608 .assoc = "",
22609 .alen = 0,
22610 .input = "\x59\xd1\x0f\x6b\xee\x27\x84\x92"
22611 "\xb7\xa9\xb5\xdd\x02\xa4\x12\xa5"
22612 "\x50\x32\xb4\x9a\x2e\x35\x83\x55"
22613 "\x36\x12\x12\xed\xa3\x31\xc5\x30"
22614 "\xa7\xe2\x4a\x6d\x05\x59\x43\x91"
22615 "\x75\xfa\x6c\x17\xc6\x73\xca",
22616 .ilen = 47,
22617 .result = "\x5c\x13\xcb\x54\x1c\x47\x4a\x1f"
22618 "\xe5\xe6\xff\x44\xdd\x11\x5f\xa3"
22619 "\x33\xdd\xc2\xf8\xdd\x18\x2b\x93"
22620 "\x57\x05\x01\x1c\x66\x22\xd3",
22621 .rlen = 31,
22622 }, {
22623 .key = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
22624 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25",
22625 .klen = 16,
22626 .iv = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
22627 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
22628 .assoc = "",
22629 .alen = 0,
22630 .input = "\xdb\x49\x68\x0f\x91\x5b\x21\xb1"
22631 "\xcf\x50\xb2\x4c\x32\xe1\xa6\x69"
22632 "\xc0\xfb\x44\x1f\xa0\x9a\xeb\x39"
22633 "\x1b\xde\x68\x38\xcc\x27\x52\xc5"
22634 "\xf6\x3e\x74\xea\x66\x5b\x5f\x0c"
22635 "\x65\x9e\x58\xe6\x52\xa2\xfe\x59",
22636 .ilen = 48,
22637 .result = "\x98\x37\x05\xf3\x2c\xc2\xf3\x3b"
22638 "\x66\xc0\xb1\xd5\xd7\x35\x21\xaa"
22639 "\x5d\x9f\xce\x7c\xe2\xb8\xad\xad"
22640 "\x19\x33\xe0\xf4\x40\x81\x72\x28",
22641 .rlen = 32,
22642 }, {
22643 .key = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
22644 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b",
22645 .klen = 16,
22646 .iv = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
22647 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
22648 .assoc = "\xc5",
22649 .alen = 1,
22650 .input = "\x56\xe7\x24\x52\xdd\x95\x60\x5b"
22651 "\x09\x48\x39\x69\x9c\xb3\x62\x46",
22652 .ilen = 16,
22653 .result = "",
22654 .rlen = 0,
22655 }, {
22656 .key = "\xe4\x25\xcd\xfa\x80\xdd\x46\xde"
22657 "\x07\xd1\x90\x8b\xcf\x23\x15\x31",
22658 .klen = 16,
22659 .iv = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
22660 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
22661 .assoc = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
22662 "\x47\x3e\xe9\xd4\xcc\xb5\x76",
22663 .alen = 15,
22664 .input = "\xdd\xfa\x6c\x1f\x5d\x86\x87\x01"
22665 "\x13\xe5\x73\x46\x46\xf2\x5c\xe1",
22666 .ilen = 16,
22667 .result = "",
22668 .rlen = 0,
22669 }, {
22670 .key = "\x20\x4a\x07\x99\x91\x58\xee\xfa"
22671 "\x88\xab\x42\x1c\xc9\x47\xd7\x38",
22672 .klen = 16,
22673 .iv = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
22674 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
22675 .assoc = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
22676 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b",
22677 .alen = 16,
22678 .input = "\xa6\x1b\xb9\xd7\x5e\x3c\xcf\xac"
22679 "\xa9\x21\x45\x0b\x16\x52\xf7\xe1",
22680 .ilen = 16,
22681 .result = "",
22682 .rlen = 0,
22683 }, {
22684 .key = "\x5d\x6f\x41\x39\xa1\xd4\x97\x16"
22685 "\x09\x85\xf4\xae\xc3\x6b\x9a\x3e",
22686 .klen = 16,
22687 .iv = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
22688 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
22689 .assoc = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
22690 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
22691 "\x3c",
22692 .alen = 17,
22693 .input = "\x15\xff\xde\x3b\x34\xfc\xf6\xf9"
22694 "\xbb\xa8\x62\xad\x0a\xf5\x48\x60",
22695 .ilen = 16,
22696 .result = "",
22697 .rlen = 0,
22698 }, {
22699 .key = "\x99\x93\x7a\xd8\xb1\x50\x40\x31"
22700 "\x8a\x60\xa6\x3f\xbd\x90\x5d\x44",
22701 .klen = 16,
22702 .iv = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
22703 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
22704 .assoc = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
22705 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
22706 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
22707 "\xaf\x0b\x02\x38\xcc\x44\xa7",
22708 .alen = 31,
22709 .input = "\xd2\x9d\xf8\x3b\xd7\x84\xe9\x2d"
22710 "\x4b\xef\x75\x16\x0a\x99\xae\x6b",
22711 .ilen = 16,
22712 .result = "",
22713 .rlen = 0,
22714 }, {
22715 .key = "\xd6\xb8\xb4\x77\xc1\xcb\xe9\x4d"
22716 "\x0a\x3a\x58\xd1\xb7\xb4\x1f\x4a",
22717 .klen = 16,
22718 .iv = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
22719 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
22720 .assoc = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
22721 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
22722 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
22723 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a",
22724 .alen = 32,
22725 .input = "\xe4\x8d\xa7\xa7\x45\xc1\x31\x4f"
22726 "\xce\xfb\xaf\xd6\xc2\xe6\xee\xc0",
22727 .ilen = 16,
22728 .result = "",
22729 .rlen = 0,
22730 }, {
22731 .key = "\x12\xdd\xee\x17\xd1\x47\x92\x69"
22732 "\x8b\x14\x0a\x62\xb1\xd9\xe2\x50",
22733 .klen = 16,
22734 .iv = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
22735 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
22736 .assoc = "\x31",
22737 .alen = 1,
22738 .input = "\xe2\x67\x38\x4f\xb9\xad\x7d\x38"
22739 "\x01\xfe\x84\x14\x85\xf8\xd1\xe3"
22740 "\x22",
22741 .ilen = 17,
22742 .result = "\x40",
22743 .rlen = 1,
22744 }, {
22745 .key = "\x4f\x01\x27\xb6\xe1\xc3\x3a\x85"
22746 "\x0c\xee\xbc\xf4\xab\xfd\xa5\x57",
22747 .klen = 16,
22748 .iv = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
22749 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
22750 .assoc = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
22751 "\x4d\x5b\x15\x3c\xa8\x8f\x06",
22752 .alen = 15,
22753 .input = "\x77\x32\x61\xeb\xb4\x33\x29\x92"
22754 "\x29\x95\xc5\x8e\x85\x76\xab\xfc"
22755 "\x07\x95\xa7\x44\x74\xf7\x22\xff"
22756 "\xd8\xd8\x36\x3d\x8a\x7f\x9e",
22757 .ilen = 31,
22758 .result = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
22759 "\x6d\x92\x42\x61\xa7\x58\x37",
22760 .rlen = 15,
22761 }, {
22762 .key = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
22763 "\x8d\xc8\x6e\x85\xa5\x21\x67\x5d",
22764 .klen = 16,
22765 .iv = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
22766 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
22767 .assoc = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
22768 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60",
22769 .alen = 16,
22770 .input = "\xd8\xfd\x44\x45\xf6\x42\x12\x38"
22771 "\xf2\x0b\xea\x4f\x9e\x11\x61\x07"
22772 "\x48\x67\x98\x18\x9b\xd0\x0c\x59"
22773 "\x67\xa4\x11\xb3\x2b\xd6\xc1\x70",
22774 .ilen = 32,
22775 .result = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
22776 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2",
22777 .rlen = 16,
22778 }, {
22779 .key = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
22780 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
22781 .klen = 16,
22782 .iv = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
22783 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
22784 .assoc = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
22785 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
22786 "\x3b",
22787 .alen = 17,
22788 .input = "\xb1\xab\x53\x4e\xc7\x40\x16\xb6"
22789 "\x71\x3a\x00\x9f\x41\x88\xb0\xb2"
22790 "\x71\x83\x85\x5f\xc8\x79\x0a\x99"
22791 "\x99\xdc\x89\x1c\x88\xd2\x3e\xf9"
22792 "\x83",
22793 .ilen = 33,
22794 .result = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
22795 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
22796 "\x05",
22797 .rlen = 17,
22798 }, {
22799 .key = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
22800 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69",
22801 .klen = 16,
22802 .iv = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
22803 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
22804 .assoc = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
22805 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
22806 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
22807 "\x38\x1d\x3b\x4a\xe9\x7e\x62",
22808 .alen = 31,
22809 .input = "\x29\xc4\xf0\x03\xc1\x86\xdf\x06"
22810 "\x5c\x7b\xef\x64\x87\x00\xd1\x37"
22811 "\xa7\x08\xbc\x7f\x8f\x41\x54\xd0"
22812 "\x3e\xf1\xc3\xa2\x96\x84\xdd\x2a"
22813 "\x2d\x21\x30\xf9\x02\xdb\x06\x0c"
22814 "\xf1\x5a\x66\x69\xe0\xca\x83",
22815 .ilen = 47,
22816 .result = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
22817 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
22818 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
22819 "\x68\x28\x73\x40\x9f\x96\x4a",
22820 .rlen = 31,
22821 }, {
22822 .key = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
22823 "\x10\x57\x85\x39\x93\x8f\xaf\x70",
22824 .klen = 16,
22825 .iv = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
22826 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
22827 .assoc = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
22828 "\x50\xc4\xde\x82\x90\x21\x11\x73"
22829 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
22830 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81",
22831 .alen = 32,
22832 .input = "\xe2\x2e\x44\xdf\xd3\x60\x6d\xb2"
22833 "\x70\x57\x37\xc5\xc2\x4f\x8d\x14"
22834 "\xc6\xbf\x8b\xec\xf5\x62\x67\xf2"
22835 "\x2f\xa1\xe6\xd6\xa7\xb1\x8c\x54"
22836 "\xe5\x6b\x49\xf9\x6e\x90\xc3\xaa"
22837 "\x7a\x00\x2e\x4d\x7f\x31\x2e\x81",
22838 .ilen = 48,
22839 .result = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
22840 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
22841 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
22842 "\x29\x56\x52\x19\x79\xf5\xe9\x37",
22843 .rlen = 32,
22844 }, {
22845 .key = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
22846 "\x91\x31\x37\xcb\x8d\xb3\x72\x76",
22847 .klen = 16,
22848 .iv = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
22849 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
22850 .assoc = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
22851 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
22852 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
22853 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58"
22854 "\x1a",
22855 .alen = 33,
22856 .input = "\xc7\xca\x26\x61\x57\xee\xa2\xb9"
22857 "\xb1\x37\xde\x95\x06\x90\x11\x08"
22858 "\x4d\x30\x9f\x24\xc0\x56\xb7\xe1"
22859 "\x0b\x9f\xd2\x57\xe9\xd2\xb1\x76"
22860 "\x56\x9a\xb4\x58\xc5\x08\xfc\xb5"
22861 "\xf2\x31\x9b\xc9\xcd\xb3\x64\xdb"
22862 "\x6f\x50\xbf\xf4\x73\x9d\xfb\x6b"
22863 "\xef\x35\x25\x48\xed\xcf\x29\xa8"
22864 "\xac\xc3\xb9\xcb\x61\x8f\x73\x92"
22865 "\x2c\x7a\x6f\xda\xf9\x09\x6f\xe1"
22866 "\xc4",
22867 .ilen = 81,
22868 .result = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
22869 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
22870 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
22871 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
22872 "\x9d\x4d\x54\x51\x84\x61\xf6\x8e"
22873 "\x03\x31\xf2\x25\x16\xcc\xaa\xc6"
22874 "\x75\x73\x20\x30\x59\x54\xb2\xf0"
22875 "\x3a\x4b\xe0\x23\x8e\xa6\x08\x35"
22876 "\x8a",
22877 .rlen = 65,
22878 }, {
22879 .key = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
22880 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c",
22881 .klen = 16,
22882 .iv = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
22883 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
22884 .assoc = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
22885 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
22886 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
22887 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e"
22888 "\x28\xce\x57\x34\xcd\x6e\x84\x4c"
22889 "\x17\x3c\xe1\xb2\xa8\x0b\xbb\xf1"
22890 "\x96\x41\x0d\x69\xe8\x54\x0a\xc8"
22891 "\x15\x4e\x91\x92\x89\x4b\xb7\x9b"
22892 "\x21",
22893 .alen = 65,
22894 .input = "\x57\xcd\x3d\x46\xc5\xf9\x68\x3b"
22895 "\x2c\x0f\xb4\x7e\x7b\x64\x3e\x40"
22896 "\xf3\x78\x63\x34\x89\x79\x39\x6b"
22897 "\x61\x64\x4a\x9a\xfa\x70\xa4\xd3"
22898 "\x54\x0b\xea\x05\xa6\x95\x64\xed"
22899 "\x3d\x69\xa2\x0c\x27\x56\x2f\x34"
22900 "\x66",
22901 .ilen = 49,
22902 .result = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
22903 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
22904 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
22905 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
22906 "\xac",
22907 .rlen = 33,
22908 }, {
22909 .key = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
22910 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82",
22911 .klen = 16,
22912 .iv = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
22913 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
22914 .assoc = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
22915 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85",
22916 .alen = 16,
22917 .input = "\xfc\x85\x06\x28\x8f\xe8\x23\x1f"
22918 "\x33\x98\x87\xde\x08\xb6\xb6\xae"
22919 "\x3e\xa4\xf8\x19\xf1\x92\x60\x39"
22920 "\xb9\x6b\x3f\xdf\xc8\xcb\x30",
22921 .ilen = 31,
22922 .result = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
22923 "\xf3\x89\x20\x5b\x7c\x57\x89\x07",
22924 .rlen = 16,
22925 }, {
22926 .key = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
22927 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
22928 .klen = 16,
22929 .iv = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
22930 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
22931 .assoc = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
22932 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c",
22933 .alen = 16,
22934 .input = "\x74\x7d\x70\x07\xe9\xba\x01\xee"
22935 "\x6c\xc6\x6f\x50\x25\x33\xbe\x50"
22936 "\x17\xb8\x17\x62\xed\x80\xa2\xf5"
22937 "\x03\xde\x85\x71\x5d\x34",
22938 .ilen = 30,
22939 .result = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
22940 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d",
22941 .rlen = 16,
22942 }, {
22943 .key = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
22944 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
22945 .klen = 16,
22946 .iv = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
22947 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
22948 .assoc = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
22949 "\xd5\x07\x58\x59\x72\xd7\xde\x92",
22950 .alen = 16,
22951 .input = "\xf4\xb3\x85\xf9\xac\xde\xb1\x38"
22952 "\x29\xfd\x6c\x7c\x49\xe5\x1d\xaf"
22953 "\xba\xea\xd4\xfa\x3f\x11\x33\x98",
22954 .ilen = 24,
22955 .result = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
22956 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13",
22957 .rlen = 16,
22958 }, {
22959 .key = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
22960 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
22961 .klen = 16,
22962 .iv = "\xbb\x3a\xf7\x57\xc6\x36\x7c\x22"
22963 "\x36\xab\xde\xc6\x6d\x32\x70\x17",
22964 .assoc = "\xcb\x03\x85\xbf\x0a\xd5\x26\xa9"
22965 "\x56\xe1\x0a\xeb\x6c\xfb\xa1\x98",
22966 .alen = 16,
22967 .input = "\xe6\x5c\x49\x4f\x78\xf3\x62\x86"
22968 "\xe1\xb7\xa5\xc3\x32\x88\x3c\x8c"
22969 "\x6e",
22970 .ilen = 17,
22971 .result = "\xda\xcc\x14\x27\x4e\x74\xd1\x30"
22972 "\x76\x18\x37\x0f\x6a\xc4\xd1\x1a",
22973 .rlen = 16,
22978 * MORUS-1280 test vectors - generated via reference implementation from
22979 * SUPERCOP (https://bench.cr.yp.to/supercop.html):
22981 * https://bench.cr.yp.to/supercop/supercop-20170228.tar.xz
22982 * (see crypto_aead/morus1280128v2/ and crypto_aead/morus1280256v2/ )
22984 static const struct aead_testvec morus1280_enc_tv_template[] = {
22986 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
22987 "\x00\x00\x00\x00\x00\x00\x00\x00",
22988 .klen = 16,
22989 .iv = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
22990 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
22991 .assoc = "",
22992 .alen = 0,
22993 .input = "",
22994 .ilen = 0,
22995 .result = "\x91\x85\x0f\xf5\x52\x9e\xce\xce"
22996 "\x65\x99\xc7\xbf\xd3\x76\xe8\x98",
22997 .rlen = 16,
22998 }, {
22999 .key = "\x3c\x24\x39\x9f\x10\x7b\xa8\x1b"
23000 "\x80\xda\xb2\x91\xf9\x24\xc2\x06",
23001 .klen = 16,
23002 .iv = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
23003 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
23004 .assoc = "",
23005 .alen = 0,
23006 .input = "\x69",
23007 .ilen = 1,
23008 .result = "\x88\xc3\x4c\xf0\x2f\x43\x76\x13"
23009 "\x96\xda\x76\x34\x33\x4e\xd5\x39"
23010 "\x73",
23011 .rlen = 17,
23012 }, {
23013 .key = "\x79\x49\x73\x3e\x20\xf7\x51\x37"
23014 "\x01\xb4\x64\x22\xf3\x48\x85\x0c",
23015 .klen = 16,
23016 .iv = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
23017 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
23018 .assoc = "",
23019 .alen = 0,
23020 .input = "\xa6\xa4\x1e\x76\xec\xd4\x50\xcc"
23021 "\x62\x58\xe9\x8f\xef\xa4\x17\x91"
23022 "\xb4\x96\x9f\x6b\xce\x38\xa5\x46"
23023 "\x13\x7d\x64\x93\xd7\x05\xf5",
23024 .ilen = 31,
23025 .result = "\x3e\x5c\x3b\x58\x3b\x7d\x2a\x22"
23026 "\x75\x0b\x24\xa6\x0e\xc3\xde\x52"
23027 "\x97\x0b\x64\xd4\xce\x90\x52\xf7"
23028 "\xef\xdb\x6a\x38\xd2\xa8\xa1\x0d"
23029 "\xe0\x61\x33\x24\xc6\x4d\x51\xbc"
23030 "\xa4\x21\x74\xcf\x19\x16\x59",
23031 .rlen = 47,
23032 }, {
23033 .key = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
23034 "\x82\x8e\x16\xb4\xed\x6d\x47\x12",
23035 .klen = 16,
23036 .iv = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
23037 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
23038 .assoc = "",
23039 .alen = 0,
23040 .input = "\xe2\xc9\x58\x15\xfc\x4f\xf8\xe8"
23041 "\xe3\x32\x9b\x21\xe9\xc8\xd9\x97"
23042 "\xde\x58\xab\xf0\xd3\xd8\x27\x60"
23043 "\xd5\xaa\x43\x6b\xb1\x64\x95\xa4",
23044 .ilen = 32,
23045 .result = "\x30\x82\x9c\x2b\x67\xcb\xf9\x1f"
23046 "\xde\x9f\x77\xb2\xda\x92\x61\x5c"
23047 "\x09\x0b\x2d\x9a\x26\xaa\x1c\x06"
23048 "\xab\x74\xb7\x2b\x95\x5f\x9f\xa1"
23049 "\x9a\xff\x50\xa0\xa2\xff\xc5\xad"
23050 "\x21\x8e\x84\x5c\x12\x61\xb2\xae",
23051 .rlen = 48,
23052 }, {
23053 .key = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
23054 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
23055 .klen = 16,
23056 .iv = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
23057 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
23058 .assoc = "",
23059 .alen = 0,
23060 .input = "\x1f\xee\x92\xb4\x0c\xcb\xa1\x04"
23061 "\x64\x0c\x4d\xb2\xe3\xec\x9c\x9d"
23062 "\x09\x1a\xb7\x74\xd8\x78\xa9\x79"
23063 "\x96\xd8\x22\x43\x8c\xc3\x34\x7b"
23064 "\xc4",
23065 .ilen = 33,
23066 .result = "\x67\x5d\x8e\x45\xc8\x39\xf5\x17"
23067 "\xc1\x1d\x2a\xdd\x88\x67\xda\x1f"
23068 "\x6d\xe8\x37\x28\x5a\xc1\x5e\x9f"
23069 "\xa6\xec\xc6\x92\x05\x4b\xc0\xa3"
23070 "\x63\xef\x88\xa4\x9b\x0a\x5c\xed"
23071 "\x2b\x6a\xac\x63\x52\xaa\x10\x94"
23072 "\xd0",
23073 .rlen = 49,
23074 }, {
23075 .key = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
23076 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f",
23077 .klen = 16,
23078 .iv = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
23079 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
23080 .assoc = "",
23081 .alen = 0,
23082 .input = "\x5c\x13\xcb\x54\x1c\x47\x4a\x1f"
23083 "\xe5\xe6\xff\x44\xdd\x11\x5f\xa3"
23084 "\x33\xdd\xc2\xf8\xdd\x18\x2b\x93"
23085 "\x57\x05\x01\x1c\x66\x22\xd3\x51"
23086 "\xd3\xdf\x18\xc9\x30\x66\xed\xb1"
23087 "\x96\x58\xd5\x8c\x64\x8c\x7c\xf5"
23088 "\x01\xd0\x74\x5f\x9b\xaa\xf6\xd1"
23089 "\xe6\x16\xa2\xac\xde\x47\x40",
23090 .ilen = 63,
23091 .result = "\x7d\x61\x1a\x35\x20\xcc\x07\x88"
23092 "\x03\x98\x87\xcf\xc0\x6e\x4d\x19"
23093 "\xe3\xd4\x0b\xfb\x29\x8f\x49\x1a"
23094 "\x3a\x06\x77\xce\x71\x2c\xcd\xdd"
23095 "\xed\xf6\xc9\xbe\xa6\x3b\xb8\xfc"
23096 "\x6c\xbe\x77\xed\x74\x0e\x20\x85"
23097 "\xd0\x65\xde\x24\x6f\xe3\x25\xc5"
23098 "\xdf\x5b\x0f\xbd\x8a\x88\x78\xc9"
23099 "\xe5\x81\x37\xde\x84\x7a\xf6\x84"
23100 "\x99\x7a\x72\x9c\x54\x31\xa1",
23101 .rlen = 79,
23102 }, {
23103 .key = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
23104 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25",
23105 .klen = 16,
23106 .iv = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
23107 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
23108 .assoc = "",
23109 .alen = 0,
23110 .input = "\x98\x37\x05\xf3\x2c\xc2\xf3\x3b"
23111 "\x66\xc0\xb1\xd5\xd7\x35\x21\xaa"
23112 "\x5d\x9f\xce\x7c\xe2\xb8\xad\xad"
23113 "\x19\x33\xe0\xf4\x40\x81\x72\x28"
23114 "\xe1\x8b\x1c\xf8\x91\x78\xff\xaf"
23115 "\xb0\x68\x69\xf2\x27\x35\x91\x84"
23116 "\x2e\x37\x5b\x00\x04\xff\x16\x9c"
23117 "\xb5\x19\x39\xeb\xd9\xcd\x29\x9a",
23118 .ilen = 64,
23119 .result = "\x05\xc5\xb1\xf9\x1b\xb9\xab\x2c"
23120 "\xa5\x07\x12\xa7\x12\x39\x60\x66"
23121 "\x30\x81\x4a\x03\x78\x28\x45\x52"
23122 "\xd2\x2b\x24\xfd\x8b\xa5\xb7\x66"
23123 "\x6f\x45\xd7\x3b\x67\x6f\x51\xb9"
23124 "\xc0\x3d\x6c\xca\x1e\xae\xff\xb6"
23125 "\x79\xa9\xe4\x82\x5d\x4c\x2d\xdf"
23126 "\xeb\x71\x40\xc9\x2c\x40\x45\x6d"
23127 "\x73\x77\x01\xf3\x4f\xf3\x9d\x2a"
23128 "\x5d\x57\xa8\xa1\x18\xa2\xad\xcb",
23129 .rlen = 80,
23130 }, {
23131 .key = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
23132 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b",
23133 .klen = 16,
23134 .iv = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
23135 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
23136 .assoc = "\xc5",
23137 .alen = 1,
23138 .input = "",
23139 .ilen = 0,
23140 .result = "\x4d\xbf\x11\xac\x7f\x97\x0b\x2e"
23141 "\x89\x3b\x9d\x0f\x83\x1c\x08\xc3",
23142 .rlen = 16,
23143 }, {
23144 .key = "\xe4\x25\xcd\xfa\x80\xdd\x46\xde"
23145 "\x07\xd1\x90\x8b\xcf\x23\x15\x31",
23146 .klen = 16,
23147 .iv = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
23148 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
23149 .assoc = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
23150 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34"
23151 "\xe8\x73\x62\x64\xab\x50\xd0\xda"
23152 "\x6b\x83\x66\xaf\x3e\x27\xc9",
23153 .alen = 31,
23154 .input = "",
23155 .ilen = 0,
23156 .result = "\x5b\xc0\x8d\x54\xe4\xec\xbe\x38"
23157 "\x03\x12\xf9\xcc\x9e\x46\x42\x92",
23158 .rlen = 16,
23159 }, {
23160 .key = "\x20\x4a\x07\x99\x91\x58\xee\xfa"
23161 "\x88\xab\x42\x1c\xc9\x47\xd7\x38",
23162 .klen = 16,
23163 .iv = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
23164 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
23165 .assoc = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
23166 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b"
23167 "\x12\x35\x6e\xe8\xb0\xf0\x52\xf3"
23168 "\x2d\xb0\x45\x87\x18\x86\x68\xf6",
23169 .alen = 32,
23170 .input = "",
23171 .ilen = 0,
23172 .result = "\x48\xc5\xc3\x4c\x40\x2e\x2f\xc2"
23173 "\x6d\x65\xe0\x67\x9c\x1d\xa0\xf0",
23174 .rlen = 16,
23175 }, {
23176 .key = "\x5d\x6f\x41\x39\xa1\xd4\x97\x16"
23177 "\x09\x85\xf4\xae\xc3\x6b\x9a\x3e",
23178 .klen = 16,
23179 .iv = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
23180 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
23181 .assoc = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
23182 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
23183 "\x3c\xf8\x79\x6c\xb6\x90\xd4\x0d"
23184 "\xee\xde\x23\x60\xf2\xe5\x08\xcc"
23185 "\x97",
23186 .alen = 33,
23187 .input = "",
23188 .ilen = 0,
23189 .result = "\x28\x64\x78\x51\x55\xd8\x56\x4a"
23190 "\x58\x3e\xf7\xbe\xee\x21\xfe\x94",
23191 .rlen = 16,
23192 }, {
23193 .key = "\x99\x93\x7a\xd8\xb1\x50\x40\x31"
23194 "\x8a\x60\xa6\x3f\xbd\x90\x5d\x44",
23195 .klen = 16,
23196 .iv = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
23197 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
23198 .assoc = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
23199 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
23200 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
23201 "\xaf\x0b\x02\x38\xcc\x44\xa7\xa3"
23202 "\xa6\xbf\x31\x93\x60\xcd\xda\x63"
23203 "\x2c\xb1\xaa\x19\xc8\x19\xf8\xeb"
23204 "\x03\xa1\xe8\xbe\x37\x54\xec\xa2"
23205 "\xcd\x2c\x45\x58\xbd\x8e\x80",
23206 .alen = 63,
23207 .input = "",
23208 .ilen = 0,
23209 .result = "\xb3\xa6\x00\x4e\x09\x20\xac\x21"
23210 "\x77\x72\x69\x76\x2d\x36\xe5\xc8",
23211 .rlen = 16,
23212 }, {
23213 .key = "\xd6\xb8\xb4\x77\xc1\xcb\xe9\x4d"
23214 "\x0a\x3a\x58\xd1\xb7\xb4\x1f\x4a",
23215 .klen = 16,
23216 .iv = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
23217 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
23218 .assoc = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
23219 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
23220 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
23221 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a"
23222 "\xb4\x6b\x35\xc2\xc1\xdf\xed\x60"
23223 "\x46\xc1\x3e\x7f\x8c\xc2\x0e\x7a"
23224 "\x30\x08\xd0\x5f\xa0\xaa\x0c\x6d"
23225 "\x9c\x2f\xdb\x97\xb8\x15\x69\x01",
23226 .alen = 64,
23227 .input = "",
23228 .ilen = 0,
23229 .result = "\x65\x33\x7b\xa1\x63\xf4\x20\xdd"
23230 "\xe4\xb9\x4a\xaa\x9a\x21\xaa\x14",
23231 .rlen = 16,
23232 }, {
23233 .key = "\x12\xdd\xee\x17\xd1\x47\x92\x69"
23234 "\x8b\x14\x0a\x62\xb1\xd9\xe2\x50",
23235 .klen = 16,
23236 .iv = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
23237 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
23238 .assoc = "\x31",
23239 .alen = 1,
23240 .input = "\x40",
23241 .ilen = 1,
23242 .result = "\x1d\x47\x17\x34\x86\xf5\x54\x1a"
23243 "\x6d\x28\xb8\x5d\x6c\xcf\xa0\xb9"
23244 "\xbf",
23245 .rlen = 17,
23246 }, {
23247 .key = "\x4f\x01\x27\xb6\xe1\xc3\x3a\x85"
23248 "\x0c\xee\xbc\xf4\xab\xfd\xa5\x57",
23249 .klen = 16,
23250 .iv = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
23251 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
23252 .assoc = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
23253 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a"
23254 "\xe6\x01\xa8\x7e\xca\x10\xdc\x73"
23255 "\xf4\x94\x9f\xc1\x5a\x61\x85",
23256 .alen = 31,
23257 .input = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
23258 "\x6d\x92\x42\x61\xa7\x58\x37\xdb"
23259 "\xb0\xb2\x2b\x9f\x0b\xb8\xbd\x7a"
23260 "\x24\xa0\xd6\xb7\x11\x79\x6c",
23261 .ilen = 31,
23262 .result = "\x78\x90\x52\xae\x0f\xf7\x2e\xef"
23263 "\x63\x09\x08\x58\xb5\x56\xbd\x72"
23264 "\x6e\x42\xcf\x27\x04\x7c\xdb\x92"
23265 "\x18\xe9\xa4\x33\x90\xba\x62\xb5"
23266 "\x70\xd3\x88\x9b\x4f\x05\xa7\x51"
23267 "\x85\x87\x17\x09\x42\xed\x4e",
23268 .rlen = 47,
23269 }, {
23270 .key = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
23271 "\x8d\xc8\x6e\x85\xa5\x21\x67\x5d",
23272 .klen = 16,
23273 .iv = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
23274 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
23275 .assoc = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
23276 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60"
23277 "\x10\xc3\xb3\x02\xcf\xb0\x5e\x8d"
23278 "\xb5\xc2\x7e\x9a\x35\xc0\x24\xfd",
23279 .alen = 32,
23280 .input = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
23281 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2"
23282 "\xdb\x74\x36\x23\x11\x58\x3f\x93"
23283 "\xe5\xcd\xb5\x90\xeb\xd8\x0c\xb3",
23284 .ilen = 32,
23285 .result = "\x1d\x2c\x57\xe0\x50\x38\x3d\x41"
23286 "\x2e\x71\xc8\x3b\x92\x43\x58\xaf"
23287 "\x5a\xfb\xad\x8f\xd9\xd5\x8a\x5e"
23288 "\xdb\xf3\xcd\x3a\x2b\xe1\x2c\x1a"
23289 "\xb0\xed\xe3\x0c\x6e\xf9\xf2\xd6"
23290 "\x90\xe6\xb1\x0e\xa5\x8a\xac\xb7",
23291 .rlen = 48,
23292 }, {
23293 .key = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
23294 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
23295 .klen = 16,
23296 .iv = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
23297 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
23298 .assoc = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
23299 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
23300 "\x3b\x86\xbf\x86\xd4\x50\xe0\xa7"
23301 "\x76\xef\x5c\x72\x0f\x1f\xc3\xd4"
23302 "\xee",
23303 .alen = 33,
23304 .input = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
23305 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
23306 "\x05\x36\x42\xa7\x16\xf8\xc1\xad"
23307 "\xa7\xfb\x94\x68\xc5\x37\xab\x8a"
23308 "\x72",
23309 .ilen = 33,
23310 .result = "\x59\x10\x84\x1c\x83\x4c\x8b\xfc"
23311 "\xfd\x2e\x4b\x46\x84\xff\x78\x4e"
23312 "\x50\xda\x5c\xb9\x61\x1d\xf5\xb9"
23313 "\xfe\xbb\x7f\xae\x8c\xc1\x24\xbd"
23314 "\x8c\x6f\x1f\x9b\xce\xc6\xc1\x37"
23315 "\x08\x06\x5a\xe5\x96\x10\x95\xc2"
23316 "\x5e",
23317 .rlen = 49,
23318 }, {
23319 .key = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
23320 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69",
23321 .klen = 16,
23322 .iv = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
23323 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
23324 .assoc = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
23325 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
23326 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
23327 "\x38\x1d\x3b\x4a\xe9\x7e\x62\xaa"
23328 "\xfd\xc9\x4a\xa9\xa9\x39\x4b\x54"
23329 "\xc8\x0e\x24\x7f\x5e\x10\x7a\x45"
23330 "\x10\x0b\x56\x85\xad\x54\xaa\x66"
23331 "\xa8\x43\xcd\xd4\x9b\xb7\xfa",
23332 .alen = 63,
23333 .input = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
23334 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
23335 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
23336 "\x68\x28\x73\x40\x9f\x96\x4a\x60"
23337 "\x80\xf4\x4b\xf4\xc1\x3d\xd0\x93"
23338 "\xcf\x12\xc9\x59\x8f\x7a\x7f\xa8"
23339 "\x1b\xa5\x50\xed\x87\xa9\x72\x59"
23340 "\x9c\x44\xb2\xa4\x99\x98\x34",
23341 .ilen = 63,
23342 .result = "\x9a\x12\xbc\xdf\x72\xa8\x56\x22"
23343 "\x49\x2d\x07\x92\xfc\x3d\x6d\x5f"
23344 "\xef\x36\x19\xae\x91\xfa\xd6\x63"
23345 "\x46\xea\x8a\x39\x14\x21\xa6\x37"
23346 "\x18\xfc\x97\x3e\x16\xa5\x4d\x39"
23347 "\x45\x2e\x69\xcc\x9c\x5f\xdf\x6d"
23348 "\x5e\xa2\xbf\xac\x83\x32\x72\x52"
23349 "\x58\x58\x23\x40\xfd\xa5\xc2\xe6"
23350 "\xe9\x5a\x50\x98\x00\x58\xc9\x86"
23351 "\x4f\x20\x37\xdb\x7b\x22\xa3",
23352 .rlen = 79,
23353 }, {
23354 .key = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
23355 "\x10\x57\x85\x39\x93\x8f\xaf\x70",
23356 .klen = 16,
23357 .iv = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
23358 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
23359 .assoc = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
23360 "\x50\xc4\xde\x82\x90\x21\x11\x73"
23361 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
23362 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81"
23363 "\x0b\x76\x4f\xd7\x0a\x4b\x5e\x51"
23364 "\xe3\x1d\xb9\xe5\x21\xb9\x8f\xd4"
23365 "\x3d\x72\x3e\x26\x16\xa9\xca\x32"
23366 "\x77\x47\x63\x14\x95\x3d\xe4\x34",
23367 .alen = 64,
23368 .input = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
23369 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
23370 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
23371 "\x29\x56\x52\x19\x79\xf5\xe9\x37"
23372 "\x8f\xa1\x50\x23\x22\x4f\xe3\x91"
23373 "\xe9\x21\x5e\xbf\x52\x23\x95\x37"
23374 "\x48\x0c\x38\x8f\xf0\xff\x92\x24"
23375 "\x6b\x47\x49\xe3\x94\x1f\x1e\x01",
23376 .ilen = 64,
23377 .result = "\xe6\xeb\x92\x5a\x5b\xf0\x2d\xbb"
23378 "\x23\xec\x35\xe3\xae\xc9\xfb\x0b"
23379 "\x90\x14\x46\xeb\xa8\x8d\xb0\x9b"
23380 "\x39\xda\x8b\x48\xec\xb2\x00\x4e"
23381 "\x80\x6f\x46\x4f\x9b\x1e\xbb\x35"
23382 "\xea\x5a\xbc\xa2\x36\xa5\x89\x45"
23383 "\xc2\xd6\xd7\x15\x0b\xf6\x6c\x56"
23384 "\xec\x99\x7d\x61\xb3\x15\x93\xed"
23385 "\x83\x1e\xd9\x48\x84\x0b\x37\xfe"
23386 "\x95\x74\x44\xd5\x54\xa6\x27\x06",
23387 .rlen = 80,
23388 }, {
23389 .key = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
23390 "\x91\x31\x37\xcb\x8d\xb3\x72\x76",
23391 .klen = 16,
23392 .iv = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
23393 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
23394 .assoc = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
23395 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
23396 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
23397 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58"
23398 "\x1a\x22\x53\x05\x6b\x5c\x71\x4f"
23399 "\xfd\x2d\x4d\x4c\xe5\x62\xa5\x63"
23400 "\x6a\xda\x26\xc8\x7f\xff\xea\xfd"
23401 "\x46\x4a\xfa\x53\x8f\xc4\xcd\x68"
23402 "\x58",
23403 .alen = 65,
23404 .input = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
23405 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
23406 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
23407 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
23408 "\x9d\x4d\x54\x51\x84\x61\xf6\x8e"
23409 "\x03\x31\xf2\x25\x16\xcc\xaa\xc6"
23410 "\x75\x73\x20\x30\x59\x54\xb2\xf0"
23411 "\x3a\x4b\xe0\x23\x8e\xa6\x08\x35"
23412 "\x8a\xdf\x27\xa0\xe4\x60\x99\xae"
23413 "\x8e\x43\xd9\x39\x7b\x10\x40\x67"
23414 "\x5c\x7e\xc9\x70\x63\x34\xca\x59"
23415 "\xfe\x86\xbc\xb7\x9c\x39\xf3\x6d"
23416 "\x6a\x41\x64\x6f\x16\x7f\x65\x7e"
23417 "\x89\x84\x68\xeb\xb0\x51\xbe\x55"
23418 "\x33\x16\x59\x6c\x3b\xef\x88\xad"
23419 "\x2f\xab\xbc\x25\x76\x87\x41\x2f"
23420 "\x36",
23421 .ilen = 129,
23422 .result = "\x89\x24\x27\x86\xdc\xd7\x6b\xd9"
23423 "\xd1\xcd\xdc\x16\xdd\x2c\xc1\xfb"
23424 "\x52\xb5\xb3\xab\x50\x99\x3f\xa0"
23425 "\x38\xa4\x74\xa5\x04\x15\x63\x05"
23426 "\x8f\x54\x81\x06\x5a\x6b\xa4\x63"
23427 "\x6d\xa7\x21\xcb\xff\x42\x30\x8e"
23428 "\x3b\xd1\xca\x3f\x4b\x1a\xb8\xc3"
23429 "\x42\x01\xe6\xbc\x75\x15\x87\xee"
23430 "\xc9\x8e\x65\x01\xd9\xd8\xb5\x9f"
23431 "\x48\x86\xa6\x5f\x2c\xc7\xb5\xb0"
23432 "\xed\x5d\x14\x7c\x3f\x40\xb1\x0b"
23433 "\x72\xef\x94\x8d\x7a\x85\x56\xe5"
23434 "\x56\x08\x15\x56\xba\xaf\xbd\xf0"
23435 "\x20\xef\xa0\xf6\xa9\xad\xa2\xc9"
23436 "\x1c\x3b\x28\x51\x7e\x77\xb2\x18"
23437 "\x4f\x61\x64\x37\x22\x36\x6d\x78"
23438 "\xed\xed\x35\xe8\x83\xa5\xec\x25"
23439 "\x6b\xff\x5f\x1a\x09\x96\x3d\xdc"
23440 "\x20",
23441 .rlen = 145,
23442 }, {
23443 .key = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
23444 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c",
23445 .klen = 16,
23446 .iv = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
23447 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
23448 .assoc = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
23449 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
23450 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
23451 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e"
23452 "\x28\xce\x57\x34\xcd\x6e\x84\x4c"
23453 "\x17\x3c\xe1\xb2\xa8\x0b\xbb\xf1"
23454 "\x96\x41\x0d\x69\xe8\x54\x0a\xc8"
23455 "\x15\x4e\x91\x92\x89\x4b\xb7\x9b"
23456 "\x21\xf7\x42\x89\xac\x12\x2a\x54"
23457 "\x69\xee\x18\xc7\x8d\xed\xe8\xfd"
23458 "\xbb\x04\x28\xe6\x8a\x3c\x98\xc1"
23459 "\x04\x2d\xa9\xa1\x24\x83\xff\xe9"
23460 "\x55\x7a\xf0\xd1\xf6\x63\x05\xe1"
23461 "\xd9\x1e\x75\x72\xc1\x9f\xae\x32"
23462 "\xe1\x6b\xcd\x9e\x61\x19\x23\x86"
23463 "\xd9\xd2\xaf\x8e\xd5\xd3\xa8\xa9"
23464 "\x51",
23465 .alen = 129,
23466 .input = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
23467 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
23468 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
23469 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
23470 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
23471 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
23472 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
23473 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
23474 "\x54",
23475 .ilen = 65,
23476 .result = "\x36\x78\xb9\x22\xde\x62\x35\x55"
23477 "\x1a\x7a\xf5\x45\xbc\xd7\x15\x82"
23478 "\x01\xe9\x5a\x07\xea\x46\xaf\x91"
23479 "\xcb\x73\xa5\xee\xe1\xb4\xbf\xc2"
23480 "\xdb\xd2\x9d\x59\xde\xfc\x83\x00"
23481 "\xf5\x46\xac\x97\xd5\x57\xa9\xb9"
23482 "\x1f\x8c\xe8\xca\x68\x8b\x91\x0c"
23483 "\x01\xbe\x0a\xaf\x7c\xf6\x67\xa4"
23484 "\xbf\xbc\x88\x3f\x5d\xd1\xf9\x19"
23485 "\x0f\x9d\xb2\xaf\xb9\x6e\x17\xdf"
23486 "\xa2",
23487 .rlen = 81,
23488 }, {
23489 .key = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
23490 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82",
23491 .klen = 16,
23492 .iv = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
23493 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
23494 .assoc = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
23495 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85"
23496 "\x0e\x51\xf9\x1c\xee\x70\x6a\x27"
23497 "\x3d\xd3\xb7\xac\x51\xfa\xdf\x05",
23498 .alen = 32,
23499 .input = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
23500 "\xf3\x89\x20\x5b\x7c\x57\x89\x07"
23501 "\xd9\x02\x7c\x3d\x2f\x18\x4b\x2d"
23502 "\x6e\xde\xee\xa2\x08\x12\xc7\xba",
23503 .ilen = 32,
23504 .result = "\x08\x1b\x95\x0e\x41\x95\x02\x4b"
23505 "\x9c\xbb\xa8\xd0\x7c\xd3\x44\x6e"
23506 "\x89\x14\x33\x70\x0a\xbc\xea\x39"
23507 "\x88\xaa\x2b\xd5\x73\x11\x55\xf5"
23508 "\x33\x33\x9c\xd7\x42\x34\x49\x8e"
23509 "\x2f\x03\x30\x05\x47\xaf\x34",
23510 .rlen = 47,
23511 }, {
23512 .key = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
23513 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
23514 .klen = 16,
23515 .iv = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
23516 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
23517 .assoc = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
23518 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c"
23519 "\x39\x14\x05\xa0\xf3\x10\xec\x41"
23520 "\xff\x01\x95\x84\x2b\x59\x7f\xdb",
23521 .alen = 32,
23522 .input = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
23523 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d"
23524 "\x03\xc4\x88\xc1\x35\xb8\xcd\x47"
23525 "\x2f\x0c\xcd\x7a\xe2\x71\x66\x91",
23526 .ilen = 32,
23527 .result = "\x97\xca\xf4\xe0\x8d\x89\xbf\x68"
23528 "\x0c\x60\xb9\x27\xdf\xaa\x41\xc6"
23529 "\x25\xd8\xf7\x1f\x10\x15\x48\x61"
23530 "\x4c\x95\x00\xdf\x51\x9b\x7f\xe6"
23531 "\x24\x40\x9e\xbe\x3b\xeb\x1b\x98"
23532 "\xb9\x9c\xe5\xef\xf2\x05",
23533 .rlen = 46,
23534 }, {
23535 .key = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
23536 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
23537 .klen = 16,
23538 .iv = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
23539 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
23540 .assoc = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
23541 "\xd5\x07\x58\x59\x72\xd7\xde\x92"
23542 "\x63\xd6\x10\x24\xf8\xb0\x6e\x5a"
23543 "\xc0\x2e\x74\x5d\x06\xb8\x1e\xb2",
23544 .alen = 32,
23545 .input = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
23546 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13"
23547 "\x2e\x86\x93\x45\x3a\x58\x4f\x61"
23548 "\xf0\x3a\xac\x53\xbc\xd0\x06\x68",
23549 .ilen = 32,
23550 .result = "\x63\x4c\x2a\x8e\xb4\x6b\x63\x0d"
23551 "\xb5\xec\x9b\x4e\x12\x23\xa3\xcf"
23552 "\x1a\x5a\x70\x15\x5a\x10\x40\x51"
23553 "\xca\x47\x4c\x9d\xc9\x97\xf4\x77"
23554 "\xdb\xc8\x10\x2d\xdc\x65\x20\x3f",
23555 .rlen = 40,
23556 }, {
23557 .key = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
23558 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
23559 .klen = 16,
23560 .iv = "\xbb\x3a\xf7\x57\xc6\x36\x7c\x22"
23561 "\x36\xab\xde\xc6\x6d\x32\x70\x17",
23562 .assoc = "\xcb\x03\x85\xbf\x0a\xd5\x26\xa9"
23563 "\x56\xe1\x0a\xeb\x6c\xfb\xa1\x98"
23564 "\x8d\x98\x1c\xa8\xfe\x50\xf0\x74"
23565 "\x81\x5c\x53\x35\xe0\x17\xbd\x88",
23566 .alen = 32,
23567 .input = "\xda\xcc\x14\x27\x4e\x74\xd1\x30"
23568 "\x76\x18\x37\x0f\x6a\xc4\xd1\x1a"
23569 "\x58\x49\x9f\xc9\x3f\xf8\xd1\x7a"
23570 "\xb2\x67\x8b\x2b\x96\x2f\xa5\x3e",
23571 .ilen = 32,
23572 .result = "\xf1\x62\x44\xc7\x5f\x19\xca\x43"
23573 "\x47\x2c\xaf\x68\x82\xbd\x51\xef"
23574 "\x3d\x65\xd8\x45\x2d\x06\x07\x78"
23575 "\x08\x2e\xb3\x23\xcd\x81\x12\x55"
23576 "\x1a",
23577 .rlen = 33,
23578 }, {
23579 .key = "\xe9\x95\xa2\x8f\x93\x13\x7b\xb7"
23580 "\x96\x4e\x63\x33\x69\x8d\x02\x9b"
23581 "\x23\xf9\x22\xeb\x80\xa0\xb1\x81"
23582 "\xe2\x73\xc3\x21\x4d\x47\x8d\xf4",
23583 .klen = 32,
23584 .iv = "\xf8\x5e\x31\xf7\xd7\xb2\x25\x3e"
23585 "\xb7\x85\x90\x58\x67\x57\x33\x1d",
23586 .assoc = "",
23587 .alen = 0,
23588 .input = "",
23589 .ilen = 0,
23590 .result = "\xdf\x2f\x83\xc0\x45\x4a\x2c\xcf"
23591 "\xb9\xd2\x41\xf6\x80\xa1\x52\x70",
23592 .rlen = 16,
23593 }, {
23594 .key = "\x25\xba\xdc\x2e\xa3\x8f\x24\xd3"
23595 "\x17\x29\x15\xc5\x63\xb2\xc5\xa1"
23596 "\x4d\xbc\x2d\x6f\x85\x40\x33\x9a"
23597 "\xa3\xa0\xa1\xfa\x27\xa6\x2c\xca",
23598 .klen = 32,
23599 .iv = "\x34\x83\x6a\x96\xe7\x2d\xce\x5a"
23600 "\x38\x5f\x42\xe9\x61\x7b\xf5\x23",
23601 .assoc = "",
23602 .alen = 0,
23603 .input = "\x53",
23604 .ilen = 1,
23605 .result = "\x01\xd8\x55\x3c\xc0\x5a\x4b\xc7"
23606 "\x01\xf4\x08\xe3\x0d\xf7\xf0\x78"
23607 "\x53",
23608 .rlen = 17,
23609 }, {
23610 .key = "\x62\xdf\x16\xcd\xb3\x0a\xcc\xef"
23611 "\x98\x03\xc7\x56\x5d\xd6\x87\xa8"
23612 "\x77\x7e\x39\xf3\x8a\xe0\xb5\xb4"
23613 "\x65\xce\x80\xd2\x01\x05\xcb\xa1",
23614 .klen = 32,
23615 .iv = "\x71\xa8\xa4\x35\xf7\xa9\x76\x75"
23616 "\xb8\x39\xf4\x7a\x5b\x9f\xb8\x29",
23617 .assoc = "",
23618 .alen = 0,
23619 .input = "\x8f\x3a\xc1\x05\x7f\xe7\xcb\x83"
23620 "\xf9\xa6\x4d\xc3\x58\x31\x19\x2c"
23621 "\xd7\x90\xc2\x56\x4e\xd8\x57\xc7"
23622 "\xf6\xf0\x27\xb4\x25\x4c\x83",
23623 .ilen = 31,
23624 .result = "\xc2\x4b\x41\x0f\x2d\xb9\x62\x07"
23625 "\xff\x8e\x74\xf8\xa1\xa6\xd5\x37"
23626 "\xa5\x64\x31\x5c\xca\x73\x9b\x43"
23627 "\xe6\x70\x63\x46\x95\xcb\xf7\xb5"
23628 "\x20\x8c\x75\x7a\x2a\x17\x2f\xa9"
23629 "\xb8\x4d\x11\x42\xd1\xf8\xf1",
23630 .rlen = 47,
23631 }, {
23632 .key = "\x9e\x03\x4f\x6d\xc3\x86\x75\x0a"
23633 "\x19\xdd\x79\xe8\x57\xfb\x4a\xae"
23634 "\xa2\x40\x45\x77\x90\x80\x37\xce"
23635 "\x26\xfb\x5f\xaa\xdb\x64\x6b\x77",
23636 .klen = 32,
23637 .iv = "\xae\xcc\xde\xd5\x07\x25\x1f\x91"
23638 "\x39\x14\xa6\x0c\x55\xc4\x7b\x30",
23639 .assoc = "",
23640 .alen = 0,
23641 .input = "\xcc\x5f\xfb\xa4\x8f\x63\x74\x9f"
23642 "\x7a\x81\xff\x55\x52\x56\xdc\x33"
23643 "\x01\x52\xcd\xdb\x53\x78\xd9\xe1"
23644 "\xb7\x1d\x06\x8d\xff\xab\x22\x98",
23645 .ilen = 32,
23646 .result = "\xbb\x01\x7c\xd1\x2c\x33\x7b\x37"
23647 "\x0a\xee\xc4\x30\x19\xd7\x3a\x6f"
23648 "\xf8\x2b\x67\xf5\x3b\x84\x87\x2a"
23649 "\xfb\x07\x7a\x82\xb5\xe4\x85\x26"
23650 "\x1e\xa8\xe5\x04\x54\xce\xe5\x5f"
23651 "\xb5\x3f\xc1\xd5\x7f\xbd\xd2\xa6",
23652 .rlen = 48,
23653 }, {
23654 .key = "\xdb\x28\x89\x0c\xd3\x01\x1e\x26"
23655 "\x9a\xb7\x2b\x79\x51\x1f\x0d\xb4"
23656 "\xcc\x03\x50\xfc\x95\x20\xb9\xe7"
23657 "\xe8\x29\x3e\x83\xb5\xc3\x0a\x4e",
23658 .klen = 32,
23659 .iv = "\xea\xf1\x18\x74\x17\xa0\xc8\xad"
23660 "\xba\xee\x58\x9d\x4f\xe8\x3d\x36",
23661 .assoc = "",
23662 .alen = 0,
23663 .input = "\x08\x84\x34\x44\x9f\xde\x1c\xbb"
23664 "\xfb\x5b\xb1\xe6\x4c\x7a\x9f\x39"
23665 "\x2c\x14\xd9\x5f\x59\x18\x5b\xfb"
23666 "\x79\x4b\xe5\x65\xd9\x0a\xc1\x6f"
23667 "\x2e",
23668 .ilen = 33,
23669 .result = "\xc2\xf4\x40\x55\xf9\x59\xff\x73"
23670 "\x08\xf5\x98\x92\x0c\x7b\x35\x9a"
23671 "\xa8\xf4\x42\x7e\x6f\x93\xca\x22"
23672 "\x23\x06\x1e\xf8\x89\x22\xf4\x46"
23673 "\x7c\x7c\x67\x75\xab\xe5\x75\xaa"
23674 "\x15\xd7\x83\x19\xfd\x31\x59\x5b"
23675 "\x32",
23676 .rlen = 49,
23677 }, {
23678 .key = "\x17\x4d\xc3\xab\xe3\x7d\xc7\x42"
23679 "\x1b\x91\xdd\x0a\x4b\x43\xcf\xba"
23680 "\xf6\xc5\x5c\x80\x9a\xc0\x3b\x01"
23681 "\xa9\x56\x1d\x5b\x8f\x22\xa9\x25",
23682 .klen = 32,
23683 .iv = "\x27\x16\x51\x13\x27\x1c\x71\xc9"
23684 "\x3b\xc8\x0a\x2f\x49\x0c\x00\x3c",
23685 .assoc = "",
23686 .alen = 0,
23687 .input = "\x45\xa8\x6e\xe3\xaf\x5a\xc5\xd7"
23688 "\x7c\x35\x63\x77\x46\x9f\x61\x3f"
23689 "\x56\xd7\xe4\xe3\x5e\xb8\xdc\x14"
23690 "\x3a\x79\xc4\x3e\xb3\x69\x61\x46"
23691 "\x3c\xb6\x83\x4e\xb4\x26\xc7\x73"
23692 "\x22\xda\x52\x8b\x7d\x11\x98\xea"
23693 "\x62\xe1\x14\x1e\xdc\xfe\x0f\xad"
23694 "\x20\x76\x5a\xdc\x4e\x71\x13",
23695 .ilen = 63,
23696 .result = "\xc9\x82\x3b\x4b\x87\x84\xa5\xdb"
23697 "\xa0\x8c\xd3\x3e\x7f\x8d\xe8\x28"
23698 "\x2a\xdc\xfa\x01\x84\x87\x9a\x70"
23699 "\x81\x75\x37\x0a\xd2\x75\xa9\xb6"
23700 "\x21\x72\xee\x7e\x65\x95\xe5\xcc"
23701 "\x01\xb7\x39\xa6\x51\x15\xca\xff"
23702 "\x61\xdc\x97\x38\xcc\xf4\xca\xc7"
23703 "\x83\x9b\x05\x11\x72\x60\xf0\xb4"
23704 "\x7e\x06\xab\x0a\xc0\xbb\x59\x23"
23705 "\xaa\x2d\xfc\x4e\x35\x05\x59",
23706 .rlen = 79,
23707 }, {
23708 .key = "\x54\x71\xfd\x4b\xf3\xf9\x6f\x5e"
23709 "\x9c\x6c\x8f\x9c\x45\x68\x92\xc1"
23710 "\x21\x87\x67\x04\x9f\x60\xbd\x1b"
23711 "\x6a\x84\xfc\x34\x6a\x81\x48\xfb",
23712 .klen = 32,
23713 .iv = "\x63\x3b\x8b\xb3\x37\x98\x1a\xe5"
23714 "\xbc\xa2\xbc\xc0\x43\x31\xc2\x42",
23715 .assoc = "",
23716 .alen = 0,
23717 .input = "\x81\xcd\xa8\x82\xbf\xd6\x6e\xf3"
23718 "\xfd\x0f\x15\x09\x40\xc3\x24\x45"
23719 "\x81\x99\xf0\x67\x63\x58\x5e\x2e"
23720 "\xfb\xa6\xa3\x16\x8d\xc8\x00\x1c"
23721 "\x4b\x62\x87\x7c\x15\x38\xda\x70"
23722 "\x3d\xea\xe7\xf2\x40\xba\xae\x79"
23723 "\x8f\x48\xfc\xbf\x45\x53\x2e\x78"
23724 "\xef\x79\xf0\x1b\x49\xf7\xfd\x9c",
23725 .ilen = 64,
23726 .result = "\x11\x7c\x7d\xef\xce\x29\x95\xec"
23727 "\x7e\x9f\x42\xa6\x26\x07\xa1\x75"
23728 "\x2f\x4e\x09\x9a\xf6\x6b\xc2\xfa"
23729 "\x0d\xd0\x17\xdc\x25\x1e\x9b\xdc"
23730 "\x5f\x8c\x1c\x60\x15\x4f\x9b\x20"
23731 "\x7b\xff\xcd\x82\x60\x84\xf4\xa5"
23732 "\x20\x9a\x05\x19\x5b\x02\x0a\x72"
23733 "\x43\x11\x26\x58\xcf\xc5\x41\xcf"
23734 "\x13\xcc\xde\x32\x92\xfa\x86\xf2"
23735 "\xaf\x16\xe8\x8f\xca\xb6\xfd\x54",
23736 .rlen = 80,
23737 }, {
23738 .key = "\x90\x96\x36\xea\x03\x74\x18\x7a"
23739 "\x1d\x46\x42\x2d\x3f\x8c\x54\xc7"
23740 "\x4b\x4a\x73\x89\xa4\x00\x3f\x34"
23741 "\x2c\xb1\xdb\x0c\x44\xe0\xe8\xd2",
23742 .klen = 32,
23743 .iv = "\xa0\x5f\xc5\x52\x47\x13\xc2\x01"
23744 "\x3d\x7c\x6e\x52\x3d\x55\x85\x48",
23745 .assoc = "\xaf",
23746 .alen = 1,
23747 .input = "",
23748 .ilen = 0,
23749 .result = "\x9b\xc5\x3b\x20\x0a\x88\x56\xbe"
23750 "\x69\xdf\xc4\xc4\x02\x46\x3a\xf0",
23751 .rlen = 16,
23752 }, {
23753 .key = "\xcd\xbb\x70\x89\x13\xf0\xc1\x95"
23754 "\x9e\x20\xf4\xbf\x39\xb1\x17\xcd"
23755 "\x76\x0c\x7f\x0d\xa9\xa0\xc1\x4e"
23756 "\xed\xdf\xb9\xe4\x1e\x3f\x87\xa8",
23757 .klen = 32,
23758 .iv = "\xdc\x84\xfe\xf1\x58\x8f\x6b\x1c"
23759 "\xbe\x57\x20\xe3\x37\x7a\x48\x4f",
23760 .assoc = "\xeb\x4d\x8d\x59\x9c\x2e\x15\xa3"
23761 "\xde\x8d\x4d\x07\x36\x43\x78\xd0"
23762 "\x0b\x6d\x84\x4f\x2c\xf0\x82\x5b"
23763 "\x4e\xf6\x29\xd1\x8b\x6f\x56",
23764 .alen = 31,
23765 .input = "",
23766 .ilen = 0,
23767 .result = "\xe0\x6d\xa1\x07\x98\x2f\x40\x2d"
23768 "\x2e\x9a\xd6\x61\x43\xc0\x74\x69",
23769 .rlen = 16,
23770 }, {
23771 .key = "\x0a\xe0\xaa\x29\x24\x6c\x6a\xb1"
23772 "\x1f\xfa\xa6\x50\x33\xd5\xda\xd3"
23773 "\xa0\xce\x8a\x91\xae\x40\x43\x68"
23774 "\xae\x0d\x98\xbd\xf8\x9e\x26\x7f",
23775 .klen = 32,
23776 .iv = "\x19\xa9\x38\x91\x68\x0b\x14\x38"
23777 "\x3f\x31\xd2\x74\x31\x9e\x0a\x55",
23778 .assoc = "\x28\x72\xc7\xf8\xac\xaa\xbe\xbf"
23779 "\x5f\x67\xff\x99\x30\x67\x3b\xd6"
23780 "\x35\x2f\x90\xd3\x31\x90\x04\x74"
23781 "\x0f\x23\x08\xa9\x65\xce\xf6\xea",
23782 .alen = 32,
23783 .input = "",
23784 .ilen = 0,
23785 .result = "\xb9\x57\x13\x3e\x82\x31\x61\x65"
23786 "\x0d\x7f\x6c\x96\x93\x5c\x50\xe2",
23787 .rlen = 16,
23788 }, {
23789 .key = "\x46\x04\xe3\xc8\x34\xe7\x12\xcd"
23790 "\xa0\xd4\x58\xe2\x2d\xf9\x9c\xda"
23791 "\xca\x91\x96\x15\xb4\xe0\xc5\x81"
23792 "\x70\x3a\x77\x95\xd2\xfd\xc5\x55",
23793 .klen = 32,
23794 .iv = "\x55\xcd\x72\x30\x78\x86\xbd\x54"
23795 "\xc0\x0b\x84\x06\x2b\xc2\xcd\x5b",
23796 .assoc = "\x64\x97\x00\x98\xbc\x25\x67\xdb"
23797 "\xe0\x41\xb1\x2a\x2a\x8c\xfe\xdd"
23798 "\x5f\xf2\x9c\x58\x36\x30\x86\x8e"
23799 "\xd1\x51\xe6\x81\x3f\x2d\x95\xc1"
23800 "\x01",
23801 .alen = 33,
23802 .input = "",
23803 .ilen = 0,
23804 .result = "\x81\x96\x34\xde\xbb\x36\xdd\x3e"
23805 "\x4e\x5e\xcb\x44\x21\xb8\x3f\xf1",
23806 .rlen = 16,
23807 }, {
23808 .key = "\x83\x29\x1d\x67\x44\x63\xbb\xe9"
23809 "\x20\xaf\x0a\x73\x27\x1e\x5f\xe0"
23810 "\xf5\x53\xa1\x9a\xb9\x80\x47\x9b"
23811 "\x31\x68\x56\x6e\xac\x5c\x65\x2c",
23812 .klen = 32,
23813 .iv = "\x92\xf2\xac\xcf\x88\x02\x65\x70"
23814 "\x41\xe5\x36\x97\x25\xe7\x90\x61",
23815 .assoc = "\xa1\xbb\x3a\x37\xcc\xa1\x10\xf7"
23816 "\x61\x1c\x63\xbc\x24\xb0\xc0\xe3"
23817 "\x8a\xb4\xa7\xdc\x3b\xd0\x08\xa8"
23818 "\x92\x7f\xc5\x5a\x19\x8c\x34\x97"
23819 "\x0f\x95\x9b\x18\xe4\x8d\xb4\x24"
23820 "\xb9\x33\x28\x18\xe1\x9d\x14\xe0"
23821 "\x64\xb2\x89\x7d\x78\xa8\x05\x7e"
23822 "\x07\x8c\xfc\x88\x2d\xb8\x53",
23823 .alen = 63,
23824 .input = "",
23825 .ilen = 0,
23826 .result = "\x2e\x99\xb6\x79\x57\x56\x80\x36"
23827 "\x8e\xc4\x1c\x12\x7d\x71\x36\x0c",
23828 .rlen = 16,
23829 }, {
23830 .key = "\xbf\x4e\x57\x07\x54\xdf\x64\x05"
23831 "\xa1\x89\xbc\x04\x21\x42\x22\xe6"
23832 "\x1f\x15\xad\x1e\xbe\x20\xc9\xb4"
23833 "\xf3\x95\x35\x46\x86\xbb\x04\x03",
23834 .klen = 32,
23835 .iv = "\xce\x17\xe5\x6f\x98\x7e\x0e\x8c"
23836 "\xc2\xbf\xe8\x29\x1f\x0b\x52\x68",
23837 .assoc = "\xdd\xe0\x74\xd6\xdc\x1d\xb8\x13"
23838 "\xe2\xf6\x15\x4d\x1e\xd4\x83\xe9"
23839 "\xb4\x76\xb3\x60\x40\x70\x8a\xc1"
23840 "\x53\xac\xa4\x32\xf3\xeb\xd3\x6e"
23841 "\x1e\x42\xa0\x46\x45\x9f\xc7\x22"
23842 "\xd3\x43\xbc\x7e\xa5\x47\x2a\x6f"
23843 "\x91\x19\x70\x1e\xe1\xfe\x25\x49"
23844 "\xd6\x8f\x93\xc7\x28\x3f\x3d\x03",
23845 .alen = 64,
23846 .input = "",
23847 .ilen = 0,
23848 .result = "\x7b\x25\x3d\x47\xd4\xa7\x08\xce"
23849 "\x3b\x89\x40\x36\xba\x6d\x0e\xa2",
23850 .rlen = 16,
23851 }, {
23852 .key = "\xfc\x72\x90\xa6\x64\x5a\x0d\x21"
23853 "\x22\x63\x6e\x96\x1b\x67\xe4\xec"
23854 "\x49\xd7\xb9\xa2\xc3\xc0\x4b\xce"
23855 "\xb4\xc3\x14\x1e\x61\x1a\xa3\xd9",
23856 .klen = 32,
23857 .iv = "\x0b\x3c\x1f\x0e\xa8\xf9\xb7\xa7"
23858 "\x42\x9a\x9a\xba\x19\x30\x15\x6e",
23859 .assoc = "\x1a",
23860 .alen = 1,
23861 .input = "\x29",
23862 .ilen = 1,
23863 .result = "\xe6\x09\x6f\x95\x9a\x18\xc8\xf6"
23864 "\x17\x75\x81\x16\xdf\x26\xff\x67"
23865 "\x92",
23866 .rlen = 17,
23867 }, {
23868 .key = "\x38\x97\xca\x45\x74\xd6\xb6\x3c"
23869 "\xa3\x3d\x20\x27\x15\x8b\xa7\xf2"
23870 "\x74\x9a\xc4\x27\xc8\x60\xcd\xe8"
23871 "\x75\xf0\xf2\xf7\x3b\x79\x42\xb0",
23872 .klen = 32,
23873 .iv = "\x47\x60\x59\xad\xb8\x75\x60\xc3"
23874 "\xc3\x74\x4c\x4c\x13\x54\xd8\x74",
23875 .assoc = "\x56\x29\xe7\x15\xfc\x14\x0a\x4a"
23876 "\xe4\xaa\x79\x70\x12\x1d\x08\xf6"
23877 "\x09\xfb\xca\x69\x4b\xb0\x8e\xf5"
23878 "\xd6\x07\x62\xe3\xa8\xa9\x12",
23879 .alen = 31,
23880 .input = "\x66\xf3\x75\x7d\x40\xb3\xb4\xd1"
23881 "\x04\xe1\xa6\x94\x10\xe6\x39\x77"
23882 "\xd3\xac\x4d\x8a\x8c\x58\x6e\xfb"
23883 "\x06\x13\x9a\xd9\x5e\xc0\xfa",
23884 .ilen = 31,
23885 .result = "\x82\xc0\x56\xf0\xd7\xc4\xc9\xfd"
23886 "\x3c\xd1\x2a\xd4\x15\x86\x9d\xda"
23887 "\xea\x6c\x6f\xa1\x33\xb0\x7a\x01"
23888 "\x57\xe7\xf3\x7b\x73\xe7\x54\x10"
23889 "\xc6\x91\xe2\xc6\xa0\x69\xe7\xe6"
23890 "\x76\xc3\xf5\x3a\x76\xfd\x4a",
23891 .rlen = 47,
23892 }, {
23893 .key = "\x75\xbc\x04\xe5\x84\x52\x5e\x58"
23894 "\x24\x17\xd2\xb9\x0e\xaf\x6a\xf9"
23895 "\x9e\x5c\xd0\xab\xcd\x00\x4f\x01"
23896 "\x37\x1e\xd1\xcf\x15\xd8\xe2\x86",
23897 .klen = 32,
23898 .iv = "\x84\x85\x92\x4d\xc8\xf1\x08\xdf"
23899 "\x44\x4e\xff\xdd\x0d\x78\x9a\x7a",
23900 .assoc = "\x93\x4e\x21\xb4\x0c\x90\xb3\x66"
23901 "\x65\x84\x2b\x01\x0b\x42\xcb\xfc"
23902 "\x33\xbd\xd6\xed\x50\x50\x10\x0e"
23903 "\x97\x35\x41\xbb\x82\x08\xb1\xf2",
23904 .alen = 32,
23905 .input = "\xa2\x17\xaf\x1c\x50\x2e\x5d\xed"
23906 "\x85\xbb\x58\x26\x0a\x0b\xfc\x7d"
23907 "\xfe\x6e\x59\x0e\x91\xf8\xf0\x15"
23908 "\xc8\x40\x78\xb1\x38\x1f\x99\xa7",
23909 .ilen = 32,
23910 .result = "\x01\x47\x8e\x6c\xf6\x64\x89\x3a"
23911 "\x71\xce\xe4\xaa\x45\x70\xe6\x84"
23912 "\x62\x48\x08\x64\x86\x6a\xdf\xec"
23913 "\xb4\xa0\xfb\x34\x03\x0c\x19\xf4"
23914 "\x2b\x7b\x36\x73\xec\x54\xa9\x1e"
23915 "\x30\x85\xdb\xe4\xac\xe9\x2c\xca",
23916 .rlen = 48,
23917 }, {
23918 .key = "\xb1\xe1\x3e\x84\x94\xcd\x07\x74"
23919 "\xa5\xf2\x84\x4a\x08\xd4\x2c\xff"
23920 "\xc8\x1e\xdb\x2f\xd2\xa0\xd1\x1b"
23921 "\xf8\x4c\xb0\xa8\xef\x37\x81\x5d",
23922 .klen = 32,
23923 .iv = "\xc0\xaa\xcc\xec\xd8\x6c\xb1\xfb"
23924 "\xc5\x28\xb1\x6e\x07\x9d\x5d\x81",
23925 .assoc = "\xd0\x73\x5a\x54\x1d\x0b\x5b\x82"
23926 "\xe5\x5f\xdd\x93\x05\x66\x8e\x02"
23927 "\x5e\x80\xe1\x71\x55\xf0\x92\x28"
23928 "\x59\x62\x20\x94\x5c\x67\x50\xc8"
23929 "\x58",
23930 .alen = 33,
23931 .input = "\xdf\x3c\xe9\xbc\x61\xaa\x06\x09"
23932 "\x06\x95\x0a\xb7\x04\x2f\xbe\x84"
23933 "\x28\x30\x64\x92\x96\x98\x72\x2e"
23934 "\x89\x6e\x57\x8a\x13\x7e\x38\x7e"
23935 "\xdb",
23936 .ilen = 33,
23937 .result = "\x85\xe0\xf8\x0f\x8e\x49\xe3\x60"
23938 "\xcb\x4a\x54\x94\xcf\xf5\x7e\x34"
23939 "\xe9\xf8\x80\x65\x53\xd0\x72\x70"
23940 "\x4f\x7d\x9d\xd1\x15\x6f\xb9\x2c"
23941 "\xfa\xe8\xdd\xac\x2e\xe1\x3f\x67"
23942 "\x63\x0f\x1a\x59\xb7\x89\xdb\xf4"
23943 "\xc3",
23944 .rlen = 49,
23945 }, {
23946 .key = "\xee\x05\x77\x23\xa5\x49\xb0\x90"
23947 "\x26\xcc\x36\xdc\x02\xf8\xef\x05"
23948 "\xf3\xe1\xe7\xb3\xd8\x40\x53\x35"
23949 "\xb9\x79\x8f\x80\xc9\x96\x20\x33",
23950 .klen = 32,
23951 .iv = "\xfd\xce\x06\x8b\xe9\xe8\x5a\x17"
23952 "\x46\x02\x63\x00\x01\xc1\x20\x87",
23953 .assoc = "\x0c\x98\x94\xf3\x2d\x87\x04\x9e"
23954 "\x66\x39\x8f\x24\xff\x8a\x50\x08"
23955 "\x88\x42\xed\xf6\x5a\x90\x14\x42"
23956 "\x1a\x90\xfe\x6c\x36\xc6\xf0\x9f"
23957 "\x66\xa0\xb5\x2d\x2c\xf8\x25\x15"
23958 "\x55\x90\xa2\x7e\x77\x94\x96\x3a"
23959 "\x71\x1c\xf7\x44\xee\xa8\xc3\x42"
23960 "\xe2\xa3\x84\x04\x0b\xe1\xce",
23961 .alen = 63,
23962 .input = "\x1b\x61\x23\x5b\x71\x26\xae\x25"
23963 "\x87\x6f\xbc\x49\xfe\x53\x81\x8a"
23964 "\x53\xf2\x70\x17\x9b\x38\xf4\x48"
23965 "\x4b\x9b\x36\x62\xed\xdd\xd8\x54"
23966 "\xea\xcb\xb6\x79\x45\xfc\xaa\x54"
23967 "\x5c\x94\x47\x58\xa7\xff\x9c\x9e"
23968 "\x7c\xb6\xf1\xac\xc8\xfd\x8b\x35"
23969 "\xd5\xa4\x6a\xd4\x09\xc2\x08",
23970 .ilen = 63,
23971 .result = "\x00\xe5\x5b\x87\x5c\x20\x22\x8a"
23972 "\xda\x1f\xd3\xff\xbb\xb2\xb0\xf8"
23973 "\xef\xe9\xeb\x9e\x7c\x80\xf4\x2b"
23974 "\x59\xc0\x79\xbc\x17\xa0\x15\x01"
23975 "\xf5\x72\xfb\x5a\xe7\xaf\x07\xe3"
23976 "\x1b\x49\x21\x34\x23\x63\x55\x5e"
23977 "\xee\x4f\x34\x17\xfa\xfe\xa5\x0c"
23978 "\xed\x0b\x23\xea\x9b\xda\x57\x2f"
23979 "\xf6\xa9\xae\x0d\x4e\x40\x96\x45"
23980 "\x7f\xfa\xf0\xbf\xc4\x98\x78",
23981 .rlen = 79,
23982 }, {
23983 .key = "\x2a\x2a\xb1\xc3\xb5\xc5\x59\xac"
23984 "\xa7\xa6\xe8\x6d\xfc\x1d\xb2\x0b"
23985 "\x1d\xa3\xf3\x38\xdd\xe0\xd5\x4e"
23986 "\x7b\xa7\x6e\x58\xa3\xf5\xbf\x0a",
23987 .klen = 32,
23988 .iv = "\x39\xf3\x3f\x2b\xf9\x64\x03\x33"
23989 "\xc7\xdd\x15\x91\xfb\xe6\xe2\x8d",
23990 .assoc = "\x49\xbc\xce\x92\x3d\x02\xad\xba"
23991 "\xe7\x13\x41\xb6\xf9\xaf\x13\x0f"
23992 "\xb2\x04\xf8\x7a\x5f\x30\x96\x5b"
23993 "\xdc\xbd\xdd\x44\x10\x25\x8f\x75"
23994 "\x75\x4d\xb9\x5b\x8e\x0a\x38\x13"
23995 "\x6f\x9f\x36\xe4\x3a\x3e\xac\xc9"
23996 "\x9d\x83\xde\xe5\x57\xfd\xe3\x0e"
23997 "\xb1\xa7\x1b\x44\x05\x67\xb7\x37",
23998 .alen = 64,
23999 .input = "\x58\x85\x5c\xfa\x81\xa1\x57\x40"
24000 "\x08\x4a\x6e\xda\xf8\x78\x44\x90"
24001 "\x7d\xb5\x7b\x9b\xa1\xd8\x76\x62"
24002 "\x0c\xc9\x15\x3b\xc7\x3c\x77\x2b"
24003 "\xf8\x78\xba\xa7\xa6\x0e\xbd\x52"
24004 "\x76\xa3\xdc\xbe\x6b\xa8\xb1\x2d"
24005 "\xa9\x1d\xd8\x4e\x31\x53\xab\x00"
24006 "\xa5\xa7\x01\x13\x04\x49\xf2\x04",
24007 .ilen = 64,
24008 .result = "\x28\xdd\xb9\x4a\x12\xc7\x0a\xe1"
24009 "\x58\x06\x1a\x9b\x8c\x67\xdf\xeb"
24010 "\x35\x35\x60\x9d\x06\x40\x65\xc1"
24011 "\x93\xe8\xb3\x82\x50\x29\xdd\xb5"
24012 "\x2b\xcb\xde\x18\x78\x6b\x42\xbe"
24013 "\x6d\x24\xd0\xb2\x7d\xd7\x08\x8f"
24014 "\x4a\x18\x98\xad\x8c\xf2\x97\xb4"
24015 "\xf4\x77\xe4\xbf\x41\x3b\xc4\x06"
24016 "\xce\x9e\x34\x81\xf0\x89\x11\x13"
24017 "\x02\x65\xa1\x7c\xdf\x07\x33\x06",
24018 .rlen = 80,
24019 }, {
24020 .key = "\x67\x4f\xeb\x62\xc5\x40\x01\xc7"
24021 "\x28\x80\x9a\xfe\xf6\x41\x74\x12"
24022 "\x48\x65\xfe\xbc\xe2\x80\x57\x68"
24023 "\x3c\xd4\x4d\x31\x7d\x54\x5f\xe1",
24024 .klen = 32,
24025 .iv = "\x76\x18\x79\xca\x09\xdf\xac\x4e"
24026 "\x48\xb7\xc7\x23\xf5\x0a\xa5\x93",
24027 .assoc = "\x85\xe1\x08\x32\x4d\x7e\x56\xd5"
24028 "\x68\xed\xf3\x47\xf3\xd3\xd6\x15"
24029 "\xdd\xc7\x04\xfe\x64\xd0\x18\x75"
24030 "\x9d\xeb\xbc\x1d\xea\x84\x2e\x4c"
24031 "\x83\xf9\xbe\x8a\xef\x1c\x4b\x10"
24032 "\x89\xaf\xcb\x4b\xfe\xe7\xc1\x58"
24033 "\xca\xea\xc6\x87\xc0\x53\x03\xd9"
24034 "\x80\xaa\xb2\x83\xff\xee\xa1\x6a"
24035 "\x04",
24036 .alen = 65,
24037 .input = "\x94\xaa\x96\x9a\x91\x1d\x00\x5c"
24038 "\x88\x24\x20\x6b\xf2\x9c\x06\x96"
24039 "\xa7\x77\x87\x1f\xa6\x78\xf8\x7b"
24040 "\xcd\xf6\xf4\x13\xa1\x9b\x16\x02"
24041 "\x07\x24\xbf\xd5\x08\x20\xd0\x4f"
24042 "\x90\xb3\x70\x24\x2f\x51\xc7\xbb"
24043 "\xd6\x84\xc0\xef\x9a\xa8\xca\xcc"
24044 "\x74\xab\x97\x53\xfe\xd0\xdb\x37"
24045 "\x37\x6a\x0e\x9f\x3f\xa3\x2a\xe3"
24046 "\x1b\x34\x6d\x51\x72\x2b\x17\xe7"
24047 "\x4d\xaa\x2c\x18\xda\xa3\x33\x89"
24048 "\x2a\x9f\xf4\xd2\xed\x76\x3d\x3f"
24049 "\x3c\x15\x9d\x8e\x4f\x3c\x27\xb0"
24050 "\x42\x3f\x2f\x8a\xd4\xc2\x10\xb2"
24051 "\x27\x7f\xe3\x34\x80\x02\x49\x4b"
24052 "\x07\x68\x22\x2a\x88\x25\x53\xb2"
24053 "\x2f",
24054 .ilen = 129,
24055 .result = "\x85\x39\x69\x35\xfb\xf9\xb0\xa6"
24056 "\x85\x43\x88\xd0\xd7\x78\x60\x19"
24057 "\x3e\x1f\xb1\xa4\xd6\xc5\x96\xec"
24058 "\xf7\x84\x85\xc7\x27\x0f\x74\x57"
24059 "\x28\x9e\xdd\x90\x3c\x43\x12\xc5"
24060 "\x51\x3d\x39\x8f\xa5\xf4\xe0\x0b"
24061 "\x57\x04\xf1\x6d\xfe\x9b\x84\x27"
24062 "\xe8\xeb\x4d\xda\x02\x0a\xc5\x49"
24063 "\x1a\x55\x5e\x50\x56\x4d\x94\xda"
24064 "\x20\xf8\x12\x54\x50\xb3\x11\xda"
24065 "\xed\x44\x27\x67\xd5\xd1\x8b\x4b"
24066 "\x38\x67\x56\x65\x59\xda\xe6\x97"
24067 "\x81\xae\x2f\x92\x3b\xae\x22\x1c"
24068 "\x91\x59\x38\x18\x00\xe8\xba\x92"
24069 "\x04\x19\x56\xdf\xb0\x82\xeb\x6f"
24070 "\x2e\xdb\x54\x3c\x4b\xbb\x60\x90"
24071 "\x4c\x50\x10\x62\xba\x7a\xb1\x68"
24072 "\x37\xd7\x87\x4e\xe4\x66\x09\x1f"
24073 "\xa5",
24074 .rlen = 145,
24075 }, {
24076 .key = "\xa3\x73\x24\x01\xd5\xbc\xaa\xe3"
24077 "\xa9\x5a\x4c\x90\xf0\x65\x37\x18"
24078 "\x72\x28\x0a\x40\xe7\x20\xd9\x82"
24079 "\xfe\x02\x2b\x09\x57\xb3\xfe\xb7",
24080 .klen = 32,
24081 .iv = "\xb3\x3d\xb3\x69\x19\x5b\x54\x6a"
24082 "\xc9\x91\x79\xb4\xef\x2e\x68\x99",
24083 .assoc = "\xc2\x06\x41\xd1\x5d\xfa\xff\xf1"
24084 "\xe9\xc7\xa5\xd9\xed\xf8\x98\x1b"
24085 "\x07\x89\x10\x82\x6a\x70\x9a\x8f"
24086 "\x5e\x19\x9b\xf5\xc5\xe3\xcd\x22"
24087 "\x92\xa5\xc2\xb8\x51\x2e\x5e\x0e"
24088 "\xa4\xbe\x5f\xb1\xc1\x90\xd7\xe7"
24089 "\xf7\x52\xae\x28\x29\xa8\x22\xa4"
24090 "\x4f\xae\x48\xc2\xfa\x75\x8b\x9e"
24091 "\xce\x83\x2a\x88\x07\x55\xbb\x89"
24092 "\xf6\xdf\xac\xdf\x83\x08\xbf\x7d"
24093 "\xac\x30\x8b\x8e\x02\xac\x00\xf1"
24094 "\x30\x46\xe1\xbc\x75\xbf\x49\xbb"
24095 "\x26\x4e\x29\xf0\x2f\x21\xc6\x13"
24096 "\x92\xd9\x3d\x11\xe4\x10\x00\x8e"
24097 "\xd4\xd4\x58\x65\xa6\x2b\xe3\x25"
24098 "\xb1\x8f\x15\x93\xe7\x71\xb9\x2c"
24099 "\x4b",
24100 .alen = 129,
24101 .input = "\xd1\xcf\xd0\x39\xa1\x99\xa9\x78"
24102 "\x09\xfe\xd2\xfd\xec\xc1\xc9\x9d"
24103 "\xd2\x39\x93\xa3\xab\x18\x7a\x95"
24104 "\x8f\x24\xd3\xeb\x7b\xfa\xb5\xd8"
24105 "\x15\xd1\xc3\x04\x69\x32\xe3\x4d"
24106 "\xaa\xc2\x04\x8b\xf2\xfa\xdc\x4a"
24107 "\x02\xeb\xa8\x90\x03\xfd\xea\x97"
24108 "\x43\xaf\x2e\x92\xf8\x57\xc5\x6a"
24109 "\x00",
24110 .ilen = 65,
24111 .result = "\x7d\xde\x53\x22\xe4\x23\x3b\x30"
24112 "\x78\xde\x35\x90\x7a\xd9\x0b\x93"
24113 "\xf6\x0e\x0b\xed\x40\xee\x10\x9c"
24114 "\x96\x3a\xd3\x34\xb2\xd0\x67\xcf"
24115 "\x63\x7f\x2d\x0c\xcf\x96\xec\x64"
24116 "\x1a\x87\xcc\x7d\x2c\x5e\x81\x4b"
24117 "\xd2\x8f\x4c\x7c\x00\xb1\xb4\xe0"
24118 "\x87\x4d\xb1\xbc\xd8\x78\x2c\x17"
24119 "\xf2\x3b\xd8\x28\x40\xe2\x76\xf6"
24120 "\x20\x13\x83\x46\xaf\xff\xe3\x0f"
24121 "\x72",
24122 .rlen = 81,
24123 }, {
24124 .key = "\xe0\x98\x5e\xa1\xe5\x38\x53\xff"
24125 "\x2a\x35\xfe\x21\xea\x8a\xfa\x1e"
24126 "\x9c\xea\x15\xc5\xec\xc0\x5b\x9b"
24127 "\xbf\x2f\x0a\xe1\x32\x12\x9d\x8e",
24128 .klen = 32,
24129 .iv = "\xef\x61\xed\x08\x29\xd7\xfd\x86"
24130 "\x4a\x6b\x2b\x46\xe9\x53\x2a\xa0",
24131 .assoc = "\xfe\x2a\x7b\x70\x6d\x75\xa7\x0d"
24132 "\x6a\xa2\x57\x6a\xe7\x1c\x5b\x21"
24133 "\x31\x4b\x1b\x07\x6f\x10\x1c\xa8"
24134 "\x20\x46\x7a\xce\x9f\x42\x6d\xf9",
24135 .alen = 32,
24136 .input = "\x0d\xf4\x09\xd8\xb1\x14\x51\x94"
24137 "\x8a\xd8\x84\x8e\xe6\xe5\x8c\xa3"
24138 "\xfc\xfc\x9e\x28\xb0\xb8\xfc\xaf"
24139 "\x50\x52\xb1\xc4\x55\x59\x55\xaf",
24140 .ilen = 32,
24141 .result = "\x5a\xcd\x8c\x57\xf2\x6a\xb6\xbe"
24142 "\x53\xc7\xaa\x9a\x60\x74\x9c\xc4"
24143 "\xa2\xc2\xd0\x6d\xe1\x03\x63\xdc"
24144 "\xbb\x51\x7e\x9c\x89\x73\xde\x4e"
24145 "\x24\xf8\x52\x7c\x15\x41\x0e\xba"
24146 "\x69\x0e\x36\x5f\x2f\x22\x8c",
24147 .rlen = 47,
24148 }, {
24149 .key = "\x1c\xbd\x98\x40\xf5\xb3\xfc\x1b"
24150 "\xaa\x0f\xb0\xb3\xe4\xae\xbc\x24"
24151 "\xc7\xac\x21\x49\xf1\x60\xdd\xb5"
24152 "\x80\x5d\xe9\xba\x0c\x71\x3c\x64",
24153 .klen = 32,
24154 .iv = "\x2c\x86\x26\xa8\x39\x52\xa6\xa2"
24155 "\xcb\x45\xdd\xd7\xe3\x77\xed\xa6",
24156 .assoc = "\x3b\x4f\xb5\x10\x7d\xf1\x50\x29"
24157 "\xeb\x7c\x0a\xfb\xe1\x40\x1e\x27"
24158 "\x5c\x0d\x27\x8b\x74\xb0\x9e\xc2"
24159 "\xe1\x74\x59\xa6\x79\xa1\x0c\xd0",
24160 .alen = 32,
24161 .input = "\x4a\x18\x43\x77\xc1\x90\xfa\xb0"
24162 "\x0b\xb2\x36\x20\xe0\x09\x4e\xa9"
24163 "\x26\xbe\xaa\xac\xb5\x58\x7e\xc8"
24164 "\x11\x7f\x90\x9c\x2f\xb8\xf4\x85",
24165 .ilen = 32,
24166 .result = "\x47\xd6\xce\x78\xd6\xbf\x4a\x51"
24167 "\xb8\xda\x92\x3c\xfd\xda\xac\x8e"
24168 "\x8d\x88\xd7\x4d\x90\xe5\xeb\xa1"
24169 "\xab\xd6\x7c\x76\xad\xea\x7d\x76"
24170 "\x53\xee\xb0\xcd\xd0\x02\xbb\x70"
24171 "\x5b\x6f\x7b\xe2\x8c\xe8",
24172 .rlen = 46,
24173 }, {
24174 .key = "\x59\xe1\xd2\xdf\x05\x2f\xa4\x37"
24175 "\x2b\xe9\x63\x44\xde\xd3\x7f\x2b"
24176 "\xf1\x6f\x2d\xcd\xf6\x00\x5f\xcf"
24177 "\x42\x8a\xc8\x92\xe6\xd0\xdc\x3b",
24178 .klen = 32,
24179 .iv = "\x68\xab\x60\x47\x49\xce\x4f\xbe"
24180 "\x4c\x20\x8f\x68\xdd\x9c\xb0\xac",
24181 .assoc = "\x77\x74\xee\xaf\x8d\x6d\xf9\x45"
24182 "\x6c\x56\xbc\x8d\xdb\x65\xe0\x2e"
24183 "\x86\xd0\x32\x0f\x79\x50\x20\xdb"
24184 "\xa2\xa1\x37\x7e\x53\x00\xab\xa6",
24185 .alen = 32,
24186 .input = "\x86\x3d\x7d\x17\xd1\x0c\xa3\xcc"
24187 "\x8c\x8d\xe8\xb1\xda\x2e\x11\xaf"
24188 "\x51\x80\xb5\x30\xba\xf8\x00\xe2"
24189 "\xd3\xad\x6f\x75\x09\x18\x93\x5c",
24190 .ilen = 32,
24191 .result = "\x9f\xa9\x2b\xa4\x8f\x00\x05\x2b"
24192 "\xe7\x68\x81\x51\xbb\xfb\xdf\x60"
24193 "\xbb\xac\xe8\xc1\xdc\x68\xae\x68"
24194 "\x3a\xcd\x7a\x06\x49\xfe\x80\x11"
24195 "\xe6\x61\x99\xe2\xdd\xbe\x2c\xbf",
24196 .rlen = 40,
24197 }, {
24198 .key = "\x96\x06\x0b\x7f\x15\xab\x4d\x53"
24199 "\xac\xc3\x15\xd6\xd8\xf7\x42\x31"
24200 "\x1b\x31\x38\x51\xfc\xa0\xe1\xe8"
24201 "\x03\xb8\xa7\x6b\xc0\x2f\x7b\x11",
24202 .klen = 32,
24203 .iv = "\xa5\xcf\x9a\xe6\x59\x4a\xf7\xd9"
24204 "\xcd\xfa\x41\xfa\xd7\xc0\x72\xb2",
24205 .assoc = "\xb4\x99\x28\x4e\x9d\xe8\xa2\x60"
24206 "\xed\x30\x6e\x1e\xd5\x89\xa3\x34"
24207 "\xb1\x92\x3e\x93\x7e\xf0\xa2\xf5"
24208 "\x64\xcf\x16\x57\x2d\x5f\x4a\x7d",
24209 .alen = 32,
24210 .input = "\xc3\x62\xb7\xb6\xe2\x87\x4c\xe7"
24211 "\x0d\x67\x9a\x43\xd4\x52\xd4\xb5"
24212 "\x7b\x43\xc1\xb5\xbf\x98\x82\xfc"
24213 "\x94\xda\x4e\x4d\xe4\x77\x32\x32",
24214 .ilen = 32,
24215 .result = "\xe2\x34\xfa\x25\xfd\xfb\x89\x5e"
24216 "\x5b\x4e\x0b\x15\x6e\x39\xfb\x0c"
24217 "\x73\xc7\xd9\x6b\xbe\xce\x9b\x70"
24218 "\xc7\x4f\x96\x16\x03\xfc\xea\xfb"
24219 "\x56",
24220 .rlen = 33,
24224 static const struct aead_testvec morus1280_dec_tv_template[] = {
24226 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
24227 "\x00\x00\x00\x00\x00\x00\x00\x00",
24228 .klen = 16,
24229 .iv = "\x0f\xc9\x8e\x67\x44\x9e\xaa\x86"
24230 "\x20\x36\x2c\x24\xfe\xc9\x30\x81",
24231 .assoc = "",
24232 .alen = 0,
24233 .input = "\x91\x85\x0f\xf5\x52\x9e\xce\xce"
24234 "\x65\x99\xc7\xbf\xd3\x76\xe8\x98",
24235 .ilen = 16,
24236 .result = "",
24237 .rlen = 0,
24238 }, {
24239 .key = "\x3c\x24\x39\x9f\x10\x7b\xa8\x1b"
24240 "\x80\xda\xb2\x91\xf9\x24\xc2\x06",
24241 .klen = 16,
24242 .iv = "\x4b\xed\xc8\x07\x54\x1a\x52\xa2"
24243 "\xa1\x10\xde\xb5\xf8\xed\xf3\x87",
24244 .assoc = "",
24245 .alen = 0,
24246 .input = "\x88\xc3\x4c\xf0\x2f\x43\x76\x13"
24247 "\x96\xda\x76\x34\x33\x4e\xd5\x39"
24248 "\x73",
24249 .ilen = 17,
24250 .result = "\x69",
24251 .rlen = 1,
24252 }, {
24253 .key = "\x79\x49\x73\x3e\x20\xf7\x51\x37"
24254 "\x01\xb4\x64\x22\xf3\x48\x85\x0c",
24255 .klen = 16,
24256 .iv = "\x88\x12\x01\xa6\x64\x96\xfb\xbe"
24257 "\x22\xea\x90\x47\xf2\x11\xb5\x8e",
24258 .assoc = "",
24259 .alen = 0,
24260 .input = "\x3e\x5c\x3b\x58\x3b\x7d\x2a\x22"
24261 "\x75\x0b\x24\xa6\x0e\xc3\xde\x52"
24262 "\x97\x0b\x64\xd4\xce\x90\x52\xf7"
24263 "\xef\xdb\x6a\x38\xd2\xa8\xa1\x0d"
24264 "\xe0\x61\x33\x24\xc6\x4d\x51\xbc"
24265 "\xa4\x21\x74\xcf\x19\x16\x59",
24266 .ilen = 47,
24267 .result = "\xa6\xa4\x1e\x76\xec\xd4\x50\xcc"
24268 "\x62\x58\xe9\x8f\xef\xa4\x17\x91"
24269 "\xb4\x96\x9f\x6b\xce\x38\xa5\x46"
24270 "\x13\x7d\x64\x93\xd7\x05\xf5",
24271 .rlen = 31,
24272 }, {
24273 .key = "\xb5\x6e\xad\xdd\x30\x72\xfa\x53"
24274 "\x82\x8e\x16\xb4\xed\x6d\x47\x12",
24275 .klen = 16,
24276 .iv = "\xc4\x37\x3b\x45\x74\x11\xa4\xda"
24277 "\xa2\xc5\x42\xd8\xec\x36\x78\x94",
24278 .assoc = "",
24279 .alen = 0,
24280 .input = "\x30\x82\x9c\x2b\x67\xcb\xf9\x1f"
24281 "\xde\x9f\x77\xb2\xda\x92\x61\x5c"
24282 "\x09\x0b\x2d\x9a\x26\xaa\x1c\x06"
24283 "\xab\x74\xb7\x2b\x95\x5f\x9f\xa1"
24284 "\x9a\xff\x50\xa0\xa2\xff\xc5\xad"
24285 "\x21\x8e\x84\x5c\x12\x61\xb2\xae",
24286 .ilen = 48,
24287 .result = "\xe2\xc9\x58\x15\xfc\x4f\xf8\xe8"
24288 "\xe3\x32\x9b\x21\xe9\xc8\xd9\x97"
24289 "\xde\x58\xab\xf0\xd3\xd8\x27\x60"
24290 "\xd5\xaa\x43\x6b\xb1\x64\x95\xa4",
24291 .rlen = 32,
24292 }, {
24293 .key = "\xf2\x92\xe6\x7d\x40\xee\xa3\x6f"
24294 "\x03\x68\xc8\x45\xe7\x91\x0a\x18",
24295 .klen = 16,
24296 .iv = "\x01\x5c\x75\xe5\x84\x8d\x4d\xf6"
24297 "\x23\x9f\xf4\x6a\xe6\x5a\x3b\x9a",
24298 .assoc = "",
24299 .alen = 0,
24300 .input = "\x67\x5d\x8e\x45\xc8\x39\xf5\x17"
24301 "\xc1\x1d\x2a\xdd\x88\x67\xda\x1f"
24302 "\x6d\xe8\x37\x28\x5a\xc1\x5e\x9f"
24303 "\xa6\xec\xc6\x92\x05\x4b\xc0\xa3"
24304 "\x63\xef\x88\xa4\x9b\x0a\x5c\xed"
24305 "\x2b\x6a\xac\x63\x52\xaa\x10\x94"
24306 "\xd0",
24307 .ilen = 49,
24308 .result = "\x1f\xee\x92\xb4\x0c\xcb\xa1\x04"
24309 "\x64\x0c\x4d\xb2\xe3\xec\x9c\x9d"
24310 "\x09\x1a\xb7\x74\xd8\x78\xa9\x79"
24311 "\x96\xd8\x22\x43\x8c\xc3\x34\x7b"
24312 "\xc4",
24313 .rlen = 33,
24314 }, {
24315 .key = "\x2e\xb7\x20\x1c\x50\x6a\x4b\x8b"
24316 "\x84\x42\x7a\xd7\xe1\xb5\xcd\x1f",
24317 .klen = 16,
24318 .iv = "\x3d\x80\xae\x84\x94\x09\xf6\x12"
24319 "\xa4\x79\xa6\xfb\xe0\x7f\xfd\xa0",
24320 .assoc = "",
24321 .alen = 0,
24322 .input = "\x7d\x61\x1a\x35\x20\xcc\x07\x88"
24323 "\x03\x98\x87\xcf\xc0\x6e\x4d\x19"
24324 "\xe3\xd4\x0b\xfb\x29\x8f\x49\x1a"
24325 "\x3a\x06\x77\xce\x71\x2c\xcd\xdd"
24326 "\xed\xf6\xc9\xbe\xa6\x3b\xb8\xfc"
24327 "\x6c\xbe\x77\xed\x74\x0e\x20\x85"
24328 "\xd0\x65\xde\x24\x6f\xe3\x25\xc5"
24329 "\xdf\x5b\x0f\xbd\x8a\x88\x78\xc9"
24330 "\xe5\x81\x37\xde\x84\x7a\xf6\x84"
24331 "\x99\x7a\x72\x9c\x54\x31\xa1",
24332 .ilen = 79,
24333 .result = "\x5c\x13\xcb\x54\x1c\x47\x4a\x1f"
24334 "\xe5\xe6\xff\x44\xdd\x11\x5f\xa3"
24335 "\x33\xdd\xc2\xf8\xdd\x18\x2b\x93"
24336 "\x57\x05\x01\x1c\x66\x22\xd3\x51"
24337 "\xd3\xdf\x18\xc9\x30\x66\xed\xb1"
24338 "\x96\x58\xd5\x8c\x64\x8c\x7c\xf5"
24339 "\x01\xd0\x74\x5f\x9b\xaa\xf6\xd1"
24340 "\xe6\x16\xa2\xac\xde\x47\x40",
24341 .rlen = 63,
24342 }, {
24343 .key = "\x6b\xdc\x5a\xbb\x60\xe5\xf4\xa6"
24344 "\x05\x1d\x2c\x68\xdb\xda\x8f\x25",
24345 .klen = 16,
24346 .iv = "\x7a\xa5\xe8\x23\xa4\x84\x9e\x2d"
24347 "\x25\x53\x58\x8c\xda\xa3\xc0\xa6",
24348 .assoc = "",
24349 .alen = 0,
24350 .input = "\x05\xc5\xb1\xf9\x1b\xb9\xab\x2c"
24351 "\xa5\x07\x12\xa7\x12\x39\x60\x66"
24352 "\x30\x81\x4a\x03\x78\x28\x45\x52"
24353 "\xd2\x2b\x24\xfd\x8b\xa5\xb7\x66"
24354 "\x6f\x45\xd7\x3b\x67\x6f\x51\xb9"
24355 "\xc0\x3d\x6c\xca\x1e\xae\xff\xb6"
24356 "\x79\xa9\xe4\x82\x5d\x4c\x2d\xdf"
24357 "\xeb\x71\x40\xc9\x2c\x40\x45\x6d"
24358 "\x73\x77\x01\xf3\x4f\xf3\x9d\x2a"
24359 "\x5d\x57\xa8\xa1\x18\xa2\xad\xcb",
24360 .ilen = 80,
24361 .result = "\x98\x37\x05\xf3\x2c\xc2\xf3\x3b"
24362 "\x66\xc0\xb1\xd5\xd7\x35\x21\xaa"
24363 "\x5d\x9f\xce\x7c\xe2\xb8\xad\xad"
24364 "\x19\x33\xe0\xf4\x40\x81\x72\x28"
24365 "\xe1\x8b\x1c\xf8\x91\x78\xff\xaf"
24366 "\xb0\x68\x69\xf2\x27\x35\x91\x84"
24367 "\x2e\x37\x5b\x00\x04\xff\x16\x9c"
24368 "\xb5\x19\x39\xeb\xd9\xcd\x29\x9a",
24369 .rlen = 64,
24370 }, {
24371 .key = "\xa7\x00\x93\x5b\x70\x61\x9d\xc2"
24372 "\x86\xf7\xde\xfa\xd5\xfe\x52\x2b",
24373 .klen = 16,
24374 .iv = "\xb6\xca\x22\xc3\xb4\x00\x47\x49"
24375 "\xa6\x2d\x0a\x1e\xd4\xc7\x83\xad",
24376 .assoc = "\xc5",
24377 .alen = 1,
24378 .input = "\x4d\xbf\x11\xac\x7f\x97\x0b\x2e"
24379 "\x89\x3b\x9d\x0f\x83\x1c\x08\xc3",
24380 .ilen = 16,
24381 .result = "",
24382 .rlen = 0,
24383 }, {
24384 .key = "\xe4\x25\xcd\xfa\x80\xdd\x46\xde"
24385 "\x07\xd1\x90\x8b\xcf\x23\x15\x31",
24386 .klen = 16,
24387 .iv = "\xf3\xee\x5c\x62\xc4\x7c\xf0\x65"
24388 "\x27\x08\xbd\xaf\xce\xec\x45\xb3",
24389 .assoc = "\x02\xb8\xea\xca\x09\x1b\x9a\xec"
24390 "\x47\x3e\xe9\xd4\xcc\xb5\x76\x34"
24391 "\xe8\x73\x62\x64\xab\x50\xd0\xda"
24392 "\x6b\x83\x66\xaf\x3e\x27\xc9",
24393 .alen = 31,
24394 .input = "\x5b\xc0\x8d\x54\xe4\xec\xbe\x38"
24395 "\x03\x12\xf9\xcc\x9e\x46\x42\x92",
24396 .ilen = 16,
24397 .result = "",
24398 .rlen = 0,
24399 }, {
24400 .key = "\x20\x4a\x07\x99\x91\x58\xee\xfa"
24401 "\x88\xab\x42\x1c\xc9\x47\xd7\x38",
24402 .klen = 16,
24403 .iv = "\x2f\x13\x95\x01\xd5\xf7\x99\x81"
24404 "\xa8\xe2\x6f\x41\xc8\x10\x08\xb9",
24405 .assoc = "\x3f\xdc\x24\x69\x19\x96\x43\x08"
24406 "\xc8\x18\x9b\x65\xc6\xd9\x39\x3b"
24407 "\x12\x35\x6e\xe8\xb0\xf0\x52\xf3"
24408 "\x2d\xb0\x45\x87\x18\x86\x68\xf6",
24409 .alen = 32,
24410 .input = "\x48\xc5\xc3\x4c\x40\x2e\x2f\xc2"
24411 "\x6d\x65\xe0\x67\x9c\x1d\xa0\xf0",
24412 .ilen = 16,
24413 .result = "",
24414 .rlen = 0,
24415 }, {
24416 .key = "\x5d\x6f\x41\x39\xa1\xd4\x97\x16"
24417 "\x09\x85\xf4\xae\xc3\x6b\x9a\x3e",
24418 .klen = 16,
24419 .iv = "\x6c\x38\xcf\xa1\xe5\x73\x41\x9d"
24420 "\x29\xbc\x21\xd2\xc2\x35\xcb\xbf",
24421 .assoc = "\x7b\x01\x5d\x08\x29\x12\xec\x24"
24422 "\x49\xf3\x4d\xf7\xc0\xfe\xfb\x41"
24423 "\x3c\xf8\x79\x6c\xb6\x90\xd4\x0d"
24424 "\xee\xde\x23\x60\xf2\xe5\x08\xcc"
24425 "\x97",
24426 .alen = 33,
24427 .input = "\x28\x64\x78\x51\x55\xd8\x56\x4a"
24428 "\x58\x3e\xf7\xbe\xee\x21\xfe\x94",
24429 .ilen = 16,
24430 .result = "",
24431 .rlen = 0,
24432 }, {
24433 .key = "\x99\x93\x7a\xd8\xb1\x50\x40\x31"
24434 "\x8a\x60\xa6\x3f\xbd\x90\x5d\x44",
24435 .klen = 16,
24436 .iv = "\xa8\x5c\x09\x40\xf5\xef\xea\xb8"
24437 "\xaa\x96\xd3\x64\xbc\x59\x8d\xc6",
24438 .assoc = "\xb8\x26\x97\xa8\x39\x8e\x94\x3f"
24439 "\xca\xcd\xff\x88\xba\x22\xbe\x47"
24440 "\x67\xba\x85\xf1\xbb\x30\x56\x26"
24441 "\xaf\x0b\x02\x38\xcc\x44\xa7\xa3"
24442 "\xa6\xbf\x31\x93\x60\xcd\xda\x63"
24443 "\x2c\xb1\xaa\x19\xc8\x19\xf8\xeb"
24444 "\x03\xa1\xe8\xbe\x37\x54\xec\xa2"
24445 "\xcd\x2c\x45\x58\xbd\x8e\x80",
24446 .alen = 63,
24447 .input = "\xb3\xa6\x00\x4e\x09\x20\xac\x21"
24448 "\x77\x72\x69\x76\x2d\x36\xe5\xc8",
24449 .ilen = 16,
24450 .result = "",
24451 .rlen = 0,
24452 }, {
24453 .key = "\xd6\xb8\xb4\x77\xc1\xcb\xe9\x4d"
24454 "\x0a\x3a\x58\xd1\xb7\xb4\x1f\x4a",
24455 .klen = 16,
24456 .iv = "\xe5\x81\x42\xdf\x05\x6a\x93\xd4"
24457 "\x2b\x70\x85\xf5\xb6\x7d\x50\xcc",
24458 .assoc = "\xf4\x4a\xd1\x47\x49\x09\x3d\x5b"
24459 "\x4b\xa7\xb1\x19\xb4\x46\x81\x4d"
24460 "\x91\x7c\x91\x75\xc0\xd0\xd8\x40"
24461 "\x71\x39\xe1\x10\xa6\xa3\x46\x7a"
24462 "\xb4\x6b\x35\xc2\xc1\xdf\xed\x60"
24463 "\x46\xc1\x3e\x7f\x8c\xc2\x0e\x7a"
24464 "\x30\x08\xd0\x5f\xa0\xaa\x0c\x6d"
24465 "\x9c\x2f\xdb\x97\xb8\x15\x69\x01",
24466 .alen = 64,
24467 .input = "\x65\x33\x7b\xa1\x63\xf4\x20\xdd"
24468 "\xe4\xb9\x4a\xaa\x9a\x21\xaa\x14",
24469 .ilen = 16,
24470 .result = "",
24471 .rlen = 0,
24472 }, {
24473 .key = "\x12\xdd\xee\x17\xd1\x47\x92\x69"
24474 "\x8b\x14\x0a\x62\xb1\xd9\xe2\x50",
24475 .klen = 16,
24476 .iv = "\x22\xa6\x7c\x7f\x15\xe6\x3c\xf0"
24477 "\xac\x4b\x37\x86\xb0\xa2\x13\xd2",
24478 .assoc = "\x31",
24479 .alen = 1,
24480 .input = "\x1d\x47\x17\x34\x86\xf5\x54\x1a"
24481 "\x6d\x28\xb8\x5d\x6c\xcf\xa0\xb9"
24482 "\xbf",
24483 .ilen = 17,
24484 .result = "\x40",
24485 .rlen = 1,
24486 }, {
24487 .key = "\x4f\x01\x27\xb6\xe1\xc3\x3a\x85"
24488 "\x0c\xee\xbc\xf4\xab\xfd\xa5\x57",
24489 .klen = 16,
24490 .iv = "\x5e\xcb\xb6\x1e\x25\x62\xe4\x0c"
24491 "\x2d\x25\xe9\x18\xaa\xc6\xd5\xd8",
24492 .assoc = "\x6d\x94\x44\x86\x69\x00\x8f\x93"
24493 "\x4d\x5b\x15\x3c\xa8\x8f\x06\x5a"
24494 "\xe6\x01\xa8\x7e\xca\x10\xdc\x73"
24495 "\xf4\x94\x9f\xc1\x5a\x61\x85",
24496 .alen = 31,
24497 .input = "\x78\x90\x52\xae\x0f\xf7\x2e\xef"
24498 "\x63\x09\x08\x58\xb5\x56\xbd\x72"
24499 "\x6e\x42\xcf\x27\x04\x7c\xdb\x92"
24500 "\x18\xe9\xa4\x33\x90\xba\x62\xb5"
24501 "\x70\xd3\x88\x9b\x4f\x05\xa7\x51"
24502 "\x85\x87\x17\x09\x42\xed\x4e",
24503 .ilen = 47,
24504 .result = "\x7c\x5d\xd3\xee\xad\x9f\x39\x1a"
24505 "\x6d\x92\x42\x61\xa7\x58\x37\xdb"
24506 "\xb0\xb2\x2b\x9f\x0b\xb8\xbd\x7a"
24507 "\x24\xa0\xd6\xb7\x11\x79\x6c",
24508 .rlen = 31,
24509 }, {
24510 .key = "\x8b\x26\x61\x55\xf1\x3e\xe3\xa1"
24511 "\x8d\xc8\x6e\x85\xa5\x21\x67\x5d",
24512 .klen = 16,
24513 .iv = "\x9b\xef\xf0\xbd\x35\xdd\x8d\x28"
24514 "\xad\xff\x9b\xa9\xa4\xeb\x98\xdf",
24515 .assoc = "\xaa\xb8\x7e\x25\x79\x7c\x37\xaf"
24516 "\xce\x36\xc7\xce\xa2\xb4\xc9\x60"
24517 "\x10\xc3\xb3\x02\xcf\xb0\x5e\x8d"
24518 "\xb5\xc2\x7e\x9a\x35\xc0\x24\xfd",
24519 .alen = 32,
24520 .input = "\x1d\x2c\x57\xe0\x50\x38\x3d\x41"
24521 "\x2e\x71\xc8\x3b\x92\x43\x58\xaf"
24522 "\x5a\xfb\xad\x8f\xd9\xd5\x8a\x5e"
24523 "\xdb\xf3\xcd\x3a\x2b\xe1\x2c\x1a"
24524 "\xb0\xed\xe3\x0c\x6e\xf9\xf2\xd6"
24525 "\x90\xe6\xb1\x0e\xa5\x8a\xac\xb7",
24526 .ilen = 48,
24527 .result = "\xb9\x82\x0c\x8d\xbd\x1b\xe2\x36"
24528 "\xee\x6c\xf4\xf2\xa1\x7d\xf9\xe2"
24529 "\xdb\x74\x36\x23\x11\x58\x3f\x93"
24530 "\xe5\xcd\xb5\x90\xeb\xd8\x0c\xb3",
24531 .rlen = 32,
24532 }, {
24533 .key = "\xc8\x4b\x9b\xf5\x01\xba\x8c\xbd"
24534 "\x0e\xa3\x21\x16\x9f\x46\x2a\x63",
24535 .klen = 16,
24536 .iv = "\xd7\x14\x29\x5d\x45\x59\x36\x44"
24537 "\x2e\xd9\x4d\x3b\x9e\x0f\x5b\xe5",
24538 .assoc = "\xe6\xdd\xb8\xc4\x89\xf8\xe0\xca"
24539 "\x4f\x10\x7a\x5f\x9c\xd8\x8b\x66"
24540 "\x3b\x86\xbf\x86\xd4\x50\xe0\xa7"
24541 "\x76\xef\x5c\x72\x0f\x1f\xc3\xd4"
24542 "\xee",
24543 .alen = 33,
24544 .input = "\x59\x10\x84\x1c\x83\x4c\x8b\xfc"
24545 "\xfd\x2e\x4b\x46\x84\xff\x78\x4e"
24546 "\x50\xda\x5c\xb9\x61\x1d\xf5\xb9"
24547 "\xfe\xbb\x7f\xae\x8c\xc1\x24\xbd"
24548 "\x8c\x6f\x1f\x9b\xce\xc6\xc1\x37"
24549 "\x08\x06\x5a\xe5\x96\x10\x95\xc2"
24550 "\x5e",
24551 .ilen = 49,
24552 .result = "\xf5\xa6\x46\x2c\xce\x97\x8a\x51"
24553 "\x6f\x46\xa6\x83\x9b\xa1\xbc\xe8"
24554 "\x05\x36\x42\xa7\x16\xf8\xc1\xad"
24555 "\xa7\xfb\x94\x68\xc5\x37\xab\x8a"
24556 "\x72",
24557 .rlen = 33,
24558 }, {
24559 .key = "\x05\x70\xd5\x94\x12\x36\x35\xd8"
24560 "\x8f\x7d\xd3\xa8\x99\x6a\xed\x69",
24561 .klen = 16,
24562 .iv = "\x14\x39\x63\xfc\x56\xd5\xdf\x5f"
24563 "\xaf\xb3\xff\xcc\x98\x33\x1d\xeb",
24564 .assoc = "\x23\x02\xf1\x64\x9a\x73\x89\xe6"
24565 "\xd0\xea\x2c\xf1\x96\xfc\x4e\x6d"
24566 "\x65\x48\xcb\x0a\xda\xf0\x62\xc0"
24567 "\x38\x1d\x3b\x4a\xe9\x7e\x62\xaa"
24568 "\xfd\xc9\x4a\xa9\xa9\x39\x4b\x54"
24569 "\xc8\x0e\x24\x7f\x5e\x10\x7a\x45"
24570 "\x10\x0b\x56\x85\xad\x54\xaa\x66"
24571 "\xa8\x43\xcd\xd4\x9b\xb7\xfa",
24572 .alen = 63,
24573 .input = "\x9a\x12\xbc\xdf\x72\xa8\x56\x22"
24574 "\x49\x2d\x07\x92\xfc\x3d\x6d\x5f"
24575 "\xef\x36\x19\xae\x91\xfa\xd6\x63"
24576 "\x46\xea\x8a\x39\x14\x21\xa6\x37"
24577 "\x18\xfc\x97\x3e\x16\xa5\x4d\x39"
24578 "\x45\x2e\x69\xcc\x9c\x5f\xdf\x6d"
24579 "\x5e\xa2\xbf\xac\x83\x32\x72\x52"
24580 "\x58\x58\x23\x40\xfd\xa5\xc2\xe6"
24581 "\xe9\x5a\x50\x98\x00\x58\xc9\x86"
24582 "\x4f\x20\x37\xdb\x7b\x22\xa3",
24583 .ilen = 79,
24584 .result = "\x32\xcb\x80\xcc\xde\x12\x33\x6d"
24585 "\xf0\x20\x58\x15\x95\xc6\x7f\xee"
24586 "\x2f\xf9\x4e\x2c\x1b\x98\x43\xc7"
24587 "\x68\x28\x73\x40\x9f\x96\x4a\x60"
24588 "\x80\xf4\x4b\xf4\xc1\x3d\xd0\x93"
24589 "\xcf\x12\xc9\x59\x8f\x7a\x7f\xa8"
24590 "\x1b\xa5\x50\xed\x87\xa9\x72\x59"
24591 "\x9c\x44\xb2\xa4\x99\x98\x34",
24592 .rlen = 63,
24593 }, {
24594 .key = "\x41\x94\x0e\x33\x22\xb1\xdd\xf4"
24595 "\x10\x57\x85\x39\x93\x8f\xaf\x70",
24596 .klen = 16,
24597 .iv = "\x50\x5d\x9d\x9b\x66\x50\x88\x7b"
24598 "\x30\x8e\xb1\x5e\x92\x58\xe0\xf1",
24599 .assoc = "\x5f\x27\x2b\x03\xaa\xef\x32\x02"
24600 "\x50\xc4\xde\x82\x90\x21\x11\x73"
24601 "\x8f\x0a\xd6\x8f\xdf\x90\xe4\xda"
24602 "\xf9\x4a\x1a\x23\xc3\xdd\x02\x81"
24603 "\x0b\x76\x4f\xd7\x0a\x4b\x5e\x51"
24604 "\xe3\x1d\xb9\xe5\x21\xb9\x8f\xd4"
24605 "\x3d\x72\x3e\x26\x16\xa9\xca\x32"
24606 "\x77\x47\x63\x14\x95\x3d\xe4\x34",
24607 .alen = 64,
24608 .input = "\xe6\xeb\x92\x5a\x5b\xf0\x2d\xbb"
24609 "\x23\xec\x35\xe3\xae\xc9\xfb\x0b"
24610 "\x90\x14\x46\xeb\xa8\x8d\xb0\x9b"
24611 "\x39\xda\x8b\x48\xec\xb2\x00\x4e"
24612 "\x80\x6f\x46\x4f\x9b\x1e\xbb\x35"
24613 "\xea\x5a\xbc\xa2\x36\xa5\x89\x45"
24614 "\xc2\xd6\xd7\x15\x0b\xf6\x6c\x56"
24615 "\xec\x99\x7d\x61\xb3\x15\x93\xed"
24616 "\x83\x1e\xd9\x48\x84\x0b\x37\xfe"
24617 "\x95\x74\x44\xd5\x54\xa6\x27\x06",
24618 .ilen = 80,
24619 .result = "\x6e\xf0\xba\x6b\xee\x8e\xdc\x89"
24620 "\x71\xfb\x0a\xa6\x8f\xea\x41\xf4"
24621 "\x5a\xbb\x59\xb0\x20\x38\xc5\xe0"
24622 "\x29\x56\x52\x19\x79\xf5\xe9\x37"
24623 "\x8f\xa1\x50\x23\x22\x4f\xe3\x91"
24624 "\xe9\x21\x5e\xbf\x52\x23\x95\x37"
24625 "\x48\x0c\x38\x8f\xf0\xff\x92\x24"
24626 "\x6b\x47\x49\xe3\x94\x1f\x1e\x01",
24627 .rlen = 64,
24628 }, {
24629 .key = "\x7e\xb9\x48\xd3\x32\x2d\x86\x10"
24630 "\x91\x31\x37\xcb\x8d\xb3\x72\x76",
24631 .klen = 16,
24632 .iv = "\x8d\x82\xd6\x3b\x76\xcc\x30\x97"
24633 "\xb1\x68\x63\xef\x8c\x7c\xa3\xf7",
24634 .assoc = "\x9c\x4b\x65\xa2\xba\x6b\xdb\x1e"
24635 "\xd1\x9e\x90\x13\x8a\x45\xd3\x79"
24636 "\xba\xcd\xe2\x13\xe4\x30\x66\xf4"
24637 "\xba\x78\xf9\xfb\x9d\x3c\xa1\x58"
24638 "\x1a\x22\x53\x05\x6b\x5c\x71\x4f"
24639 "\xfd\x2d\x4d\x4c\xe5\x62\xa5\x63"
24640 "\x6a\xda\x26\xc8\x7f\xff\xea\xfd"
24641 "\x46\x4a\xfa\x53\x8f\xc4\xcd\x68"
24642 "\x58",
24643 .alen = 65,
24644 .input = "\x89\x24\x27\x86\xdc\xd7\x6b\xd9"
24645 "\xd1\xcd\xdc\x16\xdd\x2c\xc1\xfb"
24646 "\x52\xb5\xb3\xab\x50\x99\x3f\xa0"
24647 "\x38\xa4\x74\xa5\x04\x15\x63\x05"
24648 "\x8f\x54\x81\x06\x5a\x6b\xa4\x63"
24649 "\x6d\xa7\x21\xcb\xff\x42\x30\x8e"
24650 "\x3b\xd1\xca\x3f\x4b\x1a\xb8\xc3"
24651 "\x42\x01\xe6\xbc\x75\x15\x87\xee"
24652 "\xc9\x8e\x65\x01\xd9\xd8\xb5\x9f"
24653 "\x48\x86\xa6\x5f\x2c\xc7\xb5\xb0"
24654 "\xed\x5d\x14\x7c\x3f\x40\xb1\x0b"
24655 "\x72\xef\x94\x8d\x7a\x85\x56\xe5"
24656 "\x56\x08\x15\x56\xba\xaf\xbd\xf0"
24657 "\x20\xef\xa0\xf6\xa9\xad\xa2\xc9"
24658 "\x1c\x3b\x28\x51\x7e\x77\xb2\x18"
24659 "\x4f\x61\x64\x37\x22\x36\x6d\x78"
24660 "\xed\xed\x35\xe8\x83\xa5\xec\x25"
24661 "\x6b\xff\x5f\x1a\x09\x96\x3d\xdc"
24662 "\x20",
24663 .ilen = 145,
24664 .result = "\xab\x14\xf3\x0a\xfe\x0a\x85\xa5"
24665 "\xf2\xd5\xbc\x38\x89\x0e\x04\xfb"
24666 "\x84\x7d\x65\x34\x25\xd8\x47\xfa"
24667 "\xeb\x83\x31\xf1\x54\x54\x89\x0d"
24668 "\x9d\x4d\x54\x51\x84\x61\xf6\x8e"
24669 "\x03\x31\xf2\x25\x16\xcc\xaa\xc6"
24670 "\x75\x73\x20\x30\x59\x54\xb2\xf0"
24671 "\x3a\x4b\xe0\x23\x8e\xa6\x08\x35"
24672 "\x8a\xdf\x27\xa0\xe4\x60\x99\xae"
24673 "\x8e\x43\xd9\x39\x7b\x10\x40\x67"
24674 "\x5c\x7e\xc9\x70\x63\x34\xca\x59"
24675 "\xfe\x86\xbc\xb7\x9c\x39\xf3\x6d"
24676 "\x6a\x41\x64\x6f\x16\x7f\x65\x7e"
24677 "\x89\x84\x68\xeb\xb0\x51\xbe\x55"
24678 "\x33\x16\x59\x6c\x3b\xef\x88\xad"
24679 "\x2f\xab\xbc\x25\x76\x87\x41\x2f"
24680 "\x36",
24681 .rlen = 129,
24682 }, {
24683 .key = "\xba\xde\x82\x72\x42\xa9\x2f\x2c"
24684 "\x12\x0b\xe9\x5c\x87\xd7\x35\x7c",
24685 .klen = 16,
24686 .iv = "\xc9\xa7\x10\xda\x86\x48\xd9\xb3"
24687 "\x32\x42\x15\x80\x85\xa1\x65\xfe",
24688 .assoc = "\xd8\x70\x9f\x42\xca\xe6\x83\x3a"
24689 "\x52\x79\x42\xa5\x84\x6a\x96\x7f"
24690 "\xe4\x8f\xed\x97\xe9\xd0\xe8\x0d"
24691 "\x7c\xa6\xd8\xd4\x77\x9b\x40\x2e"
24692 "\x28\xce\x57\x34\xcd\x6e\x84\x4c"
24693 "\x17\x3c\xe1\xb2\xa8\x0b\xbb\xf1"
24694 "\x96\x41\x0d\x69\xe8\x54\x0a\xc8"
24695 "\x15\x4e\x91\x92\x89\x4b\xb7\x9b"
24696 "\x21\xf7\x42\x89\xac\x12\x2a\x54"
24697 "\x69\xee\x18\xc7\x8d\xed\xe8\xfd"
24698 "\xbb\x04\x28\xe6\x8a\x3c\x98\xc1"
24699 "\x04\x2d\xa9\xa1\x24\x83\xff\xe9"
24700 "\x55\x7a\xf0\xd1\xf6\x63\x05\xe1"
24701 "\xd9\x1e\x75\x72\xc1\x9f\xae\x32"
24702 "\xe1\x6b\xcd\x9e\x61\x19\x23\x86"
24703 "\xd9\xd2\xaf\x8e\xd5\xd3\xa8\xa9"
24704 "\x51",
24705 .alen = 129,
24706 .input = "\x36\x78\xb9\x22\xde\x62\x35\x55"
24707 "\x1a\x7a\xf5\x45\xbc\xd7\x15\x82"
24708 "\x01\xe9\x5a\x07\xea\x46\xaf\x91"
24709 "\xcb\x73\xa5\xee\xe1\xb4\xbf\xc2"
24710 "\xdb\xd2\x9d\x59\xde\xfc\x83\x00"
24711 "\xf5\x46\xac\x97\xd5\x57\xa9\xb9"
24712 "\x1f\x8c\xe8\xca\x68\x8b\x91\x0c"
24713 "\x01\xbe\x0a\xaf\x7c\xf6\x67\xa4"
24714 "\xbf\xbc\x88\x3f\x5d\xd1\xf9\x19"
24715 "\x0f\x9d\xb2\xaf\xb9\x6e\x17\xdf"
24716 "\xa2",
24717 .ilen = 81,
24718 .result = "\xe8\x39\x2d\xaa\x0e\x85\x2d\xc1"
24719 "\x72\xaf\x6e\xc9\x82\x33\xc7\x01"
24720 "\xaf\x40\x70\xb8\x2a\x78\xc9\x14"
24721 "\xac\xb1\x10\xca\x2e\xb3\x28\xe4"
24722 "\xac\xfa\x58\x7f\xe5\x73\x09\x8c"
24723 "\x1d\x40\x87\x8c\xd9\x75\xc0\x55"
24724 "\xa2\xda\x07\xd1\xc2\xa9\xd1\xbb"
24725 "\x09\x4f\x77\x62\x88\x2d\xf2\x68"
24726 "\x54",
24727 .rlen = 65,
24728 }, {
24729 .key = "\xf7\x02\xbb\x11\x52\x24\xd8\x48"
24730 "\x93\xe6\x9b\xee\x81\xfc\xf7\x82",
24731 .klen = 16,
24732 .iv = "\x06\xcc\x4a\x79\x96\xc3\x82\xcf"
24733 "\xb3\x1c\xc7\x12\x7f\xc5\x28\x04",
24734 .assoc = "\x15\x95\xd8\xe1\xda\x62\x2c\x56"
24735 "\xd3\x53\xf4\x36\x7e\x8e\x59\x85"
24736 "\x0e\x51\xf9\x1c\xee\x70\x6a\x27"
24737 "\x3d\xd3\xb7\xac\x51\xfa\xdf\x05",
24738 .alen = 32,
24739 .input = "\x08\x1b\x95\x0e\x41\x95\x02\x4b"
24740 "\x9c\xbb\xa8\xd0\x7c\xd3\x44\x6e"
24741 "\x89\x14\x33\x70\x0a\xbc\xea\x39"
24742 "\x88\xaa\x2b\xd5\x73\x11\x55\xf5"
24743 "\x33\x33\x9c\xd7\x42\x34\x49\x8e"
24744 "\x2f\x03\x30\x05\x47\xaf\x34",
24745 .ilen = 47,
24746 .result = "\x24\x5e\x67\x49\x1e\x01\xd6\xdd"
24747 "\xf3\x89\x20\x5b\x7c\x57\x89\x07"
24748 "\xd9\x02\x7c\x3d\x2f\x18\x4b\x2d"
24749 "\x6e\xde\xee\xa2\x08\x12\xc7\xba",
24750 .rlen = 32,
24751 }, {
24752 .key = "\x33\x27\xf5\xb1\x62\xa0\x80\x63"
24753 "\x14\xc0\x4d\x7f\x7b\x20\xba\x89",
24754 .klen = 16,
24755 .iv = "\x42\xf0\x84\x19\xa6\x3f\x2b\xea"
24756 "\x34\xf6\x79\xa3\x79\xe9\xeb\x0a",
24757 .assoc = "\x51\xb9\x12\x80\xea\xde\xd5\x71"
24758 "\x54\x2d\xa6\xc8\x78\xb2\x1b\x8c"
24759 "\x39\x14\x05\xa0\xf3\x10\xec\x41"
24760 "\xff\x01\x95\x84\x2b\x59\x7f\xdb",
24761 .alen = 32,
24762 .input = "\x97\xca\xf4\xe0\x8d\x89\xbf\x68"
24763 "\x0c\x60\xb9\x27\xdf\xaa\x41\xc6"
24764 "\x25\xd8\xf7\x1f\x10\x15\x48\x61"
24765 "\x4c\x95\x00\xdf\x51\x9b\x7f\xe6"
24766 "\x24\x40\x9e\xbe\x3b\xeb\x1b\x98"
24767 "\xb9\x9c\xe5\xef\xf2\x05",
24768 .ilen = 46,
24769 .result = "\x61\x83\xa0\xe8\x2e\x7d\x7f\xf8"
24770 "\x74\x63\xd2\xec\x76\x7c\x4c\x0d"
24771 "\x03\xc4\x88\xc1\x35\xb8\xcd\x47"
24772 "\x2f\x0c\xcd\x7a\xe2\x71\x66\x91",
24773 .rlen = 32,
24774 }, {
24775 .key = "\x70\x4c\x2f\x50\x72\x1c\x29\x7f"
24776 "\x95\x9a\xff\x10\x75\x45\x7d\x8f",
24777 .klen = 16,
24778 .iv = "\x7f\x15\xbd\xb8\xb6\xba\xd3\x06"
24779 "\xb5\xd1\x2b\x35\x73\x0e\xad\x10",
24780 .assoc = "\x8e\xde\x4c\x20\xfa\x59\x7e\x8d"
24781 "\xd5\x07\x58\x59\x72\xd7\xde\x92"
24782 "\x63\xd6\x10\x24\xf8\xb0\x6e\x5a"
24783 "\xc0\x2e\x74\x5d\x06\xb8\x1e\xb2",
24784 .alen = 32,
24785 .input = "\x63\x4c\x2a\x8e\xb4\x6b\x63\x0d"
24786 "\xb5\xec\x9b\x4e\x12\x23\xa3\xcf"
24787 "\x1a\x5a\x70\x15\x5a\x10\x40\x51"
24788 "\xca\x47\x4c\x9d\xc9\x97\xf4\x77"
24789 "\xdb\xc8\x10\x2d\xdc\x65\x20\x3f",
24790 .ilen = 40,
24791 .result = "\x9d\xa7\xda\x88\x3e\xf8\x28\x14"
24792 "\xf5\x3e\x85\x7d\x70\xa0\x0f\x13"
24793 "\x2e\x86\x93\x45\x3a\x58\x4f\x61"
24794 "\xf0\x3a\xac\x53\xbc\xd0\x06\x68",
24795 .rlen = 32,
24796 }, {
24797 .key = "\xac\x70\x69\xef\x82\x97\xd2\x9b"
24798 "\x15\x74\xb1\xa2\x6f\x69\x3f\x95",
24799 .klen = 16,
24800 .iv = "\xbb\x3a\xf7\x57\xc6\x36\x7c\x22"
24801 "\x36\xab\xde\xc6\x6d\x32\x70\x17",
24802 .assoc = "\xcb\x03\x85\xbf\x0a\xd5\x26\xa9"
24803 "\x56\xe1\x0a\xeb\x6c\xfb\xa1\x98"
24804 "\x8d\x98\x1c\xa8\xfe\x50\xf0\x74"
24805 "\x81\x5c\x53\x35\xe0\x17\xbd\x88",
24806 .alen = 32,
24807 .input = "\xf1\x62\x44\xc7\x5f\x19\xca\x43"
24808 "\x47\x2c\xaf\x68\x82\xbd\x51\xef"
24809 "\x3d\x65\xd8\x45\x2d\x06\x07\x78"
24810 "\x08\x2e\xb3\x23\xcd\x81\x12\x55"
24811 "\x1a",
24812 .ilen = 33,
24813 .result = "\xda\xcc\x14\x27\x4e\x74\xd1\x30"
24814 "\x76\x18\x37\x0f\x6a\xc4\xd1\x1a"
24815 "\x58\x49\x9f\xc9\x3f\xf8\xd1\x7a"
24816 "\xb2\x67\x8b\x2b\x96\x2f\xa5\x3e",
24817 .rlen = 32,
24818 }, {
24819 .key = "\xe9\x95\xa2\x8f\x93\x13\x7b\xb7"
24820 "\x96\x4e\x63\x33\x69\x8d\x02\x9b"
24821 "\x23\xf9\x22\xeb\x80\xa0\xb1\x81"
24822 "\xe2\x73\xc3\x21\x4d\x47\x8d\xf4",
24823 .klen = 32,
24824 .iv = "\xf8\x5e\x31\xf7\xd7\xb2\x25\x3e"
24825 "\xb7\x85\x90\x58\x67\x57\x33\x1d",
24826 .assoc = "",
24827 .alen = 0,
24828 .input = "\xdf\x2f\x83\xc0\x45\x4a\x2c\xcf"
24829 "\xb9\xd2\x41\xf6\x80\xa1\x52\x70",
24830 .ilen = 16,
24831 .result = "",
24832 .rlen = 0,
24833 }, {
24834 .key = "\x25\xba\xdc\x2e\xa3\x8f\x24\xd3"
24835 "\x17\x29\x15\xc5\x63\xb2\xc5\xa1"
24836 "\x4d\xbc\x2d\x6f\x85\x40\x33\x9a"
24837 "\xa3\xa0\xa1\xfa\x27\xa6\x2c\xca",
24838 .klen = 32,
24839 .iv = "\x34\x83\x6a\x96\xe7\x2d\xce\x5a"
24840 "\x38\x5f\x42\xe9\x61\x7b\xf5\x23",
24841 .assoc = "",
24842 .alen = 0,
24843 .input = "\x01\xd8\x55\x3c\xc0\x5a\x4b\xc7"
24844 "\x01\xf4\x08\xe3\x0d\xf7\xf0\x78"
24845 "\x53",
24846 .ilen = 17,
24847 .result = "\x53",
24848 .rlen = 1,
24849 }, {
24850 .key = "\x62\xdf\x16\xcd\xb3\x0a\xcc\xef"
24851 "\x98\x03\xc7\x56\x5d\xd6\x87\xa8"
24852 "\x77\x7e\x39\xf3\x8a\xe0\xb5\xb4"
24853 "\x65\xce\x80\xd2\x01\x05\xcb\xa1",
24854 .klen = 32,
24855 .iv = "\x71\xa8\xa4\x35\xf7\xa9\x76\x75"
24856 "\xb8\x39\xf4\x7a\x5b\x9f\xb8\x29",
24857 .assoc = "",
24858 .alen = 0,
24859 .input = "\xc2\x4b\x41\x0f\x2d\xb9\x62\x07"
24860 "\xff\x8e\x74\xf8\xa1\xa6\xd5\x37"
24861 "\xa5\x64\x31\x5c\xca\x73\x9b\x43"
24862 "\xe6\x70\x63\x46\x95\xcb\xf7\xb5"
24863 "\x20\x8c\x75\x7a\x2a\x17\x2f\xa9"
24864 "\xb8\x4d\x11\x42\xd1\xf8\xf1",
24865 .ilen = 47,
24866 .result = "\x8f\x3a\xc1\x05\x7f\xe7\xcb\x83"
24867 "\xf9\xa6\x4d\xc3\x58\x31\x19\x2c"
24868 "\xd7\x90\xc2\x56\x4e\xd8\x57\xc7"
24869 "\xf6\xf0\x27\xb4\x25\x4c\x83",
24870 .rlen = 31,
24871 }, {
24872 .key = "\x9e\x03\x4f\x6d\xc3\x86\x75\x0a"
24873 "\x19\xdd\x79\xe8\x57\xfb\x4a\xae"
24874 "\xa2\x40\x45\x77\x90\x80\x37\xce"
24875 "\x26\xfb\x5f\xaa\xdb\x64\x6b\x77",
24876 .klen = 32,
24877 .iv = "\xae\xcc\xde\xd5\x07\x25\x1f\x91"
24878 "\x39\x14\xa6\x0c\x55\xc4\x7b\x30",
24879 .assoc = "",
24880 .alen = 0,
24881 .input = "\xbb\x01\x7c\xd1\x2c\x33\x7b\x37"
24882 "\x0a\xee\xc4\x30\x19\xd7\x3a\x6f"
24883 "\xf8\x2b\x67\xf5\x3b\x84\x87\x2a"
24884 "\xfb\x07\x7a\x82\xb5\xe4\x85\x26"
24885 "\x1e\xa8\xe5\x04\x54\xce\xe5\x5f"
24886 "\xb5\x3f\xc1\xd5\x7f\xbd\xd2\xa6",
24887 .ilen = 48,
24888 .result = "\xcc\x5f\xfb\xa4\x8f\x63\x74\x9f"
24889 "\x7a\x81\xff\x55\x52\x56\xdc\x33"
24890 "\x01\x52\xcd\xdb\x53\x78\xd9\xe1"
24891 "\xb7\x1d\x06\x8d\xff\xab\x22\x98",
24892 .rlen = 32,
24893 }, {
24894 .key = "\xdb\x28\x89\x0c\xd3\x01\x1e\x26"
24895 "\x9a\xb7\x2b\x79\x51\x1f\x0d\xb4"
24896 "\xcc\x03\x50\xfc\x95\x20\xb9\xe7"
24897 "\xe8\x29\x3e\x83\xb5\xc3\x0a\x4e",
24898 .klen = 32,
24899 .iv = "\xea\xf1\x18\x74\x17\xa0\xc8\xad"
24900 "\xba\xee\x58\x9d\x4f\xe8\x3d\x36",
24901 .assoc = "",
24902 .alen = 0,
24903 .input = "\xc2\xf4\x40\x55\xf9\x59\xff\x73"
24904 "\x08\xf5\x98\x92\x0c\x7b\x35\x9a"
24905 "\xa8\xf4\x42\x7e\x6f\x93\xca\x22"
24906 "\x23\x06\x1e\xf8\x89\x22\xf4\x46"
24907 "\x7c\x7c\x67\x75\xab\xe5\x75\xaa"
24908 "\x15\xd7\x83\x19\xfd\x31\x59\x5b"
24909 "\x32",
24910 .ilen = 49,
24911 .result = "\x08\x84\x34\x44\x9f\xde\x1c\xbb"
24912 "\xfb\x5b\xb1\xe6\x4c\x7a\x9f\x39"
24913 "\x2c\x14\xd9\x5f\x59\x18\x5b\xfb"
24914 "\x79\x4b\xe5\x65\xd9\x0a\xc1\x6f"
24915 "\x2e",
24916 .rlen = 33,
24917 }, {
24918 .key = "\x17\x4d\xc3\xab\xe3\x7d\xc7\x42"
24919 "\x1b\x91\xdd\x0a\x4b\x43\xcf\xba"
24920 "\xf6\xc5\x5c\x80\x9a\xc0\x3b\x01"
24921 "\xa9\x56\x1d\x5b\x8f\x22\xa9\x25",
24922 .klen = 32,
24923 .iv = "\x27\x16\x51\x13\x27\x1c\x71\xc9"
24924 "\x3b\xc8\x0a\x2f\x49\x0c\x00\x3c",
24925 .assoc = "",
24926 .alen = 0,
24927 .input = "\xc9\x82\x3b\x4b\x87\x84\xa5\xdb"
24928 "\xa0\x8c\xd3\x3e\x7f\x8d\xe8\x28"
24929 "\x2a\xdc\xfa\x01\x84\x87\x9a\x70"
24930 "\x81\x75\x37\x0a\xd2\x75\xa9\xb6"
24931 "\x21\x72\xee\x7e\x65\x95\xe5\xcc"
24932 "\x01\xb7\x39\xa6\x51\x15\xca\xff"
24933 "\x61\xdc\x97\x38\xcc\xf4\xca\xc7"
24934 "\x83\x9b\x05\x11\x72\x60\xf0\xb4"
24935 "\x7e\x06\xab\x0a\xc0\xbb\x59\x23"
24936 "\xaa\x2d\xfc\x4e\x35\x05\x59",
24937 .ilen = 79,
24938 .result = "\x45\xa8\x6e\xe3\xaf\x5a\xc5\xd7"
24939 "\x7c\x35\x63\x77\x46\x9f\x61\x3f"
24940 "\x56\xd7\xe4\xe3\x5e\xb8\xdc\x14"
24941 "\x3a\x79\xc4\x3e\xb3\x69\x61\x46"
24942 "\x3c\xb6\x83\x4e\xb4\x26\xc7\x73"
24943 "\x22\xda\x52\x8b\x7d\x11\x98\xea"
24944 "\x62\xe1\x14\x1e\xdc\xfe\x0f\xad"
24945 "\x20\x76\x5a\xdc\x4e\x71\x13",
24946 .rlen = 63,
24947 }, {
24948 .key = "\x54\x71\xfd\x4b\xf3\xf9\x6f\x5e"
24949 "\x9c\x6c\x8f\x9c\x45\x68\x92\xc1"
24950 "\x21\x87\x67\x04\x9f\x60\xbd\x1b"
24951 "\x6a\x84\xfc\x34\x6a\x81\x48\xfb",
24952 .klen = 32,
24953 .iv = "\x63\x3b\x8b\xb3\x37\x98\x1a\xe5"
24954 "\xbc\xa2\xbc\xc0\x43\x31\xc2\x42",
24955 .assoc = "",
24956 .alen = 0,
24957 .input = "\x11\x7c\x7d\xef\xce\x29\x95\xec"
24958 "\x7e\x9f\x42\xa6\x26\x07\xa1\x75"
24959 "\x2f\x4e\x09\x9a\xf6\x6b\xc2\xfa"
24960 "\x0d\xd0\x17\xdc\x25\x1e\x9b\xdc"
24961 "\x5f\x8c\x1c\x60\x15\x4f\x9b\x20"
24962 "\x7b\xff\xcd\x82\x60\x84\xf4\xa5"
24963 "\x20\x9a\x05\x19\x5b\x02\x0a\x72"
24964 "\x43\x11\x26\x58\xcf\xc5\x41\xcf"
24965 "\x13\xcc\xde\x32\x92\xfa\x86\xf2"
24966 "\xaf\x16\xe8\x8f\xca\xb6\xfd\x54",
24967 .ilen = 80,
24968 .result = "\x81\xcd\xa8\x82\xbf\xd6\x6e\xf3"
24969 "\xfd\x0f\x15\x09\x40\xc3\x24\x45"
24970 "\x81\x99\xf0\x67\x63\x58\x5e\x2e"
24971 "\xfb\xa6\xa3\x16\x8d\xc8\x00\x1c"
24972 "\x4b\x62\x87\x7c\x15\x38\xda\x70"
24973 "\x3d\xea\xe7\xf2\x40\xba\xae\x79"
24974 "\x8f\x48\xfc\xbf\x45\x53\x2e\x78"
24975 "\xef\x79\xf0\x1b\x49\xf7\xfd\x9c",
24976 .rlen = 64,
24977 }, {
24978 .key = "\x90\x96\x36\xea\x03\x74\x18\x7a"
24979 "\x1d\x46\x42\x2d\x3f\x8c\x54\xc7"
24980 "\x4b\x4a\x73\x89\xa4\x00\x3f\x34"
24981 "\x2c\xb1\xdb\x0c\x44\xe0\xe8\xd2",
24982 .klen = 32,
24983 .iv = "\xa0\x5f\xc5\x52\x47\x13\xc2\x01"
24984 "\x3d\x7c\x6e\x52\x3d\x55\x85\x48",
24985 .assoc = "\xaf",
24986 .alen = 1,
24987 .input = "\x9b\xc5\x3b\x20\x0a\x88\x56\xbe"
24988 "\x69\xdf\xc4\xc4\x02\x46\x3a\xf0",
24989 .ilen = 16,
24990 .result = "",
24991 .rlen = 0,
24992 }, {
24993 .key = "\xcd\xbb\x70\x89\x13\xf0\xc1\x95"
24994 "\x9e\x20\xf4\xbf\x39\xb1\x17\xcd"
24995 "\x76\x0c\x7f\x0d\xa9\xa0\xc1\x4e"
24996 "\xed\xdf\xb9\xe4\x1e\x3f\x87\xa8",
24997 .klen = 32,
24998 .iv = "\xdc\x84\xfe\xf1\x58\x8f\x6b\x1c"
24999 "\xbe\x57\x20\xe3\x37\x7a\x48\x4f",
25000 .assoc = "\xeb\x4d\x8d\x59\x9c\x2e\x15\xa3"
25001 "\xde\x8d\x4d\x07\x36\x43\x78\xd0"
25002 "\x0b\x6d\x84\x4f\x2c\xf0\x82\x5b"
25003 "\x4e\xf6\x29\xd1\x8b\x6f\x56",
25004 .alen = 31,
25005 .input = "\xe0\x6d\xa1\x07\x98\x2f\x40\x2d"
25006 "\x2e\x9a\xd6\x61\x43\xc0\x74\x69",
25007 .ilen = 16,
25008 .result = "",
25009 .rlen = 0,
25010 }, {
25011 .key = "\x0a\xe0\xaa\x29\x24\x6c\x6a\xb1"
25012 "\x1f\xfa\xa6\x50\x33\xd5\xda\xd3"
25013 "\xa0\xce\x8a\x91\xae\x40\x43\x68"
25014 "\xae\x0d\x98\xbd\xf8\x9e\x26\x7f",
25015 .klen = 32,
25016 .iv = "\x19\xa9\x38\x91\x68\x0b\x14\x38"
25017 "\x3f\x31\xd2\x74\x31\x9e\x0a\x55",
25018 .assoc = "\x28\x72\xc7\xf8\xac\xaa\xbe\xbf"
25019 "\x5f\x67\xff\x99\x30\x67\x3b\xd6"
25020 "\x35\x2f\x90\xd3\x31\x90\x04\x74"
25021 "\x0f\x23\x08\xa9\x65\xce\xf6\xea",
25022 .alen = 32,
25023 .input = "\xb9\x57\x13\x3e\x82\x31\x61\x65"
25024 "\x0d\x7f\x6c\x96\x93\x5c\x50\xe2",
25025 .ilen = 16,
25026 .result = "",
25027 .rlen = 0,
25028 }, {
25029 .key = "\x46\x04\xe3\xc8\x34\xe7\x12\xcd"
25030 "\xa0\xd4\x58\xe2\x2d\xf9\x9c\xda"
25031 "\xca\x91\x96\x15\xb4\xe0\xc5\x81"
25032 "\x70\x3a\x77\x95\xd2\xfd\xc5\x55",
25033 .klen = 32,
25034 .iv = "\x55\xcd\x72\x30\x78\x86\xbd\x54"
25035 "\xc0\x0b\x84\x06\x2b\xc2\xcd\x5b",
25036 .assoc = "\x64\x97\x00\x98\xbc\x25\x67\xdb"
25037 "\xe0\x41\xb1\x2a\x2a\x8c\xfe\xdd"
25038 "\x5f\xf2\x9c\x58\x36\x30\x86\x8e"
25039 "\xd1\x51\xe6\x81\x3f\x2d\x95\xc1"
25040 "\x01",
25041 .alen = 33,
25042 .input = "\x81\x96\x34\xde\xbb\x36\xdd\x3e"
25043 "\x4e\x5e\xcb\x44\x21\xb8\x3f\xf1",
25044 .ilen = 16,
25045 .result = "",
25046 .rlen = 0,
25047 }, {
25048 .key = "\x83\x29\x1d\x67\x44\x63\xbb\xe9"
25049 "\x20\xaf\x0a\x73\x27\x1e\x5f\xe0"
25050 "\xf5\x53\xa1\x9a\xb9\x80\x47\x9b"
25051 "\x31\x68\x56\x6e\xac\x5c\x65\x2c",
25052 .klen = 32,
25053 .iv = "\x92\xf2\xac\xcf\x88\x02\x65\x70"
25054 "\x41\xe5\x36\x97\x25\xe7\x90\x61",
25055 .assoc = "\xa1\xbb\x3a\x37\xcc\xa1\x10\xf7"
25056 "\x61\x1c\x63\xbc\x24\xb0\xc0\xe3"
25057 "\x8a\xb4\xa7\xdc\x3b\xd0\x08\xa8"
25058 "\x92\x7f\xc5\x5a\x19\x8c\x34\x97"
25059 "\x0f\x95\x9b\x18\xe4\x8d\xb4\x24"
25060 "\xb9\x33\x28\x18\xe1\x9d\x14\xe0"
25061 "\x64\xb2\x89\x7d\x78\xa8\x05\x7e"
25062 "\x07\x8c\xfc\x88\x2d\xb8\x53",
25063 .alen = 63,
25064 .input = "\x2e\x99\xb6\x79\x57\x56\x80\x36"
25065 "\x8e\xc4\x1c\x12\x7d\x71\x36\x0c",
25066 .ilen = 16,
25067 .result = "",
25068 .rlen = 0,
25069 }, {
25070 .key = "\xbf\x4e\x57\x07\x54\xdf\x64\x05"
25071 "\xa1\x89\xbc\x04\x21\x42\x22\xe6"
25072 "\x1f\x15\xad\x1e\xbe\x20\xc9\xb4"
25073 "\xf3\x95\x35\x46\x86\xbb\x04\x03",
25074 .klen = 32,
25075 .iv = "\xce\x17\xe5\x6f\x98\x7e\x0e\x8c"
25076 "\xc2\xbf\xe8\x29\x1f\x0b\x52\x68",
25077 .assoc = "\xdd\xe0\x74\xd6\xdc\x1d\xb8\x13"
25078 "\xe2\xf6\x15\x4d\x1e\xd4\x83\xe9"
25079 "\xb4\x76\xb3\x60\x40\x70\x8a\xc1"
25080 "\x53\xac\xa4\x32\xf3\xeb\xd3\x6e"
25081 "\x1e\x42\xa0\x46\x45\x9f\xc7\x22"
25082 "\xd3\x43\xbc\x7e\xa5\x47\x2a\x6f"
25083 "\x91\x19\x70\x1e\xe1\xfe\x25\x49"
25084 "\xd6\x8f\x93\xc7\x28\x3f\x3d\x03",
25085 .alen = 64,
25086 .input = "\x7b\x25\x3d\x47\xd4\xa7\x08\xce"
25087 "\x3b\x89\x40\x36\xba\x6d\x0e\xa2",
25088 .ilen = 16,
25089 .result = "",
25090 .rlen = 0,
25091 }, {
25092 .key = "\xfc\x72\x90\xa6\x64\x5a\x0d\x21"
25093 "\x22\x63\x6e\x96\x1b\x67\xe4\xec"
25094 "\x49\xd7\xb9\xa2\xc3\xc0\x4b\xce"
25095 "\xb4\xc3\x14\x1e\x61\x1a\xa3\xd9",
25096 .klen = 32,
25097 .iv = "\x0b\x3c\x1f\x0e\xa8\xf9\xb7\xa7"
25098 "\x42\x9a\x9a\xba\x19\x30\x15\x6e",
25099 .assoc = "\x1a",
25100 .alen = 1,
25101 .input = "\xe6\x09\x6f\x95\x9a\x18\xc8\xf6"
25102 "\x17\x75\x81\x16\xdf\x26\xff\x67"
25103 "\x92",
25104 .ilen = 17,
25105 .result = "\x29",
25106 .rlen = 1,
25107 }, {
25108 .key = "\x38\x97\xca\x45\x74\xd6\xb6\x3c"
25109 "\xa3\x3d\x20\x27\x15\x8b\xa7\xf2"
25110 "\x74\x9a\xc4\x27\xc8\x60\xcd\xe8"
25111 "\x75\xf0\xf2\xf7\x3b\x79\x42\xb0",
25112 .klen = 32,
25113 .iv = "\x47\x60\x59\xad\xb8\x75\x60\xc3"
25114 "\xc3\x74\x4c\x4c\x13\x54\xd8\x74",
25115 .assoc = "\x56\x29\xe7\x15\xfc\x14\x0a\x4a"
25116 "\xe4\xaa\x79\x70\x12\x1d\x08\xf6"
25117 "\x09\xfb\xca\x69\x4b\xb0\x8e\xf5"
25118 "\xd6\x07\x62\xe3\xa8\xa9\x12",
25119 .alen = 31,
25120 .input = "\x82\xc0\x56\xf0\xd7\xc4\xc9\xfd"
25121 "\x3c\xd1\x2a\xd4\x15\x86\x9d\xda"
25122 "\xea\x6c\x6f\xa1\x33\xb0\x7a\x01"
25123 "\x57\xe7\xf3\x7b\x73\xe7\x54\x10"
25124 "\xc6\x91\xe2\xc6\xa0\x69\xe7\xe6"
25125 "\x76\xc3\xf5\x3a\x76\xfd\x4a",
25126 .ilen = 47,
25127 .result = "\x66\xf3\x75\x7d\x40\xb3\xb4\xd1"
25128 "\x04\xe1\xa6\x94\x10\xe6\x39\x77"
25129 "\xd3\xac\x4d\x8a\x8c\x58\x6e\xfb"
25130 "\x06\x13\x9a\xd9\x5e\xc0\xfa",
25131 .rlen = 31,
25132 }, {
25133 .key = "\x75\xbc\x04\xe5\x84\x52\x5e\x58"
25134 "\x24\x17\xd2\xb9\x0e\xaf\x6a\xf9"
25135 "\x9e\x5c\xd0\xab\xcd\x00\x4f\x01"
25136 "\x37\x1e\xd1\xcf\x15\xd8\xe2\x86",
25137 .klen = 32,
25138 .iv = "\x84\x85\x92\x4d\xc8\xf1\x08\xdf"
25139 "\x44\x4e\xff\xdd\x0d\x78\x9a\x7a",
25140 .assoc = "\x93\x4e\x21\xb4\x0c\x90\xb3\x66"
25141 "\x65\x84\x2b\x01\x0b\x42\xcb\xfc"
25142 "\x33\xbd\xd6\xed\x50\x50\x10\x0e"
25143 "\x97\x35\x41\xbb\x82\x08\xb1\xf2",
25144 .alen = 32,
25145 .input = "\x01\x47\x8e\x6c\xf6\x64\x89\x3a"
25146 "\x71\xce\xe4\xaa\x45\x70\xe6\x84"
25147 "\x62\x48\x08\x64\x86\x6a\xdf\xec"
25148 "\xb4\xa0\xfb\x34\x03\x0c\x19\xf4"
25149 "\x2b\x7b\x36\x73\xec\x54\xa9\x1e"
25150 "\x30\x85\xdb\xe4\xac\xe9\x2c\xca",
25151 .ilen = 48,
25152 .result = "\xa2\x17\xaf\x1c\x50\x2e\x5d\xed"
25153 "\x85\xbb\x58\x26\x0a\x0b\xfc\x7d"
25154 "\xfe\x6e\x59\x0e\x91\xf8\xf0\x15"
25155 "\xc8\x40\x78\xb1\x38\x1f\x99\xa7",
25156 .rlen = 32,
25157 }, {
25158 .key = "\xb1\xe1\x3e\x84\x94\xcd\x07\x74"
25159 "\xa5\xf2\x84\x4a\x08\xd4\x2c\xff"
25160 "\xc8\x1e\xdb\x2f\xd2\xa0\xd1\x1b"
25161 "\xf8\x4c\xb0\xa8\xef\x37\x81\x5d",
25162 .klen = 32,
25163 .iv = "\xc0\xaa\xcc\xec\xd8\x6c\xb1\xfb"
25164 "\xc5\x28\xb1\x6e\x07\x9d\x5d\x81",
25165 .assoc = "\xd0\x73\x5a\x54\x1d\x0b\x5b\x82"
25166 "\xe5\x5f\xdd\x93\x05\x66\x8e\x02"
25167 "\x5e\x80\xe1\x71\x55\xf0\x92\x28"
25168 "\x59\x62\x20\x94\x5c\x67\x50\xc8"
25169 "\x58",
25170 .alen = 33,
25171 .input = "\x85\xe0\xf8\x0f\x8e\x49\xe3\x60"
25172 "\xcb\x4a\x54\x94\xcf\xf5\x7e\x34"
25173 "\xe9\xf8\x80\x65\x53\xd0\x72\x70"
25174 "\x4f\x7d\x9d\xd1\x15\x6f\xb9\x2c"
25175 "\xfa\xe8\xdd\xac\x2e\xe1\x3f\x67"
25176 "\x63\x0f\x1a\x59\xb7\x89\xdb\xf4"
25177 "\xc3",
25178 .ilen = 49,
25179 .result = "\xdf\x3c\xe9\xbc\x61\xaa\x06\x09"
25180 "\x06\x95\x0a\xb7\x04\x2f\xbe\x84"
25181 "\x28\x30\x64\x92\x96\x98\x72\x2e"
25182 "\x89\x6e\x57\x8a\x13\x7e\x38\x7e"
25183 "\xdb",
25184 .rlen = 33,
25185 }, {
25186 .key = "\xee\x05\x77\x23\xa5\x49\xb0\x90"
25187 "\x26\xcc\x36\xdc\x02\xf8\xef\x05"
25188 "\xf3\xe1\xe7\xb3\xd8\x40\x53\x35"
25189 "\xb9\x79\x8f\x80\xc9\x96\x20\x33",
25190 .klen = 32,
25191 .iv = "\xfd\xce\x06\x8b\xe9\xe8\x5a\x17"
25192 "\x46\x02\x63\x00\x01\xc1\x20\x87",
25193 .assoc = "\x0c\x98\x94\xf3\x2d\x87\x04\x9e"
25194 "\x66\x39\x8f\x24\xff\x8a\x50\x08"
25195 "\x88\x42\xed\xf6\x5a\x90\x14\x42"
25196 "\x1a\x90\xfe\x6c\x36\xc6\xf0\x9f"
25197 "\x66\xa0\xb5\x2d\x2c\xf8\x25\x15"
25198 "\x55\x90\xa2\x7e\x77\x94\x96\x3a"
25199 "\x71\x1c\xf7\x44\xee\xa8\xc3\x42"
25200 "\xe2\xa3\x84\x04\x0b\xe1\xce",
25201 .alen = 63,
25202 .input = "\x00\xe5\x5b\x87\x5c\x20\x22\x8a"
25203 "\xda\x1f\xd3\xff\xbb\xb2\xb0\xf8"
25204 "\xef\xe9\xeb\x9e\x7c\x80\xf4\x2b"
25205 "\x59\xc0\x79\xbc\x17\xa0\x15\x01"
25206 "\xf5\x72\xfb\x5a\xe7\xaf\x07\xe3"
25207 "\x1b\x49\x21\x34\x23\x63\x55\x5e"
25208 "\xee\x4f\x34\x17\xfa\xfe\xa5\x0c"
25209 "\xed\x0b\x23\xea\x9b\xda\x57\x2f"
25210 "\xf6\xa9\xae\x0d\x4e\x40\x96\x45"
25211 "\x7f\xfa\xf0\xbf\xc4\x98\x78",
25212 .ilen = 79,
25213 .result = "\x1b\x61\x23\x5b\x71\x26\xae\x25"
25214 "\x87\x6f\xbc\x49\xfe\x53\x81\x8a"
25215 "\x53\xf2\x70\x17\x9b\x38\xf4\x48"
25216 "\x4b\x9b\x36\x62\xed\xdd\xd8\x54"
25217 "\xea\xcb\xb6\x79\x45\xfc\xaa\x54"
25218 "\x5c\x94\x47\x58\xa7\xff\x9c\x9e"
25219 "\x7c\xb6\xf1\xac\xc8\xfd\x8b\x35"
25220 "\xd5\xa4\x6a\xd4\x09\xc2\x08",
25221 .rlen = 63,
25222 }, {
25223 .key = "\x2a\x2a\xb1\xc3\xb5\xc5\x59\xac"
25224 "\xa7\xa6\xe8\x6d\xfc\x1d\xb2\x0b"
25225 "\x1d\xa3\xf3\x38\xdd\xe0\xd5\x4e"
25226 "\x7b\xa7\x6e\x58\xa3\xf5\xbf\x0a",
25227 .klen = 32,
25228 .iv = "\x39\xf3\x3f\x2b\xf9\x64\x03\x33"
25229 "\xc7\xdd\x15\x91\xfb\xe6\xe2\x8d",
25230 .assoc = "\x49\xbc\xce\x92\x3d\x02\xad\xba"
25231 "\xe7\x13\x41\xb6\xf9\xaf\x13\x0f"
25232 "\xb2\x04\xf8\x7a\x5f\x30\x96\x5b"
25233 "\xdc\xbd\xdd\x44\x10\x25\x8f\x75"
25234 "\x75\x4d\xb9\x5b\x8e\x0a\x38\x13"
25235 "\x6f\x9f\x36\xe4\x3a\x3e\xac\xc9"
25236 "\x9d\x83\xde\xe5\x57\xfd\xe3\x0e"
25237 "\xb1\xa7\x1b\x44\x05\x67\xb7\x37",
25238 .alen = 64,
25239 .input = "\x28\xdd\xb9\x4a\x12\xc7\x0a\xe1"
25240 "\x58\x06\x1a\x9b\x8c\x67\xdf\xeb"
25241 "\x35\x35\x60\x9d\x06\x40\x65\xc1"
25242 "\x93\xe8\xb3\x82\x50\x29\xdd\xb5"
25243 "\x2b\xcb\xde\x18\x78\x6b\x42\xbe"
25244 "\x6d\x24\xd0\xb2\x7d\xd7\x08\x8f"
25245 "\x4a\x18\x98\xad\x8c\xf2\x97\xb4"
25246 "\xf4\x77\xe4\xbf\x41\x3b\xc4\x06"
25247 "\xce\x9e\x34\x81\xf0\x89\x11\x13"
25248 "\x02\x65\xa1\x7c\xdf\x07\x33\x06",
25249 .ilen = 80,
25250 .result = "\x58\x85\x5c\xfa\x81\xa1\x57\x40"
25251 "\x08\x4a\x6e\xda\xf8\x78\x44\x90"
25252 "\x7d\xb5\x7b\x9b\xa1\xd8\x76\x62"
25253 "\x0c\xc9\x15\x3b\xc7\x3c\x77\x2b"
25254 "\xf8\x78\xba\xa7\xa6\x0e\xbd\x52"
25255 "\x76\xa3\xdc\xbe\x6b\xa8\xb1\x2d"
25256 "\xa9\x1d\xd8\x4e\x31\x53\xab\x00"
25257 "\xa5\xa7\x01\x13\x04\x49\xf2\x04",
25258 .rlen = 64,
25259 }, {
25260 .key = "\x67\x4f\xeb\x62\xc5\x40\x01\xc7"
25261 "\x28\x80\x9a\xfe\xf6\x41\x74\x12"
25262 "\x48\x65\xfe\xbc\xe2\x80\x57\x68"
25263 "\x3c\xd4\x4d\x31\x7d\x54\x5f\xe1",
25264 .klen = 32,
25265 .iv = "\x76\x18\x79\xca\x09\xdf\xac\x4e"
25266 "\x48\xb7\xc7\x23\xf5\x0a\xa5\x93",
25267 .assoc = "\x85\xe1\x08\x32\x4d\x7e\x56\xd5"
25268 "\x68\xed\xf3\x47\xf3\xd3\xd6\x15"
25269 "\xdd\xc7\x04\xfe\x64\xd0\x18\x75"
25270 "\x9d\xeb\xbc\x1d\xea\x84\x2e\x4c"
25271 "\x83\xf9\xbe\x8a\xef\x1c\x4b\x10"
25272 "\x89\xaf\xcb\x4b\xfe\xe7\xc1\x58"
25273 "\xca\xea\xc6\x87\xc0\x53\x03\xd9"
25274 "\x80\xaa\xb2\x83\xff\xee\xa1\x6a"
25275 "\x04",
25276 .alen = 65,
25277 .input = "\x85\x39\x69\x35\xfb\xf9\xb0\xa6"
25278 "\x85\x43\x88\xd0\xd7\x78\x60\x19"
25279 "\x3e\x1f\xb1\xa4\xd6\xc5\x96\xec"
25280 "\xf7\x84\x85\xc7\x27\x0f\x74\x57"
25281 "\x28\x9e\xdd\x90\x3c\x43\x12\xc5"
25282 "\x51\x3d\x39\x8f\xa5\xf4\xe0\x0b"
25283 "\x57\x04\xf1\x6d\xfe\x9b\x84\x27"
25284 "\xe8\xeb\x4d\xda\x02\x0a\xc5\x49"
25285 "\x1a\x55\x5e\x50\x56\x4d\x94\xda"
25286 "\x20\xf8\x12\x54\x50\xb3\x11\xda"
25287 "\xed\x44\x27\x67\xd5\xd1\x8b\x4b"
25288 "\x38\x67\x56\x65\x59\xda\xe6\x97"
25289 "\x81\xae\x2f\x92\x3b\xae\x22\x1c"
25290 "\x91\x59\x38\x18\x00\xe8\xba\x92"
25291 "\x04\x19\x56\xdf\xb0\x82\xeb\x6f"
25292 "\x2e\xdb\x54\x3c\x4b\xbb\x60\x90"
25293 "\x4c\x50\x10\x62\xba\x7a\xb1\x68"
25294 "\x37\xd7\x87\x4e\xe4\x66\x09\x1f"
25295 "\xa5",
25296 .ilen = 145,
25297 .result = "\x94\xaa\x96\x9a\x91\x1d\x00\x5c"
25298 "\x88\x24\x20\x6b\xf2\x9c\x06\x96"
25299 "\xa7\x77\x87\x1f\xa6\x78\xf8\x7b"
25300 "\xcd\xf6\xf4\x13\xa1\x9b\x16\x02"
25301 "\x07\x24\xbf\xd5\x08\x20\xd0\x4f"
25302 "\x90\xb3\x70\x24\x2f\x51\xc7\xbb"
25303 "\xd6\x84\xc0\xef\x9a\xa8\xca\xcc"
25304 "\x74\xab\x97\x53\xfe\xd0\xdb\x37"
25305 "\x37\x6a\x0e\x9f\x3f\xa3\x2a\xe3"
25306 "\x1b\x34\x6d\x51\x72\x2b\x17\xe7"
25307 "\x4d\xaa\x2c\x18\xda\xa3\x33\x89"
25308 "\x2a\x9f\xf4\xd2\xed\x76\x3d\x3f"
25309 "\x3c\x15\x9d\x8e\x4f\x3c\x27\xb0"
25310 "\x42\x3f\x2f\x8a\xd4\xc2\x10\xb2"
25311 "\x27\x7f\xe3\x34\x80\x02\x49\x4b"
25312 "\x07\x68\x22\x2a\x88\x25\x53\xb2"
25313 "\x2f",
25314 .rlen = 129,
25315 }, {
25316 .key = "\xa3\x73\x24\x01\xd5\xbc\xaa\xe3"
25317 "\xa9\x5a\x4c\x90\xf0\x65\x37\x18"
25318 "\x72\x28\x0a\x40\xe7\x20\xd9\x82"
25319 "\xfe\x02\x2b\x09\x57\xb3\xfe\xb7",
25320 .klen = 32,
25321 .iv = "\xb3\x3d\xb3\x69\x19\x5b\x54\x6a"
25322 "\xc9\x91\x79\xb4\xef\x2e\x68\x99",
25323 .assoc = "\xc2\x06\x41\xd1\x5d\xfa\xff\xf1"
25324 "\xe9\xc7\xa5\xd9\xed\xf8\x98\x1b"
25325 "\x07\x89\x10\x82\x6a\x70\x9a\x8f"
25326 "\x5e\x19\x9b\xf5\xc5\xe3\xcd\x22"
25327 "\x92\xa5\xc2\xb8\x51\x2e\x5e\x0e"
25328 "\xa4\xbe\x5f\xb1\xc1\x90\xd7\xe7"
25329 "\xf7\x52\xae\x28\x29\xa8\x22\xa4"
25330 "\x4f\xae\x48\xc2\xfa\x75\x8b\x9e"
25331 "\xce\x83\x2a\x88\x07\x55\xbb\x89"
25332 "\xf6\xdf\xac\xdf\x83\x08\xbf\x7d"
25333 "\xac\x30\x8b\x8e\x02\xac\x00\xf1"
25334 "\x30\x46\xe1\xbc\x75\xbf\x49\xbb"
25335 "\x26\x4e\x29\xf0\x2f\x21\xc6\x13"
25336 "\x92\xd9\x3d\x11\xe4\x10\x00\x8e"
25337 "\xd4\xd4\x58\x65\xa6\x2b\xe3\x25"
25338 "\xb1\x8f\x15\x93\xe7\x71\xb9\x2c"
25339 "\x4b",
25340 .alen = 129,
25341 .input = "\x7d\xde\x53\x22\xe4\x23\x3b\x30"
25342 "\x78\xde\x35\x90\x7a\xd9\x0b\x93"
25343 "\xf6\x0e\x0b\xed\x40\xee\x10\x9c"
25344 "\x96\x3a\xd3\x34\xb2\xd0\x67\xcf"
25345 "\x63\x7f\x2d\x0c\xcf\x96\xec\x64"
25346 "\x1a\x87\xcc\x7d\x2c\x5e\x81\x4b"
25347 "\xd2\x8f\x4c\x7c\x00\xb1\xb4\xe0"
25348 "\x87\x4d\xb1\xbc\xd8\x78\x2c\x17"
25349 "\xf2\x3b\xd8\x28\x40\xe2\x76\xf6"
25350 "\x20\x13\x83\x46\xaf\xff\xe3\x0f"
25351 "\x72",
25352 .ilen = 81,
25353 .result = "\xd1\xcf\xd0\x39\xa1\x99\xa9\x78"
25354 "\x09\xfe\xd2\xfd\xec\xc1\xc9\x9d"
25355 "\xd2\x39\x93\xa3\xab\x18\x7a\x95"
25356 "\x8f\x24\xd3\xeb\x7b\xfa\xb5\xd8"
25357 "\x15\xd1\xc3\x04\x69\x32\xe3\x4d"
25358 "\xaa\xc2\x04\x8b\xf2\xfa\xdc\x4a"
25359 "\x02\xeb\xa8\x90\x03\xfd\xea\x97"
25360 "\x43\xaf\x2e\x92\xf8\x57\xc5\x6a"
25361 "\x00",
25362 .rlen = 65,
25363 }, {
25364 .key = "\xe0\x98\x5e\xa1\xe5\x38\x53\xff"
25365 "\x2a\x35\xfe\x21\xea\x8a\xfa\x1e"
25366 "\x9c\xea\x15\xc5\xec\xc0\x5b\x9b"
25367 "\xbf\x2f\x0a\xe1\x32\x12\x9d\x8e",
25368 .klen = 32,
25369 .iv = "\xef\x61\xed\x08\x29\xd7\xfd\x86"
25370 "\x4a\x6b\x2b\x46\xe9\x53\x2a\xa0",
25371 .assoc = "\xfe\x2a\x7b\x70\x6d\x75\xa7\x0d"
25372 "\x6a\xa2\x57\x6a\xe7\x1c\x5b\x21"
25373 "\x31\x4b\x1b\x07\x6f\x10\x1c\xa8"
25374 "\x20\x46\x7a\xce\x9f\x42\x6d\xf9",
25375 .alen = 32,
25376 .input = "\x5a\xcd\x8c\x57\xf2\x6a\xb6\xbe"
25377 "\x53\xc7\xaa\x9a\x60\x74\x9c\xc4"
25378 "\xa2\xc2\xd0\x6d\xe1\x03\x63\xdc"
25379 "\xbb\x51\x7e\x9c\x89\x73\xde\x4e"
25380 "\x24\xf8\x52\x7c\x15\x41\x0e\xba"
25381 "\x69\x0e\x36\x5f\x2f\x22\x8c",
25382 .ilen = 47,
25383 .result = "\x0d\xf4\x09\xd8\xb1\x14\x51\x94"
25384 "\x8a\xd8\x84\x8e\xe6\xe5\x8c\xa3"
25385 "\xfc\xfc\x9e\x28\xb0\xb8\xfc\xaf"
25386 "\x50\x52\xb1\xc4\x55\x59\x55\xaf",
25387 .rlen = 32,
25388 }, {
25389 .key = "\x1c\xbd\x98\x40\xf5\xb3\xfc\x1b"
25390 "\xaa\x0f\xb0\xb3\xe4\xae\xbc\x24"
25391 "\xc7\xac\x21\x49\xf1\x60\xdd\xb5"
25392 "\x80\x5d\xe9\xba\x0c\x71\x3c\x64",
25393 .klen = 32,
25394 .iv = "\x2c\x86\x26\xa8\x39\x52\xa6\xa2"
25395 "\xcb\x45\xdd\xd7\xe3\x77\xed\xa6",
25396 .assoc = "\x3b\x4f\xb5\x10\x7d\xf1\x50\x29"
25397 "\xeb\x7c\x0a\xfb\xe1\x40\x1e\x27"
25398 "\x5c\x0d\x27\x8b\x74\xb0\x9e\xc2"
25399 "\xe1\x74\x59\xa6\x79\xa1\x0c\xd0",
25400 .alen = 32,
25401 .input = "\x47\xd6\xce\x78\xd6\xbf\x4a\x51"
25402 "\xb8\xda\x92\x3c\xfd\xda\xac\x8e"
25403 "\x8d\x88\xd7\x4d\x90\xe5\xeb\xa1"
25404 "\xab\xd6\x7c\x76\xad\xea\x7d\x76"
25405 "\x53\xee\xb0\xcd\xd0\x02\xbb\x70"
25406 "\x5b\x6f\x7b\xe2\x8c\xe8",
25407 .ilen = 46,
25408 .result = "\x4a\x18\x43\x77\xc1\x90\xfa\xb0"
25409 "\x0b\xb2\x36\x20\xe0\x09\x4e\xa9"
25410 "\x26\xbe\xaa\xac\xb5\x58\x7e\xc8"
25411 "\x11\x7f\x90\x9c\x2f\xb8\xf4\x85",
25412 .rlen = 32,
25413 }, {
25414 .key = "\x59\xe1\xd2\xdf\x05\x2f\xa4\x37"
25415 "\x2b\xe9\x63\x44\xde\xd3\x7f\x2b"
25416 "\xf1\x6f\x2d\xcd\xf6\x00\x5f\xcf"
25417 "\x42\x8a\xc8\x92\xe6\xd0\xdc\x3b",
25418 .klen = 32,
25419 .iv = "\x68\xab\x60\x47\x49\xce\x4f\xbe"
25420 "\x4c\x20\x8f\x68\xdd\x9c\xb0\xac",
25421 .assoc = "\x77\x74\xee\xaf\x8d\x6d\xf9\x45"
25422 "\x6c\x56\xbc\x8d\xdb\x65\xe0\x2e"
25423 "\x86\xd0\x32\x0f\x79\x50\x20\xdb"
25424 "\xa2\xa1\x37\x7e\x53\x00\xab\xa6",
25425 .alen = 32,
25426 .input = "\x9f\xa9\x2b\xa4\x8f\x00\x05\x2b"
25427 "\xe7\x68\x81\x51\xbb\xfb\xdf\x60"
25428 "\xbb\xac\xe8\xc1\xdc\x68\xae\x68"
25429 "\x3a\xcd\x7a\x06\x49\xfe\x80\x11"
25430 "\xe6\x61\x99\xe2\xdd\xbe\x2c\xbf",
25431 .ilen = 40,
25432 .result = "\x86\x3d\x7d\x17\xd1\x0c\xa3\xcc"
25433 "\x8c\x8d\xe8\xb1\xda\x2e\x11\xaf"
25434 "\x51\x80\xb5\x30\xba\xf8\x00\xe2"
25435 "\xd3\xad\x6f\x75\x09\x18\x93\x5c",
25436 .rlen = 32,
25437 }, {
25438 .key = "\x96\x06\x0b\x7f\x15\xab\x4d\x53"
25439 "\xac\xc3\x15\xd6\xd8\xf7\x42\x31"
25440 "\x1b\x31\x38\x51\xfc\xa0\xe1\xe8"
25441 "\x03\xb8\xa7\x6b\xc0\x2f\x7b\x11",
25442 .klen = 32,
25443 .iv = "\xa5\xcf\x9a\xe6\x59\x4a\xf7\xd9"
25444 "\xcd\xfa\x41\xfa\xd7\xc0\x72\xb2",
25445 .assoc = "\xb4\x99\x28\x4e\x9d\xe8\xa2\x60"
25446 "\xed\x30\x6e\x1e\xd5\x89\xa3\x34"
25447 "\xb1\x92\x3e\x93\x7e\xf0\xa2\xf5"
25448 "\x64\xcf\x16\x57\x2d\x5f\x4a\x7d",
25449 .alen = 32,
25450 .input = "\xe2\x34\xfa\x25\xfd\xfb\x89\x5e"
25451 "\x5b\x4e\x0b\x15\x6e\x39\xfb\x0c"
25452 "\x73\xc7\xd9\x6b\xbe\xce\x9b\x70"
25453 "\xc7\x4f\x96\x16\x03\xfc\xea\xfb"
25454 "\x56",
25455 .ilen = 33,
25456 .result = "\xc3\x62\xb7\xb6\xe2\x87\x4c\xe7"
25457 "\x0d\x67\x9a\x43\xd4\x52\xd4\xb5"
25458 "\x7b\x43\xc1\xb5\xbf\x98\x82\xfc"
25459 "\x94\xda\x4e\x4d\xe4\x77\x32\x32",
25460 .rlen = 32,
25465 * All key wrapping test vectors taken from
25466 * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
25468 * Note: as documented in keywrap.c, the ivout for encryption is the first
25469 * semiblock of the ciphertext from the test vector. For decryption, iv is
25470 * the first semiblock of the ciphertext.
25472 static const struct cipher_testvec aes_kw_tv_template[] = {
25474 .key = "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
25475 "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
25476 .klen = 16,
25477 .ptext = "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
25478 "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
25479 .ctext = "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
25480 "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
25481 .len = 16,
25482 .iv = "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
25483 .generates_iv = true,
25484 }, {
25485 .key = "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
25486 "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
25487 "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
25488 "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
25489 .klen = 32,
25490 .ptext = "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
25491 "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
25492 .ctext = "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
25493 "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
25494 .len = 16,
25495 .iv = "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
25496 .generates_iv = true,
25501 * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
25502 * test vectors, taken from Appendix B.2.9 and B.2.10:
25503 * http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
25504 * Only AES-128 is supported at this time.
25506 static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
25508 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25509 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25510 .klen = 16,
25511 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25512 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
25513 .dtlen = 16,
25514 .v = "\x80\x00\x00\x00\x00\x00\x00\x00"
25515 "\x00\x00\x00\x00\x00\x00\x00\x00",
25516 .vlen = 16,
25517 .result = "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
25518 "\x84\x79\x66\x85\xc1\x2f\x76\x41",
25519 .rlen = 16,
25520 .loops = 1,
25521 }, {
25522 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25523 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25524 .klen = 16,
25525 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25526 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
25527 .dtlen = 16,
25528 .v = "\xc0\x00\x00\x00\x00\x00\x00\x00"
25529 "\x00\x00\x00\x00\x00\x00\x00\x00",
25530 .vlen = 16,
25531 .result = "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
25532 "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
25533 .rlen = 16,
25534 .loops = 1,
25535 }, {
25536 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25537 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25538 .klen = 16,
25539 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25540 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
25541 .dtlen = 16,
25542 .v = "\xe0\x00\x00\x00\x00\x00\x00\x00"
25543 "\x00\x00\x00\x00\x00\x00\x00\x00",
25544 .vlen = 16,
25545 .result = "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
25546 "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
25547 .rlen = 16,
25548 .loops = 1,
25549 }, {
25550 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25551 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25552 .klen = 16,
25553 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25554 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
25555 .dtlen = 16,
25556 .v = "\xf0\x00\x00\x00\x00\x00\x00\x00"
25557 "\x00\x00\x00\x00\x00\x00\x00\x00",
25558 .vlen = 16,
25559 .result = "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
25560 "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
25561 .rlen = 16,
25562 .loops = 1,
25563 }, {
25564 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
25565 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
25566 .klen = 16,
25567 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
25568 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
25569 .dtlen = 16,
25570 .v = "\xf8\x00\x00\x00\x00\x00\x00\x00"
25571 "\x00\x00\x00\x00\x00\x00\x00\x00",
25572 .vlen = 16,
25573 .result = "\x05\x25\x92\x46\x61\x79\xd2\xcb"
25574 "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
25575 .rlen = 16,
25576 .loops = 1,
25577 }, { /* Monte Carlo Test */
25578 .key = "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
25579 "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
25580 .klen = 16,
25581 .dt = "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
25582 "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
25583 .dtlen = 16,
25584 .v = "\x57\x2c\x8e\x76\x87\x26\x47\x97"
25585 "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
25586 .vlen = 16,
25587 .result = "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
25588 "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
25589 .rlen = 16,
25590 .loops = 10000,
25595 * SP800-90A DRBG Test vectors from
25596 * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
25598 * Test vectors for DRBG with prediction resistance. All types of DRBGs
25599 * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
25600 * w/o personalization string, w/ and w/o additional input string).
25602 static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
25604 .entropy = (unsigned char *)
25605 "\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
25606 "\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
25607 "\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
25608 "\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
25609 .entropylen = 48,
25610 .entpra = (unsigned char *)
25611 "\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
25612 "\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
25613 "\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
25614 .entprb = (unsigned char *)
25615 "\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
25616 "\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
25617 "\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
25618 .entprlen = 32,
25619 .expected = (unsigned char *)
25620 "\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
25621 "\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
25622 "\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
25623 "\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
25624 "\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
25625 "\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
25626 "\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
25627 "\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
25628 "\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
25629 "\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
25630 "\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
25631 .expectedlen = 128,
25632 .addtla = NULL,
25633 .addtlb = NULL,
25634 .addtllen = 0,
25635 .pers = NULL,
25636 .perslen = 0,
25637 }, {
25638 .entropy = (unsigned char *)
25639 "\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
25640 "\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
25641 "\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
25642 "\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
25643 .entropylen = 48,
25644 .entpra = (unsigned char *)
25645 "\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
25646 "\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
25647 "\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
25648 .entprb = (unsigned char *)
25649 "\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
25650 "\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
25651 "\x76\xaa\x55\x04\x8b\x0a\x72\x95",
25652 .entprlen = 32,
25653 .expected = (unsigned char *)
25654 "\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
25655 "\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
25656 "\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
25657 "\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
25658 "\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
25659 "\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
25660 "\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
25661 "\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
25662 "\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
25663 "\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
25664 "\x50\x47\xa3\x63\x81\x16\xaf\x19",
25665 .expectedlen = 128,
25666 .addtla = (unsigned char *)
25667 "\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
25668 "\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
25669 "\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
25670 .addtlb = (unsigned char *)
25671 "\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
25672 "\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
25673 "\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
25674 .addtllen = 32,
25675 .pers = NULL,
25676 .perslen = 0,
25677 }, {
25678 .entropy = (unsigned char *)
25679 "\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
25680 "\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
25681 "\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
25682 "\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
25683 .entropylen = 48,
25684 .entpra = (unsigned char *)
25685 "\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
25686 "\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
25687 "\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
25688 .entprb = (unsigned char *)
25689 "\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
25690 "\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
25691 "\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
25692 .entprlen = 32,
25693 .expected = (unsigned char *)
25694 "\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
25695 "\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
25696 "\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
25697 "\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
25698 "\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
25699 "\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
25700 "\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
25701 "\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
25702 "\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
25703 "\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
25704 "\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
25705 .expectedlen = 128,
25706 .addtla = NULL,
25707 .addtlb = NULL,
25708 .addtllen = 0,
25709 .pers = (unsigned char *)
25710 "\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
25711 "\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
25712 "\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
25713 .perslen = 32,
25714 }, {
25715 .entropy = (unsigned char *)
25716 "\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
25717 "\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
25718 "\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
25719 "\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
25720 .entropylen = 48,
25721 .entpra = (unsigned char *)
25722 "\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
25723 "\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
25724 "\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
25725 .entprb = (unsigned char *)
25726 "\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
25727 "\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
25728 "\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
25729 .entprlen = 32,
25730 .expected = (unsigned char *)
25731 "\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
25732 "\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
25733 "\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
25734 "\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
25735 "\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
25736 "\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
25737 "\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
25738 "\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
25739 "\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
25740 "\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
25741 "\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
25742 .expectedlen = 128,
25743 .addtla = (unsigned char *)
25744 "\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
25745 "\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
25746 "\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
25747 .addtlb = (unsigned char *)
25748 "\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
25749 "\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
25750 "\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
25751 .addtllen = 32,
25752 .pers = (unsigned char *)
25753 "\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
25754 "\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
25755 "\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
25756 .perslen = 32,
25760 static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
25762 .entropy = (unsigned char *)
25763 "\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
25764 "\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
25765 "\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
25766 "\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
25767 .entropylen = 48,
25768 .entpra = (unsigned char *)
25769 "\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
25770 "\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
25771 "\xe2\x9a\x29\x51\x81\x56\x9f\x54",
25772 .entprb = (unsigned char *)
25773 "\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
25774 "\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
25775 "\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
25776 .entprlen = 32,
25777 .expected = (unsigned char *)
25778 "\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
25779 "\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
25780 "\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
25781 "\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
25782 "\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
25783 "\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
25784 "\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
25785 "\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
25786 "\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
25787 "\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
25788 "\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
25789 .expectedlen = 128,
25790 .addtla = NULL,
25791 .addtlb = NULL,
25792 .addtllen = 0,
25793 .pers = NULL,
25794 .perslen = 0,
25795 }, {
25796 .entropy = (unsigned char *)
25797 "\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
25798 "\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
25799 "\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
25800 "\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
25801 .entropylen = 48,
25802 .entpra = (unsigned char *)
25803 "\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
25804 "\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
25805 "\x46\xd9\x26\xa2\x19\xd4\x94\x43",
25806 .entprb = (unsigned char *)
25807 "\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
25808 "\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
25809 "\x51\x78\x72\xb2\x79\xfd\x2c\xff",
25810 .entprlen = 32,
25811 .expected = (unsigned char *)
25812 "\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
25813 "\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
25814 "\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
25815 "\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
25816 "\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
25817 "\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
25818 "\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
25819 "\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
25820 "\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
25821 "\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
25822 "\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
25823 .expectedlen = 128,
25824 .addtla = (unsigned char *)
25825 "\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
25826 "\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
25827 "\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
25828 .addtlb = (unsigned char *)
25829 "\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
25830 "\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
25831 "\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
25832 .addtllen = 32,
25833 .pers = NULL,
25834 .perslen = 0,
25835 }, {
25836 .entropy = (unsigned char *)
25837 "\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
25838 "\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
25839 "\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
25840 "\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
25841 .entropylen = 48,
25842 .entpra = (unsigned char *)
25843 "\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
25844 "\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
25845 "\x20\x28\xad\xf2\x60\xd7\xcd\x45",
25846 .entprb = (unsigned char *)
25847 "\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
25848 "\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
25849 "\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
25850 .entprlen = 32,
25851 .expected = (unsigned char *)
25852 "\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
25853 "\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
25854 "\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
25855 "\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
25856 "\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
25857 "\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
25858 "\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
25859 "\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
25860 "\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
25861 "\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
25862 "\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
25863 .expectedlen = 128,
25864 .addtla = NULL,
25865 .addtlb = NULL,
25866 .addtllen = 0,
25867 .pers = (unsigned char *)
25868 "\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
25869 "\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
25870 "\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
25871 .perslen = 32,
25872 }, {
25873 .entropy = (unsigned char *)
25874 "\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
25875 "\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
25876 "\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
25877 "\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
25878 .entropylen = 48,
25879 .entpra = (unsigned char *)
25880 "\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
25881 "\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
25882 "\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
25883 .entprb = (unsigned char *)
25884 "\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
25885 "\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
25886 "\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
25887 .entprlen = 32,
25888 .expected = (unsigned char *)
25889 "\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
25890 "\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
25891 "\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
25892 "\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
25893 "\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
25894 "\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
25895 "\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
25896 "\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
25897 "\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
25898 "\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
25899 "\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
25900 .expectedlen = 128,
25901 .addtla = (unsigned char *)
25902 "\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
25903 "\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
25904 "\x86\x88\x55\x28\xc1\x69\xdd\x76",
25905 .addtlb = (unsigned char *)
25906 "\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
25907 "\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
25908 "\x00\x99\x2a\xdd\x0a\x00\x50\x82",
25909 .addtllen = 32,
25910 .pers = (unsigned char *)
25911 "\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
25912 "\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
25913 "\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
25914 .perslen = 32,
25918 static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
25920 .entropy = (unsigned char *)
25921 "\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
25922 "\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
25923 .entropylen = 24,
25924 .entpra = (unsigned char *)
25925 "\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
25926 "\xb4\xec\x80\xb1",
25927 .entprb = (unsigned char *)
25928 "\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
25929 "\x28\x07\xeb\xc2",
25930 .entprlen = 16,
25931 .expected = (unsigned char *)
25932 "\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
25933 "\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
25934 "\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
25935 "\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
25936 "\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
25937 "\x8a\xf1\x23\xa8",
25938 .expectedlen = 64,
25939 .addtla = NULL,
25940 .addtlb = NULL,
25941 .addtllen = 0,
25942 .pers = NULL,
25943 .perslen = 0,
25944 }, {
25945 .entropy = (unsigned char *)
25946 "\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
25947 "\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
25948 .entropylen = 24,
25949 .entpra = (unsigned char *)
25950 "\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
25951 "\x67\xd1\x08\xf8",
25952 .entprb = (unsigned char *)
25953 "\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
25954 "\xd4\xba\x04\x58",
25955 .entprlen = 16,
25956 .expected = (unsigned char *)
25957 "\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
25958 "\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
25959 "\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
25960 "\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
25961 "\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
25962 "\xc1\x02\x41\x82",
25963 .expectedlen = 64,
25964 .addtla = (unsigned char *)
25965 "\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
25966 "\xeb\xb3\x01\x76",
25967 .addtlb = (unsigned char *)
25968 "\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
25969 "\xd0\x7f\xcc\x43",
25970 .addtllen = 16,
25971 .pers = NULL,
25972 .perslen = 0,
25973 }, {
25974 .entropy = (unsigned char *)
25975 "\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
25976 "\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
25977 .entropylen = 24,
25978 .entpra = (unsigned char *)
25979 "\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
25980 "\xc3\x0f\xe3\xb0",
25981 .entprb = (unsigned char *)
25982 "\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
25983 "\xd6\x9c\x9d\xe8",
25984 .entprlen = 16,
25985 .expected = (unsigned char *)
25986 "\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
25987 "\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
25988 "\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
25989 "\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
25990 "\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
25991 "\x72\x82\x0c\xcf",
25992 .expectedlen = 64,
25993 .addtla = NULL,
25994 .addtlb = NULL,
25995 .addtllen = 0,
25996 .pers = (unsigned char *)
25997 "\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
25998 "\x21\x52\xb3\xad",
25999 .perslen = 16,
26000 }, {
26001 .entropy = (unsigned char *)
26002 "\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
26003 "\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
26004 .entropylen = 24,
26005 .entpra = (unsigned char *)
26006 "\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
26007 "\xc4\x2c\xe8\x10",
26008 .entprb = (unsigned char *)
26009 "\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
26010 "\x08\xf7\xa5\x01",
26011 .entprlen = 16,
26012 .expected = (unsigned char *)
26013 "\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
26014 "\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
26015 "\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
26016 "\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
26017 "\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
26018 "\x23\xc5\x1f\x68",
26019 .expectedlen = 64,
26020 .addtla = (unsigned char *)
26021 "\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
26022 "\x23\x6d\xad\x1d",
26023 .addtlb = (unsigned char *)
26024 "\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
26025 "\xbc\x59\x31\x8c",
26026 .addtllen = 16,
26027 .pers = (unsigned char *)
26028 "\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
26029 "\x37\x3c\x5c\x0b",
26030 .perslen = 16,
26035 * SP800-90A DRBG Test vectors from
26036 * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
26038 * Test vectors for DRBG without prediction resistance. All types of DRBGs
26039 * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
26040 * w/o personalization string, w/ and w/o additional input string).
26042 static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
26044 .entropy = (unsigned char *)
26045 "\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
26046 "\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
26047 "\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
26048 "\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
26049 .entropylen = 48,
26050 .expected = (unsigned char *)
26051 "\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
26052 "\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
26053 "\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
26054 "\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
26055 "\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
26056 "\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
26057 "\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
26058 "\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
26059 "\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
26060 "\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
26061 "\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
26062 .expectedlen = 128,
26063 .addtla = NULL,
26064 .addtlb = NULL,
26065 .addtllen = 0,
26066 .pers = NULL,
26067 .perslen = 0,
26068 }, {
26069 .entropy = (unsigned char *)
26070 "\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
26071 "\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
26072 "\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
26073 "\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
26074 .entropylen = 48,
26075 .expected = (unsigned char *)
26076 "\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
26077 "\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
26078 "\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
26079 "\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
26080 "\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
26081 "\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
26082 "\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
26083 "\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
26084 "\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
26085 "\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
26086 "\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
26087 .expectedlen = 128,
26088 .addtla = (unsigned char *)
26089 "\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
26090 "\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
26091 "\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
26092 .addtlb = (unsigned char *)
26093 "\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
26094 "\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
26095 "\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
26096 .addtllen = 32,
26097 .pers = NULL,
26098 .perslen = 0,
26099 }, {
26100 .entropy = (unsigned char *)
26101 "\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
26102 "\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
26103 "\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
26104 "\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
26105 .entropylen = 48,
26106 .expected = (unsigned char *)
26107 "\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
26108 "\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
26109 "\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
26110 "\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
26111 "\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
26112 "\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
26113 "\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
26114 "\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
26115 "\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
26116 "\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
26117 "\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
26118 .expectedlen = 128,
26119 .addtla = NULL,
26120 .addtlb = NULL,
26121 .addtllen = 0,
26122 .pers = (unsigned char *)
26123 "\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
26124 "\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
26125 "\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
26126 .perslen = 32,
26127 }, {
26128 .entropy = (unsigned char *)
26129 "\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
26130 "\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
26131 "\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
26132 "\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
26133 .entropylen = 48,
26134 .expected = (unsigned char *)
26135 "\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
26136 "\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
26137 "\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
26138 "\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
26139 "\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
26140 "\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
26141 "\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
26142 "\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
26143 "\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
26144 "\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
26145 "\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
26146 .expectedlen = 128,
26147 .addtla = (unsigned char *)
26148 "\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
26149 "\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
26150 "\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
26151 .addtlb = (unsigned char *)
26152 "\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
26153 "\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
26154 "\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
26155 .addtllen = 32,
26156 .pers = (unsigned char *)
26157 "\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
26158 "\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
26159 "\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
26160 .perslen = 32,
26164 static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
26166 .entropy = (unsigned char *)
26167 "\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
26168 "\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
26169 "\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
26170 "\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
26171 .entropylen = 48,
26172 .expected = (unsigned char *)
26173 "\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
26174 "\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
26175 "\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
26176 "\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
26177 "\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
26178 "\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
26179 "\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
26180 "\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
26181 "\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
26182 "\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
26183 "\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
26184 .expectedlen = 128,
26185 .addtla = NULL,
26186 .addtlb = NULL,
26187 .addtllen = 0,
26188 .pers = NULL,
26189 .perslen = 0,
26190 }, {
26191 .entropy = (unsigned char *)
26192 "\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
26193 "\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
26194 "\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
26195 "\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
26196 .entropylen = 48,
26197 .expected = (unsigned char *)
26198 "\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
26199 "\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
26200 "\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
26201 "\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
26202 "\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
26203 "\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
26204 "\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
26205 "\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
26206 "\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
26207 "\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
26208 "\x50\x9a\x8c\x85\x90\x87\x03\x9c",
26209 .expectedlen = 128,
26210 .addtla = (unsigned char *)
26211 "\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
26212 "\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
26213 "\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
26214 .addtlb = (unsigned char *)
26215 "\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
26216 "\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
26217 "\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
26218 .addtllen = 32,
26219 .pers = NULL,
26220 .perslen = 0,
26221 }, {
26222 .entropy = (unsigned char *)
26223 "\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
26224 "\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
26225 "\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
26226 "\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
26227 .entropylen = 48,
26228 .expected = (unsigned char *)
26229 "\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
26230 "\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
26231 "\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
26232 "\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
26233 "\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
26234 "\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
26235 "\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
26236 "\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
26237 "\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
26238 "\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
26239 "\x10\x37\x41\x03\x0c\xcc\x3a\x56",
26240 .expectedlen = 128,
26241 .addtla = NULL,
26242 .addtlb = NULL,
26243 .addtllen = 0,
26244 .pers = (unsigned char *)
26245 "\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
26246 "\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
26247 "\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
26248 .perslen = 32,
26249 }, {
26250 .entropy = (unsigned char *)
26251 "\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
26252 "\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
26253 "\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
26254 "\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
26255 .entropylen = 48,
26256 .expected = (unsigned char *)
26257 "\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
26258 "\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
26259 "\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
26260 "\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
26261 "\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
26262 "\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
26263 "\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
26264 "\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
26265 "\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
26266 "\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
26267 "\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
26268 .expectedlen = 128,
26269 .addtla = (unsigned char *)
26270 "\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
26271 "\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
26272 "\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
26273 .addtlb = (unsigned char *)
26274 "\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
26275 "\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
26276 "\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
26277 .addtllen = 32,
26278 .pers = (unsigned char *)
26279 "\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
26280 "\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
26281 "\x36\x60\x3b\xca\x37\xc9\xee\x29",
26282 .perslen = 32,
26286 static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
26288 .entropy = (unsigned char *)
26289 "\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
26290 "\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
26291 "\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
26292 "\xac\x9b\xbb\x00",
26293 .entropylen = 40,
26294 .expected = (unsigned char *)
26295 "\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
26296 "\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
26297 "\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
26298 "\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
26299 "\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
26300 "\x9a\x9d\xf1\x0d",
26301 .expectedlen = 64,
26302 .addtla = NULL,
26303 .addtlb = NULL,
26304 .addtllen = 0,
26305 .pers = NULL,
26306 .perslen = 0,
26310 static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
26312 .entropy = (unsigned char *)
26313 "\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
26314 "\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
26315 "\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
26316 "\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
26317 .entropylen = 48,
26318 .expected = (unsigned char *)
26319 "\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
26320 "\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
26321 "\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
26322 "\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
26323 "\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
26324 "\xb4\xf0\x7e\x1d",
26325 .expectedlen = 64,
26326 .addtla = NULL,
26327 .addtlb = NULL,
26328 .addtllen = 0,
26329 .pers = NULL,
26330 .perslen = 0,
26334 static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
26336 .entropy = (unsigned char *)
26337 "\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
26338 "\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
26339 .entropylen = 24,
26340 .expected = (unsigned char *)
26341 "\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
26342 "\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
26343 "\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
26344 "\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
26345 "\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
26346 "\xcb\x2d\xd6\xb0",
26347 .expectedlen = 64,
26348 .addtla = NULL,
26349 .addtlb = NULL,
26350 .addtllen = 0,
26351 .pers = NULL,
26352 .perslen = 0,
26353 }, {
26354 .entropy = (unsigned char *)
26355 "\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
26356 "\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
26357 .entropylen = 24,
26358 .expected = (unsigned char *)
26359 "\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
26360 "\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
26361 "\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
26362 "\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
26363 "\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
26364 "\xc3\xdf\xb3\x81",
26365 .expectedlen = 64,
26366 .addtla = (unsigned char *)
26367 "\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
26368 "\x91\x4d\x81\x56",
26369 .addtlb = (unsigned char *)
26370 "\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
26371 "\x4a\x55\xd1\xc6",
26372 .addtllen = 16,
26373 .pers = NULL,
26374 .perslen = 0,
26375 }, {
26376 .entropy = (unsigned char *)
26377 "\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
26378 "\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
26379 .entropylen = 24,
26380 .expected = (unsigned char *)
26381 "\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
26382 "\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
26383 "\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
26384 "\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
26385 "\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
26386 "\x34\x30\x0c\x3d",
26387 .expectedlen = 64,
26388 .addtla = NULL,
26389 .addtlb = NULL,
26390 .addtllen = 0,
26391 .pers = (unsigned char *)
26392 "\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
26393 "\x0b\xc6\x97\x54",
26394 .perslen = 16,
26395 }, {
26396 .entropy = (unsigned char *)
26397 "\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
26398 "\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
26399 .entropylen = 24,
26400 .expected = (unsigned char *)
26401 "\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
26402 "\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
26403 "\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
26404 "\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
26405 "\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
26406 "\x2b\x49\x1e\x5c",
26407 .expectedlen = 64,
26408 .addtla = (unsigned char *)
26409 "\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
26410 "\x44\x85\xe7\xfe",
26411 .addtlb = (unsigned char *)
26412 "\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
26413 "\x82\x16\x62\x7f",
26414 .addtllen = 16,
26415 .pers = (unsigned char *)
26416 "\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
26417 "\x8e\xcf\xe0\x02",
26418 .perslen = 16,
26422 /* Cast5 test vectors from RFC 2144 */
26423 static const struct cipher_testvec cast5_tv_template[] = {
26425 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
26426 "\x23\x45\x67\x89\x34\x56\x78\x9a",
26427 .klen = 16,
26428 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26429 .ctext = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
26430 .len = 8,
26431 }, {
26432 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
26433 "\x23\x45",
26434 .klen = 10,
26435 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26436 .ctext = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
26437 .len = 8,
26438 }, {
26439 .key = "\x01\x23\x45\x67\x12",
26440 .klen = 5,
26441 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26442 .ctext = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
26443 .len = 8,
26444 }, { /* Generated from TF test vectors */
26445 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26446 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26447 .klen = 16,
26448 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26449 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26450 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26451 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26452 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26453 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26454 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26455 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26456 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26457 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26458 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26459 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26460 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26461 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26462 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26463 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26464 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26465 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26466 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26467 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26468 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26469 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26470 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26471 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26472 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26473 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26474 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26475 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26476 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26477 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26478 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26479 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26480 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26481 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26482 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26483 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26484 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26485 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26486 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26487 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26488 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26489 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26490 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26491 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26492 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26493 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26494 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26495 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26496 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26497 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26498 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26499 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26500 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26501 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26502 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26503 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26504 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26505 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26506 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26507 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26508 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26509 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26510 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26511 .ctext = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
26512 "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
26513 "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
26514 "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
26515 "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
26516 "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
26517 "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
26518 "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
26519 "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
26520 "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
26521 "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
26522 "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
26523 "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
26524 "\xED\x34\x35\x78\x6B\x91\xC9\x32"
26525 "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
26526 "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
26527 "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
26528 "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
26529 "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
26530 "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
26531 "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
26532 "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
26533 "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
26534 "\x78\x75\x37\x55\xC1\xF5\x90\x40"
26535 "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
26536 "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
26537 "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
26538 "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
26539 "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
26540 "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
26541 "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
26542 "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
26543 "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
26544 "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
26545 "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
26546 "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
26547 "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
26548 "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
26549 "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
26550 "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
26551 "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
26552 "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
26553 "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
26554 "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
26555 "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
26556 "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
26557 "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
26558 "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
26559 "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
26560 "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
26561 "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
26562 "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
26563 "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
26564 "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
26565 "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
26566 "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
26567 "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
26568 "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
26569 "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
26570 "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
26571 "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
26572 "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
26573 .len = 496,
26574 .also_non_np = 1,
26575 .np = 3,
26576 .tap = { 496 - 20, 4, 16 },
26580 static const struct cipher_testvec cast5_cbc_tv_template[] = {
26581 { /* Generated from TF test vectors */
26582 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26583 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26584 .klen = 16,
26585 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26586 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26587 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26588 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26589 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26590 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26591 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26592 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26593 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26594 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26595 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26596 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26597 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26598 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26599 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26600 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26601 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26602 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26603 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26604 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26605 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26606 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26607 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26608 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26609 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26610 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26611 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26612 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26613 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26614 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26615 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26616 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26617 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26618 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26619 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26620 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26621 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26622 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26623 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26624 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26625 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26626 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26627 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26628 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26629 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26630 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26631 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26632 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26633 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26634 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26635 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26636 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26637 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26638 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26639 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26640 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26641 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26642 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26643 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26644 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26645 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26646 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26647 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26648 .ctext = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
26649 "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
26650 "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
26651 "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
26652 "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
26653 "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
26654 "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
26655 "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
26656 "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
26657 "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
26658 "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
26659 "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
26660 "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
26661 "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
26662 "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
26663 "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
26664 "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
26665 "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
26666 "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
26667 "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
26668 "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
26669 "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
26670 "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
26671 "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
26672 "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
26673 "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
26674 "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
26675 "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
26676 "\x90\x12\x37\x49\x27\x98\x69\x18"
26677 "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
26678 "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
26679 "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
26680 "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
26681 "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
26682 "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
26683 "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
26684 "\x03\x55\x0E\x02\x41\x4A\x45\x06"
26685 "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
26686 "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
26687 "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
26688 "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
26689 "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
26690 "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
26691 "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
26692 "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
26693 "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
26694 "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
26695 "\x11\xB4\x18\x17\x1A\x65\x92\x56"
26696 "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
26697 "\x1A\x01\x22\x45\x17\x62\x52\x6C"
26698 "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
26699 "\x32\x66\x6F\x23\x7F\x94\x36\x88"
26700 "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
26701 "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
26702 "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
26703 "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
26704 "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
26705 "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
26706 "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
26707 "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
26708 "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
26709 "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
26710 .len = 496,
26711 .also_non_np = 1,
26712 .np = 3,
26713 .tap = { 496 - 20, 4, 16 },
26717 static const struct cipher_testvec cast5_ctr_tv_template[] = {
26718 { /* Generated from TF test vectors */
26719 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26720 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26721 .klen = 16,
26722 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26723 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26724 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26725 "\x3A",
26726 .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26727 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26728 "\x0C",
26729 .len = 17,
26730 }, { /* Generated from TF test vectors */
26731 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26732 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26733 .klen = 16,
26734 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26735 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26736 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26737 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26738 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26739 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26740 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26741 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26742 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26743 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26744 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26745 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26746 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26747 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26748 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26749 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26750 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26751 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26752 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26753 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26754 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26755 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26756 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26757 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26758 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26759 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26760 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26761 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26762 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26763 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26764 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26765 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26766 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26767 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26768 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26769 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26770 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26771 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26772 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26773 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26774 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26775 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26776 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26777 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26778 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26779 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26780 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26781 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26782 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26783 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26784 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26785 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26786 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26787 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26788 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26789 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26790 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26791 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26792 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26793 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26794 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26795 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26796 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26797 .ctext = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26798 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26799 "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
26800 "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
26801 "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
26802 "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
26803 "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
26804 "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
26805 "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
26806 "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
26807 "\x88\x18\x52\x56\x48\x58\xD1\x6B"
26808 "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
26809 "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
26810 "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
26811 "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
26812 "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
26813 "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
26814 "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
26815 "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
26816 "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
26817 "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
26818 "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
26819 "\x44\x67\x90\x20\xAC\x41\xDF\x43"
26820 "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
26821 "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
26822 "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
26823 "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
26824 "\xAE\x59\x0F\x07\x88\x79\x53\x26"
26825 "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
26826 "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
26827 "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
26828 "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
26829 "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
26830 "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
26831 "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
26832 "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
26833 "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
26834 "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
26835 "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
26836 "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
26837 "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
26838 "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
26839 "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
26840 "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
26841 "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
26842 "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
26843 "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
26844 "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
26845 "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
26846 "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
26847 "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
26848 "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
26849 "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
26850 "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
26851 "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
26852 "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
26853 "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
26854 "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
26855 "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
26856 "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
26857 "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
26858 "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
26859 .len = 496,
26860 .also_non_np = 1,
26861 .np = 3,
26862 .tap = { 496 - 20, 4, 16 },
26867 * ARC4 test vectors from OpenSSL
26869 static const struct cipher_testvec arc4_tv_template[] = {
26871 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26872 .klen = 8,
26873 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26874 .ctext = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
26875 .len = 8,
26876 }, {
26877 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26878 .klen = 8,
26879 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
26880 .ctext = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
26881 .len = 8,
26882 }, {
26883 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
26884 .klen = 8,
26885 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
26886 .ctext = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
26887 .len = 8,
26888 }, {
26889 .key = "\xef\x01\x23\x45",
26890 .klen = 4,
26891 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
26892 "\x00\x00\x00\x00\x00\x00\x00\x00"
26893 "\x00\x00\x00\x00",
26894 .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26895 "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
26896 "\x36\xb6\x78\x58",
26897 .len = 20,
26898 }, {
26899 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
26900 .klen = 8,
26901 .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26902 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26903 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26904 "\x12\x34\x56\x78",
26905 .ctext = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
26906 "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
26907 "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
26908 "\x40\x01\x1e\xcf",
26909 .len = 28,
26910 }, {
26911 .key = "\xef\x01\x23\x45",
26912 .klen = 4,
26913 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
26914 "\x00\x00",
26915 .ctext = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26916 "\xbd\x61",
26917 .len = 10,
26918 }, {
26919 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
26920 "\x00\x00\x00\x00\x00\x00\x00\x00",
26921 .klen = 16,
26922 .ptext = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
26923 .ctext = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
26924 .len = 8,
26929 * TEA test vectors
26931 static const struct cipher_testvec tea_tv_template[] = {
26933 .key = zeroed_string,
26934 .klen = 16,
26935 .ptext = zeroed_string,
26936 .ctext = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
26937 .len = 8,
26938 }, {
26939 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
26940 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26941 .klen = 16,
26942 .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26943 .ctext = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
26944 .len = 8,
26945 }, {
26946 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
26947 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26948 .klen = 16,
26949 .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26950 "\x65\x73\x74\x5f\x76\x65\x63\x74",
26951 .ctext = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
26952 "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
26953 .len = 16,
26954 }, {
26955 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
26956 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
26957 .klen = 16,
26958 .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
26959 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
26960 "\x79\x6f\x75\x21\x21\x21\x20\x72"
26961 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
26962 .ctext = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
26963 "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
26964 "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
26965 "\x07\x89\x73\xc2\x45\x92\xc6\x90",
26966 .len = 32,
26971 * XTEA test vectors
26973 static const struct cipher_testvec xtea_tv_template[] = {
26975 .key = zeroed_string,
26976 .klen = 16,
26977 .ptext = zeroed_string,
26978 .ctext = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
26979 .len = 8,
26980 }, {
26981 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
26982 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26983 .klen = 16,
26984 .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26985 .ctext = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
26986 .len = 8,
26987 }, {
26988 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
26989 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26990 .klen = 16,
26991 .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26992 "\x65\x73\x74\x5f\x76\x65\x63\x74",
26993 .ctext = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
26994 "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
26995 .len = 16,
26996 }, {
26997 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
26998 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
26999 .klen = 16,
27000 .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
27001 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27002 "\x79\x6f\x75\x21\x21\x21\x20\x72"
27003 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27004 .ctext = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
27005 "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
27006 "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
27007 "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
27008 .len = 32,
27013 * KHAZAD test vectors.
27015 static const struct cipher_testvec khazad_tv_template[] = {
27017 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
27018 "\x00\x00\x00\x00\x00\x00\x00\x00",
27019 .klen = 16,
27020 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
27021 .ctext = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
27022 .len = 8,
27023 }, {
27024 .key = "\x38\x38\x38\x38\x38\x38\x38\x38"
27025 "\x38\x38\x38\x38\x38\x38\x38\x38",
27026 .klen = 16,
27027 .ptext = "\x38\x38\x38\x38\x38\x38\x38\x38",
27028 .ctext = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
27029 .len = 8,
27030 }, {
27031 .key = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
27032 "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27033 .klen = 16,
27034 .ptext = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27035 .ctext = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
27036 .len = 8,
27037 }, {
27038 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27039 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27040 .klen = 16,
27041 .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27042 .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27043 .len = 8,
27044 }, {
27045 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27046 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27047 .klen = 16,
27048 .ptext = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27049 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27050 .ctext = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
27051 "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27052 .len = 16,
27057 * Anubis test vectors.
27060 static const struct cipher_testvec anubis_tv_template[] = {
27062 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27063 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27064 .klen = 16,
27065 .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27066 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27067 .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27068 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
27069 .len = 16,
27070 }, {
27072 .key = "\x03\x03\x03\x03\x03\x03\x03\x03"
27073 "\x03\x03\x03\x03\x03\x03\x03\x03"
27074 "\x03\x03\x03\x03",
27075 .klen = 20,
27076 .ptext = "\x03\x03\x03\x03\x03\x03\x03\x03"
27077 "\x03\x03\x03\x03\x03\x03\x03\x03",
27078 .ctext = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
27079 "\x87\x41\x6f\x82\x0a\x98\x64\xae",
27080 .len = 16,
27081 }, {
27082 .key = "\x24\x24\x24\x24\x24\x24\x24\x24"
27083 "\x24\x24\x24\x24\x24\x24\x24\x24"
27084 "\x24\x24\x24\x24\x24\x24\x24\x24"
27085 "\x24\x24\x24\x24",
27086 .klen = 28,
27087 .ptext = "\x24\x24\x24\x24\x24\x24\x24\x24"
27088 "\x24\x24\x24\x24\x24\x24\x24\x24",
27089 .ctext = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
27090 "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
27091 .len = 16,
27092 }, {
27093 .key = "\x25\x25\x25\x25\x25\x25\x25\x25"
27094 "\x25\x25\x25\x25\x25\x25\x25\x25"
27095 "\x25\x25\x25\x25\x25\x25\x25\x25"
27096 "\x25\x25\x25\x25\x25\x25\x25\x25",
27097 .klen = 32,
27098 .ptext = "\x25\x25\x25\x25\x25\x25\x25\x25"
27099 "\x25\x25\x25\x25\x25\x25\x25\x25",
27100 .ctext = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
27101 "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
27102 .len = 16,
27103 }, {
27104 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
27105 "\x35\x35\x35\x35\x35\x35\x35\x35"
27106 "\x35\x35\x35\x35\x35\x35\x35\x35"
27107 "\x35\x35\x35\x35\x35\x35\x35\x35"
27108 "\x35\x35\x35\x35\x35\x35\x35\x35",
27109 .klen = 40,
27110 .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
27111 "\x35\x35\x35\x35\x35\x35\x35\x35",
27112 .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27113 "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
27114 .len = 16,
27118 static const struct cipher_testvec anubis_cbc_tv_template[] = {
27120 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27121 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27122 .klen = 16,
27123 .ptext = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27124 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27125 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27126 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27127 .ctext = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27128 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
27129 "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
27130 "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
27131 .len = 32,
27132 }, {
27133 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
27134 "\x35\x35\x35\x35\x35\x35\x35\x35"
27135 "\x35\x35\x35\x35\x35\x35\x35\x35"
27136 "\x35\x35\x35\x35\x35\x35\x35\x35"
27137 "\x35\x35\x35\x35\x35\x35\x35\x35",
27138 .klen = 40,
27139 .ptext = "\x35\x35\x35\x35\x35\x35\x35\x35"
27140 "\x35\x35\x35\x35\x35\x35\x35\x35"
27141 "\x35\x35\x35\x35\x35\x35\x35\x35"
27142 "\x35\x35\x35\x35\x35\x35\x35\x35",
27143 .ctext = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27144 "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
27145 "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
27146 "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
27147 .len = 32,
27152 * XETA test vectors
27154 static const struct cipher_testvec xeta_tv_template[] = {
27156 .key = zeroed_string,
27157 .klen = 16,
27158 .ptext = zeroed_string,
27159 .ctext = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
27160 .len = 8,
27161 }, {
27162 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
27163 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27164 .klen = 16,
27165 .ptext = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27166 .ctext = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
27167 .len = 8,
27168 }, {
27169 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
27170 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27171 .klen = 16,
27172 .ptext = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27173 "\x65\x73\x74\x5f\x76\x65\x63\x74",
27174 .ctext = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
27175 "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
27176 .len = 16,
27177 }, {
27178 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27179 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27180 .klen = 16,
27181 .ptext = "\x54\x65\x61\x20\x69\x73\x20\x67"
27182 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27183 "\x79\x6f\x75\x21\x21\x21\x20\x72"
27184 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27185 .ctext = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
27186 "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
27187 "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
27188 "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
27189 .len = 32,
27194 * FCrypt test vectors
27196 static const struct cipher_testvec fcrypt_pcbc_tv_template[] = {
27197 { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
27198 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
27199 .klen = 8,
27200 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
27201 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00",
27202 .ctext = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
27203 .len = 8,
27204 }, {
27205 .key = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
27206 .klen = 8,
27207 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
27208 .ptext = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
27209 .ctext = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
27210 .len = 8,
27211 }, { /* From Arla */
27212 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27213 .klen = 8,
27214 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27215 .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
27216 .ctext = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
27217 "\xee\xac\x98\x62\x44\x51\xe4\x84"
27218 "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
27219 "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
27220 "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
27221 "\xf8\x91\x3c\xac\x44\x22\x92\xef",
27222 .len = 48,
27223 }, {
27224 .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27225 .klen = 8,
27226 .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27227 .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
27228 .ctext = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27229 "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27230 "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27231 "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27232 "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27233 "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27234 .len = 48,
27235 }, { /* split-page version */
27236 .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27237 .klen = 8,
27238 .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27239 .ptext = "The quick brown fox jumps over the lazy dogs.\0\0",
27240 .ctext = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27241 "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27242 "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27243 "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27244 "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27245 "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27246 .len = 48,
27247 .np = 2,
27248 .tap = { 20, 28 },
27253 * CAMELLIA test vectors.
27255 static const struct cipher_testvec camellia_tv_template[] = {
27257 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27258 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27259 .klen = 16,
27260 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27261 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27262 .ctext = "\x67\x67\x31\x38\x54\x96\x69\x73"
27263 "\x08\x57\x06\x56\x48\xea\xbe\x43",
27264 .len = 16,
27265 }, {
27266 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27267 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27268 "\x00\x11\x22\x33\x44\x55\x66\x77",
27269 .klen = 24,
27270 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27271 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27272 .ctext = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
27273 "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
27274 .len = 16,
27275 }, {
27276 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27277 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27278 "\x00\x11\x22\x33\x44\x55\x66\x77"
27279 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
27280 .klen = 32,
27281 .ptext = "\x01\x23\x45\x67\x89\xab\xcd\xef"
27282 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27283 .ctext = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
27284 "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
27285 .len = 16,
27286 }, { /* Generated with Crypto++ */
27287 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
27288 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
27289 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
27290 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
27291 .klen = 32,
27292 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27293 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27294 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
27295 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27296 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27297 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27298 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27299 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27300 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27301 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27302 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27303 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27304 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27305 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
27306 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
27307 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
27308 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
27309 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
27310 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
27311 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
27312 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
27313 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
27314 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
27315 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
27316 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
27317 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
27318 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
27319 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
27320 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
27321 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
27322 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
27323 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
27324 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
27325 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
27326 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
27327 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
27328 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
27329 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
27330 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
27331 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
27332 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
27333 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
27334 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27335 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27336 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27337 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27338 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27339 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27340 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27341 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27342 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27343 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27344 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27345 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27346 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27347 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27348 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27349 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27350 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27351 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27352 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27353 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
27354 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
27355 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
27356 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
27357 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
27358 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
27359 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
27360 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
27361 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
27362 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
27363 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
27364 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
27365 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
27366 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
27367 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
27368 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
27369 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
27370 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
27371 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
27372 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
27373 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
27374 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
27375 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
27376 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
27377 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
27378 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
27379 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
27380 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
27381 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
27382 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
27383 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
27384 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
27385 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
27386 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
27387 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
27388 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
27389 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
27390 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
27391 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
27392 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
27393 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
27394 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
27395 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
27396 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
27397 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
27398 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
27399 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
27400 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
27401 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
27402 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
27403 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
27404 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
27405 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
27406 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
27407 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
27408 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
27409 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
27410 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
27411 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
27412 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
27413 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
27414 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
27415 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
27416 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
27417 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
27418 .ctext = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
27419 "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
27420 "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
27421 "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
27422 "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
27423 "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
27424 "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
27425 "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
27426 "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
27427 "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
27428 "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
27429 "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
27430 "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
27431 "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
27432 "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
27433 "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
27434 "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
27435 "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
27436 "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
27437 "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
27438 "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
27439 "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
27440 "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
27441 "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
27442 "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
27443 "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
27444 "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
27445 "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
27446 "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
27447 "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
27448 "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
27449 "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
27450 "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
27451 "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
27452 "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
27453 "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
27454 "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
27455 "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
27456 "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
27457 "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
27458 "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
27459 "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
27460 "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
27461 "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
27462 "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
27463 "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
27464 "\x83\x06\xAB\x82\x99\x01\x16\x1A"
27465 "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
27466 "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
27467 "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
27468 "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
27469 "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
27470 "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
27471 "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
27472 "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
27473 "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
27474 "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
27475 "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
27476 "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
27477 "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
27478 "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
27479 "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
27480 "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
27481 "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
27482 "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
27483 "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
27484 "\xED\x28\x39\xE9\x63\xED\x41\x70"
27485 "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
27486 "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
27487 "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
27488 "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
27489 "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
27490 "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
27491 "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
27492 "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
27493 "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
27494 "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
27495 "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
27496 "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
27497 "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
27498 "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
27499 "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
27500 "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
27501 "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
27502 "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
27503 "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
27504 "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
27505 "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
27506 "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
27507 "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
27508 "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
27509 "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
27510 "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
27511 "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
27512 "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
27513 "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
27514 "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
27515 "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
27516 "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
27517 "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
27518 "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
27519 "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
27520 "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
27521 "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
27522 "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
27523 "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
27524 "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
27525 "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
27526 "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
27527 "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
27528 "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
27529 "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
27530 "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
27531 "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
27532 "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
27533 "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
27534 "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
27535 "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
27536 "\x31\x93\x51\x1C\x63\x97\x70\xB0"
27537 "\x99\x78\x83\x13\xFD\xCF\x53\x81"
27538 "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
27539 "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
27540 "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
27541 "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
27542 "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
27543 "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
27544 .len = 1008,
27545 .also_non_np = 1,
27546 .np = 3,
27547 .tap = { 1008 - 20, 4, 16 },
27551 static const struct cipher_testvec camellia_cbc_tv_template[] = {
27553 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
27554 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
27555 .klen = 16,
27556 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
27557 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
27558 .ptext = "Single block msg",
27559 .ctext = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
27560 "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
27561 .len = 16,
27562 }, {
27563 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
27564 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
27565 .klen = 16,
27566 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
27567 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
27568 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
27569 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
27570 "\x10\x11\x12\x13\x14\x15\x16\x17"
27571 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
27572 .ctext = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
27573 "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
27574 "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
27575 "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
27576 .len = 32,
27577 }, { /* Generated with Crypto++ */
27578 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
27579 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
27580 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
27581 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
27582 .klen = 32,
27583 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
27584 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
27585 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27586 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27587 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
27588 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27589 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27590 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27591 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27592 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27593 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27594 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27595 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27596 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27597 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27598 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
27599 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
27600 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
27601 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
27602 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
27603 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
27604 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
27605 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
27606 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
27607 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
27608 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
27609 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
27610 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
27611 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
27612 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
27613 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
27614 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
27615 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
27616 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
27617 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
27618 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
27619 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
27620 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
27621 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
27622 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
27623 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
27624 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
27625 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
27626 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
27627 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27628 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27629 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27630 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27631 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27632 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27633 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27634 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27635 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27636 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27637 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27638 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27639 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27640 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27641 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27642 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27643 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27644 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27645 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27646 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
27647 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
27648 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
27649 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
27650 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
27651 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
27652 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
27653 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
27654 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
27655 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
27656 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
27657 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
27658 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
27659 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
27660 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
27661 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
27662 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
27663 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
27664 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
27665 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
27666 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
27667 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
27668 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
27669 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
27670 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
27671 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
27672 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
27673 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
27674 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
27675 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
27676 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
27677 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
27678 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
27679 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
27680 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
27681 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
27682 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
27683 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
27684 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
27685 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
27686 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
27687 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
27688 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
27689 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
27690 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
27691 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
27692 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
27693 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
27694 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
27695 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
27696 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
27697 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
27698 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
27699 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
27700 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
27701 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
27702 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
27703 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
27704 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
27705 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
27706 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
27707 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
27708 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
27709 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
27710 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
27711 .ctext = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
27712 "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
27713 "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
27714 "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
27715 "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
27716 "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
27717 "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
27718 "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
27719 "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
27720 "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
27721 "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
27722 "\x37\x49\x88\xA4\xEF\x91\x21\x47"
27723 "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
27724 "\x28\x90\x77\x46\xD8\xD2\x35\x16"
27725 "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
27726 "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
27727 "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
27728 "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
27729 "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
27730 "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
27731 "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
27732 "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
27733 "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
27734 "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
27735 "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
27736 "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
27737 "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
27738 "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
27739 "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
27740 "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
27741 "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
27742 "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
27743 "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
27744 "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
27745 "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
27746 "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
27747 "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
27748 "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
27749 "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
27750 "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
27751 "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
27752 "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
27753 "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
27754 "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
27755 "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
27756 "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
27757 "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
27758 "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
27759 "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
27760 "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
27761 "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
27762 "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
27763 "\x38\xB8\x48\x36\x66\x4E\x20\x43"
27764 "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
27765 "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
27766 "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
27767 "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
27768 "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
27769 "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
27770 "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
27771 "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
27772 "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
27773 "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
27774 "\x21\x41\x56\x72\x13\xE1\x86\x07"
27775 "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
27776 "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
27777 "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
27778 "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
27779 "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
27780 "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
27781 "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
27782 "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
27783 "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
27784 "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
27785 "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
27786 "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
27787 "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
27788 "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
27789 "\xBE\x31\x31\x96\x8B\x40\x18\x75"
27790 "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
27791 "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
27792 "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
27793 "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
27794 "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
27795 "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
27796 "\x09\xB0\x43\x96\x4A\x64\x80\x40"
27797 "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
27798 "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
27799 "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
27800 "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
27801 "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
27802 "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
27803 "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
27804 "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
27805 "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
27806 "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
27807 "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
27808 "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
27809 "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
27810 "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
27811 "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
27812 "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
27813 "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
27814 "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
27815 "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
27816 "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
27817 "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
27818 "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
27819 "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
27820 "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
27821 "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
27822 "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
27823 "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
27824 "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
27825 "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
27826 "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
27827 "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
27828 "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
27829 "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
27830 "\x80\xE7\x29\xDC\x23\x55\x98\x54"
27831 "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
27832 "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
27833 "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
27834 "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
27835 "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
27836 "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
27837 .len = 1008,
27838 .also_non_np = 1,
27839 .np = 3,
27840 .tap = { 1008 - 20, 4, 16 },
27844 static const struct cipher_testvec camellia_ctr_tv_template[] = {
27845 { /* Generated with Crypto++ */
27846 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
27847 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
27848 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
27849 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
27850 .klen = 32,
27851 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
27852 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
27853 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27854 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27855 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
27856 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27857 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27858 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27859 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27860 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27861 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27862 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27863 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27864 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27865 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27866 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
27867 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
27868 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
27869 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
27870 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
27871 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
27872 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
27873 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
27874 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
27875 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
27876 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
27877 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
27878 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
27879 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
27880 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
27881 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
27882 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
27883 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
27884 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
27885 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
27886 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
27887 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
27888 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
27889 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
27890 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
27891 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
27892 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
27893 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
27894 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
27895 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27896 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27897 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27898 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27899 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27900 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27901 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27902 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27903 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27904 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27905 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27906 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27907 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27908 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27909 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27910 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27911 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27912 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27913 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27914 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
27915 .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
27916 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
27917 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
27918 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
27919 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
27920 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
27921 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
27922 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
27923 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
27924 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
27925 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
27926 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
27927 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
27928 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
27929 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
27930 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
27931 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
27932 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
27933 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
27934 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
27935 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
27936 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
27937 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
27938 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
27939 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
27940 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
27941 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
27942 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
27943 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
27944 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
27945 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
27946 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
27947 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
27948 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
27949 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
27950 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
27951 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
27952 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
27953 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
27954 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
27955 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
27956 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
27957 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
27958 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
27959 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
27960 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
27961 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
27962 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
27963 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
27964 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
27965 "\x76\x44\x45\xF3\x24\x11\x57\x98"
27966 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
27967 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
27968 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
27969 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
27970 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
27971 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
27972 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
27973 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
27974 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
27975 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
27976 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
27977 .len = 496,
27978 }, { /* Generated with Crypto++ */
27979 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
27980 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
27981 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
27982 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
27983 .klen = 32,
27984 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
27985 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
27986 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27987 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27988 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
27989 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27990 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27991 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27992 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27993 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27994 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27995 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27996 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27997 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27998 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27999 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28000 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28001 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28002 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28003 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28004 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28005 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28006 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28007 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28008 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28009 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28010 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28011 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28012 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28013 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28014 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28015 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28016 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28017 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28018 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28019 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28020 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28021 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28022 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28023 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28024 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28025 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28026 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28027 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28028 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28029 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28030 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28031 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28032 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28033 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28034 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28035 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28036 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28037 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28038 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28039 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28040 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28041 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28042 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28043 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28044 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28045 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28046 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28047 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28048 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28049 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28050 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28051 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28052 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28053 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28054 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28055 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28056 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28057 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28058 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28059 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28060 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28061 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28062 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28063 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28064 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28065 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28066 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28067 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28068 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28069 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28070 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28071 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28072 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28073 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28074 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28075 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28076 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28077 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28078 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28079 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28080 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28081 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28082 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28083 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28084 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28085 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28086 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28087 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28088 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28089 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28090 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28091 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28092 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28093 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28094 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28095 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28096 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28097 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28098 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28099 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28100 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28101 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28102 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28103 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28104 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28105 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28106 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28107 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28108 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28109 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28110 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28111 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
28112 "\xE4\x7B\x12",
28113 .ctext = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
28114 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
28115 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
28116 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
28117 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
28118 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
28119 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
28120 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
28121 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
28122 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
28123 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
28124 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
28125 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
28126 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
28127 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
28128 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
28129 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
28130 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
28131 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
28132 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
28133 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
28134 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
28135 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
28136 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
28137 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
28138 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
28139 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
28140 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
28141 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
28142 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
28143 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
28144 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
28145 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
28146 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
28147 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
28148 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
28149 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
28150 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
28151 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
28152 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
28153 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
28154 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
28155 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
28156 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
28157 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
28158 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
28159 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
28160 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
28161 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
28162 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
28163 "\x76\x44\x45\xF3\x24\x11\x57\x98"
28164 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
28165 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
28166 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
28167 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
28168 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
28169 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
28170 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
28171 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
28172 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
28173 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
28174 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
28175 "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
28176 "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
28177 "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
28178 "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
28179 "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
28180 "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
28181 "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
28182 "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
28183 "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
28184 "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
28185 "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
28186 "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
28187 "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
28188 "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
28189 "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
28190 "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
28191 "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
28192 "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
28193 "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
28194 "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
28195 "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
28196 "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
28197 "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
28198 "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
28199 "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
28200 "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
28201 "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
28202 "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
28203 "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
28204 "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
28205 "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
28206 "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
28207 "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
28208 "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
28209 "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
28210 "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
28211 "\x00\x70\x12\x56\x56\x50\xAD\x14"
28212 "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
28213 "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
28214 "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
28215 "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
28216 "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
28217 "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
28218 "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
28219 "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
28220 "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
28221 "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
28222 "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
28223 "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
28224 "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
28225 "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
28226 "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
28227 "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
28228 "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
28229 "\x40\x48\x19\x73\x7C\x78\x64\x0B"
28230 "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
28231 "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
28232 "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
28233 "\x74\x28\x9D\x05\x30\x20\x62\x41"
28234 "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
28235 "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
28236 "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
28237 "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
28238 "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
28239 "\xF1\x6B\xD9",
28240 .len = 1011,
28241 .also_non_np = 1,
28242 .np = 2,
28243 .tap = { 1011 - 16, 16 },
28244 }, { /* Generated with Crypto++ */
28245 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28246 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28247 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28248 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28249 .klen = 32,
28250 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
28251 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
28252 .ptext = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28253 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28254 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28255 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28256 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28257 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28258 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28259 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28260 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28261 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28262 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28263 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28264 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28265 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28266 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28267 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28268 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28269 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28270 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28271 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28272 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28273 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28274 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28275 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28276 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28277 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28278 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28279 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28280 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28281 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28282 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28283 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28284 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28285 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28286 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28287 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28288 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28289 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28290 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28291 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28292 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28293 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28294 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28295 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28296 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28297 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28298 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28299 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28300 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28301 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28302 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28303 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28304 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28305 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28306 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28307 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28308 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28309 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28310 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28311 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28312 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28313 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28314 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28315 "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28316 "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28317 "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28318 "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28319 "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28320 "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28321 "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28322 "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28323 "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28324 "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28325 "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28326 "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28327 "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28328 "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28329 "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28330 "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28331 "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28332 "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28333 "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28334 "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28335 "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28336 "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28337 "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28338 "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28339 "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28340 "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28341 "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28342 "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28343 "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28344 "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28345 "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28346 "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28347 "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28348 "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28349 "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28350 "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28351 "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28352 "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28353 "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28354 "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28355 "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28356 "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28357 "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28358 "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28359 "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28360 "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28361 "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28362 "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28363 "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28364 "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28365 "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28366 "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28367 "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28368 "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28369 "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28370 "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28371 "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28372 "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28373 "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28374 "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28375 "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28376 "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28377 "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28378 .ctext = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
28379 "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
28380 "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
28381 "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
28382 "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
28383 "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
28384 "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
28385 "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
28386 "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
28387 "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
28388 "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
28389 "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
28390 "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
28391 "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
28392 "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
28393 "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
28394 "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
28395 "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
28396 "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
28397 "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
28398 "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
28399 "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
28400 "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
28401 "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
28402 "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
28403 "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
28404 "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
28405 "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
28406 "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
28407 "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
28408 "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
28409 "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
28410 "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
28411 "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
28412 "\x93\x78\x86\x05\x69\x46\xD0\xC5"
28413 "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
28414 "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
28415 "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
28416 "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
28417 "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
28418 "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
28419 "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
28420 "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
28421 "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
28422 "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
28423 "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
28424 "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
28425 "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
28426 "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
28427 "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
28428 "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
28429 "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
28430 "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
28431 "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
28432 "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
28433 "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
28434 "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
28435 "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
28436 "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
28437 "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
28438 "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
28439 "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
28440 "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
28441 "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
28442 "\x3F\x23\x69\x63\x56\x96\x45\xD6"
28443 "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
28444 "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
28445 "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
28446 "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
28447 "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
28448 "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
28449 "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
28450 "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
28451 "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
28452 "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
28453 "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
28454 "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
28455 "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
28456 "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
28457 "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
28458 "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
28459 "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
28460 "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
28461 "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
28462 "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
28463 "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
28464 "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
28465 "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
28466 "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
28467 "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
28468 "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
28469 "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
28470 "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
28471 "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
28472 "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
28473 "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
28474 "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
28475 "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
28476 "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
28477 "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
28478 "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
28479 "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
28480 "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
28481 "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
28482 "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
28483 "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
28484 "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
28485 "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
28486 "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
28487 "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
28488 "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
28489 "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
28490 "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
28491 "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
28492 "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
28493 "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
28494 "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
28495 "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
28496 "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
28497 "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
28498 "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
28499 "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
28500 "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
28501 "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
28502 "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
28503 "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
28504 .len = 1008,
28508 static const struct cipher_testvec camellia_lrw_tv_template[] = {
28509 /* Generated from AES-LRW test vectors */
28511 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
28512 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
28513 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
28514 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
28515 .klen = 32,
28516 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28517 "\x00\x00\x00\x00\x00\x00\x00\x01",
28518 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
28519 "\x38\x39\x41\x42\x43\x44\x45\x46",
28520 .ctext = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
28521 "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
28522 .len = 16,
28523 }, {
28524 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
28525 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
28526 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
28527 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
28528 .klen = 32,
28529 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28530 "\x00\x00\x00\x00\x00\x00\x00\x02",
28531 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
28532 "\x38\x39\x41\x42\x43\x44\x45\x46",
28533 .ctext = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
28534 "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
28535 .len = 16,
28536 }, {
28537 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
28538 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
28539 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
28540 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
28541 .klen = 32,
28542 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28543 "\x00\x00\x00\x02\x00\x00\x00\x00",
28544 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
28545 "\x38\x39\x41\x42\x43\x44\x45\x46",
28546 .ctext = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
28547 "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
28548 .len = 16,
28549 }, {
28550 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
28551 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
28552 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
28553 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
28554 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
28555 .klen = 40,
28556 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28557 "\x00\x00\x00\x00\x00\x00\x00\x01",
28558 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
28559 "\x38\x39\x41\x42\x43\x44\x45\x46",
28560 .ctext = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
28561 "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
28562 .len = 16,
28563 }, {
28564 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
28565 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
28566 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
28567 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
28568 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
28569 .klen = 40,
28570 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28571 "\x00\x00\x00\x02\x00\x00\x00\x00",
28572 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
28573 "\x38\x39\x41\x42\x43\x44\x45\x46",
28574 .ctext = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
28575 "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
28576 .len = 16,
28577 }, {
28578 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
28579 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
28580 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
28581 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
28582 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
28583 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
28584 .klen = 48,
28585 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28586 "\x00\x00\x00\x00\x00\x00\x00\x01",
28587 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
28588 "\x38\x39\x41\x42\x43\x44\x45\x46",
28589 .ctext = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
28590 "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
28591 .len = 16,
28592 }, {
28593 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
28594 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
28595 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
28596 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
28597 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
28598 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
28599 .klen = 48,
28600 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28601 "\x00\x00\x00\x02\x00\x00\x00\x00",
28602 .ptext = "\x30\x31\x32\x33\x34\x35\x36\x37"
28603 "\x38\x39\x41\x42\x43\x44\x45\x46",
28604 .ctext = "\x04\xab\x28\x37\x31\x7a\x26\xab"
28605 "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
28606 .len = 16,
28607 }, {
28608 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
28609 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
28610 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
28611 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
28612 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
28613 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
28614 .klen = 48,
28615 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28616 "\x00\x00\x00\x00\x00\x00\x00\x01",
28617 .ptext = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
28618 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
28619 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
28620 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
28621 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
28622 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
28623 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
28624 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
28625 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
28626 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
28627 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
28628 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
28629 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
28630 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
28631 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
28632 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
28633 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
28634 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
28635 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
28636 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
28637 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
28638 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
28639 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
28640 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
28641 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
28642 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
28643 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
28644 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
28645 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
28646 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
28647 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
28648 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
28649 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
28650 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
28651 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
28652 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
28653 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
28654 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
28655 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
28656 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
28657 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
28658 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
28659 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
28660 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
28661 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
28662 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
28663 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
28664 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
28665 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
28666 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
28667 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
28668 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
28669 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
28670 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
28671 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
28672 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
28673 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
28674 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
28675 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
28676 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
28677 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
28678 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
28679 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
28680 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
28681 .ctext = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
28682 "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
28683 "\x67\x76\xac\x2c\xd2\x63\x18\x93"
28684 "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
28685 "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
28686 "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
28687 "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
28688 "\x62\xdd\x78\x81\xea\x1d\xef\x04"
28689 "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
28690 "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
28691 "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
28692 "\x40\x41\x69\xaa\x71\xc0\x37\xec"
28693 "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
28694 "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
28695 "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
28696 "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
28697 "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
28698 "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
28699 "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
28700 "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
28701 "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
28702 "\x42\x08\x40\x82\x06\x1c\x2d\x55"
28703 "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
28704 "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
28705 "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
28706 "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
28707 "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
28708 "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
28709 "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
28710 "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
28711 "\xed\x14\xa9\x57\x19\x63\x40\x04"
28712 "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
28713 "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
28714 "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
28715 "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
28716 "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
28717 "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
28718 "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
28719 "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
28720 "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
28721 "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
28722 "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
28723 "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
28724 "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
28725 "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
28726 "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
28727 "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
28728 "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
28729 "\x35\xa5\x83\x04\x84\x01\x99\x56"
28730 "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
28731 "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
28732 "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
28733 "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
28734 "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
28735 "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
28736 "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
28737 "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
28738 "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
28739 "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
28740 "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
28741 "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
28742 "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
28743 "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
28744 "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
28745 .len = 512,
28746 .also_non_np = 1,
28747 .np = 3,
28748 .tap = { 512 - 20, 4, 16 },
28752 static const struct cipher_testvec camellia_xts_tv_template[] = {
28753 /* Generated from AES-XTS test vectors */
28755 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
28756 "\x00\x00\x00\x00\x00\x00\x00\x00"
28757 "\x00\x00\x00\x00\x00\x00\x00\x00"
28758 "\x00\x00\x00\x00\x00\x00\x00\x00",
28759 .klen = 32,
28760 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28761 "\x00\x00\x00\x00\x00\x00\x00\x00",
28762 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
28763 "\x00\x00\x00\x00\x00\x00\x00\x00"
28764 "\x00\x00\x00\x00\x00\x00\x00\x00"
28765 "\x00\x00\x00\x00\x00\x00\x00\x00",
28766 .ctext = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
28767 "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
28768 "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
28769 "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
28770 .len = 32,
28771 }, {
28772 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
28773 "\x11\x11\x11\x11\x11\x11\x11\x11"
28774 "\x22\x22\x22\x22\x22\x22\x22\x22"
28775 "\x22\x22\x22\x22\x22\x22\x22\x22",
28776 .klen = 32,
28777 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
28778 "\x00\x00\x00\x00\x00\x00\x00\x00",
28779 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
28780 "\x44\x44\x44\x44\x44\x44\x44\x44"
28781 "\x44\x44\x44\x44\x44\x44\x44\x44"
28782 "\x44\x44\x44\x44\x44\x44\x44\x44",
28783 .ctext = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
28784 "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
28785 "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
28786 "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
28787 .len = 32,
28788 }, {
28789 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
28790 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
28791 "\x22\x22\x22\x22\x22\x22\x22\x22"
28792 "\x22\x22\x22\x22\x22\x22\x22\x22",
28793 .klen = 32,
28794 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
28795 "\x00\x00\x00\x00\x00\x00\x00\x00",
28796 .ptext = "\x44\x44\x44\x44\x44\x44\x44\x44"
28797 "\x44\x44\x44\x44\x44\x44\x44\x44"
28798 "\x44\x44\x44\x44\x44\x44\x44\x44"
28799 "\x44\x44\x44\x44\x44\x44\x44\x44",
28800 .ctext = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
28801 "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
28802 "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
28803 "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
28804 .len = 32,
28805 }, {
28806 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
28807 "\x23\x53\x60\x28\x74\x71\x35\x26"
28808 "\x31\x41\x59\x26\x53\x58\x97\x93"
28809 "\x23\x84\x62\x64\x33\x83\x27\x95",
28810 .klen = 32,
28811 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
28812 "\x00\x00\x00\x00\x00\x00\x00\x00",
28813 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
28814 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28815 "\x10\x11\x12\x13\x14\x15\x16\x17"
28816 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
28817 "\x20\x21\x22\x23\x24\x25\x26\x27"
28818 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
28819 "\x30\x31\x32\x33\x34\x35\x36\x37"
28820 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
28821 "\x40\x41\x42\x43\x44\x45\x46\x47"
28822 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
28823 "\x50\x51\x52\x53\x54\x55\x56\x57"
28824 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
28825 "\x60\x61\x62\x63\x64\x65\x66\x67"
28826 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
28827 "\x70\x71\x72\x73\x74\x75\x76\x77"
28828 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
28829 "\x80\x81\x82\x83\x84\x85\x86\x87"
28830 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
28831 "\x90\x91\x92\x93\x94\x95\x96\x97"
28832 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
28833 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
28834 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
28835 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
28836 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
28837 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
28838 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
28839 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
28840 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
28841 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
28842 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
28843 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
28844 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
28845 "\x00\x01\x02\x03\x04\x05\x06\x07"
28846 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28847 "\x10\x11\x12\x13\x14\x15\x16\x17"
28848 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
28849 "\x20\x21\x22\x23\x24\x25\x26\x27"
28850 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
28851 "\x30\x31\x32\x33\x34\x35\x36\x37"
28852 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
28853 "\x40\x41\x42\x43\x44\x45\x46\x47"
28854 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
28855 "\x50\x51\x52\x53\x54\x55\x56\x57"
28856 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
28857 "\x60\x61\x62\x63\x64\x65\x66\x67"
28858 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
28859 "\x70\x71\x72\x73\x74\x75\x76\x77"
28860 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
28861 "\x80\x81\x82\x83\x84\x85\x86\x87"
28862 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
28863 "\x90\x91\x92\x93\x94\x95\x96\x97"
28864 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
28865 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
28866 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
28867 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
28868 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
28869 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
28870 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
28871 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
28872 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
28873 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
28874 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
28875 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
28876 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
28877 .ctext = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
28878 "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
28879 "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
28880 "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
28881 "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
28882 "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
28883 "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
28884 "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
28885 "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
28886 "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
28887 "\x08\xda\x76\x00\x65\xcf\x7b\x31"
28888 "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
28889 "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
28890 "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
28891 "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
28892 "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
28893 "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
28894 "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
28895 "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
28896 "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
28897 "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
28898 "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
28899 "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
28900 "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
28901 "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
28902 "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
28903 "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
28904 "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
28905 "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
28906 "\x16\x31\xb2\x47\x91\x67\xaa\x28"
28907 "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
28908 "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
28909 "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
28910 "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
28911 "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
28912 "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
28913 "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
28914 "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
28915 "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
28916 "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
28917 "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
28918 "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
28919 "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
28920 "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
28921 "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
28922 "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
28923 "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
28924 "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
28925 "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
28926 "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
28927 "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
28928 "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
28929 "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
28930 "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
28931 "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
28932 "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
28933 "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
28934 "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
28935 "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
28936 "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
28937 "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
28938 "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
28939 "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
28940 "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
28941 .len = 512,
28942 }, {
28943 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
28944 "\x23\x53\x60\x28\x74\x71\x35\x26"
28945 "\x62\x49\x77\x57\x24\x70\x93\x69"
28946 "\x99\x59\x57\x49\x66\x96\x76\x27"
28947 "\x31\x41\x59\x26\x53\x58\x97\x93"
28948 "\x23\x84\x62\x64\x33\x83\x27\x95"
28949 "\x02\x88\x41\x97\x16\x93\x99\x37"
28950 "\x51\x05\x82\x09\x74\x94\x45\x92",
28951 .klen = 64,
28952 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
28953 "\x00\x00\x00\x00\x00\x00\x00\x00",
28954 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
28955 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28956 "\x10\x11\x12\x13\x14\x15\x16\x17"
28957 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
28958 "\x20\x21\x22\x23\x24\x25\x26\x27"
28959 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
28960 "\x30\x31\x32\x33\x34\x35\x36\x37"
28961 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
28962 "\x40\x41\x42\x43\x44\x45\x46\x47"
28963 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
28964 "\x50\x51\x52\x53\x54\x55\x56\x57"
28965 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
28966 "\x60\x61\x62\x63\x64\x65\x66\x67"
28967 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
28968 "\x70\x71\x72\x73\x74\x75\x76\x77"
28969 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
28970 "\x80\x81\x82\x83\x84\x85\x86\x87"
28971 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
28972 "\x90\x91\x92\x93\x94\x95\x96\x97"
28973 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
28974 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
28975 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
28976 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
28977 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
28978 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
28979 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
28980 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
28981 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
28982 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
28983 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
28984 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
28985 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
28986 "\x00\x01\x02\x03\x04\x05\x06\x07"
28987 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28988 "\x10\x11\x12\x13\x14\x15\x16\x17"
28989 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
28990 "\x20\x21\x22\x23\x24\x25\x26\x27"
28991 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
28992 "\x30\x31\x32\x33\x34\x35\x36\x37"
28993 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
28994 "\x40\x41\x42\x43\x44\x45\x46\x47"
28995 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
28996 "\x50\x51\x52\x53\x54\x55\x56\x57"
28997 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
28998 "\x60\x61\x62\x63\x64\x65\x66\x67"
28999 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
29000 "\x70\x71\x72\x73\x74\x75\x76\x77"
29001 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
29002 "\x80\x81\x82\x83\x84\x85\x86\x87"
29003 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
29004 "\x90\x91\x92\x93\x94\x95\x96\x97"
29005 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
29006 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
29007 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
29008 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
29009 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
29010 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
29011 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
29012 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
29013 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
29014 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
29015 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
29016 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
29017 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
29018 .ctext = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
29019 "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
29020 "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
29021 "\xf1\x74\xac\x96\x05\x7b\x32\xca"
29022 "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
29023 "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
29024 "\x97\x07\x82\xf0\x07\x12\x38\x0a"
29025 "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
29026 "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
29027 "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
29028 "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
29029 "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
29030 "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
29031 "\x41\x82\x0c\x45\x39\x35\xa8\x75"
29032 "\x03\x29\x01\x84\x8c\xab\x48\xbe"
29033 "\x11\x56\x22\x67\xb7\x67\x1a\x09"
29034 "\xa1\x72\x25\x41\x3c\x39\x65\x80"
29035 "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
29036 "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
29037 "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
29038 "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
29039 "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
29040 "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
29041 "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
29042 "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
29043 "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
29044 "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
29045 "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
29046 "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
29047 "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
29048 "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
29049 "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
29050 "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
29051 "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
29052 "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
29053 "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
29054 "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
29055 "\xef\x38\x52\x18\x0e\x29\x7e\xef"
29056 "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
29057 "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
29058 "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
29059 "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
29060 "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
29061 "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
29062 "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
29063 "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
29064 "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
29065 "\x21\x17\xf8\x59\x15\x24\x64\x22"
29066 "\x57\x48\x80\xd5\x3d\x92\x30\x07"
29067 "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
29068 "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
29069 "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
29070 "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
29071 "\x6b\x84\xf3\x00\xba\x52\x05\x02"
29072 "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
29073 "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
29074 "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
29075 "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
29076 "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
29077 "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
29078 "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
29079 "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
29080 "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
29081 "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
29082 .len = 512,
29083 .also_non_np = 1,
29084 .np = 3,
29085 .tap = { 512 - 20, 4, 16 },
29090 * SEED test vectors
29092 static const struct cipher_testvec seed_tv_template[] = {
29094 .key = zeroed_string,
29095 .klen = 16,
29096 .ptext = "\x00\x01\x02\x03\x04\x05\x06\x07"
29097 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
29098 .ctext = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
29099 "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
29100 .len = 16,
29101 }, {
29102 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
29103 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
29104 .klen = 16,
29105 .ptext = zeroed_string,
29106 .ctext = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
29107 "\x84\x48\x35\x97\xe4\x37\x0f\x43",
29108 .len = 16,
29109 }, {
29110 .key = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
29111 "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
29112 .klen = 16,
29113 .ptext = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
29114 "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
29115 .ctext = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
29116 "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
29117 .len = 16,
29118 }, {
29119 .key = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
29120 "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
29121 .klen = 16,
29122 .ptext = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
29123 "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
29124 .ctext = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
29125 "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
29126 .len = 16,
29130 static const struct cipher_testvec salsa20_stream_tv_template[] = {
29132 * Testvectors from verified.test-vectors submitted to ECRYPT.
29133 * They are truncated to size 39, 64, 111, 129 to test a variety
29134 * of input length.
29136 { /* Set 3, vector 0 */
29137 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
29138 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
29139 .klen = 16,
29140 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
29141 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
29142 "\x00\x00\x00\x00\x00\x00\x00\x00"
29143 "\x00\x00\x00\x00\x00\x00\x00\x00"
29144 "\x00\x00\x00\x00\x00\x00\x00\x00"
29145 "\x00\x00\x00\x00\x00\x00\x00",
29146 .ctext = "\x2D\xD5\xC3\xF7\xBA\x2B\x20\xF7"
29147 "\x68\x02\x41\x0C\x68\x86\x88\x89"
29148 "\x5A\xD8\xC1\xBD\x4E\xA6\xC9\xB1"
29149 "\x40\xFB\x9B\x90\xE2\x10\x49\xBF"
29150 "\x58\x3F\x52\x79\x70\xEB\xC1",
29151 .len = 39,
29152 }, { /* Set 5, vector 0 */
29153 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
29154 "\x00\x00\x00\x00\x00\x00\x00\x00",
29155 .klen = 16,
29156 .iv = "\x80\x00\x00\x00\x00\x00\x00\x00",
29157 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
29158 "\x00\x00\x00\x00\x00\x00\x00\x00"
29159 "\x00\x00\x00\x00\x00\x00\x00\x00"
29160 "\x00\x00\x00\x00\x00\x00\x00\x00"
29161 "\x00\x00\x00\x00\x00\x00\x00\x00"
29162 "\x00\x00\x00\x00\x00\x00\x00\x00"
29163 "\x00\x00\x00\x00\x00\x00\x00\x00"
29164 "\x00\x00\x00\x00\x00\x00\x00\x00",
29165 .ctext = "\xB6\x6C\x1E\x44\x46\xDD\x95\x57"
29166 "\xE5\x78\xE2\x23\xB0\xB7\x68\x01"
29167 "\x7B\x23\xB2\x67\xBB\x02\x34\xAE"
29168 "\x46\x26\xBF\x44\x3F\x21\x97\x76"
29169 "\x43\x6F\xB1\x9F\xD0\xE8\x86\x6F"
29170 "\xCD\x0D\xE9\xA9\x53\x8F\x4A\x09"
29171 "\xCA\x9A\xC0\x73\x2E\x30\xBC\xF9"
29172 "\x8E\x4F\x13\xE4\xB9\xE2\x01\xD9",
29173 .len = 64,
29174 }, { /* Set 3, vector 27 */
29175 .key = "\x1B\x1C\x1D\x1E\x1F\x20\x21\x22"
29176 "\x23\x24\x25\x26\x27\x28\x29\x2A"
29177 "\x2B\x2C\x2D\x2E\x2F\x30\x31\x32"
29178 "\x33\x34\x35\x36\x37\x38\x39\x3A",
29179 .klen = 32,
29180 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
29181 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
29182 "\x00\x00\x00\x00\x00\x00\x00\x00"
29183 "\x00\x00\x00\x00\x00\x00\x00\x00"
29184 "\x00\x00\x00\x00\x00\x00\x00\x00"
29185 "\x00\x00\x00\x00\x00\x00\x00\x00"
29186 "\x00\x00\x00\x00\x00\x00\x00\x00"
29187 "\x00\x00\x00\x00\x00\x00\x00\x00"
29188 "\x00\x00\x00\x00\x00\x00\x00\x00"
29189 "\x00\x00\x00\x00\x00\x00\x00\x00"
29190 "\x00\x00\x00\x00\x00\x00\x00\x00"
29191 "\x00\x00\x00\x00\x00\x00\x00\x00"
29192 "\x00\x00\x00\x00\x00\x00\x00\x00"
29193 "\x00\x00\x00\x00\x00\x00\x00\x00"
29194 "\x00\x00\x00\x00\x00\x00\x00",
29195 .ctext = "\xAE\x39\x50\x8E\xAC\x9A\xEC\xE7"
29196 "\xBF\x97\xBB\x20\xB9\xDE\xE4\x1F"
29197 "\x87\xD9\x47\xF8\x28\x91\x35\x98"
29198 "\xDB\x72\xCC\x23\x29\x48\x56\x5E"
29199 "\x83\x7E\x0B\xF3\x7D\x5D\x38\x7B"
29200 "\x2D\x71\x02\xB4\x3B\xB5\xD8\x23"
29201 "\xB0\x4A\xDF\x3C\xEC\xB6\xD9\x3B"
29202 "\x9B\xA7\x52\xBE\xC5\xD4\x50\x59"
29203 "\x15\x14\xB4\x0E\x40\xE6\x53\xD1"
29204 "\x83\x9C\x5B\xA0\x92\x29\x6B\x5E"
29205 "\x96\x5B\x1E\x2F\xD3\xAC\xC1\x92"
29206 "\xB1\x41\x3F\x19\x2F\xC4\x3B\xC6"
29207 "\x95\x46\x45\x54\xE9\x75\x03\x08"
29208 "\x44\xAF\xE5\x8A\x81\x12\x09",
29209 .len = 111,
29210 }, { /* Set 5, vector 27 */
29211 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
29212 "\x00\x00\x00\x00\x00\x00\x00\x00"
29213 "\x00\x00\x00\x00\x00\x00\x00\x00"
29214 "\x00\x00\x00\x00\x00\x00\x00\x00",
29215 .klen = 32,
29216 .iv = "\x00\x00\x00\x10\x00\x00\x00\x00",
29217 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
29218 "\x00\x00\x00\x00\x00\x00\x00\x00"
29219 "\x00\x00\x00\x00\x00\x00\x00\x00"
29220 "\x00\x00\x00\x00\x00\x00\x00\x00"
29221 "\x00\x00\x00\x00\x00\x00\x00\x00"
29222 "\x00\x00\x00\x00\x00\x00\x00\x00"
29223 "\x00\x00\x00\x00\x00\x00\x00\x00"
29224 "\x00\x00\x00\x00\x00\x00\x00\x00"
29225 "\x00\x00\x00\x00\x00\x00\x00\x00"
29226 "\x00\x00\x00\x00\x00\x00\x00\x00"
29227 "\x00\x00\x00\x00\x00\x00\x00\x00"
29228 "\x00\x00\x00\x00\x00\x00\x00\x00"
29229 "\x00\x00\x00\x00\x00\x00\x00\x00"
29230 "\x00\x00\x00\x00\x00\x00\x00\x00"
29231 "\x00\x00\x00\x00\x00\x00\x00\x00"
29232 "\x00\x00\x00\x00\x00\x00\x00\x00"
29233 "\x00",
29234 .ctext = "\xD2\xDB\x1A\x5C\xF1\xC1\xAC\xDB"
29235 "\xE8\x1A\x7A\x43\x40\xEF\x53\x43"
29236 "\x5E\x7F\x4B\x1A\x50\x52\x3F\x8D"
29237 "\x28\x3D\xCF\x85\x1D\x69\x6E\x60"
29238 "\xF2\xDE\x74\x56\x18\x1B\x84\x10"
29239 "\xD4\x62\xBA\x60\x50\xF0\x61\xF2"
29240 "\x1C\x78\x7F\xC1\x24\x34\xAF\x58"
29241 "\xBF\x2C\x59\xCA\x90\x77\xF3\xB0"
29242 "\x5B\x4A\xDF\x89\xCE\x2C\x2F\xFC"
29243 "\x67\xF0\xE3\x45\xE8\xB3\xB3\x75"
29244 "\xA0\x95\x71\xA1\x29\x39\x94\xCA"
29245 "\x45\x2F\xBD\xCB\x10\xB6\xBE\x9F"
29246 "\x8E\xF9\xB2\x01\x0A\x5A\x0A\xB7"
29247 "\x6B\x9D\x70\x8E\x4B\xD6\x2F\xCD"
29248 "\x2E\x40\x48\x75\xE9\xE2\x21\x45"
29249 "\x0B\xC9\xB6\xB5\x66\xBC\x9A\x59"
29250 "\x5A",
29251 .len = 129,
29252 }, { /* large test vector generated using Crypto++ */
29253 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
29254 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
29255 "\x10\x11\x12\x13\x14\x15\x16\x17"
29256 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
29257 .klen = 32,
29258 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
29259 "\x00\x00\x00\x00\x00\x00\x00\x00",
29260 .ptext =
29261 "\x00\x01\x02\x03\x04\x05\x06\x07"
29262 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
29263 "\x10\x11\x12\x13\x14\x15\x16\x17"
29264 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
29265 "\x20\x21\x22\x23\x24\x25\x26\x27"
29266 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
29267 "\x30\x31\x32\x33\x34\x35\x36\x37"
29268 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
29269 "\x40\x41\x42\x43\x44\x45\x46\x47"
29270 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
29271 "\x50\x51\x52\x53\x54\x55\x56\x57"
29272 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
29273 "\x60\x61\x62\x63\x64\x65\x66\x67"
29274 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
29275 "\x70\x71\x72\x73\x74\x75\x76\x77"
29276 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
29277 "\x80\x81\x82\x83\x84\x85\x86\x87"
29278 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
29279 "\x90\x91\x92\x93\x94\x95\x96\x97"
29280 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
29281 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
29282 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
29283 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
29284 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
29285 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
29286 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
29287 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
29288 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
29289 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
29290 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
29291 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
29292 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
29293 "\x00\x03\x06\x09\x0c\x0f\x12\x15"
29294 "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
29295 "\x30\x33\x36\x39\x3c\x3f\x42\x45"
29296 "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
29297 "\x60\x63\x66\x69\x6c\x6f\x72\x75"
29298 "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
29299 "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
29300 "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
29301 "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
29302 "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
29303 "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
29304 "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
29305 "\x20\x23\x26\x29\x2c\x2f\x32\x35"
29306 "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
29307 "\x50\x53\x56\x59\x5c\x5f\x62\x65"
29308 "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
29309 "\x80\x83\x86\x89\x8c\x8f\x92\x95"
29310 "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
29311 "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
29312 "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
29313 "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
29314 "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
29315 "\x10\x13\x16\x19\x1c\x1f\x22\x25"
29316 "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
29317 "\x40\x43\x46\x49\x4c\x4f\x52\x55"
29318 "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
29319 "\x70\x73\x76\x79\x7c\x7f\x82\x85"
29320 "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
29321 "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
29322 "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
29323 "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
29324 "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
29325 "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
29326 "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
29327 "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
29328 "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
29329 "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
29330 "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
29331 "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
29332 "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
29333 "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
29334 "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
29335 "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
29336 "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
29337 "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
29338 "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
29339 "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
29340 "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
29341 "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
29342 "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
29343 "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
29344 "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
29345 "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
29346 "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
29347 "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
29348 "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
29349 "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
29350 "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
29351 "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
29352 "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
29353 "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
29354 "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
29355 "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
29356 "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
29357 "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
29358 "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
29359 "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
29360 "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
29361 "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
29362 "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
29363 "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
29364 "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
29365 "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
29366 "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
29367 "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
29368 "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
29369 "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
29370 "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
29371 "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
29372 "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
29373 "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
29374 "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
29375 "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
29376 "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
29377 "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
29378 "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
29379 "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
29380 "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
29381 "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
29382 "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
29383 "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
29384 "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
29385 "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
29386 "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
29387 "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
29388 "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
29389 "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
29390 "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
29391 "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
29392 "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
29393 "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
29394 "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
29395 "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
29396 "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
29397 "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
29398 "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
29399 "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
29400 "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
29401 "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
29402 "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
29403 "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
29404 "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
29405 "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
29406 "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
29407 "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
29408 "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
29409 "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
29410 "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
29411 "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
29412 "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
29413 "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
29414 "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
29415 "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
29416 "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
29417 "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
29418 "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
29419 "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
29420 "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
29421 "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
29422 "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
29423 "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
29424 "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
29425 "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
29426 "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
29427 "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
29428 "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
29429 "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
29430 "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
29431 "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
29432 "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
29433 "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
29434 "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
29435 "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
29436 "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
29437 "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
29438 "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
29439 "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
29440 "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
29441 "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
29442 "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
29443 "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
29444 "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
29445 "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
29446 "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
29447 "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
29448 "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
29449 "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
29450 "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
29451 "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
29452 "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
29453 "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
29454 "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
29455 "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
29456 "\x38\x45\x52\x5f\x6c\x79\x86\x93"
29457 "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
29458 "\x08\x15\x22\x2f\x3c\x49\x56\x63"
29459 "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
29460 "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
29461 "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
29462 "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
29463 "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
29464 "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
29465 "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
29466 "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
29467 "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
29468 "\x18\x25\x32\x3f\x4c\x59\x66\x73"
29469 "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
29470 "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
29471 "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
29472 "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
29473 "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
29474 "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
29475 "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
29476 "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
29477 "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
29478 "\x28\x35\x42\x4f\x5c\x69\x76\x83"
29479 "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
29480 "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
29481 "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
29482 "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
29483 "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
29484 "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
29485 "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
29486 "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
29487 "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
29488 "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
29489 "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
29490 "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
29491 "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
29492 "\x48\x57\x66\x75\x84\x93\xa2\xb1"
29493 "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
29494 "\x38\x47\x56\x65\x74\x83\x92\xa1"
29495 "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
29496 "\x28\x37\x46\x55\x64\x73\x82\x91"
29497 "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
29498 "\x18\x27\x36\x45\x54\x63\x72\x81"
29499 "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
29500 "\x08\x17\x26\x35\x44\x53\x62\x71"
29501 "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
29502 "\xf8\x07\x16\x25\x34\x43\x52\x61"
29503 "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
29504 "\xe8\xf7\x06\x15\x24\x33\x42\x51"
29505 "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
29506 "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
29507 "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
29508 "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
29509 "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
29510 "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
29511 "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
29512 "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
29513 "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
29514 "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
29515 "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
29516 "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
29517 "\x00\x11\x22\x33\x44\x55\x66\x77"
29518 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
29519 "\x10\x21\x32\x43\x54\x65\x76\x87"
29520 "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
29521 "\x20\x31\x42\x53\x64\x75\x86\x97"
29522 "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
29523 "\x30\x41\x52\x63\x74\x85\x96\xa7"
29524 "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
29525 "\x40\x51\x62\x73\x84\x95\xa6\xb7"
29526 "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
29527 "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
29528 "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
29529 "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
29530 "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
29531 "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
29532 "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
29533 "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
29534 "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
29535 "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
29536 "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
29537 "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
29538 "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
29539 "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
29540 "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
29541 "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
29542 "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
29543 "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
29544 "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
29545 "\xe0\xf1\x02\x13\x24\x35\x46\x57"
29546 "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
29547 "\xf0\x01\x12\x23\x34\x45\x56\x67"
29548 "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
29549 "\x00\x13\x26\x39\x4c\x5f\x72\x85"
29550 "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
29551 "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
29552 "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
29553 "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
29554 "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
29555 "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
29556 "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
29557 "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
29558 "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
29559 "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
29560 "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
29561 "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
29562 "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
29563 "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
29564 "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
29565 "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
29566 "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
29567 "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
29568 "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
29569 "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
29570 "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
29571 "\x10\x23\x36\x49\x5c\x6f\x82\x95"
29572 "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
29573 "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
29574 "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
29575 "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
29576 "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
29577 "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
29578 "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
29579 "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
29580 "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
29581 "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
29582 "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
29583 "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
29584 "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
29585 "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
29586 "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
29587 "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
29588 "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
29589 "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
29590 "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
29591 "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
29592 "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
29593 "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
29594 "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
29595 "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
29596 "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
29597 "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
29598 "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
29599 "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
29600 "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
29601 "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
29602 "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
29603 "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
29604 "\x18\x2d\x42\x57\x6c\x81\x96\xab"
29605 "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
29606 "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
29607 "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
29608 "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
29609 "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
29610 "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
29611 "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
29612 "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
29613 "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
29614 "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
29615 "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
29616 "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
29617 "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
29618 "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
29619 "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
29620 "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
29621 "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
29622 "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
29623 "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
29624 "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
29625 "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
29626 "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
29627 "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
29628 "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
29629 "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
29630 "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
29631 "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
29632 "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
29633 "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
29634 "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
29635 "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
29636 "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
29637 "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
29638 "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
29639 "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
29640 "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
29641 "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
29642 "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
29643 "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
29644 "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
29645 "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
29646 "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
29647 "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
29648 "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
29649 "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
29650 "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
29651 "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
29652 "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
29653 "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
29654 "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
29655 "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
29656 "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
29657 "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
29658 "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
29659 "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
29660 "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
29661 "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
29662 "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
29663 "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
29664 "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
29665 "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
29666 "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
29667 "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
29668 "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
29669 "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
29670 "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
29671 "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
29672 "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
29673 "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
29674 "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
29675 "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
29676 "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
29677 "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
29678 "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
29679 "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
29680 "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
29681 "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
29682 "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
29683 "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
29684 "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
29685 "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
29686 "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
29687 "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
29688 "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
29689 "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
29690 "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
29691 "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
29692 "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
29693 "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
29694 "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
29695 "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
29696 "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
29697 "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
29698 "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
29699 "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
29700 "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
29701 "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
29702 "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
29703 "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
29704 "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
29705 "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
29706 "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
29707 "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
29708 "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
29709 "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
29710 "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
29711 "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
29712 "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
29713 "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
29714 "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
29715 "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
29716 "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
29717 "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
29718 "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
29719 "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
29720 "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
29721 "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
29722 "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
29723 "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
29724 "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
29725 "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
29726 "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
29727 "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
29728 "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
29729 "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
29730 "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
29731 "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
29732 "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
29733 "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
29734 "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
29735 "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
29736 "\x78\x95\xb2\xcf\xec\x09\x26\x43"
29737 "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
29738 "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
29739 "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
29740 "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
29741 "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
29742 "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
29743 "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
29744 "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
29745 "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
29746 "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
29747 "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
29748 "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
29749 "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
29750 "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
29751 "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
29752 "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
29753 "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
29754 "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
29755 "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
29756 "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
29757 "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
29758 "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
29759 "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
29760 "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
29761 "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
29762 "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
29763 "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
29764 "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
29765 "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
29766 "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
29767 "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
29768 "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
29769 "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
29770 "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
29771 "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
29772 "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
29773 "\x00\x21\x42\x63",
29774 .ctext =
29775 "\xb5\x81\xf5\x64\x18\x73\xe3\xf0"
29776 "\x4c\x13\xf2\x77\x18\x60\x65\x5e"
29777 "\x29\x01\xce\x98\x55\x53\xf9\x0c"
29778 "\x2a\x08\xd5\x09\xb3\x57\x55\x56"
29779 "\xc5\xe9\x56\x90\xcb\x6a\xa3\xc0"
29780 "\xff\xc4\x79\xb4\xd2\x97\x5d\xc4"
29781 "\x43\xd1\xfe\x94\x7b\x88\x06\x5a"
29782 "\xb2\x9e\x2c\xfc\x44\x03\xb7\x90"
29783 "\xa0\xc1\xba\x6a\x33\xb8\xc7\xb2"
29784 "\x9d\xe1\x12\x4f\xc0\x64\xd4\x01"
29785 "\xfe\x8c\x7a\x66\xf7\xe6\x5a\x91"
29786 "\xbb\xde\x56\x86\xab\x65\x21\x30"
29787 "\x00\x84\x65\x24\xa5\x7d\x85\xb4"
29788 "\xe3\x17\xed\x3a\xb7\x6f\xb4\x0b"
29789 "\x0b\xaf\x15\xae\x5a\x8f\xf2\x0c"
29790 "\x2f\x27\xf4\x09\xd8\xd2\x96\xb7"
29791 "\x71\xf2\xc5\x99\x4d\x7e\x7f\x75"
29792 "\x77\x89\x30\x8b\x59\xdb\xa2\xb2"
29793 "\xa0\xf3\x19\x39\x2b\xc5\x7e\x3f"
29794 "\x4f\xd9\xd3\x56\x28\x97\x44\xdc"
29795 "\xc0\x8b\x77\x24\xd9\x52\xe7\xc5"
29796 "\xaf\xf6\x7d\x59\xb2\x44\x05\x1d"
29797 "\xb1\xb0\x11\xa5\x0f\xec\x33\xe1"
29798 "\x6d\x1b\x4e\x1f\xff\x57\x91\xb4"
29799 "\x5b\x9a\x96\xc5\x53\xbc\xae\x20"
29800 "\x3c\xbb\x14\xe2\xe8\x22\x33\xc1"
29801 "\x5e\x76\x9e\x46\x99\xf6\x2a\x15"
29802 "\xc6\x97\x02\xa0\x66\x43\xd1\xa6"
29803 "\x31\xa6\x9f\xfb\xf4\xd3\x69\xe5"
29804 "\xcd\x76\x95\xb8\x7a\x82\x7f\x21"
29805 "\x45\xff\x3f\xce\x55\xf6\x95\x10"
29806 "\x08\x77\x10\x43\xc6\xf3\x09\xe5"
29807 "\x68\xe7\x3c\xad\x00\x52\x45\x0d"
29808 "\xfe\x2d\xc6\xc2\x94\x8c\x12\x1d"
29809 "\xe6\x25\xae\x98\x12\x8e\x19\x9c"
29810 "\x81\x68\xb1\x11\xf6\x69\xda\xe3"
29811 "\x62\x08\x18\x7a\x25\x49\x28\xac"
29812 "\xba\x71\x12\x0b\xe4\xa2\xe5\xc7"
29813 "\x5d\x8e\xec\x49\x40\x21\xbf\x5a"
29814 "\x98\xf3\x02\x68\x55\x03\x7f\x8a"
29815 "\xe5\x94\x0c\x32\x5c\x07\x82\x63"
29816 "\xaf\x6f\x91\x40\x84\x8e\x52\x25"
29817 "\xd0\xb0\x29\x53\x05\xe2\x50\x7a"
29818 "\x34\xeb\xc9\x46\x20\xa8\x3d\xde"
29819 "\x7f\x16\x5f\x36\xc5\x2e\xdc\xd1"
29820 "\x15\x47\xc7\x50\x40\x6d\x91\xc5"
29821 "\xe7\x93\x95\x1a\xd3\x57\xbc\x52"
29822 "\x33\xee\x14\x19\x22\x52\x89\xa7"
29823 "\x4a\x25\x56\x77\x4b\xca\xcf\x0a"
29824 "\xe1\xf5\x35\x85\x30\x7e\x59\x4a"
29825 "\xbd\x14\x5b\xdf\xe3\x46\xcb\xac"
29826 "\x1f\x6c\x96\x0e\xf4\x81\xd1\x99"
29827 "\xca\x88\x63\x3d\x02\x58\x6b\xa9"
29828 "\xe5\x9f\xb3\x00\xb2\x54\xc6\x74"
29829 "\x1c\xbf\x46\xab\x97\xcc\xf8\x54"
29830 "\x04\x07\x08\x52\xe6\xc0\xda\x93"
29831 "\x74\x7d\x93\x99\x5d\x78\x68\xa6"
29832 "\x2e\x6b\xd3\x6a\x69\xcc\x12\x6b"
29833 "\xd4\xc7\xa5\xc6\xe7\xf6\x03\x04"
29834 "\x5d\xcd\x61\x5e\x17\x40\xdc\xd1"
29835 "\x5c\xf5\x08\xdf\x5c\x90\x85\xa4"
29836 "\xaf\xf6\x78\xbb\x0d\xf1\xf4\xa4"
29837 "\x54\x26\x72\x9e\x61\xfa\x86\xcf"
29838 "\xe8\x9e\xa1\xe0\xc7\x48\x23\xae"
29839 "\x5a\x90\xae\x75\x0a\x74\x18\x89"
29840 "\x05\xb1\x92\xb2\x7f\xd0\x1b\xa6"
29841 "\x62\x07\x25\x01\xc7\xc2\x4f\xf9"
29842 "\xe8\xfe\x63\x95\x80\x07\xb4\x26"
29843 "\xcc\xd1\x26\xb6\xc4\x3f\x9e\xcb"
29844 "\x8e\x3b\x2e\x44\x16\xd3\x10\x9a"
29845 "\x95\x08\xeb\xc8\xcb\xeb\xbf\x6f"
29846 "\x0b\xcd\x1f\xc8\xca\x86\xaa\xec"
29847 "\x33\xe6\x69\xf4\x45\x25\x86\x3a"
29848 "\x22\x94\x4f\x00\x23\x6a\x44\xc2"
29849 "\x49\x97\x33\xab\x36\x14\x0a\x70"
29850 "\x24\xc3\xbe\x04\x3b\x79\xa0\xf9"
29851 "\xb8\xe7\x76\x29\x22\x83\xd7\xf2"
29852 "\x94\xf4\x41\x49\xba\x5f\x7b\x07"
29853 "\xb5\xfb\xdb\x03\x1a\x9f\xb6\x4c"
29854 "\xc2\x2e\x37\x40\x49\xc3\x38\x16"
29855 "\xe2\x4f\x77\x82\xb0\x68\x4c\x71"
29856 "\x1d\x57\x61\x9c\xd9\x4e\x54\x99"
29857 "\x47\x13\x28\x73\x3c\xbb\x00\x90"
29858 "\xf3\x4d\xc9\x0e\xfd\xe7\xb1\x71"
29859 "\xd3\x15\x79\xbf\xcc\x26\x2f\xbd"
29860 "\xad\x6c\x50\x69\x6c\x3e\x6d\x80"
29861 "\x9a\xea\x78\xaf\x19\xb2\x0d\x4d"
29862 "\xad\x04\x07\xae\x22\x90\x4a\x93"
29863 "\x32\x0e\x36\x9b\x1b\x46\xba\x3b"
29864 "\xb4\xac\xc6\xd1\xa2\x31\x53\x3b"
29865 "\x2a\x3d\x45\xfe\x03\x61\x10\x85"
29866 "\x17\x69\xa6\x78\xcc\x6c\x87\x49"
29867 "\x53\xf9\x80\x10\xde\x80\xa2\x41"
29868 "\x6a\xc3\x32\x02\xad\x6d\x3c\x56"
29869 "\x00\x71\x51\x06\xa7\xbd\xfb\xef"
29870 "\x3c\xb5\x9f\xfc\x48\x7d\x53\x7c"
29871 "\x66\xb0\x49\x23\xc4\x47\x10\x0e"
29872 "\xe5\x6c\x74\x13\xe6\xc5\x3f\xaa"
29873 "\xde\xff\x07\x44\xdd\x56\x1b\xad"
29874 "\x09\x77\xfb\x5b\x12\xb8\x0d\x38"
29875 "\x17\x37\x35\x7b\x9b\xbc\xfe\xd4"
29876 "\x7e\x8b\xda\x7e\x5b\x04\xa7\x22"
29877 "\xa7\x31\xa1\x20\x86\xc7\x1b\x99"
29878 "\xdb\xd1\x89\xf4\x94\xa3\x53\x69"
29879 "\x8d\xe7\xe8\x74\x11\x8d\x74\xd6"
29880 "\x07\x37\x91\x9f\xfd\x67\x50\x3a"
29881 "\xc9\xe1\xf4\x36\xd5\xa0\x47\xd1"
29882 "\xf9\xe5\x39\xa3\x31\xac\x07\x36"
29883 "\x23\xf8\x66\x18\x14\x28\x34\x0f"
29884 "\xb8\xd0\xe7\x29\xb3\x04\x4b\x55"
29885 "\x01\x41\xb2\x75\x8d\xcb\x96\x85"
29886 "\x3a\xfb\xab\x2b\x9e\xfa\x58\x20"
29887 "\x44\x1f\xc0\x14\x22\x75\x61\xe8"
29888 "\xaa\x19\xcf\xf1\x82\x56\xf4\xd7"
29889 "\x78\x7b\x3d\x5f\xb3\x9e\x0b\x8a"
29890 "\x57\x50\xdb\x17\x41\x65\x4d\xa3"
29891 "\x02\xc9\x9c\x9c\x53\xfb\x39\x39"
29892 "\x9b\x1d\x72\x24\xda\xb7\x39\xbe"
29893 "\x13\x3b\xfa\x29\xda\x9e\x54\x64"
29894 "\x6e\xba\xd8\xa1\xcb\xb3\x36\xfa"
29895 "\xcb\x47\x85\xe9\x61\x38\xbc\xbe"
29896 "\xc5\x00\x38\x2a\x54\xf7\xc4\xb9"
29897 "\xb3\xd3\x7b\xa0\xa0\xf8\x72\x7f"
29898 "\x8c\x8e\x82\x0e\xc6\x1c\x75\x9d"
29899 "\xca\x8e\x61\x87\xde\xad\x80\xd2"
29900 "\xf5\xf9\x80\xef\x15\x75\xaf\xf5"
29901 "\x80\xfb\xff\x6d\x1e\x25\xb7\x40"
29902 "\x61\x6a\x39\x5a\x6a\xb5\x31\xab"
29903 "\x97\x8a\x19\x89\x44\x40\xc0\xa6"
29904 "\xb4\x4e\x30\x32\x7b\x13\xe7\x67"
29905 "\xa9\x8b\x57\x04\xc2\x01\xa6\xf4"
29906 "\x28\x99\xad\x2c\x76\xa3\x78\xc2"
29907 "\x4a\xe6\xca\x5c\x50\x6a\xc1\xb0"
29908 "\x62\x4b\x10\x8e\x7c\x17\x43\xb3"
29909 "\x17\x66\x1c\x3e\x8d\x69\xf0\x5a"
29910 "\x71\xf5\x97\xdc\xd1\x45\xdd\x28"
29911 "\xf3\x5d\xdf\x53\x7b\x11\xe5\xbc"
29912 "\x4c\xdb\x1b\x51\x6b\xe9\xfb\x3d"
29913 "\xc1\xc3\x2c\xb9\x71\xf5\xb6\xb2"
29914 "\x13\x36\x79\x80\x53\xe8\xd3\xa6"
29915 "\x0a\xaf\xfd\x56\x97\xf7\x40\x8e"
29916 "\x45\xce\xf8\xb0\x9e\x5c\x33\x82"
29917 "\xb0\x44\x56\xfc\x05\x09\xe9\x2a"
29918 "\xac\x26\x80\x14\x1d\xc8\x3a\x35"
29919 "\x4c\x82\x97\xfd\x76\xb7\xa9\x0a"
29920 "\x35\x58\x79\x8e\x0f\x66\xea\xaf"
29921 "\x51\x6c\x09\xa9\x6e\x9b\xcb\x9a"
29922 "\x31\x47\xa0\x2f\x7c\x71\xb4\x4a"
29923 "\x11\xaa\x8c\x66\xc5\x64\xe6\x3a"
29924 "\x54\xda\x24\x6a\xc4\x41\x65\x46"
29925 "\x82\xa0\x0a\x0f\x5f\xfb\x25\xd0"
29926 "\x2c\x91\xa7\xee\xc4\x81\x07\x86"
29927 "\x75\x5e\x33\x69\x97\xe4\x2c\xa8"
29928 "\x9d\x9f\x0b\x6a\xbe\xad\x98\xda"
29929 "\x6d\x94\x41\xda\x2c\x1e\x89\xc4"
29930 "\xc2\xaf\x1e\x00\x05\x0b\x83\x60"
29931 "\xbd\x43\xea\x15\x23\x7f\xb9\xac"
29932 "\xee\x4f\x2c\xaf\x2a\xf3\xdf\xd0"
29933 "\xf3\x19\x31\xbb\x4a\x74\x84\x17"
29934 "\x52\x32\x2c\x7d\x61\xe4\xcb\xeb"
29935 "\x80\x38\x15\x52\xcb\x6f\xea\xe5"
29936 "\x73\x9c\xd9\x24\x69\xc6\x95\x32"
29937 "\x21\xc8\x11\xe4\xdc\x36\xd7\x93"
29938 "\x38\x66\xfb\xb2\x7f\x3a\xb9\xaf"
29939 "\x31\xdd\x93\x75\x78\x8a\x2c\x94"
29940 "\x87\x1a\x58\xec\x9e\x7d\x4d\xba"
29941 "\xe1\xe5\x4d\xfc\xbc\xa4\x2a\x14"
29942 "\xef\xcc\xa7\xec\xab\x43\x09\x18"
29943 "\xd3\xab\x68\xd1\x07\x99\x44\x47"
29944 "\xd6\x83\x85\x3b\x30\xea\xa9\x6b"
29945 "\x63\xea\xc4\x07\xfb\x43\x2f\xa4"
29946 "\xaa\xb0\xab\x03\x89\xce\x3f\x8c"
29947 "\x02\x7c\x86\x54\xbc\x88\xaf\x75"
29948 "\xd2\xdc\x63\x17\xd3\x26\xf6\x96"
29949 "\xa9\x3c\xf1\x61\x8c\x11\x18\xcc"
29950 "\xd6\xea\x5b\xe2\xcd\xf0\xf1\xb2"
29951 "\xe5\x35\x90\x1f\x85\x4c\x76\x5b"
29952 "\x66\xce\x44\xa4\x32\x9f\xe6\x7b"
29953 "\x71\x6e\x9f\x58\x15\x67\x72\x87"
29954 "\x64\x8e\x3a\x44\x45\xd4\x76\xfa"
29955 "\xc2\xf6\xef\x85\x05\x18\x7a\x9b"
29956 "\xba\x41\x54\xac\xf0\xfc\x59\x12"
29957 "\x3f\xdf\xa0\xe5\x8a\x65\xfd\x3a"
29958 "\x62\x8d\x83\x2c\x03\xbe\x05\x76"
29959 "\x2e\x53\x49\x97\x94\x33\xae\x40"
29960 "\x81\x15\xdb\x6e\xad\xaa\xf5\x4b"
29961 "\xe3\x98\x70\xdf\xe0\x7c\xcd\xdb"
29962 "\x02\xd4\x7d\x2f\xc1\xe6\xb4\xf3"
29963 "\xd7\x0d\x7a\xd9\x23\x9e\x87\x2d"
29964 "\xce\x87\xad\xcc\x72\x05\x00\x29"
29965 "\xdc\x73\x7f\x64\xc1\x15\x0e\xc2"
29966 "\xdf\xa7\x5f\xeb\x41\xa1\xcd\xef"
29967 "\x5c\x50\x79\x2a\x56\x56\x71\x8c"
29968 "\xac\xc0\x79\x50\x69\xca\x59\x32"
29969 "\x65\xf2\x54\xe4\x52\x38\x76\xd1"
29970 "\x5e\xde\x26\x9e\xfb\x75\x2e\x11"
29971 "\xb5\x10\xf4\x17\x73\xf5\x89\xc7"
29972 "\x4f\x43\x5c\x8e\x7c\xb9\x05\x52"
29973 "\x24\x40\x99\xfe\x9b\x85\x0b\x6c"
29974 "\x22\x3e\x8b\xae\x86\xa1\xd2\x79"
29975 "\x05\x68\x6b\xab\xe3\x41\x49\xed"
29976 "\x15\xa1\x8d\x40\x2d\x61\xdf\x1a"
29977 "\x59\xc9\x26\x8b\xef\x30\x4c\x88"
29978 "\x4b\x10\xf8\x8d\xa6\x92\x9f\x4b"
29979 "\xf3\xc4\x53\x0b\x89\x5d\x28\x92"
29980 "\xcf\x78\xb2\xc0\x5d\xed\x7e\xfc"
29981 "\xc0\x12\x23\x5f\x5a\x78\x86\x43"
29982 "\x6e\x27\xf7\x5a\xa7\x6a\xed\x19"
29983 "\x04\xf0\xb3\x12\xd1\xbd\x0e\x89"
29984 "\x6e\xbc\x96\xa8\xd8\x49\x39\x9f"
29985 "\x7e\x67\xf0\x2e\x3e\x01\xa9\xba"
29986 "\xec\x8b\x62\x8e\xcb\x4a\x70\x43"
29987 "\xc7\xc2\xc4\xca\x82\x03\x73\xe9"
29988 "\x11\xdf\xcf\x54\xea\xc9\xb0\x95"
29989 "\x51\xc0\x13\x3d\x92\x05\xfa\xf4"
29990 "\xa9\x34\xc8\xce\x6c\x3d\x54\xcc"
29991 "\xc4\xaf\xf1\xdc\x11\x44\x26\xa2"
29992 "\xaf\xf1\x85\x75\x7d\x03\x61\x68"
29993 "\x4e\x78\xc6\x92\x7d\x86\x7d\x77"
29994 "\xdc\x71\x72\xdb\xc6\xae\xa1\xcb"
29995 "\x70\x9a\x0b\x19\xbe\x4a\x6c\x2a"
29996 "\xe2\xba\x6c\x64\x9a\x13\x28\xdf"
29997 "\x85\x75\xe6\x43\xf6\x87\x08\x68"
29998 "\x6e\xba\x6e\x79\x9f\x04\xbc\x23"
29999 "\x50\xf6\x33\x5c\x1f\x24\x25\xbe"
30000 "\x33\x47\x80\x45\x56\xa3\xa7\xd7"
30001 "\x7a\xb1\x34\x0b\x90\x3c\x9c\xad"
30002 "\x44\x5f\x9e\x0e\x9d\xd4\xbd\x93"
30003 "\x5e\xfa\x3c\xe0\xb0\xd9\xed\xf3"
30004 "\xd6\x2e\xff\x24\xd8\x71\x6c\xed"
30005 "\xaf\x55\xeb\x22\xac\x93\x68\x32"
30006 "\x05\x5b\x47\xdd\xc6\x4a\xcb\xc7"
30007 "\x10\xe1\x3c\x92\x1a\xf3\x23\x78"
30008 "\x2b\xa1\xd2\x80\xf4\x12\xb1\x20"
30009 "\x8f\xff\x26\x35\xdd\xfb\xc7\x4e"
30010 "\x78\xf1\x2d\x50\x12\x77\xa8\x60"
30011 "\x7c\x0f\xf5\x16\x2f\x63\x70\x2a"
30012 "\xc0\x96\x80\x4e\x0a\xb4\x93\x35"
30013 "\x5d\x1d\x3f\x56\xf7\x2f\xbb\x90"
30014 "\x11\x16\x8f\xa2\xec\x47\xbe\xac"
30015 "\x56\x01\x26\x56\xb1\x8c\xb2\x10"
30016 "\xf9\x1a\xca\xf5\xd1\xb7\x39\x20"
30017 "\x63\xf1\x69\x20\x4f\x13\x12\x1f"
30018 "\x5b\x65\xfc\x98\xf7\xc4\x7a\xbe"
30019 "\xf7\x26\x4d\x2b\x84\x7b\x42\xad"
30020 "\xd8\x7a\x0a\xb4\xd8\x74\xbf\xc1"
30021 "\xf0\x6e\xb4\x29\xa3\xbb\xca\x46"
30022 "\x67\x70\x6a\x2d\xce\x0e\xa2\x8a"
30023 "\xa9\x87\xbf\x05\xc4\xc1\x04\xa3"
30024 "\xab\xd4\x45\x43\x8c\xb6\x02\xb0"
30025 "\x41\xc8\xfc\x44\x3d\x59\xaa\x2e"
30026 "\x44\x21\x2a\x8d\x88\x9d\x57\xf4"
30027 "\xa0\x02\x77\xb8\xa6\xa0\xe6\x75"
30028 "\x5c\x82\x65\x3e\x03\x5c\x29\x8f"
30029 "\x38\x55\xab\x33\x26\xef\x9f\x43"
30030 "\x52\xfd\x68\xaf\x36\xb4\xbb\x9a"
30031 "\x58\x09\x09\x1b\xc3\x65\x46\x46"
30032 "\x1d\xa7\x94\x18\x23\x50\x2c\xca"
30033 "\x2c\x55\x19\x97\x01\x9d\x93\x3b"
30034 "\x63\x86\xf2\x03\x67\x45\xd2\x72"
30035 "\x28\x52\x6c\xf4\xe3\x1c\xb5\x11"
30036 "\x13\xf1\xeb\x21\xc7\xd9\x56\x82"
30037 "\x2b\x82\x39\xbd\x69\x54\xed\x62"
30038 "\xc3\xe2\xde\x73\xd4\x6a\x12\xae"
30039 "\x13\x21\x7f\x4b\x5b\xfc\xbf\xe8"
30040 "\x2b\xbe\x56\xba\x68\x8b\x9a\xb1"
30041 "\x6e\xfa\xbf\x7e\x5a\x4b\xf1\xac"
30042 "\x98\x65\x85\xd1\x93\x53\xd3\x7b"
30043 "\x09\xdd\x4b\x10\x6d\x84\xb0\x13"
30044 "\x65\xbd\xcf\x52\x09\xc4\x85\xe2"
30045 "\x84\x74\x15\x65\xb7\xf7\x51\xaf"
30046 "\x55\xad\xa4\xd1\x22\x54\x70\x94"
30047 "\xa0\x1c\x90\x41\xfd\x99\xd7\x5a"
30048 "\x31\xef\xaa\x25\xd0\x7f\x4f\xea"
30049 "\x1d\x55\x42\xe5\x49\xb0\xd0\x46"
30050 "\x62\x36\x43\xb2\x82\x15\x75\x50"
30051 "\xa4\x72\xeb\x54\x27\x1f\x8a\xe4"
30052 "\x7d\xe9\x66\xc5\xf1\x53\xa4\xd1"
30053 "\x0c\xeb\xb8\xf8\xbc\xd4\xe2\xe7"
30054 "\xe1\xf8\x4b\xcb\xa9\xa1\xaf\x15"
30055 "\x83\xcb\x72\xd0\x33\x79\x00\x2d"
30056 "\x9f\xd7\xf1\x2e\x1e\x10\xe4\x45"
30057 "\xc0\x75\x3a\x39\xea\x68\xf7\x5d"
30058 "\x1b\x73\x8f\xe9\x8e\x0f\x72\x47"
30059 "\xae\x35\x0a\x31\x7a\x14\x4d\x4a"
30060 "\x6f\x47\xf7\x7e\x91\x6e\x74\x8b"
30061 "\x26\x47\xf9\xc3\xf9\xde\x70\xf5"
30062 "\x61\xab\xa9\x27\x9f\x82\xe4\x9c"
30063 "\x89\x91\x3f\x2e\x6a\xfd\xb5\x49"
30064 "\xe9\xfd\x59\x14\x36\x49\x40\x6d"
30065 "\x32\xd8\x85\x42\xf3\xa5\xdf\x0c"
30066 "\xa8\x27\xd7\x54\xe2\x63\x2f\xf2"
30067 "\x7e\x8b\x8b\xe7\xf1\x9a\x95\x35"
30068 "\x43\xdc\x3a\xe4\xb6\xf4\xd0\xdf"
30069 "\x9c\xcb\x94\xf3\x21\xa0\x77\x50"
30070 "\xe2\xc6\xc4\xc6\x5f\x09\x64\x5b"
30071 "\x92\x90\xd8\xe1\xd1\xed\x4b\x42"
30072 "\xd7\x37\xaf\x65\x3d\x11\x39\xb6"
30073 "\x24\x8a\x60\xae\xd6\x1e\xbf\x0e"
30074 "\x0d\xd7\xdc\x96\x0e\x65\x75\x4e"
30075 "\x29\x06\x9d\xa4\x51\x3a\x10\x63"
30076 "\x8f\x17\x07\xd5\x8e\x3c\xf4\x28"
30077 "\x00\x5a\x5b\x05\x19\xd8\xc0\x6c"
30078 "\xe5\x15\xe4\x9c\x9d\x71\x9d\x5e"
30079 "\x94\x29\x1a\xa7\x80\xfa\x0e\x33"
30080 "\x03\xdd\xb7\x3e\x9a\xa9\x26\x18"
30081 "\x37\xa9\x64\x08\x4d\x94\x5a\x88"
30082 "\xca\x35\xce\x81\x02\xe3\x1f\x1b"
30083 "\x89\x1a\x77\x85\xe3\x41\x6d\x32"
30084 "\x42\x19\x23\x7d\xc8\x73\xee\x25"
30085 "\x85\x0d\xf8\x31\x25\x79\x1b\x6f"
30086 "\x79\x25\xd2\xd8\xd4\x23\xfd\xf7"
30087 "\x82\x36\x6a\x0c\x46\x22\x15\xe9"
30088 "\xff\x72\x41\x91\x91\x7d\x3a\xb7"
30089 "\xdd\x65\x99\x70\xf6\x8d\x84\xf8"
30090 "\x67\x15\x20\x11\xd6\xb2\x55\x7b"
30091 "\xdb\x87\xee\xef\x55\x89\x2a\x59"
30092 "\x2b\x07\x8f\x43\x8a\x59\x3c\x01"
30093 "\x8b\x65\x54\xa1\x66\xd5\x38\xbd"
30094 "\xc6\x30\xa9\xcc\x49\xb6\xa8\x1b"
30095 "\xb8\xc0\x0e\xe3\x45\x28\xe2\xff"
30096 "\x41\x9f\x7e\x7c\xd1\xae\x9e\x25"
30097 "\x3f\x4c\x7c\x7c\xf4\xa8\x26\x4d"
30098 "\x5c\xfd\x4b\x27\x18\xf9\x61\x76"
30099 "\x48\xba\x0c\x6b\xa9\x4d\xfc\xf5"
30100 "\x3b\x35\x7e\x2f\x4a\xa9\xc2\x9a"
30101 "\xae\xab\x86\x09\x89\xc9\xc2\x40"
30102 "\x39\x2c\x81\xb3\xb8\x17\x67\xc2"
30103 "\x0d\x32\x4a\x3a\x67\x81\xd7\x1a"
30104 "\x34\x52\xc5\xdb\x0a\xf5\x63\x39"
30105 "\xea\x1f\xe1\x7c\xa1\x9e\xc1\x35"
30106 "\xe3\xb1\x18\x45\x67\xf9\x22\x38"
30107 "\x95\xd9\x34\x34\x86\xc6\x41\x94"
30108 "\x15\xf9\x5b\x41\xa6\x87\x8b\xf8"
30109 "\xd5\xe1\x1b\xe2\x5b\xf3\x86\x10"
30110 "\xff\xe6\xae\x69\x76\xbc\x0d\xb4"
30111 "\x09\x90\x0c\xa2\x65\x0c\xad\x74"
30112 "\xf5\xd7\xff\xda\xc1\xce\x85\xbe"
30113 "\x00\xa7\xff\x4d\x2f\x65\xd3\x8c"
30114 "\x86\x2d\x05\xe8\xed\x3e\x6b\x8b"
30115 "\x0f\x3d\x83\x8c\xf1\x1d\x5b\x96"
30116 "\x2e\xb1\x9c\xc2\x98\xe1\x70\xb9"
30117 "\xba\x5c\x8a\x43\xd6\x34\xa7\x2d"
30118 "\xc9\x92\xae\xf2\xa5\x7b\x05\x49"
30119 "\xa7\x33\x34\x86\xca\xe4\x96\x23"
30120 "\x76\x5b\xf2\xc6\xf1\x51\x28\x42"
30121 "\x7b\xcc\x76\x8f\xfa\xa2\xad\x31"
30122 "\xd4\xd6\x7a\x6d\x25\x25\x54\xe4"
30123 "\x3f\x50\x59\xe1\x5c\x05\xb7\x27"
30124 "\x48\xbf\x07\xec\x1b\x13\xbe\x2b"
30125 "\xa1\x57\x2b\xd5\xab\xd7\xd0\x4c"
30126 "\x1e\xcb\x71\x9b\xc5\x90\x85\xd3"
30127 "\xde\x59\xec\x71\xeb\x89\xbb\xd0"
30128 "\x09\x50\xe1\x16\x3f\xfd\x1c\x34"
30129 "\xc3\x1c\xa1\x10\x77\x53\x98\xef"
30130 "\xf2\xfd\xa5\x01\x59\xc2\x9b\x26"
30131 "\xc7\x42\xd9\x49\xda\x58\x2b\x6e"
30132 "\x9f\x53\x19\x76\x7e\xd9\xc9\x0e"
30133 "\x68\xc8\x7f\x51\x22\x42\xef\x49"
30134 "\xa4\x55\xb6\x36\xac\x09\xc7\x31"
30135 "\x88\x15\x4b\x2e\x8f\x3a\x08\xf7"
30136 "\xd8\xf7\xa8\xc5\xa9\x33\xa6\x45"
30137 "\xe4\xc4\x94\x76\xf3\x0d\x8f\x7e"
30138 "\xc8\xf6\xbc\x23\x0a\xb6\x4c\xd3"
30139 "\x6a\xcd\x36\xc2\x90\x5c\x5c\x3c"
30140 "\x65\x7b\xc2\xd6\xcc\xe6\x0d\x87"
30141 "\x73\x2e\x71\x79\x16\x06\x63\x28"
30142 "\x09\x15\xd8\x89\x38\x38\x3d\xb5"
30143 "\x42\x1c\x08\x24\xf7\x2a\xd2\x9d"
30144 "\xc8\xca\xef\xf9\x27\xd8\x07\x86"
30145 "\xf7\x43\x0b\x55\x15\x3f\x9f\x83"
30146 "\xef\xdc\x49\x9d\x2a\xc1\x54\x62"
30147 "\xbd\x9b\x66\x55\x9f\xb7\x12\xf3"
30148 "\x1b\x4d\x9d\x2a\x5c\xed\x87\x75"
30149 "\x87\x26\xec\x61\x2c\xb4\x0f\x89"
30150 "\xb0\xfb\x2e\x68\x5d\x15\xc7\x8d"
30151 "\x2e\xc0\xd9\xec\xaf\x4f\xd2\x25"
30152 "\x29\xe8\xd2\x26\x2b\x67\xe9\xfc"
30153 "\x2b\xa8\x67\x96\x12\x1f\x5b\x96"
30154 "\xc6\x14\x53\xaf\x44\xea\xd6\xe2"
30155 "\x94\x98\xe4\x12\x93\x4c\x92\xe0"
30156 "\x18\xa5\x8d\x2d\xe4\x71\x3c\x47"
30157 "\x4c\xf7\xe6\x47\x9e\xc0\x68\xdf"
30158 "\xd4\xf5\x5a\x74\xb1\x2b\x29\x03"
30159 "\x19\x07\xaf\x90\x62\x5c\x68\x98"
30160 "\x48\x16\x11\x02\x9d\xee\xb4\x9b"
30161 "\xe5\x42\x7f\x08\xfd\x16\x32\x0b"
30162 "\xd0\xb3\xfa\x2b\xb7\x99\xf9\x29"
30163 "\xcd\x20\x45\x9f\xb3\x1a\x5d\xa2"
30164 "\xaf\x4d\xe0\xbd\x42\x0d\xbc\x74"
30165 "\x99\x9c\x8e\x53\x1a\xb4\x3e\xbd"
30166 "\xa2\x9a\x2d\xf7\xf8\x39\x0f\x67"
30167 "\x63\xfc\x6b\xc0\xaf\xb3\x4b\x4f"
30168 "\x55\xc4\xcf\xa7\xc8\x04\x11\x3e"
30169 "\x14\x32\xbb\x1b\x38\x77\xd6\x7f"
30170 "\x54\x4c\xdf\x75\xf3\x07\x2d\x33"
30171 "\x9b\xa8\x20\xe1\x7b\x12\xb5\xf3"
30172 "\xef\x2f\xce\x72\xe5\x24\x60\xc1"
30173 "\x30\xe2\xab\xa1\x8e\x11\x09\xa8"
30174 "\x21\x33\x44\xfe\x7f\x35\x32\x93"
30175 "\x39\xa7\xad\x8b\x79\x06\xb2\xcb"
30176 "\x4e\xa9\x5f\xc7\xba\x74\x29\xec"
30177 "\x93\xa0\x4e\x54\x93\xc0\xbc\x55"
30178 "\x64\xf0\x48\xe5\x57\x99\xee\x75"
30179 "\xd6\x79\x0f\x66\xb7\xc6\x57\x76"
30180 "\xf7\xb7\xf3\x9c\xc5\x60\xe8\x7f"
30181 "\x83\x76\xd6\x0e\xaa\xe6\x90\x39"
30182 "\x1d\xa6\x32\x6a\x34\xe3\x55\xf8"
30183 "\x58\xa0\x58\x7d\x33\xe0\x22\x39"
30184 "\x44\x64\x87\x86\x5a\x2f\xa7\x7e"
30185 "\x0f\x38\xea\xb0\x30\xcc\x61\xa5"
30186 "\x6a\x32\xae\x1e\xf7\xe9\xd0\xa9"
30187 "\x0c\x32\x4b\xb5\x49\x28\xab\x85"
30188 "\x2f\x8e\x01\x36\x38\x52\xd0\xba"
30189 "\xd6\x02\x78\xf8\x0e\x3e\x9c\x8b"
30190 "\x6b\x45\x99\x3f\x5c\xfe\x58\xf1"
30191 "\x5c\x94\x04\xe1\xf5\x18\x6d\x51"
30192 "\xb2\x5d\x18\x20\xb6\xc2\x9a\x42"
30193 "\x1d\xb3\xab\x3c\xb6\x3a\x13\x03"
30194 "\xb2\x46\x82\x4f\xfc\x64\xbc\x4f"
30195 "\xca\xfa\x9c\xc0\xd5\xa7\xbd\x11"
30196 "\xb7\xe4\x5a\xf6\x6f\x4d\x4d\x54"
30197 "\xea\xa4\x98\x66\xd4\x22\x3b\xd3"
30198 "\x8f\x34\x47\xd9\x7c\xf4\x72\x3b"
30199 "\x4d\x02\x77\xf6\xd6\xdd\x08\x0a"
30200 "\x81\xe1\x86\x89\x3e\x56\x10\x3c"
30201 "\xba\xd7\x81\x8c\x08\xbc\x8b\xe2"
30202 "\x53\xec\xa7\x89\xee\xc8\x56\xb5"
30203 "\x36\x2c\xb2\x03\xba\x99\xdd\x7c"
30204 "\x48\xa0\xb0\xbc\x91\x33\xe9\xa8"
30205 "\xcb\xcd\xcf\x59\x5f\x1f\x15\xe2"
30206 "\x56\xf5\x4e\x01\x35\x27\x45\x77"
30207 "\x47\xc8\xbc\xcb\x7e\x39\xc1\x97"
30208 "\x28\xd3\x84\xfc\x2c\x3e\xc8\xad"
30209 "\x9c\xf8\x8a\x61\x9c\x28\xaa\xc5"
30210 "\x99\x20\x43\x85\x9d\xa5\xe2\x8b"
30211 "\xb8\xae\xeb\xd0\x32\x0d\x52\x78"
30212 "\x09\x56\x3f\xc7\xd8\x7e\x26\xfc"
30213 "\x37\xfb\x6f\x04\xfc\xfa\x92\x10"
30214 "\xac\xf8\x3e\x21\xdc\x8c\x21\x16"
30215 "\x7d\x67\x6e\xf6\xcd\xda\xb6\x98"
30216 "\x23\xab\x23\x3c\xb2\x10\xa0\x53"
30217 "\x5a\x56\x9f\xc5\xd0\xff\xbb\xe4"
30218 "\x98\x3c\x69\x1e\xdb\x38\x8f\x7e"
30219 "\x0f\xd2\x98\x88\x81\x8b\x45\x67"
30220 "\xea\x33\xf1\xeb\xe9\x97\x55\x2e"
30221 "\xd9\xaa\xeb\x5a\xec\xda\xe1\x68"
30222 "\xa8\x9d\x3c\x84\x7c\x05\x3d\x62"
30223 "\x87\x8f\x03\x21\x28\x95\x0c\x89"
30224 "\x25\x22\x4a\xb0\x93\xa9\x50\xa2"
30225 "\x2f\x57\x6e\x18\x42\x19\x54\x0c"
30226 "\x55\x67\xc6\x11\x49\xf4\x5c\xd2"
30227 "\xe9\x3d\xdd\x8b\x48\x71\x21\x00"
30228 "\xc3\x9a\x6c\x85\x74\x28\x83\x4a"
30229 "\x1b\x31\x05\xe1\x06\x92\xe7\xda"
30230 "\x85\x73\x78\x45\x20\x7f\xae\x13"
30231 "\x7c\x33\x06\x22\xf4\x83\xf9\x35"
30232 "\x3f\x6c\x71\xa8\x4e\x48\xbe\x9b"
30233 "\xce\x8a\xba\xda\xbe\x28\x08\xf7"
30234 "\xe2\x14\x8c\x71\xea\x72\xf9\x33"
30235 "\xf2\x88\x3f\xd7\xbb\x69\x6c\x29"
30236 "\x19\xdc\x84\xce\x1f\x12\x4f\xc8"
30237 "\xaf\xa5\x04\xba\x5a\xab\xb0\xd9"
30238 "\x14\x1f\x6c\x68\x98\x39\x89\x7a"
30239 "\xd9\xd8\x2f\xdf\xa8\x47\x4a\x25"
30240 "\xe2\xfb\x33\xf4\x59\x78\xe1\x68"
30241 "\x85\xcf\xfe\x59\x20\xd4\x05\x1d"
30242 "\x80\x99\xae\xbc\xca\xae\x0f\x2f"
30243 "\x65\x43\x34\x8e\x7e\xac\xd3\x93"
30244 "\x2f\xac\x6d\x14\x3d\x02\x07\x70"
30245 "\x9d\xa4\xf3\x1b\x5c\x36\xfc\x01"
30246 "\x73\x34\x85\x0c\x6c\xd6\xf1\xbd"
30247 "\x3f\xdf\xee\xf5\xd9\xba\x56\xef"
30248 "\xf4\x9b\x6b\xee\x9f\x5a\x78\x6d"
30249 "\x32\x19\xf4\xf7\xf8\x4c\x69\x0b"
30250 "\x4b\xbc\xbb\xb7\xf2\x85\xaf\x70"
30251 "\x75\x24\x6c\x54\xa7\x0e\x4d\x1d"
30252 "\x01\xbf\x08\xac\xcf\x7f\x2c\xe3"
30253 "\x14\x89\x5e\x70\x5a\x99\x92\xcd"
30254 "\x01\x84\xc8\xd2\xab\xe5\x4f\x58"
30255 "\xe7\x0f\x2f\x0e\xff\x68\xea\xfd"
30256 "\x15\xb3\x17\xe6\xb0\xe7\x85\xd8"
30257 "\x23\x2e\x05\xc7\xc9\xc4\x46\x1f"
30258 "\xe1\x9e\x49\x20\x23\x24\x4d\x7e"
30259 "\x29\x65\xff\xf4\xb6\xfd\x1a\x85"
30260 "\xc4\x16\xec\xfc\xea\x7b\xd6\x2c"
30261 "\x43\xf8\xb7\xbf\x79\xc0\x85\xcd"
30262 "\xef\xe1\x98\xd3\xa5\xf7\x90\x8c"
30263 "\xe9\x7f\x80\x6b\xd2\xac\x4c\x30"
30264 "\xa7\xc6\x61\x6c\xd2\xf9\x2c\xff"
30265 "\x30\xbc\x22\x81\x7d\x93\x12\xe4"
30266 "\x0a\xcd\xaf\xdd\xe8\xab\x0a\x1e"
30267 "\x13\xa4\x27\xc3\x5f\xf7\x4b\xbb"
30268 "\x37\x09\x4b\x91\x6f\x92\x4f\xaf"
30269 "\x52\xee\xdf\xef\x09\x6f\xf7\x5c"
30270 "\x6e\x12\x17\x72\x63\x57\xc7\xba"
30271 "\x3b\x6b\x38\x32\x73\x1b\x9c\x80"
30272 "\xc1\x7a\xc6\xcf\xcd\x35\xc0\x6b"
30273 "\x31\x1a\x6b\xe9\xd8\x2c\x29\x3f"
30274 "\x96\xfb\xb6\xcd\x13\x91\x3b\xc2"
30275 "\xd2\xa3\x31\x8d\xa4\xcd\x57\xcd"
30276 "\x13\x3d\x64\xfd\x06\xce\xe6\xdc"
30277 "\x0c\x24\x43\x31\x40\x57\xf1\x72"
30278 "\x17\xe3\x3a\x63\x6d\x35\xcf\x5d"
30279 "\x97\x40\x59\xdd\xf7\x3c\x02\xf7"
30280 "\x1c\x7e\x05\xbb\xa9\x0d\x01\xb1"
30281 "\x8e\xc0\x30\xa9\x53\x24\xc9\x89"
30282 "\x84\x6d\xaa\xd0\xcd\x91\xc2\x4d"
30283 "\x91\xb0\x89\xe2\xbf\x83\x44\xaa"
30284 "\x28\x72\x23\xa0\xc2\xad\xad\x1c"
30285 "\xfc\x3f\x09\x7a\x0b\xdc\xc5\x1b"
30286 "\x87\x13\xc6\x5b\x59\x8d\xf2\xc8"
30287 "\xaf\xdf\x11\x95",
30288 .len = 4100,
30289 .np = 2,
30290 .tap = { 4064, 36 },
30294 static const struct cipher_testvec chacha20_tv_template[] = {
30295 { /* RFC7539 A.2. Test Vector #1 */
30296 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
30297 "\x00\x00\x00\x00\x00\x00\x00\x00"
30298 "\x00\x00\x00\x00\x00\x00\x00\x00"
30299 "\x00\x00\x00\x00\x00\x00\x00\x00",
30300 .klen = 32,
30301 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
30302 "\x00\x00\x00\x00\x00\x00\x00\x00",
30303 .ptext = "\x00\x00\x00\x00\x00\x00\x00\x00"
30304 "\x00\x00\x00\x00\x00\x00\x00\x00"
30305 "\x00\x00\x00\x00\x00\x00\x00\x00"
30306 "\x00\x00\x00\x00\x00\x00\x00\x00"
30307 "\x00\x00\x00\x00\x00\x00\x00\x00"
30308 "\x00\x00\x00\x00\x00\x00\x00\x00"
30309 "\x00\x00\x00\x00\x00\x00\x00\x00"
30310 "\x00\x00\x00\x00\x00\x00\x00\x00",
30311 .ctext = "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
30312 "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
30313 "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
30314 "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
30315 "\xda\x41\x59\x7c\x51\x57\x48\x8d"
30316 "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
30317 "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
30318 "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
30319 .len = 64,
30320 }, { /* RFC7539 A.2. Test Vector #2 */
30321 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
30322 "\x00\x00\x00\x00\x00\x00\x00\x00"
30323 "\x00\x00\x00\x00\x00\x00\x00\x00"
30324 "\x00\x00\x00\x00\x00\x00\x00\x01",
30325 .klen = 32,
30326 .iv = "\x01\x00\x00\x00\x00\x00\x00\x00"
30327 "\x00\x00\x00\x00\x00\x00\x00\x02",
30328 .ptext = "\x41\x6e\x79\x20\x73\x75\x62\x6d"
30329 "\x69\x73\x73\x69\x6f\x6e\x20\x74"
30330 "\x6f\x20\x74\x68\x65\x20\x49\x45"
30331 "\x54\x46\x20\x69\x6e\x74\x65\x6e"
30332 "\x64\x65\x64\x20\x62\x79\x20\x74"
30333 "\x68\x65\x20\x43\x6f\x6e\x74\x72"
30334 "\x69\x62\x75\x74\x6f\x72\x20\x66"
30335 "\x6f\x72\x20\x70\x75\x62\x6c\x69"
30336 "\x63\x61\x74\x69\x6f\x6e\x20\x61"
30337 "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
30338 "\x20\x70\x61\x72\x74\x20\x6f\x66"
30339 "\x20\x61\x6e\x20\x49\x45\x54\x46"
30340 "\x20\x49\x6e\x74\x65\x72\x6e\x65"
30341 "\x74\x2d\x44\x72\x61\x66\x74\x20"
30342 "\x6f\x72\x20\x52\x46\x43\x20\x61"
30343 "\x6e\x64\x20\x61\x6e\x79\x20\x73"
30344 "\x74\x61\x74\x65\x6d\x65\x6e\x74"
30345 "\x20\x6d\x61\x64\x65\x20\x77\x69"
30346 "\x74\x68\x69\x6e\x20\x74\x68\x65"
30347 "\x20\x63\x6f\x6e\x74\x65\x78\x74"
30348 "\x20\x6f\x66\x20\x61\x6e\x20\x49"
30349 "\x45\x54\x46\x20\x61\x63\x74\x69"
30350 "\x76\x69\x74\x79\x20\x69\x73\x20"
30351 "\x63\x6f\x6e\x73\x69\x64\x65\x72"
30352 "\x65\x64\x20\x61\x6e\x20\x22\x49"
30353 "\x45\x54\x46\x20\x43\x6f\x6e\x74"
30354 "\x72\x69\x62\x75\x74\x69\x6f\x6e"
30355 "\x22\x2e\x20\x53\x75\x63\x68\x20"
30356 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
30357 "\x74\x73\x20\x69\x6e\x63\x6c\x75"
30358 "\x64\x65\x20\x6f\x72\x61\x6c\x20"
30359 "\x73\x74\x61\x74\x65\x6d\x65\x6e"
30360 "\x74\x73\x20\x69\x6e\x20\x49\x45"
30361 "\x54\x46\x20\x73\x65\x73\x73\x69"
30362 "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
30363 "\x77\x65\x6c\x6c\x20\x61\x73\x20"
30364 "\x77\x72\x69\x74\x74\x65\x6e\x20"
30365 "\x61\x6e\x64\x20\x65\x6c\x65\x63"
30366 "\x74\x72\x6f\x6e\x69\x63\x20\x63"
30367 "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
30368 "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
30369 "\x64\x65\x20\x61\x74\x20\x61\x6e"
30370 "\x79\x20\x74\x69\x6d\x65\x20\x6f"
30371 "\x72\x20\x70\x6c\x61\x63\x65\x2c"
30372 "\x20\x77\x68\x69\x63\x68\x20\x61"
30373 "\x72\x65\x20\x61\x64\x64\x72\x65"
30374 "\x73\x73\x65\x64\x20\x74\x6f",
30375 .ctext = "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
30376 "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
30377 "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
30378 "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
30379 "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
30380 "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
30381 "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
30382 "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
30383 "\x40\x42\xe0\x27\x85\xec\xec\xfa"
30384 "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
30385 "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
30386 "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
30387 "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
30388 "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
30389 "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
30390 "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
30391 "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
30392 "\xd6\x62\xab\x05\x26\x91\xca\x66"
30393 "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
30394 "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
30395 "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
30396 "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
30397 "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
30398 "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
30399 "\x08\x71\xcd\xac\x63\x89\x39\xe2"
30400 "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
30401 "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
30402 "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
30403 "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
30404 "\x37\x20\xfc\x88\xdc\x95\xed\x84"
30405 "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
30406 "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
30407 "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
30408 "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
30409 "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
30410 "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
30411 "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
30412 "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
30413 "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
30414 "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
30415 "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
30416 "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
30417 "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
30418 "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
30419 "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
30420 "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
30421 "\xc4\xfd\x80\x6c\x22\xf2\x21",
30422 .len = 375,
30423 .also_non_np = 1,
30424 .np = 3,
30425 .tap = { 375 - 20, 4, 16 },
30427 }, { /* RFC7539 A.2. Test Vector #3 */
30428 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
30429 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
30430 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
30431 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
30432 .klen = 32,
30433 .iv = "\x2a\x00\x00\x00\x00\x00\x00\x00"
30434 "\x00\x00\x00\x00\x00\x00\x00\x02",
30435 .ptext = "\x27\x54\x77\x61\x73\x20\x62\x72"
30436 "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
30437 "\x6e\x64\x20\x74\x68\x65\x20\x73"
30438 "\x6c\x69\x74\x68\x79\x20\x74\x6f"
30439 "\x76\x65\x73\x0a\x44\x69\x64\x20"
30440 "\x67\x79\x72\x65\x20\x61\x6e\x64"
30441 "\x20\x67\x69\x6d\x62\x6c\x65\x20"
30442 "\x69\x6e\x20\x74\x68\x65\x20\x77"
30443 "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
30444 "\x20\x6d\x69\x6d\x73\x79\x20\x77"
30445 "\x65\x72\x65\x20\x74\x68\x65\x20"
30446 "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
30447 "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
30448 "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
30449 "\x72\x61\x74\x68\x73\x20\x6f\x75"
30450 "\x74\x67\x72\x61\x62\x65\x2e",
30451 .ctext = "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
30452 "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
30453 "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
30454 "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
30455 "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
30456 "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
30457 "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
30458 "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
30459 "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
30460 "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
30461 "\x1a\x55\x32\x05\x57\x16\xea\xd6"
30462 "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
30463 "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
30464 "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
30465 "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
30466 "\x75\x7a\x79\x7a\xc1\x88\xd1",
30467 .len = 127,
30468 }, { /* Self-made test vector for long data */
30469 .key = "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
30470 "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
30471 "\x47\x39\x17\xc1\x40\x2b\x80\x09"
30472 "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
30473 .klen = 32,
30474 .iv = "\x1c\x00\x00\x00\x00\x00\x00\x00"
30475 "\x00\x00\x00\x00\x00\x00\x00\x01",
30476 .ptext = "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
30477 "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
30478 "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
30479 "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
30480 "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
30481 "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
30482 "\x01\xc6\x67\xda\x03\x91\x18\x90"
30483 "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
30484 "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
30485 "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
30486 "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
30487 "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
30488 "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
30489 "\x33\x97\xc3\x77\xba\xc5\x70\xde"
30490 "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
30491 "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
30492 "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
30493 "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
30494 "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
30495 "\x79\x49\x41\xf4\x58\x18\xcb\x86"
30496 "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
30497 "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
30498 "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
30499 "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
30500 "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
30501 "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
30502 "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
30503 "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
30504 "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
30505 "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
30506 "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
30507 "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
30508 "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
30509 "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
30510 "\x24\x74\x75\x7f\x95\x81\xb7\x30"
30511 "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
30512 "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
30513 "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
30514 "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
30515 "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
30516 "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
30517 "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
30518 "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
30519 "\x49\x46\x00\x88\x22\x8d\xce\xea"
30520 "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
30521 "\x72\x11\xf5\x50\x73\x04\x40\x47"
30522 "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
30523 "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
30524 "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
30525 "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
30526 "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
30527 "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
30528 "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
30529 "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
30530 "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
30531 "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
30532 "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
30533 "\x8b\x10\x67\xa3\x01\x57\x94\x25"
30534 "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
30535 "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
30536 "\x58\xb1\x47\x90\xfe\x42\x21\x72"
30537 "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
30538 "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
30539 "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
30540 "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
30541 "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
30542 "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
30543 "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
30544 "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
30545 "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
30546 "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
30547 "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
30548 "\x65\x69\x8a\x45\x29\xef\x74\x85"
30549 "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
30550 "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
30551 "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
30552 "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
30553 "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
30554 "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
30555 "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
30556 "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
30557 "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
30558 "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
30559 "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
30560 "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
30561 "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
30562 "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
30563 "\x10\x26\x38\x07\xe5\xc7\x36\x80"
30564 "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
30565 "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
30566 "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
30567 "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
30568 "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
30569 "\x83\x66\x80\x47\x80\xe8\xfd\x35"
30570 "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
30571 "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
30572 "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
30573 "\x25\x94\x10\x5f\x40\x00\x64\x99"
30574 "\xdc\xae\xd7\x21\x09\x78\x50\x15"
30575 "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
30576 "\x87\x6e\x6d\xab\xde\x08\x51\x16"
30577 "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
30578 "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
30579 "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
30580 "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
30581 "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
30582 "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
30583 "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
30584 "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
30585 "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
30586 "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
30587 "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
30588 "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
30589 "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
30590 "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
30591 "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
30592 "\xb9\x83\x90\xef\x20\x59\x46\xff"
30593 "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
30594 "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
30595 "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
30596 "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
30597 "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
30598 "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
30599 "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
30600 "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
30601 "\x94\x97\xea\xdd\x58\x9e\xae\x76"
30602 "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
30603 "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
30604 "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
30605 "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
30606 "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
30607 "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
30608 "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
30609 "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
30610 "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
30611 "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
30612 "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
30613 "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
30614 "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
30615 "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
30616 "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
30617 "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
30618 "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
30619 "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
30620 "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
30621 "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
30622 "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
30623 "\xac\xf3\x13\x53\x27\x45\xaf\x64"
30624 "\x46\xdc\xea\x23\xda\x97\xd1\xab"
30625 "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
30626 "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
30627 "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
30628 "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
30629 "\xca\x34\x83\x27\x10\x5b\x68\x45"
30630 "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
30631 "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
30632 "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
30633 "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
30634 "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
30635 "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
30636 "\x72",
30637 .ctext = "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
30638 "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
30639 "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
30640 "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
30641 "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
30642 "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
30643 "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
30644 "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
30645 "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
30646 "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
30647 "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
30648 "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
30649 "\x33\x4a\x71\x15\xfe\xee\x12\x54"
30650 "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
30651 "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
30652 "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
30653 "\x57\x0e\x94\x17\x26\x39\xbb\x54"
30654 "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
30655 "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
30656 "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
30657 "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
30658 "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
30659 "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
30660 "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
30661 "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
30662 "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
30663 "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
30664 "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
30665 "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
30666 "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
30667 "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
30668 "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
30669 "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
30670 "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
30671 "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
30672 "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
30673 "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
30674 "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
30675 "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
30676 "\xae\xe7\x61\x32\xef\x41\x6c\x75"
30677 "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
30678 "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
30679 "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
30680 "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
30681 "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
30682 "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
30683 "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
30684 "\xc1\x22\xf3\x79\xae\x95\x78\x66"
30685 "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
30686 "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
30687 "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
30688 "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
30689 "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
30690 "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
30691 "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
30692 "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
30693 "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
30694 "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
30695 "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
30696 "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
30697 "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
30698 "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
30699 "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
30700 "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
30701 "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
30702 "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
30703 "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
30704 "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
30705 "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
30706 "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
30707 "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
30708 "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
30709 "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
30710 "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
30711 "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
30712 "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
30713 "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
30714 "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
30715 "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
30716 "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
30717 "\x54\x1c\x34\x72\xde\x0c\x68\x39"
30718 "\x9d\x32\xa5\x75\x92\x13\x32\xea"
30719 "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
30720 "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
30721 "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
30722 "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
30723 "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
30724 "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
30725 "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
30726 "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
30727 "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
30728 "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
30729 "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
30730 "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
30731 "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
30732 "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
30733 "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
30734 "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
30735 "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
30736 "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
30737 "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
30738 "\x79\x61\x23\xe0\xa2\x99\x73\x55"
30739 "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
30740 "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
30741 "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
30742 "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
30743 "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
30744 "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
30745 "\x48\x56\xaa\x85\x22\xd8\x36\xed"
30746 "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
30747 "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
30748 "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
30749 "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
30750 "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
30751 "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
30752 "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
30753 "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
30754 "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
30755 "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
30756 "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
30757 "\xec\x83\x92\x99\x87\x47\xe0\x7c"
30758 "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
30759 "\x98\xb0\x87\xb6\x86\x13\x64\x33"
30760 "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
30761 "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
30762 "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
30763 "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
30764 "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
30765 "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
30766 "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
30767 "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
30768 "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
30769 "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
30770 "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
30771 "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
30772 "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
30773 "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
30774 "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
30775 "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
30776 "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
30777 "\x5f\xae\x25\x84\x22\x90\x5f\x26"
30778 "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
30779 "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
30780 "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
30781 "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
30782 "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
30783 "\x74\x06\x89\x0e\x90\xeb\x85\xff"
30784 "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
30785 "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
30786 "\x02\x85\x68\xd0\x03\x12\xde\x92"
30787 "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
30788 "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
30789 "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
30790 "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
30791 "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
30792 "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
30793 "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
30794 "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
30795 "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
30796 "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
30797 "\x98",
30798 .len = 1281,
30799 .also_non_np = 1,
30800 .np = 3,
30801 .tap = { 1200, 1, 80 },
30806 * CTS (Cipher Text Stealing) mode tests
30808 static const struct cipher_testvec cts_mode_tv_template[] = {
30809 { /* from rfc3962 */
30810 .klen = 16,
30811 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
30812 "\x74\x65\x72\x69\x79\x61\x6b\x69",
30813 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
30814 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
30815 "\x20",
30816 .len = 17,
30817 .ctext = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
30818 "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
30819 "\x97",
30820 }, {
30821 .klen = 16,
30822 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
30823 "\x74\x65\x72\x69\x79\x61\x6b\x69",
30824 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
30825 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
30826 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
30827 "\x20\x47\x61\x75\x27\x73\x20",
30828 .len = 31,
30829 .ctext = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
30830 "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
30831 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
30832 "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
30833 }, {
30834 .klen = 16,
30835 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
30836 "\x74\x65\x72\x69\x79\x61\x6b\x69",
30837 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
30838 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
30839 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
30840 "\x20\x47\x61\x75\x27\x73\x20\x43",
30841 .len = 32,
30842 .ctext = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
30843 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
30844 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
30845 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
30846 }, {
30847 .klen = 16,
30848 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
30849 "\x74\x65\x72\x69\x79\x61\x6b\x69",
30850 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
30851 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
30852 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
30853 "\x20\x47\x61\x75\x27\x73\x20\x43"
30854 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
30855 "\x70\x6c\x65\x61\x73\x65\x2c",
30856 .len = 47,
30857 .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
30858 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
30859 "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
30860 "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
30861 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
30862 "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
30863 }, {
30864 .klen = 16,
30865 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
30866 "\x74\x65\x72\x69\x79\x61\x6b\x69",
30867 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
30868 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
30869 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
30870 "\x20\x47\x61\x75\x27\x73\x20\x43"
30871 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
30872 "\x70\x6c\x65\x61\x73\x65\x2c\x20",
30873 .len = 48,
30874 .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
30875 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
30876 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
30877 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
30878 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
30879 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
30880 }, {
30881 .klen = 16,
30882 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
30883 "\x74\x65\x72\x69\x79\x61\x6b\x69",
30884 .ptext = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
30885 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
30886 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
30887 "\x20\x47\x61\x75\x27\x73\x20\x43"
30888 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
30889 "\x70\x6c\x65\x61\x73\x65\x2c\x20"
30890 "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
30891 "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
30892 .len = 64,
30893 .ctext = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
30894 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
30895 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
30896 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
30897 "\x48\x07\xef\xe8\x36\xee\x89\xa5"
30898 "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
30899 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
30900 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
30905 * Compression stuff.
30907 #define COMP_BUF_SIZE 512
30909 struct comp_testvec {
30910 int inlen, outlen;
30911 char input[COMP_BUF_SIZE];
30912 char output[COMP_BUF_SIZE];
30916 * Deflate test vectors (null-terminated strings).
30917 * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
30920 static const struct comp_testvec deflate_comp_tv_template[] = {
30922 .inlen = 70,
30923 .outlen = 38,
30924 .input = "Join us now and share the software "
30925 "Join us now and share the software ",
30926 .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
30927 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
30928 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
30929 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
30930 "\x71\xbc\x08\x2b\x01\x00",
30931 }, {
30932 .inlen = 191,
30933 .outlen = 122,
30934 .input = "This document describes a compression method based on the DEFLATE"
30935 "compression algorithm. This document defines the application of "
30936 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
30937 .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
30938 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
30939 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
30940 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
30941 "\x68\x12\x51\xae\x76\x67\xd6\x27"
30942 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
30943 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
30944 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
30945 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
30946 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
30947 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
30948 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
30949 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
30950 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
30951 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
30952 "\xfa\x02",
30956 static const struct comp_testvec deflate_decomp_tv_template[] = {
30958 .inlen = 122,
30959 .outlen = 191,
30960 .input = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
30961 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
30962 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
30963 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
30964 "\x68\x12\x51\xae\x76\x67\xd6\x27"
30965 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
30966 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
30967 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
30968 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
30969 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
30970 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
30971 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
30972 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
30973 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
30974 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
30975 "\xfa\x02",
30976 .output = "This document describes a compression method based on the DEFLATE"
30977 "compression algorithm. This document defines the application of "
30978 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
30979 }, {
30980 .inlen = 38,
30981 .outlen = 70,
30982 .input = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
30983 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
30984 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
30985 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
30986 "\x71\xbc\x08\x2b\x01\x00",
30987 .output = "Join us now and share the software "
30988 "Join us now and share the software ",
30992 static const struct comp_testvec zlib_deflate_comp_tv_template[] = {
30994 .inlen = 70,
30995 .outlen = 44,
30996 .input = "Join us now and share the software "
30997 "Join us now and share the software ",
30998 .output = "\x78\x5e\xf3\xca\xcf\xcc\x53\x28"
30999 "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
31000 "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
31001 "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
31002 "\x29\x07\x71\xbc\x08\x2b\x01\x00"
31003 "\x7c\x65\x19\x3d",
31004 }, {
31005 .inlen = 191,
31006 .outlen = 129,
31007 .input = "This document describes a compression method based on the DEFLATE"
31008 "compression algorithm. This document defines the application of "
31009 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
31010 .output = "\x78\x5e\x5d\xce\x41\x0a\xc3\x30"
31011 "\x0c\x04\xc0\xaf\xec\x0b\xf2\x87"
31012 "\xd2\xa6\x50\xe8\xc1\x07\x7f\x40"
31013 "\xb1\x95\x5a\x60\x5b\xc6\x56\x0f"
31014 "\xfd\x7d\x93\x1e\x42\xe8\x51\xec"
31015 "\xee\x20\x9f\x64\x20\x6a\x78\x17"
31016 "\xae\x86\xc8\x23\x74\x59\x78\x80"
31017 "\x10\xb4\xb4\xce\x63\x88\x56\x14"
31018 "\xb6\xa4\x11\x0b\x0d\x8e\xd8\x6e"
31019 "\x4b\x8c\xdb\x7c\x7f\x5e\xfc\x7c"
31020 "\xae\x51\x7e\x69\x17\x4b\x65\x02"
31021 "\xfc\x1f\xbc\x4a\xdd\xd8\x7d\x48"
31022 "\xad\x65\x09\x64\x3b\xac\xeb\xd9"
31023 "\xc2\x01\xc0\xf4\x17\x3c\x1c\x1c"
31024 "\x7d\xb2\x52\xc4\xf5\xf4\x8f\xeb"
31025 "\x6a\x1a\x34\x4f\x5f\x2e\x32\x45"
31026 "\x4e",
31030 static const struct comp_testvec zlib_deflate_decomp_tv_template[] = {
31032 .inlen = 128,
31033 .outlen = 191,
31034 .input = "\x78\x9c\x5d\x8d\x31\x0e\xc2\x30"
31035 "\x10\x04\xbf\xb2\x2f\xc8\x1f\x10"
31036 "\x04\x09\x89\xc2\x85\x3f\x70\xb1"
31037 "\x2f\xf8\x24\xdb\x67\xd9\x47\xc1"
31038 "\xef\x49\x68\x12\x51\xae\x76\x67"
31039 "\xd6\x27\x19\x88\x1a\xde\x85\xab"
31040 "\x21\xf2\x08\x5d\x16\x1e\x20\x04"
31041 "\x2d\xad\xf3\x18\xa2\x15\x85\x2d"
31042 "\x69\xc4\x42\x83\x23\xb6\x6c\x89"
31043 "\x71\x9b\xef\xcf\x8b\x9f\xcf\x33"
31044 "\xca\x2f\xed\x62\xa9\x4c\x80\xff"
31045 "\x13\xaf\x52\x37\xed\x0e\x52\x6b"
31046 "\x59\x02\xd9\x4e\xe8\x7a\x76\x1d"
31047 "\x02\x98\xfe\x8a\x87\x83\xa3\x4f"
31048 "\x56\x8a\xb8\x9e\x8e\x5c\x57\xd3"
31049 "\xa0\x79\xfa\x02\x2e\x32\x45\x4e",
31050 .output = "This document describes a compression method based on the DEFLATE"
31051 "compression algorithm. This document defines the application of "
31052 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
31053 }, {
31054 .inlen = 44,
31055 .outlen = 70,
31056 .input = "\x78\x9c\xf3\xca\xcf\xcc\x53\x28"
31057 "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
31058 "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
31059 "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
31060 "\x29\x07\x71\xbc\x08\x2b\x01\x00"
31061 "\x7c\x65\x19\x3d",
31062 .output = "Join us now and share the software "
31063 "Join us now and share the software ",
31068 * LZO test vectors (null-terminated strings).
31070 static const struct comp_testvec lzo_comp_tv_template[] = {
31072 .inlen = 70,
31073 .outlen = 57,
31074 .input = "Join us now and share the software "
31075 "Join us now and share the software ",
31076 .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
31077 "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
31078 "\x64\x20\x73\x68\x61\x72\x65\x20"
31079 "\x74\x68\x65\x20\x73\x6f\x66\x74"
31080 "\x77\x70\x01\x32\x88\x00\x0c\x65"
31081 "\x20\x74\x68\x65\x20\x73\x6f\x66"
31082 "\x74\x77\x61\x72\x65\x20\x11\x00"
31083 "\x00",
31084 }, {
31085 .inlen = 159,
31086 .outlen = 131,
31087 .input = "This document describes a compression method based on the LZO "
31088 "compression algorithm. This document defines the application of "
31089 "the LZO algorithm used in UBIFS.",
31090 .output = "\x00\x2c\x54\x68\x69\x73\x20\x64"
31091 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
31092 "\x64\x65\x73\x63\x72\x69\x62\x65"
31093 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
31094 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
31095 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
31096 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
31097 "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
31098 "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
31099 "\x72\x69\x74\x68\x6d\x2e\x20\x20"
31100 "\x2e\x54\x01\x03\x66\x69\x6e\x65"
31101 "\x73\x20\x74\x06\x05\x61\x70\x70"
31102 "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
31103 "\x66\x88\x02\x60\x09\x27\xf0\x00"
31104 "\x0c\x20\x75\x73\x65\x64\x20\x69"
31105 "\x6e\x20\x55\x42\x49\x46\x53\x2e"
31106 "\x11\x00\x00",
31110 static const struct comp_testvec lzo_decomp_tv_template[] = {
31112 .inlen = 133,
31113 .outlen = 159,
31114 .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
31115 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
31116 "\x64\x65\x73\x63\x72\x69\x62\x65"
31117 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
31118 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
31119 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
31120 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
31121 "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
31122 "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
31123 "\x69\x74\x68\x6d\x2e\x20\x20\x54"
31124 "\x68\x69\x73\x2a\x54\x01\x02\x66"
31125 "\x69\x6e\x65\x73\x94\x06\x05\x61"
31126 "\x70\x70\x6c\x69\x63\x61\x74\x76"
31127 "\x0a\x6f\x66\x88\x02\x60\x09\x27"
31128 "\xf0\x00\x0c\x20\x75\x73\x65\x64"
31129 "\x20\x69\x6e\x20\x55\x42\x49\x46"
31130 "\x53\x2e\x11\x00\x00",
31131 .output = "This document describes a compression method based on the LZO "
31132 "compression algorithm. This document defines the application of "
31133 "the LZO algorithm used in UBIFS.",
31134 }, {
31135 .inlen = 46,
31136 .outlen = 70,
31137 .input = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
31138 "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
31139 "\x64\x20\x73\x68\x61\x72\x65\x20"
31140 "\x74\x68\x65\x20\x73\x6f\x66\x74"
31141 "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
31142 "\x3d\x88\x00\x11\x00\x00",
31143 .output = "Join us now and share the software "
31144 "Join us now and share the software ",
31149 * Michael MIC test vectors from IEEE 802.11i
31151 #define MICHAEL_MIC_TEST_VECTORS 6
31153 static const struct hash_testvec michael_mic_tv_template[] = {
31155 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
31156 .ksize = 8,
31157 .plaintext = zeroed_string,
31158 .psize = 0,
31159 .digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
31162 .key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
31163 .ksize = 8,
31164 .plaintext = "M",
31165 .psize = 1,
31166 .digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
31169 .key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
31170 .ksize = 8,
31171 .plaintext = "Mi",
31172 .psize = 2,
31173 .digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
31176 .key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
31177 .ksize = 8,
31178 .plaintext = "Mic",
31179 .psize = 3,
31180 .digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
31183 .key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
31184 .ksize = 8,
31185 .plaintext = "Mich",
31186 .psize = 4,
31187 .digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
31190 .key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
31191 .ksize = 8,
31192 .plaintext = "Michael",
31193 .psize = 7,
31194 .digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
31199 * CRC32 test vectors
31201 static const struct hash_testvec crc32_tv_template[] = {
31203 .psize = 0,
31204 .digest = "\x00\x00\x00\x00",
31207 .plaintext = "abcdefg",
31208 .psize = 7,
31209 .digest = "\xd8\xb5\x46\xac",
31212 .key = "\x87\xa9\xcb\xed",
31213 .ksize = 4,
31214 .psize = 0,
31215 .digest = "\x87\xa9\xcb\xed",
31218 .key = "\xff\xff\xff\xff",
31219 .ksize = 4,
31220 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
31221 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
31222 "\x11\x12\x13\x14\x15\x16\x17\x18"
31223 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
31224 "\x21\x22\x23\x24\x25\x26\x27\x28",
31225 .psize = 40,
31226 .digest = "\x3a\xdf\x4b\xb0",
31229 .key = "\xff\xff\xff\xff",
31230 .ksize = 4,
31231 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
31232 "\x31\x32\x33\x34\x35\x36\x37\x38"
31233 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
31234 "\x41\x42\x43\x44\x45\x46\x47\x48"
31235 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
31236 .psize = 40,
31237 .digest = "\xa9\x7a\x7f\x7b",
31240 .key = "\xff\xff\xff\xff",
31241 .ksize = 4,
31242 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
31243 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
31244 "\x61\x62\x63\x64\x65\x66\x67\x68"
31245 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
31246 "\x71\x72\x73\x74\x75\x76\x77\x78",
31247 .psize = 40,
31248 .digest = "\xba\xd3\xf8\x1c",
31251 .key = "\xff\xff\xff\xff",
31252 .ksize = 4,
31253 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
31254 "\x81\x82\x83\x84\x85\x86\x87\x88"
31255 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
31256 "\x91\x92\x93\x94\x95\x96\x97\x98"
31257 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
31258 .psize = 40,
31259 .digest = "\xa8\xa9\xc2\x02",
31262 .key = "\xff\xff\xff\xff",
31263 .ksize = 4,
31264 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
31265 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
31266 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
31267 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
31268 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
31269 .psize = 40,
31270 .digest = "\x27\xf0\x57\xe2",
31273 .key = "\xff\xff\xff\xff",
31274 .ksize = 4,
31275 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
31276 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
31277 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
31278 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
31279 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
31280 .psize = 40,
31281 .digest = "\x49\x78\x10\x08",
31284 .key = "\x80\xea\xd3\xf1",
31285 .ksize = 4,
31286 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
31287 "\x31\x32\x33\x34\x35\x36\x37\x38"
31288 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
31289 "\x41\x42\x43\x44\x45\x46\x47\x48"
31290 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
31291 .psize = 40,
31292 .digest = "\x9a\xb1\xdc\xf0",
31295 .key = "\xf3\x4a\x1d\x5d",
31296 .ksize = 4,
31297 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
31298 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
31299 "\x61\x62\x63\x64\x65\x66\x67\x68"
31300 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
31301 "\x71\x72\x73\x74\x75\x76\x77\x78",
31302 .psize = 40,
31303 .digest = "\xb4\x97\xcc\xd4",
31306 .key = "\x2e\x80\x04\x59",
31307 .ksize = 4,
31308 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
31309 "\x81\x82\x83\x84\x85\x86\x87\x88"
31310 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
31311 "\x91\x92\x93\x94\x95\x96\x97\x98"
31312 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
31313 .psize = 40,
31314 .digest = "\x67\x9b\xfa\x79",
31317 .key = "\xa6\xcc\x19\x85",
31318 .ksize = 4,
31319 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
31320 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
31321 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
31322 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
31323 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
31324 .psize = 40,
31325 .digest = "\x24\xb5\x16\xef",
31328 .key = "\x41\xfc\xfe\x2d",
31329 .ksize = 4,
31330 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
31331 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
31332 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
31333 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
31334 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
31335 .psize = 40,
31336 .digest = "\x15\x94\x80\x39",
31339 .key = "\xff\xff\xff\xff",
31340 .ksize = 4,
31341 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
31342 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
31343 "\x11\x12\x13\x14\x15\x16\x17\x18"
31344 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
31345 "\x21\x22\x23\x24\x25\x26\x27\x28"
31346 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
31347 "\x31\x32\x33\x34\x35\x36\x37\x38"
31348 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
31349 "\x41\x42\x43\x44\x45\x46\x47\x48"
31350 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
31351 "\x51\x52\x53\x54\x55\x56\x57\x58"
31352 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
31353 "\x61\x62\x63\x64\x65\x66\x67\x68"
31354 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
31355 "\x71\x72\x73\x74\x75\x76\x77\x78"
31356 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
31357 "\x81\x82\x83\x84\x85\x86\x87\x88"
31358 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
31359 "\x91\x92\x93\x94\x95\x96\x97\x98"
31360 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
31361 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
31362 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
31363 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
31364 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
31365 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
31366 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
31367 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
31368 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
31369 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
31370 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
31371 .psize = 240,
31372 .digest = "\x6c\xc6\x56\xde",
31373 .np = 2,
31374 .tap = { 31, 209 }
31375 }, {
31376 .key = "\xff\xff\xff\xff",
31377 .ksize = 4,
31378 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
31379 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
31380 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
31381 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
31382 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
31383 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
31384 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
31385 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
31386 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
31387 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
31388 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
31389 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
31390 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
31391 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
31392 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
31393 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
31394 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
31395 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
31396 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
31397 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
31398 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
31399 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
31400 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
31401 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
31402 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
31403 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
31404 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
31405 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
31406 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
31407 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
31408 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
31409 "\x47\xde\x75\x0c\x80\x17\xae\x22"
31410 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
31411 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
31412 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
31413 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
31414 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
31415 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
31416 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
31417 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
31418 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
31419 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
31420 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
31421 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
31422 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
31423 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
31424 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
31425 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
31426 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
31427 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
31428 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
31429 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
31430 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
31431 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
31432 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
31433 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
31434 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
31435 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
31436 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
31437 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
31438 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
31439 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
31440 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
31441 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
31442 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
31443 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
31444 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
31445 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
31446 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
31447 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
31448 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
31449 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
31450 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
31451 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
31452 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
31453 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
31454 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
31455 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
31456 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
31457 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
31458 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
31459 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
31460 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
31461 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
31462 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
31463 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
31464 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
31465 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
31466 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
31467 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
31468 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
31469 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
31470 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
31471 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
31472 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
31473 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
31474 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
31475 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
31476 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
31477 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
31478 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
31479 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
31480 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
31481 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
31482 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
31483 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
31484 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
31485 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
31486 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
31487 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
31488 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
31489 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
31490 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
31491 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
31492 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
31493 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
31494 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
31495 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
31496 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
31497 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
31498 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
31499 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
31500 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
31501 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
31502 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
31503 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
31504 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
31505 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
31506 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
31507 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
31508 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
31509 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
31510 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
31511 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
31512 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
31513 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
31514 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
31515 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
31516 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
31517 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
31518 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
31519 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
31520 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
31521 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
31522 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
31523 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
31524 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
31525 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
31526 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
31527 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
31528 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
31529 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
31530 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
31531 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
31532 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
31533 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
31534 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
31535 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
31536 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
31537 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
31538 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
31539 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
31540 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
31541 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
31542 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
31543 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
31544 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
31545 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
31546 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
31547 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
31548 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
31549 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
31550 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
31551 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
31552 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
31553 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
31554 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
31555 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
31556 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
31557 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
31558 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
31559 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
31560 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
31561 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
31562 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
31563 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
31564 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
31565 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
31566 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
31567 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
31568 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
31569 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
31570 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
31571 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
31572 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
31573 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
31574 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
31575 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
31576 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
31577 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
31578 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
31579 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
31580 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
31581 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
31582 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
31583 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
31584 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
31585 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
31586 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
31587 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
31588 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
31589 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
31590 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
31591 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
31592 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
31593 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
31594 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
31595 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
31596 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
31597 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
31598 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
31599 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
31600 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
31601 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
31602 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
31603 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
31604 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
31605 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
31606 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
31607 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
31608 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
31609 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
31610 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
31611 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
31612 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
31613 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
31614 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
31615 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
31616 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
31617 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
31618 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
31619 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
31620 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
31621 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
31622 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
31623 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
31624 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
31625 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
31626 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
31627 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
31628 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
31629 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
31630 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
31631 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
31632 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
31633 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
31634 .psize = 2048,
31635 .digest = "\xfb\x3a\x7a\xda",
31640 * CRC32C test vectors
31642 static const struct hash_testvec crc32c_tv_template[] = {
31644 .psize = 0,
31645 .digest = "\x00\x00\x00\x00",
31648 .plaintext = "abcdefg",
31649 .psize = 7,
31650 .digest = "\x41\xf4\x27\xe6",
31653 .key = "\x87\xa9\xcb\xed",
31654 .ksize = 4,
31655 .psize = 0,
31656 .digest = "\x78\x56\x34\x12",
31659 .key = "\xff\xff\xff\xff",
31660 .ksize = 4,
31661 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
31662 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
31663 "\x11\x12\x13\x14\x15\x16\x17\x18"
31664 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
31665 "\x21\x22\x23\x24\x25\x26\x27\x28",
31666 .psize = 40,
31667 .digest = "\x7f\x15\x2c\x0e",
31670 .key = "\xff\xff\xff\xff",
31671 .ksize = 4,
31672 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
31673 "\x31\x32\x33\x34\x35\x36\x37\x38"
31674 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
31675 "\x41\x42\x43\x44\x45\x46\x47\x48"
31676 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
31677 .psize = 40,
31678 .digest = "\xf6\xeb\x80\xe9",
31681 .key = "\xff\xff\xff\xff",
31682 .ksize = 4,
31683 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
31684 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
31685 "\x61\x62\x63\x64\x65\x66\x67\x68"
31686 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
31687 "\x71\x72\x73\x74\x75\x76\x77\x78",
31688 .psize = 40,
31689 .digest = "\xed\xbd\x74\xde",
31692 .key = "\xff\xff\xff\xff",
31693 .ksize = 4,
31694 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
31695 "\x81\x82\x83\x84\x85\x86\x87\x88"
31696 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
31697 "\x91\x92\x93\x94\x95\x96\x97\x98"
31698 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
31699 .psize = 40,
31700 .digest = "\x62\xc8\x79\xd5",
31703 .key = "\xff\xff\xff\xff",
31704 .ksize = 4,
31705 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
31706 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
31707 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
31708 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
31709 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
31710 .psize = 40,
31711 .digest = "\xd0\x9a\x97\xba",
31714 .key = "\xff\xff\xff\xff",
31715 .ksize = 4,
31716 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
31717 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
31718 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
31719 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
31720 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
31721 .psize = 40,
31722 .digest = "\x13\xd9\x29\x2b",
31725 .key = "\x80\xea\xd3\xf1",
31726 .ksize = 4,
31727 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
31728 "\x31\x32\x33\x34\x35\x36\x37\x38"
31729 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
31730 "\x41\x42\x43\x44\x45\x46\x47\x48"
31731 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
31732 .psize = 40,
31733 .digest = "\x0c\xb5\xe2\xa2",
31736 .key = "\xf3\x4a\x1d\x5d",
31737 .ksize = 4,
31738 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
31739 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
31740 "\x61\x62\x63\x64\x65\x66\x67\x68"
31741 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
31742 "\x71\x72\x73\x74\x75\x76\x77\x78",
31743 .psize = 40,
31744 .digest = "\xd1\x7f\xfb\xa6",
31747 .key = "\x2e\x80\x04\x59",
31748 .ksize = 4,
31749 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
31750 "\x81\x82\x83\x84\x85\x86\x87\x88"
31751 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
31752 "\x91\x92\x93\x94\x95\x96\x97\x98"
31753 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
31754 .psize = 40,
31755 .digest = "\x59\x33\xe6\x7a",
31758 .key = "\xa6\xcc\x19\x85",
31759 .ksize = 4,
31760 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
31761 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
31762 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
31763 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
31764 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
31765 .psize = 40,
31766 .digest = "\xbe\x03\x01\xd2",
31769 .key = "\x41\xfc\xfe\x2d",
31770 .ksize = 4,
31771 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
31772 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
31773 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
31774 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
31775 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
31776 .psize = 40,
31777 .digest = "\x75\xd3\xc5\x24",
31780 .key = "\xff\xff\xff\xff",
31781 .ksize = 4,
31782 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
31783 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
31784 "\x11\x12\x13\x14\x15\x16\x17\x18"
31785 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
31786 "\x21\x22\x23\x24\x25\x26\x27\x28"
31787 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
31788 "\x31\x32\x33\x34\x35\x36\x37\x38"
31789 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
31790 "\x41\x42\x43\x44\x45\x46\x47\x48"
31791 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
31792 "\x51\x52\x53\x54\x55\x56\x57\x58"
31793 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
31794 "\x61\x62\x63\x64\x65\x66\x67\x68"
31795 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
31796 "\x71\x72\x73\x74\x75\x76\x77\x78"
31797 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
31798 "\x81\x82\x83\x84\x85\x86\x87\x88"
31799 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
31800 "\x91\x92\x93\x94\x95\x96\x97\x98"
31801 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
31802 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
31803 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
31804 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
31805 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
31806 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
31807 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
31808 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
31809 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
31810 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
31811 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
31812 .psize = 240,
31813 .digest = "\x75\xd3\xc5\x24",
31814 .np = 2,
31815 .tap = { 31, 209 }
31816 }, {
31817 .key = "\xff\xff\xff\xff",
31818 .ksize = 4,
31819 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
31820 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
31821 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
31822 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
31823 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
31824 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
31825 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
31826 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
31827 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
31828 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
31829 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
31830 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
31831 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
31832 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
31833 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
31834 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
31835 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
31836 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
31837 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
31838 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
31839 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
31840 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
31841 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
31842 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
31843 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
31844 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
31845 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
31846 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
31847 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
31848 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
31849 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
31850 "\x47\xde\x75\x0c\x80\x17\xae\x22"
31851 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
31852 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
31853 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
31854 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
31855 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
31856 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
31857 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
31858 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
31859 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
31860 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
31861 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
31862 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
31863 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
31864 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
31865 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
31866 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
31867 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
31868 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
31869 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
31870 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
31871 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
31872 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
31873 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
31874 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
31875 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
31876 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
31877 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
31878 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
31879 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
31880 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
31881 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
31882 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
31883 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
31884 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
31885 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
31886 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
31887 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
31888 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
31889 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
31890 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
31891 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
31892 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
31893 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
31894 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
31895 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
31896 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
31897 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
31898 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
31899 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
31900 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
31901 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
31902 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
31903 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
31904 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
31905 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
31906 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
31907 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
31908 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
31909 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
31910 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
31911 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
31912 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
31913 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
31914 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
31915 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
31916 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
31917 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
31918 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
31919 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
31920 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
31921 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
31922 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
31923 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
31924 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
31925 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
31926 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
31927 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
31928 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
31929 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
31930 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
31931 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
31932 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
31933 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
31934 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
31935 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
31936 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
31937 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
31938 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
31939 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
31940 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
31941 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
31942 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
31943 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
31944 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
31945 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
31946 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
31947 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
31948 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
31949 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
31950 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
31951 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
31952 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
31953 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
31954 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
31955 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
31956 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
31957 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
31958 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
31959 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
31960 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
31961 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
31962 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
31963 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
31964 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
31965 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
31966 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
31967 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
31968 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
31969 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
31970 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
31971 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
31972 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
31973 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
31974 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
31975 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
31976 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
31977 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
31978 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
31979 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
31980 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
31981 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
31982 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
31983 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
31984 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
31985 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
31986 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
31987 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
31988 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
31989 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
31990 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
31991 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
31992 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
31993 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
31994 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
31995 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
31996 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
31997 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
31998 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
31999 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
32000 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
32001 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
32002 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
32003 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
32004 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
32005 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
32006 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
32007 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
32008 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
32009 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
32010 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
32011 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
32012 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
32013 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
32014 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
32015 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
32016 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
32017 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
32018 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
32019 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
32020 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
32021 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
32022 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
32023 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
32024 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
32025 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
32026 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
32027 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
32028 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
32029 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
32030 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
32031 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
32032 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
32033 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
32034 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
32035 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
32036 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
32037 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
32038 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
32039 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
32040 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
32041 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
32042 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
32043 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
32044 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
32045 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
32046 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
32047 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
32048 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
32049 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
32050 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
32051 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
32052 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
32053 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
32054 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
32055 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
32056 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
32057 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
32058 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
32059 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
32060 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
32061 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
32062 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
32063 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
32064 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
32065 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
32066 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
32067 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
32068 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
32069 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
32070 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
32071 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
32072 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
32073 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
32074 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
32075 .psize = 2048,
32076 .digest = "\xec\x26\x4d\x95",
32080 static const struct comp_testvec lz4_comp_tv_template[] = {
32082 .inlen = 255,
32083 .outlen = 218,
32084 .input = "LZ4 is lossless compression algorithm, providing"
32085 " compression speed at 400 MB/s per core, scalable "
32086 "with multi-cores CPU. It features an extremely fast "
32087 "decoder, with speed in multiple GB/s per core, "
32088 "typically reaching RAM speed limits on multi-core "
32089 "systems.",
32090 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
32091 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
32092 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
32093 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
32094 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
32095 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
32096 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
32097 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
32098 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
32099 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
32100 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
32101 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
32102 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
32103 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
32104 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
32105 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
32106 "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
32111 static const struct comp_testvec lz4_decomp_tv_template[] = {
32113 .inlen = 218,
32114 .outlen = 255,
32115 .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
32116 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
32117 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
32118 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
32119 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
32120 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
32121 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
32122 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
32123 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
32124 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
32125 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
32126 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
32127 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
32128 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
32129 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
32130 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
32131 "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
32132 .output = "LZ4 is lossless compression algorithm, providing"
32133 " compression speed at 400 MB/s per core, scalable "
32134 "with multi-cores CPU. It features an extremely fast "
32135 "decoder, with speed in multiple GB/s per core, "
32136 "typically reaching RAM speed limits on multi-core "
32137 "systems.",
32141 static const struct comp_testvec lz4hc_comp_tv_template[] = {
32143 .inlen = 255,
32144 .outlen = 216,
32145 .input = "LZ4 is lossless compression algorithm, providing"
32146 " compression speed at 400 MB/s per core, scalable "
32147 "with multi-cores CPU. It features an extremely fast "
32148 "decoder, with speed in multiple GB/s per core, "
32149 "typically reaching RAM speed limits on multi-core "
32150 "systems.",
32151 .output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
32152 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
32153 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
32154 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
32155 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
32156 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
32157 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
32158 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
32159 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
32160 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
32161 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
32162 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
32163 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
32164 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
32165 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
32166 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
32167 "\x73\x79\x73\x74\x65\x6d\x73\x2e",
32172 static const struct comp_testvec lz4hc_decomp_tv_template[] = {
32174 .inlen = 216,
32175 .outlen = 255,
32176 .input = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
32177 "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
32178 "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
32179 "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
32180 "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
32181 "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
32182 "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
32183 "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
32184 "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
32185 "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
32186 "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
32187 "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
32188 "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
32189 "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
32190 "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
32191 "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
32192 "\x73\x79\x73\x74\x65\x6d\x73\x2e",
32193 .output = "LZ4 is lossless compression algorithm, providing"
32194 " compression speed at 400 MB/s per core, scalable "
32195 "with multi-cores CPU. It features an extremely fast "
32196 "decoder, with speed in multiple GB/s per core, "
32197 "typically reaching RAM speed limits on multi-core "
32198 "systems.",
32202 static const struct comp_testvec zstd_comp_tv_template[] = {
32204 .inlen = 68,
32205 .outlen = 39,
32206 .input = "The algorithm is zstd. "
32207 "The algorithm is zstd. "
32208 "The algorithm is zstd.",
32209 .output = "\x28\xb5\x2f\xfd\x00\x50\xf5\x00\x00\xb8\x54\x68\x65"
32210 "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
32211 "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
32215 .inlen = 244,
32216 .outlen = 151,
32217 .input = "zstd, short for Zstandard, is a fast lossless "
32218 "compression algorithm, targeting real-time "
32219 "compression scenarios at zlib-level and better "
32220 "compression ratios. The zstd compression library "
32221 "provides in-memory compression and decompression "
32222 "functions.",
32223 .output = "\x28\xb5\x2f\xfd\x00\x50\x75\x04\x00\x42\x4b\x1e\x17"
32224 "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
32225 "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
32226 "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
32227 "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
32228 "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
32229 "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
32230 "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
32231 "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
32232 "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
32233 "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
32234 "\x20\xa9\x0e\x82\xb9\x43\x45\x01",
32238 static const struct comp_testvec zstd_decomp_tv_template[] = {
32240 .inlen = 43,
32241 .outlen = 68,
32242 .input = "\x28\xb5\x2f\xfd\x04\x50\xf5\x00\x00\xb8\x54\x68\x65"
32243 "\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d\x20\x69\x73"
32244 "\x20\x7a\x73\x74\x64\x2e\x20\x01\x00\x55\x73\x36\x01"
32245 "\x6b\xf4\x13\x35",
32246 .output = "The algorithm is zstd. "
32247 "The algorithm is zstd. "
32248 "The algorithm is zstd.",
32251 .inlen = 155,
32252 .outlen = 244,
32253 .input = "\x28\xb5\x2f\xfd\x04\x50\x75\x04\x00\x42\x4b\x1e\x17"
32254 "\x90\x81\x31\x00\xf2\x2f\xe4\x36\xc9\xef\x92\x88\x32"
32255 "\xc9\xf2\x24\x94\xd8\x68\x9a\x0f\x00\x0c\xc4\x31\x6f"
32256 "\x0d\x0c\x38\xac\x5c\x48\x03\xcd\x63\x67\xc0\xf3\xad"
32257 "\x4e\x90\xaa\x78\xa0\xa4\xc5\x99\xda\x2f\xb6\x24\x60"
32258 "\xe2\x79\x4b\xaa\xb6\x6b\x85\x0b\xc9\xc6\x04\x66\x86"
32259 "\xe2\xcc\xe2\x25\x3f\x4f\x09\xcd\xb8\x9d\xdb\xc1\x90"
32260 "\xa9\x11\xbc\x35\x44\x69\x2d\x9c\x64\x4f\x13\x31\x64"
32261 "\xcc\xfb\x4d\x95\x93\x86\x7f\x33\x7f\x1a\xef\xe9\x30"
32262 "\xf9\x67\xa1\x94\x0a\x69\x0f\x60\xcd\xc3\xab\x99\xdc"
32263 "\x42\xed\x97\x05\x00\x33\xc3\x15\x95\x3a\x06\xa0\x0e"
32264 "\x20\xa9\x0e\x82\xb9\x43\x45\x01\xaa\x6d\xda\x0d",
32265 .output = "zstd, short for Zstandard, is a fast lossless "
32266 "compression algorithm, targeting real-time "
32267 "compression scenarios at zlib-level and better "
32268 "compression ratios. The zstd compression library "
32269 "provides in-memory compression and decompression "
32270 "functions.",
32273 #endif /* _CRYPTO_TESTMGR_H */