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)
24 #ifndef _CRYPTO_TESTMGR_H
25 #define _CRYPTO_TESTMGR_H
27 #include <linux/netlink.h>
28 #include <linux/zlib.h>
30 #include <crypto/compress.h>
32 #define MAX_DIGEST_SIZE 64
39 /* only used with keyed hash algorithms */
43 unsigned char tap[MAX_TAP];
49 struct cipher_testvec {
54 unsigned short tap[MAX_TAP];
56 unsigned char also_non_np;
58 unsigned char wk; /* weak key flag */
70 unsigned char tap[MAX_TAP];
71 unsigned char atap[MAX_TAP];
75 unsigned char novrfy; /* ccm dec verification failure expected */
76 unsigned char wk; /* weak key flag */
83 struct cprng_testvec {
95 static char zeroed_string[48];
98 * MD4 test vectors from RFC1320
100 #define MD4_TEST_VECTORS 7
102 static struct hash_testvec md4_tv_template [] = {
105 .digest = "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
106 "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
110 .digest = "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
111 "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
115 .digest = "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
116 "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
118 .plaintext = "message digest",
120 .digest = "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
121 "\x18\x87\x48\x06\xe1\xc7\x01\x4b",
123 .plaintext = "abcdefghijklmnopqrstuvwxyz",
125 .digest = "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
126 "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
130 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
132 .digest = "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
133 "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
135 .plaintext = "123456789012345678901234567890123456789012345678901234567890123"
138 .digest = "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
139 "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
144 * MD5 test vectors from RFC1321
146 #define MD5_TEST_VECTORS 7
148 static struct hash_testvec md5_tv_template[] = {
150 .digest = "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
151 "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
155 .digest = "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
156 "\x31\xc3\x99\xe2\x69\x77\x26\x61",
160 .digest = "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
161 "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
163 .plaintext = "message digest",
165 .digest = "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
166 "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
168 .plaintext = "abcdefghijklmnopqrstuvwxyz",
170 .digest = "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
171 "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
175 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
177 .digest = "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
178 "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
180 .plaintext = "12345678901234567890123456789012345678901234567890123456789012"
181 "345678901234567890",
183 .digest = "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
184 "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
190 * RIPEMD-128 test vectors from ISO/IEC 10118-3:2004(E)
192 #define RMD128_TEST_VECTORS 10
194 static struct hash_testvec rmd128_tv_template[] = {
196 .digest = "\xcd\xf2\x62\x13\xa1\x50\xdc\x3e"
197 "\xcb\x61\x0f\x18\xf6\xb3\x8b\x46",
201 .digest = "\x86\xbe\x7a\xfa\x33\x9d\x0f\xc7"
202 "\xcf\xc7\x85\xe7\x2f\x57\x8d\x33",
206 .digest = "\xc1\x4a\x12\x19\x9c\x66\xe4\xba"
207 "\x84\x63\x6b\x0f\x69\x14\x4c\x77",
209 .plaintext = "message digest",
211 .digest = "\x9e\x32\x7b\x3d\x6e\x52\x30\x62"
212 "\xaf\xc1\x13\x2d\x7d\xf9\xd1\xb8",
214 .plaintext = "abcdefghijklmnopqrstuvwxyz",
216 .digest = "\xfd\x2a\xa6\x07\xf7\x1d\xc8\xf5"
217 "\x10\x71\x49\x22\xb3\x71\x83\x4e",
219 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
220 "fghijklmnopqrstuvwxyz0123456789",
222 .digest = "\xd1\xe9\x59\xeb\x17\x9c\x91\x1f"
223 "\xae\xa4\x62\x4c\x60\xc5\xc7\x02",
225 .plaintext = "1234567890123456789012345678901234567890"
226 "1234567890123456789012345678901234567890",
228 .digest = "\x3f\x45\xef\x19\x47\x32\xc2\xdb"
229 "\xb2\xc4\xa2\xc7\x69\x79\x5f\xa3",
231 .plaintext = "abcdbcdecdefdefgefghfghighij"
232 "hijkijkljklmklmnlmnomnopnopq",
234 .digest = "\xa1\xaa\x06\x89\xd0\xfa\xfa\x2d"
235 "\xdc\x22\xe8\x8b\x49\x13\x3a\x06",
239 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
240 "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
241 "lmnopqrsmnopqrstnopqrstu",
243 .digest = "\xd4\xec\xc9\x13\xe1\xdf\x77\x6b"
244 "\xf4\x8d\xe9\xd5\x5b\x1f\x25\x46",
246 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
248 .digest = "\x13\xfc\x13\xe8\xef\xff\x34\x7d"
249 "\xe1\x93\xff\x46\xdb\xac\xcf\xd4",
254 * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
256 #define RMD160_TEST_VECTORS 10
258 static struct hash_testvec rmd160_tv_template[] = {
260 .digest = "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
261 "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
265 .digest = "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
266 "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
270 .digest = "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
271 "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
273 .plaintext = "message digest",
275 .digest = "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
276 "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
278 .plaintext = "abcdefghijklmnopqrstuvwxyz",
280 .digest = "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
281 "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
283 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
284 "fghijklmnopqrstuvwxyz0123456789",
286 .digest = "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
287 "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
289 .plaintext = "1234567890123456789012345678901234567890"
290 "1234567890123456789012345678901234567890",
292 .digest = "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
293 "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
295 .plaintext = "abcdbcdecdefdefgefghfghighij"
296 "hijkijkljklmklmnlmnomnopnopq",
298 .digest = "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
299 "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
303 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
304 "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
305 "lmnopqrsmnopqrstnopqrstu",
307 .digest = "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
308 "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
310 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
312 .digest = "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
313 "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
318 * RIPEMD-256 test vectors
320 #define RMD256_TEST_VECTORS 8
322 static struct hash_testvec rmd256_tv_template[] = {
324 .digest = "\x02\xba\x4c\x4e\x5f\x8e\xcd\x18"
325 "\x77\xfc\x52\xd6\x4d\x30\xe3\x7a"
326 "\x2d\x97\x74\xfb\x1e\x5d\x02\x63"
327 "\x80\xae\x01\x68\xe3\xc5\x52\x2d",
331 .digest = "\xf9\x33\x3e\x45\xd8\x57\xf5\xd9"
332 "\x0a\x91\xba\xb7\x0a\x1e\xba\x0c"
333 "\xfb\x1b\xe4\xb0\x78\x3c\x9a\xcf"
334 "\xcd\x88\x3a\x91\x34\x69\x29\x25",
338 .digest = "\xaf\xbd\x6e\x22\x8b\x9d\x8c\xbb"
339 "\xce\xf5\xca\x2d\x03\xe6\xdb\xa1"
340 "\x0a\xc0\xbc\x7d\xcb\xe4\x68\x0e"
341 "\x1e\x42\xd2\xe9\x75\x45\x9b\x65",
343 .plaintext = "message digest",
345 .digest = "\x87\xe9\x71\x75\x9a\x1c\xe4\x7a"
346 "\x51\x4d\x5c\x91\x4c\x39\x2c\x90"
347 "\x18\xc7\xc4\x6b\xc1\x44\x65\x55"
348 "\x4a\xfc\xdf\x54\xa5\x07\x0c\x0e",
350 .plaintext = "abcdefghijklmnopqrstuvwxyz",
352 .digest = "\x64\x9d\x30\x34\x75\x1e\xa2\x16"
353 "\x77\x6b\xf9\xa1\x8a\xcc\x81\xbc"
354 "\x78\x96\x11\x8a\x51\x97\x96\x87"
355 "\x82\xdd\x1f\xd9\x7d\x8d\x51\x33",
357 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
358 "fghijklmnopqrstuvwxyz0123456789",
360 .digest = "\x57\x40\xa4\x08\xac\x16\xb7\x20"
361 "\xb8\x44\x24\xae\x93\x1c\xbb\x1f"
362 "\xe3\x63\xd1\xd0\xbf\x40\x17\xf1"
363 "\xa8\x9f\x7e\xa6\xde\x77\xa0\xb8",
365 .plaintext = "1234567890123456789012345678901234567890"
366 "1234567890123456789012345678901234567890",
368 .digest = "\x06\xfd\xcc\x7a\x40\x95\x48\xaa"
369 "\xf9\x13\x68\xc0\x6a\x62\x75\xb5"
370 "\x53\xe3\xf0\x99\xbf\x0e\xa4\xed"
371 "\xfd\x67\x78\xdf\x89\xa8\x90\xdd",
373 .plaintext = "abcdbcdecdefdefgefghfghighij"
374 "hijkijkljklmklmnlmnomnopnopq",
376 .digest = "\x38\x43\x04\x55\x83\xaa\xc6\xc8"
377 "\xc8\xd9\x12\x85\x73\xe7\xa9\x80"
378 "\x9a\xfb\x2a\x0f\x34\xcc\xc3\x6e"
379 "\xa9\xe7\x2f\x16\xf6\x36\x8e\x3f",
386 * RIPEMD-320 test vectors
388 #define RMD320_TEST_VECTORS 8
390 static struct hash_testvec rmd320_tv_template[] = {
392 .digest = "\x22\xd6\x5d\x56\x61\x53\x6c\xdc\x75\xc1"
393 "\xfd\xf5\xc6\xde\x7b\x41\xb9\xf2\x73\x25"
394 "\xeb\xc6\x1e\x85\x57\x17\x7d\x70\x5a\x0e"
395 "\xc8\x80\x15\x1c\x3a\x32\xa0\x08\x99\xb8",
399 .digest = "\xce\x78\x85\x06\x38\xf9\x26\x58\xa5\xa5"
400 "\x85\x09\x75\x79\x92\x6d\xda\x66\x7a\x57"
401 "\x16\x56\x2c\xfc\xf6\xfb\xe7\x7f\x63\x54"
402 "\x2f\x99\xb0\x47\x05\xd6\x97\x0d\xff\x5d",
406 .digest = "\xde\x4c\x01\xb3\x05\x4f\x89\x30\xa7\x9d"
407 "\x09\xae\x73\x8e\x92\x30\x1e\x5a\x17\x08"
408 "\x5b\xef\xfd\xc1\xb8\xd1\x16\x71\x3e\x74"
409 "\xf8\x2f\xa9\x42\xd6\x4c\xdb\xc4\x68\x2d",
411 .plaintext = "message digest",
413 .digest = "\x3a\x8e\x28\x50\x2e\xd4\x5d\x42\x2f\x68"
414 "\x84\x4f\x9d\xd3\x16\xe7\xb9\x85\x33\xfa"
415 "\x3f\x2a\x91\xd2\x9f\x84\xd4\x25\xc8\x8d"
416 "\x6b\x4e\xff\x72\x7d\xf6\x6a\x7c\x01\x97",
418 .plaintext = "abcdefghijklmnopqrstuvwxyz",
420 .digest = "\xca\xbd\xb1\x81\x0b\x92\x47\x0a\x20\x93"
421 "\xaa\x6b\xce\x05\x95\x2c\x28\x34\x8c\xf4"
422 "\x3f\xf6\x08\x41\x97\x51\x66\xbb\x40\xed"
423 "\x23\x40\x04\xb8\x82\x44\x63\xe6\xb0\x09",
425 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
426 "fghijklmnopqrstuvwxyz0123456789",
428 .digest = "\xed\x54\x49\x40\xc8\x6d\x67\xf2\x50\xd2"
429 "\x32\xc3\x0b\x7b\x3e\x57\x70\xe0\xc6\x0c"
430 "\x8c\xb9\xa4\xca\xfe\x3b\x11\x38\x8a\xf9"
431 "\x92\x0e\x1b\x99\x23\x0b\x84\x3c\x86\xa4",
433 .plaintext = "1234567890123456789012345678901234567890"
434 "1234567890123456789012345678901234567890",
436 .digest = "\x55\x78\x88\xaf\x5f\x6d\x8e\xd6\x2a\xb6"
437 "\x69\x45\xc6\xd2\xa0\xa4\x7e\xcd\x53\x41"
438 "\xe9\x15\xeb\x8f\xea\x1d\x05\x24\x95\x5f"
439 "\x82\x5d\xc7\x17\xe4\xa0\x08\xab\x2d\x42",
441 .plaintext = "abcdbcdecdefdefgefghfghighij"
442 "hijkijkljklmklmnlmnomnopnopq",
444 .digest = "\xd0\x34\xa7\x95\x0c\xf7\x22\x02\x1b\xa4"
445 "\xb8\x4d\xf7\x69\xa5\xde\x20\x60\xe2\x59"
446 "\xdf\x4c\x9b\xb4\xa4\x26\x8c\x0e\x93\x5b"
447 "\xbc\x74\x70\xa9\x69\xc9\xd0\x72\xa1\xac",
454 * SHA1 test vectors from from FIPS PUB 180-1
455 * Long vector from CAVS 5.0
457 #define SHA1_TEST_VECTORS 3
459 static struct hash_testvec sha1_tv_template[] = {
463 .digest = "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
464 "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
466 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
468 .digest = "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
469 "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
473 .plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
474 "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
475 "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
476 "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
477 "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
478 "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
479 "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
480 "\x72\x28\x26\xc0\x66\x86\x9e\xda"
481 "\xcd\x73\xb2\x54\x80\x35\x18\x58"
482 "\x13\xe2\x26\x34\xa9\xda\x44\x00"
483 "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
484 "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
485 "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
486 "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
487 "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
488 "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
489 "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
490 "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
491 "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
492 "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
495 .digest = "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
496 "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
498 .tap = { 63, 64, 31, 5 }
504 * SHA224 test vectors from from FIPS PUB 180-2
506 #define SHA224_TEST_VECTORS 2
508 static struct hash_testvec sha224_tv_template[] = {
512 .digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
513 "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
514 "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
518 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
520 .digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
521 "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
522 "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
530 * SHA256 test vectors from from NIST
532 #define SHA256_TEST_VECTORS 2
534 static struct hash_testvec sha256_tv_template[] = {
538 .digest = "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
539 "\x41\x41\x40\xde\x5d\xae\x22\x23"
540 "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
541 "\xb4\x10\xff\x61\xf2\x00\x15\xad",
543 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
545 .digest = "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
546 "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
547 "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
548 "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
555 * SHA384 test vectors from from NIST and kerneli
557 #define SHA384_TEST_VECTORS 4
559 static struct hash_testvec sha384_tv_template[] = {
563 .digest = "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
564 "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
565 "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
566 "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
567 "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
568 "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
570 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
572 .digest = "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
573 "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
574 "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
575 "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
576 "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
577 "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
579 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
580 "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
582 .digest = "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
583 "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
584 "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
585 "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
586 "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
587 "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
589 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
590 "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
592 .digest = "\x3d\x20\x89\x73\xab\x35\x08\xdb"
593 "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
594 "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
595 "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
596 "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
597 "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
599 .tap = { 26, 26, 26, 26 }
604 * SHA512 test vectors from from NIST and kerneli
606 #define SHA512_TEST_VECTORS 4
608 static struct hash_testvec sha512_tv_template[] = {
612 .digest = "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
613 "\xcc\x41\x73\x49\xae\x20\x41\x31"
614 "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
615 "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
616 "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
617 "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
618 "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
619 "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
621 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
623 .digest = "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
624 "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
625 "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
626 "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
627 "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
628 "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
629 "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
630 "\x54\xec\x63\x12\x38\xca\x34\x45",
632 .plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
633 "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
635 .digest = "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
636 "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
637 "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
638 "\x72\x99\xae\xad\xb6\x88\x90\x18"
639 "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
640 "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
641 "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
642 "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
644 .plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
645 "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
647 .digest = "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
648 "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
649 "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
650 "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
651 "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
652 "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
653 "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
654 "\xed\xb4\x19\x87\x23\x28\x50\xc9",
656 .tap = { 26, 26, 26, 26 }
662 * WHIRLPOOL test vectors from Whirlpool package
663 * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
666 #define WP512_TEST_VECTORS 8
668 static struct hash_testvec wp512_tv_template[] = {
672 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
673 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
674 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
675 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
676 "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
677 "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
678 "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
679 "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
685 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
686 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
687 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
688 "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
689 "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
690 "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
691 "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
692 "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
696 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
697 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
698 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
699 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
700 "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
701 "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
702 "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
703 "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
705 .plaintext = "message digest",
707 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
708 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
709 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
710 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
711 "\x84\x21\x55\x76\x59\xEF\x55\xC1"
712 "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
713 "\x92\xED\x92\x00\x52\x83\x8F\x33"
714 "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
716 .plaintext = "abcdefghijklmnopqrstuvwxyz",
718 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
719 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
720 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
721 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
722 "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
723 "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
724 "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
725 "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
727 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
728 "abcdefghijklmnopqrstuvwxyz0123456789",
730 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
731 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
732 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
733 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
734 "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
735 "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
736 "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
737 "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
739 .plaintext = "1234567890123456789012345678901234567890"
740 "1234567890123456789012345678901234567890",
742 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
743 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
744 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
745 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
746 "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
747 "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
748 "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
749 "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
751 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
753 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
754 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
755 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
756 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
757 "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
758 "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
759 "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
760 "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
764 #define WP384_TEST_VECTORS 8
766 static struct hash_testvec wp384_tv_template[] = {
770 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
771 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
772 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
773 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
774 "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
775 "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
781 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
782 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
783 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
784 "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
785 "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
786 "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
790 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
791 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
792 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
793 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
794 "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
795 "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
797 .plaintext = "message digest",
799 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
800 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
801 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
802 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
803 "\x84\x21\x55\x76\x59\xEF\x55\xC1"
804 "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
806 .plaintext = "abcdefghijklmnopqrstuvwxyz",
808 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
809 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
810 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
811 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
812 "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
813 "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
815 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
816 "abcdefghijklmnopqrstuvwxyz0123456789",
818 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
819 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
820 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
821 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
822 "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
823 "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
825 .plaintext = "1234567890123456789012345678901234567890"
826 "1234567890123456789012345678901234567890",
828 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
829 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
830 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
831 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
832 "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
833 "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
835 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
837 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
838 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
839 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
840 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
841 "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
842 "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
846 #define WP256_TEST_VECTORS 8
848 static struct hash_testvec wp256_tv_template[] = {
852 .digest = "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
853 "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
854 "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
855 "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
861 .digest = "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
862 "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
863 "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
864 "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
868 .digest = "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
869 "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
870 "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
871 "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
873 .plaintext = "message digest",
875 .digest = "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
876 "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
877 "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
878 "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
880 .plaintext = "abcdefghijklmnopqrstuvwxyz",
882 .digest = "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
883 "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
884 "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
885 "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
887 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
888 "abcdefghijklmnopqrstuvwxyz0123456789",
890 .digest = "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
891 "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
892 "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
893 "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
895 .plaintext = "1234567890123456789012345678901234567890"
896 "1234567890123456789012345678901234567890",
898 .digest = "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
899 "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
900 "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
901 "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
903 .plaintext = "abcdbcdecdefdefgefghfghighijhijk",
905 .digest = "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
906 "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
907 "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
908 "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
913 * TIGER test vectors from Tiger website
915 #define TGR192_TEST_VECTORS 6
917 static struct hash_testvec tgr192_tv_template[] = {
921 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
922 "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
923 "\xf3\x73\xde\x2d\x49\x58\x4e\x7a",
927 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
928 "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
929 "\x93\x5f\x7b\x95\x1c\x13\x29\x51",
931 .plaintext = "Tiger",
933 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
934 "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
935 "\x37\x79\x0c\x11\x6f\x9d\x2b\xdf",
937 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
939 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
940 "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
941 "\xb5\x86\x44\x50\x34\xa5\xa3\x86",
943 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
945 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
946 "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
947 "\x57\x89\x65\x65\x97\x5f\x91\x97",
949 .plaintext = "Tiger - A Fast New Hash Function, "
950 "by Ross Anderson and Eli Biham, "
951 "proceedings of Fast Software Encryption 3, "
954 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
955 "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
956 "\xdd\x68\x15\x1d\x50\x39\x74\xfc",
960 #define TGR160_TEST_VECTORS 6
962 static struct hash_testvec tgr160_tv_template[] = {
966 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
967 "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
972 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
973 "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
976 .plaintext = "Tiger",
978 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
979 "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
982 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
984 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
985 "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
988 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
990 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
991 "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
994 .plaintext = "Tiger - A Fast New Hash Function, "
995 "by Ross Anderson and Eli Biham, "
996 "proceedings of Fast Software Encryption 3, "
999 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
1000 "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
1005 #define TGR128_TEST_VECTORS 6
1007 static struct hash_testvec tgr128_tv_template[] = {
1011 .digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
1012 "\x16\x16\x6e\x76\xb1\xbb\x92\x5f",
1016 .digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
1017 "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf",
1019 .plaintext = "Tiger",
1021 .digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
1022 "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec",
1024 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1026 .digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
1027 "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e",
1029 .plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
1031 .digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
1032 "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9",
1034 .plaintext = "Tiger - A Fast New Hash Function, "
1035 "by Ross Anderson and Eli Biham, "
1036 "proceedings of Fast Software Encryption 3, "
1039 .digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
1040 "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24",
1044 #define GHASH_TEST_VECTORS 1
1046 static struct hash_testvec ghash_tv_template[] =
1050 .key = "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03\xff\xca\xff\x95\xf8\x30\xf0\x61",
1052 .plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
1054 .digest = "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
1055 "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
1060 * HMAC-MD5 test vectors from RFC2202
1061 * (These need to be fixed to not use strlen).
1063 #define HMAC_MD5_TEST_VECTORS 7
1065 static struct hash_testvec hmac_md5_tv_template[] =
1068 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
1070 .plaintext = "Hi There",
1072 .digest = "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
1073 "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
1077 .plaintext = "what do ya want for nothing?",
1079 .digest = "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
1080 "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
1084 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
1086 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1087 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1088 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1089 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
1091 .digest = "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
1092 "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
1094 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
1095 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
1096 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
1098 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1099 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1100 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1101 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
1103 .digest = "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
1104 "\x3a\x75\x16\x47\x46\xff\xaa\x79",
1106 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
1108 .plaintext = "Test With Truncation",
1110 .digest = "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
1111 "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
1113 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1114 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1115 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1116 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1117 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1118 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1121 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
1123 .digest = "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
1124 "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
1126 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1127 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1128 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1129 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1130 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1131 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1134 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
1137 .digest = "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
1138 "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
1143 * HMAC-RIPEMD128 test vectors from RFC2286
1145 #define HMAC_RMD128_TEST_VECTORS 7
1147 static struct hash_testvec hmac_rmd128_tv_template[] = {
1149 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
1151 .plaintext = "Hi There",
1153 .digest = "\xfb\xf6\x1f\x94\x92\xaa\x4b\xbf"
1154 "\x81\xc1\x72\xe8\x4e\x07\x34\xdb",
1158 .plaintext = "what do ya want for nothing?",
1160 .digest = "\x87\x5f\x82\x88\x62\xb6\xb3\x34"
1161 "\xb4\x27\xc5\x5f\x9f\x7f\xf0\x9b",
1165 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
1167 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1168 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1169 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1170 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
1172 .digest = "\x09\xf0\xb2\x84\x6d\x2f\x54\x3d"
1173 "\xa3\x63\xcb\xec\x8d\x62\xa3\x8d",
1175 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
1176 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
1177 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
1179 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1180 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1181 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1182 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
1184 .digest = "\xbd\xbb\xd7\xcf\x03\xe4\x4b\x5a"
1185 "\xa6\x0a\xf8\x15\xbe\x4d\x22\x94",
1187 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
1189 .plaintext = "Test With Truncation",
1191 .digest = "\xe7\x98\x08\xf2\x4b\x25\xfd\x03"
1192 "\x1c\x15\x5f\x0d\x55\x1d\x9a\x3a",
1194 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1195 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1196 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1197 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1198 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1199 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1202 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
1204 .digest = "\xdc\x73\x29\x28\xde\x98\x10\x4a"
1205 "\x1f\x59\xd3\x73\xc1\x50\xac\xbb",
1207 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1208 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1209 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1210 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1211 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1212 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1215 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
1218 .digest = "\x5c\x6b\xec\x96\x79\x3e\x16\xd4"
1219 "\x06\x90\xc2\x37\x63\x5f\x30\xc5",
1224 * HMAC-RIPEMD160 test vectors from RFC2286
1226 #define HMAC_RMD160_TEST_VECTORS 7
1228 static struct hash_testvec hmac_rmd160_tv_template[] = {
1230 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
1232 .plaintext = "Hi There",
1234 .digest = "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
1235 "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
1239 .plaintext = "what do ya want for nothing?",
1241 .digest = "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
1242 "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
1246 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
1248 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1249 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1250 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1251 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
1253 .digest = "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
1254 "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
1256 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
1257 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
1258 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
1260 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1261 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1262 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1263 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
1265 .digest = "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
1266 "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
1268 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
1270 .plaintext = "Test With Truncation",
1272 .digest = "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
1273 "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
1275 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1276 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1277 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1278 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1279 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1280 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1283 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
1285 .digest = "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
1286 "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
1288 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1289 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1290 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1291 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1292 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1293 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1296 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
1299 .digest = "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
1300 "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
1305 * HMAC-SHA1 test vectors from RFC2202
1307 #define HMAC_SHA1_TEST_VECTORS 7
1309 static struct hash_testvec hmac_sha1_tv_template[] = {
1311 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
1313 .plaintext = "Hi There",
1315 .digest = "\xb6\x17\x31\x86\x55\x05\x72\x64"
1316 "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
1321 .plaintext = "what do ya want for nothing?",
1323 .digest = "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
1324 "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
1328 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
1330 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1331 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1332 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1333 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
1335 .digest = "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
1336 "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
1338 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
1339 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
1340 "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
1342 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1343 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1344 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1345 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
1347 .digest = "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
1348 "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
1350 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
1352 .plaintext = "Test With Truncation",
1354 .digest = "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
1355 "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
1357 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1358 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1359 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1360 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1361 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1362 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1365 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
1367 .digest = "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
1368 "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
1370 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1371 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1372 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1373 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1374 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1375 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1378 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
1381 .digest = "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
1382 "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
1388 * SHA224 HMAC test vectors from RFC4231
1390 #define HMAC_SHA224_TEST_VECTORS 4
1392 static struct hash_testvec hmac_sha224_tv_template[] = {
1394 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
1395 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
1399 .plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
1401 .digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
1402 "\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
1403 "\x47\xb4\xb1\x16\x99\x12\xba\x4f"
1408 /* ("what do ya want for nothing?") */
1409 .plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
1410 "\x79\x61\x20\x77\x61\x6e\x74\x20"
1411 "\x66\x6f\x72\x20\x6e\x6f\x74\x68"
1414 .digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
1415 "\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
1416 "\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
1419 .tap = { 7, 7, 7, 7 }
1421 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1422 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1423 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1424 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1425 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1426 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1427 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1428 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1429 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1430 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1431 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1432 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1433 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1434 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1435 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1436 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1439 /* ("Test Using Larger Than Block-Size Key - Hash Key First") */
1440 .plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
1441 "\x6e\x67\x20\x4c\x61\x72\x67\x65"
1442 "\x72\x20\x54\x68\x61\x6e\x20\x42"
1443 "\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
1444 "\x65\x20\x4b\x65\x79\x20\x2d\x20"
1445 "\x48\x61\x73\x68\x20\x4b\x65\x79"
1446 "\x20\x46\x69\x72\x73\x74",
1448 .digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
1449 "\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
1450 "\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
1453 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1454 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1455 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1456 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1457 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1458 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1459 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1460 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1461 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1462 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1463 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1464 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1465 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1466 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1467 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1468 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1471 /* ("This is a test using a larger than block-size key and a")
1472 (" larger than block-size data. The key needs to be")
1473 (" hashed before being used by the HMAC algorithm.") */
1474 .plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
1475 "\x61\x20\x74\x65\x73\x74\x20\x75"
1476 "\x73\x69\x6e\x67\x20\x61\x20\x6c"
1477 "\x61\x72\x67\x65\x72\x20\x74\x68"
1478 "\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
1479 "\x2d\x73\x69\x7a\x65\x20\x6b\x65"
1480 "\x79\x20\x61\x6e\x64\x20\x61\x20"
1481 "\x6c\x61\x72\x67\x65\x72\x20\x74"
1482 "\x68\x61\x6e\x20\x62\x6c\x6f\x63"
1483 "\x6b\x2d\x73\x69\x7a\x65\x20\x64"
1484 "\x61\x74\x61\x2e\x20\x54\x68\x65"
1485 "\x20\x6b\x65\x79\x20\x6e\x65\x65"
1486 "\x64\x73\x20\x74\x6f\x20\x62\x65"
1487 "\x20\x68\x61\x73\x68\x65\x64\x20"
1488 "\x62\x65\x66\x6f\x72\x65\x20\x62"
1489 "\x65\x69\x6e\x67\x20\x75\x73\x65"
1490 "\x64\x20\x62\x79\x20\x74\x68\x65"
1491 "\x20\x48\x4d\x41\x43\x20\x61\x6c"
1492 "\x67\x6f\x72\x69\x74\x68\x6d\x2e",
1494 .digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
1495 "\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
1496 "\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
1502 * HMAC-SHA256 test vectors from
1503 * draft-ietf-ipsec-ciph-sha-256-01.txt
1505 #define HMAC_SHA256_TEST_VECTORS 10
1507 static struct hash_testvec hmac_sha256_tv_template[] = {
1509 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
1510 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
1511 "\x11\x12\x13\x14\x15\x16\x17\x18"
1512 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
1516 .digest = "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
1517 "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
1518 "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
1519 "\x92\x75\x90\x21\xcf\xab\x81\x81",
1521 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
1522 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
1523 "\x11\x12\x13\x14\x15\x16\x17\x18"
1524 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
1526 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1528 .digest = "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
1529 "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
1530 "\xe6\x98\xe3\x61\x19\x42\x11\x49"
1531 "\xea\x8c\x71\x24\x56\x69\x7d\x30",
1533 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
1534 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
1535 "\x11\x12\x13\x14\x15\x16\x17\x18"
1536 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
1538 .plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
1539 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1541 .digest = "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
1542 "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
1543 "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
1544 "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
1546 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
1547 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
1548 "\x0b\x0b\x0b\x0b\x0b\x0b",
1550 .plaintext = "Hi There",
1552 .digest = "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
1553 "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
1554 "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
1555 "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
1559 .plaintext = "what do ya want for nothing?",
1561 .digest = "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
1562 "\x6a\x04\x24\x26\x08\x95\x75\xc7"
1563 "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
1564 "\x9d\xec\x58\xb9\x64\xec\x38\x43",
1568 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1569 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1570 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
1572 .plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1573 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1574 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
1575 "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
1577 .digest = "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
1578 "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
1579 "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
1580 "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
1582 .key = "\x01\x02\x03\x04\x05\x06\x07\x08"
1583 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
1584 "\x11\x12\x13\x14\x15\x16\x17\x18"
1585 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
1586 "\x21\x22\x23\x24\x25",
1588 .plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1589 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1590 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
1591 "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
1593 .digest = "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
1594 "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
1595 "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
1596 "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
1598 .key = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
1599 "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
1600 "\x0c\x0c\x0c\x0c\x0c\x0c",
1602 .plaintext = "Test With Truncation",
1604 .digest = "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
1605 "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
1606 "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
1607 "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
1609 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1610 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1611 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1612 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1613 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1614 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1617 .plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
1619 .digest = "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
1620 "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
1621 "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
1622 "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
1624 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1625 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1626 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1627 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1628 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1629 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1632 .plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
1633 "One Block-Size Data",
1635 .digest = "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
1636 "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
1637 "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
1638 "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
1642 #define CMAC_AES_TEST_VECTORS 6
1644 static struct hash_testvec aes_cmac128_tv_template[] = {
1645 { /* From NIST Special Publication 800-38B, AES-128 */
1646 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
1647 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
1648 .plaintext = zeroed_string,
1649 .digest = "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
1650 "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
1654 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
1655 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
1656 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
1657 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
1658 .digest = "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
1659 "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
1663 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
1664 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
1665 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
1666 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
1667 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
1668 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
1669 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
1670 .digest = "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
1671 "\x30\xca\x32\x61\x14\x97\xc8\x27",
1675 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
1676 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
1677 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
1678 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
1679 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
1680 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
1681 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
1682 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
1683 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
1684 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
1685 .digest = "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
1686 "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
1689 }, { /* From NIST Special Publication 800-38B, AES-256 */
1690 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
1691 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
1692 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
1693 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
1694 .plaintext = zeroed_string,
1695 .digest = "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
1696 "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
1700 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
1701 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
1702 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
1703 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
1704 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
1705 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
1706 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
1707 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
1708 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
1709 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
1710 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
1711 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
1712 .digest = "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
1713 "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
1719 #define CMAC_DES3_EDE_TEST_VECTORS 4
1721 static struct hash_testvec des3_ede_cmac64_tv_template[] = {
1723 * From NIST Special Publication 800-38B, Three Key TDEA
1724 * Corrected test vectors from:
1725 * http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
1728 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
1729 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
1730 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
1731 .plaintext = zeroed_string,
1732 .digest = "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
1736 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
1737 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
1738 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
1739 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
1740 .digest = "\x8e\x8f\x29\x31\x36\x28\x37\x97",
1744 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
1745 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
1746 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
1747 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
1748 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
1750 .digest = "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
1754 .key = "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
1755 "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
1756 "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
1757 .plaintext = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
1758 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
1759 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
1760 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
1761 .digest = "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
1767 #define XCBC_AES_TEST_VECTORS 6
1769 static struct hash_testvec aes_xcbc128_tv_template[] = {
1771 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
1772 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
1773 .plaintext = zeroed_string,
1774 .digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
1775 "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
1779 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
1780 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
1781 .plaintext = "\x00\x01\x02",
1782 .digest = "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
1783 "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
1787 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
1788 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
1789 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
1790 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
1791 .digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
1792 "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
1796 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
1797 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
1798 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
1799 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
1801 .digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
1802 "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
1808 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
1809 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
1810 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
1811 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
1812 "\x10\x11\x12\x13\x14\x15\x16\x17"
1813 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
1814 .digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
1815 "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
1819 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
1820 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
1821 .plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
1822 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
1823 "\x10\x11\x12\x13\x14\x15\x16\x17"
1824 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
1826 .digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
1827 "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
1835 #define VMAC_AES_TEST_VECTORS 11
1836 static char vmac_string1[128] = {'\x01', '\x01', '\x01', '\x01',
1837 '\x02', '\x03', '\x02', '\x02',
1838 '\x02', '\x04', '\x01', '\x07',
1839 '\x04', '\x01', '\x04', '\x03',};
1840 static char vmac_string2[128] = {'a', 'b', 'c',};
1841 static char vmac_string3[128] = {'a', 'b', 'c', 'a', 'b', 'c',
1842 'a', 'b', 'c', 'a', 'b', 'c',
1843 'a', 'b', 'c', 'a', 'b', 'c',
1844 'a', 'b', 'c', 'a', 'b', 'c',
1845 'a', 'b', 'c', 'a', 'b', 'c',
1846 'a', 'b', 'c', 'a', 'b', 'c',
1847 'a', 'b', 'c', 'a', 'b', 'c',
1848 'a', 'b', 'c', 'a', 'b', 'c',
1851 static char vmac_string4[17] = {'b', 'c', 'e', 'f',
1854 't', 'u', 'w', 'x', 'z'};
1856 static char vmac_string5[127] = {'r', 'm', 'b', 't', 'c',
1857 'o', 'l', 'k', ']', '%',
1858 '9', '2', '7', '!', 'A'};
1860 static char vmac_string6[129] = {'p', 't', '*', '7', 'l',
1861 'i', '!', '#', 'w', '0',
1862 'z', '/', '4', 'A', 'n'};
1864 static struct hash_testvec aes_vmac128_tv_template[] = {
1866 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
1867 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
1869 .digest = "\x07\x58\x80\x35\x77\xa4\x7b\x54",
1873 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
1874 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
1875 .plaintext = vmac_string1,
1876 .digest = "\xce\xf5\x3c\xd3\xae\x68\x8c\xa1",
1880 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
1881 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
1882 .plaintext = vmac_string2,
1883 .digest = "\xc9\x27\xb0\x73\x81\xbd\x14\x2d",
1887 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
1888 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
1889 .plaintext = vmac_string3,
1890 .digest = "\x8d\x1a\x95\x8c\x98\x47\x0b\x19",
1894 .key = "abcdefghijklmnop",
1896 .digest = "\x3b\x89\xa1\x26\x9e\x55\x8f\x84",
1900 .key = "abcdefghijklmnop",
1901 .plaintext = vmac_string1,
1902 .digest = "\xab\x5e\xab\xb0\xf6\x8d\x74\xc2",
1906 .key = "abcdefghijklmnop",
1907 .plaintext = vmac_string2,
1908 .digest = "\x11\x15\x68\x42\x3d\x7b\x09\xdf",
1912 .key = "abcdefghijklmnop",
1913 .plaintext = vmac_string3,
1914 .digest = "\x8b\x32\x8f\xe1\xed\x8f\xfa\xd4",
1918 .key = "a09b5cd!f#07K\x00\x00\x00",
1919 .plaintext = vmac_string4,
1920 .digest = "\xab\xa5\x0f\xea\x42\x4e\xa1\x5f",
1921 .psize = sizeof(vmac_string4),
1924 .key = "a09b5cd!f#07K\x00\x00\x00",
1925 .plaintext = vmac_string5,
1926 .digest = "\x25\x31\x98\xbc\x1d\xe8\x67\x60",
1927 .psize = sizeof(vmac_string5),
1930 .key = "a09b5cd!f#07K\x00\x00\x00",
1931 .plaintext = vmac_string6,
1932 .digest = "\xc4\xae\x9b\x47\x95\x65\xeb\x41",
1933 .psize = sizeof(vmac_string6),
1939 * SHA384 HMAC test vectors from RFC4231
1942 #define HMAC_SHA384_TEST_VECTORS 4
1944 static struct hash_testvec hmac_sha384_tv_template[] = {
1946 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
1947 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
1950 .plaintext = "Hi There",
1952 .digest = "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
1953 "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
1954 "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
1955 "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
1956 "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
1957 "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
1961 .plaintext = "what do ya want for nothing?",
1963 .digest = "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
1964 "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
1965 "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
1966 "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
1967 "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
1968 "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
1970 .tap = { 7, 7, 7, 7 }
1972 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1973 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1974 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1975 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1976 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1977 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1978 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1979 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1980 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1981 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1982 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1983 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1984 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1985 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1986 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1987 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
1990 .plaintext = "Test Using Larger Than Block-Siz"
1991 "e Key - Hash Key First",
1993 .digest = "\x4e\xce\x08\x44\x85\x81\x3e\x90"
1994 "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
1995 "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
1996 "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
1997 "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
1998 "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
2000 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2001 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2002 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2003 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2004 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2005 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2006 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2007 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2008 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2009 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2010 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2011 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2012 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2013 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2014 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2015 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2018 .plaintext = "This is a test u"
2029 .digest = "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
2030 "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
2031 "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
2032 "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
2033 "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
2034 "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
2039 * SHA512 HMAC test vectors from RFC4231
2042 #define HMAC_SHA512_TEST_VECTORS 4
2044 static struct hash_testvec hmac_sha512_tv_template[] = {
2046 .key = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
2047 "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
2050 .plaintext = "Hi There",
2052 .digest = "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
2053 "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
2054 "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
2055 "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
2056 "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
2057 "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
2058 "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
2059 "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
2063 .plaintext = "what do ya want for nothing?",
2065 .digest = "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
2066 "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
2067 "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
2068 "\x10\x27\x0c\xd7\xea\x25\x05\x54"
2069 "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
2070 "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
2071 "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
2072 "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
2074 .tap = { 7, 7, 7, 7 }
2076 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2077 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2078 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2079 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2080 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2081 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2082 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2083 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2084 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2085 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2086 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2087 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2088 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2089 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2090 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2091 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2094 .plaintext = "Test Using Large"
2099 .digest = "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
2100 "\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
2101 "\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
2102 "\x12\x1b\x01\x37\x83\xf8\xf3\x52"
2103 "\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
2104 "\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
2105 "\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
2106 "\x8b\x91\x5a\x98\x5d\x78\x65\x98",
2108 .key = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2109 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2110 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2111 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2112 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2113 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2114 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2115 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2116 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2117 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2118 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2119 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2120 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2121 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2122 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2123 "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2138 .digest = "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
2139 "\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
2140 "\xde\xbd\x71\xf8\x86\x72\x89\x86"
2141 "\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
2142 "\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
2143 "\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
2144 "\x13\x46\x76\xfb\x6d\xe0\x44\x60"
2145 "\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
2152 #define DES_ENC_TEST_VECTORS 11
2153 #define DES_DEC_TEST_VECTORS 5
2154 #define DES_CBC_ENC_TEST_VECTORS 6
2155 #define DES_CBC_DEC_TEST_VECTORS 5
2156 #define DES_CTR_ENC_TEST_VECTORS 2
2157 #define DES_CTR_DEC_TEST_VECTORS 2
2158 #define DES3_EDE_ENC_TEST_VECTORS 4
2159 #define DES3_EDE_DEC_TEST_VECTORS 4
2160 #define DES3_EDE_CBC_ENC_TEST_VECTORS 2
2161 #define DES3_EDE_CBC_DEC_TEST_VECTORS 2
2162 #define DES3_EDE_CTR_ENC_TEST_VECTORS 2
2163 #define DES3_EDE_CTR_DEC_TEST_VECTORS 2
2165 static struct cipher_testvec des_enc_tv_template[] = {
2166 { /* From Applied Cryptography */
2167 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2169 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
2171 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
2173 }, { /* Same key, different plaintext block */
2174 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2176 .input = "\x22\x33\x44\x55\x66\x77\x88\x99",
2178 .result = "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
2180 }, { /* Sbox test from NBS */
2181 .key = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
2183 .input = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
2185 .result = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
2187 }, { /* Three blocks */
2188 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2190 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
2191 "\x22\x33\x44\x55\x66\x77\x88\x99"
2192 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
2194 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
2195 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
2196 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
2201 .key = "\x01\x01\x01\x01\x01\x01\x01\x01",
2203 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
2205 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
2207 }, { /* Two blocks -- for testing encryption across pages */
2208 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2210 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
2211 "\x22\x33\x44\x55\x66\x77\x88\x99",
2213 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
2214 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
2218 }, { /* Four blocks -- for testing encryption with chunking */
2219 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2221 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
2222 "\x22\x33\x44\x55\x66\x77\x88\x99"
2223 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
2224 "\x22\x33\x44\x55\x66\x77\x88\x99",
2226 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
2227 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
2228 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
2229 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
2232 .tap = { 14, 10, 8 }
2234 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2236 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
2237 "\x22\x33\x44\x55\x66\x77\x88\x99"
2238 "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
2240 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
2241 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
2242 "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
2245 .tap = { 2, 1, 3, 18 }
2247 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2249 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
2250 "\x22\x33\x44\x55\x66\x77\x88\x99",
2252 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
2253 "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
2256 .tap = { 2, 2, 2, 2, 8 }
2258 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2260 .input = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
2262 .result = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
2265 .tap = { 1, 1, 1, 1, 1, 1, 1, 1 }
2266 }, { /* Generated with Crypto++ */
2267 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
2269 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
2270 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
2271 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
2272 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
2273 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
2274 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
2275 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
2276 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
2277 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
2278 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
2279 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
2280 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
2281 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
2282 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
2283 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
2284 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
2285 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
2286 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
2287 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
2288 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
2289 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
2290 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
2291 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
2292 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
2293 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
2294 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
2295 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
2296 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
2297 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
2298 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
2299 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
2301 .result = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
2302 "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
2303 "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
2304 "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
2305 "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
2306 "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
2307 "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
2308 "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
2309 "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
2310 "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
2311 "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
2312 "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
2313 "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
2314 "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
2315 "\x2E\x51\x16\xCA\x09\x89\x54\x62"
2316 "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
2317 "\x62\xF0\x02\x58\x83\xAF\x30\x87"
2318 "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
2319 "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
2320 "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
2321 "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
2322 "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
2323 "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
2324 "\xE9\x95\x61\x74\x12\xED\x07\xD7"
2325 "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
2326 "\x51\x96\x16\xF7\x94\x61\xB8\x87"
2327 "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
2328 "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
2329 "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
2330 "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
2331 "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
2335 .tap = { 248 - 8, 8 },
2339 static struct cipher_testvec des_dec_tv_template[] = {
2340 { /* From Applied Cryptography */
2341 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2343 .input = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
2345 .result = "\x01\x23\x45\x67\x89\xab\xcd\xe7",
2347 }, { /* Sbox test from NBS */
2348 .key = "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
2350 .input = "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
2352 .result = "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
2354 }, { /* Two blocks, for chunking test */
2355 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2357 .input = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
2358 "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
2360 .result = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
2361 "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
2366 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2368 .input = "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
2369 "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
2371 .result = "\x01\x23\x45\x67\x89\xab\xcd\xe7"
2372 "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
2376 }, { /* Generated with Crypto++ */
2377 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
2379 .input = "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
2380 "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
2381 "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
2382 "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
2383 "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
2384 "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
2385 "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
2386 "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
2387 "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
2388 "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
2389 "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
2390 "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
2391 "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
2392 "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
2393 "\x2E\x51\x16\xCA\x09\x89\x54\x62"
2394 "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
2395 "\x62\xF0\x02\x58\x83\xAF\x30\x87"
2396 "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
2397 "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
2398 "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
2399 "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
2400 "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
2401 "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
2402 "\xE9\x95\x61\x74\x12\xED\x07\xD7"
2403 "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
2404 "\x51\x96\x16\xF7\x94\x61\xB8\x87"
2405 "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
2406 "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
2407 "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
2408 "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
2409 "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
2411 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
2412 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
2413 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
2414 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
2415 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
2416 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
2417 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
2418 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
2419 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
2420 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
2421 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
2422 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
2423 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
2424 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
2425 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
2426 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
2427 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
2428 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
2429 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
2430 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
2431 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
2432 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
2433 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
2434 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
2435 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
2436 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
2437 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
2438 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
2439 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
2440 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
2441 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
2445 .tap = { 248 - 8, 8 },
2449 static struct cipher_testvec des_cbc_enc_tv_template[] = {
2450 { /* From OpenSSL */
2451 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2453 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
2454 .input = "\x37\x36\x35\x34\x33\x32\x31\x20"
2455 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
2456 "\x68\x65\x20\x74\x69\x6d\x65\x20",
2458 .result = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
2459 "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
2460 "\x46\x8e\x91\x15\x78\x88\xba\x68",
2462 }, { /* FIPS Pub 81 */
2463 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2465 .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef",
2466 .input = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
2468 .result = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
2471 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2473 .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
2474 .input = "\x68\x65\x20\x74\x69\x6d\x65\x20",
2476 .result = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
2479 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2481 .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
2482 .input = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
2484 .result = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
2486 }, { /* Copy of openssl vector for chunk testing */
2488 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2490 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
2491 .input = "\x37\x36\x35\x34\x33\x32\x31\x20"
2492 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
2493 "\x68\x65\x20\x74\x69\x6d\x65\x20",
2495 .result = "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
2496 "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
2497 "\x46\x8e\x91\x15\x78\x88\xba\x68",
2501 }, { /* Generated with Crypto++ */
2502 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
2504 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
2505 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
2506 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
2507 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
2508 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
2509 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
2510 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
2511 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
2512 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
2513 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
2514 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
2515 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
2516 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
2517 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
2518 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
2519 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
2520 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
2521 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
2522 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
2523 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
2524 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
2525 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
2526 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
2527 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
2528 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
2529 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
2530 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
2531 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
2532 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
2533 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
2534 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
2535 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
2537 .result = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
2538 "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
2539 "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
2540 "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
2541 "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
2542 "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
2543 "\x81\x72\x74\xDE\x30\x19\x69\x49"
2544 "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
2545 "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
2546 "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
2547 "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
2548 "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
2549 "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
2550 "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
2551 "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
2552 "\x49\x90\x88\x6A\x09\x8F\x76\x59"
2553 "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
2554 "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
2555 "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
2556 "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
2557 "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
2558 "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
2559 "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
2560 "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
2561 "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
2562 "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
2563 "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
2564 "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
2565 "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
2566 "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
2567 "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
2571 .tap = { 248 - 8, 8 },
2575 static struct cipher_testvec des_cbc_dec_tv_template[] = {
2577 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2579 .iv = "\x12\x34\x56\x78\x90\xab\xcd\xef",
2580 .input = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
2582 .result = "\x4e\x6f\x77\x20\x69\x73\x20\x74",
2585 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2587 .iv = "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
2588 .input = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
2590 .result = "\x68\x65\x20\x74\x69\x6d\x65\x20",
2593 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2595 .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
2596 .input = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
2598 .result = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
2600 }, { /* Copy of above, for chunk testing */
2601 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
2603 .iv = "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
2604 .input = "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
2606 .result = "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
2610 }, { /* Generated with Crypto++ */
2611 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
2613 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
2614 .input = "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
2615 "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
2616 "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
2617 "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
2618 "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
2619 "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
2620 "\x81\x72\x74\xDE\x30\x19\x69\x49"
2621 "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
2622 "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
2623 "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
2624 "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
2625 "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
2626 "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
2627 "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
2628 "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
2629 "\x49\x90\x88\x6A\x09\x8F\x76\x59"
2630 "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
2631 "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
2632 "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
2633 "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
2634 "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
2635 "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
2636 "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
2637 "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
2638 "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
2639 "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
2640 "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
2641 "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
2642 "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
2643 "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
2644 "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
2646 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
2647 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
2648 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
2649 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
2650 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
2651 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
2652 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
2653 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
2654 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
2655 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
2656 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
2657 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
2658 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
2659 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
2660 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
2661 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
2662 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
2663 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
2664 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
2665 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
2666 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
2667 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
2668 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
2669 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
2670 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
2671 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
2672 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
2673 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
2674 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
2675 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
2676 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
2680 .tap = { 248 - 8, 8 },
2684 static struct cipher_testvec des_ctr_enc_tv_template[] = {
2685 { /* Generated with Crypto++ */
2686 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
2688 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
2689 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
2690 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
2691 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
2692 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
2693 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
2694 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
2695 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
2696 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
2697 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
2698 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
2699 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
2700 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
2701 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
2702 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
2703 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
2704 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
2705 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
2706 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
2707 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
2708 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
2709 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
2710 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
2711 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
2712 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
2713 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
2714 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
2715 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
2716 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
2717 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
2718 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
2719 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
2721 .result = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
2722 "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
2723 "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
2724 "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
2725 "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
2726 "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
2727 "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
2728 "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
2729 "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
2730 "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
2731 "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
2732 "\xBE\x4C\x91\x43\x22\x65\x72\x48"
2733 "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
2734 "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
2735 "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
2736 "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
2737 "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
2738 "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
2739 "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
2740 "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
2741 "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
2742 "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
2743 "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
2744 "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
2745 "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
2746 "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
2747 "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
2748 "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
2749 "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
2750 "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
2751 "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
2755 .tap = { 248 - 8, 8 },
2756 }, { /* Generated with Crypto++ */
2757 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
2759 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
2760 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
2761 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
2762 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
2763 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
2764 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
2765 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
2766 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
2767 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
2768 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
2769 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
2770 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
2771 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
2772 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
2773 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
2774 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
2775 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
2776 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
2777 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
2778 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
2779 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
2780 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
2781 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
2782 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
2783 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
2784 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
2785 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
2786 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
2787 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
2788 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
2789 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
2790 "\xC6\x2F\xBB\x24\x8D\x19\x82",
2792 .result = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
2793 "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
2794 "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
2795 "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
2796 "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
2797 "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
2798 "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
2799 "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
2800 "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
2801 "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
2802 "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
2803 "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
2804 "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
2805 "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
2806 "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
2807 "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
2808 "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
2809 "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
2810 "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
2811 "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
2812 "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
2813 "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
2814 "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
2815 "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
2816 "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
2817 "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
2818 "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
2819 "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
2820 "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
2821 "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
2822 "\x91\x45\x05\x3E\x58\xBF\x32",
2826 .tap = { 247 - 8, 8 },
2830 static struct cipher_testvec des_ctr_dec_tv_template[] = {
2831 { /* Generated with Crypto++ */
2832 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
2834 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
2835 .input = "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
2836 "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
2837 "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
2838 "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
2839 "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
2840 "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
2841 "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
2842 "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
2843 "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
2844 "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
2845 "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
2846 "\xBE\x4C\x91\x43\x22\x65\x72\x48"
2847 "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
2848 "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
2849 "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
2850 "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
2851 "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
2852 "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
2853 "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
2854 "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
2855 "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
2856 "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
2857 "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
2858 "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
2859 "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
2860 "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
2861 "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
2862 "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
2863 "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
2864 "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
2865 "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
2867 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
2868 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
2869 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
2870 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
2871 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
2872 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
2873 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
2874 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
2875 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
2876 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
2877 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
2878 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
2879 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
2880 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
2881 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
2882 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
2883 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
2884 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
2885 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
2886 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
2887 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
2888 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
2889 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
2890 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
2891 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
2892 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
2893 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
2894 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
2895 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
2896 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
2897 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
2901 .tap = { 248 - 8, 8 },
2902 }, { /* Generated with Crypto++ */
2903 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
2905 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
2906 .input = "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
2907 "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
2908 "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
2909 "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
2910 "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
2911 "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
2912 "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
2913 "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
2914 "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
2915 "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
2916 "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
2917 "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
2918 "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
2919 "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
2920 "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
2921 "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
2922 "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
2923 "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
2924 "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
2925 "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
2926 "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
2927 "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
2928 "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
2929 "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
2930 "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
2931 "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
2932 "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
2933 "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
2934 "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
2935 "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
2936 "\x91\x45\x05\x3E\x58\xBF\x32",
2938 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
2939 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
2940 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
2941 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
2942 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
2943 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
2944 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
2945 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
2946 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
2947 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
2948 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
2949 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
2950 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
2951 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
2952 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
2953 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
2954 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
2955 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
2956 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
2957 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
2958 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
2959 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
2960 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
2961 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
2962 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
2963 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
2964 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
2965 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
2966 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
2967 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
2968 "\xC6\x2F\xBB\x24\x8D\x19\x82",
2972 .tap = { 247 - 8, 8 },
2976 static struct cipher_testvec des3_ede_enc_tv_template[] = {
2977 { /* These are from openssl */
2978 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
2979 "\x55\x55\x55\x55\x55\x55\x55\x55"
2980 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
2982 .input = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
2984 .result = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
2987 .key = "\x03\x52\x02\x07\x67\x20\x82\x17"
2988 "\x86\x02\x87\x66\x59\x08\x21\x98"
2989 "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
2991 .input = "\x73\x71\x75\x69\x67\x67\x6c\x65",
2993 .result = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
2996 .key = "\x10\x46\x10\x34\x89\x98\x80\x20"
2997 "\x91\x07\xd0\x15\x89\x19\x01\x01"
2998 "\x19\x07\x92\x10\x98\x1a\x01\x01",
3000 .input = "\x00\x00\x00\x00\x00\x00\x00\x00",
3002 .result = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
3004 }, { /* Generated with Crypto++ */
3005 .key = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
3006 "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
3007 "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
3009 .input = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
3010 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
3011 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
3012 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
3013 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
3014 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
3015 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
3016 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
3017 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
3018 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
3019 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
3020 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
3021 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
3022 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
3023 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
3024 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
3025 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
3026 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
3027 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
3028 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
3029 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
3030 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
3031 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
3032 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
3033 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
3034 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
3035 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
3036 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
3037 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
3038 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
3039 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
3040 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
3041 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
3042 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
3043 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
3044 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
3045 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
3046 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
3047 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
3048 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
3049 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
3050 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
3051 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
3052 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
3053 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
3054 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
3055 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
3056 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
3057 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
3058 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
3059 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
3060 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
3061 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
3062 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
3063 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
3064 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
3065 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
3066 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
3067 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
3068 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
3069 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
3070 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
3072 .result = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
3073 "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
3074 "\x81\x01\x04\x00\x76\xFA\xED\xD3"
3075 "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
3076 "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
3077 "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
3078 "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
3079 "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
3080 "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
3081 "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
3082 "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
3083 "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
3084 "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
3085 "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
3086 "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
3087 "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
3088 "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
3089 "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
3090 "\x45\x86\x50\x01\x70\x35\x99\x92"
3091 "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
3092 "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
3093 "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
3094 "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
3095 "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
3096 "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
3097 "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
3098 "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
3099 "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
3100 "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
3101 "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
3102 "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
3103 "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
3104 "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
3105 "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
3106 "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
3107 "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
3108 "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
3109 "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
3110 "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
3111 "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
3112 "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
3113 "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
3114 "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
3115 "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
3116 "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
3117 "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
3118 "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
3119 "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
3120 "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
3121 "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
3122 "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
3123 "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
3124 "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
3125 "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
3126 "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
3127 "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
3128 "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
3129 "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
3130 "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
3131 "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
3132 "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
3133 "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
3137 .tap = { 496 - 16, 16 },
3141 static struct cipher_testvec des3_ede_dec_tv_template[] = {
3142 { /* These are from openssl */
3143 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
3144 "\x55\x55\x55\x55\x55\x55\x55\x55"
3145 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
3147 .input = "\x18\xd7\x48\xe5\x63\x62\x05\x72",
3149 .result = "\x73\x6f\x6d\x65\x64\x61\x74\x61",
3152 .key = "\x03\x52\x02\x07\x67\x20\x82\x17"
3153 "\x86\x02\x87\x66\x59\x08\x21\x98"
3154 "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
3156 .input = "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
3158 .result = "\x73\x71\x75\x69\x67\x67\x6c\x65",
3161 .key = "\x10\x46\x10\x34\x89\x98\x80\x20"
3162 "\x91\x07\xd0\x15\x89\x19\x01\x01"
3163 "\x19\x07\x92\x10\x98\x1a\x01\x01",
3165 .input = "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
3167 .result = "\x00\x00\x00\x00\x00\x00\x00\x00",
3169 }, { /* Generated with Crypto++ */
3170 .key = "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
3171 "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
3172 "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
3174 .input = "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
3175 "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
3176 "\x81\x01\x04\x00\x76\xFA\xED\xD3"
3177 "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
3178 "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
3179 "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
3180 "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
3181 "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
3182 "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
3183 "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
3184 "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
3185 "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
3186 "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
3187 "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
3188 "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
3189 "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
3190 "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
3191 "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
3192 "\x45\x86\x50\x01\x70\x35\x99\x92"
3193 "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
3194 "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
3195 "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
3196 "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
3197 "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
3198 "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
3199 "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
3200 "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
3201 "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
3202 "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
3203 "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
3204 "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
3205 "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
3206 "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
3207 "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
3208 "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
3209 "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
3210 "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
3211 "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
3212 "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
3213 "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
3214 "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
3215 "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
3216 "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
3217 "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
3218 "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
3219 "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
3220 "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
3221 "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
3222 "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
3223 "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
3224 "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
3225 "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
3226 "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
3227 "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
3228 "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
3229 "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
3230 "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
3231 "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
3232 "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
3233 "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
3234 "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
3235 "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
3237 .result = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
3238 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
3239 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
3240 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
3241 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
3242 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
3243 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
3244 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
3245 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
3246 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
3247 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
3248 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
3249 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
3250 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
3251 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
3252 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
3253 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
3254 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
3255 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
3256 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
3257 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
3258 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
3259 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
3260 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
3261 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
3262 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
3263 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
3264 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
3265 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
3266 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
3267 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
3268 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
3269 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
3270 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
3271 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
3272 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
3273 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
3274 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
3275 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
3276 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
3277 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
3278 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
3279 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
3280 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
3281 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
3282 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
3283 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
3284 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
3285 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
3286 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
3287 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
3288 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
3289 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
3290 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
3291 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
3292 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
3293 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
3294 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
3295 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
3296 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
3297 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
3298 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
3302 .tap = { 496 - 16, 16 },
3306 static struct cipher_testvec des3_ede_cbc_enc_tv_template[] = {
3307 { /* Generated from openssl */
3308 .key = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
3309 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
3310 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
3312 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
3313 .input = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
3314 "\x53\x20\x63\x65\x65\x72\x73\x74"
3315 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
3316 "\x20\x79\x65\x53\x72\x63\x74\x65"
3317 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
3318 "\x79\x6e\x53\x20\x63\x65\x65\x72"
3319 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
3320 "\x6e\x61\x20\x79\x65\x53\x72\x63"
3321 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
3322 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
3323 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
3324 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
3325 "\x72\x63\x74\x65\x20\x73\x6f\x54"
3326 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
3327 "\x63\x65\x65\x72\x73\x74\x54\x20"
3328 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
3330 .result = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
3331 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
3332 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
3333 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
3334 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
3335 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
3336 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
3337 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
3338 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
3339 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
3340 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
3341 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
3342 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
3343 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
3344 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
3345 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
3347 }, { /* Generated with Crypto++ */
3348 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
3349 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
3350 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
3352 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
3353 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
3354 .input = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
3355 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
3356 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
3357 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
3358 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
3359 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
3360 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
3361 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
3362 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
3363 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
3364 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
3365 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
3366 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
3367 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
3368 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
3369 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
3370 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
3371 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
3372 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
3373 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
3374 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
3375 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
3376 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
3377 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
3378 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
3379 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
3380 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
3381 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
3382 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
3383 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
3384 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
3385 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
3386 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
3387 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
3388 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
3389 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
3390 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
3391 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
3392 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
3393 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
3394 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
3395 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
3396 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
3397 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
3398 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
3399 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
3400 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
3401 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
3402 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
3403 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
3404 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
3405 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
3406 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
3407 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
3408 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
3409 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
3410 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
3411 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
3412 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
3413 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
3414 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
3415 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
3417 .result = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
3418 "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
3419 "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
3420 "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
3421 "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
3422 "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
3423 "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
3424 "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
3425 "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
3426 "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
3427 "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
3428 "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
3429 "\x11\x35\x61\x94\x88\x7B\x1C\x48"
3430 "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
3431 "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
3432 "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
3433 "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
3434 "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
3435 "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
3436 "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
3437 "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
3438 "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
3439 "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
3440 "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
3441 "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
3442 "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
3443 "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
3444 "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
3445 "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
3446 "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
3447 "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
3448 "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
3449 "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
3450 "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
3451 "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
3452 "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
3453 "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
3454 "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
3455 "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
3456 "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
3457 "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
3458 "\x73\x50\x08\x56\x20\x9B\x94\x23"
3459 "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
3460 "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
3461 "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
3462 "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
3463 "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
3464 "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
3465 "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
3466 "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
3467 "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
3468 "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
3469 "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
3470 "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
3471 "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
3472 "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
3473 "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
3474 "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
3475 "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
3476 "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
3477 "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
3478 "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
3482 .tap = { 496 - 16, 16 },
3486 static struct cipher_testvec des3_ede_cbc_dec_tv_template[] = {
3487 { /* Generated from openssl */
3488 .key = "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
3489 "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
3490 "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
3492 .iv = "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
3493 .input = "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
3494 "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
3495 "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
3496 "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
3497 "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
3498 "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
3499 "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
3500 "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
3501 "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
3502 "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
3503 "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
3504 "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
3505 "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
3506 "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
3507 "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
3508 "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
3510 .result = "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
3511 "\x53\x20\x63\x65\x65\x72\x73\x74"
3512 "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
3513 "\x20\x79\x65\x53\x72\x63\x74\x65"
3514 "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
3515 "\x79\x6e\x53\x20\x63\x65\x65\x72"
3516 "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
3517 "\x6e\x61\x20\x79\x65\x53\x72\x63"
3518 "\x74\x65\x20\x73\x6f\x54\x20\x6f"
3519 "\x61\x4d\x79\x6e\x53\x20\x63\x65"
3520 "\x65\x72\x73\x74\x54\x20\x6f\x6f"
3521 "\x4d\x20\x6e\x61\x20\x79\x65\x53"
3522 "\x72\x63\x74\x65\x20\x73\x6f\x54"
3523 "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
3524 "\x63\x65\x65\x72\x73\x74\x54\x20"
3525 "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
3527 }, { /* Generated with Crypto++ */
3528 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
3529 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
3530 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
3532 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
3533 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
3534 .input = "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
3535 "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
3536 "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
3537 "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
3538 "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
3539 "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
3540 "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
3541 "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
3542 "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
3543 "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
3544 "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
3545 "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
3546 "\x11\x35\x61\x94\x88\x7B\x1C\x48"
3547 "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
3548 "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
3549 "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
3550 "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
3551 "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
3552 "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
3553 "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
3554 "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
3555 "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
3556 "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
3557 "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
3558 "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
3559 "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
3560 "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
3561 "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
3562 "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
3563 "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
3564 "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
3565 "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
3566 "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
3567 "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
3568 "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
3569 "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
3570 "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
3571 "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
3572 "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
3573 "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
3574 "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
3575 "\x73\x50\x08\x56\x20\x9B\x94\x23"
3576 "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
3577 "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
3578 "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
3579 "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
3580 "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
3581 "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
3582 "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
3583 "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
3584 "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
3585 "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
3586 "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
3587 "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
3588 "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
3589 "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
3590 "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
3591 "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
3592 "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
3593 "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
3594 "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
3595 "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
3597 .result = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
3598 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
3599 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
3600 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
3601 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
3602 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
3603 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
3604 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
3605 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
3606 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
3607 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
3608 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
3609 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
3610 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
3611 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
3612 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
3613 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
3614 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
3615 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
3616 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
3617 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
3618 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
3619 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
3620 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
3621 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
3622 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
3623 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
3624 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
3625 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
3626 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
3627 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
3628 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
3629 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
3630 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
3631 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
3632 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
3633 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
3634 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
3635 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
3636 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
3637 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
3638 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
3639 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
3640 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
3641 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
3642 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
3643 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
3644 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
3645 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
3646 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
3647 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
3648 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
3649 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
3650 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
3651 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
3652 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
3653 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
3654 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
3655 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
3656 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
3657 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
3658 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
3662 .tap = { 496 - 16, 16 },
3666 static struct cipher_testvec des3_ede_ctr_enc_tv_template[] = {
3667 { /* Generated with Crypto++ */
3668 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
3669 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
3670 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
3672 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
3673 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
3674 .input = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
3675 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
3676 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
3677 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
3678 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
3679 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
3680 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
3681 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
3682 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
3683 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
3684 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
3685 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
3686 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
3687 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
3688 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
3689 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
3690 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
3691 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
3692 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
3693 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
3694 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
3695 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
3696 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
3697 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
3698 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
3699 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
3700 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
3701 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
3702 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
3703 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
3704 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
3705 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
3706 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
3707 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
3708 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
3709 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
3710 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
3711 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
3712 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
3713 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
3714 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
3715 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
3716 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
3717 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
3718 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
3719 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
3720 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
3721 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
3722 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
3723 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
3724 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
3725 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
3726 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
3727 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
3728 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
3729 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
3730 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
3731 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
3732 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
3733 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
3734 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
3735 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
3737 .result = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
3738 "\x19\xCD\x6F\x32\x53\x05\x22\x15"
3739 "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
3740 "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
3741 "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
3742 "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
3743 "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
3744 "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
3745 "\x13\x78\xDC\x89\x12\x12\x43\xFA"
3746 "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
3747 "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
3748 "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
3749 "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
3750 "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
3751 "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
3752 "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
3753 "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
3754 "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
3755 "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
3756 "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
3757 "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
3758 "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
3759 "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
3760 "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
3761 "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
3762 "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
3763 "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
3764 "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
3765 "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
3766 "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
3767 "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
3768 "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
3769 "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
3770 "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
3771 "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
3772 "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
3773 "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
3774 "\x83\x37\x4F\x1F\x48\x30\xED\x04"
3775 "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
3776 "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
3777 "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
3778 "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
3779 "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
3780 "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
3781 "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
3782 "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
3783 "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
3784 "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
3785 "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
3786 "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
3787 "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
3788 "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
3789 "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
3790 "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
3791 "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
3792 "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
3793 "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
3794 "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
3795 "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
3796 "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
3797 "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
3798 "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
3802 .tap = { 496 - 16, 16 },
3803 }, { /* Generated with Crypto++ */
3804 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
3805 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
3806 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
3808 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
3809 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
3810 .input = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
3811 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
3812 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
3813 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
3814 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
3815 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
3816 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
3817 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
3818 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
3819 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
3820 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
3821 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
3822 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
3823 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
3824 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
3825 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
3826 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
3827 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
3828 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
3829 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
3830 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
3831 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
3832 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
3833 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
3834 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
3835 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
3836 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
3837 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
3838 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
3839 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
3840 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
3841 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
3842 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
3843 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
3844 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
3845 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
3846 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
3847 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
3848 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
3849 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
3850 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
3851 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
3852 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
3853 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
3854 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
3855 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
3856 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
3857 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
3858 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
3859 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
3860 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
3861 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
3862 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
3863 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
3864 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
3865 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
3866 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
3867 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
3868 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
3869 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
3870 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
3871 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
3874 .result = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
3875 "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
3876 "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
3877 "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
3878 "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
3879 "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
3880 "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
3881 "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
3882 "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
3883 "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
3884 "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
3885 "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
3886 "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
3887 "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
3888 "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
3889 "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
3890 "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
3891 "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
3892 "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
3893 "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
3894 "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
3895 "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
3896 "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
3897 "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
3898 "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
3899 "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
3900 "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
3901 "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
3902 "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
3903 "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
3904 "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
3905 "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
3906 "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
3907 "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
3908 "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
3909 "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
3910 "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
3911 "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
3912 "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
3913 "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
3914 "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
3915 "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
3916 "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
3917 "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
3918 "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
3919 "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
3920 "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
3921 "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
3922 "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
3923 "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
3924 "\x8A\x19\x08\xE1\x08\x48\x59\x51"
3925 "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
3926 "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
3927 "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
3928 "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
3929 "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
3930 "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
3931 "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
3932 "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
3933 "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
3934 "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
3935 "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
3940 .tap = { 499 - 16, 16 },
3944 static struct cipher_testvec des3_ede_ctr_dec_tv_template[] = {
3945 { /* Generated with Crypto++ */
3946 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
3947 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
3948 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
3950 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
3951 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
3952 .input = "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
3953 "\x19\xCD\x6F\x32\x53\x05\x22\x15"
3954 "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
3955 "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
3956 "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
3957 "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
3958 "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
3959 "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
3960 "\x13\x78\xDC\x89\x12\x12\x43\xFA"
3961 "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
3962 "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
3963 "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
3964 "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
3965 "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
3966 "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
3967 "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
3968 "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
3969 "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
3970 "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
3971 "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
3972 "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
3973 "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
3974 "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
3975 "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
3976 "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
3977 "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
3978 "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
3979 "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
3980 "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
3981 "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
3982 "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
3983 "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
3984 "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
3985 "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
3986 "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
3987 "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
3988 "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
3989 "\x83\x37\x4F\x1F\x48\x30\xED\x04"
3990 "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
3991 "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
3992 "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
3993 "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
3994 "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
3995 "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
3996 "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
3997 "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
3998 "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
3999 "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
4000 "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
4001 "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
4002 "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
4003 "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
4004 "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
4005 "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
4006 "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
4007 "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
4008 "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
4009 "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
4010 "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
4011 "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
4012 "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
4013 "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
4015 .result = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
4016 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
4017 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
4018 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
4019 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
4020 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
4021 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
4022 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
4023 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
4024 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
4025 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
4026 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
4027 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
4028 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
4029 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
4030 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
4031 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
4032 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
4033 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
4034 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
4035 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
4036 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
4037 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
4038 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
4039 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
4040 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
4041 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
4042 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
4043 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
4044 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
4045 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
4046 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
4047 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
4048 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
4049 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
4050 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
4051 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
4052 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
4053 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
4054 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
4055 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
4056 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
4057 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
4058 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
4059 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
4060 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
4061 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
4062 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
4063 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
4064 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
4065 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
4066 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
4067 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
4068 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
4069 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
4070 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
4071 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
4072 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
4073 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
4074 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
4075 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
4076 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
4080 .tap = { 496 - 16, 16 },
4081 }, { /* Generated with Crypto++ */
4082 .key = "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
4083 "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
4084 "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
4086 .iv = "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
4087 "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
4088 .input = "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
4089 "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
4090 "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
4091 "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
4092 "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
4093 "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
4094 "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
4095 "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
4096 "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
4097 "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
4098 "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
4099 "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
4100 "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
4101 "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
4102 "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
4103 "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
4104 "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
4105 "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
4106 "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
4107 "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
4108 "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
4109 "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
4110 "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
4111 "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
4112 "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
4113 "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
4114 "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
4115 "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
4116 "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
4117 "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
4118 "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
4119 "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
4120 "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
4121 "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
4122 "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
4123 "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
4124 "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
4125 "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
4126 "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
4127 "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
4128 "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
4129 "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
4130 "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
4131 "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
4132 "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
4133 "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
4134 "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
4135 "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
4136 "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
4137 "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
4138 "\x8A\x19\x08\xE1\x08\x48\x59\x51"
4139 "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
4140 "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
4141 "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
4142 "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
4143 "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
4144 "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
4145 "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
4146 "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
4147 "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
4148 "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
4149 "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
4152 .result = "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
4153 "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
4154 "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
4155 "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
4156 "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
4157 "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
4158 "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
4159 "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
4160 "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
4161 "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
4162 "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
4163 "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
4164 "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
4165 "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
4166 "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
4167 "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
4168 "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
4169 "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
4170 "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
4171 "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
4172 "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
4173 "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
4174 "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
4175 "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
4176 "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
4177 "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
4178 "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
4179 "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
4180 "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
4181 "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
4182 "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
4183 "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
4184 "\x50\x3B\x82\x15\x99\x60\xCB\x52"
4185 "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
4186 "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
4187 "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
4188 "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
4189 "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
4190 "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
4191 "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
4192 "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
4193 "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
4194 "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
4195 "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
4196 "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
4197 "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
4198 "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
4199 "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
4200 "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
4201 "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
4202 "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
4203 "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
4204 "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
4205 "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
4206 "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
4207 "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
4208 "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
4209 "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
4210 "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
4211 "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
4212 "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
4213 "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
4218 .tap = { 499 - 16, 16 },
4223 * Blowfish test vectors.
4225 #define BF_ENC_TEST_VECTORS 7
4226 #define BF_DEC_TEST_VECTORS 7
4227 #define BF_CBC_ENC_TEST_VECTORS 2
4228 #define BF_CBC_DEC_TEST_VECTORS 2
4229 #define BF_CTR_ENC_TEST_VECTORS 2
4230 #define BF_CTR_DEC_TEST_VECTORS 2
4232 static struct cipher_testvec bf_enc_tv_template[] = {
4233 { /* DES test vectors from OpenSSL */
4234 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
4236 .input = "\x00\x00\x00\x00\x00\x00\x00\x00",
4238 .result = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
4241 .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
4243 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4245 .result = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
4248 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
4250 .input = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4252 .result = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
4254 }, { /* Vary the keylength... */
4255 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
4256 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
4258 .input = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4260 .result = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
4263 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
4264 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
4265 "\x00\x11\x22\x33\x44",
4267 .input = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4269 .result = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
4271 }, { /* Generated with bf488 */
4272 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
4273 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
4274 "\x00\x11\x22\x33\x44\x55\x66\x77"
4275 "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
4276 "\x58\x40\x23\x64\x1a\xba\x61\x76"
4277 "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
4278 "\xff\xff\xff\xff\xff\xff\xff\xff",
4280 .input = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4282 .result = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
4284 }, { /* Generated with Crypto++ */
4285 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
4286 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
4287 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
4288 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
4290 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
4291 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
4292 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
4293 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
4294 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
4295 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
4296 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
4297 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
4298 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
4299 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
4300 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
4301 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
4302 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
4303 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
4304 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
4305 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
4306 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
4307 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
4308 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
4309 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
4310 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
4311 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
4312 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
4313 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
4314 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
4315 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
4316 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
4317 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
4318 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
4319 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
4320 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
4321 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
4322 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
4323 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
4324 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
4325 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
4326 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
4327 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
4328 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
4329 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
4330 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
4331 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
4332 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
4333 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
4334 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
4335 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
4336 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
4337 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
4338 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
4339 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
4340 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
4341 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
4342 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
4343 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
4344 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
4345 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
4346 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
4347 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
4348 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
4349 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
4350 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
4351 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
4352 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
4354 .result = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
4355 "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
4356 "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
4357 "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
4358 "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
4359 "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
4360 "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
4361 "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
4362 "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
4363 "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
4364 "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
4365 "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
4366 "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
4367 "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
4368 "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
4369 "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
4370 "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
4371 "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
4372 "\x47\x82\x98\x23\x33\x36\xBC\x1B"
4373 "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
4374 "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
4375 "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
4376 "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
4377 "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
4378 "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
4379 "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
4380 "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
4381 "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
4382 "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
4383 "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
4384 "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
4385 "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
4386 "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
4387 "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
4388 "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
4389 "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
4390 "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
4391 "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
4392 "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
4393 "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
4394 "\x3E\x42\x14\x49\x88\x51\xBF\x68"
4395 "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
4396 "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
4397 "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
4398 "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
4399 "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
4400 "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
4401 "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
4402 "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
4403 "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
4404 "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
4405 "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
4406 "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
4407 "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
4408 "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
4409 "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
4410 "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
4411 "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
4412 "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
4413 "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
4414 "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
4415 "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
4416 "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
4420 .tap = { 504 - 8, 8 },
4424 static struct cipher_testvec bf_dec_tv_template[] = {
4425 { /* DES test vectors from OpenSSL */
4426 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
4428 .input = "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
4430 .result = "\x00\x00\x00\x00\x00\x00\x00\x00",
4433 .key = "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
4435 .input = "\xa7\x90\x79\x51\x08\xea\x3c\xae",
4437 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
4440 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
4442 .input = "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
4444 .result = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4446 }, { /* Vary the keylength... */
4447 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
4448 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
4450 .input = "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
4452 .result = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4455 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
4456 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
4457 "\x00\x11\x22\x33\x44",
4459 .input = "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
4461 .result = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4463 }, { /* Generated with bf488, using OpenSSL, Libgcrypt and Nettle */
4464 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
4465 "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
4466 "\x00\x11\x22\x33\x44\x55\x66\x77"
4467 "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
4468 "\x58\x40\x23\x64\x1a\xba\x61\x76"
4469 "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
4470 "\xff\xff\xff\xff\xff\xff\xff\xff",
4472 .input = "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
4474 .result = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4476 }, { /* Generated with Crypto++ */
4477 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
4478 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
4479 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
4480 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
4482 .input = "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
4483 "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
4484 "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
4485 "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
4486 "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
4487 "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
4488 "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
4489 "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
4490 "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
4491 "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
4492 "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
4493 "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
4494 "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
4495 "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
4496 "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
4497 "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
4498 "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
4499 "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
4500 "\x47\x82\x98\x23\x33\x36\xBC\x1B"
4501 "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
4502 "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
4503 "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
4504 "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
4505 "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
4506 "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
4507 "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
4508 "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
4509 "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
4510 "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
4511 "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
4512 "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
4513 "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
4514 "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
4515 "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
4516 "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
4517 "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
4518 "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
4519 "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
4520 "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
4521 "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
4522 "\x3E\x42\x14\x49\x88\x51\xBF\x68"
4523 "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
4524 "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
4525 "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
4526 "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
4527 "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
4528 "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
4529 "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
4530 "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
4531 "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
4532 "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
4533 "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
4534 "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
4535 "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
4536 "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
4537 "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
4538 "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
4539 "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
4540 "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
4541 "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
4542 "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
4543 "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
4544 "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
4546 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
4547 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
4548 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
4549 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
4550 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
4551 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
4552 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
4553 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
4554 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
4555 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
4556 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
4557 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
4558 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
4559 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
4560 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
4561 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
4562 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
4563 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
4564 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
4565 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
4566 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
4567 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
4568 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
4569 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
4570 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
4571 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
4572 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
4573 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
4574 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
4575 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
4576 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
4577 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
4578 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
4579 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
4580 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
4581 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
4582 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
4583 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
4584 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
4585 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
4586 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
4587 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
4588 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
4589 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
4590 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
4591 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
4592 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
4593 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
4594 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
4595 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
4596 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
4597 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
4598 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
4599 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
4600 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
4601 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
4602 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
4603 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
4604 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
4605 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
4606 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
4607 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
4608 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
4612 .tap = { 504 - 8, 8 },
4616 static struct cipher_testvec bf_cbc_enc_tv_template[] = {
4617 { /* From OpenSSL */
4618 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
4619 "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
4621 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4622 .input = "\x37\x36\x35\x34\x33\x32\x31\x20"
4623 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
4624 "\x68\x65\x20\x74\x69\x6d\x65\x20"
4625 "\x66\x6f\x72\x20\x00\x00\x00\x00",
4627 .result = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
4628 "\x05\xb1\x56\xe2\x74\x03\x97\x93"
4629 "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
4630 "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
4632 }, { /* Generated with Crypto++ */
4633 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
4634 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
4635 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
4636 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
4638 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
4639 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
4640 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
4641 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
4642 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
4643 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
4644 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
4645 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
4646 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
4647 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
4648 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
4649 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
4650 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
4651 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
4652 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
4653 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
4654 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
4655 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
4656 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
4657 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
4658 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
4659 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
4660 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
4661 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
4662 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
4663 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
4664 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
4665 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
4666 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
4667 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
4668 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
4669 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
4670 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
4671 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
4672 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
4673 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
4674 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
4675 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
4676 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
4677 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
4678 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
4679 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
4680 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
4681 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
4682 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
4683 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
4684 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
4685 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
4686 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
4687 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
4688 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
4689 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
4690 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
4691 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
4692 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
4693 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
4694 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
4695 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
4696 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
4697 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
4698 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
4699 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
4700 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
4701 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
4703 .result = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
4704 "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
4705 "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
4706 "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
4707 "\x01\x9C\x93\x63\x51\x60\x82\xD2"
4708 "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
4709 "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
4710 "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
4711 "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
4712 "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
4713 "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
4714 "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
4715 "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
4716 "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
4717 "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
4718 "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
4719 "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
4720 "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
4721 "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
4722 "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
4723 "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
4724 "\x65\xFE\x15\x40\xD0\x62\x41\x02"
4725 "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
4726 "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
4727 "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
4728 "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
4729 "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
4730 "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
4731 "\x04\xF0\x86\x08\x78\x18\x42\xE0"
4732 "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
4733 "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
4734 "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
4735 "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
4736 "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
4737 "\x97\x18\x92\xFF\x15\x11\xCE\xED"
4738 "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
4739 "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
4740 "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
4741 "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
4742 "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
4743 "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
4744 "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
4745 "\x43\x12\x73\x77\xDB\x91\x83\x5B"
4746 "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
4747 "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
4748 "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
4749 "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
4750 "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
4751 "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
4752 "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
4753 "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
4754 "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
4755 "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
4756 "\xC5\xF8\x69\x83\x28\x84\x87\x56"
4757 "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
4758 "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
4759 "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
4760 "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
4761 "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
4762 "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
4763 "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
4764 "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
4765 "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
4769 .tap = { 504 - 8, 8 },
4773 static struct cipher_testvec bf_cbc_dec_tv_template[] = {
4774 { /* From OpenSSL */
4775 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
4776 "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
4778 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4779 .input = "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
4780 "\x05\xb1\x56\xe2\x74\x03\x97\x93"
4781 "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
4782 "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
4784 .result = "\x37\x36\x35\x34\x33\x32\x31\x20"
4785 "\x4e\x6f\x77\x20\x69\x73\x20\x74"
4786 "\x68\x65\x20\x74\x69\x6d\x65\x20"
4787 "\x66\x6f\x72\x20\x00\x00\x00\x00",
4789 }, { /* Generated with Crypto++ */
4790 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
4791 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
4792 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
4793 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
4795 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
4796 .input = "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
4797 "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
4798 "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
4799 "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
4800 "\x01\x9C\x93\x63\x51\x60\x82\xD2"
4801 "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
4802 "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
4803 "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
4804 "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
4805 "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
4806 "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
4807 "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
4808 "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
4809 "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
4810 "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
4811 "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
4812 "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
4813 "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
4814 "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
4815 "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
4816 "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
4817 "\x65\xFE\x15\x40\xD0\x62\x41\x02"
4818 "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
4819 "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
4820 "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
4821 "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
4822 "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
4823 "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
4824 "\x04\xF0\x86\x08\x78\x18\x42\xE0"
4825 "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
4826 "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
4827 "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
4828 "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
4829 "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
4830 "\x97\x18\x92\xFF\x15\x11\xCE\xED"
4831 "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
4832 "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
4833 "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
4834 "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
4835 "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
4836 "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
4837 "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
4838 "\x43\x12\x73\x77\xDB\x91\x83\x5B"
4839 "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
4840 "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
4841 "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
4842 "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
4843 "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
4844 "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
4845 "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
4846 "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
4847 "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
4848 "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
4849 "\xC5\xF8\x69\x83\x28\x84\x87\x56"
4850 "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
4851 "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
4852 "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
4853 "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
4854 "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
4855 "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
4856 "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
4857 "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
4858 "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
4860 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
4861 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
4862 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
4863 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
4864 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
4865 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
4866 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
4867 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
4868 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
4869 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
4870 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
4871 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
4872 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
4873 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
4874 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
4875 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
4876 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
4877 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
4878 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
4879 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
4880 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
4881 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
4882 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
4883 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
4884 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
4885 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
4886 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
4887 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
4888 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
4889 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
4890 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
4891 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
4892 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
4893 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
4894 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
4895 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
4896 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
4897 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
4898 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
4899 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
4900 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
4901 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
4902 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
4903 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
4904 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
4905 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
4906 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
4907 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
4908 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
4909 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
4910 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
4911 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
4912 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
4913 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
4914 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
4915 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
4916 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
4917 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
4918 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
4919 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
4920 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
4921 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
4922 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
4926 .tap = { 504 - 8, 8 },
4930 static struct cipher_testvec bf_ctr_enc_tv_template[] = {
4931 { /* Generated with Crypto++ */
4932 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
4933 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
4934 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
4935 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
4937 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
4938 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
4939 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
4940 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
4941 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
4942 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
4943 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
4944 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
4945 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
4946 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
4947 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
4948 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
4949 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
4950 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
4951 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
4952 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
4953 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
4954 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
4955 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
4956 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
4957 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
4958 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
4959 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
4960 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
4961 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
4962 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
4963 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
4964 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
4965 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
4966 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
4967 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
4968 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
4969 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
4970 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
4971 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
4972 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
4973 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
4974 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
4975 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
4976 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
4977 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
4978 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
4979 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
4980 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
4981 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
4982 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
4983 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
4984 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
4985 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
4986 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
4987 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
4988 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
4989 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
4990 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
4991 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
4992 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
4993 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
4994 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
4995 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
4996 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
4997 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
4998 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
4999 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
5000 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
5002 .result = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
5003 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
5004 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
5005 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
5006 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
5007 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
5008 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
5009 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
5010 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
5011 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
5012 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
5013 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
5014 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
5015 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
5016 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
5017 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
5018 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
5019 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
5020 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
5021 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
5022 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
5023 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
5024 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
5025 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
5026 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
5027 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
5028 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
5029 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
5030 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
5031 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
5032 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
5033 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
5034 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
5035 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
5036 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
5037 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
5038 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
5039 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
5040 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
5041 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
5042 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
5043 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
5044 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
5045 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
5046 "\x82\x63\x11\xB3\x54\x49\x00\x08"
5047 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
5048 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
5049 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
5050 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
5051 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
5052 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
5053 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
5054 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
5055 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
5056 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
5057 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
5058 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
5059 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
5060 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
5061 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
5062 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
5063 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
5064 "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
5066 }, { /* Generated with Crypto++ */
5067 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
5068 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
5069 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
5070 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
5072 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
5073 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
5074 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
5075 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
5076 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
5077 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
5078 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
5079 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
5080 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
5081 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
5082 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
5083 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
5084 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
5085 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
5086 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
5087 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
5088 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
5089 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
5090 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
5091 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
5092 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
5093 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
5094 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
5095 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
5096 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
5097 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
5098 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
5099 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
5100 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
5101 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
5102 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
5103 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
5104 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
5105 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
5106 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
5107 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
5108 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
5109 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
5110 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
5111 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
5112 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
5113 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
5114 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
5115 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
5116 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
5117 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
5118 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
5119 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
5120 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
5121 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
5122 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
5123 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
5124 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
5125 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
5126 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
5127 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
5128 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
5129 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
5130 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
5131 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
5132 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
5133 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
5134 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
5135 "\x2B\xC2\x59\xF0\x64\xFB\x92",
5137 .result = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
5138 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
5139 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
5140 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
5141 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
5142 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
5143 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
5144 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
5145 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
5146 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
5147 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
5148 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
5149 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
5150 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
5151 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
5152 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
5153 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
5154 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
5155 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
5156 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
5157 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
5158 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
5159 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
5160 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
5161 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
5162 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
5163 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
5164 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
5165 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
5166 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
5167 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
5168 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
5169 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
5170 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
5171 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
5172 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
5173 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
5174 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
5175 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
5176 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
5177 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
5178 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
5179 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
5180 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
5181 "\x82\x63\x11\xB3\x54\x49\x00\x08"
5182 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
5183 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
5184 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
5185 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
5186 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
5187 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
5188 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
5189 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
5190 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
5191 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
5192 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
5193 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
5194 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
5195 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
5196 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
5197 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
5198 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
5199 "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
5203 .tap = { 503 - 8, 8 },
5204 }, { /* Generated with Crypto++ */
5205 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
5206 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
5207 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
5208 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
5210 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5211 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
5212 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
5213 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
5214 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
5215 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
5216 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
5217 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
5218 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
5219 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
5220 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
5221 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
5222 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
5223 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
5224 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
5225 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
5226 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
5227 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
5228 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
5229 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
5230 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
5231 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
5232 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
5233 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
5234 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
5235 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
5236 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
5237 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
5238 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
5239 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
5240 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
5241 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
5242 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
5243 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
5244 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
5245 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
5246 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
5247 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
5248 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
5249 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
5250 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
5251 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
5252 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
5253 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
5254 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
5255 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
5256 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
5257 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
5258 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
5259 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
5260 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
5261 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
5262 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
5263 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
5264 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
5265 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
5266 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
5267 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
5268 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
5269 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
5270 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
5271 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
5272 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
5273 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
5275 .result = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
5276 "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
5277 "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
5278 "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
5279 "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
5280 "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
5281 "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
5282 "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
5283 "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
5284 "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
5285 "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
5286 "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
5287 "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
5288 "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
5289 "\x0B\x82\x59\x14\x26\x67\x08\x09"
5290 "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
5291 "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
5292 "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
5293 "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
5294 "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
5295 "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
5296 "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
5297 "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
5298 "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
5299 "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
5300 "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
5301 "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
5302 "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
5303 "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
5304 "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
5305 "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
5306 "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
5307 "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
5308 "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
5309 "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
5310 "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
5311 "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
5312 "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
5313 "\xB4\x19\xD8\x19\x45\x66\x27\x02"
5314 "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
5315 "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
5316 "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
5317 "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
5318 "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
5319 "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
5320 "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
5321 "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
5322 "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
5323 "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
5324 "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
5325 "\x91\x51\x4E\x71\xF2\x98\x85\x16"
5326 "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
5327 "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
5328 "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
5329 "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
5330 "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
5331 "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
5332 "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
5333 "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
5334 "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
5335 "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
5336 "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
5337 "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
5342 static struct cipher_testvec bf_ctr_dec_tv_template[] = {
5343 { /* Generated with Crypto++ */
5344 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
5345 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
5346 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
5347 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
5349 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
5350 .input = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
5351 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
5352 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
5353 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
5354 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
5355 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
5356 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
5357 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
5358 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
5359 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
5360 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
5361 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
5362 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
5363 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
5364 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
5365 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
5366 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
5367 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
5368 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
5369 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
5370 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
5371 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
5372 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
5373 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
5374 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
5375 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
5376 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
5377 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
5378 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
5379 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
5380 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
5381 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
5382 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
5383 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
5384 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
5385 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
5386 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
5387 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
5388 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
5389 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
5390 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
5391 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
5392 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
5393 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
5394 "\x82\x63\x11\xB3\x54\x49\x00\x08"
5395 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
5396 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
5397 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
5398 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
5399 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
5400 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
5401 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
5402 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
5403 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
5404 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
5405 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
5406 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
5407 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
5408 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
5409 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
5410 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
5411 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
5412 "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
5414 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
5415 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
5416 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
5417 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
5418 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
5419 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
5420 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
5421 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
5422 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
5423 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
5424 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
5425 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
5426 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
5427 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
5428 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
5429 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
5430 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
5431 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
5432 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
5433 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
5434 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
5435 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
5436 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
5437 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
5438 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
5439 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
5440 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
5441 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
5442 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
5443 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
5444 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
5445 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
5446 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
5447 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
5448 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
5449 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
5450 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
5451 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
5452 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
5453 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
5454 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
5455 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
5456 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
5457 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
5458 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
5459 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
5460 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
5461 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
5462 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
5463 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
5464 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
5465 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
5466 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
5467 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
5468 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
5469 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
5470 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
5471 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
5472 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
5473 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
5474 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
5475 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
5476 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
5478 }, { /* Generated with Crypto++ */
5479 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
5480 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
5481 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
5482 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
5484 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
5485 .input = "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
5486 "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
5487 "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
5488 "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
5489 "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
5490 "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
5491 "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
5492 "\x97\xEB\x98\x75\xC4\x73\x45\x83"
5493 "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
5494 "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
5495 "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
5496 "\x13\xD2\x96\x68\x69\x10\x67\x0C"
5497 "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
5498 "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
5499 "\x88\x09\x40\x59\xBD\x12\x64\xB5"
5500 "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
5501 "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
5502 "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
5503 "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
5504 "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
5505 "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
5506 "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
5507 "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
5508 "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
5509 "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
5510 "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
5511 "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
5512 "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
5513 "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
5514 "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
5515 "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
5516 "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
5517 "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
5518 "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
5519 "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
5520 "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
5521 "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
5522 "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
5523 "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
5524 "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
5525 "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
5526 "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
5527 "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
5528 "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
5529 "\x82\x63\x11\xB3\x54\x49\x00\x08"
5530 "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
5531 "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
5532 "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
5533 "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
5534 "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
5535 "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
5536 "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
5537 "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
5538 "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
5539 "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
5540 "\x91\x04\x94\x99\x03\x3B\x42\x6D"
5541 "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
5542 "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
5543 "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
5544 "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
5545 "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
5546 "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
5547 "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
5549 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
5550 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
5551 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
5552 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
5553 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
5554 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
5555 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
5556 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
5557 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
5558 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
5559 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
5560 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
5561 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
5562 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
5563 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
5564 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
5565 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
5566 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
5567 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
5568 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
5569 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
5570 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
5571 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
5572 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
5573 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
5574 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
5575 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
5576 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
5577 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
5578 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
5579 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
5580 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
5581 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
5582 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
5583 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
5584 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
5585 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
5586 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
5587 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
5588 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
5589 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
5590 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
5591 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
5592 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
5593 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
5594 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
5595 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
5596 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
5597 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
5598 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
5599 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
5600 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
5601 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
5602 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
5603 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
5604 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
5605 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
5606 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
5607 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
5608 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
5609 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
5610 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
5611 "\x2B\xC2\x59\xF0\x64\xFB\x92",
5615 .tap = { 503 - 8, 8 },
5616 }, { /* Generated with Crypto++ */
5617 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
5618 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
5619 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
5620 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
5622 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5623 .input = "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
5624 "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
5625 "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
5626 "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
5627 "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
5628 "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
5629 "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
5630 "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
5631 "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
5632 "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
5633 "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
5634 "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
5635 "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
5636 "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
5637 "\x0B\x82\x59\x14\x26\x67\x08\x09"
5638 "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
5639 "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
5640 "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
5641 "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
5642 "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
5643 "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
5644 "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
5645 "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
5646 "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
5647 "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
5648 "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
5649 "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
5650 "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
5651 "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
5652 "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
5653 "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
5654 "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
5655 "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
5656 "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
5657 "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
5658 "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
5659 "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
5660 "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
5661 "\xB4\x19\xD8\x19\x45\x66\x27\x02"
5662 "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
5663 "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
5664 "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
5665 "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
5666 "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
5667 "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
5668 "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
5669 "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
5670 "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
5671 "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
5672 "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
5673 "\x91\x51\x4E\x71\xF2\x98\x85\x16"
5674 "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
5675 "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
5676 "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
5677 "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
5678 "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
5679 "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
5680 "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
5681 "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
5682 "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
5683 "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
5684 "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
5685 "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
5687 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
5688 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
5689 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
5690 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
5691 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
5692 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
5693 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
5694 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
5695 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
5696 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
5697 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
5698 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
5699 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
5700 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
5701 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
5702 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
5703 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
5704 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
5705 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
5706 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
5707 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
5708 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
5709 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
5710 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
5711 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
5712 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
5713 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
5714 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
5715 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
5716 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
5717 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
5718 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
5719 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
5720 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
5721 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
5722 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
5723 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
5724 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
5725 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
5726 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
5727 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
5728 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
5729 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
5730 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
5731 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
5732 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
5733 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
5734 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
5735 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
5736 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
5737 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
5738 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
5739 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
5740 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
5741 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
5742 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
5743 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
5744 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
5745 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
5746 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
5747 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
5748 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
5749 "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
5755 * Twofish test vectors.
5757 #define TF_ENC_TEST_VECTORS 4
5758 #define TF_DEC_TEST_VECTORS 4
5759 #define TF_CBC_ENC_TEST_VECTORS 5
5760 #define TF_CBC_DEC_TEST_VECTORS 5
5761 #define TF_CTR_ENC_TEST_VECTORS 2
5762 #define TF_CTR_DEC_TEST_VECTORS 2
5763 #define TF_LRW_ENC_TEST_VECTORS 8
5764 #define TF_LRW_DEC_TEST_VECTORS 8
5765 #define TF_XTS_ENC_TEST_VECTORS 5
5766 #define TF_XTS_DEC_TEST_VECTORS 5
5768 static struct cipher_testvec tf_enc_tv_template[] = {
5770 .key = zeroed_string,
5772 .input = zeroed_string,
5774 .result = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
5775 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
5778 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
5779 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
5780 "\x00\x11\x22\x33\x44\x55\x66\x77",
5782 .input = zeroed_string,
5784 .result = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
5785 "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
5788 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
5789 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
5790 "\x00\x11\x22\x33\x44\x55\x66\x77"
5791 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
5793 .input = zeroed_string,
5795 .result = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
5796 "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
5798 }, { /* Generated with Crypto++ */
5799 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
5800 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
5801 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
5802 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
5804 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
5805 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
5806 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
5807 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
5808 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
5809 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
5810 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
5811 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
5812 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
5813 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
5814 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
5815 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
5816 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
5817 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
5818 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
5819 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
5820 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
5821 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
5822 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
5823 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
5824 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
5825 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
5826 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
5827 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
5828 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
5829 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
5830 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
5831 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
5832 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
5833 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
5834 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
5835 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
5836 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
5837 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
5838 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
5839 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
5840 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
5841 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
5842 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
5843 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
5844 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
5845 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
5846 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
5847 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
5848 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
5849 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
5850 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
5851 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
5852 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
5853 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
5854 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
5855 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
5856 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
5857 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
5858 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
5859 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
5860 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
5861 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
5862 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
5863 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
5864 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
5865 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
5867 .result = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
5868 "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
5869 "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
5870 "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
5871 "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
5872 "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
5873 "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
5874 "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
5875 "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
5876 "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
5877 "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
5878 "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
5879 "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
5880 "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
5881 "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
5882 "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
5883 "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
5884 "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
5885 "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
5886 "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
5887 "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
5888 "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
5889 "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
5890 "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
5891 "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
5892 "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
5893 "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
5894 "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
5895 "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
5896 "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
5897 "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
5898 "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
5899 "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
5900 "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
5901 "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
5902 "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
5903 "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
5904 "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
5905 "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
5906 "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
5907 "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
5908 "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
5909 "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
5910 "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
5911 "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
5912 "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
5913 "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
5914 "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
5915 "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
5916 "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
5917 "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
5918 "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
5919 "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
5920 "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
5921 "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
5922 "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
5923 "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
5924 "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
5925 "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
5926 "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
5927 "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
5928 "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
5932 .tap = { 496 - 16, 16 },
5936 static struct cipher_testvec tf_dec_tv_template[] = {
5938 .key = zeroed_string,
5940 .input = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
5941 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
5943 .result = zeroed_string,
5946 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
5947 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
5948 "\x00\x11\x22\x33\x44\x55\x66\x77",
5950 .input = "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
5951 "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
5953 .result = zeroed_string,
5956 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
5957 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
5958 "\x00\x11\x22\x33\x44\x55\x66\x77"
5959 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
5961 .input = "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
5962 "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
5964 .result = zeroed_string,
5966 }, { /* Generated with Crypto++ */
5967 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
5968 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
5969 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
5970 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
5972 .input = "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
5973 "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
5974 "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
5975 "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
5976 "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
5977 "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
5978 "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
5979 "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
5980 "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
5981 "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
5982 "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
5983 "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
5984 "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
5985 "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
5986 "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
5987 "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
5988 "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
5989 "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
5990 "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
5991 "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
5992 "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
5993 "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
5994 "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
5995 "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
5996 "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
5997 "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
5998 "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
5999 "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
6000 "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
6001 "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
6002 "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
6003 "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
6004 "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
6005 "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
6006 "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
6007 "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
6008 "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
6009 "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
6010 "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
6011 "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
6012 "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
6013 "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
6014 "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
6015 "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
6016 "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
6017 "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
6018 "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
6019 "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
6020 "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
6021 "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
6022 "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
6023 "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
6024 "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
6025 "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
6026 "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
6027 "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
6028 "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
6029 "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
6030 "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
6031 "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
6032 "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
6033 "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
6035 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6036 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6037 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6038 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6039 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6040 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6041 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6042 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6043 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6044 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6045 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6046 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6047 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6048 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6049 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6050 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6051 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6052 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6053 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6054 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6055 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6056 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6057 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6058 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6059 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6060 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6061 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6062 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6063 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6064 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6065 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6066 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6067 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6068 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6069 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6070 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6071 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6072 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6073 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6074 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6075 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6076 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6077 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6078 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6079 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6080 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6081 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6082 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6083 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6084 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6085 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6086 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6087 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6088 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6089 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6090 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6091 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6092 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6093 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6094 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6095 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6096 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
6100 .tap = { 496 - 16, 16 },
6104 static struct cipher_testvec tf_cbc_enc_tv_template[] = {
6105 { /* Generated with Nettle */
6106 .key = zeroed_string,
6108 .iv = zeroed_string,
6109 .input = zeroed_string,
6111 .result = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
6112 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
6115 .key = zeroed_string,
6117 .iv = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
6118 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
6119 .input = zeroed_string,
6121 .result = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
6122 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
6125 .key = zeroed_string,
6127 .iv = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
6128 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
6129 .input = zeroed_string,
6131 .result = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
6132 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
6135 .key = zeroed_string,
6137 .iv = zeroed_string,
6138 .input = zeroed_string,
6140 .result = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
6141 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
6142 "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
6143 "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
6144 "\x05\xef\x8c\x61\xa8\x11\x58\x26"
6145 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
6147 }, { /* Generated with Crypto++ */
6148 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6149 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6150 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6151 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6153 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
6154 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
6155 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6156 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6157 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6158 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6159 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6160 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6161 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6162 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6163 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6164 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6165 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6166 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6167 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6168 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6169 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6170 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6171 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6172 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6173 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6174 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6175 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6176 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6177 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6178 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6179 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6180 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6181 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6182 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6183 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6184 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6185 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6186 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6187 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6188 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6189 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6190 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6191 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6192 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6193 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6194 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6195 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6196 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6197 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6198 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6199 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6200 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6201 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6202 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6203 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6204 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6205 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6206 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6207 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6208 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6209 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6210 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6211 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6212 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6213 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6214 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6215 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6216 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
6218 .result = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
6219 "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
6220 "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
6221 "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
6222 "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
6223 "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
6224 "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
6225 "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
6226 "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
6227 "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
6228 "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
6229 "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
6230 "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
6231 "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
6232 "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
6233 "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
6234 "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
6235 "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
6236 "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
6237 "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
6238 "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
6239 "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
6240 "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
6241 "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
6242 "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
6243 "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
6244 "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
6245 "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
6246 "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
6247 "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
6248 "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
6249 "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
6250 "\x75\x42\x62\x04\x31\x1F\x95\x7C"
6251 "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
6252 "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
6253 "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
6254 "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
6255 "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
6256 "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
6257 "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
6258 "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
6259 "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
6260 "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
6261 "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
6262 "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
6263 "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
6264 "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
6265 "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
6266 "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
6267 "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
6268 "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
6269 "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
6270 "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
6271 "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
6272 "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
6273 "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
6274 "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
6275 "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
6276 "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
6277 "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
6278 "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
6279 "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
6283 .tap = { 496 - 16, 16 },
6287 static struct cipher_testvec tf_cbc_dec_tv_template[] = {
6288 { /* Reverse of the first four above */
6289 .key = zeroed_string,
6291 .iv = zeroed_string,
6292 .input = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
6293 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
6295 .result = zeroed_string,
6298 .key = zeroed_string,
6300 .iv = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
6301 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
6302 .input = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
6303 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
6305 .result = zeroed_string,
6308 .key = zeroed_string,
6310 .iv = "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
6311 "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
6312 .input = "\x05\xef\x8c\x61\xa8\x11\x58\x26"
6313 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
6315 .result = zeroed_string,
6318 .key = zeroed_string,
6320 .iv = zeroed_string,
6321 .input = "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
6322 "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
6323 "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
6324 "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
6325 "\x05\xef\x8c\x61\xa8\x11\x58\x26"
6326 "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
6328 .result = zeroed_string,
6330 }, { /* Generated with Crypto++ */
6331 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6332 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6333 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6334 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6336 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
6337 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
6338 .input = "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
6339 "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
6340 "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
6341 "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
6342 "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
6343 "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
6344 "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
6345 "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
6346 "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
6347 "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
6348 "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
6349 "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
6350 "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
6351 "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
6352 "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
6353 "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
6354 "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
6355 "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
6356 "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
6357 "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
6358 "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
6359 "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
6360 "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
6361 "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
6362 "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
6363 "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
6364 "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
6365 "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
6366 "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
6367 "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
6368 "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
6369 "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
6370 "\x75\x42\x62\x04\x31\x1F\x95\x7C"
6371 "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
6372 "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
6373 "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
6374 "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
6375 "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
6376 "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
6377 "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
6378 "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
6379 "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
6380 "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
6381 "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
6382 "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
6383 "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
6384 "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
6385 "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
6386 "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
6387 "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
6388 "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
6389 "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
6390 "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
6391 "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
6392 "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
6393 "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
6394 "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
6395 "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
6396 "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
6397 "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
6398 "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
6399 "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
6401 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6402 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6403 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6404 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6405 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6406 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6407 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6408 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6409 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6410 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6411 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6412 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6413 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6414 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6415 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6416 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6417 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6418 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6419 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6420 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6421 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6422 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6423 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6424 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6425 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6426 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6427 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6428 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6429 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6430 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6431 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6432 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6433 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6434 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6435 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6436 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6437 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6438 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6439 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6440 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6441 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6442 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6443 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6444 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6445 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6446 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6447 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6448 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6449 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6450 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6451 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6452 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6453 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6454 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6455 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6456 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6457 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6458 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6459 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6460 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6461 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6462 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
6466 .tap = { 496 - 16, 16 },
6470 static struct cipher_testvec tf_ctr_enc_tv_template[] = {
6471 { /* Generated with Crypto++ */
6472 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6473 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6474 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6475 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6477 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
6478 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
6479 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6480 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6481 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6482 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6483 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6484 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6485 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6486 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6487 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6488 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6489 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6490 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6491 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6492 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6493 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6494 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6495 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6496 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6497 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6498 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6499 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6500 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6501 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6502 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6503 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6504 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6505 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6506 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6507 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6508 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6509 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6510 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6511 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6512 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6513 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6514 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6515 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6516 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6517 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6518 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6519 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6520 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6521 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6522 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6523 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6524 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6525 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6526 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6527 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6528 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6529 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6530 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6531 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6532 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6533 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6534 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6535 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6536 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6537 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6538 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6539 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6540 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
6542 .result = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
6543 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
6544 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
6545 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
6546 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
6547 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
6548 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
6549 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
6550 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
6551 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
6552 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
6553 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
6554 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
6555 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
6556 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
6557 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
6558 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
6559 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
6560 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
6561 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
6562 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
6563 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
6564 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
6565 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
6566 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
6567 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
6568 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
6569 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
6570 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
6571 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
6572 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
6573 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
6574 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
6575 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
6576 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
6577 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
6578 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
6579 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
6580 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
6581 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
6582 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
6583 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
6584 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
6585 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
6586 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
6587 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
6588 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
6589 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
6590 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
6591 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
6592 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
6593 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
6594 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
6595 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
6596 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
6597 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
6598 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
6599 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
6600 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
6601 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
6602 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
6603 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
6605 }, { /* Generated with Crypto++ */
6606 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6607 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6608 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6609 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6611 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
6612 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
6613 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6614 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6615 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6616 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6617 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6618 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6619 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6620 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6621 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6622 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6623 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6624 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6625 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6626 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6627 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6628 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6629 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6630 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6631 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6632 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6633 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6634 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6635 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6636 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6637 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6638 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6639 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6640 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6641 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6642 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6643 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6644 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6645 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6646 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6647 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6648 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6649 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6650 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6651 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6652 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6653 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6654 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6655 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6656 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6657 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6658 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6659 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6660 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6661 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6662 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6663 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6664 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6665 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6666 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6667 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6668 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6669 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6670 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6671 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6672 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6673 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6674 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
6676 .result = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
6677 "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
6678 "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
6679 "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
6680 "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
6681 "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
6682 "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
6683 "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
6684 "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
6685 "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
6686 "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
6687 "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
6688 "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
6689 "\x39\x18\x09\xA4\x82\x59\x78\xE7"
6690 "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
6691 "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
6692 "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
6693 "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
6694 "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
6695 "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
6696 "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
6697 "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
6698 "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
6699 "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
6700 "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
6701 "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
6702 "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
6703 "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
6704 "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
6705 "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
6706 "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
6707 "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
6708 "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
6709 "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
6710 "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
6711 "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
6712 "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
6713 "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
6714 "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
6715 "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
6716 "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
6717 "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
6718 "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
6719 "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
6720 "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
6721 "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
6722 "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
6723 "\xDE\x55\x1B\x50\x14\x53\x44\x17"
6724 "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
6725 "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
6726 "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
6727 "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
6728 "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
6729 "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
6730 "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
6731 "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
6732 "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
6733 "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
6734 "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
6735 "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
6736 "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
6737 "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
6739 }, { /* Generated with Crypto++ */
6740 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6741 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6742 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6743 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6745 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
6746 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
6747 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6748 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6749 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6750 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6751 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6752 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6753 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6754 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6755 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6756 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6757 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6758 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6759 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6760 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6761 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6762 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6763 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6764 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6765 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6766 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6767 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6768 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6769 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6770 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6771 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6772 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6773 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6774 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6775 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6776 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6777 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6778 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6779 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6780 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6781 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6782 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6783 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6784 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6785 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6786 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6787 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6788 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6789 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6790 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6791 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6792 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6793 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6794 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6795 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6796 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6797 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6798 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6799 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6800 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6801 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6802 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6803 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6804 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6805 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6806 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6807 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6808 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
6811 .result = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
6812 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
6813 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
6814 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
6815 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
6816 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
6817 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
6818 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
6819 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
6820 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
6821 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
6822 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
6823 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
6824 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
6825 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
6826 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
6827 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
6828 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
6829 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
6830 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
6831 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
6832 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
6833 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
6834 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
6835 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
6836 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
6837 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
6838 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
6839 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
6840 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
6841 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
6842 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
6843 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
6844 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
6845 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
6846 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
6847 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
6848 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
6849 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
6850 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
6851 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
6852 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
6853 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
6854 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
6855 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
6856 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
6857 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
6858 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
6859 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
6860 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
6861 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
6862 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
6863 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
6864 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
6865 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
6866 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
6867 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
6868 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
6869 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
6870 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
6871 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
6872 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
6877 .tap = { 499 - 16, 16 },
6881 static struct cipher_testvec tf_ctr_dec_tv_template[] = {
6882 { /* Generated with Crypto++ */
6883 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6884 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6885 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6886 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6888 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
6889 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
6890 .input = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
6891 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
6892 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
6893 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
6894 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
6895 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
6896 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
6897 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
6898 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
6899 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
6900 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
6901 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
6902 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
6903 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
6904 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
6905 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
6906 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
6907 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
6908 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
6909 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
6910 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
6911 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
6912 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
6913 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
6914 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
6915 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
6916 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
6917 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
6918 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
6919 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
6920 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
6921 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
6922 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
6923 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
6924 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
6925 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
6926 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
6927 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
6928 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
6929 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
6930 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
6931 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
6932 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
6933 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
6934 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
6935 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
6936 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
6937 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
6938 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
6939 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
6940 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
6941 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
6942 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
6943 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
6944 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
6945 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
6946 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
6947 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
6948 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
6949 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
6950 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
6951 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
6953 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6954 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6955 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6956 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6957 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6958 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6959 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6960 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6961 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6962 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6963 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6964 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6965 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6966 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6967 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6968 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6969 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6970 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6971 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6972 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6973 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6974 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6975 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6976 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6977 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6978 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6979 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6980 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6981 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6982 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6983 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6984 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6985 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6986 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6987 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6988 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6989 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6990 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6991 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6992 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6993 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6994 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6995 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6996 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6997 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6998 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6999 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7000 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7001 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7002 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7003 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7004 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7005 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7006 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7007 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7008 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7009 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7010 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7011 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7012 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7013 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7014 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
7016 }, { /* Generated with Crypto++ */
7017 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7018 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7019 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7020 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7022 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
7023 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
7024 .input = "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
7025 "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
7026 "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
7027 "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
7028 "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
7029 "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
7030 "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
7031 "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
7032 "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
7033 "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
7034 "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
7035 "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
7036 "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
7037 "\x39\x18\x09\xA4\x82\x59\x78\xE7"
7038 "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
7039 "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
7040 "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
7041 "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
7042 "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
7043 "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
7044 "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
7045 "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
7046 "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
7047 "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
7048 "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
7049 "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
7050 "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
7051 "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
7052 "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
7053 "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
7054 "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
7055 "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
7056 "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
7057 "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
7058 "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
7059 "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
7060 "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
7061 "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
7062 "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
7063 "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
7064 "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
7065 "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
7066 "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
7067 "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
7068 "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
7069 "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
7070 "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
7071 "\xDE\x55\x1B\x50\x14\x53\x44\x17"
7072 "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
7073 "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
7074 "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
7075 "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
7076 "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
7077 "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
7078 "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
7079 "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
7080 "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
7081 "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
7082 "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
7083 "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
7084 "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
7085 "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
7087 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7088 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7089 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7090 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7091 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7092 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7093 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7094 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7095 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7096 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7097 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7098 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7099 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7100 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7101 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7102 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7103 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7104 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7105 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7106 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7107 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7108 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7109 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7110 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7111 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7112 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7113 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7114 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7115 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7116 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7117 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7118 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7119 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7120 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7121 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7122 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7123 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7124 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7125 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7126 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7127 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7128 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7129 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7130 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7131 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7132 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7133 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7134 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7135 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7136 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7137 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7138 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7139 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7140 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7141 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7142 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7143 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7144 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7145 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7146 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7147 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7148 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
7150 }, { /* Generated with Crypto++ */
7151 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7152 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7153 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7154 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7156 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
7157 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
7158 .input = "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
7159 "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
7160 "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
7161 "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
7162 "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
7163 "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
7164 "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
7165 "\x01\x41\x21\x12\x38\xAB\x52\x4F"
7166 "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
7167 "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
7168 "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
7169 "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
7170 "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
7171 "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
7172 "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
7173 "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
7174 "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
7175 "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
7176 "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
7177 "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
7178 "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
7179 "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
7180 "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
7181 "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
7182 "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
7183 "\x23\x61\x48\xEA\x80\x04\x27\xAA"
7184 "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
7185 "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
7186 "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
7187 "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
7188 "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
7189 "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
7190 "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
7191 "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
7192 "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
7193 "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
7194 "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
7195 "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
7196 "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
7197 "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
7198 "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
7199 "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
7200 "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
7201 "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
7202 "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
7203 "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
7204 "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
7205 "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
7206 "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
7207 "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
7208 "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
7209 "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
7210 "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
7211 "\x11\xE9\x43\x83\x76\xAA\x53\x37"
7212 "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
7213 "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
7214 "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
7215 "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
7216 "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
7217 "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
7218 "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
7219 "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
7222 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7223 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7224 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7225 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7226 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7227 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7228 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7229 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7230 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7231 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7232 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7233 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7234 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7235 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7236 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7237 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7238 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7239 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7240 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7241 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7242 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7243 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7244 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7245 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7246 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7247 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7248 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7249 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7250 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7251 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7252 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7253 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7254 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7255 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7256 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7257 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7258 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7259 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7260 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7261 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7262 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7263 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7264 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7265 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7266 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7267 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7268 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7269 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7270 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7271 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7272 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7273 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7274 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7275 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7276 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7277 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7278 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7279 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7280 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7281 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7282 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7283 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7288 .tap = { 499 - 16, 16 },
7292 static struct cipher_testvec tf_lrw_enc_tv_template[] = {
7293 /* Generated from AES-LRW test vectors */
7295 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
7296 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
7297 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
7298 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
7300 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7301 "\x00\x00\x00\x00\x00\x00\x00\x01",
7302 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
7303 "\x38\x39\x41\x42\x43\x44\x45\x46",
7305 .result = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
7306 "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
7309 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
7310 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
7311 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
7312 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
7314 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7315 "\x00\x00\x00\x00\x00\x00\x00\x02",
7316 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
7317 "\x38\x39\x41\x42\x43\x44\x45\x46",
7319 .result = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
7320 "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
7323 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
7324 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
7325 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
7326 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
7328 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7329 "\x00\x00\x00\x02\x00\x00\x00\x00",
7330 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
7331 "\x38\x39\x41\x42\x43\x44\x45\x46",
7333 .result = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
7334 "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
7337 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
7338 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
7339 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
7340 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
7341 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
7343 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7344 "\x00\x00\x00\x00\x00\x00\x00\x01",
7345 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
7346 "\x38\x39\x41\x42\x43\x44\x45\x46",
7348 .result = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
7349 "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
7352 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
7353 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
7354 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
7355 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
7356 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
7358 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7359 "\x00\x00\x00\x02\x00\x00\x00\x00",
7360 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
7361 "\x38\x39\x41\x42\x43\x44\x45\x46",
7363 .result = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
7364 "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
7367 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
7368 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
7369 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
7370 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
7371 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
7372 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
7374 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7375 "\x00\x00\x00\x00\x00\x00\x00\x01",
7376 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
7377 "\x38\x39\x41\x42\x43\x44\x45\x46",
7379 .result = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
7380 "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
7383 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
7384 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
7385 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
7386 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
7387 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
7388 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
7390 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7391 "\x00\x00\x00\x02\x00\x00\x00\x00",
7392 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
7393 "\x38\x39\x41\x42\x43\x44\x45\x46",
7395 .result = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
7396 "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
7399 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
7400 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
7401 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
7402 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
7403 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
7404 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
7406 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7407 "\x00\x00\x00\x00\x00\x00\x00\x01",
7408 .input = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
7409 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
7410 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
7411 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
7412 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
7413 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
7414 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
7415 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
7416 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
7417 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
7418 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
7419 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
7420 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
7421 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
7422 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
7423 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
7424 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
7425 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
7426 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
7427 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
7428 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
7429 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
7430 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
7431 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
7432 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
7433 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
7434 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
7435 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
7436 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
7437 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
7438 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
7439 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
7440 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
7441 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
7442 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
7443 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
7444 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
7445 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
7446 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
7447 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
7448 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
7449 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
7450 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
7451 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
7452 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
7453 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
7454 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
7455 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
7456 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
7457 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
7458 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
7459 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
7460 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
7461 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
7462 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
7463 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
7464 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
7465 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
7466 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
7467 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
7468 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
7469 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
7470 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
7471 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
7473 .result = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
7474 "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
7475 "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
7476 "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
7477 "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
7478 "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
7479 "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
7480 "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
7481 "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
7482 "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
7483 "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
7484 "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
7485 "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
7486 "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
7487 "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
7488 "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
7489 "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
7490 "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
7491 "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
7492 "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
7493 "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
7494 "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
7495 "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
7496 "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
7497 "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
7498 "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
7499 "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
7500 "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
7501 "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
7502 "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
7503 "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
7504 "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
7505 "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
7506 "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
7507 "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
7508 "\x3e\xae\x71\x90\x07\x70\x1c\x38"
7509 "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
7510 "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
7511 "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
7512 "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
7513 "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
7514 "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
7515 "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
7516 "\x93\x51\x1d\x3d\x62\x59\x83\x82"
7517 "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
7518 "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
7519 "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
7520 "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
7521 "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
7522 "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
7523 "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
7524 "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
7525 "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
7526 "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
7527 "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
7528 "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
7529 "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
7530 "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
7531 "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
7532 "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
7533 "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
7534 "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
7535 "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
7536 "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
7540 .tap = { 512 - 16, 16 },
7544 static struct cipher_testvec tf_lrw_dec_tv_template[] = {
7545 /* Generated from AES-LRW test vectors */
7546 /* same as enc vectors with input and result reversed */
7548 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
7549 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
7550 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
7551 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
7553 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7554 "\x00\x00\x00\x00\x00\x00\x00\x01",
7555 .input = "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
7556 "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
7558 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
7559 "\x38\x39\x41\x42\x43\x44\x45\x46",
7562 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
7563 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
7564 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
7565 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
7567 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7568 "\x00\x00\x00\x00\x00\x00\x00\x02",
7569 .input = "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
7570 "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
7572 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
7573 "\x38\x39\x41\x42\x43\x44\x45\x46",
7576 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
7577 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
7578 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
7579 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
7581 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7582 "\x00\x00\x00\x02\x00\x00\x00\x00",
7583 .input = "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
7584 "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
7586 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
7587 "\x38\x39\x41\x42\x43\x44\x45\x46",
7590 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
7591 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
7592 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
7593 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
7594 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
7596 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7597 "\x00\x00\x00\x00\x00\x00\x00\x01",
7598 .input = "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
7599 "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
7601 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
7602 "\x38\x39\x41\x42\x43\x44\x45\x46",
7605 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
7606 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
7607 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
7608 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
7609 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
7611 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7612 "\x00\x00\x00\x02\x00\x00\x00\x00",
7613 .input = "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
7614 "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
7616 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
7617 "\x38\x39\x41\x42\x43\x44\x45\x46",
7620 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
7621 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
7622 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
7623 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
7624 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
7625 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
7627 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7628 "\x00\x00\x00\x00\x00\x00\x00\x01",
7629 .input = "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
7630 "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
7632 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
7633 "\x38\x39\x41\x42\x43\x44\x45\x46",
7636 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
7637 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
7638 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
7639 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
7640 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
7641 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
7643 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7644 "\x00\x00\x00\x02\x00\x00\x00\x00",
7645 .input = "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
7646 "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
7648 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
7649 "\x38\x39\x41\x42\x43\x44\x45\x46",
7652 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
7653 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
7654 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
7655 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
7656 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
7657 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
7659 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7660 "\x00\x00\x00\x00\x00\x00\x00\x01",
7661 .input = "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
7662 "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
7663 "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
7664 "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
7665 "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
7666 "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
7667 "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
7668 "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
7669 "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
7670 "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
7671 "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
7672 "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
7673 "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
7674 "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
7675 "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
7676 "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
7677 "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
7678 "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
7679 "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
7680 "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
7681 "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
7682 "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
7683 "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
7684 "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
7685 "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
7686 "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
7687 "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
7688 "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
7689 "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
7690 "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
7691 "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
7692 "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
7693 "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
7694 "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
7695 "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
7696 "\x3e\xae\x71\x90\x07\x70\x1c\x38"
7697 "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
7698 "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
7699 "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
7700 "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
7701 "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
7702 "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
7703 "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
7704 "\x93\x51\x1d\x3d\x62\x59\x83\x82"
7705 "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
7706 "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
7707 "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
7708 "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
7709 "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
7710 "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
7711 "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
7712 "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
7713 "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
7714 "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
7715 "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
7716 "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
7717 "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
7718 "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
7719 "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
7720 "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
7721 "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
7722 "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
7723 "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
7724 "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
7726 .result = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
7727 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
7728 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
7729 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
7730 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
7731 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
7732 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
7733 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
7734 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
7735 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
7736 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
7737 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
7738 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
7739 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
7740 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
7741 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
7742 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
7743 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
7744 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
7745 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
7746 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
7747 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
7748 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
7749 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
7750 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
7751 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
7752 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
7753 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
7754 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
7755 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
7756 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
7757 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
7758 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
7759 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
7760 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
7761 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
7762 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
7763 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
7764 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
7765 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
7766 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
7767 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
7768 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
7769 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
7770 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
7771 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
7772 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
7773 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
7774 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
7775 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
7776 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
7777 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
7778 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
7779 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
7780 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
7781 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
7782 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
7783 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
7784 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
7785 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
7786 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
7787 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
7788 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
7789 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
7793 .tap = { 512 - 16, 16 },
7797 static struct cipher_testvec tf_xts_enc_tv_template[] = {
7798 /* Generated from AES-XTS test vectors */
7800 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
7801 "\x00\x00\x00\x00\x00\x00\x00\x00"
7802 "\x00\x00\x00\x00\x00\x00\x00\x00"
7803 "\x00\x00\x00\x00\x00\x00\x00\x00",
7805 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7806 "\x00\x00\x00\x00\x00\x00\x00\x00",
7807 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
7808 "\x00\x00\x00\x00\x00\x00\x00\x00"
7809 "\x00\x00\x00\x00\x00\x00\x00\x00"
7810 "\x00\x00\x00\x00\x00\x00\x00\x00",
7812 .result = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
7813 "\x30\x74\xe4\x44\x52\x77\x97\x43"
7814 "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
7815 "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
7818 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
7819 "\x11\x11\x11\x11\x11\x11\x11\x11"
7820 "\x22\x22\x22\x22\x22\x22\x22\x22"
7821 "\x22\x22\x22\x22\x22\x22\x22\x22",
7823 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
7824 "\x00\x00\x00\x00\x00\x00\x00\x00",
7825 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
7826 "\x44\x44\x44\x44\x44\x44\x44\x44"
7827 "\x44\x44\x44\x44\x44\x44\x44\x44"
7828 "\x44\x44\x44\x44\x44\x44\x44\x44",
7830 .result = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
7831 "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
7832 "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
7833 "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
7836 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
7837 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
7838 "\x22\x22\x22\x22\x22\x22\x22\x22"
7839 "\x22\x22\x22\x22\x22\x22\x22\x22",
7841 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
7842 "\x00\x00\x00\x00\x00\x00\x00\x00",
7843 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
7844 "\x44\x44\x44\x44\x44\x44\x44\x44"
7845 "\x44\x44\x44\x44\x44\x44\x44\x44"
7846 "\x44\x44\x44\x44\x44\x44\x44\x44",
7848 .result = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
7849 "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
7850 "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
7851 "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
7854 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
7855 "\x23\x53\x60\x28\x74\x71\x35\x26"
7856 "\x31\x41\x59\x26\x53\x58\x97\x93"
7857 "\x23\x84\x62\x64\x33\x83\x27\x95",
7859 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
7860 "\x00\x00\x00\x00\x00\x00\x00\x00",
7861 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
7862 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
7863 "\x10\x11\x12\x13\x14\x15\x16\x17"
7864 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
7865 "\x20\x21\x22\x23\x24\x25\x26\x27"
7866 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
7867 "\x30\x31\x32\x33\x34\x35\x36\x37"
7868 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
7869 "\x40\x41\x42\x43\x44\x45\x46\x47"
7870 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
7871 "\x50\x51\x52\x53\x54\x55\x56\x57"
7872 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
7873 "\x60\x61\x62\x63\x64\x65\x66\x67"
7874 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
7875 "\x70\x71\x72\x73\x74\x75\x76\x77"
7876 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
7877 "\x80\x81\x82\x83\x84\x85\x86\x87"
7878 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
7879 "\x90\x91\x92\x93\x94\x95\x96\x97"
7880 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
7881 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
7882 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
7883 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
7884 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
7885 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
7886 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
7887 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
7888 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
7889 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
7890 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
7891 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
7892 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
7893 "\x00\x01\x02\x03\x04\x05\x06\x07"
7894 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
7895 "\x10\x11\x12\x13\x14\x15\x16\x17"
7896 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
7897 "\x20\x21\x22\x23\x24\x25\x26\x27"
7898 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
7899 "\x30\x31\x32\x33\x34\x35\x36\x37"
7900 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
7901 "\x40\x41\x42\x43\x44\x45\x46\x47"
7902 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
7903 "\x50\x51\x52\x53\x54\x55\x56\x57"
7904 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
7905 "\x60\x61\x62\x63\x64\x65\x66\x67"
7906 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
7907 "\x70\x71\x72\x73\x74\x75\x76\x77"
7908 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
7909 "\x80\x81\x82\x83\x84\x85\x86\x87"
7910 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
7911 "\x90\x91\x92\x93\x94\x95\x96\x97"
7912 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
7913 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
7914 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
7915 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
7916 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
7917 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
7918 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
7919 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
7920 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
7921 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
7922 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
7923 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
7924 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
7926 .result = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
7927 "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
7928 "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
7929 "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
7930 "\xea\x35\x35\x8c\xb2\x46\x61\x06"
7931 "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
7932 "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
7933 "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
7934 "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
7935 "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
7936 "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
7937 "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
7938 "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
7939 "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
7940 "\x01\x73\x68\x32\x25\x19\xfa\xfb"
7941 "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
7942 "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
7943 "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
7944 "\x39\x80\x39\x09\x97\x65\xf2\x83"
7945 "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
7946 "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
7947 "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
7948 "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
7949 "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
7950 "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
7951 "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
7952 "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
7953 "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
7954 "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
7955 "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
7956 "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
7957 "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
7958 "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
7959 "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
7960 "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
7961 "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
7962 "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
7963 "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
7964 "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
7965 "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
7966 "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
7967 "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
7968 "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
7969 "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
7970 "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
7971 "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
7972 "\x04\x39\x73\x32\xb2\x86\x79\xe7"
7973 "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
7974 "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
7975 "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
7976 "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
7977 "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
7978 "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
7979 "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
7980 "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
7981 "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
7982 "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
7983 "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
7984 "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
7985 "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
7986 "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
7987 "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
7988 "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
7989 "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
7992 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
7993 "\x23\x53\x60\x28\x74\x71\x35\x26"
7994 "\x62\x49\x77\x57\x24\x70\x93\x69"
7995 "\x99\x59\x57\x49\x66\x96\x76\x27"
7996 "\x31\x41\x59\x26\x53\x58\x97\x93"
7997 "\x23\x84\x62\x64\x33\x83\x27\x95"
7998 "\x02\x88\x41\x97\x16\x93\x99\x37"
7999 "\x51\x05\x82\x09\x74\x94\x45\x92",
8001 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
8002 "\x00\x00\x00\x00\x00\x00\x00\x00",
8003 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
8004 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8005 "\x10\x11\x12\x13\x14\x15\x16\x17"
8006 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
8007 "\x20\x21\x22\x23\x24\x25\x26\x27"
8008 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
8009 "\x30\x31\x32\x33\x34\x35\x36\x37"
8010 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
8011 "\x40\x41\x42\x43\x44\x45\x46\x47"
8012 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
8013 "\x50\x51\x52\x53\x54\x55\x56\x57"
8014 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
8015 "\x60\x61\x62\x63\x64\x65\x66\x67"
8016 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
8017 "\x70\x71\x72\x73\x74\x75\x76\x77"
8018 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
8019 "\x80\x81\x82\x83\x84\x85\x86\x87"
8020 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
8021 "\x90\x91\x92\x93\x94\x95\x96\x97"
8022 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
8023 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
8024 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
8025 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
8026 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
8027 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
8028 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
8029 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
8030 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
8031 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
8032 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
8033 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
8034 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
8035 "\x00\x01\x02\x03\x04\x05\x06\x07"
8036 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8037 "\x10\x11\x12\x13\x14\x15\x16\x17"
8038 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
8039 "\x20\x21\x22\x23\x24\x25\x26\x27"
8040 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
8041 "\x30\x31\x32\x33\x34\x35\x36\x37"
8042 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
8043 "\x40\x41\x42\x43\x44\x45\x46\x47"
8044 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
8045 "\x50\x51\x52\x53\x54\x55\x56\x57"
8046 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
8047 "\x60\x61\x62\x63\x64\x65\x66\x67"
8048 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
8049 "\x70\x71\x72\x73\x74\x75\x76\x77"
8050 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
8051 "\x80\x81\x82\x83\x84\x85\x86\x87"
8052 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
8053 "\x90\x91\x92\x93\x94\x95\x96\x97"
8054 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
8055 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
8056 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
8057 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
8058 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
8059 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
8060 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
8061 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
8062 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
8063 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
8064 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
8065 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
8066 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
8068 .result = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
8069 "\x35\x39\x71\x88\x76\x1e\xc9\xea"
8070 "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
8071 "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
8072 "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
8073 "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
8074 "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
8075 "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
8076 "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
8077 "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
8078 "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
8079 "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
8080 "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
8081 "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
8082 "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
8083 "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
8084 "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
8085 "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
8086 "\x69\x35\x61\x86\xf8\x86\xb9\x89"
8087 "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
8088 "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
8089 "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
8090 "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
8091 "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
8092 "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
8093 "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
8094 "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
8095 "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
8096 "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
8097 "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
8098 "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
8099 "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
8100 "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
8101 "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
8102 "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
8103 "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
8104 "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
8105 "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
8106 "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
8107 "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
8108 "\xad\x12\x32\x31\x03\xf7\x21\xbe"
8109 "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
8110 "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
8111 "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
8112 "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
8113 "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
8114 "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
8115 "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
8116 "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
8117 "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
8118 "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
8119 "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
8120 "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
8121 "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
8122 "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
8123 "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
8124 "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
8125 "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
8126 "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
8127 "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
8128 "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
8129 "\xf3\xea\x67\x52\x78\xc2\xce\x70"
8130 "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
8131 "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
8135 .tap = { 512 - 16, 16 },
8139 static struct cipher_testvec tf_xts_dec_tv_template[] = {
8140 /* Generated from AES-XTS test vectors */
8141 /* same as enc vectors with input and result reversed */
8143 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
8144 "\x00\x00\x00\x00\x00\x00\x00\x00"
8145 "\x00\x00\x00\x00\x00\x00\x00\x00"
8146 "\x00\x00\x00\x00\x00\x00\x00\x00",
8148 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
8149 "\x00\x00\x00\x00\x00\x00\x00\x00",
8150 .input = "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
8151 "\x30\x74\xe4\x44\x52\x77\x97\x43"
8152 "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
8153 "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
8155 .result = "\x00\x00\x00\x00\x00\x00\x00\x00"
8156 "\x00\x00\x00\x00\x00\x00\x00\x00"
8157 "\x00\x00\x00\x00\x00\x00\x00\x00"
8158 "\x00\x00\x00\x00\x00\x00\x00\x00",
8161 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
8162 "\x11\x11\x11\x11\x11\x11\x11\x11"
8163 "\x22\x22\x22\x22\x22\x22\x22\x22"
8164 "\x22\x22\x22\x22\x22\x22\x22\x22",
8166 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
8167 "\x00\x00\x00\x00\x00\x00\x00\x00",
8168 .input = "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
8169 "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
8170 "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
8171 "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
8173 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
8174 "\x44\x44\x44\x44\x44\x44\x44\x44"
8175 "\x44\x44\x44\x44\x44\x44\x44\x44"
8176 "\x44\x44\x44\x44\x44\x44\x44\x44",
8179 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
8180 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
8181 "\x22\x22\x22\x22\x22\x22\x22\x22"
8182 "\x22\x22\x22\x22\x22\x22\x22\x22",
8184 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
8185 "\x00\x00\x00\x00\x00\x00\x00\x00",
8186 .input = "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
8187 "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
8188 "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
8189 "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
8191 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
8192 "\x44\x44\x44\x44\x44\x44\x44\x44"
8193 "\x44\x44\x44\x44\x44\x44\x44\x44"
8194 "\x44\x44\x44\x44\x44\x44\x44\x44",
8197 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
8198 "\x23\x53\x60\x28\x74\x71\x35\x26"
8199 "\x31\x41\x59\x26\x53\x58\x97\x93"
8200 "\x23\x84\x62\x64\x33\x83\x27\x95",
8202 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
8203 "\x00\x00\x00\x00\x00\x00\x00\x00",
8204 .input = "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
8205 "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
8206 "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
8207 "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
8208 "\xea\x35\x35\x8c\xb2\x46\x61\x06"
8209 "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
8210 "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
8211 "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
8212 "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
8213 "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
8214 "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
8215 "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
8216 "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
8217 "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
8218 "\x01\x73\x68\x32\x25\x19\xfa\xfb"
8219 "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
8220 "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
8221 "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
8222 "\x39\x80\x39\x09\x97\x65\xf2\x83"
8223 "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
8224 "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
8225 "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
8226 "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
8227 "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
8228 "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
8229 "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
8230 "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
8231 "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
8232 "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
8233 "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
8234 "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
8235 "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
8236 "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
8237 "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
8238 "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
8239 "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
8240 "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
8241 "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
8242 "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
8243 "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
8244 "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
8245 "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
8246 "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
8247 "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
8248 "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
8249 "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
8250 "\x04\x39\x73\x32\xb2\x86\x79\xe7"
8251 "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
8252 "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
8253 "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
8254 "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
8255 "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
8256 "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
8257 "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
8258 "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
8259 "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
8260 "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
8261 "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
8262 "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
8263 "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
8264 "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
8265 "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
8266 "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
8267 "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
8269 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
8270 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8271 "\x10\x11\x12\x13\x14\x15\x16\x17"
8272 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
8273 "\x20\x21\x22\x23\x24\x25\x26\x27"
8274 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
8275 "\x30\x31\x32\x33\x34\x35\x36\x37"
8276 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
8277 "\x40\x41\x42\x43\x44\x45\x46\x47"
8278 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
8279 "\x50\x51\x52\x53\x54\x55\x56\x57"
8280 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
8281 "\x60\x61\x62\x63\x64\x65\x66\x67"
8282 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
8283 "\x70\x71\x72\x73\x74\x75\x76\x77"
8284 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
8285 "\x80\x81\x82\x83\x84\x85\x86\x87"
8286 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
8287 "\x90\x91\x92\x93\x94\x95\x96\x97"
8288 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
8289 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
8290 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
8291 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
8292 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
8293 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
8294 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
8295 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
8296 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
8297 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
8298 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
8299 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
8300 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
8301 "\x00\x01\x02\x03\x04\x05\x06\x07"
8302 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8303 "\x10\x11\x12\x13\x14\x15\x16\x17"
8304 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
8305 "\x20\x21\x22\x23\x24\x25\x26\x27"
8306 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
8307 "\x30\x31\x32\x33\x34\x35\x36\x37"
8308 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
8309 "\x40\x41\x42\x43\x44\x45\x46\x47"
8310 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
8311 "\x50\x51\x52\x53\x54\x55\x56\x57"
8312 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
8313 "\x60\x61\x62\x63\x64\x65\x66\x67"
8314 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
8315 "\x70\x71\x72\x73\x74\x75\x76\x77"
8316 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
8317 "\x80\x81\x82\x83\x84\x85\x86\x87"
8318 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
8319 "\x90\x91\x92\x93\x94\x95\x96\x97"
8320 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
8321 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
8322 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
8323 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
8324 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
8325 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
8326 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
8327 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
8328 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
8329 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
8330 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
8331 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
8332 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
8335 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
8336 "\x23\x53\x60\x28\x74\x71\x35\x26"
8337 "\x62\x49\x77\x57\x24\x70\x93\x69"
8338 "\x99\x59\x57\x49\x66\x96\x76\x27"
8339 "\x31\x41\x59\x26\x53\x58\x97\x93"
8340 "\x23\x84\x62\x64\x33\x83\x27\x95"
8341 "\x02\x88\x41\x97\x16\x93\x99\x37"
8342 "\x51\x05\x82\x09\x74\x94\x45\x92",
8344 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
8345 "\x00\x00\x00\x00\x00\x00\x00\x00",
8346 .input = "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
8347 "\x35\x39\x71\x88\x76\x1e\xc9\xea"
8348 "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
8349 "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
8350 "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
8351 "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
8352 "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
8353 "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
8354 "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
8355 "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
8356 "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
8357 "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
8358 "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
8359 "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
8360 "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
8361 "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
8362 "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
8363 "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
8364 "\x69\x35\x61\x86\xf8\x86\xb9\x89"
8365 "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
8366 "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
8367 "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
8368 "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
8369 "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
8370 "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
8371 "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
8372 "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
8373 "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
8374 "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
8375 "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
8376 "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
8377 "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
8378 "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
8379 "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
8380 "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
8381 "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
8382 "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
8383 "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
8384 "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
8385 "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
8386 "\xad\x12\x32\x31\x03\xf7\x21\xbe"
8387 "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
8388 "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
8389 "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
8390 "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
8391 "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
8392 "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
8393 "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
8394 "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
8395 "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
8396 "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
8397 "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
8398 "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
8399 "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
8400 "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
8401 "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
8402 "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
8403 "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
8404 "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
8405 "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
8406 "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
8407 "\xf3\xea\x67\x52\x78\xc2\xce\x70"
8408 "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
8409 "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
8411 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
8412 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8413 "\x10\x11\x12\x13\x14\x15\x16\x17"
8414 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
8415 "\x20\x21\x22\x23\x24\x25\x26\x27"
8416 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
8417 "\x30\x31\x32\x33\x34\x35\x36\x37"
8418 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
8419 "\x40\x41\x42\x43\x44\x45\x46\x47"
8420 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
8421 "\x50\x51\x52\x53\x54\x55\x56\x57"
8422 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
8423 "\x60\x61\x62\x63\x64\x65\x66\x67"
8424 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
8425 "\x70\x71\x72\x73\x74\x75\x76\x77"
8426 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
8427 "\x80\x81\x82\x83\x84\x85\x86\x87"
8428 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
8429 "\x90\x91\x92\x93\x94\x95\x96\x97"
8430 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
8431 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
8432 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
8433 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
8434 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
8435 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
8436 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
8437 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
8438 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
8439 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
8440 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
8441 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
8442 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
8443 "\x00\x01\x02\x03\x04\x05\x06\x07"
8444 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8445 "\x10\x11\x12\x13\x14\x15\x16\x17"
8446 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
8447 "\x20\x21\x22\x23\x24\x25\x26\x27"
8448 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
8449 "\x30\x31\x32\x33\x34\x35\x36\x37"
8450 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
8451 "\x40\x41\x42\x43\x44\x45\x46\x47"
8452 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
8453 "\x50\x51\x52\x53\x54\x55\x56\x57"
8454 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
8455 "\x60\x61\x62\x63\x64\x65\x66\x67"
8456 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
8457 "\x70\x71\x72\x73\x74\x75\x76\x77"
8458 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
8459 "\x80\x81\x82\x83\x84\x85\x86\x87"
8460 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
8461 "\x90\x91\x92\x93\x94\x95\x96\x97"
8462 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
8463 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
8464 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
8465 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
8466 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
8467 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
8468 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
8469 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
8470 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
8471 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
8472 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
8473 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
8474 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
8478 .tap = { 512 - 16, 16 },
8483 * Serpent test vectors. These are backwards because Serpent writes
8484 * octet sequences in right-to-left mode.
8486 #define SERPENT_ENC_TEST_VECTORS 5
8487 #define SERPENT_DEC_TEST_VECTORS 5
8489 #define TNEPRES_ENC_TEST_VECTORS 4
8490 #define TNEPRES_DEC_TEST_VECTORS 4
8492 #define SERPENT_CBC_ENC_TEST_VECTORS 1
8493 #define SERPENT_CBC_DEC_TEST_VECTORS 1
8495 #define SERPENT_CTR_ENC_TEST_VECTORS 2
8496 #define SERPENT_CTR_DEC_TEST_VECTORS 2
8498 #define SERPENT_LRW_ENC_TEST_VECTORS 8
8499 #define SERPENT_LRW_DEC_TEST_VECTORS 8
8501 #define SERPENT_XTS_ENC_TEST_VECTORS 5
8502 #define SERPENT_XTS_DEC_TEST_VECTORS 5
8504 static struct cipher_testvec serpent_enc_tv_template[] = {
8506 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
8507 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8509 .result = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
8510 "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
8513 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
8514 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8516 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
8517 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8519 .result = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
8520 "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
8523 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
8524 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8525 "\x10\x11\x12\x13\x14\x15\x16\x17"
8526 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
8528 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
8529 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8531 .result = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
8532 "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
8535 .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
8537 .input = zeroed_string,
8539 .result = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
8540 "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
8542 }, { /* Generated with Crypto++ */
8543 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8544 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8545 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8546 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8548 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8549 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8550 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8551 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8552 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8553 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8554 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8555 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8556 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8557 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8558 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8559 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8560 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8561 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8562 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8563 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8564 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8565 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8566 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8567 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8568 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8569 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8570 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8571 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8572 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8573 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8574 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8575 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8576 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8577 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8578 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8579 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8580 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8581 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8582 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8583 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8584 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8585 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8586 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8587 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8588 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8589 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8590 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8591 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8592 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8593 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8594 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8595 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8596 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8597 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8598 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8599 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8600 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8601 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8602 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8603 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8604 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8605 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8606 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8607 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8608 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8609 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8611 .result = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
8612 "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
8613 "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
8614 "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
8615 "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
8616 "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
8617 "\x99\x34\x89\x5B\x54\xE9\x12\x13"
8618 "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
8619 "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
8620 "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
8621 "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
8622 "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
8623 "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
8624 "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
8625 "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
8626 "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
8627 "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
8628 "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
8629 "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
8630 "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
8631 "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
8632 "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
8633 "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
8634 "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
8635 "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
8636 "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
8637 "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
8638 "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
8639 "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
8640 "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
8641 "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
8642 "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
8643 "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
8644 "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
8645 "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
8646 "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
8647 "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
8648 "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
8649 "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
8650 "\x87\x70\x14\xD0\x01\x57\xCB\x42"
8651 "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
8652 "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
8653 "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
8654 "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
8655 "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
8656 "\x71\x80\x05\x35\x3F\x40\x0B\x21"
8657 "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
8658 "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
8659 "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
8660 "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
8661 "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
8662 "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
8663 "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
8664 "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
8665 "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
8666 "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
8667 "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
8668 "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
8669 "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
8670 "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
8671 "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
8672 "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
8676 .tap = { 496 - 16, 16 },
8680 static struct cipher_testvec tnepres_enc_tv_template[] = {
8681 { /* KeySize=128, PT=0, I=1 */
8682 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
8683 "\x00\x00\x00\x00\x00\x00\x00\x00",
8684 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
8685 "\x00\x00\x00\x00\x00\x00\x00\x00",
8688 .result = "\x49\xaf\xbf\xad\x9d\x5a\x34\x05"
8689 "\x2c\xd8\xff\xa5\x98\x6b\xd2\xdd",
8691 }, { /* KeySize=192, PT=0, I=1 */
8692 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
8693 "\x00\x00\x00\x00\x00\x00\x00\x00"
8694 "\x00\x00\x00\x00\x00\x00\x00\x00",
8696 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
8697 "\x00\x00\x00\x00\x00\x00\x00\x00",
8699 .result = "\xe7\x8e\x54\x02\xc7\x19\x55\x68"
8700 "\xac\x36\x78\xf7\xa3\xf6\x0c\x66",
8702 }, { /* KeySize=256, PT=0, I=1 */
8703 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
8704 "\x00\x00\x00\x00\x00\x00\x00\x00"
8705 "\x00\x00\x00\x00\x00\x00\x00\x00"
8706 "\x00\x00\x00\x00\x00\x00\x00\x00",
8708 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
8709 "\x00\x00\x00\x00\x00\x00\x00\x00",
8711 .result = "\xab\xed\x96\xe7\x66\xbf\x28\xcb"
8712 "\xc0\xeb\xd2\x1a\x82\xef\x08\x19",
8714 }, { /* KeySize=256, I=257 */
8715 .key = "\x1f\x1e\x1d\x1c\x1b\x1a\x19\x18"
8716 "\x17\x16\x15\x14\x13\x12\x11\x10"
8717 "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
8718 "\x07\x06\x05\x04\x03\x02\x01\x00",
8720 .input = "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
8721 "\x07\x06\x05\x04\x03\x02\x01\x00",
8723 .result = "\x5c\xe7\x1c\x70\xd2\x88\x2e\x5b"
8724 "\xb8\x32\xe4\x33\xf8\x9f\x26\xde",
8730 static struct cipher_testvec serpent_dec_tv_template[] = {
8732 .input = "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
8733 "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
8735 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
8736 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8739 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
8740 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8742 .input = "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
8743 "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
8745 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
8746 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8749 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
8750 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8751 "\x10\x11\x12\x13\x14\x15\x16\x17"
8752 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
8754 .input = "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
8755 "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
8757 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
8758 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8761 .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
8763 .input = "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
8764 "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
8766 .result = zeroed_string,
8768 }, { /* Generated with Crypto++ */
8769 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8770 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8771 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8772 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8774 .input = "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
8775 "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
8776 "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
8777 "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
8778 "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
8779 "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
8780 "\x99\x34\x89\x5B\x54\xE9\x12\x13"
8781 "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
8782 "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
8783 "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
8784 "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
8785 "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
8786 "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
8787 "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
8788 "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
8789 "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
8790 "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
8791 "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
8792 "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
8793 "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
8794 "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
8795 "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
8796 "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
8797 "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
8798 "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
8799 "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
8800 "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
8801 "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
8802 "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
8803 "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
8804 "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
8805 "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
8806 "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
8807 "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
8808 "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
8809 "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
8810 "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
8811 "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
8812 "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
8813 "\x87\x70\x14\xD0\x01\x57\xCB\x42"
8814 "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
8815 "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
8816 "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
8817 "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
8818 "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
8819 "\x71\x80\x05\x35\x3F\x40\x0B\x21"
8820 "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
8821 "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
8822 "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
8823 "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
8824 "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
8825 "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
8826 "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
8827 "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
8828 "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
8829 "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
8830 "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
8831 "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
8832 "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
8833 "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
8834 "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
8835 "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
8837 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8838 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8839 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8840 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8841 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8842 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8843 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8844 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8845 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8846 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8847 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8848 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8849 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8850 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8851 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8852 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8853 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8854 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8855 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8856 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8857 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8858 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8859 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8860 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8861 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8862 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8863 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8864 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8865 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8866 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8867 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8868 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8869 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8870 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8871 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8872 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8873 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8874 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8875 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8876 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8877 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8878 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8879 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8880 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8881 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8882 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8883 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8884 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8885 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8886 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8887 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8888 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8889 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8890 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8891 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8892 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8893 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8894 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8895 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8896 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8897 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8898 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8902 .tap = { 496 - 16, 16 },
8906 static struct cipher_testvec tnepres_dec_tv_template[] = {
8908 .input = "\x41\xcc\x6b\x31\x59\x31\x45\x97"
8909 "\x6d\x6f\xbb\x38\x4b\x37\x21\x28",
8911 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
8912 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8915 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
8916 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8918 .input = "\xea\xf4\xd7\xfc\xd8\x01\x34\x47"
8919 "\x81\x45\x0b\xfa\x0c\xd6\xad\x6e",
8921 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
8922 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8925 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
8926 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
8927 "\x10\x11\x12\x13\x14\x15\x16\x17"
8928 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
8930 .input = "\x64\xa9\x1a\x37\xed\x9f\xe7\x49"
8931 "\xa8\x4e\x76\xd6\xf5\x0d\x78\xee",
8933 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
8934 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
8936 }, { /* KeySize=128, I=121 */
8937 .key = "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
8939 .input = "\x3d\xda\xbf\xc0\x06\xda\xab\x06"
8940 "\x46\x2a\xf4\xef\x81\x54\x4e\x26",
8942 .result = zeroed_string,
8947 static struct cipher_testvec serpent_cbc_enc_tv_template[] = {
8948 { /* Generated with Crypto++ */
8949 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8950 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8951 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8952 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8954 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8955 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8956 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8957 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8958 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8959 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8960 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8961 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8962 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8963 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8964 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8965 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8966 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8967 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8968 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8969 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8970 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8971 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8972 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8973 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8974 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8975 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8976 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8977 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8978 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8979 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8980 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8981 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8982 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8983 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8984 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8985 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8986 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8987 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8988 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8989 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8990 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8991 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8992 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8993 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8994 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8995 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8996 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8997 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8998 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8999 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9000 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9001 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9002 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9003 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9004 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9005 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9006 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9007 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9008 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9009 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9010 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9011 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9012 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9013 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9014 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9015 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9016 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9017 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9019 .result = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
9020 "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
9021 "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
9022 "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
9023 "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
9024 "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
9025 "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
9026 "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
9027 "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
9028 "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
9029 "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
9030 "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
9031 "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
9032 "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
9033 "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
9034 "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
9035 "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
9036 "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
9037 "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
9038 "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
9039 "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
9040 "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
9041 "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
9042 "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
9043 "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
9044 "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
9045 "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
9046 "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
9047 "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
9048 "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
9049 "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
9050 "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
9051 "\x81\x92\x66\x67\x15\x1E\x39\x98"
9052 "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
9053 "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
9054 "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
9055 "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
9056 "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
9057 "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
9058 "\x04\x05\x46\xD3\x90\x0F\x64\x64"
9059 "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
9060 "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
9061 "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
9062 "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
9063 "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
9064 "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
9065 "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
9066 "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
9067 "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
9068 "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
9069 "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
9070 "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
9071 "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
9072 "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
9073 "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
9074 "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
9075 "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
9076 "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
9077 "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
9078 "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
9079 "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
9080 "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
9084 .tap = { 496 - 16, 16 },
9088 static struct cipher_testvec serpent_cbc_dec_tv_template[] = {
9089 { /* Generated with Crypto++ */
9090 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9091 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9092 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9093 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9095 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9096 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9097 .input = "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
9098 "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
9099 "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
9100 "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
9101 "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
9102 "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
9103 "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
9104 "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
9105 "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
9106 "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
9107 "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
9108 "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
9109 "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
9110 "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
9111 "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
9112 "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
9113 "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
9114 "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
9115 "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
9116 "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
9117 "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
9118 "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
9119 "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
9120 "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
9121 "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
9122 "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
9123 "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
9124 "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
9125 "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
9126 "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
9127 "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
9128 "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
9129 "\x81\x92\x66\x67\x15\x1E\x39\x98"
9130 "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
9131 "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
9132 "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
9133 "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
9134 "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
9135 "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
9136 "\x04\x05\x46\xD3\x90\x0F\x64\x64"
9137 "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
9138 "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
9139 "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
9140 "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
9141 "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
9142 "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
9143 "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
9144 "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
9145 "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
9146 "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
9147 "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
9148 "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
9149 "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
9150 "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
9151 "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
9152 "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
9153 "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
9154 "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
9155 "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
9156 "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
9157 "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
9158 "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
9160 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9161 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9162 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9163 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9164 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9165 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9166 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9167 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9168 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9169 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9170 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9171 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9172 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9173 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9174 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9175 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9176 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9177 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9178 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9179 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9180 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9181 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9182 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9183 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9184 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9185 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9186 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9187 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9188 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9189 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9190 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9191 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9192 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9193 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9194 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9195 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9196 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9197 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9198 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9199 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9200 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9201 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9202 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9203 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9204 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9205 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9206 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9207 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9208 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9209 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9210 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9211 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9212 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9213 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9214 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9215 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9216 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9217 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9218 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9219 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9220 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9221 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9225 .tap = { 496 - 16, 16 },
9229 static struct cipher_testvec serpent_ctr_enc_tv_template[] = {
9230 { /* Generated with Crypto++ */
9231 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9232 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9233 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9234 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9236 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9237 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9238 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9239 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9240 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9241 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9242 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9243 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9244 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9245 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9246 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9247 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9248 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9249 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9250 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9251 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9252 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9253 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9254 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9255 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9256 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9257 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9258 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9259 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9260 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9261 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9262 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9263 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9264 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9265 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9266 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9267 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9268 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9269 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9270 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9271 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9272 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9273 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9274 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9275 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9276 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9277 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9278 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9279 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9280 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9281 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9282 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9283 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9284 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9285 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9286 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9287 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9288 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9289 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9290 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9291 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9292 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9293 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9294 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9295 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9296 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9297 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9298 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9299 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9301 .result = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
9302 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
9303 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
9304 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
9305 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
9306 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
9307 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
9308 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
9309 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
9310 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
9311 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
9312 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
9313 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
9314 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
9315 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
9316 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
9317 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
9318 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
9319 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
9320 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
9321 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
9322 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
9323 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
9324 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
9325 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
9326 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
9327 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
9328 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
9329 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
9330 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
9331 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
9332 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
9333 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
9334 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
9335 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
9336 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
9337 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
9338 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
9339 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
9340 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
9341 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
9342 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
9343 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
9344 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
9345 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
9346 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
9347 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
9348 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
9349 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
9350 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
9351 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
9352 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
9353 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
9354 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
9355 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
9356 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
9357 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
9358 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
9359 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
9360 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
9361 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
9362 "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
9364 }, { /* Generated with Crypto++ */
9365 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9366 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9367 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9368 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9370 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9371 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9372 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9373 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9374 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9375 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9376 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9377 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9378 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9379 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9380 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9381 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9382 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9383 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9384 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9385 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9386 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9387 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9388 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9389 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9390 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9391 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9392 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9393 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9394 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9395 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9396 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9397 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9398 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9399 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9400 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9401 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9402 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9403 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9404 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9405 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9406 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9407 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9408 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9409 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9410 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9411 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9412 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9413 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9414 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9415 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9416 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9417 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9418 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9419 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9420 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9421 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9422 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9423 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9424 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9425 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9426 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9427 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9428 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9429 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9430 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9431 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9432 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9433 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9436 .result = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
9437 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
9438 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
9439 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
9440 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
9441 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
9442 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
9443 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
9444 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
9445 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
9446 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
9447 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
9448 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
9449 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
9450 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
9451 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
9452 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
9453 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
9454 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
9455 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
9456 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
9457 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
9458 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
9459 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
9460 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
9461 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
9462 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
9463 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
9464 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
9465 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
9466 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
9467 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
9468 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
9469 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
9470 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
9471 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
9472 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
9473 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
9474 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
9475 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
9476 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
9477 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
9478 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
9479 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
9480 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
9481 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
9482 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
9483 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
9484 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
9485 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
9486 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
9487 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
9488 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
9489 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
9490 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
9491 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
9492 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
9493 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
9494 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
9495 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
9496 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
9497 "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
9502 .tap = { 499 - 16, 16 },
9503 }, { /* Generated with Crypto++ */
9504 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9505 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9506 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9507 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9509 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
9510 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9511 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9512 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9513 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9514 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9515 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9516 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9517 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9518 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9519 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9520 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9521 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9522 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9523 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9524 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9525 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9526 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9527 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9528 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9529 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9530 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9531 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9532 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9533 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9534 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9535 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9536 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9537 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9538 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9539 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9540 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9541 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9542 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9543 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9544 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9545 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9546 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9547 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9548 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9549 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9550 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9551 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9552 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9553 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9554 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9555 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9556 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9557 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9558 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9559 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9560 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9561 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9562 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9563 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9564 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9565 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9566 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9567 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9568 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9569 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9570 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9571 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9572 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9574 .result = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
9575 "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
9576 "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
9577 "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
9578 "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
9579 "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
9580 "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
9581 "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
9582 "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
9583 "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
9584 "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
9585 "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
9586 "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
9587 "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
9588 "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
9589 "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
9590 "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
9591 "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
9592 "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
9593 "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
9594 "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
9595 "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
9596 "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
9597 "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
9598 "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
9599 "\x29\x5E\x01\x47\x13\x32\x78\xBE"
9600 "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
9601 "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
9602 "\x38\x35\x11\x26\x4A\xB4\x06\x32"
9603 "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
9604 "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
9605 "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
9606 "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
9607 "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
9608 "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
9609 "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
9610 "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
9611 "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
9612 "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
9613 "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
9614 "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
9615 "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
9616 "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
9617 "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
9618 "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
9619 "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
9620 "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
9621 "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
9622 "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
9623 "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
9624 "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
9625 "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
9626 "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
9627 "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
9628 "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
9629 "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
9630 "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
9631 "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
9632 "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
9633 "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
9634 "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
9635 "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
9640 static struct cipher_testvec serpent_ctr_dec_tv_template[] = {
9641 { /* Generated with Crypto++ */
9642 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9643 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9644 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9645 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9647 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9648 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9649 .input = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
9650 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
9651 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
9652 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
9653 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
9654 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
9655 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
9656 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
9657 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
9658 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
9659 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
9660 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
9661 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
9662 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
9663 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
9664 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
9665 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
9666 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
9667 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
9668 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
9669 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
9670 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
9671 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
9672 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
9673 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
9674 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
9675 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
9676 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
9677 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
9678 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
9679 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
9680 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
9681 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
9682 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
9683 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
9684 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
9685 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
9686 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
9687 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
9688 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
9689 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
9690 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
9691 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
9692 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
9693 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
9694 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
9695 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
9696 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
9697 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
9698 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
9699 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
9700 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
9701 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
9702 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
9703 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
9704 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
9705 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
9706 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
9707 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
9708 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
9709 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
9710 "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
9712 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9713 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9714 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9715 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9716 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9717 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9718 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9719 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9720 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9721 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9722 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9723 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9724 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9725 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9726 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9727 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9728 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9729 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9730 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9731 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9732 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9733 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9734 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9735 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9736 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9737 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9738 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9739 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9740 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9741 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9742 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9743 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9744 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9745 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9746 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9747 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9748 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9749 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9750 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9751 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9752 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9753 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9754 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9755 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9756 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9757 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9758 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9759 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9760 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9761 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9762 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9763 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9764 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9765 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9766 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9767 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9768 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9769 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9770 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9771 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9772 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9773 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9775 }, { /* Generated with Crypto++ */
9776 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9777 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9778 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9779 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9781 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9782 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9783 .input = "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
9784 "\x37\x69\xE3\x3A\x22\x85\x48\x46"
9785 "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
9786 "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
9787 "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
9788 "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
9789 "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
9790 "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
9791 "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
9792 "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
9793 "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
9794 "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
9795 "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
9796 "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
9797 "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
9798 "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
9799 "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
9800 "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
9801 "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
9802 "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
9803 "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
9804 "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
9805 "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
9806 "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
9807 "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
9808 "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
9809 "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
9810 "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
9811 "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
9812 "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
9813 "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
9814 "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
9815 "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
9816 "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
9817 "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
9818 "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
9819 "\x07\x97\x38\x4B\x5C\x56\x98\x67"
9820 "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
9821 "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
9822 "\x18\x06\x15\x9D\x5A\x10\x13\x37"
9823 "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
9824 "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
9825 "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
9826 "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
9827 "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
9828 "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
9829 "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
9830 "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
9831 "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
9832 "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
9833 "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
9834 "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
9835 "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
9836 "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
9837 "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
9838 "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
9839 "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
9840 "\x90\x47\x40\x92\xE6\x69\xD1\x96"
9841 "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
9842 "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
9843 "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
9844 "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
9847 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9848 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9849 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9850 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9851 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9852 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9853 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9854 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9855 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9856 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9857 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9858 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9859 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9860 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9861 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9862 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9863 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9864 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9865 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9866 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9867 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9868 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9869 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9870 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9871 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9872 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9873 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9874 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9875 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9876 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9877 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9878 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9879 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9880 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9881 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9882 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9883 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9884 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9885 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9886 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9887 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9888 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9889 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9890 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9891 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9892 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9893 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9894 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9895 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9896 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9897 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9898 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9899 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9900 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9901 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9902 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9903 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9904 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9905 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9906 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9907 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9908 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9913 .tap = { 499 - 16, 16 },
9914 }, { /* Generated with Crypto++ */
9915 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9916 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9917 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9918 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9920 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
9921 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9922 .input = "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
9923 "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
9924 "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
9925 "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
9926 "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
9927 "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
9928 "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
9929 "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
9930 "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
9931 "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
9932 "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
9933 "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
9934 "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
9935 "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
9936 "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
9937 "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
9938 "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
9939 "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
9940 "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
9941 "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
9942 "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
9943 "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
9944 "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
9945 "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
9946 "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
9947 "\x29\x5E\x01\x47\x13\x32\x78\xBE"
9948 "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
9949 "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
9950 "\x38\x35\x11\x26\x4A\xB4\x06\x32"
9951 "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
9952 "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
9953 "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
9954 "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
9955 "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
9956 "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
9957 "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
9958 "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
9959 "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
9960 "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
9961 "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
9962 "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
9963 "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
9964 "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
9965 "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
9966 "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
9967 "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
9968 "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
9969 "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
9970 "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
9971 "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
9972 "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
9973 "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
9974 "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
9975 "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
9976 "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
9977 "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
9978 "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
9979 "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
9980 "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
9981 "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
9982 "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
9983 "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
9985 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9986 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9987 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9988 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9989 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9990 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9991 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9992 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9993 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9994 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9995 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9996 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9997 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9998 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9999 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10000 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10001 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10002 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10003 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10004 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10005 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10006 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10007 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10008 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10009 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10010 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10011 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10012 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10013 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10014 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10015 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10016 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10017 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10018 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10019 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10020 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10021 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10022 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10023 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10024 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10025 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10026 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10027 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10028 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10029 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10030 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10031 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10032 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10033 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10034 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10035 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10036 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10037 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10038 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10039 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10040 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10041 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10042 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10043 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10044 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10045 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10046 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10051 static struct cipher_testvec serpent_lrw_enc_tv_template[] = {
10052 /* Generated from AES-LRW test vectors */
10054 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
10055 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
10056 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
10057 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
10059 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10060 "\x00\x00\x00\x00\x00\x00\x00\x01",
10061 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
10062 "\x38\x39\x41\x42\x43\x44\x45\x46",
10064 .result = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
10065 "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
10068 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
10069 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
10070 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
10071 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
10073 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10074 "\x00\x00\x00\x00\x00\x00\x00\x02",
10075 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
10076 "\x38\x39\x41\x42\x43\x44\x45\x46",
10078 .result = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
10079 "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
10082 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
10083 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
10084 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
10085 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
10087 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10088 "\x00\x00\x00\x02\x00\x00\x00\x00",
10089 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
10090 "\x38\x39\x41\x42\x43\x44\x45\x46",
10092 .result = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
10093 "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
10096 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
10097 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
10098 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
10099 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
10100 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
10102 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10103 "\x00\x00\x00\x00\x00\x00\x00\x01",
10104 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
10105 "\x38\x39\x41\x42\x43\x44\x45\x46",
10107 .result = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
10108 "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
10111 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
10112 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
10113 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
10114 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
10115 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
10117 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10118 "\x00\x00\x00\x02\x00\x00\x00\x00",
10119 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
10120 "\x38\x39\x41\x42\x43\x44\x45\x46",
10122 .result = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
10123 "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
10126 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10127 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10128 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10129 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10130 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10131 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10133 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10134 "\x00\x00\x00\x00\x00\x00\x00\x01",
10135 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
10136 "\x38\x39\x41\x42\x43\x44\x45\x46",
10138 .result = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
10139 "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
10142 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
10143 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
10144 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
10145 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
10146 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
10147 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
10149 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10150 "\x00\x00\x00\x02\x00\x00\x00\x00",
10151 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
10152 "\x38\x39\x41\x42\x43\x44\x45\x46",
10154 .result = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
10155 "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
10158 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10159 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10160 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10161 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10162 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10163 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10165 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10166 "\x00\x00\x00\x00\x00\x00\x00\x01",
10167 .input = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
10168 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
10169 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
10170 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
10171 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
10172 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
10173 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
10174 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
10175 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
10176 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
10177 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
10178 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
10179 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
10180 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
10181 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
10182 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
10183 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
10184 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
10185 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
10186 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
10187 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
10188 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
10189 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
10190 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
10191 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
10192 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
10193 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
10194 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
10195 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
10196 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
10197 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
10198 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
10199 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
10200 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
10201 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
10202 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
10203 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
10204 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
10205 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
10206 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
10207 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
10208 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
10209 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
10210 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
10211 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
10212 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
10213 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
10214 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
10215 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
10216 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
10217 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
10218 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
10219 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
10220 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
10221 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
10222 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
10223 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
10224 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
10225 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
10226 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
10227 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
10228 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
10229 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
10230 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
10232 .result = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
10233 "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
10234 "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
10235 "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
10236 "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
10237 "\xce\xab\xda\x33\x30\x20\x12\xfa"
10238 "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
10239 "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
10240 "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
10241 "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
10242 "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
10243 "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
10244 "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
10245 "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
10246 "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
10247 "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
10248 "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
10249 "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
10250 "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
10251 "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
10252 "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
10253 "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
10254 "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
10255 "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
10256 "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
10257 "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
10258 "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
10259 "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
10260 "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
10261 "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
10262 "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
10263 "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
10264 "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
10265 "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
10266 "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
10267 "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
10268 "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
10269 "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
10270 "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
10271 "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
10272 "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
10273 "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
10274 "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
10275 "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
10276 "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
10277 "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
10278 "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
10279 "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
10280 "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
10281 "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
10282 "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
10283 "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
10284 "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
10285 "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
10286 "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
10287 "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
10288 "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
10289 "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
10290 "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
10291 "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
10292 "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
10293 "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
10294 "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
10295 "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
10299 .tap = { 512 - 16, 16 },
10303 static struct cipher_testvec serpent_lrw_dec_tv_template[] = {
10304 /* Generated from AES-LRW test vectors */
10305 /* same as enc vectors with input and result reversed */
10307 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
10308 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
10309 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
10310 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
10312 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10313 "\x00\x00\x00\x00\x00\x00\x00\x01",
10314 .input = "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
10315 "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
10317 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10318 "\x38\x39\x41\x42\x43\x44\x45\x46",
10321 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
10322 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
10323 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
10324 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
10326 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10327 "\x00\x00\x00\x00\x00\x00\x00\x02",
10328 .input = "\xfd\xb2\x66\x98\x80\x96\x55\xad"
10329 "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
10331 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10332 "\x38\x39\x41\x42\x43\x44\x45\x46",
10335 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
10336 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
10337 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
10338 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
10340 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10341 "\x00\x00\x00\x02\x00\x00\x00\x00",
10342 .input = "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
10343 "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
10345 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10346 "\x38\x39\x41\x42\x43\x44\x45\x46",
10349 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
10350 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
10351 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
10352 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
10353 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
10355 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10356 "\x00\x00\x00\x00\x00\x00\x00\x01",
10357 .input = "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
10358 "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
10360 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10361 "\x38\x39\x41\x42\x43\x44\x45\x46",
10364 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
10365 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
10366 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
10367 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
10368 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
10370 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10371 "\x00\x00\x00\x02\x00\x00\x00\x00",
10372 .input = "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
10373 "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
10375 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10376 "\x38\x39\x41\x42\x43\x44\x45\x46",
10379 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10380 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10381 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10382 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10383 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10384 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10386 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10387 "\x00\x00\x00\x00\x00\x00\x00\x01",
10388 .input = "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
10389 "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
10391 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10392 "\x38\x39\x41\x42\x43\x44\x45\x46",
10395 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
10396 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
10397 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
10398 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
10399 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
10400 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
10402 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10403 "\x00\x00\x00\x02\x00\x00\x00\x00",
10404 .input = "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
10405 "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
10407 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
10408 "\x38\x39\x41\x42\x43\x44\x45\x46",
10411 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10412 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10413 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10414 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10415 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10416 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10418 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10419 "\x00\x00\x00\x00\x00\x00\x00\x01",
10420 .input = "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
10421 "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
10422 "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
10423 "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
10424 "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
10425 "\xce\xab\xda\x33\x30\x20\x12\xfa"
10426 "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
10427 "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
10428 "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
10429 "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
10430 "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
10431 "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
10432 "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
10433 "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
10434 "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
10435 "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
10436 "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
10437 "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
10438 "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
10439 "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
10440 "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
10441 "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
10442 "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
10443 "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
10444 "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
10445 "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
10446 "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
10447 "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
10448 "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
10449 "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
10450 "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
10451 "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
10452 "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
10453 "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
10454 "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
10455 "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
10456 "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
10457 "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
10458 "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
10459 "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
10460 "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
10461 "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
10462 "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
10463 "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
10464 "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
10465 "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
10466 "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
10467 "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
10468 "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
10469 "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
10470 "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
10471 "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
10472 "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
10473 "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
10474 "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
10475 "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
10476 "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
10477 "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
10478 "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
10479 "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
10480 "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
10481 "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
10482 "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
10483 "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
10485 .result = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
10486 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
10487 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
10488 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
10489 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
10490 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
10491 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
10492 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
10493 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
10494 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
10495 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
10496 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
10497 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
10498 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
10499 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
10500 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
10501 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
10502 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
10503 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
10504 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
10505 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
10506 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
10507 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
10508 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
10509 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
10510 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
10511 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
10512 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
10513 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
10514 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
10515 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
10516 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
10517 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
10518 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
10519 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
10520 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
10521 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
10522 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
10523 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
10524 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
10525 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
10526 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
10527 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
10528 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
10529 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
10530 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
10531 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
10532 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
10533 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
10534 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
10535 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
10536 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
10537 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
10538 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
10539 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
10540 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
10541 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
10542 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
10543 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
10544 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
10545 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
10546 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
10547 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
10548 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
10552 .tap = { 512 - 16, 16 },
10556 static struct cipher_testvec serpent_xts_enc_tv_template[] = {
10557 /* Generated from AES-XTS test vectors */
10559 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
10560 "\x00\x00\x00\x00\x00\x00\x00\x00"
10561 "\x00\x00\x00\x00\x00\x00\x00\x00"
10562 "\x00\x00\x00\x00\x00\x00\x00\x00",
10564 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10565 "\x00\x00\x00\x00\x00\x00\x00\x00",
10566 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
10567 "\x00\x00\x00\x00\x00\x00\x00\x00"
10568 "\x00\x00\x00\x00\x00\x00\x00\x00"
10569 "\x00\x00\x00\x00\x00\x00\x00\x00",
10571 .result = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
10572 "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
10573 "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
10574 "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
10577 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
10578 "\x11\x11\x11\x11\x11\x11\x11\x11"
10579 "\x22\x22\x22\x22\x22\x22\x22\x22"
10580 "\x22\x22\x22\x22\x22\x22\x22\x22",
10582 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
10583 "\x00\x00\x00\x00\x00\x00\x00\x00",
10584 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
10585 "\x44\x44\x44\x44\x44\x44\x44\x44"
10586 "\x44\x44\x44\x44\x44\x44\x44\x44"
10587 "\x44\x44\x44\x44\x44\x44\x44\x44",
10589 .result = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
10590 "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
10591 "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
10592 "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
10595 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
10596 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
10597 "\x22\x22\x22\x22\x22\x22\x22\x22"
10598 "\x22\x22\x22\x22\x22\x22\x22\x22",
10600 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
10601 "\x00\x00\x00\x00\x00\x00\x00\x00",
10602 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
10603 "\x44\x44\x44\x44\x44\x44\x44\x44"
10604 "\x44\x44\x44\x44\x44\x44\x44\x44"
10605 "\x44\x44\x44\x44\x44\x44\x44\x44",
10607 .result = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
10608 "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
10609 "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
10610 "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
10613 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
10614 "\x23\x53\x60\x28\x74\x71\x35\x26"
10615 "\x31\x41\x59\x26\x53\x58\x97\x93"
10616 "\x23\x84\x62\x64\x33\x83\x27\x95",
10618 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10619 "\x00\x00\x00\x00\x00\x00\x00\x00",
10620 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
10621 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10622 "\x10\x11\x12\x13\x14\x15\x16\x17"
10623 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10624 "\x20\x21\x22\x23\x24\x25\x26\x27"
10625 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10626 "\x30\x31\x32\x33\x34\x35\x36\x37"
10627 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10628 "\x40\x41\x42\x43\x44\x45\x46\x47"
10629 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10630 "\x50\x51\x52\x53\x54\x55\x56\x57"
10631 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10632 "\x60\x61\x62\x63\x64\x65\x66\x67"
10633 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10634 "\x70\x71\x72\x73\x74\x75\x76\x77"
10635 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10636 "\x80\x81\x82\x83\x84\x85\x86\x87"
10637 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10638 "\x90\x91\x92\x93\x94\x95\x96\x97"
10639 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10640 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10641 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10642 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10643 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10644 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10645 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10646 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10647 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10648 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10649 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10650 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10651 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10652 "\x00\x01\x02\x03\x04\x05\x06\x07"
10653 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10654 "\x10\x11\x12\x13\x14\x15\x16\x17"
10655 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10656 "\x20\x21\x22\x23\x24\x25\x26\x27"
10657 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10658 "\x30\x31\x32\x33\x34\x35\x36\x37"
10659 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10660 "\x40\x41\x42\x43\x44\x45\x46\x47"
10661 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10662 "\x50\x51\x52\x53\x54\x55\x56\x57"
10663 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10664 "\x60\x61\x62\x63\x64\x65\x66\x67"
10665 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10666 "\x70\x71\x72\x73\x74\x75\x76\x77"
10667 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10668 "\x80\x81\x82\x83\x84\x85\x86\x87"
10669 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10670 "\x90\x91\x92\x93\x94\x95\x96\x97"
10671 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10672 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10673 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10674 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10675 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10676 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10677 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10678 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10679 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10680 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10681 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10682 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10683 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10685 .result = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
10686 "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
10687 "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
10688 "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
10689 "\x00\x5c\x75\x14\x06\xd6\x25\x82"
10690 "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
10691 "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
10692 "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
10693 "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
10694 "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
10695 "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
10696 "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
10697 "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
10698 "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
10699 "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
10700 "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
10701 "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
10702 "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
10703 "\x58\xfa\x43\x91\x16\x85\x40\xbb"
10704 "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
10705 "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
10706 "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
10707 "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
10708 "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
10709 "\x6e\x29\x60\xbd\x10\x14\x84\x82"
10710 "\x83\x82\x0c\x63\x73\x92\x02\x7c"
10711 "\x55\x37\x20\x80\x17\x51\xc8\xbc"
10712 "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
10713 "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
10714 "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
10715 "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
10716 "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
10717 "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
10718 "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
10719 "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
10720 "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
10721 "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
10722 "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
10723 "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
10724 "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
10725 "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
10726 "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
10727 "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
10728 "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
10729 "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
10730 "\x43\x42\x35\xd0\xcf\xec\x77\x67"
10731 "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
10732 "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
10733 "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
10734 "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
10735 "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
10736 "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
10737 "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
10738 "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
10739 "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
10740 "\x03\x57\xe6\x98\x52\x2f\x61\x62"
10741 "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
10742 "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
10743 "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
10744 "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
10745 "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
10746 "\xef\x91\x64\x1d\x18\x07\x4e\x31"
10747 "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
10748 "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
10751 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
10752 "\x23\x53\x60\x28\x74\x71\x35\x26"
10753 "\x62\x49\x77\x57\x24\x70\x93\x69"
10754 "\x99\x59\x57\x49\x66\x96\x76\x27"
10755 "\x31\x41\x59\x26\x53\x58\x97\x93"
10756 "\x23\x84\x62\x64\x33\x83\x27\x95"
10757 "\x02\x88\x41\x97\x16\x93\x99\x37"
10758 "\x51\x05\x82\x09\x74\x94\x45\x92",
10760 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
10761 "\x00\x00\x00\x00\x00\x00\x00\x00",
10762 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
10763 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10764 "\x10\x11\x12\x13\x14\x15\x16\x17"
10765 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10766 "\x20\x21\x22\x23\x24\x25\x26\x27"
10767 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10768 "\x30\x31\x32\x33\x34\x35\x36\x37"
10769 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10770 "\x40\x41\x42\x43\x44\x45\x46\x47"
10771 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10772 "\x50\x51\x52\x53\x54\x55\x56\x57"
10773 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10774 "\x60\x61\x62\x63\x64\x65\x66\x67"
10775 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10776 "\x70\x71\x72\x73\x74\x75\x76\x77"
10777 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10778 "\x80\x81\x82\x83\x84\x85\x86\x87"
10779 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10780 "\x90\x91\x92\x93\x94\x95\x96\x97"
10781 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10782 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10783 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10784 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10785 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10786 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10787 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10788 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10789 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10790 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10791 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10792 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10793 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10794 "\x00\x01\x02\x03\x04\x05\x06\x07"
10795 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10796 "\x10\x11\x12\x13\x14\x15\x16\x17"
10797 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10798 "\x20\x21\x22\x23\x24\x25\x26\x27"
10799 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10800 "\x30\x31\x32\x33\x34\x35\x36\x37"
10801 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10802 "\x40\x41\x42\x43\x44\x45\x46\x47"
10803 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10804 "\x50\x51\x52\x53\x54\x55\x56\x57"
10805 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10806 "\x60\x61\x62\x63\x64\x65\x66\x67"
10807 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10808 "\x70\x71\x72\x73\x74\x75\x76\x77"
10809 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10810 "\x80\x81\x82\x83\x84\x85\x86\x87"
10811 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10812 "\x90\x91\x92\x93\x94\x95\x96\x97"
10813 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10814 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10815 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10816 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10817 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10818 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10819 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10820 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10821 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10822 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10823 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10824 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10825 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10827 .result = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
10828 "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
10829 "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
10830 "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
10831 "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
10832 "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
10833 "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
10834 "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
10835 "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
10836 "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
10837 "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
10838 "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
10839 "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
10840 "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
10841 "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
10842 "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
10843 "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
10844 "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
10845 "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
10846 "\xec\x9a\xda\x64\x96\xb5\x61\xff"
10847 "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
10848 "\x81\x85\x14\xa8\x59\xac\x8c\x94"
10849 "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
10850 "\x82\xc6\x4d\xca\x86\xea\x53\x28"
10851 "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
10852 "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
10853 "\x05\xca\x81\x7b\xda\xa2\xde\x63"
10854 "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
10855 "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
10856 "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
10857 "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
10858 "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
10859 "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
10860 "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
10861 "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
10862 "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
10863 "\xfd\x43\x7d\xda\x42\x51\x87\x43"
10864 "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
10865 "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
10866 "\x27\x5f\x11\xac\x71\xc7\x48\x46"
10867 "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
10868 "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
10869 "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
10870 "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
10871 "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
10872 "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
10873 "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
10874 "\x50\x88\x97\x40\x69\xb1\x37\xf5"
10875 "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
10876 "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
10877 "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
10878 "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
10879 "\xc1\x16\x73\x50\x77\xba\xa6\x65"
10880 "\x20\x2d\xb0\x02\x27\x89\xda\x99"
10881 "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
10882 "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
10883 "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
10884 "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
10885 "\xa3\x0e\x33\x74\x40\x18\x39\x72"
10886 "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
10887 "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
10888 "\x30\x05\xc8\x92\x98\x80\xff\x7a"
10889 "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
10890 "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
10894 .tap = { 512 - 16, 16 },
10898 static struct cipher_testvec serpent_xts_dec_tv_template[] = {
10899 /* Generated from AES-XTS test vectors */
10900 /* same as enc vectors with input and result reversed */
10902 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
10903 "\x00\x00\x00\x00\x00\x00\x00\x00"
10904 "\x00\x00\x00\x00\x00\x00\x00\x00"
10905 "\x00\x00\x00\x00\x00\x00\x00\x00",
10907 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10908 "\x00\x00\x00\x00\x00\x00\x00\x00",
10909 .input = "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
10910 "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
10911 "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
10912 "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
10914 .result = "\x00\x00\x00\x00\x00\x00\x00\x00"
10915 "\x00\x00\x00\x00\x00\x00\x00\x00"
10916 "\x00\x00\x00\x00\x00\x00\x00\x00"
10917 "\x00\x00\x00\x00\x00\x00\x00\x00",
10920 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
10921 "\x11\x11\x11\x11\x11\x11\x11\x11"
10922 "\x22\x22\x22\x22\x22\x22\x22\x22"
10923 "\x22\x22\x22\x22\x22\x22\x22\x22",
10925 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
10926 "\x00\x00\x00\x00\x00\x00\x00\x00",
10927 .input = "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
10928 "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
10929 "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
10930 "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
10932 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
10933 "\x44\x44\x44\x44\x44\x44\x44\x44"
10934 "\x44\x44\x44\x44\x44\x44\x44\x44"
10935 "\x44\x44\x44\x44\x44\x44\x44\x44",
10938 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
10939 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
10940 "\x22\x22\x22\x22\x22\x22\x22\x22"
10941 "\x22\x22\x22\x22\x22\x22\x22\x22",
10943 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
10944 "\x00\x00\x00\x00\x00\x00\x00\x00",
10945 .input = "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
10946 "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
10947 "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
10948 "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
10950 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
10951 "\x44\x44\x44\x44\x44\x44\x44\x44"
10952 "\x44\x44\x44\x44\x44\x44\x44\x44"
10953 "\x44\x44\x44\x44\x44\x44\x44\x44",
10956 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
10957 "\x23\x53\x60\x28\x74\x71\x35\x26"
10958 "\x31\x41\x59\x26\x53\x58\x97\x93"
10959 "\x23\x84\x62\x64\x33\x83\x27\x95",
10961 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
10962 "\x00\x00\x00\x00\x00\x00\x00\x00",
10963 .input = "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
10964 "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
10965 "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
10966 "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
10967 "\x00\x5c\x75\x14\x06\xd6\x25\x82"
10968 "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
10969 "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
10970 "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
10971 "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
10972 "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
10973 "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
10974 "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
10975 "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
10976 "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
10977 "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
10978 "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
10979 "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
10980 "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
10981 "\x58\xfa\x43\x91\x16\x85\x40\xbb"
10982 "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
10983 "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
10984 "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
10985 "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
10986 "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
10987 "\x6e\x29\x60\xbd\x10\x14\x84\x82"
10988 "\x83\x82\x0c\x63\x73\x92\x02\x7c"
10989 "\x55\x37\x20\x80\x17\x51\xc8\xbc"
10990 "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
10991 "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
10992 "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
10993 "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
10994 "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
10995 "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
10996 "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
10997 "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
10998 "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
10999 "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
11000 "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
11001 "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
11002 "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
11003 "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
11004 "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
11005 "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
11006 "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
11007 "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
11008 "\x43\x42\x35\xd0\xcf\xec\x77\x67"
11009 "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
11010 "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
11011 "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
11012 "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
11013 "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
11014 "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
11015 "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
11016 "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
11017 "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
11018 "\x03\x57\xe6\x98\x52\x2f\x61\x62"
11019 "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
11020 "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
11021 "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
11022 "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
11023 "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
11024 "\xef\x91\x64\x1d\x18\x07\x4e\x31"
11025 "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
11026 "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
11028 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
11029 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11030 "\x10\x11\x12\x13\x14\x15\x16\x17"
11031 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11032 "\x20\x21\x22\x23\x24\x25\x26\x27"
11033 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11034 "\x30\x31\x32\x33\x34\x35\x36\x37"
11035 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11036 "\x40\x41\x42\x43\x44\x45\x46\x47"
11037 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11038 "\x50\x51\x52\x53\x54\x55\x56\x57"
11039 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11040 "\x60\x61\x62\x63\x64\x65\x66\x67"
11041 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11042 "\x70\x71\x72\x73\x74\x75\x76\x77"
11043 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11044 "\x80\x81\x82\x83\x84\x85\x86\x87"
11045 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11046 "\x90\x91\x92\x93\x94\x95\x96\x97"
11047 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11048 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11049 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11050 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11051 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11052 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11053 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11054 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11055 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11056 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11057 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11058 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11059 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
11060 "\x00\x01\x02\x03\x04\x05\x06\x07"
11061 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11062 "\x10\x11\x12\x13\x14\x15\x16\x17"
11063 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11064 "\x20\x21\x22\x23\x24\x25\x26\x27"
11065 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11066 "\x30\x31\x32\x33\x34\x35\x36\x37"
11067 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11068 "\x40\x41\x42\x43\x44\x45\x46\x47"
11069 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11070 "\x50\x51\x52\x53\x54\x55\x56\x57"
11071 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11072 "\x60\x61\x62\x63\x64\x65\x66\x67"
11073 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11074 "\x70\x71\x72\x73\x74\x75\x76\x77"
11075 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11076 "\x80\x81\x82\x83\x84\x85\x86\x87"
11077 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11078 "\x90\x91\x92\x93\x94\x95\x96\x97"
11079 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11080 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11081 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11082 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11083 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11084 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11085 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11086 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11087 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11088 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11089 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11090 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11091 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
11094 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
11095 "\x23\x53\x60\x28\x74\x71\x35\x26"
11096 "\x62\x49\x77\x57\x24\x70\x93\x69"
11097 "\x99\x59\x57\x49\x66\x96\x76\x27"
11098 "\x31\x41\x59\x26\x53\x58\x97\x93"
11099 "\x23\x84\x62\x64\x33\x83\x27\x95"
11100 "\x02\x88\x41\x97\x16\x93\x99\x37"
11101 "\x51\x05\x82\x09\x74\x94\x45\x92",
11103 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
11104 "\x00\x00\x00\x00\x00\x00\x00\x00",
11105 .input = "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
11106 "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
11107 "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
11108 "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
11109 "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
11110 "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
11111 "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
11112 "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
11113 "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
11114 "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
11115 "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
11116 "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
11117 "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
11118 "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
11119 "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
11120 "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
11121 "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
11122 "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
11123 "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
11124 "\xec\x9a\xda\x64\x96\xb5\x61\xff"
11125 "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
11126 "\x81\x85\x14\xa8\x59\xac\x8c\x94"
11127 "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
11128 "\x82\xc6\x4d\xca\x86\xea\x53\x28"
11129 "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
11130 "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
11131 "\x05\xca\x81\x7b\xda\xa2\xde\x63"
11132 "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
11133 "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
11134 "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
11135 "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
11136 "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
11137 "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
11138 "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
11139 "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
11140 "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
11141 "\xfd\x43\x7d\xda\x42\x51\x87\x43"
11142 "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
11143 "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
11144 "\x27\x5f\x11\xac\x71\xc7\x48\x46"
11145 "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
11146 "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
11147 "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
11148 "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
11149 "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
11150 "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
11151 "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
11152 "\x50\x88\x97\x40\x69\xb1\x37\xf5"
11153 "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
11154 "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
11155 "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
11156 "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
11157 "\xc1\x16\x73\x50\x77\xba\xa6\x65"
11158 "\x20\x2d\xb0\x02\x27\x89\xda\x99"
11159 "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
11160 "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
11161 "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
11162 "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
11163 "\xa3\x0e\x33\x74\x40\x18\x39\x72"
11164 "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
11165 "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
11166 "\x30\x05\xc8\x92\x98\x80\xff\x7a"
11167 "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
11168 "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
11170 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
11171 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11172 "\x10\x11\x12\x13\x14\x15\x16\x17"
11173 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11174 "\x20\x21\x22\x23\x24\x25\x26\x27"
11175 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11176 "\x30\x31\x32\x33\x34\x35\x36\x37"
11177 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11178 "\x40\x41\x42\x43\x44\x45\x46\x47"
11179 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11180 "\x50\x51\x52\x53\x54\x55\x56\x57"
11181 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11182 "\x60\x61\x62\x63\x64\x65\x66\x67"
11183 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11184 "\x70\x71\x72\x73\x74\x75\x76\x77"
11185 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11186 "\x80\x81\x82\x83\x84\x85\x86\x87"
11187 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11188 "\x90\x91\x92\x93\x94\x95\x96\x97"
11189 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11190 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11191 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11192 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11193 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11194 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11195 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11196 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11197 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11198 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11199 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11200 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11201 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
11202 "\x00\x01\x02\x03\x04\x05\x06\x07"
11203 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11204 "\x10\x11\x12\x13\x14\x15\x16\x17"
11205 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
11206 "\x20\x21\x22\x23\x24\x25\x26\x27"
11207 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
11208 "\x30\x31\x32\x33\x34\x35\x36\x37"
11209 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
11210 "\x40\x41\x42\x43\x44\x45\x46\x47"
11211 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
11212 "\x50\x51\x52\x53\x54\x55\x56\x57"
11213 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
11214 "\x60\x61\x62\x63\x64\x65\x66\x67"
11215 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
11216 "\x70\x71\x72\x73\x74\x75\x76\x77"
11217 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
11218 "\x80\x81\x82\x83\x84\x85\x86\x87"
11219 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
11220 "\x90\x91\x92\x93\x94\x95\x96\x97"
11221 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
11222 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
11223 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
11224 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
11225 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
11226 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
11227 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
11228 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
11229 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
11230 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
11231 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
11232 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
11233 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
11237 .tap = { 512 - 16, 16 },
11241 /* Cast6 test vectors from RFC 2612 */
11242 #define CAST6_ENC_TEST_VECTORS 4
11243 #define CAST6_DEC_TEST_VECTORS 4
11244 #define CAST6_CBC_ENC_TEST_VECTORS 1
11245 #define CAST6_CBC_DEC_TEST_VECTORS 1
11246 #define CAST6_CTR_ENC_TEST_VECTORS 2
11247 #define CAST6_CTR_DEC_TEST_VECTORS 2
11248 #define CAST6_LRW_ENC_TEST_VECTORS 1
11249 #define CAST6_LRW_DEC_TEST_VECTORS 1
11250 #define CAST6_XTS_ENC_TEST_VECTORS 1
11251 #define CAST6_XTS_DEC_TEST_VECTORS 1
11253 static struct cipher_testvec cast6_enc_tv_template[] = {
11255 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
11256 "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
11258 .input = zeroed_string,
11260 .result = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
11261 "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
11264 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
11265 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
11266 "\xba\xc7\x7a\x77\x17\x94\x28\x63",
11268 .input = zeroed_string,
11270 .result = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
11271 "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
11274 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
11275 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
11276 "\x8d\x7c\x47\xce\x26\x49\x08\x46"
11277 "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
11279 .input = zeroed_string,
11281 .result = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
11282 "\xc9\x87\x01\x36\x55\x33\x17\xfa",
11284 }, { /* Generated from TF test vectors */
11285 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11286 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11287 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11288 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11290 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11291 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11292 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11293 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11294 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11295 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11296 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11297 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11298 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11299 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11300 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11301 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11302 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11303 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11304 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11305 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11306 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11307 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11308 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11309 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11310 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11311 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11312 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11313 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11314 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11315 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11316 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11317 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11318 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11319 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11320 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11321 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11322 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11323 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11324 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11325 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11326 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11327 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11328 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11329 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11330 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11331 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11332 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11333 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11334 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11335 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11336 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11337 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11338 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11339 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11340 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11341 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11342 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11343 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11344 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11345 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11346 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11347 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11348 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11349 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11350 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11351 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11352 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11353 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11355 .result = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
11356 "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
11357 "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
11358 "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
11359 "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
11360 "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
11361 "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
11362 "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
11363 "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
11364 "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
11365 "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
11366 "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
11367 "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
11368 "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
11369 "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
11370 "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
11371 "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
11372 "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
11373 "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
11374 "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
11375 "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
11376 "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
11377 "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
11378 "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
11379 "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
11380 "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
11381 "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
11382 "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
11383 "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
11384 "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
11385 "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
11386 "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
11387 "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
11388 "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
11389 "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
11390 "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
11391 "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
11392 "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
11393 "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
11394 "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
11395 "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
11396 "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
11397 "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
11398 "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
11399 "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
11400 "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
11401 "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
11402 "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
11403 "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
11404 "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
11405 "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
11406 "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
11407 "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
11408 "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
11409 "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
11410 "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
11411 "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
11412 "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
11413 "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
11414 "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
11415 "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
11416 "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
11420 .tap = { 496 - 16, 16 },
11424 static struct cipher_testvec cast6_dec_tv_template[] = {
11426 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
11427 "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
11429 .input = "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
11430 "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
11432 .result = zeroed_string,
11435 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
11436 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
11437 "\xba\xc7\x7a\x77\x17\x94\x28\x63",
11439 .input = "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
11440 "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
11442 .result = zeroed_string,
11445 .key = "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
11446 "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
11447 "\x8d\x7c\x47\xce\x26\x49\x08\x46"
11448 "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
11450 .input = "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
11451 "\xc9\x87\x01\x36\x55\x33\x17\xfa",
11453 .result = zeroed_string,
11455 }, { /* Generated from TF test vectors */
11456 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11457 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11458 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11459 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11461 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11462 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11463 .input = "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
11464 "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
11465 "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
11466 "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
11467 "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
11468 "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
11469 "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
11470 "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
11471 "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
11472 "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
11473 "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
11474 "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
11475 "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
11476 "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
11477 "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
11478 "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
11479 "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
11480 "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
11481 "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
11482 "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
11483 "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
11484 "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
11485 "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
11486 "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
11487 "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
11488 "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
11489 "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
11490 "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
11491 "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
11492 "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
11493 "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
11494 "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
11495 "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
11496 "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
11497 "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
11498 "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
11499 "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
11500 "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
11501 "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
11502 "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
11503 "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
11504 "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
11505 "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
11506 "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
11507 "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
11508 "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
11509 "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
11510 "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
11511 "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
11512 "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
11513 "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
11514 "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
11515 "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
11516 "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
11517 "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
11518 "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
11519 "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
11520 "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
11521 "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
11522 "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
11523 "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
11524 "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
11526 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11527 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11528 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11529 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11530 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11531 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11532 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11533 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11534 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11535 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11536 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11537 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11538 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11539 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11540 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11541 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11542 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11543 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11544 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11545 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11546 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11547 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11548 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11549 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11550 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11551 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11552 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11553 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11554 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11555 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11556 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11557 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11558 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11559 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11560 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11561 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11562 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11563 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11564 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11565 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11566 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11567 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11568 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11569 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11570 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11571 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11572 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11573 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11574 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11575 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11576 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11577 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11578 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11579 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11580 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11581 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11582 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11583 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11584 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11585 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11586 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11587 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11591 .tap = { 496 - 16, 16 },
11595 static struct cipher_testvec cast6_cbc_enc_tv_template[] = {
11596 { /* Generated from TF test vectors */
11597 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11598 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11599 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11600 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11602 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11603 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11604 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11605 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11606 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11607 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11608 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11609 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11610 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11611 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11612 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11613 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11614 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11615 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11616 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11617 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11618 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11619 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11620 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11621 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11622 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11623 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11624 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11625 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11626 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11627 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11628 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11629 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11630 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11631 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11632 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11633 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11634 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11635 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11636 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11637 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11638 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11639 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11640 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11641 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11642 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11643 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11644 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11645 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11646 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11647 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11648 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11649 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11650 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11651 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11652 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11653 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11654 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11655 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11656 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11657 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11658 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11659 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11660 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11661 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11662 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11663 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11664 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11665 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11667 .result = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
11668 "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
11669 "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
11670 "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
11671 "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
11672 "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
11673 "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
11674 "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
11675 "\x57\x95\xE1\x21\x26\x10\x9A\x21"
11676 "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
11677 "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
11678 "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
11679 "\x23\x16\x47\x72\x81\x13\x3A\x72"
11680 "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
11681 "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
11682 "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
11683 "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
11684 "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
11685 "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
11686 "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
11687 "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
11688 "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
11689 "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
11690 "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
11691 "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
11692 "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
11693 "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
11694 "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
11695 "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
11696 "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
11697 "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
11698 "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
11699 "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
11700 "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
11701 "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
11702 "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
11703 "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
11704 "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
11705 "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
11706 "\x73\x3F\x12\x91\x47\x54\xBA\x39"
11707 "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
11708 "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
11709 "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
11710 "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
11711 "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
11712 "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
11713 "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
11714 "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
11715 "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
11716 "\x80\x21\x83\x58\x3C\x76\xFD\x28"
11717 "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
11718 "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
11719 "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
11720 "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
11721 "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
11722 "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
11723 "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
11724 "\x56\x4D\x82\x62\x37\xA3\x48\x01"
11725 "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
11726 "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
11727 "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
11728 "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
11732 .tap = { 496 - 16, 16 },
11736 static struct cipher_testvec cast6_cbc_dec_tv_template[] = {
11737 { /* Generated from TF test vectors */
11738 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11739 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11740 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11741 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11743 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11744 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11745 .input = "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
11746 "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
11747 "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
11748 "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
11749 "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
11750 "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
11751 "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
11752 "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
11753 "\x57\x95\xE1\x21\x26\x10\x9A\x21"
11754 "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
11755 "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
11756 "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
11757 "\x23\x16\x47\x72\x81\x13\x3A\x72"
11758 "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
11759 "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
11760 "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
11761 "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
11762 "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
11763 "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
11764 "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
11765 "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
11766 "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
11767 "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
11768 "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
11769 "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
11770 "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
11771 "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
11772 "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
11773 "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
11774 "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
11775 "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
11776 "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
11777 "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
11778 "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
11779 "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
11780 "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
11781 "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
11782 "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
11783 "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
11784 "\x73\x3F\x12\x91\x47\x54\xBA\x39"
11785 "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
11786 "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
11787 "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
11788 "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
11789 "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
11790 "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
11791 "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
11792 "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
11793 "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
11794 "\x80\x21\x83\x58\x3C\x76\xFD\x28"
11795 "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
11796 "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
11797 "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
11798 "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
11799 "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
11800 "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
11801 "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
11802 "\x56\x4D\x82\x62\x37\xA3\x48\x01"
11803 "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
11804 "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
11805 "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
11806 "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
11808 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11809 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11810 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11811 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11812 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11813 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11814 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11815 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11816 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11817 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11818 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11819 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11820 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11821 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11822 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11823 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11824 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11825 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11826 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11827 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11828 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11829 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11830 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11831 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11832 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11833 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11834 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11835 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11836 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11837 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11838 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11839 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11840 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11841 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11842 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11843 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11844 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11845 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11846 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11847 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11848 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11849 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11850 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11851 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11852 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11853 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11854 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11855 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11856 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11857 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11858 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11859 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11860 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11861 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11862 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11863 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11864 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11865 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11866 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11867 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11868 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11869 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11873 .tap = { 496 - 16, 16 },
11877 static struct cipher_testvec cast6_ctr_enc_tv_template[] = {
11878 { /* Generated from TF test vectors */
11879 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11880 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11881 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11882 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11884 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11885 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11886 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11887 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11890 .result = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
11891 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
11894 }, { /* Generated from TF test vectors */
11895 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11896 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11897 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11898 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11900 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11901 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11902 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11903 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11904 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11905 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11906 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11907 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11908 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11909 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11910 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11911 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11912 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11913 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11914 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11915 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11916 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11917 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11918 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11919 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11920 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11921 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11922 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11923 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11924 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11925 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11926 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11927 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11928 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11929 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11930 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11931 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11932 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11933 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11934 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11935 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11936 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11937 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11938 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11939 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11940 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11941 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11942 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11943 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11944 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11945 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11946 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11947 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11948 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11949 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11950 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11951 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11952 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11953 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11954 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11955 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11956 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11957 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11958 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11959 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11960 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11961 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11962 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11963 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11965 .result = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
11966 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
11967 "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
11968 "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
11969 "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
11970 "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
11971 "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
11972 "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
11973 "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
11974 "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
11975 "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
11976 "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
11977 "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
11978 "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
11979 "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
11980 "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
11981 "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
11982 "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
11983 "\x49\x61\x22\x52\x64\x8C\x46\x41"
11984 "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
11985 "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
11986 "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
11987 "\x00\x14\x15\x59\xC1\x30\x64\xAF"
11988 "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
11989 "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
11990 "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
11991 "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
11992 "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
11993 "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
11994 "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
11995 "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
11996 "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
11997 "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
11998 "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
11999 "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
12000 "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
12001 "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
12002 "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
12003 "\x60\x40\x38\x90\x20\x46\xC7\xB3"
12004 "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
12005 "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
12006 "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
12007 "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
12008 "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
12009 "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
12010 "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
12011 "\x73\xFC\x91\xAB\x79\x41\x23\x14"
12012 "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
12013 "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
12014 "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
12015 "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
12016 "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
12017 "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
12018 "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
12019 "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
12020 "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
12021 "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
12022 "\x19\x35\x88\x22\x45\x59\x0E\x8F"
12023 "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
12024 "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
12025 "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
12026 "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
12030 .tap = { 496 - 16, 16 },
12034 static struct cipher_testvec cast6_ctr_dec_tv_template[] = {
12035 { /* Generated from TF test vectors */
12036 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12037 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12038 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12039 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12041 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12042 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12043 .input = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
12044 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
12047 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12048 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12051 }, { /* Generated from TF test vectors */
12052 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12053 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12054 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12055 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12057 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12058 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12059 .input = "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
12060 "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
12061 "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
12062 "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
12063 "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
12064 "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
12065 "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
12066 "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
12067 "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
12068 "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
12069 "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
12070 "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
12071 "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
12072 "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
12073 "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
12074 "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
12075 "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
12076 "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
12077 "\x49\x61\x22\x52\x64\x8C\x46\x41"
12078 "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
12079 "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
12080 "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
12081 "\x00\x14\x15\x59\xC1\x30\x64\xAF"
12082 "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
12083 "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
12084 "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
12085 "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
12086 "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
12087 "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
12088 "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
12089 "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
12090 "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
12091 "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
12092 "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
12093 "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
12094 "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
12095 "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
12096 "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
12097 "\x60\x40\x38\x90\x20\x46\xC7\xB3"
12098 "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
12099 "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
12100 "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
12101 "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
12102 "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
12103 "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
12104 "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
12105 "\x73\xFC\x91\xAB\x79\x41\x23\x14"
12106 "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
12107 "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
12108 "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
12109 "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
12110 "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
12111 "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
12112 "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
12113 "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
12114 "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
12115 "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
12116 "\x19\x35\x88\x22\x45\x59\x0E\x8F"
12117 "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
12118 "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
12119 "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
12120 "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
12122 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12123 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12124 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12125 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12126 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12127 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12128 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12129 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12130 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12131 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12132 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12133 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12134 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12135 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12136 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12137 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12138 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12139 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12140 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12141 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12142 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12143 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12144 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12145 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12146 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12147 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12148 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12149 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12150 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12151 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12152 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12153 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12154 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12155 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12156 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12157 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12158 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12159 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12160 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12161 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12162 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12163 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12164 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12165 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12166 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12167 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12168 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12169 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12170 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12171 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12172 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12173 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12174 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12175 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12176 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12177 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12178 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12179 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12180 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12181 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12182 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12183 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12187 .tap = { 496 - 16, 16 },
12191 static struct cipher_testvec cast6_lrw_enc_tv_template[] = {
12192 { /* Generated from TF test vectors */
12193 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12194 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12195 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12196 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12197 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12198 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12200 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12201 "\x00\x00\x00\x00\x00\x00\x00\x01",
12202 .input = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12203 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12204 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12205 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12206 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12207 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12208 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12209 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12210 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12211 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12212 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12213 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12214 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12215 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12216 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12217 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12218 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12219 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12220 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12221 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12222 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12223 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12224 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12225 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12226 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12227 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12228 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12229 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12230 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12231 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12232 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12233 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12234 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12235 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12236 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12237 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12238 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12239 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12240 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12241 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12242 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12243 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12244 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12245 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12246 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12247 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12248 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
12249 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
12250 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
12251 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
12252 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
12253 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
12254 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
12255 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
12256 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
12257 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
12258 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
12259 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
12260 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
12261 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
12262 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
12263 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
12264 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
12265 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
12267 .result = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
12268 "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
12269 "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
12270 "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
12271 "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
12272 "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
12273 "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
12274 "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
12275 "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
12276 "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
12277 "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
12278 "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
12279 "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
12280 "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
12281 "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
12282 "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
12283 "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
12284 "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
12285 "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
12286 "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
12287 "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
12288 "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
12289 "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
12290 "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
12291 "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
12292 "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
12293 "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
12294 "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
12295 "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
12296 "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
12297 "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
12298 "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
12299 "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
12300 "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
12301 "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
12302 "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
12303 "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
12304 "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
12305 "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
12306 "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
12307 "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
12308 "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
12309 "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
12310 "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
12311 "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
12312 "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
12313 "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
12314 "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
12315 "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
12316 "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
12317 "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
12318 "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
12319 "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
12320 "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
12321 "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
12322 "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
12323 "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
12324 "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
12325 "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
12326 "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
12327 "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
12328 "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
12329 "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
12330 "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
12334 .tap = { 512 - 16, 16 },
12338 static struct cipher_testvec cast6_lrw_dec_tv_template[] = {
12339 { /* Generated from TF test vectors */
12340 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12341 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12342 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12343 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12344 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12345 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12347 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
12348 "\x00\x00\x00\x00\x00\x00\x00\x01",
12349 .input = "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
12350 "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
12351 "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
12352 "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
12353 "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
12354 "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
12355 "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
12356 "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
12357 "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
12358 "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
12359 "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
12360 "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
12361 "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
12362 "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
12363 "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
12364 "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
12365 "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
12366 "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
12367 "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
12368 "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
12369 "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
12370 "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
12371 "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
12372 "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
12373 "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
12374 "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
12375 "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
12376 "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
12377 "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
12378 "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
12379 "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
12380 "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
12381 "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
12382 "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
12383 "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
12384 "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
12385 "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
12386 "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
12387 "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
12388 "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
12389 "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
12390 "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
12391 "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
12392 "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
12393 "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
12394 "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
12395 "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
12396 "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
12397 "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
12398 "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
12399 "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
12400 "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
12401 "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
12402 "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
12403 "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
12404 "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
12405 "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
12406 "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
12407 "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
12408 "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
12409 "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
12410 "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
12411 "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
12412 "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
12414 .result = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12415 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12416 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12417 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12418 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12419 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12420 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12421 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12422 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12423 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12424 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12425 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12426 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12427 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12428 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12429 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12430 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12431 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12432 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12433 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12434 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12435 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12436 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12437 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12438 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12439 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12440 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12441 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12442 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12443 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12444 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12445 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12446 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12447 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12448 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12449 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12450 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12451 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12452 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12453 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12454 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12455 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12456 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12457 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12458 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12459 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12460 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
12461 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
12462 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
12463 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
12464 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
12465 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
12466 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
12467 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
12468 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
12469 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
12470 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
12471 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
12472 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
12473 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
12474 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
12475 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
12476 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
12477 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
12481 .tap = { 512 - 16, 16 },
12485 static struct cipher_testvec cast6_xts_enc_tv_template[] = {
12486 { /* Generated from TF test vectors */
12487 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
12488 "\x23\x53\x60\x28\x74\x71\x35\x26"
12489 "\x62\x49\x77\x57\x24\x70\x93\x69"
12490 "\x99\x59\x57\x49\x66\x96\x76\x27"
12491 "\x31\x41\x59\x26\x53\x58\x97\x93"
12492 "\x23\x84\x62\x64\x33\x83\x27\x95"
12493 "\x02\x88\x41\x97\x16\x93\x99\x37"
12494 "\x51\x05\x82\x09\x74\x94\x45\x92",
12496 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
12497 "\x00\x00\x00\x00\x00\x00\x00\x00",
12498 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
12499 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12500 "\x10\x11\x12\x13\x14\x15\x16\x17"
12501 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12502 "\x20\x21\x22\x23\x24\x25\x26\x27"
12503 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12504 "\x30\x31\x32\x33\x34\x35\x36\x37"
12505 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12506 "\x40\x41\x42\x43\x44\x45\x46\x47"
12507 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12508 "\x50\x51\x52\x53\x54\x55\x56\x57"
12509 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12510 "\x60\x61\x62\x63\x64\x65\x66\x67"
12511 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12512 "\x70\x71\x72\x73\x74\x75\x76\x77"
12513 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12514 "\x80\x81\x82\x83\x84\x85\x86\x87"
12515 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12516 "\x90\x91\x92\x93\x94\x95\x96\x97"
12517 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12518 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12519 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12520 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12521 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12522 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12523 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12524 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12525 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12526 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12527 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12528 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12529 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
12530 "\x00\x01\x02\x03\x04\x05\x06\x07"
12531 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12532 "\x10\x11\x12\x13\x14\x15\x16\x17"
12533 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12534 "\x20\x21\x22\x23\x24\x25\x26\x27"
12535 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12536 "\x30\x31\x32\x33\x34\x35\x36\x37"
12537 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12538 "\x40\x41\x42\x43\x44\x45\x46\x47"
12539 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12540 "\x50\x51\x52\x53\x54\x55\x56\x57"
12541 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12542 "\x60\x61\x62\x63\x64\x65\x66\x67"
12543 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12544 "\x70\x71\x72\x73\x74\x75\x76\x77"
12545 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12546 "\x80\x81\x82\x83\x84\x85\x86\x87"
12547 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12548 "\x90\x91\x92\x93\x94\x95\x96\x97"
12549 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12550 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12551 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12552 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12553 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12554 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12555 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12556 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12557 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12558 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12559 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12560 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12561 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
12563 .result = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
12564 "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
12565 "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
12566 "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
12567 "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
12568 "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
12569 "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
12570 "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
12571 "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
12572 "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
12573 "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
12574 "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
12575 "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
12576 "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
12577 "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
12578 "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
12579 "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
12580 "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
12581 "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
12582 "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
12583 "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
12584 "\x71\x38\x17\x91\x44\xE8\xFC\x65"
12585 "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
12586 "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
12587 "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
12588 "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
12589 "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
12590 "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
12591 "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
12592 "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
12593 "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
12594 "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
12595 "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
12596 "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
12597 "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
12598 "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
12599 "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
12600 "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
12601 "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
12602 "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
12603 "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
12604 "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
12605 "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
12606 "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
12607 "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
12608 "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
12609 "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
12610 "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
12611 "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
12612 "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
12613 "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
12614 "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
12615 "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
12616 "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
12617 "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
12618 "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
12619 "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
12620 "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
12621 "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
12622 "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
12623 "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
12624 "\x45\x72\x80\x17\x81\xBD\x9D\x62"
12625 "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
12626 "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
12630 .tap = { 512 - 16, 16 },
12634 static struct cipher_testvec cast6_xts_dec_tv_template[] = {
12635 { /* Generated from TF test vectors */
12636 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
12637 "\x23\x53\x60\x28\x74\x71\x35\x26"
12638 "\x62\x49\x77\x57\x24\x70\x93\x69"
12639 "\x99\x59\x57\x49\x66\x96\x76\x27"
12640 "\x31\x41\x59\x26\x53\x58\x97\x93"
12641 "\x23\x84\x62\x64\x33\x83\x27\x95"
12642 "\x02\x88\x41\x97\x16\x93\x99\x37"
12643 "\x51\x05\x82\x09\x74\x94\x45\x92",
12645 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
12646 "\x00\x00\x00\x00\x00\x00\x00\x00",
12647 .input = "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
12648 "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
12649 "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
12650 "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
12651 "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
12652 "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
12653 "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
12654 "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
12655 "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
12656 "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
12657 "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
12658 "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
12659 "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
12660 "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
12661 "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
12662 "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
12663 "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
12664 "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
12665 "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
12666 "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
12667 "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
12668 "\x71\x38\x17\x91\x44\xE8\xFC\x65"
12669 "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
12670 "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
12671 "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
12672 "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
12673 "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
12674 "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
12675 "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
12676 "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
12677 "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
12678 "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
12679 "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
12680 "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
12681 "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
12682 "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
12683 "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
12684 "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
12685 "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
12686 "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
12687 "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
12688 "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
12689 "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
12690 "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
12691 "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
12692 "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
12693 "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
12694 "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
12695 "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
12696 "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
12697 "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
12698 "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
12699 "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
12700 "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
12701 "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
12702 "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
12703 "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
12704 "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
12705 "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
12706 "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
12707 "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
12708 "\x45\x72\x80\x17\x81\xBD\x9D\x62"
12709 "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
12710 "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
12712 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
12713 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12714 "\x10\x11\x12\x13\x14\x15\x16\x17"
12715 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12716 "\x20\x21\x22\x23\x24\x25\x26\x27"
12717 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12718 "\x30\x31\x32\x33\x34\x35\x36\x37"
12719 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12720 "\x40\x41\x42\x43\x44\x45\x46\x47"
12721 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12722 "\x50\x51\x52\x53\x54\x55\x56\x57"
12723 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12724 "\x60\x61\x62\x63\x64\x65\x66\x67"
12725 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12726 "\x70\x71\x72\x73\x74\x75\x76\x77"
12727 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12728 "\x80\x81\x82\x83\x84\x85\x86\x87"
12729 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12730 "\x90\x91\x92\x93\x94\x95\x96\x97"
12731 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12732 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12733 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12734 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12735 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12736 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12737 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12738 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12739 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12740 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12741 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12742 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12743 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
12744 "\x00\x01\x02\x03\x04\x05\x06\x07"
12745 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12746 "\x10\x11\x12\x13\x14\x15\x16\x17"
12747 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12748 "\x20\x21\x22\x23\x24\x25\x26\x27"
12749 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12750 "\x30\x31\x32\x33\x34\x35\x36\x37"
12751 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12752 "\x40\x41\x42\x43\x44\x45\x46\x47"
12753 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12754 "\x50\x51\x52\x53\x54\x55\x56\x57"
12755 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12756 "\x60\x61\x62\x63\x64\x65\x66\x67"
12757 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12758 "\x70\x71\x72\x73\x74\x75\x76\x77"
12759 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12760 "\x80\x81\x82\x83\x84\x85\x86\x87"
12761 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12762 "\x90\x91\x92\x93\x94\x95\x96\x97"
12763 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12764 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12765 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12766 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12767 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12768 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12769 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12770 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12771 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12772 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12773 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12774 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12775 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
12779 .tap = { 512 - 16, 16 },
12785 * AES test vectors.
12787 #define AES_ENC_TEST_VECTORS 4
12788 #define AES_DEC_TEST_VECTORS 4
12789 #define AES_CBC_ENC_TEST_VECTORS 5
12790 #define AES_CBC_DEC_TEST_VECTORS 5
12791 #define HMAC_SHA1_AES_CBC_ENC_TEST_VECTORS 7
12792 #define HMAC_SHA256_AES_CBC_ENC_TEST_VECTORS 7
12793 #define HMAC_SHA512_AES_CBC_ENC_TEST_VECTORS 7
12794 #define AES_LRW_ENC_TEST_VECTORS 8
12795 #define AES_LRW_DEC_TEST_VECTORS 8
12796 #define AES_XTS_ENC_TEST_VECTORS 5
12797 #define AES_XTS_DEC_TEST_VECTORS 5
12798 #define AES_CTR_ENC_TEST_VECTORS 5
12799 #define AES_CTR_DEC_TEST_VECTORS 5
12800 #define AES_OFB_ENC_TEST_VECTORS 1
12801 #define AES_OFB_DEC_TEST_VECTORS 1
12802 #define AES_CTR_3686_ENC_TEST_VECTORS 7
12803 #define AES_CTR_3686_DEC_TEST_VECTORS 6
12804 #define AES_GCM_ENC_TEST_VECTORS 9
12805 #define AES_GCM_DEC_TEST_VECTORS 8
12806 #define AES_GCM_4106_ENC_TEST_VECTORS 7
12807 #define AES_GCM_4106_DEC_TEST_VECTORS 7
12808 #define AES_GCM_4543_ENC_TEST_VECTORS 1
12809 #define AES_GCM_4543_DEC_TEST_VECTORS 2
12810 #define AES_CCM_ENC_TEST_VECTORS 7
12811 #define AES_CCM_DEC_TEST_VECTORS 7
12812 #define AES_CCM_4309_ENC_TEST_VECTORS 7
12813 #define AES_CCM_4309_DEC_TEST_VECTORS 10
12815 static struct cipher_testvec aes_enc_tv_template[] = {
12816 { /* From FIPS-197 */
12817 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
12818 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12820 .input = "\x00\x11\x22\x33\x44\x55\x66\x77"
12821 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
12823 .result = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
12824 "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
12827 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
12828 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12829 "\x10\x11\x12\x13\x14\x15\x16\x17",
12831 .input = "\x00\x11\x22\x33\x44\x55\x66\x77"
12832 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
12834 .result = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
12835 "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
12838 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
12839 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12840 "\x10\x11\x12\x13\x14\x15\x16\x17"
12841 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
12843 .input = "\x00\x11\x22\x33\x44\x55\x66\x77"
12844 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
12846 .result = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
12847 "\xea\xfc\x49\x90\x4b\x49\x60\x89",
12849 }, { /* Generated with Crypto++ */
12850 .key = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
12851 "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
12852 "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
12853 "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
12855 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
12856 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
12857 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
12858 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
12859 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
12860 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
12861 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
12862 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
12863 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
12864 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
12865 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
12866 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
12867 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
12868 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
12869 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
12870 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
12871 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
12872 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
12873 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
12874 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
12875 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
12876 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
12877 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
12878 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
12879 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
12880 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
12881 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
12882 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
12883 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
12884 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
12885 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
12886 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
12887 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
12888 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
12889 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
12890 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
12891 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
12892 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
12893 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
12894 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
12895 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
12896 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
12897 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
12898 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
12899 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
12900 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
12901 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
12902 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
12903 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
12904 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
12905 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
12906 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
12907 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
12908 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
12909 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
12910 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
12911 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
12912 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
12913 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
12914 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
12915 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
12916 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
12918 .result = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
12919 "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
12920 "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
12921 "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
12922 "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
12923 "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
12924 "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
12925 "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
12926 "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
12927 "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
12928 "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
12929 "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
12930 "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
12931 "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
12932 "\x41\x72\x51\x97\x1D\x07\x49\xA0"
12933 "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
12934 "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
12935 "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
12936 "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
12937 "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
12938 "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
12939 "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
12940 "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
12941 "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
12942 "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
12943 "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
12944 "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
12945 "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
12946 "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
12947 "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
12948 "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
12949 "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
12950 "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
12951 "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
12952 "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
12953 "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
12954 "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
12955 "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
12956 "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
12957 "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
12958 "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
12959 "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
12960 "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
12961 "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
12962 "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
12963 "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
12964 "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
12965 "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
12966 "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
12967 "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
12968 "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
12969 "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
12970 "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
12971 "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
12972 "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
12973 "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
12974 "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
12975 "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
12976 "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
12977 "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
12978 "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
12979 "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
12983 .tap = { 496 - 16, 16 },
12987 static struct cipher_testvec aes_dec_tv_template[] = {
12988 { /* From FIPS-197 */
12989 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
12990 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
12992 .input = "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
12993 "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
12995 .result = "\x00\x11\x22\x33\x44\x55\x66\x77"
12996 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
12999 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
13000 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13001 "\x10\x11\x12\x13\x14\x15\x16\x17",
13003 .input = "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
13004 "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
13006 .result = "\x00\x11\x22\x33\x44\x55\x66\x77"
13007 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
13010 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
13011 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13012 "\x10\x11\x12\x13\x14\x15\x16\x17"
13013 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
13015 .input = "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
13016 "\xea\xfc\x49\x90\x4b\x49\x60\x89",
13018 .result = "\x00\x11\x22\x33\x44\x55\x66\x77"
13019 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
13021 }, { /* Generated with Crypto++ */
13022 .key = "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
13023 "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
13024 "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
13025 "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
13027 .input = "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
13028 "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
13029 "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
13030 "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
13031 "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
13032 "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
13033 "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
13034 "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
13035 "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
13036 "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
13037 "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
13038 "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
13039 "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
13040 "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
13041 "\x41\x72\x51\x97\x1D\x07\x49\xA0"
13042 "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
13043 "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
13044 "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
13045 "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
13046 "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
13047 "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
13048 "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
13049 "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
13050 "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
13051 "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
13052 "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
13053 "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
13054 "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
13055 "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
13056 "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
13057 "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
13058 "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
13059 "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
13060 "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
13061 "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
13062 "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
13063 "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
13064 "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
13065 "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
13066 "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
13067 "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
13068 "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
13069 "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
13070 "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
13071 "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
13072 "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
13073 "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
13074 "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
13075 "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
13076 "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
13077 "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
13078 "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
13079 "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
13080 "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
13081 "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
13082 "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
13083 "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
13084 "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
13085 "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
13086 "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
13087 "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
13088 "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
13090 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
13091 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
13092 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
13093 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
13094 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
13095 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
13096 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
13097 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
13098 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
13099 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
13100 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
13101 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
13102 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
13103 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
13104 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
13105 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
13106 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
13107 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
13108 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
13109 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
13110 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
13111 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
13112 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
13113 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
13114 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
13115 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
13116 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
13117 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
13118 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
13119 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
13120 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
13121 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
13122 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
13123 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
13124 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
13125 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
13126 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
13127 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
13128 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
13129 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
13130 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
13131 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
13132 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
13133 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
13134 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
13135 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
13136 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
13137 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
13138 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
13139 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
13140 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
13141 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
13142 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
13143 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
13144 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
13145 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
13146 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
13147 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
13148 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
13149 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
13150 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
13151 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
13155 .tap = { 496 - 16, 16 },
13159 static struct cipher_testvec aes_cbc_enc_tv_template[] = {
13160 { /* From RFC 3602 */
13161 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
13162 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
13164 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13165 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13166 .input = "Single block msg",
13168 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
13169 "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
13172 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
13173 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
13175 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13176 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13177 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
13178 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13179 "\x10\x11\x12\x13\x14\x15\x16\x17"
13180 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
13182 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
13183 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
13184 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
13185 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
13187 }, { /* From NIST SP800-38A */
13188 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
13189 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
13190 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
13192 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13193 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13194 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13195 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13196 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13197 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13198 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13199 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13200 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13201 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13203 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
13204 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
13205 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
13206 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
13207 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
13208 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
13209 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
13210 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
13213 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
13214 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
13215 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
13216 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
13218 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13219 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13220 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13221 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13222 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13223 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13224 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13225 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13226 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13227 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13229 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
13230 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
13231 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
13232 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
13233 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
13234 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
13235 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
13236 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
13238 }, { /* Generated with Crypto++ */
13239 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
13240 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
13241 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
13242 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
13244 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
13245 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
13246 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
13247 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
13248 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
13249 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
13250 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
13251 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
13252 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
13253 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
13254 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
13255 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
13256 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
13257 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
13258 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
13259 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
13260 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
13261 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
13262 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
13263 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
13264 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
13265 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
13266 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
13267 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
13268 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
13269 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
13270 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
13271 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
13272 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
13273 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
13274 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
13275 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
13276 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
13277 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
13278 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
13279 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
13280 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
13281 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
13282 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
13283 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
13284 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
13285 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
13286 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
13287 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
13288 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
13289 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
13290 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
13291 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
13292 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
13293 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
13294 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
13295 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
13296 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
13297 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
13298 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
13299 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
13300 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
13301 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
13302 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
13303 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
13304 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
13305 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
13306 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
13307 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
13309 .result = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
13310 "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
13311 "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
13312 "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
13313 "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
13314 "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
13315 "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
13316 "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
13317 "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
13318 "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
13319 "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
13320 "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
13321 "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
13322 "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
13323 "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
13324 "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
13325 "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
13326 "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
13327 "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
13328 "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
13329 "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
13330 "\x16\x24\x02\x07\x48\xAE\xF2\x31"
13331 "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
13332 "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
13333 "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
13334 "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
13335 "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
13336 "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
13337 "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
13338 "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
13339 "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
13340 "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
13341 "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
13342 "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
13343 "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
13344 "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
13345 "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
13346 "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
13347 "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
13348 "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
13349 "\x22\x39\x7B\x16\x03\x01\x69\xAF"
13350 "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
13351 "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
13352 "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
13353 "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
13354 "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
13355 "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
13356 "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
13357 "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
13358 "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
13359 "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
13360 "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
13361 "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
13362 "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
13363 "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
13364 "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
13365 "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
13366 "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
13367 "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
13368 "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
13369 "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
13370 "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
13374 .tap = { 496 - 16, 16 },
13378 static struct cipher_testvec aes_cbc_dec_tv_template[] = {
13379 { /* From RFC 3602 */
13380 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
13381 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
13383 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13384 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13385 .input = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
13386 "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
13388 .result = "Single block msg",
13391 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
13392 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
13394 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13395 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13396 .input = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
13397 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
13398 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
13399 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
13401 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
13402 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13403 "\x10\x11\x12\x13\x14\x15\x16\x17"
13404 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
13406 }, { /* From NIST SP800-38A */
13407 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
13408 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
13409 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
13411 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13412 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13413 .input = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
13414 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
13415 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
13416 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
13417 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
13418 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
13419 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
13420 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
13422 .result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13423 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13424 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13425 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13426 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13427 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13428 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13429 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13432 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
13433 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
13434 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
13435 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
13437 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13438 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13439 .input = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
13440 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
13441 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
13442 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
13443 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
13444 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
13445 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
13446 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
13448 .result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13449 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13450 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13451 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13452 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13453 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13454 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13455 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13457 }, { /* Generated with Crypto++ */
13458 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
13459 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
13460 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
13461 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
13463 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
13464 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
13465 .input = "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
13466 "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
13467 "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
13468 "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
13469 "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
13470 "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
13471 "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
13472 "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
13473 "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
13474 "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
13475 "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
13476 "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
13477 "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
13478 "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
13479 "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
13480 "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
13481 "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
13482 "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
13483 "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
13484 "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
13485 "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
13486 "\x16\x24\x02\x07\x48\xAE\xF2\x31"
13487 "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
13488 "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
13489 "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
13490 "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
13491 "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
13492 "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
13493 "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
13494 "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
13495 "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
13496 "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
13497 "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
13498 "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
13499 "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
13500 "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
13501 "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
13502 "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
13503 "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
13504 "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
13505 "\x22\x39\x7B\x16\x03\x01\x69\xAF"
13506 "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
13507 "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
13508 "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
13509 "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
13510 "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
13511 "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
13512 "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
13513 "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
13514 "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
13515 "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
13516 "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
13517 "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
13518 "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
13519 "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
13520 "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
13521 "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
13522 "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
13523 "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
13524 "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
13525 "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
13526 "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
13528 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
13529 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
13530 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
13531 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
13532 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
13533 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
13534 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
13535 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
13536 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
13537 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
13538 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
13539 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
13540 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
13541 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
13542 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
13543 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
13544 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
13545 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
13546 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
13547 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
13548 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
13549 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
13550 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
13551 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
13552 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
13553 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
13554 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
13555 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
13556 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
13557 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
13558 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
13559 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
13560 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
13561 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
13562 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
13563 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
13564 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
13565 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
13566 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
13567 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
13568 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
13569 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
13570 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
13571 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
13572 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
13573 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
13574 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
13575 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
13576 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
13577 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
13578 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
13579 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
13580 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
13581 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
13582 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
13583 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
13584 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
13585 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
13586 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
13587 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
13588 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
13589 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
13593 .tap = { 496 - 16, 16 },
13597 static struct aead_testvec hmac_sha1_aes_cbc_enc_tv_template[] = {
13598 { /* RFC 3602 Case 1 */
13599 #ifdef __LITTLE_ENDIAN
13600 .key = "\x08\x00" /* rta length */
13601 "\x01\x00" /* rta type */
13603 .key = "\x00\x08" /* rta length */
13604 "\x00\x01" /* rta type */
13606 "\x00\x00\x00\x10" /* enc key length */
13607 "\x00\x00\x00\x00\x00\x00\x00\x00"
13608 "\x00\x00\x00\x00\x00\x00\x00\x00"
13610 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
13611 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
13612 .klen = 8 + 20 + 16,
13613 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13614 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13615 .input = "Single block msg",
13617 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
13618 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
13619 "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
13620 "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
13621 "\x03\x71\xa2\x06",
13623 }, { /* RFC 3602 Case 2 */
13624 #ifdef __LITTLE_ENDIAN
13625 .key = "\x08\x00" /* rta length */
13626 "\x01\x00" /* rta type */
13628 .key = "\x00\x08" /* rta length */
13629 "\x00\x01" /* rta type */
13631 "\x00\x00\x00\x10" /* enc key length */
13632 "\x20\x21\x22\x23\x24\x25\x26\x27"
13633 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13635 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
13636 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
13637 .klen = 8 + 20 + 16,
13638 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13639 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13640 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
13641 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13642 "\x10\x11\x12\x13\x14\x15\x16\x17"
13643 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
13645 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
13646 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
13647 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
13648 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
13649 "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
13650 "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
13651 "\x65\x39\xf8\xde",
13653 }, { /* RFC 3602 Case 3 */
13654 #ifdef __LITTLE_ENDIAN
13655 .key = "\x08\x00" /* rta length */
13656 "\x01\x00" /* rta type */
13658 .key = "\x00\x08" /* rta length */
13659 "\x00\x01" /* rta type */
13661 "\x00\x00\x00\x10" /* enc key length */
13662 "\x11\x22\x33\x44\x55\x66\x77\x88"
13663 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13665 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
13666 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
13667 .klen = 8 + 20 + 16,
13668 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
13669 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
13670 .input = "This is a 48-byte message (exactly 3 AES blocks)",
13672 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
13673 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
13674 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
13675 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
13676 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
13677 "\x85\x79\x69\x5d\x83\xba\x26\x84"
13678 "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
13679 "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
13680 "\x8d\x62\xf2\x1e",
13682 }, { /* RFC 3602 Case 4 */
13683 #ifdef __LITTLE_ENDIAN
13684 .key = "\x08\x00" /* rta length */
13685 "\x01\x00" /* rta type */
13687 .key = "\x00\x08" /* rta length */
13688 "\x00\x01" /* rta type */
13690 "\x00\x00\x00\x10" /* enc key length */
13691 "\x11\x22\x33\x44\x55\x66\x77\x88"
13692 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13694 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
13695 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
13696 .klen = 8 + 20 + 16,
13697 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
13698 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
13699 .input = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13700 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13701 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13702 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13703 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13704 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13705 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13706 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
13708 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
13709 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
13710 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
13711 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
13712 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
13713 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
13714 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
13715 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
13716 "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
13717 "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
13718 "\x1d\xbe\xc6\xe9",
13720 }, { /* RFC 3602 Case 5 */
13721 #ifdef __LITTLE_ENDIAN
13722 .key = "\x08\x00" /* rta length */
13723 "\x01\x00" /* rta type */
13725 .key = "\x00\x08" /* rta length */
13726 "\x00\x01" /* rta type */
13728 "\x00\x00\x00\x10" /* enc key length */
13729 "\x11\x22\x33\x44\x55\x66\x77\x88"
13730 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13732 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
13733 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
13734 .klen = 8 + 20 + 16,
13735 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
13736 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
13737 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01",
13739 .input = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
13740 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
13741 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13742 "\x10\x11\x12\x13\x14\x15\x16\x17"
13743 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13744 "\x20\x21\x22\x23\x24\x25\x26\x27"
13745 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13746 "\x30\x31\x32\x33\x34\x35\x36\x37"
13747 "\x01\x02\x03\x04\x05\x06\x07\x08"
13748 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
13750 .result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
13751 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
13752 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
13753 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
13754 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
13755 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
13756 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
13757 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
13758 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
13759 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
13760 "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
13761 "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
13762 "\x85\xe1\x59\xf7",
13764 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
13765 #ifdef __LITTLE_ENDIAN
13766 .key = "\x08\x00" /* rta length */
13767 "\x01\x00" /* rta type */
13769 .key = "\x00\x08" /* rta length */
13770 "\x00\x01" /* rta type */
13772 "\x00\x00\x00\x18" /* enc key length */
13773 "\x11\x22\x33\x44\x55\x66\x77\x88"
13774 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13776 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
13777 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
13778 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
13779 .klen = 8 + 20 + 24,
13780 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13781 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13782 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13783 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13784 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13785 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13786 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13787 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13788 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13789 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13791 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
13792 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
13793 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
13794 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
13795 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
13796 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
13797 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
13798 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
13799 "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
13800 "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
13801 "\x47\x4c\xfc\x36",
13803 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
13804 #ifdef __LITTLE_ENDIAN
13805 .key = "\x08\x00" /* rta length */
13806 "\x01\x00" /* rta type */
13808 .key = "\x00\x08" /* rta length */
13809 "\x00\x01" /* rta type */
13811 "\x00\x00\x00\x20" /* enc key length */
13812 "\x11\x22\x33\x44\x55\x66\x77\x88"
13813 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13815 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
13816 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
13817 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
13818 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
13819 .klen = 8 + 20 + 32,
13820 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
13821 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
13822 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
13823 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
13824 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
13825 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
13826 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
13827 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
13828 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
13829 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
13831 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
13832 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
13833 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
13834 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
13835 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
13836 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
13837 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
13838 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
13839 "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
13840 "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
13841 "\x51\xee\xd6\x4e",
13846 static struct aead_testvec hmac_sha256_aes_cbc_enc_tv_template[] = {
13847 { /* RFC 3602 Case 1 */
13848 #ifdef __LITTLE_ENDIAN
13849 .key = "\x08\x00" /* rta length */
13850 "\x01\x00" /* rta type */
13852 .key = "\x00\x08" /* rta length */
13853 "\x00\x01" /* rta type */
13855 "\x00\x00\x00\x10" /* enc key length */
13856 "\x00\x00\x00\x00\x00\x00\x00\x00"
13857 "\x00\x00\x00\x00\x00\x00\x00\x00"
13858 "\x00\x00\x00\x00\x00\x00\x00\x00"
13859 "\x00\x00\x00\x00\x00\x00\x00\x00"
13860 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
13861 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
13862 .klen = 8 + 32 + 16,
13863 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
13864 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
13865 .input = "Single block msg",
13867 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
13868 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
13869 "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
13870 "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
13871 "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
13872 "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
13874 }, { /* RFC 3602 Case 2 */
13875 #ifdef __LITTLE_ENDIAN
13876 .key = "\x08\x00" /* rta length */
13877 "\x01\x00" /* rta type */
13879 .key = "\x00\x08" /* rta length */
13880 "\x00\x01" /* rta type */
13882 "\x00\x00\x00\x10" /* enc key length */
13883 "\x20\x21\x22\x23\x24\x25\x26\x27"
13884 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13885 "\x30\x31\x32\x33\x34\x35\x36\x37"
13886 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13887 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
13888 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
13889 .klen = 8 + 32 + 16,
13890 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
13891 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
13892 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
13893 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13894 "\x10\x11\x12\x13\x14\x15\x16\x17"
13895 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
13897 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
13898 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
13899 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
13900 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
13901 "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
13902 "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
13903 "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
13904 "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
13906 }, { /* RFC 3602 Case 3 */
13907 #ifdef __LITTLE_ENDIAN
13908 .key = "\x08\x00" /* rta length */
13909 "\x01\x00" /* rta type */
13911 .key = "\x00\x08" /* rta length */
13912 "\x00\x01" /* rta type */
13914 "\x00\x00\x00\x10" /* enc key length */
13915 "\x11\x22\x33\x44\x55\x66\x77\x88"
13916 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13917 "\x22\x33\x44\x55\x66\x77\x88\x99"
13918 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13919 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
13920 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
13921 .klen = 8 + 32 + 16,
13922 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
13923 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
13924 .input = "This is a 48-byte message (exactly 3 AES blocks)",
13926 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
13927 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
13928 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
13929 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
13930 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
13931 "\x85\x79\x69\x5d\x83\xba\x26\x84"
13932 "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
13933 "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
13934 "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
13935 "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
13937 }, { /* RFC 3602 Case 4 */
13938 #ifdef __LITTLE_ENDIAN
13939 .key = "\x08\x00" /* rta length */
13940 "\x01\x00" /* rta type */
13942 .key = "\x00\x08" /* rta length */
13943 "\x00\x01" /* rta type */
13945 "\x00\x00\x00\x10" /* enc key length */
13946 "\x11\x22\x33\x44\x55\x66\x77\x88"
13947 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13948 "\x22\x33\x44\x55\x66\x77\x88\x99"
13949 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13950 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
13951 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
13952 .klen = 8 + 32 + 16,
13953 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
13954 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
13955 .input = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13956 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13957 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13958 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13959 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13960 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13961 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13962 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
13964 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
13965 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
13966 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
13967 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
13968 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
13969 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
13970 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
13971 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
13972 "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
13973 "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
13974 "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
13975 "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
13977 }, { /* RFC 3602 Case 5 */
13978 #ifdef __LITTLE_ENDIAN
13979 .key = "\x08\x00" /* rta length */
13980 "\x01\x00" /* rta type */
13982 .key = "\x00\x08" /* rta length */
13983 "\x00\x01" /* rta type */
13985 "\x00\x00\x00\x10" /* enc key length */
13986 "\x11\x22\x33\x44\x55\x66\x77\x88"
13987 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
13988 "\x22\x33\x44\x55\x66\x77\x88\x99"
13989 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
13990 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
13991 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
13992 .klen = 8 + 32 + 16,
13993 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
13994 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
13995 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01",
13997 .input = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
13998 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
13999 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14000 "\x10\x11\x12\x13\x14\x15\x16\x17"
14001 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14002 "\x20\x21\x22\x23\x24\x25\x26\x27"
14003 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14004 "\x30\x31\x32\x33\x34\x35\x36\x37"
14005 "\x01\x02\x03\x04\x05\x06\x07\x08"
14006 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
14008 .result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
14009 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
14010 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
14011 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
14012 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
14013 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
14014 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
14015 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
14016 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
14017 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
14018 "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
14019 "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
14020 "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
14021 "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
14023 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
14024 #ifdef __LITTLE_ENDIAN
14025 .key = "\x08\x00" /* rta length */
14026 "\x01\x00" /* rta type */
14028 .key = "\x00\x08" /* rta length */
14029 "\x00\x01" /* rta type */
14031 "\x00\x00\x00\x18" /* enc key length */
14032 "\x11\x22\x33\x44\x55\x66\x77\x88"
14033 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14034 "\x22\x33\x44\x55\x66\x77\x88\x99"
14035 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14036 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
14037 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
14038 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
14039 .klen = 8 + 32 + 24,
14040 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
14041 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14042 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14043 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14044 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14045 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14046 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14047 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14048 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14049 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14051 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
14052 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
14053 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
14054 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
14055 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
14056 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
14057 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
14058 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
14059 "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
14060 "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
14061 "\xca\x71\x85\x93\xf7\x85\x55\x8b"
14062 "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
14064 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
14065 #ifdef __LITTLE_ENDIAN
14066 .key = "\x08\x00" /* rta length */
14067 "\x01\x00" /* rta type */
14069 .key = "\x00\x08" /* rta length */
14070 "\x00\x01" /* rta type */
14072 "\x00\x00\x00\x20" /* enc key length */
14073 "\x11\x22\x33\x44\x55\x66\x77\x88"
14074 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14075 "\x22\x33\x44\x55\x66\x77\x88\x99"
14076 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14077 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
14078 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
14079 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
14080 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
14081 .klen = 8 + 32 + 32,
14082 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
14083 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14084 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14085 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14086 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14087 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14088 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14089 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14090 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14091 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14093 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
14094 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
14095 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
14096 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
14097 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
14098 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
14099 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
14100 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
14101 "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
14102 "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
14103 "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
14104 "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
14109 static struct aead_testvec hmac_sha512_aes_cbc_enc_tv_template[] = {
14110 { /* RFC 3602 Case 1 */
14111 #ifdef __LITTLE_ENDIAN
14112 .key = "\x08\x00" /* rta length */
14113 "\x01\x00" /* rta type */
14115 .key = "\x00\x08" /* rta length */
14116 "\x00\x01" /* rta type */
14118 "\x00\x00\x00\x10" /* enc key length */
14119 "\x00\x00\x00\x00\x00\x00\x00\x00"
14120 "\x00\x00\x00\x00\x00\x00\x00\x00"
14121 "\x00\x00\x00\x00\x00\x00\x00\x00"
14122 "\x00\x00\x00\x00\x00\x00\x00\x00"
14123 "\x00\x00\x00\x00\x00\x00\x00\x00"
14124 "\x00\x00\x00\x00\x00\x00\x00\x00"
14125 "\x00\x00\x00\x00\x00\x00\x00\x00"
14126 "\x00\x00\x00\x00\x00\x00\x00\x00"
14127 "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
14128 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
14129 .klen = 8 + 64 + 16,
14130 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
14131 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
14132 .input = "Single block msg",
14134 .result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
14135 "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
14136 "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
14137 "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
14138 "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
14139 "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
14140 "\xec\xbd\x50\x08\x07\x64\x1a\x49"
14141 "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
14142 "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
14143 "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
14145 }, { /* RFC 3602 Case 2 */
14146 #ifdef __LITTLE_ENDIAN
14147 .key = "\x08\x00" /* rta length */
14148 "\x01\x00" /* rta type */
14150 .key = "\x00\x08" /* rta length */
14151 "\x00\x01" /* rta type */
14153 "\x00\x00\x00\x10" /* enc key length */
14154 "\x20\x21\x22\x23\x24\x25\x26\x27"
14155 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14156 "\x30\x31\x32\x33\x34\x35\x36\x37"
14157 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14158 "\x40\x41\x42\x43\x44\x45\x46\x47"
14159 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14160 "\x50\x51\x52\x53\x54\x55\x56\x57"
14161 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14162 "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
14163 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
14164 .klen = 8 + 64 + 16,
14165 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
14166 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
14167 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
14168 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14169 "\x10\x11\x12\x13\x14\x15\x16\x17"
14170 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
14172 .result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
14173 "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
14174 "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
14175 "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
14176 "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
14177 "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
14178 "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
14179 "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
14180 "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
14181 "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
14182 "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
14183 "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
14185 }, { /* RFC 3602 Case 3 */
14186 #ifdef __LITTLE_ENDIAN
14187 .key = "\x08\x00" /* rta length */
14188 "\x01\x00" /* rta type */
14190 .key = "\x00\x08" /* rta length */
14191 "\x00\x01" /* rta type */
14193 "\x00\x00\x00\x10" /* enc key length */
14194 "\x11\x22\x33\x44\x55\x66\x77\x88"
14195 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14196 "\x22\x33\x44\x55\x66\x77\x88\x99"
14197 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14198 "\x33\x44\x55\x66\x77\x88\x99\xaa"
14199 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
14200 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
14201 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
14202 "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
14203 "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
14204 .klen = 8 + 64 + 16,
14205 .iv = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
14206 "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
14207 .input = "This is a 48-byte message (exactly 3 AES blocks)",
14209 .result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
14210 "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
14211 "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
14212 "\x50\x69\x39\x27\x67\x72\xf8\xd5"
14213 "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
14214 "\x85\x79\x69\x5d\x83\xba\x26\x84"
14215 "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
14216 "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
14217 "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
14218 "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
14219 "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
14220 "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
14221 "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
14222 "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
14224 }, { /* RFC 3602 Case 4 */
14225 #ifdef __LITTLE_ENDIAN
14226 .key = "\x08\x00" /* rta length */
14227 "\x01\x00" /* rta type */
14229 .key = "\x00\x08" /* rta length */
14230 "\x00\x01" /* rta type */
14232 "\x00\x00\x00\x10" /* enc key length */
14233 "\x11\x22\x33\x44\x55\x66\x77\x88"
14234 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14235 "\x22\x33\x44\x55\x66\x77\x88\x99"
14236 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14237 "\x33\x44\x55\x66\x77\x88\x99\xaa"
14238 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
14239 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
14240 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
14241 "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
14242 "\xbc\x46\x90\x3d\xba\x29\x03\x49",
14243 .klen = 8 + 64 + 16,
14244 .iv = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
14245 "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
14246 .input = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14247 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14248 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14249 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14250 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14251 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14252 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14253 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
14255 .result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
14256 "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
14257 "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
14258 "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
14259 "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
14260 "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
14261 "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
14262 "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
14263 "\x82\xcd\x42\x28\x21\x20\x15\xcc"
14264 "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
14265 "\x61\x32\x82\x85\xcf\x27\xed\xb4"
14266 "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
14267 "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
14268 "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
14269 "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
14270 "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
14272 }, { /* RFC 3602 Case 5 */
14273 #ifdef __LITTLE_ENDIAN
14274 .key = "\x08\x00" /* rta length */
14275 "\x01\x00" /* rta type */
14277 .key = "\x00\x08" /* rta length */
14278 "\x00\x01" /* rta type */
14280 "\x00\x00\x00\x10" /* enc key length */
14281 "\x11\x22\x33\x44\x55\x66\x77\x88"
14282 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14283 "\x22\x33\x44\x55\x66\x77\x88\x99"
14284 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14285 "\x33\x44\x55\x66\x77\x88\x99\xaa"
14286 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
14287 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
14288 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
14289 "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
14290 "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
14291 .klen = 8 + 64 + 16,
14292 .iv = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
14293 "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
14294 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x01",
14296 .input = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
14297 "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
14298 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14299 "\x10\x11\x12\x13\x14\x15\x16\x17"
14300 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14301 "\x20\x21\x22\x23\x24\x25\x26\x27"
14302 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14303 "\x30\x31\x32\x33\x34\x35\x36\x37"
14304 "\x01\x02\x03\x04\x05\x06\x07\x08"
14305 "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
14307 .result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
14308 "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
14309 "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
14310 "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
14311 "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
14312 "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
14313 "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
14314 "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
14315 "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
14316 "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
14317 "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
14318 "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
14319 "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
14320 "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
14321 "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
14322 "\x92\x26\xc1\x76\x20\x11\xeb\xba"
14323 "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
14324 "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
14326 }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
14327 #ifdef __LITTLE_ENDIAN
14328 .key = "\x08\x00" /* rta length */
14329 "\x01\x00" /* rta type */
14331 .key = "\x00\x08" /* rta length */
14332 "\x00\x01" /* rta type */
14334 "\x00\x00\x00\x18" /* enc key length */
14335 "\x11\x22\x33\x44\x55\x66\x77\x88"
14336 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14337 "\x22\x33\x44\x55\x66\x77\x88\x99"
14338 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14339 "\x33\x44\x55\x66\x77\x88\x99\xaa"
14340 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
14341 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
14342 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
14343 "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
14344 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
14345 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
14346 .klen = 8 + 64 + 24,
14347 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
14348 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14349 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14350 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14351 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14352 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14353 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14354 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14355 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14356 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14358 .result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
14359 "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
14360 "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
14361 "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
14362 "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
14363 "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
14364 "\x08\xb0\xe2\x79\x88\x59\x88\x81"
14365 "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
14366 "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
14367 "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
14368 "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
14369 "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
14370 "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
14371 "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
14372 "\x8d\x43\x98\xa7\x94\x16\x07\x02"
14373 "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
14375 }, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
14376 #ifdef __LITTLE_ENDIAN
14377 .key = "\x08\x00" /* rta length */
14378 "\x01\x00" /* rta type */
14380 .key = "\x00\x08" /* rta length */
14381 "\x00\x01" /* rta type */
14383 "\x00\x00\x00\x20" /* enc key length */
14384 "\x11\x22\x33\x44\x55\x66\x77\x88"
14385 "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
14386 "\x22\x33\x44\x55\x66\x77\x88\x99"
14387 "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
14388 "\x33\x44\x55\x66\x77\x88\x99\xaa"
14389 "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
14390 "\x44\x55\x66\x77\x88\x99\xaa\xbb"
14391 "\xcc\xdd\xee\xff\x11\x22\x33\x44"
14392 "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
14393 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
14394 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
14395 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
14396 .klen = 8 + 64 + 32,
14397 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07"
14398 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
14399 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
14400 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
14401 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
14402 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
14403 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
14404 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
14405 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
14406 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
14408 .result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
14409 "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
14410 "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
14411 "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
14412 "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
14413 "\xa5\x30\xe2\x63\x04\x23\x14\x61"
14414 "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
14415 "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
14416 "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
14417 "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
14418 "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
14419 "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
14420 "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
14421 "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
14422 "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
14423 "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
14428 static struct cipher_testvec aes_lrw_enc_tv_template[] = {
14429 /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
14430 { /* LRW-32-AES 1 */
14431 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
14432 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
14433 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
14434 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
14436 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14437 "\x00\x00\x00\x00\x00\x00\x00\x01",
14438 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
14439 "\x38\x39\x41\x42\x43\x44\x45\x46",
14441 .result = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
14442 "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
14444 }, { /* LRW-32-AES 2 */
14445 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
14446 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
14447 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
14448 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
14450 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14451 "\x00\x00\x00\x00\x00\x00\x00\x02",
14452 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
14453 "\x38\x39\x41\x42\x43\x44\x45\x46",
14455 .result = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
14456 "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
14458 }, { /* LRW-32-AES 3 */
14459 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
14460 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
14461 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
14462 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
14464 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14465 "\x00\x00\x00\x02\x00\x00\x00\x00",
14466 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
14467 "\x38\x39\x41\x42\x43\x44\x45\x46",
14469 .result = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
14470 "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
14472 }, { /* LRW-32-AES 4 */
14473 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
14474 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
14475 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
14476 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
14477 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
14479 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14480 "\x00\x00\x00\x00\x00\x00\x00\x01",
14481 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
14482 "\x38\x39\x41\x42\x43\x44\x45\x46",
14484 .result = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
14485 "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
14487 }, { /* LRW-32-AES 5 */
14488 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
14489 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
14490 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
14491 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
14492 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
14494 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14495 "\x00\x00\x00\x02\x00\x00\x00\x00",
14496 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
14497 "\x38\x39\x41\x42\x43\x44\x45\x46",
14499 .result = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
14500 "\xc8\x60\x48\x02\x87\xe3\x34\x06",
14502 }, { /* LRW-32-AES 6 */
14503 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14504 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14505 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14506 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14507 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14508 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14510 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14511 "\x00\x00\x00\x00\x00\x00\x00\x01",
14512 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
14513 "\x38\x39\x41\x42\x43\x44\x45\x46",
14515 .result = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
14516 "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
14518 }, { /* LRW-32-AES 7 */
14519 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
14520 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
14521 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
14522 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
14523 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
14524 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
14526 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14527 "\x00\x00\x00\x02\x00\x00\x00\x00",
14528 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
14529 "\x38\x39\x41\x42\x43\x44\x45\x46",
14531 .result = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
14532 "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
14535 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
14536 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14537 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14538 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14539 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14540 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14541 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14543 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14544 "\x00\x00\x00\x00\x00\x00\x00\x01",
14545 .input = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14546 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14547 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14548 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14549 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14550 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14551 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14552 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14553 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14554 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14555 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14556 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14557 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14558 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14559 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14560 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14561 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14562 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14563 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14564 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14565 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14566 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14567 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14568 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14569 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14570 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14571 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14572 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14573 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14574 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14575 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14576 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14577 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14578 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14579 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14580 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14581 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14582 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14583 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14584 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14585 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14586 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14587 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14588 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14589 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14590 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14591 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14592 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14593 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14594 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14595 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14596 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14597 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14598 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14599 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14600 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14601 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14602 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14603 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14604 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14605 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14606 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14607 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14608 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14610 .result = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
14611 "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
14612 "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
14613 "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
14614 "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
14615 "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
14616 "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
14617 "\xe8\x58\x46\x97\x39\x51\x07\xde"
14618 "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
14619 "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
14620 "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
14621 "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
14622 "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
14623 "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
14624 "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
14625 "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
14626 "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
14627 "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
14628 "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
14629 "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
14630 "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
14631 "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
14632 "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
14633 "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
14634 "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
14635 "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
14636 "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
14637 "\x41\x30\x58\xc5\x62\x74\x52\x1d"
14638 "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
14639 "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
14640 "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
14641 "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
14642 "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
14643 "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
14644 "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
14645 "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
14646 "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
14647 "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
14648 "\xb8\x79\x78\x97\x94\xff\x72\x13"
14649 "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
14650 "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
14651 "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
14652 "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
14653 "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
14654 "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
14655 "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
14656 "\x1e\x86\x53\x11\x53\x94\x00\xee"
14657 "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
14658 "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
14659 "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
14660 "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
14661 "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
14662 "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
14663 "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
14664 "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
14665 "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
14666 "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
14667 "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
14668 "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
14669 "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
14670 "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
14671 "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
14672 "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
14673 "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
14677 .tap = { 512 - 16, 16 },
14681 static struct cipher_testvec aes_lrw_dec_tv_template[] = {
14682 /* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
14683 /* same as enc vectors with input and result reversed */
14684 { /* LRW-32-AES 1 */
14685 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
14686 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
14687 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
14688 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
14690 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14691 "\x00\x00\x00\x00\x00\x00\x00\x01",
14692 .input = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
14693 "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
14695 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
14696 "\x38\x39\x41\x42\x43\x44\x45\x46",
14698 }, { /* LRW-32-AES 2 */
14699 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
14700 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
14701 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
14702 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
14704 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14705 "\x00\x00\x00\x00\x00\x00\x00\x02",
14706 .input = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
14707 "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
14709 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
14710 "\x38\x39\x41\x42\x43\x44\x45\x46",
14712 }, { /* LRW-32-AES 3 */
14713 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
14714 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
14715 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
14716 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
14718 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14719 "\x00\x00\x00\x02\x00\x00\x00\x00",
14720 .input = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
14721 "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
14723 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
14724 "\x38\x39\x41\x42\x43\x44\x45\x46",
14726 }, { /* LRW-32-AES 4 */
14727 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
14728 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
14729 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
14730 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
14731 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
14733 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14734 "\x00\x00\x00\x00\x00\x00\x00\x01",
14735 .input = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
14736 "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
14738 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
14739 "\x38\x39\x41\x42\x43\x44\x45\x46",
14741 }, { /* LRW-32-AES 5 */
14742 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
14743 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
14744 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
14745 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
14746 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
14748 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14749 "\x00\x00\x00\x02\x00\x00\x00\x00",
14750 .input = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
14751 "\xc8\x60\x48\x02\x87\xe3\x34\x06",
14753 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
14754 "\x38\x39\x41\x42\x43\x44\x45\x46",
14756 }, { /* LRW-32-AES 6 */
14757 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14758 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14759 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14760 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14761 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14762 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14764 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14765 "\x00\x00\x00\x00\x00\x00\x00\x01",
14766 .input = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
14767 "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
14769 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
14770 "\x38\x39\x41\x42\x43\x44\x45\x46",
14772 }, { /* LRW-32-AES 7 */
14773 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
14774 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
14775 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
14776 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
14777 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
14778 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
14780 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14781 "\x00\x00\x00\x02\x00\x00\x00\x00",
14782 .input = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
14783 "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
14785 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
14786 "\x38\x39\x41\x42\x43\x44\x45\x46",
14789 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
14790 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14791 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14792 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14793 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14794 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14795 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14797 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14798 "\x00\x00\x00\x00\x00\x00\x00\x01",
14799 .input = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
14800 "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
14801 "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
14802 "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
14803 "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
14804 "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
14805 "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
14806 "\xe8\x58\x46\x97\x39\x51\x07\xde"
14807 "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
14808 "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
14809 "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
14810 "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
14811 "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
14812 "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
14813 "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
14814 "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
14815 "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
14816 "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
14817 "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
14818 "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
14819 "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
14820 "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
14821 "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
14822 "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
14823 "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
14824 "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
14825 "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
14826 "\x41\x30\x58\xc5\x62\x74\x52\x1d"
14827 "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
14828 "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
14829 "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
14830 "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
14831 "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
14832 "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
14833 "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
14834 "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
14835 "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
14836 "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
14837 "\xb8\x79\x78\x97\x94\xff\x72\x13"
14838 "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
14839 "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
14840 "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
14841 "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
14842 "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
14843 "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
14844 "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
14845 "\x1e\x86\x53\x11\x53\x94\x00\xee"
14846 "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
14847 "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
14848 "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
14849 "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
14850 "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
14851 "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
14852 "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
14853 "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
14854 "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
14855 "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
14856 "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
14857 "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
14858 "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
14859 "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
14860 "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
14861 "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
14862 "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
14864 .result = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14865 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14866 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14867 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14868 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14869 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14870 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14871 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14872 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14873 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14874 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14875 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14876 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14877 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14878 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14879 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14880 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14881 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14882 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14883 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14884 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14885 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14886 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14887 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14888 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14889 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14890 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14891 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14892 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14893 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14894 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14895 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14896 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14897 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14898 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14899 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14900 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14901 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14902 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14903 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14904 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14905 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14906 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14907 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14908 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14909 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14910 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14911 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14912 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14913 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14914 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14915 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14916 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14917 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14918 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14919 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14920 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14921 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14922 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14923 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14924 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14925 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14926 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14927 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14931 .tap = { 512 - 16, 16 },
14935 static struct cipher_testvec aes_xts_enc_tv_template[] = {
14936 /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
14938 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
14939 "\x00\x00\x00\x00\x00\x00\x00\x00"
14940 "\x00\x00\x00\x00\x00\x00\x00\x00"
14941 "\x00\x00\x00\x00\x00\x00\x00\x00",
14943 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14944 "\x00\x00\x00\x00\x00\x00\x00\x00",
14945 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
14946 "\x00\x00\x00\x00\x00\x00\x00\x00"
14947 "\x00\x00\x00\x00\x00\x00\x00\x00"
14948 "\x00\x00\x00\x00\x00\x00\x00\x00",
14950 .result = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
14951 "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
14952 "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
14953 "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
14955 }, { /* XTS-AES 2 */
14956 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
14957 "\x11\x11\x11\x11\x11\x11\x11\x11"
14958 "\x22\x22\x22\x22\x22\x22\x22\x22"
14959 "\x22\x22\x22\x22\x22\x22\x22\x22",
14961 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
14962 "\x00\x00\x00\x00\x00\x00\x00\x00",
14963 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
14964 "\x44\x44\x44\x44\x44\x44\x44\x44"
14965 "\x44\x44\x44\x44\x44\x44\x44\x44"
14966 "\x44\x44\x44\x44\x44\x44\x44\x44",
14968 .result = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
14969 "\x39\x33\x40\x38\xac\xef\x83\x8b"
14970 "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
14971 "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
14973 }, { /* XTS-AES 3 */
14974 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
14975 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
14976 "\x22\x22\x22\x22\x22\x22\x22\x22"
14977 "\x22\x22\x22\x22\x22\x22\x22\x22",
14979 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
14980 "\x00\x00\x00\x00\x00\x00\x00\x00",
14981 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
14982 "\x44\x44\x44\x44\x44\x44\x44\x44"
14983 "\x44\x44\x44\x44\x44\x44\x44\x44"
14984 "\x44\x44\x44\x44\x44\x44\x44\x44",
14986 .result = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
14987 "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
14988 "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
14989 "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
14991 }, { /* XTS-AES 4 */
14992 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
14993 "\x23\x53\x60\x28\x74\x71\x35\x26"
14994 "\x31\x41\x59\x26\x53\x58\x97\x93"
14995 "\x23\x84\x62\x64\x33\x83\x27\x95",
14997 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
14998 "\x00\x00\x00\x00\x00\x00\x00\x00",
14999 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
15000 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15001 "\x10\x11\x12\x13\x14\x15\x16\x17"
15002 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15003 "\x20\x21\x22\x23\x24\x25\x26\x27"
15004 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15005 "\x30\x31\x32\x33\x34\x35\x36\x37"
15006 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15007 "\x40\x41\x42\x43\x44\x45\x46\x47"
15008 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15009 "\x50\x51\x52\x53\x54\x55\x56\x57"
15010 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15011 "\x60\x61\x62\x63\x64\x65\x66\x67"
15012 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15013 "\x70\x71\x72\x73\x74\x75\x76\x77"
15014 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15015 "\x80\x81\x82\x83\x84\x85\x86\x87"
15016 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15017 "\x90\x91\x92\x93\x94\x95\x96\x97"
15018 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15019 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15020 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15021 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15022 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15023 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15024 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15025 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15026 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15027 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15028 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15029 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15030 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15031 "\x00\x01\x02\x03\x04\x05\x06\x07"
15032 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15033 "\x10\x11\x12\x13\x14\x15\x16\x17"
15034 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15035 "\x20\x21\x22\x23\x24\x25\x26\x27"
15036 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15037 "\x30\x31\x32\x33\x34\x35\x36\x37"
15038 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15039 "\x40\x41\x42\x43\x44\x45\x46\x47"
15040 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15041 "\x50\x51\x52\x53\x54\x55\x56\x57"
15042 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15043 "\x60\x61\x62\x63\x64\x65\x66\x67"
15044 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15045 "\x70\x71\x72\x73\x74\x75\x76\x77"
15046 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15047 "\x80\x81\x82\x83\x84\x85\x86\x87"
15048 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15049 "\x90\x91\x92\x93\x94\x95\x96\x97"
15050 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15051 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15052 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15053 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15054 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15055 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15056 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15057 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15058 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15059 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15060 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15061 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15062 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15064 .result = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
15065 "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
15066 "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
15067 "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
15068 "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
15069 "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
15070 "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
15071 "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
15072 "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
15073 "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
15074 "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
15075 "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
15076 "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
15077 "\x22\x97\x61\x46\xae\x20\xce\x84"
15078 "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
15079 "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
15080 "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
15081 "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
15082 "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
15083 "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
15084 "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
15085 "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
15086 "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
15087 "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
15088 "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
15089 "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
15090 "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
15091 "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
15092 "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
15093 "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
15094 "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
15095 "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
15096 "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
15097 "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
15098 "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
15099 "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
15100 "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
15101 "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
15102 "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
15103 "\x55\xef\x52\x97\xca\x67\xe9\xf3"
15104 "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
15105 "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
15106 "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
15107 "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
15108 "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
15109 "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
15110 "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
15111 "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
15112 "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
15113 "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
15114 "\x18\x84\x69\x77\xae\x11\x9f\x7a"
15115 "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
15116 "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
15117 "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
15118 "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
15119 "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
15120 "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
15121 "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
15122 "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
15123 "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
15124 "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
15125 "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
15126 "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
15127 "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
15129 }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
15130 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
15131 "\x23\x53\x60\x28\x74\x71\x35\x26"
15132 "\x62\x49\x77\x57\x24\x70\x93\x69"
15133 "\x99\x59\x57\x49\x66\x96\x76\x27"
15134 "\x31\x41\x59\x26\x53\x58\x97\x93"
15135 "\x23\x84\x62\x64\x33\x83\x27\x95"
15136 "\x02\x88\x41\x97\x16\x93\x99\x37"
15137 "\x51\x05\x82\x09\x74\x94\x45\x92",
15139 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
15140 "\x00\x00\x00\x00\x00\x00\x00\x00",
15141 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
15142 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15143 "\x10\x11\x12\x13\x14\x15\x16\x17"
15144 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15145 "\x20\x21\x22\x23\x24\x25\x26\x27"
15146 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15147 "\x30\x31\x32\x33\x34\x35\x36\x37"
15148 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15149 "\x40\x41\x42\x43\x44\x45\x46\x47"
15150 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15151 "\x50\x51\x52\x53\x54\x55\x56\x57"
15152 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15153 "\x60\x61\x62\x63\x64\x65\x66\x67"
15154 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15155 "\x70\x71\x72\x73\x74\x75\x76\x77"
15156 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15157 "\x80\x81\x82\x83\x84\x85\x86\x87"
15158 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15159 "\x90\x91\x92\x93\x94\x95\x96\x97"
15160 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15161 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15162 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15163 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15164 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15165 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15166 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15167 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15168 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15169 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15170 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15171 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15172 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15173 "\x00\x01\x02\x03\x04\x05\x06\x07"
15174 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15175 "\x10\x11\x12\x13\x14\x15\x16\x17"
15176 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15177 "\x20\x21\x22\x23\x24\x25\x26\x27"
15178 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15179 "\x30\x31\x32\x33\x34\x35\x36\x37"
15180 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15181 "\x40\x41\x42\x43\x44\x45\x46\x47"
15182 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15183 "\x50\x51\x52\x53\x54\x55\x56\x57"
15184 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15185 "\x60\x61\x62\x63\x64\x65\x66\x67"
15186 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15187 "\x70\x71\x72\x73\x74\x75\x76\x77"
15188 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15189 "\x80\x81\x82\x83\x84\x85\x86\x87"
15190 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15191 "\x90\x91\x92\x93\x94\x95\x96\x97"
15192 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15193 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15194 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15195 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15196 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15197 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15198 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15199 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15200 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15201 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15202 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15203 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15204 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15206 .result = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
15207 "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
15208 "\xea\x00\x80\x3f\x5e\x48\x23\x57"
15209 "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
15210 "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
15211 "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
15212 "\x68\x0a\x86\xac\x35\xad\xfc\x33"
15213 "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
15214 "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
15215 "\xb1\x08\xfd\x10\x98\xba\xec\x70"
15216 "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
15217 "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
15218 "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
15219 "\xae\xba\x12\x29\x61\xd0\x3a\x75"
15220 "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
15221 "\x00\x02\x08\x87\x89\x14\x29\xca"
15222 "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
15223 "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
15224 "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
15225 "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
15226 "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
15227 "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
15228 "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
15229 "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
15230 "\x93\xec\x05\xc5\x2e\x04\x93\xef"
15231 "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
15232 "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
15233 "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
15234 "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
15235 "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
15236 "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
15237 "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
15238 "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
15239 "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
15240 "\xbc\x48\x14\x57\x77\x8f\x61\x60"
15241 "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
15242 "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
15243 "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
15244 "\xf4\xc3\x33\xec\x44\x23\x88\x51"
15245 "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
15246 "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
15247 "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
15248 "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
15249 "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
15250 "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
15251 "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
15252 "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
15253 "\x92\x5f\xed\xc4\xae\x74\xff\xac"
15254 "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
15255 "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
15256 "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
15257 "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
15258 "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
15259 "\x94\x30\x54\xff\x84\x01\x14\x93"
15260 "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
15261 "\x53\x76\x44\x1a\x77\xed\x43\x85"
15262 "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
15263 "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
15264 "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
15265 "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
15266 "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
15267 "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
15268 "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
15269 "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
15273 .tap = { 512 - 16, 16 },
15277 static struct cipher_testvec aes_xts_dec_tv_template[] = {
15278 /* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
15280 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
15281 "\x00\x00\x00\x00\x00\x00\x00\x00"
15282 "\x00\x00\x00\x00\x00\x00\x00\x00"
15283 "\x00\x00\x00\x00\x00\x00\x00\x00",
15285 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
15286 "\x00\x00\x00\x00\x00\x00\x00\x00",
15287 .input = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
15288 "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
15289 "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
15290 "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
15292 .result = "\x00\x00\x00\x00\x00\x00\x00\x00"
15293 "\x00\x00\x00\x00\x00\x00\x00\x00"
15294 "\x00\x00\x00\x00\x00\x00\x00\x00"
15295 "\x00\x00\x00\x00\x00\x00\x00\x00",
15297 }, { /* XTS-AES 2 */
15298 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
15299 "\x11\x11\x11\x11\x11\x11\x11\x11"
15300 "\x22\x22\x22\x22\x22\x22\x22\x22"
15301 "\x22\x22\x22\x22\x22\x22\x22\x22",
15303 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
15304 "\x00\x00\x00\x00\x00\x00\x00\x00",
15305 .input = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
15306 "\x39\x33\x40\x38\xac\xef\x83\x8b"
15307 "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
15308 "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
15310 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
15311 "\x44\x44\x44\x44\x44\x44\x44\x44"
15312 "\x44\x44\x44\x44\x44\x44\x44\x44"
15313 "\x44\x44\x44\x44\x44\x44\x44\x44",
15315 }, { /* XTS-AES 3 */
15316 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
15317 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
15318 "\x22\x22\x22\x22\x22\x22\x22\x22"
15319 "\x22\x22\x22\x22\x22\x22\x22\x22",
15321 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
15322 "\x00\x00\x00\x00\x00\x00\x00\x00",
15323 .input = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
15324 "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
15325 "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
15326 "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
15328 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
15329 "\x44\x44\x44\x44\x44\x44\x44\x44"
15330 "\x44\x44\x44\x44\x44\x44\x44\x44"
15331 "\x44\x44\x44\x44\x44\x44\x44\x44",
15333 }, { /* XTS-AES 4 */
15334 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
15335 "\x23\x53\x60\x28\x74\x71\x35\x26"
15336 "\x31\x41\x59\x26\x53\x58\x97\x93"
15337 "\x23\x84\x62\x64\x33\x83\x27\x95",
15339 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
15340 "\x00\x00\x00\x00\x00\x00\x00\x00",
15341 .input = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
15342 "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
15343 "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
15344 "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
15345 "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
15346 "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
15347 "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
15348 "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
15349 "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
15350 "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
15351 "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
15352 "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
15353 "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
15354 "\x22\x97\x61\x46\xae\x20\xce\x84"
15355 "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
15356 "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
15357 "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
15358 "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
15359 "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
15360 "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
15361 "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
15362 "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
15363 "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
15364 "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
15365 "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
15366 "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
15367 "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
15368 "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
15369 "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
15370 "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
15371 "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
15372 "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
15373 "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
15374 "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
15375 "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
15376 "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
15377 "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
15378 "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
15379 "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
15380 "\x55\xef\x52\x97\xca\x67\xe9\xf3"
15381 "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
15382 "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
15383 "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
15384 "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
15385 "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
15386 "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
15387 "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
15388 "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
15389 "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
15390 "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
15391 "\x18\x84\x69\x77\xae\x11\x9f\x7a"
15392 "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
15393 "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
15394 "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
15395 "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
15396 "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
15397 "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
15398 "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
15399 "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
15400 "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
15401 "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
15402 "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
15403 "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
15404 "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
15406 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
15407 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15408 "\x10\x11\x12\x13\x14\x15\x16\x17"
15409 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15410 "\x20\x21\x22\x23\x24\x25\x26\x27"
15411 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15412 "\x30\x31\x32\x33\x34\x35\x36\x37"
15413 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15414 "\x40\x41\x42\x43\x44\x45\x46\x47"
15415 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15416 "\x50\x51\x52\x53\x54\x55\x56\x57"
15417 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15418 "\x60\x61\x62\x63\x64\x65\x66\x67"
15419 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15420 "\x70\x71\x72\x73\x74\x75\x76\x77"
15421 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15422 "\x80\x81\x82\x83\x84\x85\x86\x87"
15423 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15424 "\x90\x91\x92\x93\x94\x95\x96\x97"
15425 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15426 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15427 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15428 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15429 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15430 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15431 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15432 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15433 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15434 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15435 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15436 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15437 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15438 "\x00\x01\x02\x03\x04\x05\x06\x07"
15439 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15440 "\x10\x11\x12\x13\x14\x15\x16\x17"
15441 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15442 "\x20\x21\x22\x23\x24\x25\x26\x27"
15443 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15444 "\x30\x31\x32\x33\x34\x35\x36\x37"
15445 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15446 "\x40\x41\x42\x43\x44\x45\x46\x47"
15447 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15448 "\x50\x51\x52\x53\x54\x55\x56\x57"
15449 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15450 "\x60\x61\x62\x63\x64\x65\x66\x67"
15451 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15452 "\x70\x71\x72\x73\x74\x75\x76\x77"
15453 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15454 "\x80\x81\x82\x83\x84\x85\x86\x87"
15455 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15456 "\x90\x91\x92\x93\x94\x95\x96\x97"
15457 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15458 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15459 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15460 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15461 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15462 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15463 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15464 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15465 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15466 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15467 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15468 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15469 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15471 }, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
15472 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
15473 "\x23\x53\x60\x28\x74\x71\x35\x26"
15474 "\x62\x49\x77\x57\x24\x70\x93\x69"
15475 "\x99\x59\x57\x49\x66\x96\x76\x27"
15476 "\x31\x41\x59\x26\x53\x58\x97\x93"
15477 "\x23\x84\x62\x64\x33\x83\x27\x95"
15478 "\x02\x88\x41\x97\x16\x93\x99\x37"
15479 "\x51\x05\x82\x09\x74\x94\x45\x92",
15481 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
15482 "\x00\x00\x00\x00\x00\x00\x00\x00",
15483 .input = "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
15484 "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
15485 "\xea\x00\x80\x3f\x5e\x48\x23\x57"
15486 "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
15487 "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
15488 "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
15489 "\x68\x0a\x86\xac\x35\xad\xfc\x33"
15490 "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
15491 "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
15492 "\xb1\x08\xfd\x10\x98\xba\xec\x70"
15493 "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
15494 "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
15495 "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
15496 "\xae\xba\x12\x29\x61\xd0\x3a\x75"
15497 "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
15498 "\x00\x02\x08\x87\x89\x14\x29\xca"
15499 "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
15500 "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
15501 "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
15502 "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
15503 "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
15504 "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
15505 "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
15506 "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
15507 "\x93\xec\x05\xc5\x2e\x04\x93\xef"
15508 "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
15509 "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
15510 "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
15511 "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
15512 "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
15513 "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
15514 "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
15515 "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
15516 "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
15517 "\xbc\x48\x14\x57\x77\x8f\x61\x60"
15518 "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
15519 "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
15520 "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
15521 "\xf4\xc3\x33\xec\x44\x23\x88\x51"
15522 "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
15523 "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
15524 "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
15525 "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
15526 "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
15527 "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
15528 "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
15529 "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
15530 "\x92\x5f\xed\xc4\xae\x74\xff\xac"
15531 "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
15532 "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
15533 "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
15534 "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
15535 "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
15536 "\x94\x30\x54\xff\x84\x01\x14\x93"
15537 "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
15538 "\x53\x76\x44\x1a\x77\xed\x43\x85"
15539 "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
15540 "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
15541 "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
15542 "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
15543 "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
15544 "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
15545 "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
15546 "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
15548 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
15549 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15550 "\x10\x11\x12\x13\x14\x15\x16\x17"
15551 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15552 "\x20\x21\x22\x23\x24\x25\x26\x27"
15553 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15554 "\x30\x31\x32\x33\x34\x35\x36\x37"
15555 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15556 "\x40\x41\x42\x43\x44\x45\x46\x47"
15557 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15558 "\x50\x51\x52\x53\x54\x55\x56\x57"
15559 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15560 "\x60\x61\x62\x63\x64\x65\x66\x67"
15561 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15562 "\x70\x71\x72\x73\x74\x75\x76\x77"
15563 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15564 "\x80\x81\x82\x83\x84\x85\x86\x87"
15565 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15566 "\x90\x91\x92\x93\x94\x95\x96\x97"
15567 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15568 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15569 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15570 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15571 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15572 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15573 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15574 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15575 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15576 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15577 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15578 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15579 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15580 "\x00\x01\x02\x03\x04\x05\x06\x07"
15581 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15582 "\x10\x11\x12\x13\x14\x15\x16\x17"
15583 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15584 "\x20\x21\x22\x23\x24\x25\x26\x27"
15585 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15586 "\x30\x31\x32\x33\x34\x35\x36\x37"
15587 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15588 "\x40\x41\x42\x43\x44\x45\x46\x47"
15589 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15590 "\x50\x51\x52\x53\x54\x55\x56\x57"
15591 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15592 "\x60\x61\x62\x63\x64\x65\x66\x67"
15593 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15594 "\x70\x71\x72\x73\x74\x75\x76\x77"
15595 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15596 "\x80\x81\x82\x83\x84\x85\x86\x87"
15597 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15598 "\x90\x91\x92\x93\x94\x95\x96\x97"
15599 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15600 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15601 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15602 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15603 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15604 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15605 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15606 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15607 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15608 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15609 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15610 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15611 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15615 .tap = { 512 - 16, 16 },
15620 static struct cipher_testvec aes_ctr_enc_tv_template[] = {
15621 { /* From NIST Special Publication 800-38A, Appendix F.5 */
15622 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
15623 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
15625 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15626 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15627 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15628 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15629 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15630 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15631 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15632 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15633 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15634 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15636 .result = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
15637 "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
15638 "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
15639 "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
15640 "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
15641 "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
15642 "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
15643 "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
15646 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15647 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15648 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15650 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15651 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15652 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15653 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15654 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15655 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15656 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15657 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15658 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15659 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15661 .result = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
15662 "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
15663 "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
15664 "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
15665 "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
15666 "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
15667 "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
15668 "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
15671 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15672 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15673 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15674 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15676 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15677 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15678 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15679 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15680 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15681 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15682 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15683 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15684 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15685 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15687 .result = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
15688 "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
15689 "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
15690 "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
15691 "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
15692 "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
15693 "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
15694 "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
15696 }, { /* Generated with Crypto++ */
15697 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15698 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15699 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15700 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
15702 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
15703 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
15704 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15705 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15706 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15707 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15708 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15709 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15710 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15711 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15712 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15713 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15714 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15715 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15716 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15717 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15718 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15719 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15720 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15721 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15722 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15723 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15724 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15725 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15726 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15727 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15728 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15729 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15730 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15731 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15732 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15733 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15734 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15735 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15736 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15737 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15738 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15739 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15740 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15741 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15742 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15743 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15744 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15745 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15746 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15747 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15748 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15749 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15750 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15751 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15752 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15753 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15754 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15755 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15756 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15757 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15758 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15759 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15760 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15761 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15762 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15763 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15764 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15765 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15767 .result = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
15768 "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
15769 "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
15770 "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
15771 "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
15772 "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
15773 "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
15774 "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
15775 "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
15776 "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
15777 "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
15778 "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
15779 "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
15780 "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
15781 "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
15782 "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
15783 "\x34\x4B\x31\x69\x84\x66\x96\x44"
15784 "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
15785 "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
15786 "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
15787 "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
15788 "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
15789 "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
15790 "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
15791 "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
15792 "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
15793 "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
15794 "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
15795 "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
15796 "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
15797 "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
15798 "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
15799 "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
15800 "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
15801 "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
15802 "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
15803 "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
15804 "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
15805 "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
15806 "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
15807 "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
15808 "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
15809 "\x85\x99\x22\xE8\x91\x38\x70\x83"
15810 "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
15811 "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
15812 "\x2F\x69\xEE\x84\x36\x44\x76\x98"
15813 "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
15814 "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
15815 "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
15816 "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
15817 "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
15818 "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
15819 "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
15820 "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
15821 "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
15822 "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
15823 "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
15824 "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
15825 "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
15826 "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
15827 "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
15828 "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
15832 .tap = { 496 - 16, 16 },
15833 }, { /* Generated with Crypto++ */
15834 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15835 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15836 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15837 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
15839 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
15840 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
15841 .input = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15842 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15843 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15844 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15845 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15846 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15847 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15848 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15849 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15850 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15851 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15852 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15853 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15854 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15855 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15856 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15857 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15858 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15859 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15860 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15861 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15862 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15863 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15864 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15865 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15866 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15867 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15868 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15869 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15870 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15871 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15872 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15873 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15874 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15875 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15876 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15877 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15878 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15879 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15880 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15881 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15882 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15883 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15884 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15885 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15886 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15887 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15888 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15889 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15890 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15891 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15892 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15893 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15894 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15895 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15896 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15897 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15898 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15899 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15900 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15901 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15902 "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
15905 .result = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
15906 "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
15907 "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
15908 "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
15909 "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
15910 "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
15911 "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
15912 "\x75\xDE\x71\x86\x3C\x98\x23\x44"
15913 "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
15914 "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
15915 "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
15916 "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
15917 "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
15918 "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
15919 "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
15920 "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
15921 "\xA8\x28\x69\x65\x31\xE1\x45\x83"
15922 "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
15923 "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
15924 "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
15925 "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
15926 "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
15927 "\x45\x18\x18\x74\x19\xAD\x71\x01"
15928 "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
15929 "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
15930 "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
15931 "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
15932 "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
15933 "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
15934 "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
15935 "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
15936 "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
15937 "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
15938 "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
15939 "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
15940 "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
15941 "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
15942 "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
15943 "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
15944 "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
15945 "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
15946 "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
15947 "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
15948 "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
15949 "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
15950 "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
15951 "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
15952 "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
15953 "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
15954 "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
15955 "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
15956 "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
15957 "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
15958 "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
15959 "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
15960 "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
15961 "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
15962 "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
15963 "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
15964 "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
15965 "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
15966 "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
15971 .tap = { 499 - 16, 16 },
15975 static struct cipher_testvec aes_ctr_dec_tv_template[] = {
15976 { /* From NIST Special Publication 800-38A, Appendix F.5 */
15977 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
15978 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
15980 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15981 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15982 .input = "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
15983 "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
15984 "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
15985 "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
15986 "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
15987 "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
15988 "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
15989 "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
15991 .result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15992 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15993 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15994 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15995 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15996 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15997 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15998 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16001 .key = "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16002 "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16003 "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16005 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16006 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
16007 .input = "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
16008 "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
16009 "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
16010 "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
16011 "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
16012 "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
16013 "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
16014 "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
16016 .result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16017 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16018 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16019 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16020 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16021 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16022 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16023 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16026 .key = "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16027 "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16028 "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16029 "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16031 .iv = "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16032 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
16033 .input = "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
16034 "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
16035 "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
16036 "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
16037 "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
16038 "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
16039 "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
16040 "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
16042 .result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16043 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16044 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16045 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16046 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16047 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16048 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16049 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16051 }, { /* Generated with Crypto++ */
16052 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
16053 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
16054 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
16055 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
16057 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
16058 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
16059 .input = "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
16060 "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
16061 "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
16062 "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
16063 "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
16064 "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
16065 "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
16066 "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
16067 "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
16068 "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
16069 "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
16070 "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
16071 "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
16072 "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
16073 "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
16074 "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
16075 "\x34\x4B\x31\x69\x84\x66\x96\x44"
16076 "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
16077 "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
16078 "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
16079 "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
16080 "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
16081 "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
16082 "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
16083 "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
16084 "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
16085 "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
16086 "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
16087 "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
16088 "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
16089 "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
16090 "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
16091 "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
16092 "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
16093 "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
16094 "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
16095 "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
16096 "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
16097 "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
16098 "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
16099 "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
16100 "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
16101 "\x85\x99\x22\xE8\x91\x38\x70\x83"
16102 "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
16103 "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
16104 "\x2F\x69\xEE\x84\x36\x44\x76\x98"
16105 "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
16106 "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
16107 "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
16108 "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
16109 "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
16110 "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
16111 "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
16112 "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
16113 "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
16114 "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
16115 "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
16116 "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
16117 "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
16118 "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
16119 "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
16120 "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
16122 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
16123 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
16124 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
16125 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
16126 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
16127 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
16128 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
16129 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
16130 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
16131 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
16132 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
16133 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
16134 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
16135 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
16136 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
16137 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
16138 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
16139 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
16140 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
16141 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
16142 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
16143 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
16144 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
16145 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
16146 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
16147 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
16148 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
16149 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
16150 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
16151 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
16152 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
16153 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
16154 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
16155 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
16156 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
16157 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
16158 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
16159 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
16160 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
16161 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
16162 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
16163 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
16164 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
16165 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
16166 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
16167 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
16168 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
16169 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
16170 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
16171 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
16172 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
16173 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
16174 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
16175 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
16176 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
16177 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
16178 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
16179 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
16180 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
16181 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
16182 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
16183 "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
16187 .tap = { 496 - 16, 16 },
16188 }, { /* Generated with Crypto++ */
16189 .key = "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
16190 "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
16191 "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
16192 "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
16194 .iv = "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
16195 "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
16196 .input = "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
16197 "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
16198 "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
16199 "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
16200 "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
16201 "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
16202 "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
16203 "\x75\xDE\x71\x86\x3C\x98\x23\x44"
16204 "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
16205 "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
16206 "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
16207 "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
16208 "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
16209 "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
16210 "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
16211 "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
16212 "\xA8\x28\x69\x65\x31\xE1\x45\x83"
16213 "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
16214 "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
16215 "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
16216 "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
16217 "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
16218 "\x45\x18\x18\x74\x19\xAD\x71\x01"
16219 "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
16220 "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
16221 "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
16222 "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
16223 "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
16224 "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
16225 "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
16226 "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
16227 "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
16228 "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
16229 "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
16230 "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
16231 "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
16232 "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
16233 "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
16234 "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
16235 "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
16236 "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
16237 "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
16238 "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
16239 "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
16240 "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
16241 "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
16242 "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
16243 "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
16244 "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
16245 "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
16246 "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
16247 "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
16248 "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
16249 "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
16250 "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
16251 "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
16252 "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
16253 "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
16254 "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
16255 "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
16256 "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
16257 "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
16260 .result = "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
16261 "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
16262 "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
16263 "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
16264 "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
16265 "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
16266 "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
16267 "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
16268 "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
16269 "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
16270 "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
16271 "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
16272 "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
16273 "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
16274 "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
16275 "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
16276 "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
16277 "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
16278 "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
16279 "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
16280 "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
16281 "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
16282 "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
16283 "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
16284 "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
16285 "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
16286 "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
16287 "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
16288 "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
16289 "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
16290 "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
16291 "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
16292 "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
16293 "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
16294 "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
16295 "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
16296 "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
16297 "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
16298 "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
16299 "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
16300 "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
16301 "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
16302 "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
16303 "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
16304 "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
16305 "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
16306 "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
16307 "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
16308 "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
16309 "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
16310 "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
16311 "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
16312 "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
16313 "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
16314 "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
16315 "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
16316 "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
16317 "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
16318 "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
16319 "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
16320 "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
16321 "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
16326 .tap = { 499 - 16, 16 },
16330 static struct cipher_testvec aes_ctr_rfc3686_enc_tv_template[] = {
16331 { /* From RFC 3686 */
16332 .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
16333 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
16334 "\x00\x00\x00\x30",
16336 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
16337 .input = "Single block msg",
16339 .result = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
16340 "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
16343 .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
16344 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
16345 "\x00\x6c\xb6\xdb",
16347 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
16348 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
16349 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16350 "\x10\x11\x12\x13\x14\x15\x16\x17"
16351 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16353 .result = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
16354 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
16355 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
16356 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
16359 .key = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
16360 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
16361 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
16362 "\x00\x00\x00\x48",
16364 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
16365 .input = "Single block msg",
16367 .result = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
16368 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
16371 .key = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
16372 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
16373 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
16374 "\x00\x96\xb0\x3b",
16376 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
16377 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
16378 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16379 "\x10\x11\x12\x13\x14\x15\x16\x17"
16380 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16382 .result = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
16383 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
16384 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
16385 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
16388 .key = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
16389 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
16390 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
16391 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
16392 "\x00\x00\x00\x60",
16394 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
16395 .input = "Single block msg",
16397 .result = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
16398 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
16401 .key = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
16402 "\x07\x96\x36\x58\x79\xef\xf8\x86"
16403 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
16404 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
16405 "\x00\xfa\xac\x24",
16407 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
16408 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
16409 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16410 "\x10\x11\x12\x13\x14\x15\x16\x17"
16411 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16413 .result = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
16414 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
16415 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
16416 "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
16419 // generated using Crypto++
16420 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
16421 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16422 "\x10\x11\x12\x13\x14\x15\x16\x17"
16423 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16424 "\x00\x00\x00\x00",
16426 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
16428 "\x00\x01\x02\x03\x04\x05\x06\x07"
16429 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16430 "\x10\x11\x12\x13\x14\x15\x16\x17"
16431 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16432 "\x20\x21\x22\x23\x24\x25\x26\x27"
16433 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16434 "\x30\x31\x32\x33\x34\x35\x36\x37"
16435 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16436 "\x40\x41\x42\x43\x44\x45\x46\x47"
16437 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16438 "\x50\x51\x52\x53\x54\x55\x56\x57"
16439 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16440 "\x60\x61\x62\x63\x64\x65\x66\x67"
16441 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
16442 "\x70\x71\x72\x73\x74\x75\x76\x77"
16443 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
16444 "\x80\x81\x82\x83\x84\x85\x86\x87"
16445 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
16446 "\x90\x91\x92\x93\x94\x95\x96\x97"
16447 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
16448 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16449 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16450 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16451 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16452 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16453 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16454 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16455 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
16456 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
16457 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
16458 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
16459 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
16460 "\x00\x03\x06\x09\x0c\x0f\x12\x15"
16461 "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
16462 "\x30\x33\x36\x39\x3c\x3f\x42\x45"
16463 "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
16464 "\x60\x63\x66\x69\x6c\x6f\x72\x75"
16465 "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
16466 "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
16467 "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
16468 "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
16469 "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
16470 "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
16471 "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
16472 "\x20\x23\x26\x29\x2c\x2f\x32\x35"
16473 "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
16474 "\x50\x53\x56\x59\x5c\x5f\x62\x65"
16475 "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
16476 "\x80\x83\x86\x89\x8c\x8f\x92\x95"
16477 "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
16478 "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
16479 "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
16480 "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
16481 "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
16482 "\x10\x13\x16\x19\x1c\x1f\x22\x25"
16483 "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
16484 "\x40\x43\x46\x49\x4c\x4f\x52\x55"
16485 "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
16486 "\x70\x73\x76\x79\x7c\x7f\x82\x85"
16487 "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
16488 "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
16489 "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
16490 "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
16491 "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
16492 "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
16493 "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
16494 "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
16495 "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
16496 "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
16497 "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
16498 "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
16499 "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
16500 "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
16501 "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
16502 "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
16503 "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
16504 "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
16505 "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
16506 "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
16507 "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
16508 "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
16509 "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
16510 "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
16511 "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
16512 "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
16513 "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
16514 "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
16515 "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
16516 "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
16517 "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
16518 "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
16519 "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
16520 "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
16521 "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
16522 "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
16523 "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
16524 "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
16525 "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
16526 "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
16527 "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
16528 "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
16529 "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
16530 "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
16531 "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
16532 "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
16533 "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
16534 "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
16535 "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
16536 "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
16537 "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
16538 "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
16539 "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
16540 "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
16541 "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
16542 "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
16543 "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
16544 "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
16545 "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
16546 "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
16547 "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
16548 "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
16549 "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
16550 "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
16551 "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
16552 "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
16553 "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
16554 "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
16555 "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
16556 "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
16557 "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
16558 "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
16559 "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
16560 "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
16561 "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
16562 "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
16563 "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
16564 "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
16565 "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
16566 "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
16567 "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
16568 "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
16569 "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
16570 "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
16571 "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
16572 "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
16573 "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
16574 "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
16575 "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
16576 "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
16577 "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
16578 "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
16579 "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
16580 "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
16581 "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
16582 "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
16583 "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
16584 "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
16585 "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
16586 "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
16587 "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
16588 "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
16589 "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
16590 "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
16591 "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
16592 "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
16593 "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
16594 "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
16595 "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
16596 "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
16597 "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
16598 "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
16599 "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
16600 "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
16601 "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
16602 "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
16603 "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
16604 "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
16605 "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
16606 "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
16607 "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
16608 "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
16609 "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
16610 "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
16611 "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
16612 "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
16613 "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
16614 "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
16615 "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
16616 "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
16617 "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
16618 "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
16619 "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
16620 "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
16621 "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
16622 "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
16623 "\x38\x45\x52\x5f\x6c\x79\x86\x93"
16624 "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
16625 "\x08\x15\x22\x2f\x3c\x49\x56\x63"
16626 "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
16627 "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
16628 "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
16629 "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
16630 "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
16631 "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
16632 "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
16633 "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
16634 "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
16635 "\x18\x25\x32\x3f\x4c\x59\x66\x73"
16636 "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
16637 "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
16638 "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
16639 "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
16640 "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
16641 "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
16642 "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
16643 "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
16644 "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
16645 "\x28\x35\x42\x4f\x5c\x69\x76\x83"
16646 "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
16647 "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
16648 "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
16649 "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
16650 "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
16651 "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
16652 "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
16653 "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
16654 "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
16655 "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
16656 "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
16657 "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
16658 "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
16659 "\x48\x57\x66\x75\x84\x93\xa2\xb1"
16660 "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
16661 "\x38\x47\x56\x65\x74\x83\x92\xa1"
16662 "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
16663 "\x28\x37\x46\x55\x64\x73\x82\x91"
16664 "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
16665 "\x18\x27\x36\x45\x54\x63\x72\x81"
16666 "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
16667 "\x08\x17\x26\x35\x44\x53\x62\x71"
16668 "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
16669 "\xf8\x07\x16\x25\x34\x43\x52\x61"
16670 "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
16671 "\xe8\xf7\x06\x15\x24\x33\x42\x51"
16672 "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
16673 "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
16674 "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
16675 "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
16676 "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
16677 "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
16678 "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
16679 "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
16680 "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
16681 "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
16682 "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
16683 "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
16684 "\x00\x11\x22\x33\x44\x55\x66\x77"
16685 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
16686 "\x10\x21\x32\x43\x54\x65\x76\x87"
16687 "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
16688 "\x20\x31\x42\x53\x64\x75\x86\x97"
16689 "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
16690 "\x30\x41\x52\x63\x74\x85\x96\xa7"
16691 "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
16692 "\x40\x51\x62\x73\x84\x95\xa6\xb7"
16693 "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
16694 "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
16695 "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
16696 "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
16697 "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
16698 "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
16699 "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
16700 "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
16701 "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
16702 "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
16703 "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
16704 "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
16705 "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
16706 "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
16707 "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
16708 "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
16709 "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
16710 "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
16711 "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
16712 "\xe0\xf1\x02\x13\x24\x35\x46\x57"
16713 "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
16714 "\xf0\x01\x12\x23\x34\x45\x56\x67"
16715 "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
16716 "\x00\x13\x26\x39\x4c\x5f\x72\x85"
16717 "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
16718 "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
16719 "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
16720 "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
16721 "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
16722 "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
16723 "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
16724 "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
16725 "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
16726 "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
16727 "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
16728 "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
16729 "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
16730 "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
16731 "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
16732 "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
16733 "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
16734 "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
16735 "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
16736 "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
16737 "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
16738 "\x10\x23\x36\x49\x5c\x6f\x82\x95"
16739 "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
16740 "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
16741 "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
16742 "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
16743 "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
16744 "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
16745 "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
16746 "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
16747 "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
16748 "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
16749 "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
16750 "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
16751 "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
16752 "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
16753 "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
16754 "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
16755 "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
16756 "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
16757 "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
16758 "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
16759 "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
16760 "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
16761 "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
16762 "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
16763 "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
16764 "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
16765 "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
16766 "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
16767 "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
16768 "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
16769 "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
16770 "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
16771 "\x18\x2d\x42\x57\x6c\x81\x96\xab"
16772 "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
16773 "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
16774 "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
16775 "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
16776 "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
16777 "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
16778 "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
16779 "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
16780 "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
16781 "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
16782 "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
16783 "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
16784 "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
16785 "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
16786 "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
16787 "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
16788 "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
16789 "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
16790 "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
16791 "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
16792 "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
16793 "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
16794 "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
16795 "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
16796 "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
16797 "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
16798 "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
16799 "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
16800 "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
16801 "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
16802 "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
16803 "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
16804 "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
16805 "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
16806 "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
16807 "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
16808 "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
16809 "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
16810 "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
16811 "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
16812 "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
16813 "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
16814 "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
16815 "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
16816 "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
16817 "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
16818 "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
16819 "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
16820 "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
16821 "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
16822 "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
16823 "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
16824 "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
16825 "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
16826 "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
16827 "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
16828 "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
16829 "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
16830 "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
16831 "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
16832 "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
16833 "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
16834 "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
16835 "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
16836 "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
16837 "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
16838 "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
16839 "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
16840 "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
16841 "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
16842 "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
16843 "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
16844 "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
16845 "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
16846 "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
16847 "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
16848 "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
16849 "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
16850 "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
16851 "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
16852 "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
16853 "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
16854 "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
16855 "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
16856 "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
16857 "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
16858 "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
16859 "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
16860 "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
16861 "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
16862 "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
16863 "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
16864 "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
16865 "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
16866 "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
16867 "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
16868 "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
16869 "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
16870 "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
16871 "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
16872 "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
16873 "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
16874 "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
16875 "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
16876 "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
16877 "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
16878 "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
16879 "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
16880 "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
16881 "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
16882 "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
16883 "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
16884 "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
16885 "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
16886 "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
16887 "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
16888 "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
16889 "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
16890 "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
16891 "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
16892 "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
16893 "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
16894 "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
16895 "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
16896 "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
16897 "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
16898 "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
16899 "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
16900 "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
16901 "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
16902 "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
16903 "\x78\x95\xb2\xcf\xec\x09\x26\x43"
16904 "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
16905 "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
16906 "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
16907 "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
16908 "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
16909 "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
16910 "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
16911 "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
16912 "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
16913 "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
16914 "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
16915 "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
16916 "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
16917 "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
16918 "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
16919 "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
16920 "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
16921 "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
16922 "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
16923 "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
16924 "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
16925 "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
16926 "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
16927 "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
16928 "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
16929 "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
16930 "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
16931 "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
16932 "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
16933 "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
16934 "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
16935 "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
16936 "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
16937 "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
16938 "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
16939 "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
16940 "\x00\x21\x42\x63",
16943 "\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
16944 "\xae\xff\x91\x3a\x44\xcf\x38\x32"
16945 "\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
16946 "\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
16947 "\xf2\x62\x74\x70\x0c\xa4\x46\x08"
16948 "\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
16949 "\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
16950 "\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
16951 "\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
16952 "\x18\xff\x75\x6d\x06\x2d\x00\xab"
16953 "\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
16954 "\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
16955 "\x3d\x74\x54\xfa\x44\xcd\x23\x26"
16956 "\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
16957 "\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
16958 "\x61\x00\x1c\x4f\xff\x59\xc4\x22"
16959 "\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
16960 "\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
16961 "\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
16962 "\x84\xff\x42\x60\xdc\x3a\x18\xa5"
16963 "\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
16964 "\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
16965 "\x8f\xd3\x76\x96\xad\x49\x6d\x38"
16966 "\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
16967 "\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
16968 "\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
16969 "\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
16970 "\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
16971 "\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
16972 "\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
16973 "\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
16974 "\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
16975 "\x78\x6b\x01\xc9\xc7\x83\xba\x21"
16976 "\x6a\x25\x15\x33\x4e\x45\x08\xec"
16977 "\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
16978 "\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
16979 "\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
16980 "\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
16981 "\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
16982 "\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
16983 "\xc8\x53\x07\xaf\x80\x84\xec\xfd"
16984 "\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
16985 "\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
16986 "\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
16987 "\x06\x51\x48\x4e\xf6\x59\x87\xd2"
16988 "\x04\x02\xef\xd3\x44\xde\x76\x31"
16989 "\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
16990 "\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
16991 "\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
16992 "\x65\x83\xd0\x3b\xe3\x30\xea\x94"
16993 "\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
16994 "\xb4\x01\xab\x36\x2c\x77\x13\xaf"
16995 "\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
16996 "\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
16997 "\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
16998 "\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
16999 "\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
17000 "\x93\x97\xc6\x48\x45\x1d\x9f\x83"
17001 "\xdf\x4b\x40\x3e\x42\x25\x87\x80"
17002 "\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
17003 "\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
17004 "\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
17005 "\x32\x03\xed\xf0\x50\x1c\x56\x39"
17006 "\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
17007 "\x53\xfc\x2a\x38\x23\x15\x75\xcd"
17008 "\x45\xe5\x5a\x82\x55\xba\x21\xfa"
17009 "\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
17010 "\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
17011 "\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
17012 "\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
17013 "\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
17014 "\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
17015 "\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
17016 "\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
17017 "\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
17018 "\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
17019 "\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
17020 "\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
17021 "\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
17022 "\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
17023 "\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
17024 "\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
17025 "\x69\x3a\x29\x23\xac\x86\x32\xa5"
17026 "\x48\x9c\x9e\xf3\x47\x77\x81\x70"
17027 "\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
17028 "\x59\x6a\xd3\x50\x59\x43\x59\xde"
17029 "\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
17030 "\x18\x34\x0d\x1a\x63\x33\xed\x10"
17031 "\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
17032 "\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
17033 "\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
17034 "\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
17035 "\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
17036 "\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
17037 "\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
17038 "\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
17039 "\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
17040 "\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
17041 "\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
17042 "\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
17043 "\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
17044 "\xe8\x99\x57\x8c\x11\xed\x66\xd9"
17045 "\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
17046 "\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
17047 "\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
17048 "\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
17049 "\x64\x76\x38\x49\x4d\xfe\x30\x6d"
17050 "\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
17051 "\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
17052 "\x28\xa2\x82\x1f\x61\x69\xad\xc1"
17053 "\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
17054 "\x51\xb5\x17\x7f\x12\x69\x8c\x24"
17055 "\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
17056 "\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
17057 "\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
17058 "\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
17059 "\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
17060 "\x4d\x29\x77\x53\x35\x6a\x00\x8d"
17061 "\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
17062 "\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
17063 "\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
17064 "\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
17065 "\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
17066 "\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
17067 "\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
17068 "\x26\x39\x83\x94\xef\x27\xd8\x53"
17069 "\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
17070 "\x43\x7c\x95\x0a\x53\xef\x66\xda"
17071 "\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
17072 "\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
17073 "\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
17074 "\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
17075 "\x88\xee\x73\xcf\x66\x2f\x52\x56"
17076 "\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
17077 "\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
17078 "\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
17079 "\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
17080 "\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
17081 "\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
17082 "\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
17083 "\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
17084 "\xba\x61\x34\x38\x7c\xda\x48\x3e"
17085 "\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
17086 "\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
17087 "\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
17088 "\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
17089 "\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
17090 "\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
17091 "\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
17092 "\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
17093 "\x35\x12\xe3\x36\x28\x27\x36\x58"
17094 "\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
17095 "\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
17096 "\x2b\x9f\x96\x00\x86\x60\xf0\x21"
17097 "\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
17098 "\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
17099 "\x9d\x62\x79\x58\x52\xe6\x65\xb7"
17100 "\xab\x55\x67\x9c\x89\x7c\x03\xb0"
17101 "\x73\x59\xc5\x81\xf5\x18\x17\x5c"
17102 "\x89\xf3\x78\x35\x44\x62\x78\x72"
17103 "\xd0\x96\xeb\x31\xe7\x87\x77\x14"
17104 "\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
17105 "\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
17106 "\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
17107 "\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
17108 "\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
17109 "\xfb\x79\x2e\x04\x2d\x50\x28\x83"
17110 "\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
17111 "\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
17112 "\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
17113 "\xd2\x49\x77\x81\x6d\x90\x70\xae"
17114 "\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
17115 "\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
17116 "\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
17117 "\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
17118 "\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
17119 "\x45\x42\x27\x75\x50\xe5\xee\xb8"
17120 "\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
17121 "\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
17122 "\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
17123 "\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
17124 "\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
17125 "\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
17126 "\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
17127 "\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
17128 "\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
17129 "\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
17130 "\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
17131 "\xa9\x21\x2b\x92\x94\x87\x62\x57"
17132 "\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
17133 "\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
17134 "\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
17135 "\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
17136 "\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
17137 "\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
17138 "\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
17139 "\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
17140 "\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
17141 "\x69\x34\x78\x61\x24\x21\x9c\x8a"
17142 "\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
17143 "\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
17144 "\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
17145 "\x8a\x59\x94\x3c\xcf\x36\x27\x82"
17146 "\xc2\x45\xee\x58\xcd\x88\xb4\xec"
17147 "\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
17148 "\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
17149 "\xb1\x95\x28\x86\x20\xe9\x17\x49"
17150 "\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
17151 "\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
17152 "\xdb\x7c\x73\x10\xb9\xba\x89\x76"
17153 "\x54\xae\x7d\x71\xb3\x93\xf6\x32"
17154 "\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
17155 "\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
17156 "\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
17157 "\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
17158 "\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
17159 "\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
17160 "\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
17161 "\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
17162 "\x79\x00\xa8\x6c\x29\xd9\x18\x24"
17163 "\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
17164 "\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
17165 "\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
17166 "\x26\x2c\x39\x52\x89\x98\xe7\x2c"
17167 "\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
17168 "\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
17169 "\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
17170 "\x32\x4d\xed\xab\xfa\x98\x14\x4e"
17171 "\xc3\x15\x45\x53\x61\xc4\x93\xbd"
17172 "\x90\xf4\x99\x95\x4c\xe6\x76\x92"
17173 "\x29\x90\x46\x30\x92\x69\x7d\x13"
17174 "\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
17175 "\x63\x40\x36\x5f\x09\xe2\x78\xf8"
17176 "\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
17177 "\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
17178 "\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
17179 "\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
17180 "\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
17181 "\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
17182 "\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
17183 "\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
17184 "\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
17185 "\x05\xc4\xa6\x96\xec\x05\x98\x4f"
17186 "\x96\x67\x57\x1f\x20\x86\x1b\x2d"
17187 "\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
17188 "\x88\x26\x2c\x67\x02\x4b\x52\xd0"
17189 "\x83\x7a\x43\x1f\xc0\x71\x15\x25"
17190 "\x77\x65\x08\x60\x11\x76\x4c\x8d"
17191 "\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
17192 "\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
17193 "\x03\xd1\x24\x95\xec\x6d\xab\x38"
17194 "\x72\xce\xe2\x8b\x33\xd7\x51\x09"
17195 "\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
17196 "\x84\xdc\x73\x73\x2d\x1b\x11\x98"
17197 "\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
17198 "\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
17199 "\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
17200 "\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
17201 "\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
17202 "\x62\x8f\x7a\x73\x32\xab\xc8\x18"
17203 "\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
17204 "\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
17205 "\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
17206 "\xde\x39\xa4\x01\x72\x63\xf3\xd1"
17207 "\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
17208 "\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
17209 "\x16\xf7\xcd\x92\x9a\x99\x30\x14"
17210 "\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
17211 "\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
17212 "\xe5\x79\x81\x73\xcd\x43\x59\x68"
17213 "\x73\x02\x3b\x78\x21\x72\x43\x00"
17214 "\x49\x17\xf7\x00\xaf\x68\x24\x53"
17215 "\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
17216 "\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
17217 "\x11\x94\x13\x69\x51\x09\x28\xde"
17218 "\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
17219 "\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
17220 "\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
17221 "\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
17222 "\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
17223 "\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
17224 "\x62\x03\x43\xf1\x87\xb4\xb0\x85"
17225 "\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
17226 "\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
17227 "\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
17228 "\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
17229 "\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
17230 "\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
17231 "\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
17232 "\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
17233 "\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
17234 "\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
17235 "\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
17236 "\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
17237 "\x69\xdc\xab\x24\x57\x60\x47\xc1"
17238 "\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
17239 "\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
17240 "\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
17241 "\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
17242 "\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
17243 "\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
17244 "\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
17245 "\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
17246 "\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
17247 "\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
17248 "\x63\x19\x3d\xd5\xec\x1b\x77\x69"
17249 "\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
17250 "\x85\x62\x82\x70\x18\xe2\x9a\x78"
17251 "\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
17252 "\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
17253 "\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
17254 "\x35\xf3\x61\x06\x72\x84\xc4\x32"
17255 "\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
17256 "\x04\xc2\xde\x57\x64\x60\x8d\xcf"
17257 "\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
17258 "\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
17259 "\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
17260 "\xb3\x71\xa0\xde\xca\x96\xf1\x78"
17261 "\x49\xa2\x99\x81\x80\x5c\x01\xf5"
17262 "\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
17263 "\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
17264 "\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
17265 "\x4f\x73\x38\x09\x75\x64\x48\xe0"
17266 "\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
17267 "\xfe\x16\x26\x62\x49\x74\xf4\xb0"
17268 "\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
17269 "\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
17270 "\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
17271 "\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
17272 "\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
17273 "\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
17274 "\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
17275 "\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
17276 "\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
17277 "\xef\xa0\x54\xe4\x5e\x16\x53\x81"
17278 "\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
17279 "\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
17280 "\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
17281 "\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
17282 "\x53\x5d\x86\xd6\xde\x65\xca\xe3"
17283 "\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
17284 "\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
17285 "\x37\x7a\x93\x7a\x50\x11\x9f\x96"
17286 "\x86\x25\xfd\xac\xdc\xbe\x18\x93"
17287 "\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
17288 "\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
17289 "\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
17290 "\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
17291 "\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
17292 "\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
17293 "\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
17294 "\xce\x4d\x5f\x18\x60\xce\x87\x22"
17295 "\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
17296 "\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
17297 "\x32\xd8\xaf\x1e\x07\x77\x51\x96"
17298 "\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
17299 "\xea\x17\x0b\x10\xd2\x3f\x28\x25"
17300 "\x4f\x05\x77\x02\x14\x69\xf0\x2c"
17301 "\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
17302 "\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
17303 "\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
17304 "\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
17305 "\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
17306 "\x64\xc0\x64\xda\xb1\xae\xdd\x60"
17307 "\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
17308 "\x92\x61\xd0\x48\x81\xed\x5e\x1d"
17309 "\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
17310 "\x7f\x83\x73\xb6\x70\x18\x65\x3e"
17311 "\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
17312 "\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
17313 "\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
17314 "\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
17315 "\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
17316 "\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
17317 "\xa7\x22\xec\xe2\x7e\x29\x09\x53"
17318 "\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
17319 "\xce\x54\xf9\x18\x58\xb5\xff\x44"
17320 "\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
17321 "\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
17322 "\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
17323 "\xff\xfd\xb0\x21\x6e\x57\x05\x75"
17324 "\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
17325 "\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
17326 "\x80\x8c\xc8\x78\x40\x24\x4b\x89"
17327 "\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
17328 "\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
17329 "\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
17330 "\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
17331 "\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
17332 "\x0c\xd6\x04\x14\xde\x51\x74\x75"
17333 "\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
17334 "\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
17335 "\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
17336 "\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
17337 "\x75\x46\x65\x4e\x07\x34\x37\xa3"
17338 "\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
17339 "\x69\x24\x0e\x38\x67\x43\x8c\xde"
17340 "\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
17341 "\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
17342 "\x64\xb1\xdb\xee\x00\x50\x77\xe1"
17343 "\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
17344 "\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
17345 "\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
17346 "\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
17347 "\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
17348 "\x91\x7d\x62\x64\x96\x72\xde\xfc"
17349 "\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
17350 "\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
17351 "\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
17352 "\x98\x81\x84\x4f\x15\x5c\x76\xe7"
17353 "\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
17354 "\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
17355 "\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
17356 "\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
17357 "\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
17358 "\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
17359 "\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
17360 "\xb1\xb2\x52\x94\x75\x2c\x29\x59"
17361 "\x06\xc2\x25\xe8\x71\x65\x4e\xed"
17362 "\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
17363 "\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
17364 "\xe0\x50\x40\x96\x35\x63\xe4\x0b"
17365 "\x76\xbd\xa4\x65\x00\x1b\x57\x88"
17366 "\xae\xed\x39\x88\x42\x11\x3c\xed"
17367 "\x85\x67\x7d\xb9\x68\x82\xe9\x43"
17368 "\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
17369 "\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
17370 "\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
17371 "\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
17372 "\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
17373 "\xce\x20\x56\x32\xc6\xc5\x99\x1f"
17374 "\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
17375 "\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
17376 "\x66\xf8\x3d\x18\x74\x70\x66\x7a"
17377 "\x34\x17\xde\xba\x47\xf1\x06\x18"
17378 "\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
17379 "\xe0\x3b\x78\x62\x66\xc9\x10\xea"
17380 "\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
17381 "\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
17382 "\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
17383 "\x63\x4f\x20\x0c\x07\x17\x33\x5e"
17384 "\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
17385 "\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
17386 "\x58\xef\x15\xa9\x83\xd9\x46\xb1"
17387 "\x42\xaa\xf5\x02\x6c\xce\x92\x06"
17388 "\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
17389 "\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
17390 "\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
17391 "\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
17392 "\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
17393 "\xb6\x67\xc7\x77\xed\x23\xef\x4c"
17394 "\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
17395 "\x34\x37\x08\xab\xd9\x1f\x09\xb1"
17396 "\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
17397 "\x2c\x56\x39\x79\x0f\x69\x44\x75"
17398 "\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
17399 "\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
17400 "\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
17401 "\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
17402 "\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
17403 "\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
17404 "\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
17405 "\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
17406 "\x63\x9b\xce\x61\x24\x79\xc0\x70"
17407 "\x52\xd0\xb6\xd4\x28\x95\x24\x87"
17408 "\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
17409 "\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
17410 "\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
17411 "\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
17412 "\x74\x56\x58\x40\x02\x37\x52\x2c"
17413 "\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
17414 "\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
17415 "\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
17416 "\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
17417 "\x24\x90\xec\x58\xd2\x09\xc7\x2d"
17418 "\xed\x38\x80\x36\x72\x43\x27\x49"
17419 "\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
17420 "\x7d\xb6\x82\x37\x86\x92\x86\x3e"
17421 "\x08\xb2\x28\x5a\x55\x44\x24\x7d"
17422 "\x40\x48\x8a\xb6\x89\x58\x08\xa0"
17423 "\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
17424 "\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
17425 "\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
17426 "\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
17427 "\x14\x32\x45\x05\xe0\xdb\x9f\x75"
17428 "\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
17429 "\x12\xee\x30\xfe\xd8\x30\xef\x34"
17430 "\x50\xab\x46\x30\x98\x2f\xb7\xc0"
17431 "\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
17432 "\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
17433 "\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
17434 "\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
17435 "\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
17436 "\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
17437 "\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
17438 "\x02\x9d\x27\x1f\xef\x85\x05\x8d"
17439 "\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
17440 "\xa1\x75\xa0\xd8\x06\x47\x14\xef"
17441 "\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
17442 "\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
17443 "\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
17444 "\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
17445 "\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
17446 "\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
17447 "\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
17448 "\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
17449 "\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
17450 "\x44\x12\xfb\x73\x77\xd4\x13\x39"
17451 "\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
17452 "\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
17453 "\x41\x01\x18\x5d\x5d\x07\x97\xa6"
17454 "\x4b\xef\x31\x18\xea\xac\xb1\x84"
17455 "\x21\xed\xda\x86",
17458 .tap = { 4064, 36 },
17462 static struct cipher_testvec aes_ctr_rfc3686_dec_tv_template[] = {
17463 { /* From RFC 3686 */
17464 .key = "\xae\x68\x52\xf8\x12\x10\x67\xcc"
17465 "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
17466 "\x00\x00\x00\x30",
17468 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
17469 .input = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
17470 "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
17472 .result = "Single block msg",
17475 .key = "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
17476 "\x43\xd6\xce\x1f\x32\x53\x91\x63"
17477 "\x00\x6c\xb6\xdb",
17479 .iv = "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
17480 .input = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
17481 "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
17482 "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
17483 "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
17485 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
17486 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17487 "\x10\x11\x12\x13\x14\x15\x16\x17"
17488 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17491 .key = "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
17492 "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
17493 "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
17494 "\x00\x00\x00\x48",
17496 .iv = "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
17497 .input = "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
17498 "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
17500 .result = "Single block msg",
17503 .key = "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
17504 "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
17505 "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
17506 "\x00\x96\xb0\x3b",
17508 .iv = "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
17509 .input = "\x45\x32\x43\xfc\x60\x9b\x23\x32"
17510 "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
17511 "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
17512 "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
17514 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
17515 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17516 "\x10\x11\x12\x13\x14\x15\x16\x17"
17517 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17520 .key = "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
17521 "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
17522 "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
17523 "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
17524 "\x00\x00\x00\x60",
17526 .iv = "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
17527 .input = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
17528 "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
17530 .result = "Single block msg",
17533 .key = "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
17534 "\x07\x96\x36\x58\x79\xef\xf8\x86"
17535 "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
17536 "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
17537 "\x00\xfa\xac\x24",
17539 .iv = "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
17540 .input = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
17541 "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
17542 "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
17543 "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
17545 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
17546 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
17547 "\x10\x11\x12\x13\x14\x15\x16\x17"
17548 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
17553 static struct cipher_testvec aes_ofb_enc_tv_template[] = {
17554 /* From NIST Special Publication 800-38A, Appendix F.5 */
17556 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
17557 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
17559 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
17560 "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17561 .input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17562 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17563 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17564 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17565 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17566 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17567 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17568 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17570 .result = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
17571 "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
17572 "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
17573 "\x3c\x52\xda\xc5\x4e\xd8\x25"
17574 "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
17575 "\x44\xf7\xa8\x22\x60\xed\xcc"
17576 "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
17577 "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
17582 static struct cipher_testvec aes_ofb_dec_tv_template[] = {
17583 /* From NIST Special Publication 800-38A, Appendix F.5 */
17585 .key = "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
17586 "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
17588 .iv = "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
17589 "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17590 .input = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
17591 "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
17592 "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
17593 "\x3c\x52\xda\xc5\x4e\xd8\x25"
17594 "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
17595 "\x44\xf7\xa8\x22\x60\xed\xcc"
17596 "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
17597 "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
17599 .result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17600 "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17601 "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17602 "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17603 "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17604 "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17605 "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17606 "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17611 static struct aead_testvec aes_gcm_enc_tv_template[] = {
17612 { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
17613 .key = zeroed_string,
17615 .result = "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
17616 "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
17619 .key = zeroed_string,
17621 .input = zeroed_string,
17623 .result = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
17624 "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
17625 "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
17626 "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
17629 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17630 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
17632 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17633 "\xde\xca\xf8\x88",
17634 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17635 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17636 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17637 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17638 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17639 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17640 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17641 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
17643 .result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
17644 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
17645 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
17646 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
17647 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
17648 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
17649 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
17650 "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
17651 "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
17652 "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
17655 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17656 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
17658 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17659 "\xde\xca\xf8\x88",
17660 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17661 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17662 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17663 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17664 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17665 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17666 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17667 "\xba\x63\x7b\x39",
17669 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17670 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17671 "\xab\xad\xda\xd2",
17673 .result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
17674 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
17675 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
17676 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
17677 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
17678 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
17679 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
17681 "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
17682 "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
17685 .key = zeroed_string,
17687 .result = "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
17688 "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
17691 .key = zeroed_string,
17693 .input = zeroed_string,
17695 .result = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
17696 "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
17697 "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
17698 "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
17701 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17702 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17703 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
17705 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17706 "\xde\xca\xf8\x88",
17707 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17708 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17709 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17710 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17711 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17712 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17713 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17714 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
17716 .result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
17717 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
17718 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
17719 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
17720 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
17721 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
17722 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
17723 "\xcc\xda\x27\x10\xac\xad\xe2\x56"
17724 "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
17725 "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
17728 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17729 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17730 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
17732 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17733 "\xde\xca\xf8\x88",
17734 .input = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17735 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17736 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17737 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17738 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17739 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17740 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17741 "\xba\x63\x7b\x39",
17743 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17744 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17745 "\xab\xad\xda\xd2",
17747 .result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
17748 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
17749 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
17750 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
17751 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
17752 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
17753 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
17755 "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
17756 "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
17763 .key = zeroed_string,
17765 .result = "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
17766 "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
17771 static struct aead_testvec aes_gcm_dec_tv_template[] = {
17772 { /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
17773 .key = zeroed_string,
17775 .input = "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
17776 "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
17777 "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
17778 "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
17780 .result = zeroed_string,
17783 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17784 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17785 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17786 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
17788 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17789 "\xde\xca\xf8\x88",
17790 .input = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
17791 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
17792 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
17793 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
17794 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
17795 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
17796 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
17797 "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
17798 "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
17799 "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
17801 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17802 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17803 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17804 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17805 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17806 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17807 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17808 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
17811 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17812 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17813 "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17814 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
17816 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17817 "\xde\xca\xf8\x88",
17818 .input = "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
17819 "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
17820 "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
17821 "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
17822 "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
17823 "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
17824 "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
17826 "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
17827 "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
17829 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17830 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17831 "\xab\xad\xda\xd2",
17833 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17834 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17835 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17836 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17837 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17838 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17839 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17840 "\xba\x63\x7b\x39",
17845 .atap = { 8, 8, 4 }
17847 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17848 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
17850 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17851 "\xde\xca\xf8\x88",
17852 .input = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
17853 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
17854 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
17855 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
17856 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
17857 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
17858 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
17859 "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
17860 "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
17861 "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
17863 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17864 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17865 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17866 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17867 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17868 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17869 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17870 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
17873 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17874 "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
17876 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17877 "\xde\xca\xf8\x88",
17878 .input = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
17879 "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
17880 "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
17881 "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
17882 "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
17883 "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
17884 "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
17886 "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
17887 "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
17889 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17890 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17891 "\xab\xad\xda\xd2",
17893 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17894 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17895 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17896 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17897 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17898 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17899 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17900 "\xba\x63\x7b\x39",
17903 .key = zeroed_string,
17905 .input = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
17906 "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
17907 "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
17908 "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
17910 .result = zeroed_string,
17913 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17914 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17915 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
17917 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17918 "\xde\xca\xf8\x88",
17919 .input = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
17920 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
17921 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
17922 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
17923 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
17924 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
17925 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
17926 "\xcc\xda\x27\x10\xac\xad\xe2\x56"
17927 "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
17928 "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
17930 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17931 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17932 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17933 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17934 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17935 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17936 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17937 "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
17940 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17941 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17942 "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
17944 .iv = "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
17945 "\xde\xca\xf8\x88",
17946 .input = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
17947 "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
17948 "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
17949 "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
17950 "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
17951 "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
17952 "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
17954 "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
17955 "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
17957 .assoc = "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17958 "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
17959 "\xab\xad\xda\xd2",
17961 .result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
17962 "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
17963 "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
17964 "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
17965 "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
17966 "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
17967 "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
17968 "\xba\x63\x7b\x39",
17973 static struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
17974 { /* Generated using Crypto++ */
17975 .key = zeroed_string,
17977 .iv = zeroed_string,
17978 .input = zeroed_string,
17980 .assoc = zeroed_string,
17982 .result = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
17983 "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
17984 "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
17985 "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
17988 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
17989 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
17990 "\x00\x00\x00\x00",
17992 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01"
17993 "\x00\x00\x00\x00",
17994 .input = zeroed_string,
17996 .assoc = zeroed_string,
17998 .result = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
17999 "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
18000 "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
18001 "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
18005 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18006 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18007 "\x00\x00\x00\x00",
18009 .iv = zeroed_string,
18010 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
18011 "\x01\x01\x01\x01\x01\x01\x01\x01",
18013 .assoc = zeroed_string,
18015 .result = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
18016 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
18017 "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
18018 "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
18021 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18022 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18023 "\x00\x00\x00\x00",
18025 .iv = zeroed_string,
18026 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
18027 "\x01\x01\x01\x01\x01\x01\x01\x01",
18029 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01",
18031 .result = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
18032 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
18033 "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
18034 "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
18037 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18038 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18039 "\x00\x00\x00\x00",
18041 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01"
18042 "\x00\x00\x00\x00",
18043 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
18044 "\x01\x01\x01\x01\x01\x01\x01\x01",
18046 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01",
18048 .result = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
18049 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
18050 "\x64\x50\xF9\x32\x13\xFB\x74\x61"
18051 "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
18054 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18055 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18056 "\x00\x00\x00\x00",
18058 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01"
18059 "\x00\x00\x00\x00",
18060 .input = "\x01\x01\x01\x01\x01\x01\x01\x01"
18061 "\x01\x01\x01\x01\x01\x01\x01\x01"
18062 "\x01\x01\x01\x01\x01\x01\x01\x01"
18063 "\x01\x01\x01\x01\x01\x01\x01\x01"
18064 "\x01\x01\x01\x01\x01\x01\x01\x01"
18065 "\x01\x01\x01\x01\x01\x01\x01\x01"
18066 "\x01\x01\x01\x01\x01\x01\x01\x01"
18067 "\x01\x01\x01\x01\x01\x01\x01\x01",
18069 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01",
18071 .result = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
18072 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
18073 "\x98\x14\xA1\x42\x37\x80\xFD\x90"
18074 "\x68\x12\x01\xA8\x91\x89\xB9\x83"
18075 "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
18076 "\x94\x5F\x18\x12\xBA\x27\x09\x39"
18077 "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
18078 "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
18079 "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
18080 "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
18083 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
18084 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18085 "\x00\x00\x00\x00",
18087 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef"
18088 "\x00\x00\x00\x00",
18089 .input = "\xff\xff\xff\xff\xff\xff\xff\xff"
18090 "\xff\xff\xff\xff\xff\xff\xff\xff"
18091 "\xff\xff\xff\xff\xff\xff\xff\xff"
18092 "\xff\xff\xff\xff\xff\xff\xff\xff"
18093 "\xff\xff\xff\xff\xff\xff\xff\xff"
18094 "\xff\xff\xff\xff\xff\xff\xff\xff"
18095 "\xff\xff\xff\xff\xff\xff\xff\xff"
18096 "\xff\xff\xff\xff\xff\xff\xff\xff"
18097 "\xff\xff\xff\xff\xff\xff\xff\xff"
18098 "\xff\xff\xff\xff\xff\xff\xff\xff"
18099 "\xff\xff\xff\xff\xff\xff\xff\xff"
18100 "\xff\xff\xff\xff\xff\xff\xff\xff"
18101 "\xff\xff\xff\xff\xff\xff\xff\xff"
18102 "\xff\xff\xff\xff\xff\xff\xff\xff"
18103 "\xff\xff\xff\xff\xff\xff\xff\xff"
18104 "\xff\xff\xff\xff\xff\xff\xff\xff"
18105 "\xff\xff\xff\xff\xff\xff\xff\xff"
18106 "\xff\xff\xff\xff\xff\xff\xff\xff"
18107 "\xff\xff\xff\xff\xff\xff\xff\xff"
18108 "\xff\xff\xff\xff\xff\xff\xff\xff"
18109 "\xff\xff\xff\xff\xff\xff\xff\xff"
18110 "\xff\xff\xff\xff\xff\xff\xff\xff"
18111 "\xff\xff\xff\xff\xff\xff\xff\xff"
18112 "\xff\xff\xff\xff\xff\xff\xff\xff",
18114 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
18115 "\xaa\xaa\xaa\xaa",
18117 .result = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
18118 "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
18119 "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
18120 "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
18121 "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
18122 "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
18123 "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
18124 "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
18125 "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
18126 "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
18127 "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
18128 "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
18129 "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
18130 "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
18131 "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
18132 "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
18133 "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
18134 "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
18135 "\x7E\x13\x06\x82\x08\x17\xA4\x35"
18136 "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
18137 "\xA3\x05\x38\x95\x20\x1A\x47\x04"
18138 "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
18139 "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
18140 "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
18141 "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
18142 "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
18147 static struct aead_testvec aes_gcm_rfc4106_dec_tv_template[] = {
18148 { /* Generated using Crypto++ */
18149 .key = zeroed_string,
18151 .iv = zeroed_string,
18152 .input = "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
18153 "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
18154 "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
18155 "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
18157 .assoc = zeroed_string,
18159 .result = zeroed_string,
18163 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18164 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18165 "\x00\x00\x00\x00",
18167 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01"
18168 "\x00\x00\x00\x00",
18169 .input = "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
18170 "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
18171 "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
18172 "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
18174 .assoc = zeroed_string,
18176 .result = zeroed_string,
18179 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18180 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18181 "\x00\x00\x00\x00",
18183 .iv = zeroed_string,
18184 .input = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
18185 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
18186 "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
18187 "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
18189 .assoc = zeroed_string,
18191 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
18192 "\x01\x01\x01\x01\x01\x01\x01\x01",
18195 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18196 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18197 "\x00\x00\x00\x00",
18199 .iv = zeroed_string,
18200 .input = "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
18201 "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
18202 "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
18203 "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
18205 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01",
18207 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
18208 "\x01\x01\x01\x01\x01\x01\x01\x01",
18212 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18213 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18214 "\x00\x00\x00\x00",
18216 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01"
18217 "\x00\x00\x00\x00",
18218 .input = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
18219 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
18220 "\x64\x50\xF9\x32\x13\xFB\x74\x61"
18221 "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
18223 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01",
18225 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
18226 "\x01\x01\x01\x01\x01\x01\x01\x01",
18229 .key = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
18230 "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
18231 "\x00\x00\x00\x00",
18233 .iv = "\x00\x00\x00\x00\x00\x00\x00\x01"
18234 "\x00\x00\x00\x00",
18235 .input = "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
18236 "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
18237 "\x98\x14\xA1\x42\x37\x80\xFD\x90"
18238 "\x68\x12\x01\xA8\x91\x89\xB9\x83"
18239 "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
18240 "\x94\x5F\x18\x12\xBA\x27\x09\x39"
18241 "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
18242 "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
18243 "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
18244 "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
18246 .assoc = "\x01\x01\x01\x01\x01\x01\x01\x01",
18248 .result = "\x01\x01\x01\x01\x01\x01\x01\x01"
18249 "\x01\x01\x01\x01\x01\x01\x01\x01"
18250 "\x01\x01\x01\x01\x01\x01\x01\x01"
18251 "\x01\x01\x01\x01\x01\x01\x01\x01"
18252 "\x01\x01\x01\x01\x01\x01\x01\x01"
18253 "\x01\x01\x01\x01\x01\x01\x01\x01"
18254 "\x01\x01\x01\x01\x01\x01\x01\x01"
18255 "\x01\x01\x01\x01\x01\x01\x01\x01",
18258 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
18259 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18260 "\x00\x00\x00\x00",
18262 .iv = "\x00\x00\x45\x67\x89\xab\xcd\xef"
18263 "\x00\x00\x00\x00",
18264 .input = "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
18265 "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
18266 "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
18267 "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
18268 "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
18269 "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
18270 "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
18271 "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
18272 "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
18273 "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
18274 "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
18275 "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
18276 "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
18277 "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
18278 "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
18279 "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
18280 "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
18281 "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
18282 "\x7E\x13\x06\x82\x08\x17\xA4\x35"
18283 "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
18284 "\xA3\x05\x38\x95\x20\x1A\x47\x04"
18285 "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
18286 "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
18287 "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
18288 "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
18289 "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
18291 .assoc = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
18292 "\xaa\xaa\xaa\xaa",
18294 .result = "\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 "\xff\xff\xff\xff\xff\xff\xff\xff"
18311 "\xff\xff\xff\xff\xff\xff\xff\xff"
18312 "\xff\xff\xff\xff\xff\xff\xff\xff"
18313 "\xff\xff\xff\xff\xff\xff\xff\xff"
18314 "\xff\xff\xff\xff\xff\xff\xff\xff"
18315 "\xff\xff\xff\xff\xff\xff\xff\xff"
18316 "\xff\xff\xff\xff\xff\xff\xff\xff"
18317 "\xff\xff\xff\xff\xff\xff\xff\xff",
18323 static struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = {
18324 { /* From draft-mcgrew-gcm-test-01 */
18325 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
18326 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
18327 "\x22\x43\x3c\x64",
18329 .iv = zeroed_string,
18330 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07",
18332 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18333 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18334 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18335 "\x02\x00\x07\x00\x61\x62\x63\x64"
18336 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
18337 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
18338 "\x01\x02\x02\x01",
18340 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18341 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18342 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18343 "\x02\x00\x07\x00\x61\x62\x63\x64"
18344 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
18345 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
18346 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
18347 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
18348 "\xe4\x09\x9a\xaa",
18353 static struct aead_testvec aes_gcm_rfc4543_dec_tv_template[] = {
18354 { /* From draft-mcgrew-gcm-test-01 */
18355 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
18356 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
18357 "\x22\x43\x3c\x64",
18359 .iv = zeroed_string,
18360 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07",
18362 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18363 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18364 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18365 "\x02\x00\x07\x00\x61\x62\x63\x64"
18366 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
18367 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
18368 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
18369 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
18370 "\xe4\x09\x9a\xaa",
18372 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18373 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18374 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18375 "\x02\x00\x07\x00\x61\x62\x63\x64"
18376 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
18377 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
18378 "\x01\x02\x02\x01",
18380 }, { /* nearly same as previous, but should fail */
18381 .key = "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
18382 "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
18383 "\x22\x43\x3c\x64",
18385 .iv = zeroed_string,
18386 .assoc = "\x00\x00\x43\x21\x00\x00\x00\x07",
18388 .input = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18389 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18390 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18391 "\x02\x00\x07\x00\x61\x62\x63\x64"
18392 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
18393 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
18394 "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
18395 "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
18396 "\x00\x00\x00\x00",
18399 .result = "\x45\x00\x00\x30\xda\x3a\x00\x00"
18400 "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
18401 "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
18402 "\x02\x00\x07\x00\x61\x62\x63\x64"
18403 "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
18404 "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
18405 "\x01\x02\x02\x01",
18410 static struct aead_testvec aes_ccm_enc_tv_template[] = {
18411 { /* From RFC 3610 */
18412 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18413 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
18415 .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
18416 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
18417 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
18419 .input = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18420 "\x10\x11\x12\x13\x14\x15\x16\x17"
18421 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
18423 .result = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
18424 "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
18425 "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
18426 "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
18429 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18430 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
18432 .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
18433 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
18434 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
18435 "\x08\x09\x0a\x0b",
18437 .input = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
18438 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
18439 "\x1c\x1d\x1e\x1f",
18441 .result = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
18442 "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
18443 "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
18444 "\x7d\x9c\x2d\x93",
18447 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18448 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
18450 .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
18451 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
18452 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
18454 .input = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18455 "\x10\x11\x12\x13\x14\x15\x16\x17"
18456 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18459 .result = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
18460 "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
18461 "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
18462 "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
18466 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18467 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
18469 .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
18470 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
18471 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
18472 "\x08\x09\x0a\x0b",
18474 .input = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
18475 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
18478 .result = "\x07\x34\x25\x94\x15\x77\x85\x15"
18479 "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
18480 "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
18481 "\x4d\x99\x99\x88\xdd",
18484 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
18485 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
18487 .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
18488 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
18489 .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
18491 .input = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
18492 "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
18493 "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
18495 .result = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
18496 "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
18497 "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
18498 "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
18501 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
18502 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
18504 .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
18505 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
18506 .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
18507 "\x20\xea\x60\xc0",
18509 .input = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
18510 "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
18511 "\x3a\x80\x3b\xa8\x7f",
18513 .result = "\x00\x97\x69\xec\xab\xdf\x48\x62"
18514 "\x55\x94\xc5\x92\x51\xe6\x03\x57"
18515 "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
18516 "\x5a\xe0\x70\x45\x51",
18519 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
18520 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
18522 .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
18523 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
18524 .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
18526 .input = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
18527 "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
18528 "\x98\x09\xd6\x7d\xbe\xdd\x18",
18530 .result = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
18531 "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
18532 "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
18533 "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
18539 static struct aead_testvec aes_ccm_dec_tv_template[] = {
18540 { /* From RFC 3610 */
18541 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18542 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
18544 .iv = "\x01\x00\x00\x00\x03\x02\x01\x00"
18545 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
18546 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
18548 .input = "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
18549 "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
18550 "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
18551 "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
18553 .result = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18554 "\x10\x11\x12\x13\x14\x15\x16\x17"
18555 "\x18\x19\x1a\x1b\x1c\x1d\x1e",
18558 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18559 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
18561 .iv = "\x01\x00\x00\x00\x07\x06\x05\x04"
18562 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
18563 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
18564 "\x08\x09\x0a\x0b",
18566 .input = "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
18567 "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
18568 "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
18569 "\x7d\x9c\x2d\x93",
18571 .result = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
18572 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
18573 "\x1c\x1d\x1e\x1f",
18576 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18577 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
18579 .iv = "\x01\x00\x00\x00\x0b\x0a\x09\x08"
18580 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
18581 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07",
18583 .input = "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
18584 "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
18585 "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
18586 "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
18589 .result = "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18590 "\x10\x11\x12\x13\x14\x15\x16\x17"
18591 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18595 .key = "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18596 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
18598 .iv = "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
18599 "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
18600 .assoc = "\x00\x01\x02\x03\x04\x05\x06\x07"
18601 "\x08\x09\x0a\x0b",
18603 .input = "\x07\x34\x25\x94\x15\x77\x85\x15"
18604 "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
18605 "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
18606 "\x4d\x99\x99\x88\xdd",
18608 .result = "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
18609 "\x14\x15\x16\x17\x18\x19\x1a\x1b"
18613 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
18614 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
18616 .iv = "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
18617 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
18618 .assoc = "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
18620 .input = "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
18621 "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
18622 "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
18623 "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
18625 .result = "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
18626 "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
18627 "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
18630 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
18631 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
18633 .iv = "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
18634 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
18635 .assoc = "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
18636 "\x20\xea\x60\xc0",
18638 .input = "\x00\x97\x69\xec\xab\xdf\x48\x62"
18639 "\x55\x94\xc5\x92\x51\xe6\x03\x57"
18640 "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
18641 "\x5a\xe0\x70\x45\x51",
18643 .result = "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
18644 "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
18645 "\x3a\x80\x3b\xa8\x7f",
18648 .key = "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
18649 "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
18651 .iv = "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
18652 "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
18653 .assoc = "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
18655 .input = "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
18656 "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
18657 "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
18658 "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
18661 .result = "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
18662 "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
18663 "\x98\x09\xd6\x7d\xbe\xdd\x18",
18669 * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
18670 * use a 13-byte nonce, we only support an 11-byte nonce. Similarly, all of
18671 * Special Publication 800-38C's test vectors also use nonce lengths our
18672 * implementation doesn't support. The following are taken from fips cavs
18673 * fax files on hand at Red Hat.
18675 * nb: actual key lengths are (klen - 3), the last 3 bytes are actually
18676 * part of the nonce which combine w/the iv, but need to be input this way.
18678 static struct aead_testvec aes_ccm_rfc4309_enc_tv_template[] = {
18680 .key = "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
18681 "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e"
18684 .iv = "\x30\x07\xa1\xe2\xa2\xc7\x55\x24",
18686 .input = "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
18687 "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
18688 "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
18689 "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
18691 .result = "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
18692 "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
18693 "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
18694 "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
18695 "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
18696 "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
18699 .key = "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
18700 "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3"
18703 .iv = "\xd3\x01\x5a\xd8\x30\x60\x15\x56",
18704 .assoc = "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
18705 "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
18706 "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
18707 "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
18709 .input = "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
18710 "\xa9\x28\x63\xba\x12\xa3\x14\x85"
18711 "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
18712 "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
18714 .result = "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
18715 "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
18716 "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
18717 "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
18718 "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
18719 "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
18722 .key = "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
18723 "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
18724 "\x53\x14\x73\x66\x8d\x88\xf6\x80"
18727 .iv = "\x26\xf2\x21\x8d\x50\x20\xda\xe2",
18728 .assoc = "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
18729 "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
18730 "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
18731 "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
18734 .result = "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
18735 "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
18738 .key = "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
18739 "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
18740 "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01"
18743 .iv = "\x86\x84\xb6\xcd\xef\x09\x2e\x94",
18744 .assoc = "\x02\x65\x78\x3c\xe9\x21\x30\x91"
18745 "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
18746 "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
18747 "\xe3\x00\x73\x69\x84\x69\x87\x79",
18749 .input = "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
18750 "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
18751 "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
18752 "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
18754 .result = "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
18755 "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
18756 "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
18757 "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
18758 "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
18759 "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
18762 .key = "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
18763 "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
18764 "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
18765 "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b"
18768 .iv = "\xad\x8e\xc1\x53\x0a\xcf\x2d\xbe",
18769 .assoc = "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
18770 "\x78\x2b\x94\x02\x29\x0f\x42\x27"
18771 "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
18772 "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
18774 .input = "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
18775 "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
18776 "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
18777 "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
18779 .result = "\x19\xb8\x61\x33\x45\x2b\x43\x96"
18780 "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
18781 "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
18782 "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
18783 "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
18786 .key = "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
18787 "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
18788 "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
18789 "\x09\x75\x9a\x9b\x3c\x9b\x27\x39"
18792 .iv = "\x63\xb5\x3d\x9d\x43\xf6\x1e\x50",
18793 .assoc = "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
18794 "\x13\x02\x01\x0c\x83\x4c\x96\x35"
18795 "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
18796 "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
18798 .input = "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
18799 "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
18800 "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
18801 "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
18803 .result = "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
18804 "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
18805 "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
18806 "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
18807 "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
18808 "\x7b\x72\x8a\xf7",
18811 .key = "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
18812 "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
18813 "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
18814 "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b"
18817 .iv = "\x07\xcb\xcc\x0e\xe6\x33\xbf\xf5",
18818 .assoc = "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
18819 "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
18820 "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
18821 "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
18823 .input = "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
18824 "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
18825 "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
18826 "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
18828 .result = "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
18829 "\xef\xbb\x80\x21\x04\x6c\x58\x09"
18830 "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
18831 "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
18832 "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
18833 "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
18838 static struct aead_testvec aes_ccm_rfc4309_dec_tv_template[] = {
18840 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
18841 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9"
18844 .iv = "\x80\x0d\x13\xab\xd8\xa6\xb2\xd8",
18846 .input = "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
18852 .key = "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
18853 "\xff\x80\x2e\x48\x7d\x82\xf8\xb9"
18856 .iv = "\x78\x35\x82\x81\x7f\x88\x94\x68",
18858 .input = "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
18863 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
18864 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8"
18867 .iv = "\x80\x0d\x13\xab\xd8\xa6\xb2\xd8",
18868 .assoc = "\xf3\x94\x87\x78\x35\x82\x81\x7f"
18869 "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
18870 "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
18871 "\xd8\x94\x99\x91\x81\x54\x62\x57",
18873 .input = "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
18874 "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
18875 "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
18876 "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
18877 "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
18878 "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
18880 .result = "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
18881 "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
18882 "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
18883 "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
18887 .key = "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
18888 "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8"
18891 .iv = "\x0f\xed\x34\xea\x97\xd4\x3b\xdf",
18892 .assoc = "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
18893 "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
18894 "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
18895 "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
18897 .input = "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
18898 "\xad\x83\x52\x6d\x71\x03\x25\x1c"
18899 "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
18900 "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
18901 "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
18902 "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
18904 .result = "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
18905 "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
18906 "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
18907 "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
18910 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
18911 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
18912 "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
18915 .iv = "\xe9\xa9\xff\xe9\x57\xba\xfd\x9e",
18916 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
18917 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
18918 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
18919 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
18921 .input = "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
18926 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
18927 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
18928 "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
18931 .iv = "\xe9\xa9\xff\xe9\x57\xba\xfd\x9e",
18932 .assoc = "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
18933 "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
18934 "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
18935 "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
18937 .input = "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
18938 "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
18939 "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
18940 "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
18941 "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
18943 .result = "\x85\x34\x66\x42\xc8\x92\x0f\x36"
18944 "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
18945 "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
18946 "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
18949 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
18950 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
18951 "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
18954 .iv = "\x9c\xfe\xb8\x9c\xad\x71\xaa\x1f",
18955 .assoc = "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
18956 "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
18957 "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
18958 "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
18960 .input = "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
18961 "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
18962 "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
18963 "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
18964 "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
18965 "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
18967 .result = "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
18968 "\x99\x2a\xa8\xca\x04\x25\x45\x90"
18969 "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
18970 "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
18974 .key = "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
18975 "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
18976 "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
18977 "\x0e\x85\xbc\x33\xad\x0f\x2b\xff"
18980 .iv = "\xe9\xa9\xff\xe9\x57\xba\xfd\x9e",
18982 .input = "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
18987 .key = "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
18988 "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
18989 "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
18990 "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb"
18993 .iv = "\x42\xc8\x92\x0f\x36\x58\xe0\x6b",
18995 .input = "\x48\x01\x5e\x02\x24\x04\x66\x47"
18996 "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
18997 "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
18998 "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
18999 "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
19000 "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
19002 .result = "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
19003 "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
19004 "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
19005 "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
19009 .key = "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
19010 "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
19011 "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
19012 "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b"
19015 .iv = "\xd9\x95\x75\x8f\x44\x89\x40\x7b",
19016 .assoc = "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
19017 "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
19018 "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
19019 "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
19021 .input = "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
19022 "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
19023 "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
19024 "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
19025 "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
19026 "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
19028 .result = "\xc2\x54\xc8\xde\x78\x87\x77\x40"
19029 "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
19030 "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
19031 "\x04\x49\x3b\x19\x93\x57\x25\x5d",
19037 * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
19038 * test vectors, taken from Appendix B.2.9 and B.2.10:
19039 * http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
19040 * Only AES-128 is supported at this time.
19042 #define ANSI_CPRNG_AES_TEST_VECTORS 6
19044 static struct cprng_testvec ansi_cprng_aes_tv_template[] = {
19046 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
19047 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
19049 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
19050 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
19052 .v = "\x80\x00\x00\x00\x00\x00\x00\x00"
19053 "\x00\x00\x00\x00\x00\x00\x00\x00",
19055 .result = "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
19056 "\x84\x79\x66\x85\xc1\x2f\x76\x41",
19060 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
19061 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
19063 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
19064 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
19066 .v = "\xc0\x00\x00\x00\x00\x00\x00\x00"
19067 "\x00\x00\x00\x00\x00\x00\x00\x00",
19069 .result = "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
19070 "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
19074 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
19075 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
19077 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
19078 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
19080 .v = "\xe0\x00\x00\x00\x00\x00\x00\x00"
19081 "\x00\x00\x00\x00\x00\x00\x00\x00",
19083 .result = "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
19084 "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
19088 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
19089 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
19091 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
19092 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
19094 .v = "\xf0\x00\x00\x00\x00\x00\x00\x00"
19095 "\x00\x00\x00\x00\x00\x00\x00\x00",
19097 .result = "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
19098 "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
19102 .key = "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
19103 "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
19105 .dt = "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
19106 "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
19108 .v = "\xf8\x00\x00\x00\x00\x00\x00\x00"
19109 "\x00\x00\x00\x00\x00\x00\x00\x00",
19111 .result = "\x05\x25\x92\x46\x61\x79\xd2\xcb"
19112 "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
19115 }, { /* Monte Carlo Test */
19116 .key = "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
19117 "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
19119 .dt = "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
19120 "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
19122 .v = "\x57\x2c\x8e\x76\x87\x26\x47\x97"
19123 "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
19125 .result = "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
19126 "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
19132 /* Cast5 test vectors from RFC 2144 */
19133 #define CAST5_ENC_TEST_VECTORS 4
19134 #define CAST5_DEC_TEST_VECTORS 4
19135 #define CAST5_CBC_ENC_TEST_VECTORS 1
19136 #define CAST5_CBC_DEC_TEST_VECTORS 1
19137 #define CAST5_CTR_ENC_TEST_VECTORS 2
19138 #define CAST5_CTR_DEC_TEST_VECTORS 2
19140 static struct cipher_testvec cast5_enc_tv_template[] = {
19142 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
19143 "\x23\x45\x67\x89\x34\x56\x78\x9a",
19145 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
19147 .result = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
19150 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
19153 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
19155 .result = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
19158 .key = "\x01\x23\x45\x67\x12",
19160 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
19162 .result = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
19164 }, { /* Generated from TF test vectors */
19165 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
19166 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
19168 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
19169 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
19170 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
19171 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
19172 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
19173 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
19174 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
19175 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
19176 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
19177 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
19178 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
19179 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
19180 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
19181 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
19182 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
19183 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
19184 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
19185 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
19186 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
19187 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
19188 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
19189 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
19190 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
19191 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
19192 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
19193 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
19194 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
19195 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
19196 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
19197 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
19198 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
19199 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
19200 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
19201 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
19202 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
19203 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
19204 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
19205 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
19206 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
19207 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
19208 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
19209 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
19210 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
19211 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
19212 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
19213 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
19214 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
19215 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
19216 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
19217 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
19218 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
19219 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
19220 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
19221 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
19222 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
19223 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
19224 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
19225 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
19226 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
19227 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
19228 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
19229 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
19230 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
19232 .result = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
19233 "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
19234 "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
19235 "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
19236 "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
19237 "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
19238 "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
19239 "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
19240 "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
19241 "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
19242 "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
19243 "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
19244 "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
19245 "\xED\x34\x35\x78\x6B\x91\xC9\x32"
19246 "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
19247 "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
19248 "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
19249 "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
19250 "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
19251 "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
19252 "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
19253 "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
19254 "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
19255 "\x78\x75\x37\x55\xC1\xF5\x90\x40"
19256 "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
19257 "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
19258 "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
19259 "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
19260 "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
19261 "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
19262 "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
19263 "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
19264 "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
19265 "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
19266 "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
19267 "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
19268 "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
19269 "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
19270 "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
19271 "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
19272 "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
19273 "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
19274 "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
19275 "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
19276 "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
19277 "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
19278 "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
19279 "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
19280 "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
19281 "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
19282 "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
19283 "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
19284 "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
19285 "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
19286 "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
19287 "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
19288 "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
19289 "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
19290 "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
19291 "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
19292 "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
19293 "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
19297 .tap = { 496 - 16, 16 },
19301 static struct cipher_testvec cast5_dec_tv_template[] = {
19303 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
19304 "\x23\x45\x67\x89\x34\x56\x78\x9a",
19306 .input = "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
19308 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
19311 .key = "\x01\x23\x45\x67\x12\x34\x56\x78"
19314 .input = "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
19316 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
19319 .key = "\x01\x23\x45\x67\x12",
19321 .input = "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
19323 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
19325 }, { /* Generated from TF test vectors */
19326 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
19327 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
19329 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
19330 .input = "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
19331 "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
19332 "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
19333 "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
19334 "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
19335 "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
19336 "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
19337 "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
19338 "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
19339 "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
19340 "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
19341 "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
19342 "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
19343 "\xED\x34\x35\x78\x6B\x91\xC9\x32"
19344 "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
19345 "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
19346 "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
19347 "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
19348 "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
19349 "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
19350 "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
19351 "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
19352 "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
19353 "\x78\x75\x37\x55\xC1\xF5\x90\x40"
19354 "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
19355 "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
19356 "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
19357 "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
19358 "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
19359 "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
19360 "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
19361 "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
19362 "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
19363 "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
19364 "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
19365 "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
19366 "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
19367 "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
19368 "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
19369 "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
19370 "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
19371 "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
19372 "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
19373 "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
19374 "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
19375 "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
19376 "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
19377 "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
19378 "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
19379 "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
19380 "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
19381 "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
19382 "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
19383 "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
19384 "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
19385 "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
19386 "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
19387 "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
19388 "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
19389 "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
19390 "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
19391 "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
19393 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
19394 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
19395 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
19396 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
19397 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
19398 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
19399 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
19400 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
19401 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
19402 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
19403 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
19404 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
19405 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
19406 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
19407 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
19408 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
19409 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
19410 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
19411 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
19412 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
19413 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
19414 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
19415 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
19416 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
19417 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
19418 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
19419 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
19420 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
19421 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
19422 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
19423 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
19424 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
19425 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
19426 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
19427 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
19428 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
19429 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
19430 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
19431 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
19432 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
19433 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
19434 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
19435 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
19436 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
19437 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
19438 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
19439 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
19440 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
19441 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
19442 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
19443 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
19444 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
19445 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
19446 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
19447 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
19448 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
19449 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
19450 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
19451 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
19452 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
19453 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
19454 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
19458 .tap = { 496 - 16, 16 },
19462 static struct cipher_testvec cast5_cbc_enc_tv_template[] = {
19463 { /* Generated from TF test vectors */
19464 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
19465 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
19467 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
19468 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
19469 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
19470 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
19471 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
19472 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
19473 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
19474 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
19475 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
19476 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
19477 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
19478 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
19479 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
19480 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
19481 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
19482 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
19483 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
19484 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
19485 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
19486 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
19487 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
19488 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
19489 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
19490 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
19491 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
19492 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
19493 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
19494 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
19495 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
19496 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
19497 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
19498 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
19499 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
19500 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
19501 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
19502 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
19503 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
19504 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
19505 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
19506 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
19507 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
19508 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
19509 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
19510 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
19511 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
19512 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
19513 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
19514 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
19515 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
19516 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
19517 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
19518 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
19519 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
19520 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
19521 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
19522 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
19523 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
19524 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
19525 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
19526 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
19527 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
19528 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
19529 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
19531 .result = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
19532 "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
19533 "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
19534 "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
19535 "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
19536 "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
19537 "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
19538 "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
19539 "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
19540 "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
19541 "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
19542 "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
19543 "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
19544 "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
19545 "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
19546 "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
19547 "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
19548 "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
19549 "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
19550 "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
19551 "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
19552 "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
19553 "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
19554 "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
19555 "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
19556 "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
19557 "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
19558 "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
19559 "\x90\x12\x37\x49\x27\x98\x69\x18"
19560 "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
19561 "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
19562 "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
19563 "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
19564 "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
19565 "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
19566 "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
19567 "\x03\x55\x0E\x02\x41\x4A\x45\x06"
19568 "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
19569 "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
19570 "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
19571 "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
19572 "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
19573 "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
19574 "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
19575 "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
19576 "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
19577 "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
19578 "\x11\xB4\x18\x17\x1A\x65\x92\x56"
19579 "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
19580 "\x1A\x01\x22\x45\x17\x62\x52\x6C"
19581 "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
19582 "\x32\x66\x6F\x23\x7F\x94\x36\x88"
19583 "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
19584 "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
19585 "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
19586 "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
19587 "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
19588 "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
19589 "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
19590 "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
19591 "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
19592 "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
19596 .tap = { 496 - 16, 16 },
19600 static struct cipher_testvec cast5_cbc_dec_tv_template[] = {
19601 { /* Generated from TF test vectors */
19602 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
19603 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
19605 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
19606 .input = "\x05\x28\xCE\x61\x90\x80\xE1\x78"
19607 "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
19608 "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
19609 "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
19610 "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
19611 "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
19612 "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
19613 "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
19614 "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
19615 "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
19616 "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
19617 "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
19618 "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
19619 "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
19620 "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
19621 "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
19622 "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
19623 "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
19624 "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
19625 "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
19626 "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
19627 "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
19628 "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
19629 "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
19630 "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
19631 "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
19632 "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
19633 "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
19634 "\x90\x12\x37\x49\x27\x98\x69\x18"
19635 "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
19636 "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
19637 "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
19638 "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
19639 "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
19640 "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
19641 "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
19642 "\x03\x55\x0E\x02\x41\x4A\x45\x06"
19643 "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
19644 "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
19645 "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
19646 "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
19647 "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
19648 "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
19649 "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
19650 "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
19651 "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
19652 "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
19653 "\x11\xB4\x18\x17\x1A\x65\x92\x56"
19654 "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
19655 "\x1A\x01\x22\x45\x17\x62\x52\x6C"
19656 "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
19657 "\x32\x66\x6F\x23\x7F\x94\x36\x88"
19658 "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
19659 "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
19660 "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
19661 "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
19662 "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
19663 "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
19664 "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
19665 "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
19666 "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
19667 "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
19669 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
19670 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
19671 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
19672 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
19673 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
19674 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
19675 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
19676 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
19677 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
19678 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
19679 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
19680 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
19681 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
19682 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
19683 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
19684 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
19685 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
19686 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
19687 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
19688 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
19689 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
19690 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
19691 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
19692 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
19693 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
19694 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
19695 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
19696 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
19697 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
19698 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
19699 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
19700 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
19701 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
19702 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
19703 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
19704 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
19705 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
19706 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
19707 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
19708 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
19709 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
19710 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
19711 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
19712 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
19713 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
19714 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
19715 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
19716 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
19717 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
19718 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
19719 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
19720 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
19721 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
19722 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
19723 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
19724 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
19725 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
19726 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
19727 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
19728 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
19729 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
19730 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
19734 .tap = { 496 - 16, 16 },
19738 static struct cipher_testvec cast5_ctr_enc_tv_template[] = {
19739 { /* Generated from TF test vectors */
19740 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
19741 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
19743 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
19744 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
19745 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
19748 .result = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
19749 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
19752 }, { /* Generated from TF test vectors */
19753 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
19754 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
19756 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
19757 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
19758 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
19759 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
19760 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
19761 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
19762 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
19763 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
19764 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
19765 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
19766 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
19767 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
19768 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
19769 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
19770 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
19771 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
19772 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
19773 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
19774 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
19775 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
19776 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
19777 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
19778 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
19779 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
19780 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
19781 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
19782 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
19783 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
19784 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
19785 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
19786 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
19787 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
19788 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
19789 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
19790 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
19791 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
19792 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
19793 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
19794 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
19795 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
19796 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
19797 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
19798 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
19799 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
19800 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
19801 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
19802 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
19803 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
19804 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
19805 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
19806 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
19807 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
19808 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
19809 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
19810 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
19811 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
19812 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
19813 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
19814 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
19815 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
19816 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
19817 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
19818 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
19820 .result = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
19821 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
19822 "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
19823 "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
19824 "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
19825 "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
19826 "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
19827 "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
19828 "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
19829 "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
19830 "\x88\x18\x52\x56\x48\x58\xD1\x6B"
19831 "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
19832 "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
19833 "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
19834 "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
19835 "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
19836 "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
19837 "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
19838 "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
19839 "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
19840 "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
19841 "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
19842 "\x44\x67\x90\x20\xAC\x41\xDF\x43"
19843 "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
19844 "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
19845 "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
19846 "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
19847 "\xAE\x59\x0F\x07\x88\x79\x53\x26"
19848 "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
19849 "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
19850 "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
19851 "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
19852 "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
19853 "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
19854 "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
19855 "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
19856 "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
19857 "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
19858 "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
19859 "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
19860 "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
19861 "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
19862 "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
19863 "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
19864 "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
19865 "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
19866 "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
19867 "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
19868 "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
19869 "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
19870 "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
19871 "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
19872 "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
19873 "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
19874 "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
19875 "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
19876 "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
19877 "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
19878 "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
19879 "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
19880 "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
19881 "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
19885 .tap = { 496 - 16, 16 },
19889 static struct cipher_testvec cast5_ctr_dec_tv_template[] = {
19890 { /* Generated from TF test vectors */
19891 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
19892 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
19894 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
19895 .input = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
19896 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
19899 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
19900 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
19903 }, { /* Generated from TF test vectors */
19904 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
19905 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
19907 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
19908 .input = "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
19909 "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
19910 "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
19911 "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
19912 "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
19913 "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
19914 "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
19915 "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
19916 "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
19917 "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
19918 "\x88\x18\x52\x56\x48\x58\xD1\x6B"
19919 "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
19920 "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
19921 "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
19922 "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
19923 "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
19924 "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
19925 "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
19926 "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
19927 "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
19928 "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
19929 "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
19930 "\x44\x67\x90\x20\xAC\x41\xDF\x43"
19931 "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
19932 "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
19933 "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
19934 "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
19935 "\xAE\x59\x0F\x07\x88\x79\x53\x26"
19936 "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
19937 "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
19938 "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
19939 "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
19940 "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
19941 "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
19942 "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
19943 "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
19944 "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
19945 "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
19946 "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
19947 "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
19948 "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
19949 "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
19950 "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
19951 "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
19952 "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
19953 "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
19954 "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
19955 "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
19956 "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
19957 "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
19958 "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
19959 "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
19960 "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
19961 "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
19962 "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
19963 "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
19964 "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
19965 "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
19966 "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
19967 "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
19968 "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
19969 "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
19971 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
19972 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
19973 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
19974 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
19975 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
19976 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
19977 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
19978 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
19979 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
19980 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
19981 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
19982 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
19983 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
19984 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
19985 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
19986 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
19987 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
19988 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
19989 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
19990 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
19991 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
19992 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
19993 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
19994 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
19995 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
19996 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
19997 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
19998 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
19999 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
20000 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
20001 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
20002 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
20003 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
20004 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
20005 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
20006 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
20007 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
20008 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
20009 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
20010 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
20011 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
20012 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
20013 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
20014 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
20015 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
20016 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
20017 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
20018 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
20019 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
20020 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
20021 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
20022 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
20023 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
20024 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
20025 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
20026 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
20027 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
20028 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
20029 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
20030 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
20031 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
20032 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
20036 .tap = { 496 - 16, 16 },
20041 * ARC4 test vectors from OpenSSL
20043 #define ARC4_ENC_TEST_VECTORS 7
20044 #define ARC4_DEC_TEST_VECTORS 7
20046 static struct cipher_testvec arc4_enc_tv_template[] = {
20048 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
20050 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef",
20052 .result = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
20055 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
20057 .input = "\x00\x00\x00\x00\x00\x00\x00\x00",
20059 .result = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
20062 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
20064 .input = "\x00\x00\x00\x00\x00\x00\x00\x00",
20066 .result = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
20069 .key = "\xef\x01\x23\x45",
20071 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
20072 "\x00\x00\x00\x00\x00\x00\x00\x00"
20073 "\x00\x00\x00\x00",
20075 .result = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
20076 "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
20077 "\x36\xb6\x78\x58",
20080 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
20082 .input = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
20083 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
20084 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
20085 "\x12\x34\x56\x78",
20087 .result = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
20088 "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
20089 "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
20090 "\x40\x01\x1e\xcf",
20093 .key = "\xef\x01\x23\x45",
20095 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
20098 .result = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
20102 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
20103 "\x00\x00\x00\x00\x00\x00\x00\x00",
20105 .input = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
20107 .result = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
20112 static struct cipher_testvec arc4_dec_tv_template[] = {
20114 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
20116 .input = "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
20118 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
20121 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
20123 .input = "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
20125 .result = "\x00\x00\x00\x00\x00\x00\x00\x00",
20128 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
20130 .input = "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
20132 .result = "\x00\x00\x00\x00\x00\x00\x00\x00",
20135 .key = "\xef\x01\x23\x45",
20137 .input = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
20138 "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
20139 "\x36\xb6\x78\x58",
20141 .result = "\x00\x00\x00\x00\x00\x00\x00\x00"
20142 "\x00\x00\x00\x00\x00\x00\x00\x00"
20143 "\x00\x00\x00\x00",
20146 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef",
20148 .input = "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
20149 "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
20150 "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
20151 "\x40\x01\x1e\xcf",
20153 .result = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
20154 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
20155 "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
20156 "\x12\x34\x56\x78",
20159 .key = "\xef\x01\x23\x45",
20161 .input = "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
20164 .result = "\x00\x00\x00\x00\x00\x00\x00\x00"
20168 .key = "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
20169 "\x00\x00\x00\x00\x00\x00\x00\x00",
20171 .input = "\x69\x72\x36\x59\x1B\x52\x42\xB1",
20173 .result = "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
20181 #define TEA_ENC_TEST_VECTORS 4
20182 #define TEA_DEC_TEST_VECTORS 4
20184 static struct cipher_testvec tea_enc_tv_template[] = {
20186 .key = zeroed_string,
20188 .input = zeroed_string,
20190 .result = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
20193 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
20194 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
20196 .input = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
20198 .result = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
20201 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
20202 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
20204 .input = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
20205 "\x65\x73\x74\x5f\x76\x65\x63\x74",
20207 .result = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
20208 "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
20211 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
20212 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
20214 .input = "\x54\x65\x61\x20\x69\x73\x20\x67"
20215 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
20216 "\x79\x6f\x75\x21\x21\x21\x20\x72"
20217 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
20219 .result = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
20220 "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
20221 "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
20222 "\x07\x89\x73\xc2\x45\x92\xc6\x90",
20227 static struct cipher_testvec tea_dec_tv_template[] = {
20229 .key = zeroed_string,
20231 .input = "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
20233 .result = zeroed_string,
20236 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
20237 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
20239 .input = "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
20241 .result = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
20244 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
20245 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
20247 .input = "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
20248 "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
20250 .result = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
20251 "\x65\x73\x74\x5f\x76\x65\x63\x74",
20254 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
20255 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
20257 .input = "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
20258 "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
20259 "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
20260 "\x07\x89\x73\xc2\x45\x92\xc6\x90",
20262 .result = "\x54\x65\x61\x20\x69\x73\x20\x67"
20263 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
20264 "\x79\x6f\x75\x21\x21\x21\x20\x72"
20265 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
20271 * XTEA test vectors
20273 #define XTEA_ENC_TEST_VECTORS 4
20274 #define XTEA_DEC_TEST_VECTORS 4
20276 static struct cipher_testvec xtea_enc_tv_template[] = {
20278 .key = zeroed_string,
20280 .input = zeroed_string,
20282 .result = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
20285 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
20286 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
20288 .input = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
20290 .result = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
20293 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
20294 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
20296 .input = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
20297 "\x65\x73\x74\x5f\x76\x65\x63\x74",
20299 .result = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
20300 "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
20303 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
20304 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
20306 .input = "\x54\x65\x61\x20\x69\x73\x20\x67"
20307 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
20308 "\x79\x6f\x75\x21\x21\x21\x20\x72"
20309 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
20311 .result = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
20312 "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
20313 "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
20314 "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
20319 static struct cipher_testvec xtea_dec_tv_template[] = {
20321 .key = zeroed_string,
20323 .input = "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
20325 .result = zeroed_string,
20328 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
20329 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
20331 .input = "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
20333 .result = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
20336 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
20337 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
20339 .input = "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
20340 "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
20342 .result = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
20343 "\x65\x73\x74\x5f\x76\x65\x63\x74",
20346 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
20347 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
20349 .input = "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
20350 "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
20351 "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
20352 "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
20354 .result = "\x54\x65\x61\x20\x69\x73\x20\x67"
20355 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
20356 "\x79\x6f\x75\x21\x21\x21\x20\x72"
20357 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
20363 * KHAZAD test vectors.
20365 #define KHAZAD_ENC_TEST_VECTORS 5
20366 #define KHAZAD_DEC_TEST_VECTORS 5
20368 static struct cipher_testvec khazad_enc_tv_template[] = {
20370 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
20371 "\x00\x00\x00\x00\x00\x00\x00\x00",
20373 .input = "\x00\x00\x00\x00\x00\x00\x00\x00",
20375 .result = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
20378 .key = "\x38\x38\x38\x38\x38\x38\x38\x38"
20379 "\x38\x38\x38\x38\x38\x38\x38\x38",
20381 .input = "\x38\x38\x38\x38\x38\x38\x38\x38",
20383 .result = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
20386 .key = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
20387 "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
20389 .input = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
20391 .result = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
20394 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
20395 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
20397 .input = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
20399 .result = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
20402 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
20403 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
20405 .input = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
20406 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
20408 .result = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
20409 "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
20414 static struct cipher_testvec khazad_dec_tv_template[] = {
20416 .key = "\x80\x00\x00\x00\x00\x00\x00\x00"
20417 "\x00\x00\x00\x00\x00\x00\x00\x00",
20419 .input = "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
20421 .result = "\x00\x00\x00\x00\x00\x00\x00\x00",
20424 .key = "\x38\x38\x38\x38\x38\x38\x38\x38"
20425 "\x38\x38\x38\x38\x38\x38\x38\x38",
20427 .input = "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
20429 .result = "\x38\x38\x38\x38\x38\x38\x38\x38",
20432 .key = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
20433 "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
20435 .input = "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
20437 .result = "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
20440 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
20441 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
20443 .input = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
20445 .result = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
20448 .key = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
20449 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
20451 .input = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
20452 "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
20454 .result = "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
20455 "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
20461 * Anubis test vectors.
20464 #define ANUBIS_ENC_TEST_VECTORS 5
20465 #define ANUBIS_DEC_TEST_VECTORS 5
20466 #define ANUBIS_CBC_ENC_TEST_VECTORS 2
20467 #define ANUBIS_CBC_DEC_TEST_VECTORS 2
20469 static struct cipher_testvec anubis_enc_tv_template[] = {
20471 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
20472 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
20474 .input = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
20475 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
20477 .result = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
20478 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
20482 .key = "\x03\x03\x03\x03\x03\x03\x03\x03"
20483 "\x03\x03\x03\x03\x03\x03\x03\x03"
20484 "\x03\x03\x03\x03",
20486 .input = "\x03\x03\x03\x03\x03\x03\x03\x03"
20487 "\x03\x03\x03\x03\x03\x03\x03\x03",
20489 .result = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
20490 "\x87\x41\x6f\x82\x0a\x98\x64\xae",
20493 .key = "\x24\x24\x24\x24\x24\x24\x24\x24"
20494 "\x24\x24\x24\x24\x24\x24\x24\x24"
20495 "\x24\x24\x24\x24\x24\x24\x24\x24"
20496 "\x24\x24\x24\x24",
20498 .input = "\x24\x24\x24\x24\x24\x24\x24\x24"
20499 "\x24\x24\x24\x24\x24\x24\x24\x24",
20501 .result = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
20502 "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
20505 .key = "\x25\x25\x25\x25\x25\x25\x25\x25"
20506 "\x25\x25\x25\x25\x25\x25\x25\x25"
20507 "\x25\x25\x25\x25\x25\x25\x25\x25"
20508 "\x25\x25\x25\x25\x25\x25\x25\x25",
20510 .input = "\x25\x25\x25\x25\x25\x25\x25\x25"
20511 "\x25\x25\x25\x25\x25\x25\x25\x25",
20513 .result = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
20514 "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
20517 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
20518 "\x35\x35\x35\x35\x35\x35\x35\x35"
20519 "\x35\x35\x35\x35\x35\x35\x35\x35"
20520 "\x35\x35\x35\x35\x35\x35\x35\x35"
20521 "\x35\x35\x35\x35\x35\x35\x35\x35",
20523 .input = "\x35\x35\x35\x35\x35\x35\x35\x35"
20524 "\x35\x35\x35\x35\x35\x35\x35\x35",
20526 .result = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
20527 "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
20532 static struct cipher_testvec anubis_dec_tv_template[] = {
20534 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
20535 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
20537 .input = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
20538 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
20540 .result = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
20541 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
20545 .key = "\x03\x03\x03\x03\x03\x03\x03\x03"
20546 "\x03\x03\x03\x03\x03\x03\x03\x03"
20547 "\x03\x03\x03\x03",
20549 .input = "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
20550 "\x87\x41\x6f\x82\x0a\x98\x64\xae",
20552 .result = "\x03\x03\x03\x03\x03\x03\x03\x03"
20553 "\x03\x03\x03\x03\x03\x03\x03\x03",
20556 .key = "\x24\x24\x24\x24\x24\x24\x24\x24"
20557 "\x24\x24\x24\x24\x24\x24\x24\x24"
20558 "\x24\x24\x24\x24\x24\x24\x24\x24"
20559 "\x24\x24\x24\x24",
20561 .input = "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
20562 "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
20564 .result = "\x24\x24\x24\x24\x24\x24\x24\x24"
20565 "\x24\x24\x24\x24\x24\x24\x24\x24",
20568 .key = "\x25\x25\x25\x25\x25\x25\x25\x25"
20569 "\x25\x25\x25\x25\x25\x25\x25\x25"
20570 "\x25\x25\x25\x25\x25\x25\x25\x25"
20571 "\x25\x25\x25\x25\x25\x25\x25\x25",
20573 .input = "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
20574 "\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
20576 .result = "\x25\x25\x25\x25\x25\x25\x25\x25"
20577 "\x25\x25\x25\x25\x25\x25\x25\x25",
20580 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
20581 "\x35\x35\x35\x35\x35\x35\x35\x35"
20582 "\x35\x35\x35\x35\x35\x35\x35\x35"
20583 "\x35\x35\x35\x35\x35\x35\x35\x35"
20584 "\x35\x35\x35\x35\x35\x35\x35\x35",
20585 .input = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
20586 "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
20589 .result = "\x35\x35\x35\x35\x35\x35\x35\x35"
20590 "\x35\x35\x35\x35\x35\x35\x35\x35",
20595 static struct cipher_testvec anubis_cbc_enc_tv_template[] = {
20597 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
20598 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
20600 .input = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
20601 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
20602 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
20603 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
20605 .result = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
20606 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
20607 "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
20608 "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
20611 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
20612 "\x35\x35\x35\x35\x35\x35\x35\x35"
20613 "\x35\x35\x35\x35\x35\x35\x35\x35"
20614 "\x35\x35\x35\x35\x35\x35\x35\x35"
20615 "\x35\x35\x35\x35\x35\x35\x35\x35",
20617 .input = "\x35\x35\x35\x35\x35\x35\x35\x35"
20618 "\x35\x35\x35\x35\x35\x35\x35\x35"
20619 "\x35\x35\x35\x35\x35\x35\x35\x35"
20620 "\x35\x35\x35\x35\x35\x35\x35\x35",
20622 .result = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
20623 "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
20624 "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
20625 "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
20630 static struct cipher_testvec anubis_cbc_dec_tv_template[] = {
20632 .key = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
20633 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
20635 .input = "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
20636 "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
20637 "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
20638 "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
20640 .result = "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
20641 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
20642 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
20643 "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
20646 .key = "\x35\x35\x35\x35\x35\x35\x35\x35"
20647 "\x35\x35\x35\x35\x35\x35\x35\x35"
20648 "\x35\x35\x35\x35\x35\x35\x35\x35"
20649 "\x35\x35\x35\x35\x35\x35\x35\x35"
20650 "\x35\x35\x35\x35\x35\x35\x35\x35",
20652 .input = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
20653 "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
20654 "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
20655 "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
20657 .result = "\x35\x35\x35\x35\x35\x35\x35\x35"
20658 "\x35\x35\x35\x35\x35\x35\x35\x35"
20659 "\x35\x35\x35\x35\x35\x35\x35\x35"
20660 "\x35\x35\x35\x35\x35\x35\x35\x35",
20666 * XETA test vectors
20668 #define XETA_ENC_TEST_VECTORS 4
20669 #define XETA_DEC_TEST_VECTORS 4
20671 static struct cipher_testvec xeta_enc_tv_template[] = {
20673 .key = zeroed_string,
20675 .input = zeroed_string,
20677 .result = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
20680 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
20681 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
20683 .input = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
20685 .result = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
20688 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
20689 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
20691 .input = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
20692 "\x65\x73\x74\x5f\x76\x65\x63\x74",
20694 .result = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
20695 "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
20698 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
20699 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
20701 .input = "\x54\x65\x61\x20\x69\x73\x20\x67"
20702 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
20703 "\x79\x6f\x75\x21\x21\x21\x20\x72"
20704 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
20706 .result = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
20707 "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
20708 "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
20709 "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
20714 static struct cipher_testvec xeta_dec_tv_template[] = {
20716 .key = zeroed_string,
20718 .input = "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
20720 .result = zeroed_string,
20723 .key = "\x2b\x02\x05\x68\x06\x14\x49\x76"
20724 "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
20726 .input = "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
20728 .result = "\x74\x65\x73\x74\x20\x6d\x65\x2e",
20731 .key = "\x09\x65\x43\x11\x66\x44\x39\x25"
20732 "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
20734 .input = "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
20735 "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
20737 .result = "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
20738 "\x65\x73\x74\x5f\x76\x65\x63\x74",
20741 .key = "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
20742 "\x5d\x04\x16\x36\x15\x72\x63\x2f",
20744 .input = "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
20745 "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
20746 "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
20747 "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
20749 .result = "\x54\x65\x61\x20\x69\x73\x20\x67"
20750 "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
20751 "\x79\x6f\x75\x21\x21\x21\x20\x72"
20752 "\x65\x61\x6c\x6c\x79\x21\x21\x21",
20758 * FCrypt test vectors
20760 #define FCRYPT_ENC_TEST_VECTORS ARRAY_SIZE(fcrypt_pcbc_enc_tv_template)
20761 #define FCRYPT_DEC_TEST_VECTORS ARRAY_SIZE(fcrypt_pcbc_dec_tv_template)
20763 static struct cipher_testvec fcrypt_pcbc_enc_tv_template[] = {
20764 { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
20765 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
20767 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
20768 .input = "\x00\x00\x00\x00\x00\x00\x00\x00",
20770 .result = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
20773 .key = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
20775 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
20776 .input = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
20778 .result = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
20780 }, { /* From Arla */
20781 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
20783 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
20784 .input = "The quick brown fox jumps over the lazy dogs.\0\0",
20786 .result = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
20787 "\xee\xac\x98\x62\x44\x51\xe4\x84"
20788 "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
20789 "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
20790 "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
20791 "\xf8\x91\x3c\xac\x44\x22\x92\xef",
20794 .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
20796 .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
20797 .input = "The quick brown fox jumps over the lazy dogs.\0\0",
20799 .result = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
20800 "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
20801 "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
20802 "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
20803 "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
20804 "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
20806 }, { /* split-page version */
20807 .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
20809 .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
20810 .input = "The quick brown fox jumps over the lazy dogs.\0\0",
20812 .result = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
20813 "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
20814 "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
20815 "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
20816 "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
20817 "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
20824 static struct cipher_testvec fcrypt_pcbc_dec_tv_template[] = {
20825 { /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
20826 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
20828 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
20829 .input = "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
20831 .result = "\x00\x00\x00\x00\x00\x00\x00\x00",
20834 .key = "\x11\x44\x77\xAA\xDD\x00\x33\x66",
20836 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
20837 .input = "\xD8\xED\x78\x74\x77\xEC\x06\x80",
20839 .result = "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
20841 }, { /* From Arla */
20842 .key = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
20844 .iv = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
20845 .input = "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
20846 "\xee\xac\x98\x62\x44\x51\xe4\x84"
20847 "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
20848 "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
20849 "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
20850 "\xf8\x91\x3c\xac\x44\x22\x92\xef",
20852 .result = "The quick brown fox jumps over the lazy dogs.\0\0",
20855 .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
20857 .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
20858 .input = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
20859 "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
20860 "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
20861 "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
20862 "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
20863 "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
20865 .result = "The quick brown fox jumps over the lazy dogs.\0\0",
20867 }, { /* split-page version */
20868 .key = "\xfe\xdc\xba\x98\x76\x54\x32\x10",
20870 .iv = "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
20871 .input = "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
20872 "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
20873 "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
20874 "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
20875 "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
20876 "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
20878 .result = "The quick brown fox jumps over the lazy dogs.\0\0",
20886 * CAMELLIA test vectors.
20888 #define CAMELLIA_ENC_TEST_VECTORS 4
20889 #define CAMELLIA_DEC_TEST_VECTORS 4
20890 #define CAMELLIA_CBC_ENC_TEST_VECTORS 3
20891 #define CAMELLIA_CBC_DEC_TEST_VECTORS 3
20892 #define CAMELLIA_CTR_ENC_TEST_VECTORS 2
20893 #define CAMELLIA_CTR_DEC_TEST_VECTORS 2
20894 #define CAMELLIA_LRW_ENC_TEST_VECTORS 8
20895 #define CAMELLIA_LRW_DEC_TEST_VECTORS 8
20896 #define CAMELLIA_XTS_ENC_TEST_VECTORS 5
20897 #define CAMELLIA_XTS_DEC_TEST_VECTORS 5
20899 static struct cipher_testvec camellia_enc_tv_template[] = {
20901 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
20902 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
20904 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef"
20905 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
20907 .result = "\x67\x67\x31\x38\x54\x96\x69\x73"
20908 "\x08\x57\x06\x56\x48\xea\xbe\x43",
20911 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
20912 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
20913 "\x00\x11\x22\x33\x44\x55\x66\x77",
20915 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef"
20916 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
20918 .result = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
20919 "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
20922 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
20923 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
20924 "\x00\x11\x22\x33\x44\x55\x66\x77"
20925 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
20927 .input = "\x01\x23\x45\x67\x89\xab\xcd\xef"
20928 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
20930 .result = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
20931 "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
20933 }, { /* Generated with Crypto++ */
20934 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
20935 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
20936 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
20937 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
20939 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
20940 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
20941 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
20942 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
20943 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
20944 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
20945 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
20946 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
20947 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
20948 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
20949 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
20950 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
20951 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
20952 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
20953 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
20954 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
20955 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
20956 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
20957 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
20958 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
20959 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
20960 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
20961 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
20962 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
20963 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
20964 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
20965 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
20966 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
20967 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
20968 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
20969 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
20970 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
20971 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
20972 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
20973 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
20974 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
20975 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
20976 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
20977 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
20978 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
20979 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
20980 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
20981 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
20982 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
20983 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
20984 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
20985 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
20986 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
20987 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
20988 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
20989 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
20990 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
20991 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
20992 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
20993 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
20994 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
20995 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
20996 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
20997 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
20998 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
20999 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
21000 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
21002 .result = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
21003 "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
21004 "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
21005 "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
21006 "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
21007 "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
21008 "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
21009 "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
21010 "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
21011 "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
21012 "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
21013 "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
21014 "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
21015 "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
21016 "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
21017 "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
21018 "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
21019 "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
21020 "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
21021 "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
21022 "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
21023 "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
21024 "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
21025 "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
21026 "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
21027 "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
21028 "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
21029 "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
21030 "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
21031 "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
21032 "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
21033 "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
21034 "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
21035 "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
21036 "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
21037 "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
21038 "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
21039 "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
21040 "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
21041 "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
21042 "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
21043 "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
21044 "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
21045 "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
21046 "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
21047 "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
21048 "\x83\x06\xAB\x82\x99\x01\x16\x1A"
21049 "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
21050 "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
21051 "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
21052 "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
21053 "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
21054 "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
21055 "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
21056 "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
21057 "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
21058 "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
21059 "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
21060 "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
21061 "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
21062 "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
21063 "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB",
21067 .tap = { 496 - 16, 16 },
21071 static struct cipher_testvec camellia_dec_tv_template[] = {
21073 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
21074 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
21076 .input = "\x67\x67\x31\x38\x54\x96\x69\x73"
21077 "\x08\x57\x06\x56\x48\xea\xbe\x43",
21079 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
21080 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
21083 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
21084 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
21085 "\x00\x11\x22\x33\x44\x55\x66\x77",
21087 .input = "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
21088 "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
21090 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
21091 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
21094 .key = "\x01\x23\x45\x67\x89\xab\xcd\xef"
21095 "\xfe\xdc\xba\x98\x76\x54\x32\x10"
21096 "\x00\x11\x22\x33\x44\x55\x66\x77"
21097 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
21099 .input = "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
21100 "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
21102 .result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
21103 "\xfe\xdc\xba\x98\x76\x54\x32\x10",
21105 }, { /* Generated with Crypto++ */
21106 .key = "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
21107 "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
21108 "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
21109 "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
21111 .input = "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
21112 "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
21113 "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
21114 "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
21115 "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
21116 "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
21117 "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
21118 "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
21119 "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
21120 "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
21121 "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
21122 "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
21123 "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
21124 "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
21125 "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
21126 "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
21127 "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
21128 "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
21129 "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
21130 "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
21131 "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
21132 "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
21133 "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
21134 "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
21135 "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
21136 "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
21137 "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
21138 "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
21139 "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
21140 "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
21141 "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
21142 "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
21143 "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
21144 "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
21145 "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
21146 "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
21147 "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
21148 "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
21149 "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
21150 "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
21151 "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
21152 "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
21153 "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
21154 "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
21155 "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
21156 "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
21157 "\x83\x06\xAB\x82\x99\x01\x16\x1A"
21158 "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
21159 "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
21160 "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
21161 "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
21162 "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
21163 "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
21164 "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
21165 "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
21166 "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
21167 "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
21168 "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
21169 "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
21170 "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
21171 "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
21172 "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB",
21174 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
21175 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
21176 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
21177 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
21178 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
21179 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
21180 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
21181 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
21182 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
21183 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
21184 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
21185 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
21186 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
21187 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
21188 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
21189 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
21190 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
21191 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
21192 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
21193 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
21194 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
21195 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
21196 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
21197 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
21198 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
21199 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
21200 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
21201 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
21202 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
21203 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
21204 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
21205 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
21206 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
21207 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
21208 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
21209 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
21210 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
21211 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
21212 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
21213 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
21214 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
21215 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
21216 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
21217 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
21218 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
21219 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
21220 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
21221 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
21222 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
21223 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
21224 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
21225 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
21226 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
21227 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
21228 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
21229 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
21230 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
21231 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
21232 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
21233 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
21234 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
21235 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
21239 .tap = { 496 - 16, 16 },
21243 static struct cipher_testvec camellia_cbc_enc_tv_template[] = {
21245 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
21246 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
21248 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
21249 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
21250 .input = "Single block msg",
21252 .result = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
21253 "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
21256 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
21257 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
21259 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
21260 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
21261 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
21262 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21263 "\x10\x11\x12\x13\x14\x15\x16\x17"
21264 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
21266 .result = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
21267 "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
21268 "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
21269 "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
21271 }, { /* Generated with Crypto++ */
21272 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
21273 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
21274 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
21275 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
21277 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
21278 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
21279 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
21280 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
21281 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
21282 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
21283 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
21284 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
21285 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
21286 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
21287 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
21288 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
21289 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
21290 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
21291 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
21292 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
21293 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
21294 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
21295 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
21296 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
21297 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
21298 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
21299 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
21300 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
21301 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
21302 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
21303 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
21304 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
21305 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
21306 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
21307 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
21308 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
21309 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
21310 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
21311 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
21312 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
21313 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
21314 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
21315 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
21316 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
21317 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
21318 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
21319 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
21320 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
21321 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
21322 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
21323 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
21324 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
21325 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
21326 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
21327 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
21328 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
21329 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
21330 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
21331 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
21332 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
21333 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
21334 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
21335 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
21336 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
21337 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
21338 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
21339 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
21340 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
21342 .result = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
21343 "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
21344 "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
21345 "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
21346 "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
21347 "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
21348 "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
21349 "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
21350 "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
21351 "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
21352 "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
21353 "\x37\x49\x88\xA4\xEF\x91\x21\x47"
21354 "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
21355 "\x28\x90\x77\x46\xD8\xD2\x35\x16"
21356 "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
21357 "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
21358 "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
21359 "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
21360 "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
21361 "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
21362 "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
21363 "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
21364 "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
21365 "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
21366 "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
21367 "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
21368 "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
21369 "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
21370 "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
21371 "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
21372 "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
21373 "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
21374 "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
21375 "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
21376 "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
21377 "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
21378 "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
21379 "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
21380 "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
21381 "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
21382 "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
21383 "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
21384 "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
21385 "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
21386 "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
21387 "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
21388 "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
21389 "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
21390 "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
21391 "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
21392 "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
21393 "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
21394 "\x38\xB8\x48\x36\x66\x4E\x20\x43"
21395 "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
21396 "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
21397 "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
21398 "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
21399 "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
21400 "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
21401 "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
21402 "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
21403 "\x5F\x74\x8C\x86\x5B\x71\xD0\x20",
21407 .tap = { 496 - 16, 16 },
21411 static struct cipher_testvec camellia_cbc_dec_tv_template[] = {
21413 .key = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
21414 "\x51\x2e\x03\xd5\x34\x12\x00\x06",
21416 .iv = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
21417 "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
21418 .input = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
21419 "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
21421 .result = "Single block msg",
21424 .key = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
21425 "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
21427 .iv = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
21428 "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
21429 .input = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
21430 "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
21431 "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
21432 "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
21434 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
21435 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21436 "\x10\x11\x12\x13\x14\x15\x16\x17"
21437 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
21439 }, { /* Generated with Crypto++ */
21440 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
21441 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
21442 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
21443 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
21445 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
21446 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
21447 .input = "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
21448 "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
21449 "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
21450 "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
21451 "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
21452 "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
21453 "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
21454 "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
21455 "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
21456 "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
21457 "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
21458 "\x37\x49\x88\xA4\xEF\x91\x21\x47"
21459 "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
21460 "\x28\x90\x77\x46\xD8\xD2\x35\x16"
21461 "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
21462 "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
21463 "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
21464 "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
21465 "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
21466 "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
21467 "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
21468 "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
21469 "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
21470 "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
21471 "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
21472 "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
21473 "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
21474 "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
21475 "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
21476 "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
21477 "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
21478 "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
21479 "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
21480 "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
21481 "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
21482 "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
21483 "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
21484 "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
21485 "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
21486 "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
21487 "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
21488 "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
21489 "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
21490 "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
21491 "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
21492 "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
21493 "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
21494 "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
21495 "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
21496 "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
21497 "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
21498 "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
21499 "\x38\xB8\x48\x36\x66\x4E\x20\x43"
21500 "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
21501 "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
21502 "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
21503 "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
21504 "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
21505 "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
21506 "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
21507 "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
21508 "\x5F\x74\x8C\x86\x5B\x71\xD0\x20",
21510 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
21511 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
21512 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
21513 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
21514 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
21515 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
21516 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
21517 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
21518 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
21519 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
21520 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
21521 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
21522 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
21523 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
21524 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
21525 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
21526 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
21527 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
21528 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
21529 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
21530 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
21531 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
21532 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
21533 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
21534 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
21535 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
21536 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
21537 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
21538 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
21539 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
21540 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
21541 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
21542 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
21543 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
21544 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
21545 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
21546 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
21547 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
21548 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
21549 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
21550 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
21551 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
21552 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
21553 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
21554 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
21555 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
21556 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
21557 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
21558 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
21559 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
21560 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
21561 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
21562 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
21563 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
21564 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
21565 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
21566 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
21567 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
21568 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
21569 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
21570 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
21571 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
21575 .tap = { 496 - 16, 16 },
21579 static struct cipher_testvec camellia_ctr_enc_tv_template[] = {
21580 { /* Generated with Crypto++ */
21581 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
21582 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
21583 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
21584 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
21586 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
21587 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
21588 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
21589 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
21590 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
21591 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
21592 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
21593 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
21594 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
21595 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
21596 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
21597 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
21598 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
21599 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
21600 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
21601 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
21602 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
21603 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
21604 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
21605 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
21606 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
21607 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
21608 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
21609 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
21610 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
21611 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
21612 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
21613 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
21614 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
21615 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
21616 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
21617 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
21618 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
21619 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
21620 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
21621 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
21622 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
21623 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
21624 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
21625 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
21626 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
21627 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
21628 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
21629 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
21630 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
21631 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
21632 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
21633 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
21634 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
21635 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
21636 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
21637 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
21638 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
21639 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
21640 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
21641 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
21642 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
21643 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
21644 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
21645 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
21646 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
21647 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
21648 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
21649 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
21651 .result = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
21652 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
21653 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
21654 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
21655 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
21656 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
21657 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
21658 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
21659 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
21660 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
21661 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
21662 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
21663 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
21664 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
21665 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
21666 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
21667 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
21668 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
21669 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
21670 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
21671 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
21672 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
21673 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
21674 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
21675 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
21676 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
21677 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
21678 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
21679 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
21680 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
21681 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
21682 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
21683 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
21684 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
21685 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
21686 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
21687 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
21688 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
21689 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
21690 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
21691 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
21692 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
21693 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
21694 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
21695 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
21696 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
21697 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
21698 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
21699 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
21700 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
21701 "\x76\x44\x45\xF3\x24\x11\x57\x98"
21702 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
21703 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
21704 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
21705 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
21706 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
21707 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
21708 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
21709 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
21710 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
21711 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
21712 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
21714 }, { /* Generated with Crypto++ */
21715 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
21716 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
21717 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
21718 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
21720 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
21721 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
21722 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
21723 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
21724 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
21725 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
21726 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
21727 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
21728 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
21729 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
21730 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
21731 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
21732 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
21733 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
21734 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
21735 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
21736 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
21737 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
21738 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
21739 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
21740 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
21741 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
21742 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
21743 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
21744 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
21745 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
21746 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
21747 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
21748 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
21749 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
21750 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
21751 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
21752 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
21753 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
21754 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
21755 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
21756 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
21757 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
21758 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
21759 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
21760 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
21761 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
21762 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
21763 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
21764 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
21765 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
21766 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
21767 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
21768 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
21769 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
21770 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
21771 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
21772 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
21773 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
21774 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
21775 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
21776 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
21777 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
21778 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
21779 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
21780 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
21781 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
21782 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
21783 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
21786 .result = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
21787 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
21788 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
21789 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
21790 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
21791 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
21792 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
21793 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
21794 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
21795 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
21796 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
21797 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
21798 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
21799 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
21800 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
21801 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
21802 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
21803 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
21804 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
21805 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
21806 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
21807 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
21808 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
21809 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
21810 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
21811 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
21812 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
21813 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
21814 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
21815 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
21816 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
21817 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
21818 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
21819 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
21820 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
21821 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
21822 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
21823 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
21824 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
21825 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
21826 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
21827 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
21828 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
21829 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
21830 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
21831 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
21832 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
21833 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
21834 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
21835 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
21836 "\x76\x44\x45\xF3\x24\x11\x57\x98"
21837 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
21838 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
21839 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
21840 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
21841 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
21842 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
21843 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
21844 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
21845 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
21846 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
21847 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
21852 .tap = { 499 - 16, 16 },
21853 }, { /* Generated with Crypto++ */
21854 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
21855 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
21856 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
21857 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
21859 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
21860 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
21861 .input = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
21862 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
21863 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
21864 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
21865 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
21866 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
21867 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
21868 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
21869 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
21870 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
21871 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
21872 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
21873 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
21874 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
21875 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
21876 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
21877 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
21878 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
21879 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
21880 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
21881 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
21882 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
21883 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
21884 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
21885 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
21886 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
21887 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
21888 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
21889 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
21890 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
21891 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
21892 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
21893 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
21894 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
21895 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
21896 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
21897 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
21898 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
21899 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
21900 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
21901 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
21902 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
21903 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
21904 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
21905 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
21906 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
21907 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
21908 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
21909 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
21910 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
21911 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
21912 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
21913 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
21914 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
21915 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
21916 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
21917 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
21918 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
21919 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
21920 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
21921 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
21922 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
21924 .result = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
21925 "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
21926 "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
21927 "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
21928 "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
21929 "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
21930 "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
21931 "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
21932 "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
21933 "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
21934 "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
21935 "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
21936 "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
21937 "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
21938 "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
21939 "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
21940 "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
21941 "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
21942 "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
21943 "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
21944 "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
21945 "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
21946 "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
21947 "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
21948 "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
21949 "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
21950 "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
21951 "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
21952 "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
21953 "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
21954 "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
21955 "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
21956 "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
21957 "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
21958 "\x93\x78\x86\x05\x69\x46\xD0\xC5"
21959 "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
21960 "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
21961 "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
21962 "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
21963 "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
21964 "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
21965 "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
21966 "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
21967 "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
21968 "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
21969 "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
21970 "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
21971 "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
21972 "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
21973 "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
21974 "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
21975 "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
21976 "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
21977 "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
21978 "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
21979 "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
21980 "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
21981 "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
21982 "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
21983 "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
21984 "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
21985 "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C",
21990 static struct cipher_testvec camellia_ctr_dec_tv_template[] = {
21991 { /* Generated with Crypto++ */
21992 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
21993 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
21994 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
21995 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
21997 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
21998 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
21999 .input = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
22000 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
22001 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
22002 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
22003 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
22004 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
22005 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
22006 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
22007 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
22008 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
22009 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
22010 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
22011 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
22012 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
22013 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
22014 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
22015 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
22016 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
22017 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
22018 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
22019 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
22020 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
22021 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
22022 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
22023 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
22024 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
22025 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
22026 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
22027 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
22028 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
22029 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
22030 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
22031 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
22032 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
22033 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
22034 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
22035 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
22036 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
22037 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
22038 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
22039 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
22040 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
22041 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
22042 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
22043 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
22044 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
22045 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
22046 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
22047 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
22048 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
22049 "\x76\x44\x45\xF3\x24\x11\x57\x98"
22050 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
22051 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
22052 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
22053 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
22054 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
22055 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
22056 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
22057 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
22058 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
22059 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
22060 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
22062 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
22063 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
22064 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
22065 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
22066 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
22067 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
22068 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
22069 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
22070 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
22071 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
22072 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
22073 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
22074 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
22075 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
22076 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
22077 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
22078 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
22079 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
22080 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
22081 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
22082 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
22083 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
22084 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
22085 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
22086 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
22087 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
22088 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
22089 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
22090 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
22091 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
22092 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
22093 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
22094 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
22095 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
22096 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
22097 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
22098 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
22099 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
22100 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
22101 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
22102 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
22103 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
22104 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
22105 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
22106 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
22107 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
22108 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
22109 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
22110 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
22111 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
22112 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
22113 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
22114 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
22115 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
22116 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
22117 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
22118 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
22119 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
22120 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
22121 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
22122 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
22123 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
22125 }, { /* Generated with Crypto++ */
22126 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
22127 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
22128 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
22129 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
22131 .iv = "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
22132 "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
22133 .input = "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
22134 "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
22135 "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
22136 "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
22137 "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
22138 "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
22139 "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
22140 "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
22141 "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
22142 "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
22143 "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
22144 "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
22145 "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
22146 "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
22147 "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
22148 "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
22149 "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
22150 "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
22151 "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
22152 "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
22153 "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
22154 "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
22155 "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
22156 "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
22157 "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
22158 "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
22159 "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
22160 "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
22161 "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
22162 "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
22163 "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
22164 "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
22165 "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
22166 "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
22167 "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
22168 "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
22169 "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
22170 "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
22171 "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
22172 "\x79\xA2\x99\x28\x93\x1B\x00\x57"
22173 "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
22174 "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
22175 "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
22176 "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
22177 "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
22178 "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
22179 "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
22180 "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
22181 "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
22182 "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
22183 "\x76\x44\x45\xF3\x24\x11\x57\x98"
22184 "\x9A\x86\xB4\x12\x80\x28\x86\x20"
22185 "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
22186 "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
22187 "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
22188 "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
22189 "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
22190 "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
22191 "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
22192 "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
22193 "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
22194 "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
22197 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
22198 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
22199 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
22200 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
22201 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
22202 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
22203 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
22204 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
22205 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
22206 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
22207 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
22208 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
22209 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
22210 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
22211 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
22212 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
22213 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
22214 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
22215 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
22216 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
22217 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
22218 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
22219 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
22220 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
22221 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
22222 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
22223 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
22224 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
22225 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
22226 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
22227 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
22228 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
22229 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
22230 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
22231 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
22232 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
22233 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
22234 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
22235 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
22236 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
22237 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
22238 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
22239 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
22240 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
22241 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
22242 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
22243 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
22244 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
22245 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
22246 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
22247 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
22248 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
22249 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
22250 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
22251 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
22252 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
22253 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
22254 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
22255 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
22256 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
22257 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
22258 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
22263 .tap = { 499 - 16, 16 },
22264 }, { /* Generated with Crypto++ */
22265 .key = "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
22266 "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
22267 "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
22268 "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
22270 .iv = "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
22271 "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
22272 .input = "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
22273 "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
22274 "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
22275 "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
22276 "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
22277 "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
22278 "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
22279 "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
22280 "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
22281 "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
22282 "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
22283 "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
22284 "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
22285 "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
22286 "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
22287 "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
22288 "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
22289 "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
22290 "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
22291 "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
22292 "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
22293 "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
22294 "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
22295 "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
22296 "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
22297 "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
22298 "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
22299 "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
22300 "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
22301 "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
22302 "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
22303 "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
22304 "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
22305 "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
22306 "\x93\x78\x86\x05\x69\x46\xD0\xC5"
22307 "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
22308 "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
22309 "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
22310 "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
22311 "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
22312 "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
22313 "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
22314 "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
22315 "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
22316 "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
22317 "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
22318 "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
22319 "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
22320 "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
22321 "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
22322 "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
22323 "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
22324 "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
22325 "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
22326 "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
22327 "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
22328 "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
22329 "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
22330 "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
22331 "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
22332 "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
22333 "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C",
22335 .result = "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
22336 "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
22337 "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
22338 "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
22339 "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
22340 "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
22341 "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
22342 "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
22343 "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
22344 "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
22345 "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
22346 "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
22347 "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
22348 "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
22349 "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
22350 "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
22351 "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
22352 "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
22353 "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
22354 "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
22355 "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
22356 "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
22357 "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
22358 "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
22359 "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
22360 "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
22361 "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
22362 "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
22363 "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
22364 "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
22365 "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
22366 "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
22367 "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
22368 "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
22369 "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
22370 "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
22371 "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
22372 "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
22373 "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
22374 "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
22375 "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
22376 "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
22377 "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
22378 "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
22379 "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
22380 "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
22381 "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
22382 "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
22383 "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
22384 "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
22385 "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
22386 "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
22387 "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
22388 "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
22389 "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
22390 "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
22391 "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
22392 "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
22393 "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
22394 "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
22395 "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
22396 "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
22401 static struct cipher_testvec camellia_lrw_enc_tv_template[] = {
22402 /* Generated from AES-LRW test vectors */
22404 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
22405 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
22406 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
22407 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
22409 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22410 "\x00\x00\x00\x00\x00\x00\x00\x01",
22411 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
22412 "\x38\x39\x41\x42\x43\x44\x45\x46",
22414 .result = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
22415 "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
22418 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
22419 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
22420 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
22421 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
22423 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22424 "\x00\x00\x00\x00\x00\x00\x00\x02",
22425 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
22426 "\x38\x39\x41\x42\x43\x44\x45\x46",
22428 .result = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
22429 "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
22432 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
22433 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
22434 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
22435 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
22437 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22438 "\x00\x00\x00\x02\x00\x00\x00\x00",
22439 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
22440 "\x38\x39\x41\x42\x43\x44\x45\x46",
22442 .result = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
22443 "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
22446 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
22447 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
22448 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
22449 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
22450 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
22452 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22453 "\x00\x00\x00\x00\x00\x00\x00\x01",
22454 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
22455 "\x38\x39\x41\x42\x43\x44\x45\x46",
22457 .result = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
22458 "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
22461 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
22462 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
22463 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
22464 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
22465 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
22467 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22468 "\x00\x00\x00\x02\x00\x00\x00\x00",
22469 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
22470 "\x38\x39\x41\x42\x43\x44\x45\x46",
22472 .result = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
22473 "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
22476 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
22477 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
22478 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
22479 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
22480 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
22481 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
22483 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22484 "\x00\x00\x00\x00\x00\x00\x00\x01",
22485 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
22486 "\x38\x39\x41\x42\x43\x44\x45\x46",
22488 .result = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
22489 "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
22492 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
22493 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
22494 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
22495 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
22496 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
22497 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
22499 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22500 "\x00\x00\x00\x02\x00\x00\x00\x00",
22501 .input = "\x30\x31\x32\x33\x34\x35\x36\x37"
22502 "\x38\x39\x41\x42\x43\x44\x45\x46",
22504 .result = "\x04\xab\x28\x37\x31\x7a\x26\xab"
22505 "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
22508 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
22509 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
22510 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
22511 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
22512 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
22513 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
22515 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22516 "\x00\x00\x00\x00\x00\x00\x00\x01",
22517 .input = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
22518 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
22519 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
22520 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
22521 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
22522 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
22523 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
22524 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
22525 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
22526 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
22527 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
22528 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
22529 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
22530 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
22531 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
22532 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
22533 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
22534 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
22535 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
22536 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
22537 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
22538 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
22539 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
22540 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
22541 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
22542 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
22543 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
22544 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
22545 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
22546 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
22547 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
22548 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
22549 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
22550 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
22551 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
22552 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
22553 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
22554 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
22555 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
22556 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
22557 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
22558 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
22559 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
22560 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
22561 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
22562 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
22563 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
22564 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
22565 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
22566 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
22567 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
22568 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
22569 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
22570 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
22571 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
22572 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
22573 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
22574 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
22575 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
22576 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
22577 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
22578 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
22579 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
22580 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
22582 .result = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
22583 "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
22584 "\x67\x76\xac\x2c\xd2\x63\x18\x93"
22585 "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
22586 "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
22587 "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
22588 "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
22589 "\x62\xdd\x78\x81\xea\x1d\xef\x04"
22590 "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
22591 "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
22592 "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
22593 "\x40\x41\x69\xaa\x71\xc0\x37\xec"
22594 "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
22595 "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
22596 "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
22597 "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
22598 "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
22599 "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
22600 "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
22601 "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
22602 "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
22603 "\x42\x08\x40\x82\x06\x1c\x2d\x55"
22604 "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
22605 "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
22606 "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
22607 "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
22608 "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
22609 "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
22610 "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
22611 "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
22612 "\xed\x14\xa9\x57\x19\x63\x40\x04"
22613 "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
22614 "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
22615 "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
22616 "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
22617 "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
22618 "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
22619 "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
22620 "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
22621 "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
22622 "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
22623 "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
22624 "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
22625 "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
22626 "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
22627 "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
22628 "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
22629 "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
22630 "\x35\xa5\x83\x04\x84\x01\x99\x56"
22631 "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
22632 "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
22633 "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
22634 "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
22635 "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
22636 "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
22637 "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
22638 "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
22639 "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
22640 "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
22641 "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
22642 "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
22643 "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
22644 "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
22645 "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
22649 .tap = { 512 - 16, 16 },
22653 static struct cipher_testvec camellia_lrw_dec_tv_template[] = {
22654 /* Generated from AES-LRW test vectors */
22655 /* same as enc vectors with input and result reversed */
22657 .key = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
22658 "\x4c\x26\x84\x14\xb5\x68\x01\x85"
22659 "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
22660 "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
22662 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22663 "\x00\x00\x00\x00\x00\x00\x00\x01",
22664 .input = "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
22665 "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
22667 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
22668 "\x38\x39\x41\x42\x43\x44\x45\x46",
22671 .key = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
22672 "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
22673 "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
22674 "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
22676 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22677 "\x00\x00\x00\x00\x00\x00\x00\x02",
22678 .input = "\x73\x09\xb7\x50\xb6\x77\x30\x50"
22679 "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
22681 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
22682 "\x38\x39\x41\x42\x43\x44\x45\x46",
22685 .key = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
22686 "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
22687 "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
22688 "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
22690 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22691 "\x00\x00\x00\x02\x00\x00\x00\x00",
22692 .input = "\x90\xae\x83\xe0\x22\xb9\x60\x91"
22693 "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
22695 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
22696 "\x38\x39\x41\x42\x43\x44\x45\x46",
22699 .key = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
22700 "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
22701 "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
22702 "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
22703 "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
22705 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22706 "\x00\x00\x00\x00\x00\x00\x00\x01",
22707 .input = "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
22708 "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
22710 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
22711 "\x38\x39\x41\x42\x43\x44\x45\x46",
22714 .key = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
22715 "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
22716 "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
22717 "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
22718 "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
22720 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22721 "\x00\x00\x00\x02\x00\x00\x00\x00",
22722 .input = "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
22723 "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
22725 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
22726 "\x38\x39\x41\x42\x43\x44\x45\x46",
22729 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
22730 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
22731 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
22732 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
22733 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
22734 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
22736 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22737 "\x00\x00\x00\x00\x00\x00\x00\x01",
22738 .input = "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
22739 "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
22741 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
22742 "\x38\x39\x41\x42\x43\x44\x45\x46",
22745 .key = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
22746 "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
22747 "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
22748 "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
22749 "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
22750 "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
22752 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22753 "\x00\x00\x00\x02\x00\x00\x00\x00",
22754 .input = "\x04\xab\x28\x37\x31\x7a\x26\xab"
22755 "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
22757 .result = "\x30\x31\x32\x33\x34\x35\x36\x37"
22758 "\x38\x39\x41\x42\x43\x44\x45\x46",
22761 .key = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
22762 "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
22763 "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
22764 "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
22765 "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
22766 "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
22768 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22769 "\x00\x00\x00\x00\x00\x00\x00\x01",
22770 .input = "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
22771 "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
22772 "\x67\x76\xac\x2c\xd2\x63\x18\x93"
22773 "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
22774 "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
22775 "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
22776 "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
22777 "\x62\xdd\x78\x81\xea\x1d\xef\x04"
22778 "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
22779 "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
22780 "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
22781 "\x40\x41\x69\xaa\x71\xc0\x37\xec"
22782 "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
22783 "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
22784 "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
22785 "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
22786 "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
22787 "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
22788 "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
22789 "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
22790 "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
22791 "\x42\x08\x40\x82\x06\x1c\x2d\x55"
22792 "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
22793 "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
22794 "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
22795 "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
22796 "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
22797 "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
22798 "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
22799 "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
22800 "\xed\x14\xa9\x57\x19\x63\x40\x04"
22801 "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
22802 "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
22803 "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
22804 "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
22805 "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
22806 "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
22807 "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
22808 "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
22809 "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
22810 "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
22811 "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
22812 "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
22813 "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
22814 "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
22815 "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
22816 "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
22817 "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
22818 "\x35\xa5\x83\x04\x84\x01\x99\x56"
22819 "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
22820 "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
22821 "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
22822 "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
22823 "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
22824 "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
22825 "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
22826 "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
22827 "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
22828 "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
22829 "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
22830 "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
22831 "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
22832 "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
22833 "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
22835 .result = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
22836 "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
22837 "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
22838 "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
22839 "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
22840 "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
22841 "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
22842 "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
22843 "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
22844 "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
22845 "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
22846 "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
22847 "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
22848 "\x4c\x96\x12\xed\x7c\x92\x03\x01"
22849 "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
22850 "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
22851 "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
22852 "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
22853 "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
22854 "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
22855 "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
22856 "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
22857 "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
22858 "\x76\x12\x73\x44\x1a\x56\xd7\x72"
22859 "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
22860 "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
22861 "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
22862 "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
22863 "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
22864 "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
22865 "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
22866 "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
22867 "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
22868 "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
22869 "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
22870 "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
22871 "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
22872 "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
22873 "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
22874 "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
22875 "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
22876 "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
22877 "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
22878 "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
22879 "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
22880 "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
22881 "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
22882 "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
22883 "\x62\x73\x65\xfd\x46\x63\x25\x3d"
22884 "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
22885 "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
22886 "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
22887 "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
22888 "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
22889 "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
22890 "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
22891 "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
22892 "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
22893 "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
22894 "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
22895 "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
22896 "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
22897 "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
22898 "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
22902 .tap = { 512 - 16, 16 },
22906 static struct cipher_testvec camellia_xts_enc_tv_template[] = {
22907 /* Generated from AES-XTS test vectors */
22909 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
22910 "\x00\x00\x00\x00\x00\x00\x00\x00"
22911 "\x00\x00\x00\x00\x00\x00\x00\x00"
22912 "\x00\x00\x00\x00\x00\x00\x00\x00",
22914 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22915 "\x00\x00\x00\x00\x00\x00\x00\x00",
22916 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
22917 "\x00\x00\x00\x00\x00\x00\x00\x00"
22918 "\x00\x00\x00\x00\x00\x00\x00\x00"
22919 "\x00\x00\x00\x00\x00\x00\x00\x00",
22921 .result = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
22922 "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
22923 "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
22924 "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
22927 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
22928 "\x11\x11\x11\x11\x11\x11\x11\x11"
22929 "\x22\x22\x22\x22\x22\x22\x22\x22"
22930 "\x22\x22\x22\x22\x22\x22\x22\x22",
22932 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
22933 "\x00\x00\x00\x00\x00\x00\x00\x00",
22934 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
22935 "\x44\x44\x44\x44\x44\x44\x44\x44"
22936 "\x44\x44\x44\x44\x44\x44\x44\x44"
22937 "\x44\x44\x44\x44\x44\x44\x44\x44",
22939 .result = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
22940 "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
22941 "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
22942 "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
22945 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
22946 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
22947 "\x22\x22\x22\x22\x22\x22\x22\x22"
22948 "\x22\x22\x22\x22\x22\x22\x22\x22",
22950 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
22951 "\x00\x00\x00\x00\x00\x00\x00\x00",
22952 .input = "\x44\x44\x44\x44\x44\x44\x44\x44"
22953 "\x44\x44\x44\x44\x44\x44\x44\x44"
22954 "\x44\x44\x44\x44\x44\x44\x44\x44"
22955 "\x44\x44\x44\x44\x44\x44\x44\x44",
22957 .result = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
22958 "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
22959 "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
22960 "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
22963 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
22964 "\x23\x53\x60\x28\x74\x71\x35\x26"
22965 "\x31\x41\x59\x26\x53\x58\x97\x93"
22966 "\x23\x84\x62\x64\x33\x83\x27\x95",
22968 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
22969 "\x00\x00\x00\x00\x00\x00\x00\x00",
22970 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
22971 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22972 "\x10\x11\x12\x13\x14\x15\x16\x17"
22973 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
22974 "\x20\x21\x22\x23\x24\x25\x26\x27"
22975 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
22976 "\x30\x31\x32\x33\x34\x35\x36\x37"
22977 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
22978 "\x40\x41\x42\x43\x44\x45\x46\x47"
22979 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
22980 "\x50\x51\x52\x53\x54\x55\x56\x57"
22981 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
22982 "\x60\x61\x62\x63\x64\x65\x66\x67"
22983 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
22984 "\x70\x71\x72\x73\x74\x75\x76\x77"
22985 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
22986 "\x80\x81\x82\x83\x84\x85\x86\x87"
22987 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
22988 "\x90\x91\x92\x93\x94\x95\x96\x97"
22989 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
22990 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
22991 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
22992 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
22993 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
22994 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22995 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
22996 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
22997 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
22998 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
22999 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
23000 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
23001 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
23002 "\x00\x01\x02\x03\x04\x05\x06\x07"
23003 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23004 "\x10\x11\x12\x13\x14\x15\x16\x17"
23005 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
23006 "\x20\x21\x22\x23\x24\x25\x26\x27"
23007 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
23008 "\x30\x31\x32\x33\x34\x35\x36\x37"
23009 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
23010 "\x40\x41\x42\x43\x44\x45\x46\x47"
23011 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
23012 "\x50\x51\x52\x53\x54\x55\x56\x57"
23013 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
23014 "\x60\x61\x62\x63\x64\x65\x66\x67"
23015 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
23016 "\x70\x71\x72\x73\x74\x75\x76\x77"
23017 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
23018 "\x80\x81\x82\x83\x84\x85\x86\x87"
23019 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
23020 "\x90\x91\x92\x93\x94\x95\x96\x97"
23021 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
23022 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
23023 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
23024 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
23025 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
23026 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23027 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
23028 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
23029 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
23030 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
23031 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
23032 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
23033 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
23035 .result = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
23036 "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
23037 "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
23038 "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
23039 "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
23040 "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
23041 "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
23042 "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
23043 "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
23044 "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
23045 "\x08\xda\x76\x00\x65\xcf\x7b\x31"
23046 "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
23047 "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
23048 "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
23049 "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
23050 "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
23051 "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
23052 "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
23053 "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
23054 "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
23055 "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
23056 "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
23057 "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
23058 "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
23059 "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
23060 "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
23061 "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
23062 "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
23063 "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
23064 "\x16\x31\xb2\x47\x91\x67\xaa\x28"
23065 "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
23066 "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
23067 "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
23068 "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
23069 "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
23070 "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
23071 "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
23072 "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
23073 "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
23074 "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
23075 "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
23076 "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
23077 "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
23078 "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
23079 "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
23080 "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
23081 "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
23082 "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
23083 "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
23084 "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
23085 "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
23086 "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
23087 "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
23088 "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
23089 "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
23090 "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
23091 "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
23092 "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
23093 "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
23094 "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
23095 "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
23096 "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
23097 "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
23098 "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
23101 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
23102 "\x23\x53\x60\x28\x74\x71\x35\x26"
23103 "\x62\x49\x77\x57\x24\x70\x93\x69"
23104 "\x99\x59\x57\x49\x66\x96\x76\x27"
23105 "\x31\x41\x59\x26\x53\x58\x97\x93"
23106 "\x23\x84\x62\x64\x33\x83\x27\x95"
23107 "\x02\x88\x41\x97\x16\x93\x99\x37"
23108 "\x51\x05\x82\x09\x74\x94\x45\x92",
23110 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
23111 "\x00\x00\x00\x00\x00\x00\x00\x00",
23112 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
23113 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23114 "\x10\x11\x12\x13\x14\x15\x16\x17"
23115 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
23116 "\x20\x21\x22\x23\x24\x25\x26\x27"
23117 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
23118 "\x30\x31\x32\x33\x34\x35\x36\x37"
23119 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
23120 "\x40\x41\x42\x43\x44\x45\x46\x47"
23121 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
23122 "\x50\x51\x52\x53\x54\x55\x56\x57"
23123 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
23124 "\x60\x61\x62\x63\x64\x65\x66\x67"
23125 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
23126 "\x70\x71\x72\x73\x74\x75\x76\x77"
23127 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
23128 "\x80\x81\x82\x83\x84\x85\x86\x87"
23129 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
23130 "\x90\x91\x92\x93\x94\x95\x96\x97"
23131 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
23132 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
23133 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
23134 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
23135 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
23136 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23137 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
23138 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
23139 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
23140 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
23141 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
23142 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
23143 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
23144 "\x00\x01\x02\x03\x04\x05\x06\x07"
23145 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23146 "\x10\x11\x12\x13\x14\x15\x16\x17"
23147 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
23148 "\x20\x21\x22\x23\x24\x25\x26\x27"
23149 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
23150 "\x30\x31\x32\x33\x34\x35\x36\x37"
23151 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
23152 "\x40\x41\x42\x43\x44\x45\x46\x47"
23153 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
23154 "\x50\x51\x52\x53\x54\x55\x56\x57"
23155 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
23156 "\x60\x61\x62\x63\x64\x65\x66\x67"
23157 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
23158 "\x70\x71\x72\x73\x74\x75\x76\x77"
23159 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
23160 "\x80\x81\x82\x83\x84\x85\x86\x87"
23161 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
23162 "\x90\x91\x92\x93\x94\x95\x96\x97"
23163 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
23164 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
23165 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
23166 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
23167 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
23168 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23169 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
23170 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
23171 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
23172 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
23173 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
23174 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
23175 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
23177 .result = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
23178 "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
23179 "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
23180 "\xf1\x74\xac\x96\x05\x7b\x32\xca"
23181 "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
23182 "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
23183 "\x97\x07\x82\xf0\x07\x12\x38\x0a"
23184 "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
23185 "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
23186 "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
23187 "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
23188 "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
23189 "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
23190 "\x41\x82\x0c\x45\x39\x35\xa8\x75"
23191 "\x03\x29\x01\x84\x8c\xab\x48\xbe"
23192 "\x11\x56\x22\x67\xb7\x67\x1a\x09"
23193 "\xa1\x72\x25\x41\x3c\x39\x65\x80"
23194 "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
23195 "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
23196 "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
23197 "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
23198 "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
23199 "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
23200 "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
23201 "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
23202 "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
23203 "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
23204 "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
23205 "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
23206 "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
23207 "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
23208 "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
23209 "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
23210 "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
23211 "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
23212 "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
23213 "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
23214 "\xef\x38\x52\x18\x0e\x29\x7e\xef"
23215 "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
23216 "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
23217 "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
23218 "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
23219 "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
23220 "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
23221 "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
23222 "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
23223 "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
23224 "\x21\x17\xf8\x59\x15\x24\x64\x22"
23225 "\x57\x48\x80\xd5\x3d\x92\x30\x07"
23226 "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
23227 "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
23228 "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
23229 "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
23230 "\x6b\x84\xf3\x00\xba\x52\x05\x02"
23231 "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
23232 "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
23233 "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
23234 "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
23235 "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
23236 "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
23237 "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
23238 "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
23239 "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
23240 "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
23244 .tap = { 512 - 16, 16 },
23248 static struct cipher_testvec camellia_xts_dec_tv_template[] = {
23249 /* Generated from AES-XTS test vectors */
23250 /* same as enc vectors with input and result reversed */
23252 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
23253 "\x00\x00\x00\x00\x00\x00\x00\x00"
23254 "\x00\x00\x00\x00\x00\x00\x00\x00"
23255 "\x00\x00\x00\x00\x00\x00\x00\x00",
23257 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
23258 "\x00\x00\x00\x00\x00\x00\x00\x00",
23259 .input = "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
23260 "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
23261 "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
23262 "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
23264 .result = "\x00\x00\x00\x00\x00\x00\x00\x00"
23265 "\x00\x00\x00\x00\x00\x00\x00\x00"
23266 "\x00\x00\x00\x00\x00\x00\x00\x00"
23267 "\x00\x00\x00\x00\x00\x00\x00\x00",
23270 .key = "\x11\x11\x11\x11\x11\x11\x11\x11"
23271 "\x11\x11\x11\x11\x11\x11\x11\x11"
23272 "\x22\x22\x22\x22\x22\x22\x22\x22"
23273 "\x22\x22\x22\x22\x22\x22\x22\x22",
23275 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
23276 "\x00\x00\x00\x00\x00\x00\x00\x00",
23277 .input = "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
23278 "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
23279 "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
23280 "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
23282 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
23283 "\x44\x44\x44\x44\x44\x44\x44\x44"
23284 "\x44\x44\x44\x44\x44\x44\x44\x44"
23285 "\x44\x44\x44\x44\x44\x44\x44\x44",
23288 .key = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
23289 "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
23290 "\x22\x22\x22\x22\x22\x22\x22\x22"
23291 "\x22\x22\x22\x22\x22\x22\x22\x22",
23293 .iv = "\x33\x33\x33\x33\x33\x00\x00\x00"
23294 "\x00\x00\x00\x00\x00\x00\x00\x00",
23295 .input = "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
23296 "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
23297 "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
23298 "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
23300 .result = "\x44\x44\x44\x44\x44\x44\x44\x44"
23301 "\x44\x44\x44\x44\x44\x44\x44\x44"
23302 "\x44\x44\x44\x44\x44\x44\x44\x44"
23303 "\x44\x44\x44\x44\x44\x44\x44\x44",
23306 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
23307 "\x23\x53\x60\x28\x74\x71\x35\x26"
23308 "\x31\x41\x59\x26\x53\x58\x97\x93"
23309 "\x23\x84\x62\x64\x33\x83\x27\x95",
23311 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
23312 "\x00\x00\x00\x00\x00\x00\x00\x00",
23313 .input = "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
23314 "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
23315 "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
23316 "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
23317 "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
23318 "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
23319 "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
23320 "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
23321 "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
23322 "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
23323 "\x08\xda\x76\x00\x65\xcf\x7b\x31"
23324 "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
23325 "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
23326 "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
23327 "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
23328 "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
23329 "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
23330 "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
23331 "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
23332 "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
23333 "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
23334 "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
23335 "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
23336 "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
23337 "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
23338 "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
23339 "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
23340 "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
23341 "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
23342 "\x16\x31\xb2\x47\x91\x67\xaa\x28"
23343 "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
23344 "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
23345 "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
23346 "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
23347 "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
23348 "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
23349 "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
23350 "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
23351 "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
23352 "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
23353 "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
23354 "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
23355 "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
23356 "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
23357 "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
23358 "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
23359 "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
23360 "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
23361 "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
23362 "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
23363 "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
23364 "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
23365 "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
23366 "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
23367 "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
23368 "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
23369 "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
23370 "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
23371 "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
23372 "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
23373 "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
23374 "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
23375 "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
23376 "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
23378 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
23379 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23380 "\x10\x11\x12\x13\x14\x15\x16\x17"
23381 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
23382 "\x20\x21\x22\x23\x24\x25\x26\x27"
23383 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
23384 "\x30\x31\x32\x33\x34\x35\x36\x37"
23385 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
23386 "\x40\x41\x42\x43\x44\x45\x46\x47"
23387 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
23388 "\x50\x51\x52\x53\x54\x55\x56\x57"
23389 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
23390 "\x60\x61\x62\x63\x64\x65\x66\x67"
23391 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
23392 "\x70\x71\x72\x73\x74\x75\x76\x77"
23393 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
23394 "\x80\x81\x82\x83\x84\x85\x86\x87"
23395 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
23396 "\x90\x91\x92\x93\x94\x95\x96\x97"
23397 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
23398 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
23399 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
23400 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
23401 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
23402 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23403 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
23404 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
23405 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
23406 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
23407 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
23408 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
23409 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
23410 "\x00\x01\x02\x03\x04\x05\x06\x07"
23411 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23412 "\x10\x11\x12\x13\x14\x15\x16\x17"
23413 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
23414 "\x20\x21\x22\x23\x24\x25\x26\x27"
23415 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
23416 "\x30\x31\x32\x33\x34\x35\x36\x37"
23417 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
23418 "\x40\x41\x42\x43\x44\x45\x46\x47"
23419 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
23420 "\x50\x51\x52\x53\x54\x55\x56\x57"
23421 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
23422 "\x60\x61\x62\x63\x64\x65\x66\x67"
23423 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
23424 "\x70\x71\x72\x73\x74\x75\x76\x77"
23425 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
23426 "\x80\x81\x82\x83\x84\x85\x86\x87"
23427 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
23428 "\x90\x91\x92\x93\x94\x95\x96\x97"
23429 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
23430 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
23431 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
23432 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
23433 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
23434 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23435 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
23436 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
23437 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
23438 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
23439 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
23440 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
23441 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
23444 .key = "\x27\x18\x28\x18\x28\x45\x90\x45"
23445 "\x23\x53\x60\x28\x74\x71\x35\x26"
23446 "\x62\x49\x77\x57\x24\x70\x93\x69"
23447 "\x99\x59\x57\x49\x66\x96\x76\x27"
23448 "\x31\x41\x59\x26\x53\x58\x97\x93"
23449 "\x23\x84\x62\x64\x33\x83\x27\x95"
23450 "\x02\x88\x41\x97\x16\x93\x99\x37"
23451 "\x51\x05\x82\x09\x74\x94\x45\x92",
23453 .iv = "\xff\x00\x00\x00\x00\x00\x00\x00"
23454 "\x00\x00\x00\x00\x00\x00\x00\x00",
23455 .input = "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
23456 "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
23457 "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
23458 "\xf1\x74\xac\x96\x05\x7b\x32\xca"
23459 "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
23460 "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
23461 "\x97\x07\x82\xf0\x07\x12\x38\x0a"
23462 "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
23463 "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
23464 "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
23465 "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
23466 "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
23467 "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
23468 "\x41\x82\x0c\x45\x39\x35\xa8\x75"
23469 "\x03\x29\x01\x84\x8c\xab\x48\xbe"
23470 "\x11\x56\x22\x67\xb7\x67\x1a\x09"
23471 "\xa1\x72\x25\x41\x3c\x39\x65\x80"
23472 "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
23473 "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
23474 "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
23475 "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
23476 "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
23477 "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
23478 "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
23479 "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
23480 "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
23481 "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
23482 "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
23483 "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
23484 "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
23485 "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
23486 "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
23487 "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
23488 "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
23489 "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
23490 "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
23491 "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
23492 "\xef\x38\x52\x18\x0e\x29\x7e\xef"
23493 "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
23494 "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
23495 "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
23496 "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
23497 "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
23498 "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
23499 "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
23500 "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
23501 "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
23502 "\x21\x17\xf8\x59\x15\x24\x64\x22"
23503 "\x57\x48\x80\xd5\x3d\x92\x30\x07"
23504 "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
23505 "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
23506 "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
23507 "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
23508 "\x6b\x84\xf3\x00\xba\x52\x05\x02"
23509 "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
23510 "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
23511 "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
23512 "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
23513 "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
23514 "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
23515 "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
23516 "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
23517 "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
23518 "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
23520 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
23521 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23522 "\x10\x11\x12\x13\x14\x15\x16\x17"
23523 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
23524 "\x20\x21\x22\x23\x24\x25\x26\x27"
23525 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
23526 "\x30\x31\x32\x33\x34\x35\x36\x37"
23527 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
23528 "\x40\x41\x42\x43\x44\x45\x46\x47"
23529 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
23530 "\x50\x51\x52\x53\x54\x55\x56\x57"
23531 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
23532 "\x60\x61\x62\x63\x64\x65\x66\x67"
23533 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
23534 "\x70\x71\x72\x73\x74\x75\x76\x77"
23535 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
23536 "\x80\x81\x82\x83\x84\x85\x86\x87"
23537 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
23538 "\x90\x91\x92\x93\x94\x95\x96\x97"
23539 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
23540 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
23541 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
23542 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
23543 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
23544 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23545 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
23546 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
23547 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
23548 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
23549 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
23550 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
23551 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
23552 "\x00\x01\x02\x03\x04\x05\x06\x07"
23553 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23554 "\x10\x11\x12\x13\x14\x15\x16\x17"
23555 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
23556 "\x20\x21\x22\x23\x24\x25\x26\x27"
23557 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
23558 "\x30\x31\x32\x33\x34\x35\x36\x37"
23559 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
23560 "\x40\x41\x42\x43\x44\x45\x46\x47"
23561 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
23562 "\x50\x51\x52\x53\x54\x55\x56\x57"
23563 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
23564 "\x60\x61\x62\x63\x64\x65\x66\x67"
23565 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
23566 "\x70\x71\x72\x73\x74\x75\x76\x77"
23567 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
23568 "\x80\x81\x82\x83\x84\x85\x86\x87"
23569 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
23570 "\x90\x91\x92\x93\x94\x95\x96\x97"
23571 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
23572 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
23573 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
23574 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
23575 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
23576 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23577 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
23578 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
23579 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
23580 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
23581 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
23582 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
23583 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
23587 .tap = { 512 - 16, 16 },
23592 * SEED test vectors
23594 #define SEED_ENC_TEST_VECTORS 4
23595 #define SEED_DEC_TEST_VECTORS 4
23597 static struct cipher_testvec seed_enc_tv_template[] = {
23599 .key = zeroed_string,
23601 .input = "\x00\x01\x02\x03\x04\x05\x06\x07"
23602 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
23604 .result = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
23605 "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
23608 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
23609 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
23611 .input = zeroed_string,
23613 .result = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
23614 "\x84\x48\x35\x97\xe4\x37\x0f\x43",
23617 .key = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
23618 "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
23620 .input = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
23621 "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
23623 .result = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
23624 "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
23627 .key = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
23628 "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
23630 .input = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
23631 "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
23633 .result = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
23634 "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
23639 static struct cipher_testvec seed_dec_tv_template[] = {
23641 .key = zeroed_string,
23643 .input = "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
23644 "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
23646 .result = "\x00\x01\x02\x03\x04\x05\x06\x07"
23647 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
23650 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
23651 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
23653 .input = "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
23654 "\x84\x48\x35\x97\xe4\x37\x0f\x43",
23656 .result = zeroed_string,
23659 .key = "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
23660 "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
23662 .input = "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
23663 "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
23665 .result = "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
23666 "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
23669 .key = "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
23670 "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
23672 .input = "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
23673 "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
23675 .result = "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
23676 "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
23681 #define SALSA20_STREAM_ENC_TEST_VECTORS 5
23682 static struct cipher_testvec salsa20_stream_enc_tv_template[] = {
23684 * Testvectors from verified.test-vectors submitted to ECRYPT.
23685 * They are truncated to size 39, 64, 111, 129 to test a variety
23688 { /* Set 3, vector 0 */
23689 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
23690 "\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
23692 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
23693 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
23694 "\x00\x00\x00\x00\x00\x00\x00\x00"
23695 "\x00\x00\x00\x00\x00\x00\x00\x00"
23696 "\x00\x00\x00\x00\x00\x00\x00\x00"
23697 "\x00\x00\x00\x00\x00\x00\x00",
23699 .result = "\x2D\xD5\xC3\xF7\xBA\x2B\x20\xF7"
23700 "\x68\x02\x41\x0C\x68\x86\x88\x89"
23701 "\x5A\xD8\xC1\xBD\x4E\xA6\xC9\xB1"
23702 "\x40\xFB\x9B\x90\xE2\x10\x49\xBF"
23703 "\x58\x3F\x52\x79\x70\xEB\xC1",
23705 }, { /* Set 5, vector 0 */
23706 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
23707 "\x00\x00\x00\x00\x00\x00\x00\x00",
23709 .iv = "\x80\x00\x00\x00\x00\x00\x00\x00",
23710 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
23711 "\x00\x00\x00\x00\x00\x00\x00\x00"
23712 "\x00\x00\x00\x00\x00\x00\x00\x00"
23713 "\x00\x00\x00\x00\x00\x00\x00\x00"
23714 "\x00\x00\x00\x00\x00\x00\x00\x00"
23715 "\x00\x00\x00\x00\x00\x00\x00\x00"
23716 "\x00\x00\x00\x00\x00\x00\x00\x00"
23717 "\x00\x00\x00\x00\x00\x00\x00\x00",
23719 .result = "\xB6\x6C\x1E\x44\x46\xDD\x95\x57"
23720 "\xE5\x78\xE2\x23\xB0\xB7\x68\x01"
23721 "\x7B\x23\xB2\x67\xBB\x02\x34\xAE"
23722 "\x46\x26\xBF\x44\x3F\x21\x97\x76"
23723 "\x43\x6F\xB1\x9F\xD0\xE8\x86\x6F"
23724 "\xCD\x0D\xE9\xA9\x53\x8F\x4A\x09"
23725 "\xCA\x9A\xC0\x73\x2E\x30\xBC\xF9"
23726 "\x8E\x4F\x13\xE4\xB9\xE2\x01\xD9",
23728 }, { /* Set 3, vector 27 */
23729 .key = "\x1B\x1C\x1D\x1E\x1F\x20\x21\x22"
23730 "\x23\x24\x25\x26\x27\x28\x29\x2A"
23731 "\x2B\x2C\x2D\x2E\x2F\x30\x31\x32"
23732 "\x33\x34\x35\x36\x37\x38\x39\x3A",
23734 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
23735 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
23736 "\x00\x00\x00\x00\x00\x00\x00\x00"
23737 "\x00\x00\x00\x00\x00\x00\x00\x00"
23738 "\x00\x00\x00\x00\x00\x00\x00\x00"
23739 "\x00\x00\x00\x00\x00\x00\x00\x00"
23740 "\x00\x00\x00\x00\x00\x00\x00\x00"
23741 "\x00\x00\x00\x00\x00\x00\x00\x00"
23742 "\x00\x00\x00\x00\x00\x00\x00\x00"
23743 "\x00\x00\x00\x00\x00\x00\x00\x00"
23744 "\x00\x00\x00\x00\x00\x00\x00\x00"
23745 "\x00\x00\x00\x00\x00\x00\x00\x00"
23746 "\x00\x00\x00\x00\x00\x00\x00\x00"
23747 "\x00\x00\x00\x00\x00\x00\x00\x00"
23748 "\x00\x00\x00\x00\x00\x00\x00",
23750 .result = "\xAE\x39\x50\x8E\xAC\x9A\xEC\xE7"
23751 "\xBF\x97\xBB\x20\xB9\xDE\xE4\x1F"
23752 "\x87\xD9\x47\xF8\x28\x91\x35\x98"
23753 "\xDB\x72\xCC\x23\x29\x48\x56\x5E"
23754 "\x83\x7E\x0B\xF3\x7D\x5D\x38\x7B"
23755 "\x2D\x71\x02\xB4\x3B\xB5\xD8\x23"
23756 "\xB0\x4A\xDF\x3C\xEC\xB6\xD9\x3B"
23757 "\x9B\xA7\x52\xBE\xC5\xD4\x50\x59"
23758 "\x15\x14\xB4\x0E\x40\xE6\x53\xD1"
23759 "\x83\x9C\x5B\xA0\x92\x29\x6B\x5E"
23760 "\x96\x5B\x1E\x2F\xD3\xAC\xC1\x92"
23761 "\xB1\x41\x3F\x19\x2F\xC4\x3B\xC6"
23762 "\x95\x46\x45\x54\xE9\x75\x03\x08"
23763 "\x44\xAF\xE5\x8A\x81\x12\x09",
23765 }, { /* Set 5, vector 27 */
23766 .key = "\x00\x00\x00\x00\x00\x00\x00\x00"
23767 "\x00\x00\x00\x00\x00\x00\x00\x00"
23768 "\x00\x00\x00\x00\x00\x00\x00\x00"
23769 "\x00\x00\x00\x00\x00\x00\x00\x00",
23771 .iv = "\x00\x00\x00\x10\x00\x00\x00\x00",
23772 .input = "\x00\x00\x00\x00\x00\x00\x00\x00"
23773 "\x00\x00\x00\x00\x00\x00\x00\x00"
23774 "\x00\x00\x00\x00\x00\x00\x00\x00"
23775 "\x00\x00\x00\x00\x00\x00\x00\x00"
23776 "\x00\x00\x00\x00\x00\x00\x00\x00"
23777 "\x00\x00\x00\x00\x00\x00\x00\x00"
23778 "\x00\x00\x00\x00\x00\x00\x00\x00"
23779 "\x00\x00\x00\x00\x00\x00\x00\x00"
23780 "\x00\x00\x00\x00\x00\x00\x00\x00"
23781 "\x00\x00\x00\x00\x00\x00\x00\x00"
23782 "\x00\x00\x00\x00\x00\x00\x00\x00"
23783 "\x00\x00\x00\x00\x00\x00\x00\x00"
23784 "\x00\x00\x00\x00\x00\x00\x00\x00"
23785 "\x00\x00\x00\x00\x00\x00\x00\x00"
23786 "\x00\x00\x00\x00\x00\x00\x00\x00"
23787 "\x00\x00\x00\x00\x00\x00\x00\x00"
23790 .result = "\xD2\xDB\x1A\x5C\xF1\xC1\xAC\xDB"
23791 "\xE8\x1A\x7A\x43\x40\xEF\x53\x43"
23792 "\x5E\x7F\x4B\x1A\x50\x52\x3F\x8D"
23793 "\x28\x3D\xCF\x85\x1D\x69\x6E\x60"
23794 "\xF2\xDE\x74\x56\x18\x1B\x84\x10"
23795 "\xD4\x62\xBA\x60\x50\xF0\x61\xF2"
23796 "\x1C\x78\x7F\xC1\x24\x34\xAF\x58"
23797 "\xBF\x2C\x59\xCA\x90\x77\xF3\xB0"
23798 "\x5B\x4A\xDF\x89\xCE\x2C\x2F\xFC"
23799 "\x67\xF0\xE3\x45\xE8\xB3\xB3\x75"
23800 "\xA0\x95\x71\xA1\x29\x39\x94\xCA"
23801 "\x45\x2F\xBD\xCB\x10\xB6\xBE\x9F"
23802 "\x8E\xF9\xB2\x01\x0A\x5A\x0A\xB7"
23803 "\x6B\x9D\x70\x8E\x4B\xD6\x2F\xCD"
23804 "\x2E\x40\x48\x75\xE9\xE2\x21\x45"
23805 "\x0B\xC9\xB6\xB5\x66\xBC\x9A\x59"
23808 }, { /* large test vector generated using Crypto++ */
23809 .key = "\x00\x01\x02\x03\x04\x05\x06\x07"
23810 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23811 "\x10\x11\x12\x13\x14\x15\x16\x17"
23812 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
23814 .iv = "\x00\x00\x00\x00\x00\x00\x00\x00"
23815 "\x00\x00\x00\x00\x00\x00\x00\x00",
23817 "\x00\x01\x02\x03\x04\x05\x06\x07"
23818 "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23819 "\x10\x11\x12\x13\x14\x15\x16\x17"
23820 "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
23821 "\x20\x21\x22\x23\x24\x25\x26\x27"
23822 "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
23823 "\x30\x31\x32\x33\x34\x35\x36\x37"
23824 "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
23825 "\x40\x41\x42\x43\x44\x45\x46\x47"
23826 "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
23827 "\x50\x51\x52\x53\x54\x55\x56\x57"
23828 "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
23829 "\x60\x61\x62\x63\x64\x65\x66\x67"
23830 "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
23831 "\x70\x71\x72\x73\x74\x75\x76\x77"
23832 "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
23833 "\x80\x81\x82\x83\x84\x85\x86\x87"
23834 "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
23835 "\x90\x91\x92\x93\x94\x95\x96\x97"
23836 "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
23837 "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
23838 "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
23839 "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
23840 "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
23841 "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
23842 "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
23843 "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
23844 "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
23845 "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
23846 "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
23847 "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
23848 "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
23849 "\x00\x03\x06\x09\x0c\x0f\x12\x15"
23850 "\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
23851 "\x30\x33\x36\x39\x3c\x3f\x42\x45"
23852 "\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
23853 "\x60\x63\x66\x69\x6c\x6f\x72\x75"
23854 "\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
23855 "\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
23856 "\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
23857 "\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
23858 "\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
23859 "\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
23860 "\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
23861 "\x20\x23\x26\x29\x2c\x2f\x32\x35"
23862 "\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
23863 "\x50\x53\x56\x59\x5c\x5f\x62\x65"
23864 "\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
23865 "\x80\x83\x86\x89\x8c\x8f\x92\x95"
23866 "\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
23867 "\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
23868 "\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
23869 "\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
23870 "\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
23871 "\x10\x13\x16\x19\x1c\x1f\x22\x25"
23872 "\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
23873 "\x40\x43\x46\x49\x4c\x4f\x52\x55"
23874 "\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
23875 "\x70\x73\x76\x79\x7c\x7f\x82\x85"
23876 "\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
23877 "\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
23878 "\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
23879 "\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
23880 "\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
23881 "\x00\x05\x0a\x0f\x14\x19\x1e\x23"
23882 "\x28\x2d\x32\x37\x3c\x41\x46\x4b"
23883 "\x50\x55\x5a\x5f\x64\x69\x6e\x73"
23884 "\x78\x7d\x82\x87\x8c\x91\x96\x9b"
23885 "\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
23886 "\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
23887 "\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
23888 "\x18\x1d\x22\x27\x2c\x31\x36\x3b"
23889 "\x40\x45\x4a\x4f\x54\x59\x5e\x63"
23890 "\x68\x6d\x72\x77\x7c\x81\x86\x8b"
23891 "\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
23892 "\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
23893 "\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
23894 "\x08\x0d\x12\x17\x1c\x21\x26\x2b"
23895 "\x30\x35\x3a\x3f\x44\x49\x4e\x53"
23896 "\x58\x5d\x62\x67\x6c\x71\x76\x7b"
23897 "\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
23898 "\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
23899 "\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
23900 "\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
23901 "\x20\x25\x2a\x2f\x34\x39\x3e\x43"
23902 "\x48\x4d\x52\x57\x5c\x61\x66\x6b"
23903 "\x70\x75\x7a\x7f\x84\x89\x8e\x93"
23904 "\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
23905 "\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
23906 "\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
23907 "\x10\x15\x1a\x1f\x24\x29\x2e\x33"
23908 "\x38\x3d\x42\x47\x4c\x51\x56\x5b"
23909 "\x60\x65\x6a\x6f\x74\x79\x7e\x83"
23910 "\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
23911 "\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
23912 "\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
23913 "\x00\x07\x0e\x15\x1c\x23\x2a\x31"
23914 "\x38\x3f\x46\x4d\x54\x5b\x62\x69"
23915 "\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
23916 "\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
23917 "\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
23918 "\x18\x1f\x26\x2d\x34\x3b\x42\x49"
23919 "\x50\x57\x5e\x65\x6c\x73\x7a\x81"
23920 "\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
23921 "\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
23922 "\xf8\xff\x06\x0d\x14\x1b\x22\x29"
23923 "\x30\x37\x3e\x45\x4c\x53\x5a\x61"
23924 "\x68\x6f\x76\x7d\x84\x8b\x92\x99"
23925 "\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
23926 "\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
23927 "\x10\x17\x1e\x25\x2c\x33\x3a\x41"
23928 "\x48\x4f\x56\x5d\x64\x6b\x72\x79"
23929 "\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
23930 "\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
23931 "\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
23932 "\x28\x2f\x36\x3d\x44\x4b\x52\x59"
23933 "\x60\x67\x6e\x75\x7c\x83\x8a\x91"
23934 "\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
23935 "\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
23936 "\x08\x0f\x16\x1d\x24\x2b\x32\x39"
23937 "\x40\x47\x4e\x55\x5c\x63\x6a\x71"
23938 "\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
23939 "\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
23940 "\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
23941 "\x20\x27\x2e\x35\x3c\x43\x4a\x51"
23942 "\x58\x5f\x66\x6d\x74\x7b\x82\x89"
23943 "\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
23944 "\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
23945 "\x00\x09\x12\x1b\x24\x2d\x36\x3f"
23946 "\x48\x51\x5a\x63\x6c\x75\x7e\x87"
23947 "\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
23948 "\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
23949 "\x20\x29\x32\x3b\x44\x4d\x56\x5f"
23950 "\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
23951 "\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
23952 "\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
23953 "\x40\x49\x52\x5b\x64\x6d\x76\x7f"
23954 "\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
23955 "\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
23956 "\x18\x21\x2a\x33\x3c\x45\x4e\x57"
23957 "\x60\x69\x72\x7b\x84\x8d\x96\x9f"
23958 "\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
23959 "\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
23960 "\x38\x41\x4a\x53\x5c\x65\x6e\x77"
23961 "\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
23962 "\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
23963 "\x10\x19\x22\x2b\x34\x3d\x46\x4f"
23964 "\x58\x61\x6a\x73\x7c\x85\x8e\x97"
23965 "\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
23966 "\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
23967 "\x30\x39\x42\x4b\x54\x5d\x66\x6f"
23968 "\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
23969 "\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
23970 "\x08\x11\x1a\x23\x2c\x35\x3e\x47"
23971 "\x50\x59\x62\x6b\x74\x7d\x86\x8f"
23972 "\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
23973 "\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
23974 "\x28\x31\x3a\x43\x4c\x55\x5e\x67"
23975 "\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
23976 "\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
23977 "\x00\x0b\x16\x21\x2c\x37\x42\x4d"
23978 "\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
23979 "\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
23980 "\x08\x13\x1e\x29\x34\x3f\x4a\x55"
23981 "\x60\x6b\x76\x81\x8c\x97\xa2\xad"
23982 "\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
23983 "\x10\x1b\x26\x31\x3c\x47\x52\x5d"
23984 "\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
23985 "\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
23986 "\x18\x23\x2e\x39\x44\x4f\x5a\x65"
23987 "\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
23988 "\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
23989 "\x20\x2b\x36\x41\x4c\x57\x62\x6d"
23990 "\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
23991 "\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
23992 "\x28\x33\x3e\x49\x54\x5f\x6a\x75"
23993 "\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
23994 "\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
23995 "\x30\x3b\x46\x51\x5c\x67\x72\x7d"
23996 "\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
23997 "\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
23998 "\x38\x43\x4e\x59\x64\x6f\x7a\x85"
23999 "\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
24000 "\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
24001 "\x40\x4b\x56\x61\x6c\x77\x82\x8d"
24002 "\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
24003 "\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
24004 "\x48\x53\x5e\x69\x74\x7f\x8a\x95"
24005 "\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
24006 "\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
24007 "\x50\x5b\x66\x71\x7c\x87\x92\x9d"
24008 "\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
24009 "\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
24010 "\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
24011 "\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
24012 "\x38\x45\x52\x5f\x6c\x79\x86\x93"
24013 "\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
24014 "\x08\x15\x22\x2f\x3c\x49\x56\x63"
24015 "\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
24016 "\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
24017 "\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
24018 "\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
24019 "\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
24020 "\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
24021 "\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
24022 "\x48\x55\x62\x6f\x7c\x89\x96\xa3"
24023 "\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
24024 "\x18\x25\x32\x3f\x4c\x59\x66\x73"
24025 "\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
24026 "\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
24027 "\x50\x5d\x6a\x77\x84\x91\x9e\xab"
24028 "\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
24029 "\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
24030 "\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
24031 "\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
24032 "\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
24033 "\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
24034 "\x28\x35\x42\x4f\x5c\x69\x76\x83"
24035 "\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
24036 "\xf8\x05\x12\x1f\x2c\x39\x46\x53"
24037 "\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
24038 "\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
24039 "\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
24040 "\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
24041 "\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
24042 "\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
24043 "\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
24044 "\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
24045 "\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
24046 "\x58\x67\x76\x85\x94\xa3\xb2\xc1"
24047 "\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
24048 "\x48\x57\x66\x75\x84\x93\xa2\xb1"
24049 "\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
24050 "\x38\x47\x56\x65\x74\x83\x92\xa1"
24051 "\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
24052 "\x28\x37\x46\x55\x64\x73\x82\x91"
24053 "\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
24054 "\x18\x27\x36\x45\x54\x63\x72\x81"
24055 "\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
24056 "\x08\x17\x26\x35\x44\x53\x62\x71"
24057 "\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
24058 "\xf8\x07\x16\x25\x34\x43\x52\x61"
24059 "\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
24060 "\xe8\xf7\x06\x15\x24\x33\x42\x51"
24061 "\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
24062 "\xd8\xe7\xf6\x05\x14\x23\x32\x41"
24063 "\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
24064 "\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
24065 "\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
24066 "\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
24067 "\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
24068 "\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
24069 "\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
24070 "\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
24071 "\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
24072 "\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
24073 "\x00\x11\x22\x33\x44\x55\x66\x77"
24074 "\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
24075 "\x10\x21\x32\x43\x54\x65\x76\x87"
24076 "\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
24077 "\x20\x31\x42\x53\x64\x75\x86\x97"
24078 "\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
24079 "\x30\x41\x52\x63\x74\x85\x96\xa7"
24080 "\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
24081 "\x40\x51\x62\x73\x84\x95\xa6\xb7"
24082 "\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
24083 "\x50\x61\x72\x83\x94\xa5\xb6\xc7"
24084 "\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
24085 "\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
24086 "\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
24087 "\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
24088 "\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
24089 "\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
24090 "\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
24091 "\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
24092 "\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
24093 "\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
24094 "\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
24095 "\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
24096 "\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
24097 "\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
24098 "\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
24099 "\xd0\xe1\xf2\x03\x14\x25\x36\x47"
24100 "\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
24101 "\xe0\xf1\x02\x13\x24\x35\x46\x57"
24102 "\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
24103 "\xf0\x01\x12\x23\x34\x45\x56\x67"
24104 "\x78\x89\x9a\xab\xbc\xcd\xde\xef"
24105 "\x00\x13\x26\x39\x4c\x5f\x72\x85"
24106 "\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
24107 "\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
24108 "\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
24109 "\x60\x73\x86\x99\xac\xbf\xd2\xe5"
24110 "\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
24111 "\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
24112 "\x28\x3b\x4e\x61\x74\x87\x9a\xad"
24113 "\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
24114 "\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
24115 "\xf0\x03\x16\x29\x3c\x4f\x62\x75"
24116 "\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
24117 "\x20\x33\x46\x59\x6c\x7f\x92\xa5"
24118 "\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
24119 "\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
24120 "\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
24121 "\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
24122 "\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
24123 "\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
24124 "\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
24125 "\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
24126 "\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
24127 "\x10\x23\x36\x49\x5c\x6f\x82\x95"
24128 "\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
24129 "\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
24130 "\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
24131 "\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
24132 "\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
24133 "\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
24134 "\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
24135 "\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
24136 "\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
24137 "\x00\x15\x2a\x3f\x54\x69\x7e\x93"
24138 "\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
24139 "\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
24140 "\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
24141 "\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
24142 "\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
24143 "\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
24144 "\x98\xad\xc2\xd7\xec\x01\x16\x2b"
24145 "\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
24146 "\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
24147 "\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
24148 "\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
24149 "\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
24150 "\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
24151 "\x30\x45\x5a\x6f\x84\x99\xae\xc3"
24152 "\xd8\xed\x02\x17\x2c\x41\x56\x6b"
24153 "\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
24154 "\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
24155 "\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
24156 "\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
24157 "\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
24158 "\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
24159 "\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
24160 "\x18\x2d\x42\x57\x6c\x81\x96\xab"
24161 "\xc0\xd5\xea\xff\x14\x29\x3e\x53"
24162 "\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
24163 "\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
24164 "\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
24165 "\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
24166 "\x08\x1d\x32\x47\x5c\x71\x86\x9b"
24167 "\xb0\xc5\xda\xef\x04\x19\x2e\x43"
24168 "\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
24169 "\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
24170 "\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
24171 "\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
24172 "\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
24173 "\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
24174 "\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
24175 "\x50\x67\x7e\x95\xac\xc3\xda\xf1"
24176 "\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
24177 "\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
24178 "\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
24179 "\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
24180 "\xe8\xff\x16\x2d\x44\x5b\x72\x89"
24181 "\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
24182 "\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
24183 "\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
24184 "\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
24185 "\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
24186 "\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
24187 "\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
24188 "\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
24189 "\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
24190 "\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
24191 "\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
24192 "\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
24193 "\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
24194 "\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
24195 "\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
24196 "\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
24197 "\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
24198 "\xd8\xef\x06\x1d\x34\x4b\x62\x79"
24199 "\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
24200 "\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
24201 "\x00\x19\x32\x4b\x64\x7d\x96\xaf"
24202 "\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
24203 "\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
24204 "\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
24205 "\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
24206 "\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
24207 "\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
24208 "\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
24209 "\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
24210 "\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
24211 "\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
24212 "\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
24213 "\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
24214 "\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
24215 "\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
24216 "\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
24217 "\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
24218 "\x48\x61\x7a\x93\xac\xc5\xde\xf7"
24219 "\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
24220 "\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
24221 "\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
24222 "\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
24223 "\x30\x49\x62\x7b\x94\xad\xc6\xdf"
24224 "\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
24225 "\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
24226 "\x88\xa1\xba\xd3\xec\x05\x1e\x37"
24227 "\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
24228 "\x18\x31\x4a\x63\x7c\x95\xae\xc7"
24229 "\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
24230 "\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
24231 "\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
24232 "\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
24233 "\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
24234 "\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
24235 "\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
24236 "\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
24237 "\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
24238 "\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
24239 "\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
24240 "\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
24241 "\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
24242 "\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
24243 "\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
24244 "\x48\x63\x7e\x99\xb4\xcf\xea\x05"
24245 "\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
24246 "\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
24247 "\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
24248 "\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
24249 "\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
24250 "\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
24251 "\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
24252 "\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
24253 "\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
24254 "\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
24255 "\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
24256 "\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
24257 "\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
24258 "\x18\x33\x4e\x69\x84\x9f\xba\xd5"
24259 "\xf0\x0b\x26\x41\x5c\x77\x92\xad"
24260 "\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
24261 "\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
24262 "\x78\x93\xae\xc9\xe4\xff\x1a\x35"
24263 "\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
24264 "\x28\x43\x5e\x79\x94\xaf\xca\xe5"
24265 "\x00\x1d\x3a\x57\x74\x91\xae\xcb"
24266 "\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
24267 "\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
24268 "\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
24269 "\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
24270 "\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
24271 "\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
24272 "\x58\x75\x92\xaf\xcc\xe9\x06\x23"
24273 "\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
24274 "\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
24275 "\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
24276 "\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
24277 "\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
24278 "\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
24279 "\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
24280 "\x98\xb5\xd2\xef\x0c\x29\x46\x63"
24281 "\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
24282 "\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
24283 "\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
24284 "\x38\x55\x72\x8f\xac\xc9\xe6\x03"
24285 "\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
24286 "\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
24287 "\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
24288 "\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
24289 "\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
24290 "\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
24291 "\x90\xad\xca\xe7\x04\x21\x3e\x5b"
24292 "\x78\x95\xb2\xcf\xec\x09\x26\x43"
24293 "\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
24294 "\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
24295 "\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
24296 "\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
24297 "\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
24298 "\xf8\x17\x36\x55\x74\x93\xb2\xd1"
24299 "\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
24300 "\xe8\x07\x26\x45\x64\x83\xa2\xc1"
24301 "\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
24302 "\xd8\xf7\x16\x35\x54\x73\x92\xb1"
24303 "\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
24304 "\xc8\xe7\x06\x25\x44\x63\x82\xa1"
24305 "\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
24306 "\xb8\xd7\xf6\x15\x34\x53\x72\x91"
24307 "\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
24308 "\xa8\xc7\xe6\x05\x24\x43\x62\x81"
24309 "\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
24310 "\x98\xb7\xd6\xf5\x14\x33\x52\x71"
24311 "\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
24312 "\x88\xa7\xc6\xe5\x04\x23\x42\x61"
24313 "\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
24314 "\x78\x97\xb6\xd5\xf4\x13\x32\x51"
24315 "\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
24316 "\x68\x87\xa6\xc5\xe4\x03\x22\x41"
24317 "\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
24318 "\x58\x77\x96\xb5\xd4\xf3\x12\x31"
24319 "\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
24320 "\x48\x67\x86\xa5\xc4\xe3\x02\x21"
24321 "\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
24322 "\x38\x57\x76\x95\xb4\xd3\xf2\x11"
24323 "\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
24324 "\x28\x47\x66\x85\xa4\xc3\xe2\x01"
24325 "\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
24326 "\x18\x37\x56\x75\x94\xb3\xd2\xf1"
24327 "\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
24328 "\x08\x27\x46\x65\x84\xa3\xc2\xe1"
24329 "\x00\x21\x42\x63",
24332 "\xb5\x81\xf5\x64\x18\x73\xe3\xf0"
24333 "\x4c\x13\xf2\x77\x18\x60\x65\x5e"
24334 "\x29\x01\xce\x98\x55\x53\xf9\x0c"
24335 "\x2a\x08\xd5\x09\xb3\x57\x55\x56"
24336 "\xc5\xe9\x56\x90\xcb\x6a\xa3\xc0"
24337 "\xff\xc4\x79\xb4\xd2\x97\x5d\xc4"
24338 "\x43\xd1\xfe\x94\x7b\x88\x06\x5a"
24339 "\xb2\x9e\x2c\xfc\x44\x03\xb7\x90"
24340 "\xa0\xc1\xba\x6a\x33\xb8\xc7\xb2"
24341 "\x9d\xe1\x12\x4f\xc0\x64\xd4\x01"
24342 "\xfe\x8c\x7a\x66\xf7\xe6\x5a\x91"
24343 "\xbb\xde\x56\x86\xab\x65\x21\x30"
24344 "\x00\x84\x65\x24\xa5\x7d\x85\xb4"
24345 "\xe3\x17\xed\x3a\xb7\x6f\xb4\x0b"
24346 "\x0b\xaf\x15\xae\x5a\x8f\xf2\x0c"
24347 "\x2f\x27\xf4\x09\xd8\xd2\x96\xb7"
24348 "\x71\xf2\xc5\x99\x4d\x7e\x7f\x75"
24349 "\x77\x89\x30\x8b\x59\xdb\xa2\xb2"
24350 "\xa0\xf3\x19\x39\x2b\xc5\x7e\x3f"
24351 "\x4f\xd9\xd3\x56\x28\x97\x44\xdc"
24352 "\xc0\x8b\x77\x24\xd9\x52\xe7\xc5"
24353 "\xaf\xf6\x7d\x59\xb2\x44\x05\x1d"
24354 "\xb1\xb0\x11\xa5\x0f\xec\x33\xe1"
24355 "\x6d\x1b\x4e\x1f\xff\x57\x91\xb4"
24356 "\x5b\x9a\x96\xc5\x53\xbc\xae\x20"
24357 "\x3c\xbb\x14\xe2\xe8\x22\x33\xc1"
24358 "\x5e\x76\x9e\x46\x99\xf6\x2a\x15"
24359 "\xc6\x97\x02\xa0\x66\x43\xd1\xa6"
24360 "\x31\xa6\x9f\xfb\xf4\xd3\x69\xe5"
24361 "\xcd\x76\x95\xb8\x7a\x82\x7f\x21"
24362 "\x45\xff\x3f\xce\x55\xf6\x95\x10"
24363 "\x08\x77\x10\x43\xc6\xf3\x09\xe5"
24364 "\x68\xe7\x3c\xad\x00\x52\x45\x0d"
24365 "\xfe\x2d\xc6\xc2\x94\x8c\x12\x1d"
24366 "\xe6\x25\xae\x98\x12\x8e\x19\x9c"
24367 "\x81\x68\xb1\x11\xf6\x69\xda\xe3"
24368 "\x62\x08\x18\x7a\x25\x49\x28\xac"
24369 "\xba\x71\x12\x0b\xe4\xa2\xe5\xc7"
24370 "\x5d\x8e\xec\x49\x40\x21\xbf\x5a"
24371 "\x98\xf3\x02\x68\x55\x03\x7f\x8a"
24372 "\xe5\x94\x0c\x32\x5c\x07\x82\x63"
24373 "\xaf\x6f\x91\x40\x84\x8e\x52\x25"
24374 "\xd0\xb0\x29\x53\x05\xe2\x50\x7a"
24375 "\x34\xeb\xc9\x46\x20\xa8\x3d\xde"
24376 "\x7f\x16\x5f\x36\xc5\x2e\xdc\xd1"
24377 "\x15\x47\xc7\x50\x40\x6d\x91\xc5"
24378 "\xe7\x93\x95\x1a\xd3\x57\xbc\x52"
24379 "\x33\xee\x14\x19\x22\x52\x89\xa7"
24380 "\x4a\x25\x56\x77\x4b\xca\xcf\x0a"
24381 "\xe1\xf5\x35\x85\x30\x7e\x59\x4a"
24382 "\xbd\x14\x5b\xdf\xe3\x46\xcb\xac"
24383 "\x1f\x6c\x96\x0e\xf4\x81\xd1\x99"
24384 "\xca\x88\x63\x3d\x02\x58\x6b\xa9"
24385 "\xe5\x9f\xb3\x00\xb2\x54\xc6\x74"
24386 "\x1c\xbf\x46\xab\x97\xcc\xf8\x54"
24387 "\x04\x07\x08\x52\xe6\xc0\xda\x93"
24388 "\x74\x7d\x93\x99\x5d\x78\x68\xa6"
24389 "\x2e\x6b\xd3\x6a\x69\xcc\x12\x6b"
24390 "\xd4\xc7\xa5\xc6\xe7\xf6\x03\x04"
24391 "\x5d\xcd\x61\x5e\x17\x40\xdc\xd1"
24392 "\x5c\xf5\x08\xdf\x5c\x90\x85\xa4"
24393 "\xaf\xf6\x78\xbb\x0d\xf1\xf4\xa4"
24394 "\x54\x26\x72\x9e\x61\xfa\x86\xcf"
24395 "\xe8\x9e\xa1\xe0\xc7\x48\x23\xae"
24396 "\x5a\x90\xae\x75\x0a\x74\x18\x89"
24397 "\x05\xb1\x92\xb2\x7f\xd0\x1b\xa6"
24398 "\x62\x07\x25\x01\xc7\xc2\x4f\xf9"
24399 "\xe8\xfe\x63\x95\x80\x07\xb4\x26"
24400 "\xcc\xd1\x26\xb6\xc4\x3f\x9e\xcb"
24401 "\x8e\x3b\x2e\x44\x16\xd3\x10\x9a"
24402 "\x95\x08\xeb\xc8\xcb\xeb\xbf\x6f"
24403 "\x0b\xcd\x1f\xc8\xca\x86\xaa\xec"
24404 "\x33\xe6\x69\xf4\x45\x25\x86\x3a"
24405 "\x22\x94\x4f\x00\x23\x6a\x44\xc2"
24406 "\x49\x97\x33\xab\x36\x14\x0a\x70"
24407 "\x24\xc3\xbe\x04\x3b\x79\xa0\xf9"
24408 "\xb8\xe7\x76\x29\x22\x83\xd7\xf2"
24409 "\x94\xf4\x41\x49\xba\x5f\x7b\x07"
24410 "\xb5\xfb\xdb\x03\x1a\x9f\xb6\x4c"
24411 "\xc2\x2e\x37\x40\x49\xc3\x38\x16"
24412 "\xe2\x4f\x77\x82\xb0\x68\x4c\x71"
24413 "\x1d\x57\x61\x9c\xd9\x4e\x54\x99"
24414 "\x47\x13\x28\x73\x3c\xbb\x00\x90"
24415 "\xf3\x4d\xc9\x0e\xfd\xe7\xb1\x71"
24416 "\xd3\x15\x79\xbf\xcc\x26\x2f\xbd"
24417 "\xad\x6c\x50\x69\x6c\x3e\x6d\x80"
24418 "\x9a\xea\x78\xaf\x19\xb2\x0d\x4d"
24419 "\xad\x04\x07\xae\x22\x90\x4a\x93"
24420 "\x32\x0e\x36\x9b\x1b\x46\xba\x3b"
24421 "\xb4\xac\xc6\xd1\xa2\x31\x53\x3b"
24422 "\x2a\x3d\x45\xfe\x03\x61\x10\x85"
24423 "\x17\x69\xa6\x78\xcc\x6c\x87\x49"
24424 "\x53\xf9\x80\x10\xde\x80\xa2\x41"
24425 "\x6a\xc3\x32\x02\xad\x6d\x3c\x56"
24426 "\x00\x71\x51\x06\xa7\xbd\xfb\xef"
24427 "\x3c\xb5\x9f\xfc\x48\x7d\x53\x7c"
24428 "\x66\xb0\x49\x23\xc4\x47\x10\x0e"
24429 "\xe5\x6c\x74\x13\xe6\xc5\x3f\xaa"
24430 "\xde\xff\x07\x44\xdd\x56\x1b\xad"
24431 "\x09\x77\xfb\x5b\x12\xb8\x0d\x38"
24432 "\x17\x37\x35\x7b\x9b\xbc\xfe\xd4"
24433 "\x7e\x8b\xda\x7e\x5b\x04\xa7\x22"
24434 "\xa7\x31\xa1\x20\x86\xc7\x1b\x99"
24435 "\xdb\xd1\x89\xf4\x94\xa3\x53\x69"
24436 "\x8d\xe7\xe8\x74\x11\x8d\x74\xd6"
24437 "\x07\x37\x91\x9f\xfd\x67\x50\x3a"
24438 "\xc9\xe1\xf4\x36\xd5\xa0\x47\xd1"
24439 "\xf9\xe5\x39\xa3\x31\xac\x07\x36"
24440 "\x23\xf8\x66\x18\x14\x28\x34\x0f"
24441 "\xb8\xd0\xe7\x29\xb3\x04\x4b\x55"
24442 "\x01\x41\xb2\x75\x8d\xcb\x96\x85"
24443 "\x3a\xfb\xab\x2b\x9e\xfa\x58\x20"
24444 "\x44\x1f\xc0\x14\x22\x75\x61\xe8"
24445 "\xaa\x19\xcf\xf1\x82\x56\xf4\xd7"
24446 "\x78\x7b\x3d\x5f\xb3\x9e\x0b\x8a"
24447 "\x57\x50\xdb\x17\x41\x65\x4d\xa3"
24448 "\x02\xc9\x9c\x9c\x53\xfb\x39\x39"
24449 "\x9b\x1d\x72\x24\xda\xb7\x39\xbe"
24450 "\x13\x3b\xfa\x29\xda\x9e\x54\x64"
24451 "\x6e\xba\xd8\xa1\xcb\xb3\x36\xfa"
24452 "\xcb\x47\x85\xe9\x61\x38\xbc\xbe"
24453 "\xc5\x00\x38\x2a\x54\xf7\xc4\xb9"
24454 "\xb3\xd3\x7b\xa0\xa0\xf8\x72\x7f"
24455 "\x8c\x8e\x82\x0e\xc6\x1c\x75\x9d"
24456 "\xca\x8e\x61\x87\xde\xad\x80\xd2"
24457 "\xf5\xf9\x80\xef\x15\x75\xaf\xf5"
24458 "\x80\xfb\xff\x6d\x1e\x25\xb7\x40"
24459 "\x61\x6a\x39\x5a\x6a\xb5\x31\xab"
24460 "\x97\x8a\x19\x89\x44\x40\xc0\xa6"
24461 "\xb4\x4e\x30\x32\x7b\x13\xe7\x67"
24462 "\xa9\x8b\x57\x04\xc2\x01\xa6\xf4"
24463 "\x28\x99\xad\x2c\x76\xa3\x78\xc2"
24464 "\x4a\xe6\xca\x5c\x50\x6a\xc1\xb0"
24465 "\x62\x4b\x10\x8e\x7c\x17\x43\xb3"
24466 "\x17\x66\x1c\x3e\x8d\x69\xf0\x5a"
24467 "\x71\xf5\x97\xdc\xd1\x45\xdd\x28"
24468 "\xf3\x5d\xdf\x53\x7b\x11\xe5\xbc"
24469 "\x4c\xdb\x1b\x51\x6b\xe9\xfb\x3d"
24470 "\xc1\xc3\x2c\xb9\x71\xf5\xb6\xb2"
24471 "\x13\x36\x79\x80\x53\xe8\xd3\xa6"
24472 "\x0a\xaf\xfd\x56\x97\xf7\x40\x8e"
24473 "\x45\xce\xf8\xb0\x9e\x5c\x33\x82"
24474 "\xb0\x44\x56\xfc\x05\x09\xe9\x2a"
24475 "\xac\x26\x80\x14\x1d\xc8\x3a\x35"
24476 "\x4c\x82\x97\xfd\x76\xb7\xa9\x0a"
24477 "\x35\x58\x79\x8e\x0f\x66\xea\xaf"
24478 "\x51\x6c\x09\xa9\x6e\x9b\xcb\x9a"
24479 "\x31\x47\xa0\x2f\x7c\x71\xb4\x4a"
24480 "\x11\xaa\x8c\x66\xc5\x64\xe6\x3a"
24481 "\x54\xda\x24\x6a\xc4\x41\x65\x46"
24482 "\x82\xa0\x0a\x0f\x5f\xfb\x25\xd0"
24483 "\x2c\x91\xa7\xee\xc4\x81\x07\x86"
24484 "\x75\x5e\x33\x69\x97\xe4\x2c\xa8"
24485 "\x9d\x9f\x0b\x6a\xbe\xad\x98\xda"
24486 "\x6d\x94\x41\xda\x2c\x1e\x89\xc4"
24487 "\xc2\xaf\x1e\x00\x05\x0b\x83\x60"
24488 "\xbd\x43\xea\x15\x23\x7f\xb9\xac"
24489 "\xee\x4f\x2c\xaf\x2a\xf3\xdf\xd0"
24490 "\xf3\x19\x31\xbb\x4a\x74\x84\x17"
24491 "\x52\x32\x2c\x7d\x61\xe4\xcb\xeb"
24492 "\x80\x38\x15\x52\xcb\x6f\xea\xe5"
24493 "\x73\x9c\xd9\x24\x69\xc6\x95\x32"
24494 "\x21\xc8\x11\xe4\xdc\x36\xd7\x93"
24495 "\x38\x66\xfb\xb2\x7f\x3a\xb9\xaf"
24496 "\x31\xdd\x93\x75\x78\x8a\x2c\x94"
24497 "\x87\x1a\x58\xec\x9e\x7d\x4d\xba"
24498 "\xe1\xe5\x4d\xfc\xbc\xa4\x2a\x14"
24499 "\xef\xcc\xa7\xec\xab\x43\x09\x18"
24500 "\xd3\xab\x68\xd1\x07\x99\x44\x47"
24501 "\xd6\x83\x85\x3b\x30\xea\xa9\x6b"
24502 "\x63\xea\xc4\x07\xfb\x43\x2f\xa4"
24503 "\xaa\xb0\xab\x03\x89\xce\x3f\x8c"
24504 "\x02\x7c\x86\x54\xbc\x88\xaf\x75"
24505 "\xd2\xdc\x63\x17\xd3\x26\xf6\x96"
24506 "\xa9\x3c\xf1\x61\x8c\x11\x18\xcc"
24507 "\xd6\xea\x5b\xe2\xcd\xf0\xf1\xb2"
24508 "\xe5\x35\x90\x1f\x85\x4c\x76\x5b"
24509 "\x66\xce\x44\xa4\x32\x9f\xe6\x7b"
24510 "\x71\x6e\x9f\x58\x15\x67\x72\x87"
24511 "\x64\x8e\x3a\x44\x45\xd4\x76\xfa"
24512 "\xc2\xf6\xef\x85\x05\x18\x7a\x9b"
24513 "\xba\x41\x54\xac\xf0\xfc\x59\x12"
24514 "\x3f\xdf\xa0\xe5\x8a\x65\xfd\x3a"
24515 "\x62\x8d\x83\x2c\x03\xbe\x05\x76"
24516 "\x2e\x53\x49\x97\x94\x33\xae\x40"
24517 "\x81\x15\xdb\x6e\xad\xaa\xf5\x4b"
24518 "\xe3\x98\x70\xdf\xe0\x7c\xcd\xdb"
24519 "\x02\xd4\x7d\x2f\xc1\xe6\xb4\xf3"
24520 "\xd7\x0d\x7a\xd9\x23\x9e\x87\x2d"
24521 "\xce\x87\xad\xcc\x72\x05\x00\x29"
24522 "\xdc\x73\x7f\x64\xc1\x15\x0e\xc2"
24523 "\xdf\xa7\x5f\xeb\x41\xa1\xcd\xef"
24524 "\x5c\x50\x79\x2a\x56\x56\x71\x8c"
24525 "\xac\xc0\x79\x50\x69\xca\x59\x32"
24526 "\x65\xf2\x54\xe4\x52\x38\x76\xd1"
24527 "\x5e\xde\x26\x9e\xfb\x75\x2e\x11"
24528 "\xb5\x10\xf4\x17\x73\xf5\x89\xc7"
24529 "\x4f\x43\x5c\x8e\x7c\xb9\x05\x52"
24530 "\x24\x40\x99\xfe\x9b\x85\x0b\x6c"
24531 "\x22\x3e\x8b\xae\x86\xa1\xd2\x79"
24532 "\x05\x68\x6b\xab\xe3\x41\x49\xed"
24533 "\x15\xa1\x8d\x40\x2d\x61\xdf\x1a"
24534 "\x59\xc9\x26\x8b\xef\x30\x4c\x88"
24535 "\x4b\x10\xf8\x8d\xa6\x92\x9f\x4b"
24536 "\xf3\xc4\x53\x0b\x89\x5d\x28\x92"
24537 "\xcf\x78\xb2\xc0\x5d\xed\x7e\xfc"
24538 "\xc0\x12\x23\x5f\x5a\x78\x86\x43"
24539 "\x6e\x27\xf7\x5a\xa7\x6a\xed\x19"
24540 "\x04\xf0\xb3\x12\xd1\xbd\x0e\x89"
24541 "\x6e\xbc\x96\xa8\xd8\x49\x39\x9f"
24542 "\x7e\x67\xf0\x2e\x3e\x01\xa9\xba"
24543 "\xec\x8b\x62\x8e\xcb\x4a\x70\x43"
24544 "\xc7\xc2\xc4\xca\x82\x03\x73\xe9"
24545 "\x11\xdf\xcf\x54\xea\xc9\xb0\x95"
24546 "\x51\xc0\x13\x3d\x92\x05\xfa\xf4"
24547 "\xa9\x34\xc8\xce\x6c\x3d\x54\xcc"
24548 "\xc4\xaf\xf1\xdc\x11\x44\x26\xa2"
24549 "\xaf\xf1\x85\x75\x7d\x03\x61\x68"
24550 "\x4e\x78\xc6\x92\x7d\x86\x7d\x77"
24551 "\xdc\x71\x72\xdb\xc6\xae\xa1\xcb"
24552 "\x70\x9a\x0b\x19\xbe\x4a\x6c\x2a"
24553 "\xe2\xba\x6c\x64\x9a\x13\x28\xdf"
24554 "\x85\x75\xe6\x43\xf6\x87\x08\x68"
24555 "\x6e\xba\x6e\x79\x9f\x04\xbc\x23"
24556 "\x50\xf6\x33\x5c\x1f\x24\x25\xbe"
24557 "\x33\x47\x80\x45\x56\xa3\xa7\xd7"
24558 "\x7a\xb1\x34\x0b\x90\x3c\x9c\xad"
24559 "\x44\x5f\x9e\x0e\x9d\xd4\xbd\x93"
24560 "\x5e\xfa\x3c\xe0\xb0\xd9\xed\xf3"
24561 "\xd6\x2e\xff\x24\xd8\x71\x6c\xed"
24562 "\xaf\x55\xeb\x22\xac\x93\x68\x32"
24563 "\x05\x5b\x47\xdd\xc6\x4a\xcb\xc7"
24564 "\x10\xe1\x3c\x92\x1a\xf3\x23\x78"
24565 "\x2b\xa1\xd2\x80\xf4\x12\xb1\x20"
24566 "\x8f\xff\x26\x35\xdd\xfb\xc7\x4e"
24567 "\x78\xf1\x2d\x50\x12\x77\xa8\x60"
24568 "\x7c\x0f\xf5\x16\x2f\x63\x70\x2a"
24569 "\xc0\x96\x80\x4e\x0a\xb4\x93\x35"
24570 "\x5d\x1d\x3f\x56\xf7\x2f\xbb\x90"
24571 "\x11\x16\x8f\xa2\xec\x47\xbe\xac"
24572 "\x56\x01\x26\x56\xb1\x8c\xb2\x10"
24573 "\xf9\x1a\xca\xf5\xd1\xb7\x39\x20"
24574 "\x63\xf1\x69\x20\x4f\x13\x12\x1f"
24575 "\x5b\x65\xfc\x98\xf7\xc4\x7a\xbe"
24576 "\xf7\x26\x4d\x2b\x84\x7b\x42\xad"
24577 "\xd8\x7a\x0a\xb4\xd8\x74\xbf\xc1"
24578 "\xf0\x6e\xb4\x29\xa3\xbb\xca\x46"
24579 "\x67\x70\x6a\x2d\xce\x0e\xa2\x8a"
24580 "\xa9\x87\xbf\x05\xc4\xc1\x04\xa3"
24581 "\xab\xd4\x45\x43\x8c\xb6\x02\xb0"
24582 "\x41\xc8\xfc\x44\x3d\x59\xaa\x2e"
24583 "\x44\x21\x2a\x8d\x88\x9d\x57\xf4"
24584 "\xa0\x02\x77\xb8\xa6\xa0\xe6\x75"
24585 "\x5c\x82\x65\x3e\x03\x5c\x29\x8f"
24586 "\x38\x55\xab\x33\x26\xef\x9f\x43"
24587 "\x52\xfd\x68\xaf\x36\xb4\xbb\x9a"
24588 "\x58\x09\x09\x1b\xc3\x65\x46\x46"
24589 "\x1d\xa7\x94\x18\x23\x50\x2c\xca"
24590 "\x2c\x55\x19\x97\x01\x9d\x93\x3b"
24591 "\x63\x86\xf2\x03\x67\x45\xd2\x72"
24592 "\x28\x52\x6c\xf4\xe3\x1c\xb5\x11"
24593 "\x13\xf1\xeb\x21\xc7\xd9\x56\x82"
24594 "\x2b\x82\x39\xbd\x69\x54\xed\x62"
24595 "\xc3\xe2\xde\x73\xd4\x6a\x12\xae"
24596 "\x13\x21\x7f\x4b\x5b\xfc\xbf\xe8"
24597 "\x2b\xbe\x56\xba\x68\x8b\x9a\xb1"
24598 "\x6e\xfa\xbf\x7e\x5a\x4b\xf1\xac"
24599 "\x98\x65\x85\xd1\x93\x53\xd3\x7b"
24600 "\x09\xdd\x4b\x10\x6d\x84\xb0\x13"
24601 "\x65\xbd\xcf\x52\x09\xc4\x85\xe2"
24602 "\x84\x74\x15\x65\xb7\xf7\x51\xaf"
24603 "\x55\xad\xa4\xd1\x22\x54\x70\x94"
24604 "\xa0\x1c\x90\x41\xfd\x99\xd7\x5a"
24605 "\x31\xef\xaa\x25\xd0\x7f\x4f\xea"
24606 "\x1d\x55\x42\xe5\x49\xb0\xd0\x46"
24607 "\x62\x36\x43\xb2\x82\x15\x75\x50"
24608 "\xa4\x72\xeb\x54\x27\x1f\x8a\xe4"
24609 "\x7d\xe9\x66\xc5\xf1\x53\xa4\xd1"
24610 "\x0c\xeb\xb8\xf8\xbc\xd4\xe2\xe7"
24611 "\xe1\xf8\x4b\xcb\xa9\xa1\xaf\x15"
24612 "\x83\xcb\x72\xd0\x33\x79\x00\x2d"
24613 "\x9f\xd7\xf1\x2e\x1e\x10\xe4\x45"
24614 "\xc0\x75\x3a\x39\xea\x68\xf7\x5d"
24615 "\x1b\x73\x8f\xe9\x8e\x0f\x72\x47"
24616 "\xae\x35\x0a\x31\x7a\x14\x4d\x4a"
24617 "\x6f\x47\xf7\x7e\x91\x6e\x74\x8b"
24618 "\x26\x47\xf9\xc3\xf9\xde\x70\xf5"
24619 "\x61\xab\xa9\x27\x9f\x82\xe4\x9c"
24620 "\x89\x91\x3f\x2e\x6a\xfd\xb5\x49"
24621 "\xe9\xfd\x59\x14\x36\x49\x40\x6d"
24622 "\x32\xd8\x85\x42\xf3\xa5\xdf\x0c"
24623 "\xa8\x27\xd7\x54\xe2\x63\x2f\xf2"
24624 "\x7e\x8b\x8b\xe7\xf1\x9a\x95\x35"
24625 "\x43\xdc\x3a\xe4\xb6\xf4\xd0\xdf"
24626 "\x9c\xcb\x94\xf3\x21\xa0\x77\x50"
24627 "\xe2\xc6\xc4\xc6\x5f\x09\x64\x5b"
24628 "\x92\x90\xd8\xe1\xd1\xed\x4b\x42"
24629 "\xd7\x37\xaf\x65\x3d\x11\x39\xb6"
24630 "\x24\x8a\x60\xae\xd6\x1e\xbf\x0e"
24631 "\x0d\xd7\xdc\x96\x0e\x65\x75\x4e"
24632 "\x29\x06\x9d\xa4\x51\x3a\x10\x63"
24633 "\x8f\x17\x07\xd5\x8e\x3c\xf4\x28"
24634 "\x00\x5a\x5b\x05\x19\xd8\xc0\x6c"
24635 "\xe5\x15\xe4\x9c\x9d\x71\x9d\x5e"
24636 "\x94\x29\x1a\xa7\x80\xfa\x0e\x33"
24637 "\x03\xdd\xb7\x3e\x9a\xa9\x26\x18"
24638 "\x37\xa9\x64\x08\x4d\x94\x5a\x88"
24639 "\xca\x35\xce\x81\x02\xe3\x1f\x1b"
24640 "\x89\x1a\x77\x85\xe3\x41\x6d\x32"
24641 "\x42\x19\x23\x7d\xc8\x73\xee\x25"
24642 "\x85\x0d\xf8\x31\x25\x79\x1b\x6f"
24643 "\x79\x25\xd2\xd8\xd4\x23\xfd\xf7"
24644 "\x82\x36\x6a\x0c\x46\x22\x15\xe9"
24645 "\xff\x72\x41\x91\x91\x7d\x3a\xb7"
24646 "\xdd\x65\x99\x70\xf6\x8d\x84\xf8"
24647 "\x67\x15\x20\x11\xd6\xb2\x55\x7b"
24648 "\xdb\x87\xee\xef\x55\x89\x2a\x59"
24649 "\x2b\x07\x8f\x43\x8a\x59\x3c\x01"
24650 "\x8b\x65\x54\xa1\x66\xd5\x38\xbd"
24651 "\xc6\x30\xa9\xcc\x49\xb6\xa8\x1b"
24652 "\xb8\xc0\x0e\xe3\x45\x28\xe2\xff"
24653 "\x41\x9f\x7e\x7c\xd1\xae\x9e\x25"
24654 "\x3f\x4c\x7c\x7c\xf4\xa8\x26\x4d"
24655 "\x5c\xfd\x4b\x27\x18\xf9\x61\x76"
24656 "\x48\xba\x0c\x6b\xa9\x4d\xfc\xf5"
24657 "\x3b\x35\x7e\x2f\x4a\xa9\xc2\x9a"
24658 "\xae\xab\x86\x09\x89\xc9\xc2\x40"
24659 "\x39\x2c\x81\xb3\xb8\x17\x67\xc2"
24660 "\x0d\x32\x4a\x3a\x67\x81\xd7\x1a"
24661 "\x34\x52\xc5\xdb\x0a\xf5\x63\x39"
24662 "\xea\x1f\xe1\x7c\xa1\x9e\xc1\x35"
24663 "\xe3\xb1\x18\x45\x67\xf9\x22\x38"
24664 "\x95\xd9\x34\x34\x86\xc6\x41\x94"
24665 "\x15\xf9\x5b\x41\xa6\x87\x8b\xf8"
24666 "\xd5\xe1\x1b\xe2\x5b\xf3\x86\x10"
24667 "\xff\xe6\xae\x69\x76\xbc\x0d\xb4"
24668 "\x09\x90\x0c\xa2\x65\x0c\xad\x74"
24669 "\xf5\xd7\xff\xda\xc1\xce\x85\xbe"
24670 "\x00\xa7\xff\x4d\x2f\x65\xd3\x8c"
24671 "\x86\x2d\x05\xe8\xed\x3e\x6b\x8b"
24672 "\x0f\x3d\x83\x8c\xf1\x1d\x5b\x96"
24673 "\x2e\xb1\x9c\xc2\x98\xe1\x70\xb9"
24674 "\xba\x5c\x8a\x43\xd6\x34\xa7\x2d"
24675 "\xc9\x92\xae\xf2\xa5\x7b\x05\x49"
24676 "\xa7\x33\x34\x86\xca\xe4\x96\x23"
24677 "\x76\x5b\xf2\xc6\xf1\x51\x28\x42"
24678 "\x7b\xcc\x76\x8f\xfa\xa2\xad\x31"
24679 "\xd4\xd6\x7a\x6d\x25\x25\x54\xe4"
24680 "\x3f\x50\x59\xe1\x5c\x05\xb7\x27"
24681 "\x48\xbf\x07\xec\x1b\x13\xbe\x2b"
24682 "\xa1\x57\x2b\xd5\xab\xd7\xd0\x4c"
24683 "\x1e\xcb\x71\x9b\xc5\x90\x85\xd3"
24684 "\xde\x59\xec\x71\xeb\x89\xbb\xd0"
24685 "\x09\x50\xe1\x16\x3f\xfd\x1c\x34"
24686 "\xc3\x1c\xa1\x10\x77\x53\x98\xef"
24687 "\xf2\xfd\xa5\x01\x59\xc2\x9b\x26"
24688 "\xc7\x42\xd9\x49\xda\x58\x2b\x6e"
24689 "\x9f\x53\x19\x76\x7e\xd9\xc9\x0e"
24690 "\x68\xc8\x7f\x51\x22\x42\xef\x49"
24691 "\xa4\x55\xb6\x36\xac\x09\xc7\x31"
24692 "\x88\x15\x4b\x2e\x8f\x3a\x08\xf7"
24693 "\xd8\xf7\xa8\xc5\xa9\x33\xa6\x45"
24694 "\xe4\xc4\x94\x76\xf3\x0d\x8f\x7e"
24695 "\xc8\xf6\xbc\x23\x0a\xb6\x4c\xd3"
24696 "\x6a\xcd\x36\xc2\x90\x5c\x5c\x3c"
24697 "\x65\x7b\xc2\xd6\xcc\xe6\x0d\x87"
24698 "\x73\x2e\x71\x79\x16\x06\x63\x28"
24699 "\x09\x15\xd8\x89\x38\x38\x3d\xb5"
24700 "\x42\x1c\x08\x24\xf7\x2a\xd2\x9d"
24701 "\xc8\xca\xef\xf9\x27\xd8\x07\x86"
24702 "\xf7\x43\x0b\x55\x15\x3f\x9f\x83"
24703 "\xef\xdc\x49\x9d\x2a\xc1\x54\x62"
24704 "\xbd\x9b\x66\x55\x9f\xb7\x12\xf3"
24705 "\x1b\x4d\x9d\x2a\x5c\xed\x87\x75"
24706 "\x87\x26\xec\x61\x2c\xb4\x0f\x89"
24707 "\xb0\xfb\x2e\x68\x5d\x15\xc7\x8d"
24708 "\x2e\xc0\xd9\xec\xaf\x4f\xd2\x25"
24709 "\x29\xe8\xd2\x26\x2b\x67\xe9\xfc"
24710 "\x2b\xa8\x67\x96\x12\x1f\x5b\x96"
24711 "\xc6\x14\x53\xaf\x44\xea\xd6\xe2"
24712 "\x94\x98\xe4\x12\x93\x4c\x92\xe0"
24713 "\x18\xa5\x8d\x2d\xe4\x71\x3c\x47"
24714 "\x4c\xf7\xe6\x47\x9e\xc0\x68\xdf"
24715 "\xd4\xf5\x5a\x74\xb1\x2b\x29\x03"
24716 "\x19\x07\xaf\x90\x62\x5c\x68\x98"
24717 "\x48\x16\x11\x02\x9d\xee\xb4\x9b"
24718 "\xe5\x42\x7f\x08\xfd\x16\x32\x0b"
24719 "\xd0\xb3\xfa\x2b\xb7\x99\xf9\x29"
24720 "\xcd\x20\x45\x9f\xb3\x1a\x5d\xa2"
24721 "\xaf\x4d\xe0\xbd\x42\x0d\xbc\x74"
24722 "\x99\x9c\x8e\x53\x1a\xb4\x3e\xbd"
24723 "\xa2\x9a\x2d\xf7\xf8\x39\x0f\x67"
24724 "\x63\xfc\x6b\xc0\xaf\xb3\x4b\x4f"
24725 "\x55\xc4\xcf\xa7\xc8\x04\x11\x3e"
24726 "\x14\x32\xbb\x1b\x38\x77\xd6\x7f"
24727 "\x54\x4c\xdf\x75\xf3\x07\x2d\x33"
24728 "\x9b\xa8\x20\xe1\x7b\x12\xb5\xf3"
24729 "\xef\x2f\xce\x72\xe5\x24\x60\xc1"
24730 "\x30\xe2\xab\xa1\x8e\x11\x09\xa8"
24731 "\x21\x33\x44\xfe\x7f\x35\x32\x93"
24732 "\x39\xa7\xad\x8b\x79\x06\xb2\xcb"
24733 "\x4e\xa9\x5f\xc7\xba\x74\x29\xec"
24734 "\x93\xa0\x4e\x54\x93\xc0\xbc\x55"
24735 "\x64\xf0\x48\xe5\x57\x99\xee\x75"
24736 "\xd6\x79\x0f\x66\xb7\xc6\x57\x76"
24737 "\xf7\xb7\xf3\x9c\xc5\x60\xe8\x7f"
24738 "\x83\x76\xd6\x0e\xaa\xe6\x90\x39"
24739 "\x1d\xa6\x32\x6a\x34\xe3\x55\xf8"
24740 "\x58\xa0\x58\x7d\x33\xe0\x22\x39"
24741 "\x44\x64\x87\x86\x5a\x2f\xa7\x7e"
24742 "\x0f\x38\xea\xb0\x30\xcc\x61\xa5"
24743 "\x6a\x32\xae\x1e\xf7\xe9\xd0\xa9"
24744 "\x0c\x32\x4b\xb5\x49\x28\xab\x85"
24745 "\x2f\x8e\x01\x36\x38\x52\xd0\xba"
24746 "\xd6\x02\x78\xf8\x0e\x3e\x9c\x8b"
24747 "\x6b\x45\x99\x3f\x5c\xfe\x58\xf1"
24748 "\x5c\x94\x04\xe1\xf5\x18\x6d\x51"
24749 "\xb2\x5d\x18\x20\xb6\xc2\x9a\x42"
24750 "\x1d\xb3\xab\x3c\xb6\x3a\x13\x03"
24751 "\xb2\x46\x82\x4f\xfc\x64\xbc\x4f"
24752 "\xca\xfa\x9c\xc0\xd5\xa7\xbd\x11"
24753 "\xb7\xe4\x5a\xf6\x6f\x4d\x4d\x54"
24754 "\xea\xa4\x98\x66\xd4\x22\x3b\xd3"
24755 "\x8f\x34\x47\xd9\x7c\xf4\x72\x3b"
24756 "\x4d\x02\x77\xf6\xd6\xdd\x08\x0a"
24757 "\x81\xe1\x86\x89\x3e\x56\x10\x3c"
24758 "\xba\xd7\x81\x8c\x08\xbc\x8b\xe2"
24759 "\x53\xec\xa7\x89\xee\xc8\x56\xb5"
24760 "\x36\x2c\xb2\x03\xba\x99\xdd\x7c"
24761 "\x48\xa0\xb0\xbc\x91\x33\xe9\xa8"
24762 "\xcb\xcd\xcf\x59\x5f\x1f\x15\xe2"
24763 "\x56\xf5\x4e\x01\x35\x27\x45\x77"
24764 "\x47\xc8\xbc\xcb\x7e\x39\xc1\x97"
24765 "\x28\xd3\x84\xfc\x2c\x3e\xc8\xad"
24766 "\x9c\xf8\x8a\x61\x9c\x28\xaa\xc5"
24767 "\x99\x20\x43\x85\x9d\xa5\xe2\x8b"
24768 "\xb8\xae\xeb\xd0\x32\x0d\x52\x78"
24769 "\x09\x56\x3f\xc7\xd8\x7e\x26\xfc"
24770 "\x37\xfb\x6f\x04\xfc\xfa\x92\x10"
24771 "\xac\xf8\x3e\x21\xdc\x8c\x21\x16"
24772 "\x7d\x67\x6e\xf6\xcd\xda\xb6\x98"
24773 "\x23\xab\x23\x3c\xb2\x10\xa0\x53"
24774 "\x5a\x56\x9f\xc5\xd0\xff\xbb\xe4"
24775 "\x98\x3c\x69\x1e\xdb\x38\x8f\x7e"
24776 "\x0f\xd2\x98\x88\x81\x8b\x45\x67"
24777 "\xea\x33\xf1\xeb\xe9\x97\x55\x2e"
24778 "\xd9\xaa\xeb\x5a\xec\xda\xe1\x68"
24779 "\xa8\x9d\x3c\x84\x7c\x05\x3d\x62"
24780 "\x87\x8f\x03\x21\x28\x95\x0c\x89"
24781 "\x25\x22\x4a\xb0\x93\xa9\x50\xa2"
24782 "\x2f\x57\x6e\x18\x42\x19\x54\x0c"
24783 "\x55\x67\xc6\x11\x49\xf4\x5c\xd2"
24784 "\xe9\x3d\xdd\x8b\x48\x71\x21\x00"
24785 "\xc3\x9a\x6c\x85\x74\x28\x83\x4a"
24786 "\x1b\x31\x05\xe1\x06\x92\xe7\xda"
24787 "\x85\x73\x78\x45\x20\x7f\xae\x13"
24788 "\x7c\x33\x06\x22\xf4\x83\xf9\x35"
24789 "\x3f\x6c\x71\xa8\x4e\x48\xbe\x9b"
24790 "\xce\x8a\xba\xda\xbe\x28\x08\xf7"
24791 "\xe2\x14\x8c\x71\xea\x72\xf9\x33"
24792 "\xf2\x88\x3f\xd7\xbb\x69\x6c\x29"
24793 "\x19\xdc\x84\xce\x1f\x12\x4f\xc8"
24794 "\xaf\xa5\x04\xba\x5a\xab\xb0\xd9"
24795 "\x14\x1f\x6c\x68\x98\x39\x89\x7a"
24796 "\xd9\xd8\x2f\xdf\xa8\x47\x4a\x25"
24797 "\xe2\xfb\x33\xf4\x59\x78\xe1\x68"
24798 "\x85\xcf\xfe\x59\x20\xd4\x05\x1d"
24799 "\x80\x99\xae\xbc\xca\xae\x0f\x2f"
24800 "\x65\x43\x34\x8e\x7e\xac\xd3\x93"
24801 "\x2f\xac\x6d\x14\x3d\x02\x07\x70"
24802 "\x9d\xa4\xf3\x1b\x5c\x36\xfc\x01"
24803 "\x73\x34\x85\x0c\x6c\xd6\xf1\xbd"
24804 "\x3f\xdf\xee\xf5\xd9\xba\x56\xef"
24805 "\xf4\x9b\x6b\xee\x9f\x5a\x78\x6d"
24806 "\x32\x19\xf4\xf7\xf8\x4c\x69\x0b"
24807 "\x4b\xbc\xbb\xb7\xf2\x85\xaf\x70"
24808 "\x75\x24\x6c\x54\xa7\x0e\x4d\x1d"
24809 "\x01\xbf\x08\xac\xcf\x7f\x2c\xe3"
24810 "\x14\x89\x5e\x70\x5a\x99\x92\xcd"
24811 "\x01\x84\xc8\xd2\xab\xe5\x4f\x58"
24812 "\xe7\x0f\x2f\x0e\xff\x68\xea\xfd"
24813 "\x15\xb3\x17\xe6\xb0\xe7\x85\xd8"
24814 "\x23\x2e\x05\xc7\xc9\xc4\x46\x1f"
24815 "\xe1\x9e\x49\x20\x23\x24\x4d\x7e"
24816 "\x29\x65\xff\xf4\xb6\xfd\x1a\x85"
24817 "\xc4\x16\xec\xfc\xea\x7b\xd6\x2c"
24818 "\x43\xf8\xb7\xbf\x79\xc0\x85\xcd"
24819 "\xef\xe1\x98\xd3\xa5\xf7\x90\x8c"
24820 "\xe9\x7f\x80\x6b\xd2\xac\x4c\x30"
24821 "\xa7\xc6\x61\x6c\xd2\xf9\x2c\xff"
24822 "\x30\xbc\x22\x81\x7d\x93\x12\xe4"
24823 "\x0a\xcd\xaf\xdd\xe8\xab\x0a\x1e"
24824 "\x13\xa4\x27\xc3\x5f\xf7\x4b\xbb"
24825 "\x37\x09\x4b\x91\x6f\x92\x4f\xaf"
24826 "\x52\xee\xdf\xef\x09\x6f\xf7\x5c"
24827 "\x6e\x12\x17\x72\x63\x57\xc7\xba"
24828 "\x3b\x6b\x38\x32\x73\x1b\x9c\x80"
24829 "\xc1\x7a\xc6\xcf\xcd\x35\xc0\x6b"
24830 "\x31\x1a\x6b\xe9\xd8\x2c\x29\x3f"
24831 "\x96\xfb\xb6\xcd\x13\x91\x3b\xc2"
24832 "\xd2\xa3\x31\x8d\xa4\xcd\x57\xcd"
24833 "\x13\x3d\x64\xfd\x06\xce\xe6\xdc"
24834 "\x0c\x24\x43\x31\x40\x57\xf1\x72"
24835 "\x17\xe3\x3a\x63\x6d\x35\xcf\x5d"
24836 "\x97\x40\x59\xdd\xf7\x3c\x02\xf7"
24837 "\x1c\x7e\x05\xbb\xa9\x0d\x01\xb1"
24838 "\x8e\xc0\x30\xa9\x53\x24\xc9\x89"
24839 "\x84\x6d\xaa\xd0\xcd\x91\xc2\x4d"
24840 "\x91\xb0\x89\xe2\xbf\x83\x44\xaa"
24841 "\x28\x72\x23\xa0\xc2\xad\xad\x1c"
24842 "\xfc\x3f\x09\x7a\x0b\xdc\xc5\x1b"
24843 "\x87\x13\xc6\x5b\x59\x8d\xf2\xc8"
24844 "\xaf\xdf\x11\x95",
24847 .tap = { 4064, 36 },
24852 * CTS (Cipher Text Stealing) mode tests
24854 #define CTS_MODE_ENC_TEST_VECTORS 6
24855 #define CTS_MODE_DEC_TEST_VECTORS 6
24856 static struct cipher_testvec cts_mode_enc_tv_template[] = {
24857 { /* from rfc3962 */
24859 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
24860 "\x74\x65\x72\x69\x79\x61\x6b\x69",
24862 .input = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
24863 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
24866 .result = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
24867 "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
24871 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
24872 "\x74\x65\x72\x69\x79\x61\x6b\x69",
24874 .input = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
24875 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
24876 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
24877 "\x20\x47\x61\x75\x27\x73\x20",
24879 .result = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
24880 "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
24881 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
24882 "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
24885 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
24886 "\x74\x65\x72\x69\x79\x61\x6b\x69",
24888 .input = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
24889 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
24890 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
24891 "\x20\x47\x61\x75\x27\x73\x20\x43",
24893 .result = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
24894 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
24895 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
24896 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
24899 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
24900 "\x74\x65\x72\x69\x79\x61\x6b\x69",
24902 .input = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
24903 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
24904 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
24905 "\x20\x47\x61\x75\x27\x73\x20\x43"
24906 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
24907 "\x70\x6c\x65\x61\x73\x65\x2c",
24909 .result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
24910 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
24911 "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
24912 "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
24913 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
24914 "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
24917 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
24918 "\x74\x65\x72\x69\x79\x61\x6b\x69",
24920 .input = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
24921 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
24922 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
24923 "\x20\x47\x61\x75\x27\x73\x20\x43"
24924 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
24925 "\x70\x6c\x65\x61\x73\x65\x2c\x20",
24927 .result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
24928 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
24929 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
24930 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
24931 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
24932 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
24935 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
24936 "\x74\x65\x72\x69\x79\x61\x6b\x69",
24938 .input = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
24939 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
24940 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
24941 "\x20\x47\x61\x75\x27\x73\x20\x43"
24942 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
24943 "\x70\x6c\x65\x61\x73\x65\x2c\x20"
24944 "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
24945 "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
24947 .result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
24948 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
24949 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
24950 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
24951 "\x48\x07\xef\xe8\x36\xee\x89\xa5"
24952 "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
24953 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
24954 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
24958 static struct cipher_testvec cts_mode_dec_tv_template[] = {
24959 { /* from rfc3962 */
24961 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
24962 "\x74\x65\x72\x69\x79\x61\x6b\x69",
24964 .result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
24965 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
24968 .input = "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
24969 "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
24973 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
24974 "\x74\x65\x72\x69\x79\x61\x6b\x69",
24976 .result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
24977 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
24978 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
24979 "\x20\x47\x61\x75\x27\x73\x20",
24981 .input = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
24982 "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
24983 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
24984 "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
24987 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
24988 "\x74\x65\x72\x69\x79\x61\x6b\x69",
24990 .result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
24991 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
24992 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
24993 "\x20\x47\x61\x75\x27\x73\x20\x43",
24995 .input = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
24996 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
24997 "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
24998 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
25001 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
25002 "\x74\x65\x72\x69\x79\x61\x6b\x69",
25004 .result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
25005 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
25006 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
25007 "\x20\x47\x61\x75\x27\x73\x20\x43"
25008 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
25009 "\x70\x6c\x65\x61\x73\x65\x2c",
25011 .input = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
25012 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
25013 "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
25014 "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
25015 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
25016 "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
25019 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
25020 "\x74\x65\x72\x69\x79\x61\x6b\x69",
25022 .result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
25023 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
25024 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
25025 "\x20\x47\x61\x75\x27\x73\x20\x43"
25026 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
25027 "\x70\x6c\x65\x61\x73\x65\x2c\x20",
25029 .input = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
25030 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
25031 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
25032 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
25033 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
25034 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
25037 .key = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
25038 "\x74\x65\x72\x69\x79\x61\x6b\x69",
25040 .result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
25041 "\x6c\x69\x6b\x65\x20\x74\x68\x65"
25042 "\x20\x47\x65\x6e\x65\x72\x61\x6c"
25043 "\x20\x47\x61\x75\x27\x73\x20\x43"
25044 "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
25045 "\x70\x6c\x65\x61\x73\x65\x2c\x20"
25046 "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
25047 "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
25049 .input = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
25050 "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
25051 "\x39\x31\x25\x23\xa7\x86\x62\xd5"
25052 "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
25053 "\x48\x07\xef\xe8\x36\xee\x89\xa5"
25054 "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
25055 "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
25056 "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
25061 * Compression stuff.
25063 #define COMP_BUF_SIZE 512
25065 struct comp_testvec {
25067 char input[COMP_BUF_SIZE];
25068 char output[COMP_BUF_SIZE];
25071 struct pcomp_testvec {
25073 unsigned int paramsize;
25075 char input[COMP_BUF_SIZE];
25076 char output[COMP_BUF_SIZE];
25080 * Deflate test vectors (null-terminated strings).
25081 * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
25084 #define DEFLATE_COMP_TEST_VECTORS 2
25085 #define DEFLATE_DECOMP_TEST_VECTORS 2
25087 static struct comp_testvec deflate_comp_tv_template[] = {
25091 .input = "Join us now and share the software "
25092 "Join us now and share the software ",
25093 .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
25094 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
25095 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
25096 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
25097 "\x71\xbc\x08\x2b\x01\x00",
25101 .input = "This document describes a compression method based on the DEFLATE"
25102 "compression algorithm. This document defines the application of "
25103 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
25104 .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
25105 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
25106 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
25107 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
25108 "\x68\x12\x51\xae\x76\x67\xd6\x27"
25109 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
25110 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
25111 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
25112 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
25113 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
25114 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
25115 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
25116 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
25117 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
25118 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
25123 static struct comp_testvec deflate_decomp_tv_template[] = {
25127 .input = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
25128 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
25129 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
25130 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
25131 "\x68\x12\x51\xae\x76\x67\xd6\x27"
25132 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
25133 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
25134 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
25135 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
25136 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
25137 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
25138 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
25139 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
25140 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
25141 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
25143 .output = "This document describes a compression method based on the DEFLATE"
25144 "compression algorithm. This document defines the application of "
25145 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
25149 .input = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
25150 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
25151 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
25152 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
25153 "\x71\xbc\x08\x2b\x01\x00",
25154 .output = "Join us now and share the software "
25155 "Join us now and share the software ",
25159 #define ZLIB_COMP_TEST_VECTORS 2
25160 #define ZLIB_DECOMP_TEST_VECTORS 2
25162 static const struct {
25165 } deflate_comp_params[] = {
25168 .nla_len = NLA_HDRLEN + sizeof(int),
25169 .nla_type = ZLIB_COMP_LEVEL,
25171 .val = Z_DEFAULT_COMPRESSION,
25174 .nla_len = NLA_HDRLEN + sizeof(int),
25175 .nla_type = ZLIB_COMP_METHOD,
25180 .nla_len = NLA_HDRLEN + sizeof(int),
25181 .nla_type = ZLIB_COMP_WINDOWBITS,
25186 .nla_len = NLA_HDRLEN + sizeof(int),
25187 .nla_type = ZLIB_COMP_MEMLEVEL,
25189 .val = MAX_MEM_LEVEL,
25192 .nla_len = NLA_HDRLEN + sizeof(int),
25193 .nla_type = ZLIB_COMP_STRATEGY,
25195 .val = Z_DEFAULT_STRATEGY,
25199 static const struct {
25202 } deflate_decomp_params[] = {
25205 .nla_len = NLA_HDRLEN + sizeof(int),
25206 .nla_type = ZLIB_DECOMP_WINDOWBITS,
25212 static struct pcomp_testvec zlib_comp_tv_template[] = {
25214 .params = &deflate_comp_params,
25215 .paramsize = sizeof(deflate_comp_params),
25218 .input = "Join us now and share the software "
25219 "Join us now and share the software ",
25220 .output = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
25221 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
25222 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
25223 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
25224 "\x71\xbc\x08\x2b\x01\x00",
25226 .params = &deflate_comp_params,
25227 .paramsize = sizeof(deflate_comp_params),
25230 .input = "This document describes a compression method based on the DEFLATE"
25231 "compression algorithm. This document defines the application of "
25232 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
25233 .output = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
25234 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
25235 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
25236 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
25237 "\x68\x12\x51\xae\x76\x67\xd6\x27"
25238 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
25239 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
25240 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
25241 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
25242 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
25243 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
25244 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
25245 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
25246 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
25247 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
25252 static struct pcomp_testvec zlib_decomp_tv_template[] = {
25254 .params = &deflate_decomp_params,
25255 .paramsize = sizeof(deflate_decomp_params),
25258 .input = "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
25259 "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
25260 "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
25261 "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
25262 "\x68\x12\x51\xae\x76\x67\xd6\x27"
25263 "\x19\x88\x1a\xde\x85\xab\x21\xf2"
25264 "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
25265 "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
25266 "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
25267 "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
25268 "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
25269 "\x52\x37\xed\x0e\x52\x6b\x59\x02"
25270 "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
25271 "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
25272 "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
25274 .output = "This document describes a compression method based on the DEFLATE"
25275 "compression algorithm. This document defines the application of "
25276 "the DEFLATE algorithm to the IP Payload Compression Protocol.",
25278 .params = &deflate_decomp_params,
25279 .paramsize = sizeof(deflate_decomp_params),
25282 .input = "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
25283 "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
25284 "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
25285 "\x48\x55\x28\xce\x4f\x2b\x29\x07"
25286 "\x71\xbc\x08\x2b\x01\x00",
25287 .output = "Join us now and share the software "
25288 "Join us now and share the software ",
25293 * LZO test vectors (null-terminated strings).
25295 #define LZO_COMP_TEST_VECTORS 2
25296 #define LZO_DECOMP_TEST_VECTORS 2
25298 static struct comp_testvec lzo_comp_tv_template[] = {
25302 .input = "Join us now and share the software "
25303 "Join us now and share the software ",
25304 .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
25305 "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
25306 "\x64\x20\x73\x68\x61\x72\x65\x20"
25307 "\x74\x68\x65\x20\x73\x6f\x66\x74"
25308 "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
25309 "\x3d\x88\x00\x11\x00\x00",
25313 .input = "This document describes a compression method based on the LZO "
25314 "compression algorithm. This document defines the application of "
25315 "the LZO algorithm used in UBIFS.",
25316 .output = "\x00\x2b\x54\x68\x69\x73\x20\x64"
25317 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
25318 "\x64\x65\x73\x63\x72\x69\x62\x65"
25319 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
25320 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
25321 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
25322 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
25323 "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
25324 "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
25325 "\x69\x74\x68\x6d\x2e\x20\x20\x54"
25326 "\x68\x69\x73\x2a\x54\x01\x02\x66"
25327 "\x69\x6e\x65\x73\x94\x06\x05\x61"
25328 "\x70\x70\x6c\x69\x63\x61\x74\x76"
25329 "\x0a\x6f\x66\x88\x02\x60\x09\x27"
25330 "\xf0\x00\x0c\x20\x75\x73\x65\x64"
25331 "\x20\x69\x6e\x20\x55\x42\x49\x46"
25332 "\x53\x2e\x11\x00\x00",
25336 static struct comp_testvec lzo_decomp_tv_template[] = {
25340 .input = "\x00\x2b\x54\x68\x69\x73\x20\x64"
25341 "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
25342 "\x64\x65\x73\x63\x72\x69\x62\x65"
25343 "\x73\x20\x61\x20\x63\x6f\x6d\x70"
25344 "\x72\x65\x73\x73\x69\x6f\x6e\x20"
25345 "\x6d\x65\x74\x68\x6f\x64\x20\x62"
25346 "\x61\x73\x65\x64\x20\x6f\x6e\x20"
25347 "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
25348 "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
25349 "\x69\x74\x68\x6d\x2e\x20\x20\x54"
25350 "\x68\x69\x73\x2a\x54\x01\x02\x66"
25351 "\x69\x6e\x65\x73\x94\x06\x05\x61"
25352 "\x70\x70\x6c\x69\x63\x61\x74\x76"
25353 "\x0a\x6f\x66\x88\x02\x60\x09\x27"
25354 "\xf0\x00\x0c\x20\x75\x73\x65\x64"
25355 "\x20\x69\x6e\x20\x55\x42\x49\x46"
25356 "\x53\x2e\x11\x00\x00",
25357 .output = "This document describes a compression method based on the LZO "
25358 "compression algorithm. This document defines the application of "
25359 "the LZO algorithm used in UBIFS.",
25363 .input = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
25364 "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
25365 "\x64\x20\x73\x68\x61\x72\x65\x20"
25366 "\x74\x68\x65\x20\x73\x6f\x66\x74"
25367 "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
25368 "\x3d\x88\x00\x11\x00\x00",
25369 .output = "Join us now and share the software "
25370 "Join us now and share the software ",
25375 * Michael MIC test vectors from IEEE 802.11i
25377 #define MICHAEL_MIC_TEST_VECTORS 6
25379 static struct hash_testvec michael_mic_tv_template[] = {
25381 .key = "\x00\x00\x00\x00\x00\x00\x00\x00",
25383 .plaintext = zeroed_string,
25385 .digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
25388 .key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
25392 .digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
25395 .key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
25399 .digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
25402 .key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
25404 .plaintext = "Mic",
25406 .digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
25409 .key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
25411 .plaintext = "Mich",
25413 .digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
25416 .key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
25418 .plaintext = "Michael",
25420 .digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
25425 * CRC32C test vectors
25427 #define CRC32C_TEST_VECTORS 15
25429 static struct hash_testvec crc32c_tv_template[] = {
25432 .digest = "\x00\x00\x00\x00",
25435 .key = "\x87\xa9\xcb\xed",
25438 .digest = "\x78\x56\x34\x12",
25441 .key = "\xff\xff\xff\xff",
25443 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
25444 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
25445 "\x11\x12\x13\x14\x15\x16\x17\x18"
25446 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
25447 "\x21\x22\x23\x24\x25\x26\x27\x28",
25449 .digest = "\x7f\x15\x2c\x0e",
25452 .key = "\xff\xff\xff\xff",
25454 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
25455 "\x31\x32\x33\x34\x35\x36\x37\x38"
25456 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
25457 "\x41\x42\x43\x44\x45\x46\x47\x48"
25458 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
25460 .digest = "\xf6\xeb\x80\xe9",
25463 .key = "\xff\xff\xff\xff",
25465 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
25466 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
25467 "\x61\x62\x63\x64\x65\x66\x67\x68"
25468 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
25469 "\x71\x72\x73\x74\x75\x76\x77\x78",
25471 .digest = "\xed\xbd\x74\xde",
25474 .key = "\xff\xff\xff\xff",
25476 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
25477 "\x81\x82\x83\x84\x85\x86\x87\x88"
25478 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
25479 "\x91\x92\x93\x94\x95\x96\x97\x98"
25480 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
25482 .digest = "\x62\xc8\x79\xd5",
25485 .key = "\xff\xff\xff\xff",
25487 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
25488 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
25489 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
25490 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
25491 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
25493 .digest = "\xd0\x9a\x97\xba",
25496 .key = "\xff\xff\xff\xff",
25498 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
25499 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
25500 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
25501 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
25502 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
25504 .digest = "\x13\xd9\x29\x2b",
25507 .key = "\x80\xea\xd3\xf1",
25509 .plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
25510 "\x31\x32\x33\x34\x35\x36\x37\x38"
25511 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
25512 "\x41\x42\x43\x44\x45\x46\x47\x48"
25513 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
25515 .digest = "\x0c\xb5\xe2\xa2",
25518 .key = "\xf3\x4a\x1d\x5d",
25520 .plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
25521 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
25522 "\x61\x62\x63\x64\x65\x66\x67\x68"
25523 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
25524 "\x71\x72\x73\x74\x75\x76\x77\x78",
25526 .digest = "\xd1\x7f\xfb\xa6",
25529 .key = "\x2e\x80\x04\x59",
25531 .plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
25532 "\x81\x82\x83\x84\x85\x86\x87\x88"
25533 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
25534 "\x91\x92\x93\x94\x95\x96\x97\x98"
25535 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
25537 .digest = "\x59\x33\xe6\x7a",
25540 .key = "\xa6\xcc\x19\x85",
25542 .plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
25543 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
25544 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
25545 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
25546 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
25548 .digest = "\xbe\x03\x01\xd2",
25551 .key = "\x41\xfc\xfe\x2d",
25553 .plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
25554 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
25555 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
25556 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
25557 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
25559 .digest = "\x75\xd3\xc5\x24",
25562 .key = "\xff\xff\xff\xff",
25564 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
25565 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
25566 "\x11\x12\x13\x14\x15\x16\x17\x18"
25567 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
25568 "\x21\x22\x23\x24\x25\x26\x27\x28"
25569 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
25570 "\x31\x32\x33\x34\x35\x36\x37\x38"
25571 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
25572 "\x41\x42\x43\x44\x45\x46\x47\x48"
25573 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
25574 "\x51\x52\x53\x54\x55\x56\x57\x58"
25575 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
25576 "\x61\x62\x63\x64\x65\x66\x67\x68"
25577 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
25578 "\x71\x72\x73\x74\x75\x76\x77\x78"
25579 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
25580 "\x81\x82\x83\x84\x85\x86\x87\x88"
25581 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
25582 "\x91\x92\x93\x94\x95\x96\x97\x98"
25583 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
25584 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
25585 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
25586 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
25587 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
25588 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
25589 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
25590 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
25591 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
25592 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
25593 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
25595 .digest = "\x75\xd3\xc5\x24",
25599 .key = "\xff\xff\xff\xff",
25601 .plaintext = "\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
25602 "\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
25603 "\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
25604 "\xa1\x38\xcf\x43\xda\x71\x08\x7c"
25605 "\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
25606 "\x85\x1c\x90\x27\xbe\x32\xc9\x60"
25607 "\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
25608 "\x46\xdd\x74\x0b\x7f\x16\xad\x21"
25609 "\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
25610 "\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
25611 "\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
25612 "\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
25613 "\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
25614 "\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
25615 "\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
25616 "\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
25617 "\x02\x99\x30\xc7\x3b\xd2\x69\x00"
25618 "\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
25619 "\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
25620 "\x58\xef\x63\xfa\x91\x05\x9c\x33"
25621 "\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
25622 "\x19\xb0\x47\xde\x52\xe9\x80\x17"
25623 "\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
25624 "\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
25625 "\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
25626 "\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
25627 "\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
25628 "\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
25629 "\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
25630 "\x86\x1d\x91\x28\xbf\x33\xca\x61"
25631 "\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
25632 "\x47\xde\x75\x0c\x80\x17\xae\x22"
25633 "\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
25634 "\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
25635 "\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
25636 "\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
25637 "\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
25638 "\xd0\x67\xfe\x72\x09\xa0\x14\xab"
25639 "\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
25640 "\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
25641 "\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
25642 "\x75\x0c\xa3\x17\xae\x45\xdc\x50"
25643 "\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
25644 "\x59\xf0\x64\xfb\x92\x06\x9d\x34"
25645 "\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
25646 "\x1a\xb1\x48\xdf\x53\xea\x81\x18"
25647 "\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
25648 "\xfe\x95\x09\xa0\x37\xce\x42\xd9"
25649 "\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
25650 "\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
25651 "\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
25652 "\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
25653 "\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
25654 "\x87\x1e\x92\x29\xc0\x34\xcb\x62"
25655 "\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
25656 "\x48\xdf\x76\x0d\x81\x18\xaf\x23"
25657 "\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
25658 "\x2c\xc3\x37\xce\x65\xfc\x70\x07"
25659 "\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
25660 "\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
25661 "\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
25662 "\xd1\x68\xff\x73\x0a\xa1\x15\xac"
25663 "\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
25664 "\xb5\x29\xc0\x57\xee\x62\xf9\x90"
25665 "\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
25666 "\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
25667 "\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
25668 "\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
25669 "\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
25670 "\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
25671 "\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
25672 "\xff\x96\x0a\xa1\x38\xcf\x43\xda"
25673 "\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
25674 "\xe3\x57\xee\x85\x1c\x90\x27\xbe"
25675 "\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
25676 "\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
25677 "\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
25678 "\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
25679 "\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
25680 "\x49\xe0\x77\x0e\x82\x19\xb0\x24"
25681 "\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
25682 "\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
25683 "\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
25684 "\x11\x85\x1c\xb3\x27\xbe\x55\xec"
25685 "\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
25686 "\xd2\x69\x00\x74\x0b\xa2\x16\xad"
25687 "\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
25688 "\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
25689 "\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
25690 "\x77\x0e\xa5\x19\xb0\x47\xde\x52"
25691 "\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
25692 "\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
25693 "\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
25694 "\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
25695 "\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
25696 "\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
25697 "\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
25698 "\xe4\x58\xef\x86\x1d\x91\x28\xbf"
25699 "\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
25700 "\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
25701 "\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
25702 "\x89\x20\x94\x2b\xc2\x36\xcd\x64"
25703 "\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
25704 "\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
25705 "\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
25706 "\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
25707 "\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
25708 "\x12\x86\x1d\xb4\x28\xbf\x56\xed"
25709 "\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
25710 "\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
25711 "\x45\xdc\x50\xe7\x7e\x15\x89\x20"
25712 "\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
25713 "\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
25714 "\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
25715 "\xea\x81\x18\x8c\x23\xba\x2e\xc5"
25716 "\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
25717 "\xce\x42\xd9\x70\x07\x7b\x12\xa9"
25718 "\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
25719 "\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
25720 "\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
25721 "\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
25722 "\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
25723 "\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
25724 "\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
25725 "\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
25726 "\x8a\x21\x95\x2c\xc3\x37\xce\x65"
25727 "\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
25728 "\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
25729 "\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
25730 "\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
25731 "\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
25732 "\x13\x87\x1e\xb5\x29\xc0\x57\xee"
25733 "\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
25734 "\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
25735 "\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
25736 "\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
25737 "\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
25738 "\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
25739 "\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
25740 "\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
25741 "\xcf\x43\xda\x71\x08\x7c\x13\xaa"
25742 "\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
25743 "\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
25744 "\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
25745 "\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
25746 "\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
25747 "\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
25748 "\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
25749 "\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
25750 "\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
25751 "\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
25752 "\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
25753 "\xbe\x55\xec\x60\xf7\x8e\x02\x99"
25754 "\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
25755 "\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
25756 "\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
25757 "\x63\xfa\x91\x05\x9c\x33\xca\x3e"
25758 "\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
25759 "\x47\xde\x52\xe9\x80\x17\x8b\x22"
25760 "\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
25761 "\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
25762 "\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
25763 "\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
25764 "\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
25765 "\xd0\x44\xdb\x72\x09\x7d\x14\xab"
25766 "\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
25767 "\x91\x28\xbf\x33\xca\x61\xf8\x6c"
25768 "\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
25769 "\x75\x0c\x80\x17\xae\x22\xb9\x50"
25770 "\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
25771 "\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
25772 "\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
25773 "\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
25774 "\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
25775 "\xfe\x72\x09\xa0\x14\xab\x42\xd9"
25776 "\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
25777 "\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
25778 "\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
25779 "\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
25780 "\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
25781 "\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
25782 "\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
25783 "\x48\xdf\x53\xea\x81\x18\x8c\x23"
25784 "\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
25785 "\x09\xa0\x37\xce\x42\xd9\x70\x07"
25786 "\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
25787 "\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
25788 "\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
25789 "\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
25790 "\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
25791 "\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
25792 "\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
25793 "\x76\x0d\x81\x18\xaf\x23\xba\x51"
25794 "\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
25795 "\x37\xce\x65\xfc\x70\x07\x9e\x12"
25796 "\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
25797 "\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
25798 "\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
25799 "\xff\x73\x0a\xa1\x15\xac\x43\xda"
25800 "\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
25801 "\xc0\x57\xee\x62\xf9\x90\x04\x9b"
25802 "\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
25803 "\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
25804 "\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
25805 "\x65\xfc\x93\x07\x9e\x35\xcc\x40"
25806 "\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
25807 "\x49\xe0\x54\xeb\x82\x19\x8d\x24"
25808 "\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
25809 "\x0a\xa1\x38\xcf\x43\xda\x71\x08"
25810 "\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
25811 "\xee\x85\x1c\x90\x27\xbe\x32\xc9"
25812 "\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
25813 "\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
25814 "\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
25815 "\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
25816 "\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
25817 "\x77\x0e\x82\x19\xb0\x24\xbb\x52"
25818 "\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
25819 "\x38\xcf\x66\xfd\x71\x08\x9f\x13"
25820 "\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
25821 "\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
25822 "\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
25823 "\x00\x74\x0b\xa2\x16\xad\x44\xdb"
25824 "\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
25825 "\xc1\x58\xef\x63\xfa\x91\x05\x9c"
25826 "\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
25827 "\xa5\x19\xb0\x47\xde\x52\xe9\x80"
25828 "\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
25829 "\x66\xfd\x94\x08\x9f\x36\xcd\x41"
25830 "\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
25831 "\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
25832 "\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
25833 "\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
25834 "\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
25835 "\xef\x86\x1d\x91\x28\xbf\x33\xca"
25836 "\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
25837 "\xd3\x47\xde\x75\x0c\x80\x17\xae"
25838 "\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
25839 "\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
25840 "\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
25841 "\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
25842 "\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
25843 "\x39\xd0\x67\xfe\x72\x09\xa0\x14"
25844 "\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
25845 "\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
25846 "\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
25847 "\x01\x75\x0c\xa3\x17\xae\x45\xdc"
25848 "\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
25849 "\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
25850 "\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
25851 "\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
25852 "\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
25853 "\x67\xfe\x95\x09\xa0\x37\xce\x42"
25854 "\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
25855 "\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
25856 "\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
25858 .digest = "\xec\x26\x4d\x95",
25863 * Blakcifn CRC test vectors
25865 #define BFIN_CRC_TEST_VECTORS 6
25867 static struct hash_testvec bfin_crc_tv_template[] = {
25870 .digest = "\x00\x00\x00\x00",
25873 .key = "\x87\xa9\xcb\xed",
25876 .digest = "\x87\xa9\xcb\xed",
25879 .key = "\xff\xff\xff\xff",
25881 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
25882 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
25883 "\x11\x12\x13\x14\x15\x16\x17\x18"
25884 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
25885 "\x21\x22\x23\x24\x25\x26\x27\x28",
25887 .digest = "\x84\x0c\x8d\xa2",
25890 .key = "\xff\xff\xff\xff",
25892 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
25893 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
25894 "\x11\x12\x13\x14\x15\x16\x17\x18"
25895 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
25896 "\x21\x22\x23\x24\x25\x26",
25898 .digest = "\x8c\x58\xec\xb7",
25901 .key = "\xff\xff\xff\xff",
25903 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
25904 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
25905 "\x11\x12\x13\x14\x15\x16\x17\x18"
25906 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
25907 "\x21\x22\x23\x24\x25\x26\x27",
25909 .digest = "\xdc\x50\x28\x7b",
25912 .key = "\xff\xff\xff\xff",
25914 .plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
25915 "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
25916 "\x11\x12\x13\x14\x15\x16\x17\x18"
25917 "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
25918 "\x21\x22\x23\x24\x25\x26\x27\x28"
25919 "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
25920 "\x31\x32\x33\x34\x35\x36\x37\x38"
25921 "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
25922 "\x41\x42\x43\x44\x45\x46\x47\x48"
25923 "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
25924 "\x51\x52\x53\x54\x55\x56\x57\x58"
25925 "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
25926 "\x61\x62\x63\x64\x65\x66\x67\x68"
25927 "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
25928 "\x71\x72\x73\x74\x75\x76\x77\x78"
25929 "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
25930 "\x81\x82\x83\x84\x85\x86\x87\x88"
25931 "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
25932 "\x91\x92\x93\x94\x95\x96\x97\x98"
25933 "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
25934 "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
25935 "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
25936 "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
25937 "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
25938 "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
25939 "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
25940 "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
25941 "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
25942 "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
25943 "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
25945 .digest = "\x10\x19\x4a\x5c",
25952 #endif /* _CRYPTO_TESTMGR_H */