xref: /openbmc/linux/crypto/testmgr.h (revision 82003e04)
1 /*
2  * Algorithm testing framework and tests.
3  *
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>
8  *
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.
17  *
18  * This program is free software; you can redistribute it and/or modify it
19  * under the terms of the GNU General Public License as published by the Free
20  * Software Foundation; either version 2 of the License, or (at your option)
21  * any later version.
22  *
23  */
24 #ifndef _CRYPTO_TESTMGR_H
25 #define _CRYPTO_TESTMGR_H
26 
27 #include <linux/netlink.h>
28 
29 #define MAX_DIGEST_SIZE		64
30 #define MAX_TAP			8
31 
32 #define MAX_KEYLEN		160
33 #define MAX_IVLEN		32
34 
35 struct hash_testvec {
36 	/* only used with keyed hash algorithms */
37 	char *key;
38 	char *plaintext;
39 	char *digest;
40 	unsigned char tap[MAX_TAP];
41 	unsigned short psize;
42 	unsigned char np;
43 	unsigned char ksize;
44 };
45 
46 /*
47  * cipher_testvec:	structure to describe a cipher test
48  * @key:	A pointer to a key used by the test
49  * @klen:	The length of @key
50  * @iv:		A pointer to the IV used by the test
51  * @input:	A pointer to data used as input
52  * @ilen	The length of data in @input
53  * @result:	A pointer to what the test need to produce
54  * @rlen:	The length of data in @result
55  * @fail:	If set to one, the test need to fail
56  * @wk:		Does the test need CRYPTO_TFM_REQ_WEAK_KEY
57  * 		( e.g. test needs to fail due to a weak key )
58  * @np: 	numbers of SG to distribute data in (from 1 to MAX_TAP)
59  * @tap:	How to distribute data in @np SGs
60  * @also_non_np: 	if set to 1, the test will be also done without
61  * 			splitting data in @np SGs
62  * @fips_skip:	Skip the test vector in FIPS mode
63  */
64 
65 struct cipher_testvec {
66 	char *key;
67 	char *iv;
68 	char *iv_out;
69 	char *input;
70 	char *result;
71 	unsigned short tap[MAX_TAP];
72 	int np;
73 	unsigned char also_non_np;
74 	bool fail;
75 	unsigned char wk; /* weak key flag */
76 	unsigned char klen;
77 	unsigned short ilen;
78 	unsigned short rlen;
79 	bool fips_skip;
80 };
81 
82 struct aead_testvec {
83 	char *key;
84 	char *iv;
85 	char *input;
86 	char *assoc;
87 	char *result;
88 	unsigned char tap[MAX_TAP];
89 	unsigned char atap[MAX_TAP];
90 	int np;
91 	int anp;
92 	bool fail;
93 	unsigned char novrfy;	/* ccm dec verification failure expected */
94 	unsigned char wk; /* weak key flag */
95 	unsigned char klen;
96 	unsigned short ilen;
97 	unsigned short alen;
98 	unsigned short rlen;
99 };
100 
101 struct cprng_testvec {
102 	char *key;
103 	char *dt;
104 	char *v;
105 	char *result;
106 	unsigned char klen;
107 	unsigned short dtlen;
108 	unsigned short vlen;
109 	unsigned short rlen;
110 	unsigned short loops;
111 };
112 
113 struct drbg_testvec {
114 	unsigned char *entropy;
115 	size_t entropylen;
116 	unsigned char *entpra;
117 	unsigned char *entprb;
118 	size_t entprlen;
119 	unsigned char *addtla;
120 	unsigned char *addtlb;
121 	size_t addtllen;
122 	unsigned char *pers;
123 	size_t perslen;
124 	unsigned char *expected;
125 	size_t expectedlen;
126 };
127 
128 struct akcipher_testvec {
129 	unsigned char *key;
130 	unsigned char *m;
131 	unsigned char *c;
132 	unsigned int key_len;
133 	unsigned int m_size;
134 	unsigned int c_size;
135 	bool public_key_vec;
136 };
137 
138 struct kpp_testvec {
139 	unsigned char *secret;
140 	unsigned char *b_public;
141 	unsigned char *expected_a_public;
142 	unsigned char *expected_ss;
143 	unsigned short secret_size;
144 	unsigned short b_public_size;
145 	unsigned short expected_a_public_size;
146 	unsigned short expected_ss_size;
147 };
148 
149 static char zeroed_string[48];
150 
151 /*
152  * RSA test vectors. Borrowed from openSSL.
153  */
154 #ifdef CONFIG_CRYPTO_FIPS
155 #define RSA_TEST_VECTORS	2
156 #else
157 #define RSA_TEST_VECTORS	5
158 #endif
159 static struct akcipher_testvec rsa_tv_template[] = {
160 	{
161 #ifndef CONFIG_CRYPTO_FIPS
162 	.key =
163 	"\x30\x81\x9A" /* sequence of 154 bytes */
164 	"\x02\x01\x01" /* version - integer of 1 byte */
165 	"\x02\x41" /* modulus - integer of 65 bytes */
166 	"\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
167 	"\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5"
168 	"\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93"
169 	"\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1"
170 	"\xF5"
171 	"\x02\x01\x11" /* public key - integer of 1 byte */
172 	"\x02\x40" /* private key - integer of 64 bytes */
173 	"\x0A\x03\x37\x48\x62\x64\x87\x69\x5F\x5F\x30\xBC\x38\xB9\x8B\x44"
174 	"\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64"
175 	"\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9"
176 	"\xDF\x8E\x8A\xE5\x9D\x73\x3D\x9F\x33\xB3\x01\x62\x4A\xFD\x1D\x51"
177 	"\x02\x01\x00" /* prime1 - integer of 1 byte */
178 	"\x02\x01\x00" /* prime2 - integer of 1 byte */
179 	"\x02\x01\x00" /* exponent1 - integer of 1 byte */
180 	"\x02\x01\x00" /* exponent2 - integer of 1 byte */
181 	"\x02\x01\x00", /* coefficient - integer of 1 byte */
182 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
183 	.c =
184 	"\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63"
185 	"\x7d\x24\xec\x83\xc3\x15\xe4\x7f\x73\x05\x34\xd1\xec\x22\xbb\x8a"
186 	"\x5e\x32\x39\x6d\xc1\x1d\x7d\x50\x3b\x9f\x7a\xad\xf0\x2e\x25\x53"
187 	"\x9f\x6e\xbd\x4c\x55\x84\x0c\x9b\xcf\x1a\x4b\x51\x1e\x9e\x0c\x06",
188 	.key_len = 157,
189 	.m_size = 8,
190 	.c_size = 64,
191 	}, {
192 	.key =
193 	"\x30\x82\x01\x1D" /* sequence of 285 bytes */
194 	"\x02\x01\x01" /* version - integer of 1 byte */
195 	"\x02\x81\x81" /* modulus - integer of 129 bytes */
196 	"\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
197 	"\xF7\x36\x8D\x07\xEE\xD4\x10\x43\xA4\x40\xD6\xB6\xF0\x74\x54\xF5"
198 	"\x1F\xB8\xDF\xBA\xAF\x03\x5C\x02\xAB\x61\xEA\x48\xCE\xEB\x6F\xCD"
199 	"\x48\x76\xED\x52\x0D\x60\xE1\xEC\x46\x19\x71\x9D\x8A\x5B\x8B\x80"
200 	"\x7F\xAF\xB8\xE0\xA3\xDF\xC7\x37\x72\x3E\xE6\xB4\xB7\xD9\x3A\x25"
201 	"\x84\xEE\x6A\x64\x9D\x06\x09\x53\x74\x88\x34\xB2\x45\x45\x98\x39"
202 	"\x4E\xE0\xAA\xB1\x2D\x7B\x61\xA5\x1F\x52\x7A\x9A\x41\xF6\xC1\x68"
203 	"\x7F\xE2\x53\x72\x98\xCA\x2A\x8F\x59\x46\xF8\xE5\xFD\x09\x1D\xBD"
204 	"\xCB"
205 	"\x02\x01\x11" /* public key - integer of 1 byte */
206 	"\x02\x81\x81"  /* private key - integer of 129 bytes */
207 	"\x00\xA5\xDA\xFC\x53\x41\xFA\xF2\x89\xC4\xB9\x88\xDB\x30\xC1\xCD"
208 	"\xF8\x3F\x31\x25\x1E\x06\x68\xB4\x27\x84\x81\x38\x01\x57\x96\x41"
209 	"\xB2\x94\x10\xB3\xC7\x99\x8D\x6B\xC4\x65\x74\x5E\x5C\x39\x26\x69"
210 	"\xD6\x87\x0D\xA2\xC0\x82\xA9\x39\xE3\x7F\xDC\xB8\x2E\xC9\x3E\xDA"
211 	"\xC9\x7F\xF3\xAD\x59\x50\xAC\xCF\xBC\x11\x1C\x76\xF1\xA9\x52\x94"
212 	"\x44\xE5\x6A\xAF\x68\xC5\x6C\x09\x2C\xD3\x8D\xC3\xBE\xF5\xD2\x0A"
213 	"\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94"
214 	"\xAF\x94\x28\xC2\xB7\xB8\x88\x3F\xE4\x46\x3A\x4B\xC8\x5B\x1C\xB3"
215 	"\xC1"
216 	"\x02\x01\x00" /* prime1 - integer of 1 byte */
217 	"\x02\x01\x00" /* prime2 - integer of 1 byte */
218 	"\x02\x01\x00" /* exponent1 - integer of 1 byte */
219 	"\x02\x01\x00" /* exponent2 - integer of 1 byte */
220 	"\x02\x01\x00", /* coefficient - integer of 1 byte */
221 	.key_len = 289,
222 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
223 	.c =
224 	"\x74\x1b\x55\xac\x47\xb5\x08\x0a\x6e\x2b\x2d\xf7\x94\xb8\x8a\x95"
225 	"\xed\xa3\x6b\xc9\x29\xee\xb2\x2c\x80\xc3\x39\x3b\x8c\x62\x45\x72"
226 	"\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f"
227 	"\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34"
228 	"\x59\x89\xaf\xf0\xba\x44\xd7\xf1\x1a\x50\x72\xef\x5e\x4a\xb6\xb7"
229 	"\x54\x34\xd1\xc4\x83\x09\xdf\x0f\x91\x5f\x7d\x91\x70\x2f\xd4\x13"
230 	"\xcc\x5e\xa4\x6c\xc3\x4d\x28\xef\xda\xaf\xec\x14\x92\xfc\xa3\x75"
231 	"\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b",
232 	.m_size = 8,
233 	.c_size = 128,
234 	}, {
235 #endif
236 	.key =
237 	"\x30\x82\x02\x1F" /* sequence of 543 bytes */
238 	"\x02\x01\x01" /* version - integer of 1 byte */
239 	"\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
240 	"\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
241 	"\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
242 	"\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
243 	"\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
244 	"\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
245 	"\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
246 	"\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
247 	"\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
248 	"\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
249 	"\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
250 	"\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
251 	"\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
252 	"\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
253 	"\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
254 	"\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
255 	"\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
256 	"\x02\x03\x01\x00\x01" /* public key - integer of 3 bytes */
257 	"\x02\x82\x01\x00" /* private key - integer of 256 bytes */
258 	"\x52\x41\xF4\xDA\x7B\xB7\x59\x55\xCA\xD4\x2F\x0F\x3A\xCB\xA4\x0D"
259 	"\x93\x6C\xCC\x9D\xC1\xB2\xFB\xFD\xAE\x40\x31\xAC\x69\x52\x21\x92"
260 	"\xB3\x27\xDF\xEA\xEE\x2C\x82\xBB\xF7\x40\x32\xD5\x14\xC4\x94\x12"
261 	"\xEC\xB8\x1F\xCA\x59\xE3\xC1\x78\xF3\x85\xD8\x47\xA5\xD7\x02\x1A"
262 	"\x65\x79\x97\x0D\x24\xF4\xF0\x67\x6E\x75\x2D\xBF\x10\x3D\xA8\x7D"
263 	"\xEF\x7F\x60\xE4\xE6\x05\x82\x89\x5D\xDF\xC6\xD2\x6C\x07\x91\x33"
264 	"\x98\x42\xF0\x02\x00\x25\x38\xC5\x85\x69\x8A\x7D\x2F\x95\x6C\x43"
265 	"\x9A\xB8\x81\xE2\xD0\x07\x35\xAA\x05\x41\xC9\x1E\xAF\xE4\x04\x3B"
266 	"\x19\xB8\x73\xA2\xAC\x4B\x1E\x66\x48\xD8\x72\x1F\xAC\xF6\xCB\xBC"
267 	"\x90\x09\xCA\xEC\x0C\xDC\xF9\x2C\xD7\xEB\xAE\xA3\xA4\x47\xD7\x33"
268 	"\x2F\x8A\xCA\xBC\x5E\xF0\x77\xE4\x97\x98\x97\xC7\x10\x91\x7D\x2A"
269 	"\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D"
270 	"\x77\xAF\x51\x27\x5B\x5E\x69\xB8\x81\xE6\x11\xC5\x43\x23\x81\x04"
271 	"\x62\xFF\xE9\x46\xB8\xD8\x44\xDB\xA5\xCC\x31\x54\x34\xCE\x3E\x82"
272 	"\xD6\xBF\x7A\x0B\x64\x21\x6D\x88\x7E\x5B\x45\x12\x1E\x63\x8D\x49"
273 	"\xA7\x1D\xD9\x1E\x06\xCD\xE8\xBA\x2C\x8C\x69\x32\xEA\xBE\x60\x71"
274 	"\x02\x01\x00" /* prime1 - integer of 1 byte */
275 	"\x02\x01\x00" /* prime2 - integer of 1 byte */
276 	"\x02\x01\x00" /* exponent1 - integer of 1 byte */
277 	"\x02\x01\x00" /* exponent2 - integer of 1 byte */
278 	"\x02\x01\x00", /* coefficient - integer of 1 byte */
279 	.key_len = 547,
280 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
281 	.c =
282 	"\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
283 	"\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
284 	"\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
285 	"\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
286 	"\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
287 	"\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
288 	"\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
289 	"\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
290 	"\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
291 	"\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
292 	"\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
293 	"\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
294 	"\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
295 	"\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
296 	"\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
297 	"\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
298 	.m_size = 8,
299 	.c_size = 256,
300 	}, {
301 	.key =
302 	"\x30\x82\x01\x09" /* sequence of 265 bytes */
303 	"\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
304 	"\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
305 	"\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
306 	"\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
307 	"\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
308 	"\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
309 	"\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
310 	"\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
311 	"\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
312 	"\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
313 	"\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
314 	"\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
315 	"\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
316 	"\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
317 	"\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
318 	"\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
319 	"\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
320 	"\x02\x03\x01\x00\x01", /* public key - integer of 3 bytes */
321 	.key_len = 269,
322 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
323 	.c =
324 	"\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
325 	"\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
326 	"\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
327 	"\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
328 	"\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
329 	"\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
330 	"\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
331 	"\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
332 	"\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
333 	"\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
334 	"\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
335 	"\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
336 	"\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
337 	"\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
338 	"\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
339 	"\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
340 	.m_size = 8,
341 	.c_size = 256,
342 	.public_key_vec = true,
343 	}, {
344 	.key =
345 	"\x30\x82\x09\x29" /* sequence of 2345 bytes */
346 	"\x02\x01\x00" /* version integer of 1 byte */
347 	"\x02\x82\x02\x01" /* modulus - integer of 513 bytes */
348 	"\x00\xC3\x8B\x55\x7B\x73\x4D\xFF\xE9\x9B\xC6\xDC\x67\x3C\xB4\x8E"
349 	"\xA0\x86\xED\xF2\xB9\x50\x5C\x54\x5C\xBA\xE4\xA1\xB2\xA7\xAE\x2F"
350 	"\x1B\x7D\xF1\xFB\xAC\x79\xC5\xDF\x1A\x00\xC9\xB2\xC1\x61\x25\x33"
351 	"\xE6\x9C\xE9\xCF\xD6\x27\xC4\x4E\x44\x30\x44\x5E\x08\xA1\x87\x52"
352 	"\xCC\x6B\x97\x70\x8C\xBC\xA5\x06\x31\x0C\xD4\x2F\xD5\x7D\x26\x24"
353 	"\xA2\xE2\xAC\x78\xF4\x53\x14\xCE\xF7\x19\x2E\xD7\xF7\xE6\x0C\xB9"
354 	"\x56\x7F\x0B\xF1\xB1\xE2\x43\x70\xBD\x86\x1D\xA1\xCC\x2B\x19\x08"
355 	"\x76\xEF\x91\xAC\xBF\x20\x24\x0D\x38\xC0\x89\xB8\x9A\x70\xB3\x64"
356 	"\xD9\x8F\x80\x41\x10\x5B\x9F\xB1\xCB\x76\x43\x00\x21\x25\x36\xD4"
357 	"\x19\xFC\x55\x95\x10\xE4\x26\x74\x98\x2C\xD9\xBD\x0B\x2B\x04\xC2"
358 	"\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25"
359 	"\xDD\x4B\xB2\xE7\x20\x0A\x57\xF9\xB4\x94\xC3\x08\x33\x22\x6F\x8B"
360 	"\x48\xDB\x03\x68\x5A\x5B\xBA\xAE\xF3\xAD\xCF\xC3\x6D\xBA\xF1\x28"
361 	"\x67\x7E\x6C\x79\x07\xDE\xFC\xED\xE7\x96\xE3\x6C\xE0\x2C\x87\xF8"
362 	"\x02\x01\x28\x38\x43\x21\x53\x84\x69\x75\x78\x15\x7E\xEE\xD2\x1B"
363 	"\xB9\x23\x40\xA8\x86\x1E\x38\x83\xB2\x73\x1D\x53\xFB\x9E\x2A\x8A"
364 	"\xB2\x75\x35\x01\xC3\xC3\xC4\x94\xE8\x84\x86\x64\x81\xF4\x42\xAA"
365 	"\x3C\x0E\xD6\x4F\xBC\x0A\x09\x2D\xE7\x1B\xD4\x10\xA8\x54\xEA\x89"
366 	"\x84\x8A\xCB\xF7\x5A\x3C\xCA\x76\x08\x29\x62\xB4\x6A\x22\xDF\x14"
367 	"\x95\x71\xFD\xB6\x86\x39\xB8\x8B\xF8\x91\x7F\x38\xAA\x14\xCD\xE5"
368 	"\xF5\x1D\xC2\x6D\x53\x69\x52\x84\x7F\xA3\x1A\x5E\x26\x04\x83\x06"
369 	"\x73\x52\x56\xCF\x76\x26\xC9\xDD\x75\xD7\xFC\xF4\x69\xD8\x7B\x55"
370 	"\xB7\x68\x13\x53\xB9\xE7\x89\xC3\xE8\xD6\x6E\xA7\x6D\xEA\x81\xFD"
371 	"\xC4\xB7\x05\x5A\xB7\x41\x0A\x23\x8E\x03\x8A\x1C\xAE\xD3\x1E\xCE"
372 	"\xE3\x5E\xFC\x19\x4A\xEE\x61\x9B\x8E\xE5\xE5\xDD\x85\xF9\x41\xEC"
373 	"\x14\x53\x92\xF7\xDD\x06\x85\x02\x91\xE3\xEB\x6C\x43\x03\xB1\x36"
374 	"\x7B\x89\x5A\xA8\xEB\xFC\xD5\xA8\x35\xDC\x81\xD9\x5C\xBD\xCA\xDC"
375 	"\x9B\x98\x0B\x06\x5D\x0C\x5B\xEE\xF3\xD5\xCC\x57\xC9\x71\x2F\x90"
376 	"\x3B\x3C\xF0\x8E\x4E\x35\x48\xAE\x63\x74\xA9\xFC\x72\x75\x8E\x34"
377 	"\xA8\xF2\x1F\xEA\xDF\x3A\x37\x2D\xE5\x39\x39\xF8\x57\x58\x3C\x04"
378 	"\xFE\x87\x06\x98\xBC\x7B\xD3\x21\x36\x60\x25\x54\xA7\x3D\xFA\x91"
379 	"\xCC\xA8\x0B\x92\x8E\xB4\xF7\x06\xFF\x1E\x95\xCB\x07\x76\x97\x3B"
380 	"\x9D"
381 	"\x02\x03\x01\x00\x01" /* public key integer of 3 bytes */
382 	"\x02\x82\x02\x00" /* private key integer of 512 bytes */
383 	"\x74\xA9\xE0\x6A\x32\xB4\xCA\x85\xD9\x86\x9F\x60\x88\x7B\x40\xCC"
384 	"\xCD\x33\x91\xA8\xB6\x25\x1F\xBF\xE3\x51\x1C\x97\xB6\x2A\xD9\xB8"
385 	"\x11\x40\x19\xE3\x21\x13\xC8\xB3\x7E\xDC\xD7\x65\x40\x4C\x2D\xD6"
386 	"\xDC\xAF\x32\x6C\x96\x75\x2C\x2C\xCA\x8F\x3F\x7A\xEE\xC4\x09\xC6"
387 	"\x24\x3A\xC9\xCF\x6D\x8D\x17\x50\x94\x52\xD3\xE7\x0F\x2F\x7E\x94"
388 	"\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38"
389 	"\xEF\xBB\x74\x8B\xA8\x6E\x8C\x08\xC6\xC7\x4F\x0C\xBC\x79\xC6\xEF"
390 	"\x0E\xA7\x5E\xE4\xF8\x8C\x09\xC7\x5E\x37\xCC\x87\x77\xCD\xCF\xD1"
391 	"\x6D\x28\x1B\xA9\x62\xC0\xB8\x16\xA7\x8B\xF9\xBB\xCC\xB4\x15\x7F"
392 	"\x1B\x69\x03\xF2\x7B\xEB\xE5\x8C\x14\xD6\x23\x4F\x52\x6F\x18\xA6"
393 	"\x4B\x5B\x01\xAD\x35\xF9\x48\x53\xB3\x86\x35\x66\xD7\xE7\x29\xC0"
394 	"\x09\xB5\xC6\xE6\xFA\xC4\xDA\x19\xBE\xD7\x4D\x41\x14\xBE\x6F\xDF"
395 	"\x1B\xAB\xC0\xCA\x88\x07\xAC\xF1\x7D\x35\x83\x67\x28\x2D\x50\xE9"
396 	"\xCE\x27\x71\x5E\x1C\xCF\xD2\x30\x65\x79\x72\x2F\x9C\xE1\xD2\x39"
397 	"\x7F\xEF\x3B\x01\xF2\x14\x1D\xDF\xBD\x51\xD3\xA1\x53\x62\xCF\x5F"
398 	"\x79\x84\xCE\x06\x96\x69\x29\x49\x82\x1C\x71\x4A\xA1\x66\xC8\x2F"
399 	"\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83"
400 	"\x87\xCB\x46\xDE\x97\xA7\xB3\xA2\x54\x5B\xD7\xAF\xAB\xEB\xC8\xF3"
401 	"\x55\x9D\x48\x2B\x30\x9C\xDC\x26\x4B\xC2\x89\x45\x13\xB2\x01\x9A"
402 	"\xA4\x65\xC3\xEC\x24\x2D\x26\x97\xEB\x80\x8A\x9D\x03\xBC\x59\x66"
403 	"\x9E\xE2\xBB\xBB\x63\x19\x64\x93\x11\x7B\x25\x65\x30\xCD\x5B\x4B"
404 	"\x2C\xFF\xDC\x2D\x30\x87\x1F\x3C\x88\x07\xD0\xFC\x48\xCC\x05\x8A"
405 	"\xA2\xC8\x39\x3E\xD5\x51\xBC\x0A\xBE\x6D\xA8\xA0\xF6\x88\x06\x79"
406 	"\x13\xFF\x1B\x45\xDA\x54\xC9\x24\x25\x8A\x75\x0A\x26\xD1\x69\x81"
407 	"\x14\x14\xD1\x79\x7D\x8E\x76\xF2\xE0\xEB\xDD\x0F\xDE\xC2\xEC\x80"
408 	"\xD7\xDC\x16\x99\x92\xBE\xCB\x40\x0C\xCE\x7C\x3B\x46\xA2\x5B\x5D"
409 	"\x0C\x45\xEB\xE1\x00\xDE\x72\x50\xB1\xA6\x0B\x76\xC5\x8D\xFC\x82"
410 	"\x38\x6D\x99\x14\x1D\x1A\x4A\xD3\x7C\x53\xB8\x12\x46\xA2\x30\x38"
411 	"\x82\xF4\x96\x6E\x8C\xCE\x47\x0D\xAF\x0A\x3B\x45\xB7\x43\x95\x43"
412 	"\x9E\x02\x2C\x44\x07\x6D\x1F\x3C\x66\x89\x09\xB6\x1F\x06\x30\xCC"
413 	"\xAD\xCE\x7D\x9A\xDE\x3E\xFB\x6C\xE4\x58\x43\xD2\x4F\xA5\x9E\x5E"
414 	"\xA7\x7B\xAE\x3A\xF6\x7E\xD9\xDB\xD3\xF5\xC5\x41\xAF\xE6\x9C\x91"
415 	"\x02\x82\x01\x01" /* prime1 - integer of 257 bytes */
416 	"\x00\xE0\xA6\x6C\xF0\xA2\xF8\x81\x85\x36\x43\xD0\x13\x0B\x33\x8B"
417 	"\x8F\x78\x3D\xAC\xC7\x5E\x46\x6A\x7F\x05\xAE\x3E\x26\x0A\xA6\xD0"
418 	"\x51\xF3\xC8\x61\xF5\x77\x22\x48\x10\x87\x4C\xD5\xA4\xD5\xAE\x2D"
419 	"\x4E\x7A\xFE\x1C\x31\xE7\x6B\xFF\xA4\x69\x20\xF9\x2A\x0B\x99\xBE"
420 	"\x7C\x32\x68\xAD\xB0\xC6\x94\x81\x41\x75\xDC\x06\x78\x0A\xB4\xCF"
421 	"\xCD\x1B\x2D\x31\xE4\x7B\xEA\xA8\x35\x99\x75\x57\xC6\x0E\xF6\x78"
422 	"\x4F\xA0\x92\x4A\x00\x1B\xE7\x96\xF2\x5B\xFD\x2C\x0A\x0A\x13\x81"
423 	"\xAF\xCB\x59\x87\x31\xD9\x83\x65\xF2\x22\x48\xD0\x03\x67\x39\xF6"
424 	"\xFF\xA8\x36\x07\x3A\x68\xE3\x7B\xA9\x64\xFD\x9C\xF7\xB1\x3D\xBF"
425 	"\x26\x5C\xCC\x7A\xFC\xA2\x8F\x51\xD1\xE1\xE2\x3C\xEC\x06\x75\x7C"
426 	"\x34\xF9\xA9\x33\x70\x11\xAD\x5A\xDC\x5F\xCF\x50\xF6\x23\x2F\x39"
427 	"\xAC\x92\x48\x53\x4D\x01\x96\x3C\xD8\xDC\x1F\x23\x23\x78\x80\x34"
428 	"\x54\x14\x76\x8B\xB6\xBB\xFB\x88\x78\x31\x59\x28\xD2\xB1\x75\x17"
429 	"\x88\x04\x4A\x78\x62\x18\x2E\xF5\xFB\x9B\xEF\x15\xD8\x16\x47\xC6"
430 	"\x42\xB1\x02\xDA\x9E\xE3\x84\x90\xB4\x2D\xC3\xCE\x13\xC9\x12\x7D"
431 	"\x3E\xCD\x39\x39\xC9\xAD\xA1\x1A\xE6\xD5\xAD\x5A\x09\x4D\x1B\x0C"
432 	"\xAB"
433 	"\x02\x82\x01\x01" /* prime 2 - integer of 257 bytes */
434 	"\x00\xDE\xD5\x1B\xF6\xCD\x83\xB1\xC6\x47\x7E\xB9\xC0\x6B\xA9\xB8"
435 	"\x02\xF3\xAE\x40\x5D\xFC\xD3\xE5\x4E\xF1\xE3\x39\x04\x52\x84\x89"
436 	"\x40\x37\xBB\xC2\xCD\x7F\x71\x77\x17\xDF\x6A\x4C\x31\x24\x7F\xB9"
437 	"\x7E\x7F\xC8\x43\x4A\x3C\xEB\x8D\x1B\x7F\x21\x51\x67\x45\x8F\xA0"
438 	"\x36\x29\x3A\x18\x45\xA5\x32\xEC\x74\x88\x3C\x98\x5D\x67\x3B\xD7"
439 	"\x51\x1F\xE9\xAE\x09\x01\xDE\xDE\x7C\xFB\x60\xD1\xA5\x6C\xE9\x6A"
440 	"\x93\x04\x02\x3A\xBB\x67\x02\xB9\xFD\x23\xF0\x02\x2B\x49\x85\xC9"
441 	"\x5B\xE7\x4B\xDF\xA3\xF4\xEE\x59\x4C\x45\xEF\x8B\xC1\x6B\xDE\xDE"
442 	"\xBC\x1A\xFC\xD2\x76\x3F\x33\x74\xA9\x8E\xA3\x7E\x0C\xC6\xCE\x70"
443 	"\xA1\x5B\xA6\x77\xEA\x76\xEB\x18\xCE\xB9\xD7\x78\x8D\xAE\x06\xBB"
444 	"\xD3\x1F\x16\x0D\x05\xAB\x4F\xC6\x52\xC8\x6B\x36\x51\x7D\x1D\x27"
445 	"\xAF\x88\x9A\x6F\xCC\x25\x2E\x74\x06\x72\xCE\x9E\xDB\xE0\x9D\x30"
446 	"\xEF\x55\xA5\x58\x21\xA7\x42\x12\x2C\x2C\x23\x87\xC1\x0F\xE8\x51"
447 	"\xDA\x53\xDA\xFC\x05\x36\xDF\x08\x0E\x08\x36\xBE\x5C\x86\x9E\xCA"
448 	"\x68\x90\x33\x12\x0B\x14\x82\xAB\x90\x1A\xD4\x49\x32\x9C\xBD\xAA"
449 	"\xAB\x4E\x38\xF1\xEE\xED\x3D\x3F\xE8\xBD\x48\x56\xA6\x64\xEE\xC8"
450 	"\xD7"
451 	"\x02\x82\x01\x01" /* exponent 1 - integer of 257 bytes */
452 	"\x00\x96\x5E\x6F\x8F\x06\xD6\xE6\x03\x1F\x96\x76\x81\x38\xBF\x30"
453 	"\xCC\x40\x84\xAF\xD0\xE7\x06\xA5\x24\x0E\xCE\x59\xA5\x26\xFE\x0F"
454 	"\x74\xBB\x83\xC6\x26\x02\xAF\x3C\xA3\x6B\x9C\xFF\x68\x0C\xEB\x40"
455 	"\x42\x46\xCB\x2E\x5E\x2C\xF4\x3A\x32\x77\x77\xED\xAF\xBA\x02\x17"
456 	"\xE1\x93\xF0\x43\x4A\x8F\x31\x39\xEF\x72\x0F\x6B\x79\x10\x59\x84"
457 	"\xBA\x5A\x55\x7F\x0E\xDB\xEE\xEE\xD6\xA9\xB8\x44\x9F\x3A\xC6\xB9"
458 	"\x33\x3B\x5C\x90\x11\xD0\x9B\xCC\x8A\xBF\x0E\x10\x5B\x4B\xF1\x50"
459 	"\x9E\x35\xB3\xE0\x6D\x7A\x95\x9C\x38\x5D\xC0\x75\x13\xC2\x15\xA7"
460 	"\x81\xEA\xBA\xF7\x4D\x9E\x85\x9D\xF1\x7D\xBA\xD0\x45\x6F\x2A\xD0"
461 	"\x76\xC2\x28\xD0\xAD\xA7\xB5\xDC\xE3\x6A\x99\xFF\x83\x50\xB3\x75"
462 	"\x07\x14\x91\xAF\xEF\x74\xB5\x9F\x9A\xE0\xBA\xA9\x0B\x87\xF3\x85"
463 	"\x5C\x40\xB2\x0E\xA7\xFD\xC6\xED\x45\x8E\xD9\x7C\xB0\xB2\x68\xC6"
464 	"\x1D\xFD\x70\x78\x06\x41\x7F\x95\x12\x36\x9D\xE2\x58\x5D\x15\xEE"
465 	"\x41\x49\xF5\xFA\xEC\x56\x19\xA0\xE6\xE0\xB2\x40\xE1\xD9\xD0\x03"
466 	"\x22\x02\xCF\xD1\x3C\x07\x38\x65\x8F\x65\x0E\xAA\x32\xCE\x25\x05"
467 	"\x16\x73\x51\xB9\x9F\x88\x0B\xCD\x30\xF3\x97\xCC\x2B\x6B\xA4\x0E"
468 	"\x6F"
469 	"\x02\x82\x01\x00" /* exponent 2 - integer of 256 bytes */
470 	"\x2A\x5F\x3F\xB8\x08\x90\x58\x47\xA9\xE4\xB1\x11\xA3\xE7\x5B\xF4"
471 	"\x43\xBE\x08\xC3\x56\x86\x3C\x7E\x6C\x84\x96\x9C\xF9\xCB\xF6\x05"
472 	"\x5E\x13\xB8\x11\x37\x80\xAD\xF2\xBE\x2B\x0A\x5D\xF5\xE0\xCB\xB7"
473 	"\x00\x39\x66\x82\x41\x5F\x51\x2F\xBF\x56\xE8\x91\xC8\xAA\x6C\xFE"
474 	"\x9F\x8C\x4A\x7D\x43\xD2\x91\x1F\xFF\x9F\xF6\x21\x1C\xB6\x46\x55"
475 	"\x48\xCA\x38\xAB\xC1\xCD\x4D\x65\x5A\xAF\xA8\x6D\xDA\x6D\xF0\x34"
476 	"\x10\x79\x14\x0D\xFA\xA2\x8C\x17\x54\xB4\x18\xD5\x7E\x5F\x90\x50"
477 	"\x87\x84\xE7\xFB\xD7\x61\x53\x5D\xAB\x96\xC7\x6E\x7A\x42\xA0\xFC"
478 	"\x07\xED\xB7\x5F\x80\xD9\x19\xFF\xFB\xFD\x9E\xC4\x73\x31\x62\x3D"
479 	"\x6C\x9E\x15\x03\x62\xA5\x85\xCC\x19\x8E\x9D\x7F\xE3\x6D\xA8\x5D"
480 	"\x96\xF5\xAC\x78\x3D\x81\x27\xE7\x29\xF1\x29\x1D\x09\xBB\x77\x86"
481 	"\x6B\x65\x62\x88\xE1\x31\x1A\x22\xF7\xC5\xCE\x73\x65\x1C\xBE\xE7"
482 	"\x63\xD3\xD3\x14\x63\x27\xAF\x28\xF3\x23\xB6\x76\xC1\xBD\x9D\x82"
483 	"\xF4\x9B\x19\x7D\x2C\x57\xF0\xC2\x2A\x51\xAE\x95\x0D\x8C\x38\x54"
484 	"\xF5\xC6\xA0\x51\xB7\x0E\xB9\xEC\xE7\x0D\x22\xF6\x1A\xD3\xFE\x16"
485 	"\x21\x03\xB7\x0D\x85\xD3\x35\xC9\xDD\xE4\x59\x85\xBE\x7F\xA1\x75"
486 	"\x02\x82\x01\x01" /* coefficient - integer of 257 bytes */
487 	"\x00\xB9\x48\xD2\x54\x2F\x19\x54\x64\xAE\x62\x80\x61\x89\x80\xB4"
488 	"\x48\x0B\x8D\x7E\x1B\x0F\x50\x08\x82\x3F\xED\x75\x84\xB7\x13\xE4"
489 	"\xF8\x8D\xA8\xBB\x54\x21\x4C\x5A\x54\x07\x16\x4B\xB4\xA4\x9E\x30"
490 	"\xBF\x7A\x30\x1B\x39\x60\xA3\x21\x53\xFB\xB0\xDC\x0F\x7C\x2C\xFB"
491 	"\xAA\x95\x7D\x51\x39\x28\x33\x1F\x25\x31\x53\xF5\xD2\x64\x2B\xF2"
492 	"\x1E\xB3\xC0\x6A\x0B\xC9\xA4\x42\x64\x5C\xFB\x15\xA3\xE8\x4C\x3A"
493 	"\x9C\x3C\xBE\xA3\x39\x83\x23\xE3\x6D\x18\xCC\xC2\xDC\x63\x8D\xBA"
494 	"\x98\xE0\xE0\x31\x4A\x2B\x37\x9C\x4D\x6B\xF3\x9F\x51\xE4\x43\x5C"
495 	"\x83\x5F\xBF\x5C\xFE\x92\x45\x01\xAF\xF5\xC2\xF4\xB7\x56\x93\xA5"
496 	"\xF4\xAA\x67\x3C\x48\x37\xBD\x9A\x3C\xFE\xA5\x9A\xB0\xD1\x6B\x85"
497 	"\xDD\x81\xD4\xFA\xAD\x31\x83\xA8\x22\x9B\xFD\xB4\x61\xDC\x7A\x51"
498 	"\x59\x62\x10\x1B\x7E\x44\xA3\xFE\x90\x51\x5A\x3E\x02\x87\xAD\xFA"
499 	"\xDD\x0B\x1F\x3D\x35\xAF\xEE\x13\x85\x51\xA7\x42\xC0\xEE\x9E\x20"
500 	"\xE9\xD0\x29\xB2\xE4\x21\xE4\x6D\x62\xB9\xF4\x48\x4A\xD8\x46\x8E"
501 	"\x61\xA6\x2C\x5D\xDF\x8F\x97\x2B\x3A\x75\x1D\x83\x17\x6F\xC6\xB0"
502 	"\xDE\xFC\x14\x25\x06\x5A\x60\xBB\xB8\x21\x89\xD1\xEF\x57\xF1\x71"
503 	"\x3D",
504 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
505 	.c =
506 	"\x5c\xce\x9c\xd7\x9a\x9e\xa1\xfe\x7a\x82\x3c\x68\x27\x98\xe3\x5d"
507 	"\xd5\xd7\x07\x29\xf5\xfb\xc3\x1a\x7f\x63\x1e\x62\x31\x3b\x19\x87"
508 	"\x79\x4f\xec\x7b\xf3\xcb\xea\x9b\x95\x52\x3a\x40\xe5\x87\x7b\x72"
509 	"\xd1\x72\xc9\xfb\x54\x63\xd8\xc9\xd7\x2c\xfc\x7b\xc3\x14\x1e\xbc"
510 	"\x18\xb4\x34\xa1\xbf\x14\xb1\x37\x31\x6e\xf0\x1b\x35\x19\x54\x07"
511 	"\xf7\x99\xec\x3e\x63\xe2\xcd\x61\x28\x65\xc3\xcd\xb1\x38\x36\xa5"
512 	"\xb2\xd7\xb0\xdc\x1f\xf5\xef\x19\xc7\x53\x32\x2d\x1c\x26\xda\xe4"
513 	"\x0d\xd6\x90\x7e\x28\xd8\xdc\xe4\x61\x05\xd2\x25\x90\x01\xd3\x96"
514 	"\x6d\xa6\xcf\x58\x20\xbb\x03\xf4\x01\xbc\x79\xb9\x18\xd8\xb8\xba"
515 	"\xbd\x93\xfc\xf2\x62\x5d\x8c\x66\x1e\x0e\x84\x59\x93\xdd\xe2\x93"
516 	"\xa2\x62\x7d\x08\x82\x7a\xdd\xfc\xb8\xbc\xc5\x4f\x9c\x4e\xbf\xb4"
517 	"\xfc\xf4\xc5\x01\xe8\x00\x70\x4d\x28\x26\xcc\x2e\xfe\x0e\x58\x41"
518 	"\x8b\xec\xaf\x7c\x4b\x54\xd0\xa0\x64\xf9\x32\xf4\x2e\x47\x65\x0a"
519 	"\x67\x88\x39\x3a\xdb\xb2\xdb\x7b\xb5\xf6\x17\xa8\xd9\xc6\x5e\x28"
520 	"\x13\x82\x8a\x99\xdb\x60\x08\xa5\x23\x37\xfa\x88\x90\x31\xc8\x9d"
521 	"\x8f\xec\xfb\x85\x9f\xb1\xce\xa6\x24\x50\x46\x44\x47\xcb\x65\xd1"
522 	"\xdf\xc0\xb1\x6c\x90\x1f\x99\x8e\x4d\xd5\x9e\x31\x07\x66\x87\xdf"
523 	"\x01\xaa\x56\x3c\x71\xe0\x2b\x6f\x67\x3b\x23\xed\xc2\xbd\x03\x30"
524 	"\x79\x76\x02\x10\x10\x98\x85\x8a\xff\xfd\x0b\xda\xa5\xd9\x32\x48"
525 	"\x02\xa0\x0b\xb9\x2a\x8a\x18\xca\xc6\x8f\x3f\xbb\x16\xb2\xaa\x98"
526 	"\x27\xe3\x60\x43\xed\x15\x70\xd4\x57\x15\xfe\x19\xd4\x9b\x13\x78"
527 	"\x8a\xf7\x21\xf1\xa2\xa2\x2d\xb3\x09\xcf\x44\x91\x6e\x08\x3a\x30"
528 	"\x81\x3e\x90\x93\x8a\x67\x33\x00\x59\x54\x9a\x25\xd3\x49\x8e\x9f"
529 	"\xc1\x4b\xe5\x86\xf3\x50\x4c\xbc\xc5\xd3\xf5\x3a\x54\xe1\x36\x3f"
530 	"\xe2\x5a\xb4\x37\xc0\xeb\x70\x35\xec\xf6\xb7\xe8\x44\x3b\x7b\xf3"
531 	"\xf1\xf2\x1e\xdb\x60\x7d\xd5\xbe\xf0\x71\x34\x90\x4c\xcb\xd4\x35"
532 	"\x51\xc7\xdd\xd8\xc9\x81\xf5\x5d\x57\x46\x2c\xb1\x7b\x9b\xaa\xcb"
533 	"\xd1\x22\x25\x49\x44\xa3\xd4\x6b\x29\x7b\xd8\xb2\x07\x93\xbf\x3d"
534 	"\x52\x49\x84\x79\xef\xb8\xe5\xc4\xad\xca\xa8\xc6\xf6\xa6\x76\x70"
535 	"\x5b\x0b\xe5\x83\xc6\x0e\xef\x55\xf2\xe7\xff\x04\xea\xe6\x13\xbe"
536 	"\x40\xe1\x40\x45\x48\x66\x75\x31\xae\x35\x64\x91\x11\x6f\xda\xee"
537 	"\x26\x86\x45\x6f\x0b\xd5\x9f\x03\xb1\x65\x5b\xdb\xa4\xe4\xf9\x45",
538 	.key_len = 2349,
539 	.m_size = 8,
540 	.c_size = 512,
541 	}
542 };
543 
544 #define DH_TEST_VECTORS 2
545 
546 struct kpp_testvec dh_tv_template[] = {
547 	{
548 	.secret =
549 #ifdef __LITTLE_ENDIAN
550 	"\x01\x00" /* type */
551 	"\x11\x02" /* len */
552 	"\x00\x01\x00\x00" /* key_size */
553 	"\x00\x01\x00\x00" /* p_size */
554 	"\x01\x00\x00\x00" /* g_size */
555 #else
556 	"\x00\x01" /* type */
557 	"\x02\x11" /* len */
558 	"\x00\x00\x01\x00" /* key_size */
559 	"\x00\x00\x01\x00" /* p_size */
560 	"\x00\x00\x00\x01" /* g_size */
561 #endif
562 	/* xa */
563 	"\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
564 	"\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
565 	"\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
566 	"\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
567 	"\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
568 	"\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
569 	"\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
570 	"\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
571 	"\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
572 	"\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
573 	"\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
574 	"\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
575 	"\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
576 	"\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
577 	"\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
578 	"\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
579 	/* p */
580 	"\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
581 	"\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
582 	"\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
583 	"\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
584 	"\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
585 	"\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
586 	"\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
587 	"\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
588 	"\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
589 	"\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
590 	"\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
591 	"\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
592 	"\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
593 	"\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
594 	"\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
595 	"\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
596 	/* g */
597 	"\x02",
598 	.b_public =
599 	"\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
600 	"\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
601 	"\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
602 	"\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
603 	"\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
604 	"\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
605 	"\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
606 	"\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
607 	"\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
608 	"\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
609 	"\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
610 	"\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
611 	"\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
612 	"\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
613 	"\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
614 	"\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
615 	.expected_a_public =
616 	"\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
617 	"\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
618 	"\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
619 	"\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
620 	"\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
621 	"\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
622 	"\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
623 	"\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
624 	"\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
625 	"\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
626 	"\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
627 	"\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
628 	"\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
629 	"\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
630 	"\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
631 	"\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
632 	.expected_ss =
633 	"\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
634 	"\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
635 	"\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
636 	"\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
637 	"\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
638 	"\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
639 	"\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
640 	"\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
641 	"\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
642 	"\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
643 	"\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
644 	"\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
645 	"\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
646 	"\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
647 	"\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
648 	"\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
649 	.secret_size = 529,
650 	.b_public_size = 256,
651 	.expected_a_public_size = 256,
652 	.expected_ss_size = 256,
653 	},
654 	{
655 	.secret =
656 #ifdef __LITTLE_ENDIAN
657 	"\x01\x00" /* type */
658 	"\x11\x02" /* len */
659 	"\x00\x01\x00\x00" /* key_size */
660 	"\x00\x01\x00\x00" /* p_size */
661 	"\x01\x00\x00\x00" /* g_size */
662 #else
663 	"\x00\x01" /* type */
664 	"\x02\x11" /* len */
665 	"\x00\x00\x01\x00" /* key_size */
666 	"\x00\x00\x01\x00" /* p_size */
667 	"\x00\x00\x00\x01" /* g_size */
668 #endif
669 	/* xa */
670 	"\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
671 	"\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
672 	"\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
673 	"\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
674 	"\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
675 	"\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
676 	"\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
677 	"\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
678 	"\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
679 	"\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
680 	"\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
681 	"\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
682 	"\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
683 	"\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
684 	"\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
685 	"\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
686 	/* p */
687 	"\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
688 	"\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
689 	"\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
690 	"\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
691 	"\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
692 	"\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
693 	"\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
694 	"\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
695 	"\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
696 	"\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
697 	"\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
698 	"\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
699 	"\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
700 	"\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
701 	"\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
702 	"\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
703 	/* g */
704 	"\x02",
705 	.b_public =
706 	"\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
707 	"\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
708 	"\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
709 	"\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
710 	"\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
711 	"\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
712 	"\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
713 	"\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
714 	"\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
715 	"\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
716 	"\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
717 	"\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
718 	"\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
719 	"\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
720 	"\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
721 	"\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
722 	.expected_a_public =
723 	"\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
724 	"\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
725 	"\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
726 	"\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
727 	"\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
728 	"\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
729 	"\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
730 	"\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
731 	"\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
732 	"\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
733 	"\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
734 	"\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
735 	"\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
736 	"\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
737 	"\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
738 	"\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
739 	.expected_ss =
740 	"\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
741 	"\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
742 	"\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
743 	"\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
744 	"\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
745 	"\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
746 	"\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
747 	"\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
748 	"\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
749 	"\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
750 	"\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
751 	"\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
752 	"\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
753 	"\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
754 	"\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
755 	"\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
756 	.secret_size = 529,
757 	.b_public_size = 256,
758 	.expected_a_public_size = 256,
759 	.expected_ss_size = 256,
760 	}
761 };
762 
763 #ifdef CONFIG_CRYPTO_FIPS
764 #define ECDH_TEST_VECTORS 1
765 #else
766 #define ECDH_TEST_VECTORS 2
767 #endif
768 struct kpp_testvec ecdh_tv_template[] = {
769 	{
770 #ifndef CONFIG_CRYPTO_FIPS
771 	.secret =
772 #ifdef __LITTLE_ENDIAN
773 	"\x02\x00" /* type */
774 	"\x20\x00" /* len */
775 	"\x01\x00" /* curve_id */
776 	"\x18\x00" /* key_size */
777 #else
778 	"\x00\x02" /* type */
779 	"\x00\x20" /* len */
780 	"\x00\x01" /* curve_id */
781 	"\x00\x18" /* key_size */
782 #endif
783 	"\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
784 	"\x4e\x19\x1e\x62\x1f\x23\x23\x31"
785 	"\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
786 	.b_public =
787 	"\xc3\xba\x67\x4b\x71\xec\xd0\x76"
788 	"\x7a\x99\x75\x64\x36\x13\x9a\x94"
789 	"\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
790 	"\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
791 	"\x83\x87\xdd\x67\x09\xf8\x8d\x96"
792 	"\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
793 	.expected_a_public =
794 	"\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
795 	"\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
796 	"\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
797 	"\x22\x90\x21\x02\xf9\x1b\x81\x5d"
798 	"\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
799 	"\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
800 	.expected_ss =
801 	"\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
802 	"\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
803 	"\x99\x80\x81\x28\xaf\xc5\x51\x74",
804 	.secret_size = 32,
805 	.b_public_size = 48,
806 	.expected_a_public_size = 48,
807 	.expected_ss_size = 24
808 	}, {
809 #endif
810 	.secret =
811 #ifdef __LITTLE_ENDIAN
812 	"\x02\x00" /* type */
813 	"\x28\x00" /* len */
814 	"\x02\x00" /* curve_id */
815 	"\x20\x00" /* key_size */
816 #else
817 	"\x00\x02" /* type */
818 	"\x00\x28" /* len */
819 	"\x00\x02" /* curve_id */
820 	"\x00\x20" /* key_size */
821 #endif
822 	"\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
823 	"\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
824 	"\x8b\xe0\x86\xc3\x20\x19\xda\x92"
825 	"\x50\x53\x03\xe1\xc0\xea\xb8\x82",
826 	.expected_a_public =
827 	"\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
828 	"\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
829 	"\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
830 	"\xb6\x63\x82\x77\x33\x24\xa1\x5f"
831 	"\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
832 	"\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
833 	"\x6a\x02\x6e\x41\x87\x68\x38\x77"
834 	"\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
835 	.expected_ss =
836 	"\xea\x17\x6f\x7e\x6e\x57\x26\x38"
837 	"\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
838 	"\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
839 	"\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
840 	.b_public =
841 	"\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
842 	"\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
843 	"\x29\xb2\x47\x03\x19\xab\xdd\x34"
844 	"\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
845 	"\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
846 	"\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
847 	"\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
848 	"\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
849 	.secret_size = 40,
850 	.b_public_size = 64,
851 	.expected_a_public_size = 64,
852 	.expected_ss_size = 32
853 	}
854 };
855 
856 /*
857  * MD4 test vectors from RFC1320
858  */
859 #define MD4_TEST_VECTORS	7
860 
861 static struct hash_testvec md4_tv_template [] = {
862 	{
863 		.plaintext = "",
864 		.digest	= "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
865 			  "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
866 	}, {
867 		.plaintext = "a",
868 		.psize	= 1,
869 		.digest	= "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
870 			  "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
871 	}, {
872 		.plaintext = "abc",
873 		.psize	= 3,
874 		.digest	= "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
875 			  "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
876 	}, {
877 		.plaintext = "message digest",
878 		.psize	= 14,
879 		.digest	= "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
880 			"\x18\x87\x48\x06\xe1\xc7\x01\x4b",
881 	}, {
882 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
883 		.psize	= 26,
884 		.digest	= "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
885 			  "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
886 		.np	= 2,
887 		.tap	= { 13, 13 },
888 	}, {
889 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
890 		.psize	= 62,
891 		.digest	= "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
892 			  "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
893 	}, {
894 		.plaintext = "123456789012345678901234567890123456789012345678901234567890123"
895 			   "45678901234567890",
896 		.psize	= 80,
897 		.digest	= "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
898 			  "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
899 	},
900 };
901 
902 #define SHA3_224_TEST_VECTORS	3
903 static struct hash_testvec sha3_224_tv_template[] = {
904 	{
905 		.plaintext = "",
906 		.digest	= "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
907 				"\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
908 				"\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
909 				"\x5b\x5a\x6b\xc7",
910 	}, {
911 		.plaintext = "a",
912 		.psize	= 1,
913 		.digest	= "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
914 				"\x40\x5f\x08\x12\x69\x68\x5b\x38"
915 				"\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
916 				"\x48\x2b\x6a\x8b",
917 	}, {
918 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
919 				"jklmklmnlmnomnopnopq",
920 		.psize	= 56,
921 		.digest	= "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
922 				"\xc9\xfd\x55\x74\x49\x44\x79\xba"
923 				"\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
924 				"\xd0\xfc\xce\x33",
925 	},
926 };
927 
928 #define SHA3_256_TEST_VECTORS	3
929 static struct hash_testvec sha3_256_tv_template[] = {
930 	{
931 		.plaintext = "",
932 		.digest	= "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
933 				"\x51\xc1\x47\x56\xa0\x61\xd6\x62"
934 				"\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
935 				"\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
936 	}, {
937 		.plaintext = "a",
938 		.psize	= 1,
939 		.digest	= "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
940 				"\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
941 				"\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
942 				"\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
943 	}, {
944 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
945 			     "jklmklmnlmnomnopnopq",
946 		.psize	= 56,
947 		.digest	= "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
948 				"\x49\x10\x03\x76\xa8\x23\x5e\x2c"
949 				"\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
950 				"\xdb\x32\xdd\x97\x49\x6d\x33\x76",
951 	},
952 };
953 
954 
955 #define SHA3_384_TEST_VECTORS	3
956 static struct hash_testvec sha3_384_tv_template[] = {
957 	{
958 		.plaintext = "",
959 		.digest	= "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
960 				"\x01\x10\x7d\x85\x2e\x4c\x24\x85"
961 				"\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
962 				"\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
963 				"\xc3\x71\x38\x31\x26\x4a\xdb\x47"
964 				"\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
965 	}, {
966 		.plaintext = "a",
967 		.psize	= 1,
968 		.digest	= "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
969 				"\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
970 				"\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
971 				"\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
972 				"\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
973 				"\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
974 	}, {
975 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
976 			     "jklmklmnlmnomnopnopq",
977 		.psize	= 56,
978 		.digest	= "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
979 				"\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
980 				"\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
981 				"\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
982 				"\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
983 				"\x9e\xef\x51\xac\xd0\x65\x7c\x22",
984 	},
985 };
986 
987 
988 #define SHA3_512_TEST_VECTORS	3
989 static struct hash_testvec sha3_512_tv_template[] = {
990 	{
991 		.plaintext = "",
992 		.digest	= "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
993 				"\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
994 				"\x97\xc9\x82\x16\x4f\xe2\x58\x59"
995 				"\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
996 				"\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
997 				"\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
998 				"\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
999 				"\x01\x75\x85\x86\x28\x1d\xcd\x26",
1000 	}, {
1001 		.plaintext = "a",
1002 		.psize	= 1,
1003 		.digest	= "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
1004 				"\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
1005 				"\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
1006 				"\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
1007 				"\x3f\x4f\x93\xff\x24\x39\x35\x86"
1008 				"\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
1009 				"\x69\x42\x0c\xe5\x33\x32\x71\x2f"
1010 				"\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
1011 	}, {
1012 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1013 			     "jklmklmnlmnomnopnopq",
1014 		.psize	= 56,
1015 		.digest	= "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
1016 				"\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
1017 				"\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
1018 				"\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
1019 				"\xee\x69\x1f\xbe\x0c\x98\x53\x02"
1020 				"\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
1021 				"\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
1022 				"\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
1023 	},
1024 };
1025 
1026 
1027 /*
1028  * MD5 test vectors from RFC1321
1029  */
1030 #define MD5_TEST_VECTORS	7
1031 
1032 static struct hash_testvec md5_tv_template[] = {
1033 	{
1034 		.digest	= "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
1035 			  "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
1036 	}, {
1037 		.plaintext = "a",
1038 		.psize	= 1,
1039 		.digest	= "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
1040 			  "\x31\xc3\x99\xe2\x69\x77\x26\x61",
1041 	}, {
1042 		.plaintext = "abc",
1043 		.psize	= 3,
1044 		.digest	= "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
1045 			  "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
1046 	}, {
1047 		.plaintext = "message digest",
1048 		.psize	= 14,
1049 		.digest	= "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
1050 			  "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
1051 	}, {
1052 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1053 		.psize	= 26,
1054 		.digest	= "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
1055 			  "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
1056 		.np	= 2,
1057 		.tap	= {13, 13}
1058 	}, {
1059 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
1060 		.psize	= 62,
1061 		.digest	= "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
1062 			  "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
1063 	}, {
1064 		.plaintext = "12345678901234567890123456789012345678901234567890123456789012"
1065 			   "345678901234567890",
1066 		.psize	= 80,
1067 		.digest	= "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
1068 			  "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
1069 	}
1070 
1071 };
1072 
1073 /*
1074  * RIPEMD-128 test vectors from ISO/IEC 10118-3:2004(E)
1075  */
1076 #define RMD128_TEST_VECTORS     10
1077 
1078 static struct hash_testvec rmd128_tv_template[] = {
1079 	{
1080 		.digest	= "\xcd\xf2\x62\x13\xa1\x50\xdc\x3e"
1081 			  "\xcb\x61\x0f\x18\xf6\xb3\x8b\x46",
1082 	}, {
1083 		.plaintext = "a",
1084 		.psize	= 1,
1085 		.digest	= "\x86\xbe\x7a\xfa\x33\x9d\x0f\xc7"
1086 			  "\xcf\xc7\x85\xe7\x2f\x57\x8d\x33",
1087 	}, {
1088 		.plaintext = "abc",
1089 		.psize	= 3,
1090 		.digest	= "\xc1\x4a\x12\x19\x9c\x66\xe4\xba"
1091 			  "\x84\x63\x6b\x0f\x69\x14\x4c\x77",
1092 	}, {
1093 		.plaintext = "message digest",
1094 		.psize	= 14,
1095 		.digest	= "\x9e\x32\x7b\x3d\x6e\x52\x30\x62"
1096 			  "\xaf\xc1\x13\x2d\x7d\xf9\xd1\xb8",
1097 	}, {
1098 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1099 		.psize	= 26,
1100 		.digest	= "\xfd\x2a\xa6\x07\xf7\x1d\xc8\xf5"
1101 			  "\x10\x71\x49\x22\xb3\x71\x83\x4e",
1102 	}, {
1103 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1104 			     "fghijklmnopqrstuvwxyz0123456789",
1105 		.psize	= 62,
1106 		.digest	= "\xd1\xe9\x59\xeb\x17\x9c\x91\x1f"
1107 			  "\xae\xa4\x62\x4c\x60\xc5\xc7\x02",
1108 	}, {
1109 		.plaintext = "1234567890123456789012345678901234567890"
1110 			     "1234567890123456789012345678901234567890",
1111 		.psize	= 80,
1112 		.digest	= "\x3f\x45\xef\x19\x47\x32\xc2\xdb"
1113 			  "\xb2\xc4\xa2\xc7\x69\x79\x5f\xa3",
1114 	}, {
1115 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1116 			     "hijkijkljklmklmnlmnomnopnopq",
1117 		.psize	= 56,
1118 		.digest	= "\xa1\xaa\x06\x89\xd0\xfa\xfa\x2d"
1119 			  "\xdc\x22\xe8\x8b\x49\x13\x3a\x06",
1120 		.np	= 2,
1121 		.tap	= { 28, 28 },
1122 	}, {
1123 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1124 			     "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1125 			     "lmnopqrsmnopqrstnopqrstu",
1126 		.psize	= 112,
1127 		.digest	= "\xd4\xec\xc9\x13\xe1\xdf\x77\x6b"
1128 			  "\xf4\x8d\xe9\xd5\x5b\x1f\x25\x46",
1129 	}, {
1130 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1131 		.psize	= 32,
1132 		.digest	= "\x13\xfc\x13\xe8\xef\xff\x34\x7d"
1133 			  "\xe1\x93\xff\x46\xdb\xac\xcf\xd4",
1134 	}
1135 };
1136 
1137 /*
1138  * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
1139  */
1140 #define RMD160_TEST_VECTORS     10
1141 
1142 static struct hash_testvec rmd160_tv_template[] = {
1143 	{
1144 		.digest	= "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
1145 			  "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
1146 	}, {
1147 		.plaintext = "a",
1148 		.psize	= 1,
1149 		.digest	= "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
1150 			  "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
1151 	}, {
1152 		.plaintext = "abc",
1153 		.psize	= 3,
1154 		.digest	= "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
1155 			  "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
1156 	}, {
1157 		.plaintext = "message digest",
1158 		.psize	= 14,
1159 		.digest	= "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
1160 			  "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
1161 	}, {
1162 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1163 		.psize	= 26,
1164 		.digest	= "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
1165 			  "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
1166 	}, {
1167 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1168 			     "fghijklmnopqrstuvwxyz0123456789",
1169 		.psize	= 62,
1170 		.digest	= "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
1171 			  "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
1172 	}, {
1173 		.plaintext = "1234567890123456789012345678901234567890"
1174 			     "1234567890123456789012345678901234567890",
1175 		.psize	= 80,
1176 		.digest	= "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
1177 			  "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
1178 	}, {
1179 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1180 			     "hijkijkljklmklmnlmnomnopnopq",
1181 		.psize	= 56,
1182 		.digest	= "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
1183 			  "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
1184 		.np	= 2,
1185 		.tap	= { 28, 28 },
1186 	}, {
1187 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1188 			     "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1189 			     "lmnopqrsmnopqrstnopqrstu",
1190 		.psize	= 112,
1191 		.digest	= "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
1192 			  "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
1193 	}, {
1194 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1195 		.psize	= 32,
1196 		.digest	= "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
1197 			  "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
1198 	}
1199 };
1200 
1201 /*
1202  * RIPEMD-256 test vectors
1203  */
1204 #define RMD256_TEST_VECTORS     8
1205 
1206 static struct hash_testvec rmd256_tv_template[] = {
1207 	{
1208 		.digest	= "\x02\xba\x4c\x4e\x5f\x8e\xcd\x18"
1209 			  "\x77\xfc\x52\xd6\x4d\x30\xe3\x7a"
1210 			  "\x2d\x97\x74\xfb\x1e\x5d\x02\x63"
1211 			  "\x80\xae\x01\x68\xe3\xc5\x52\x2d",
1212 	}, {
1213 		.plaintext = "a",
1214 		.psize	= 1,
1215 		.digest	= "\xf9\x33\x3e\x45\xd8\x57\xf5\xd9"
1216 			  "\x0a\x91\xba\xb7\x0a\x1e\xba\x0c"
1217 			  "\xfb\x1b\xe4\xb0\x78\x3c\x9a\xcf"
1218 			  "\xcd\x88\x3a\x91\x34\x69\x29\x25",
1219 	}, {
1220 		.plaintext = "abc",
1221 		.psize	= 3,
1222 		.digest	= "\xaf\xbd\x6e\x22\x8b\x9d\x8c\xbb"
1223 			  "\xce\xf5\xca\x2d\x03\xe6\xdb\xa1"
1224 			  "\x0a\xc0\xbc\x7d\xcb\xe4\x68\x0e"
1225 			  "\x1e\x42\xd2\xe9\x75\x45\x9b\x65",
1226 	}, {
1227 		.plaintext = "message digest",
1228 		.psize	= 14,
1229 		.digest	= "\x87\xe9\x71\x75\x9a\x1c\xe4\x7a"
1230 			  "\x51\x4d\x5c\x91\x4c\x39\x2c\x90"
1231 			  "\x18\xc7\xc4\x6b\xc1\x44\x65\x55"
1232 			  "\x4a\xfc\xdf\x54\xa5\x07\x0c\x0e",
1233 	}, {
1234 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1235 		.psize	= 26,
1236 		.digest	= "\x64\x9d\x30\x34\x75\x1e\xa2\x16"
1237 			  "\x77\x6b\xf9\xa1\x8a\xcc\x81\xbc"
1238 			  "\x78\x96\x11\x8a\x51\x97\x96\x87"
1239 			  "\x82\xdd\x1f\xd9\x7d\x8d\x51\x33",
1240 	}, {
1241 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1242 			     "fghijklmnopqrstuvwxyz0123456789",
1243 		.psize	= 62,
1244 		.digest	= "\x57\x40\xa4\x08\xac\x16\xb7\x20"
1245 			  "\xb8\x44\x24\xae\x93\x1c\xbb\x1f"
1246 			  "\xe3\x63\xd1\xd0\xbf\x40\x17\xf1"
1247 			  "\xa8\x9f\x7e\xa6\xde\x77\xa0\xb8",
1248 	}, {
1249 		.plaintext = "1234567890123456789012345678901234567890"
1250 			     "1234567890123456789012345678901234567890",
1251 		.psize	= 80,
1252 		.digest	= "\x06\xfd\xcc\x7a\x40\x95\x48\xaa"
1253 			  "\xf9\x13\x68\xc0\x6a\x62\x75\xb5"
1254 			  "\x53\xe3\xf0\x99\xbf\x0e\xa4\xed"
1255 			  "\xfd\x67\x78\xdf\x89\xa8\x90\xdd",
1256 	}, {
1257 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1258 			     "hijkijkljklmklmnlmnomnopnopq",
1259 		.psize	= 56,
1260 		.digest	= "\x38\x43\x04\x55\x83\xaa\xc6\xc8"
1261 			  "\xc8\xd9\x12\x85\x73\xe7\xa9\x80"
1262 			  "\x9a\xfb\x2a\x0f\x34\xcc\xc3\x6e"
1263 			  "\xa9\xe7\x2f\x16\xf6\x36\x8e\x3f",
1264 		.np	= 2,
1265 		.tap	= { 28, 28 },
1266 	}
1267 };
1268 
1269 /*
1270  * RIPEMD-320 test vectors
1271  */
1272 #define RMD320_TEST_VECTORS     8
1273 
1274 static struct hash_testvec rmd320_tv_template[] = {
1275 	{
1276 		.digest	= "\x22\xd6\x5d\x56\x61\x53\x6c\xdc\x75\xc1"
1277 			  "\xfd\xf5\xc6\xde\x7b\x41\xb9\xf2\x73\x25"
1278 			  "\xeb\xc6\x1e\x85\x57\x17\x7d\x70\x5a\x0e"
1279 			  "\xc8\x80\x15\x1c\x3a\x32\xa0\x08\x99\xb8",
1280 	}, {
1281 		.plaintext = "a",
1282 		.psize	= 1,
1283 		.digest	= "\xce\x78\x85\x06\x38\xf9\x26\x58\xa5\xa5"
1284 			  "\x85\x09\x75\x79\x92\x6d\xda\x66\x7a\x57"
1285 			  "\x16\x56\x2c\xfc\xf6\xfb\xe7\x7f\x63\x54"
1286 			  "\x2f\x99\xb0\x47\x05\xd6\x97\x0d\xff\x5d",
1287 	}, {
1288 		.plaintext = "abc",
1289 		.psize	= 3,
1290 		.digest	= "\xde\x4c\x01\xb3\x05\x4f\x89\x30\xa7\x9d"
1291 			  "\x09\xae\x73\x8e\x92\x30\x1e\x5a\x17\x08"
1292 			  "\x5b\xef\xfd\xc1\xb8\xd1\x16\x71\x3e\x74"
1293 			  "\xf8\x2f\xa9\x42\xd6\x4c\xdb\xc4\x68\x2d",
1294 	}, {
1295 		.plaintext = "message digest",
1296 		.psize	= 14,
1297 		.digest	= "\x3a\x8e\x28\x50\x2e\xd4\x5d\x42\x2f\x68"
1298 			  "\x84\x4f\x9d\xd3\x16\xe7\xb9\x85\x33\xfa"
1299 			  "\x3f\x2a\x91\xd2\x9f\x84\xd4\x25\xc8\x8d"
1300 			  "\x6b\x4e\xff\x72\x7d\xf6\x6a\x7c\x01\x97",
1301 	}, {
1302 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1303 		.psize	= 26,
1304 		.digest	= "\xca\xbd\xb1\x81\x0b\x92\x47\x0a\x20\x93"
1305 			  "\xaa\x6b\xce\x05\x95\x2c\x28\x34\x8c\xf4"
1306 			  "\x3f\xf6\x08\x41\x97\x51\x66\xbb\x40\xed"
1307 			  "\x23\x40\x04\xb8\x82\x44\x63\xe6\xb0\x09",
1308 	}, {
1309 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1310 			     "fghijklmnopqrstuvwxyz0123456789",
1311 		.psize	= 62,
1312 		.digest	= "\xed\x54\x49\x40\xc8\x6d\x67\xf2\x50\xd2"
1313 			  "\x32\xc3\x0b\x7b\x3e\x57\x70\xe0\xc6\x0c"
1314 			  "\x8c\xb9\xa4\xca\xfe\x3b\x11\x38\x8a\xf9"
1315 			  "\x92\x0e\x1b\x99\x23\x0b\x84\x3c\x86\xa4",
1316 	}, {
1317 		.plaintext = "1234567890123456789012345678901234567890"
1318 			     "1234567890123456789012345678901234567890",
1319 		.psize	= 80,
1320 		.digest	= "\x55\x78\x88\xaf\x5f\x6d\x8e\xd6\x2a\xb6"
1321 			  "\x69\x45\xc6\xd2\xa0\xa4\x7e\xcd\x53\x41"
1322 			  "\xe9\x15\xeb\x8f\xea\x1d\x05\x24\x95\x5f"
1323 			  "\x82\x5d\xc7\x17\xe4\xa0\x08\xab\x2d\x42",
1324 	}, {
1325 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1326 			     "hijkijkljklmklmnlmnomnopnopq",
1327 		.psize	= 56,
1328 		.digest	= "\xd0\x34\xa7\x95\x0c\xf7\x22\x02\x1b\xa4"
1329 			  "\xb8\x4d\xf7\x69\xa5\xde\x20\x60\xe2\x59"
1330 			  "\xdf\x4c\x9b\xb4\xa4\x26\x8c\x0e\x93\x5b"
1331 			  "\xbc\x74\x70\xa9\x69\xc9\xd0\x72\xa1\xac",
1332 		.np	= 2,
1333 		.tap	= { 28, 28 },
1334 	}
1335 };
1336 
1337 #define CRCT10DIF_TEST_VECTORS	3
1338 static struct hash_testvec crct10dif_tv_template[] = {
1339 	{
1340 		.plaintext = "abc",
1341 		.psize  = 3,
1342 #ifdef __LITTLE_ENDIAN
1343 		.digest = "\x3b\x44",
1344 #else
1345 		.digest = "\x44\x3b",
1346 #endif
1347 	}, {
1348 		.plaintext = "1234567890123456789012345678901234567890"
1349 			     "123456789012345678901234567890123456789",
1350 		.psize	= 79,
1351 #ifdef __LITTLE_ENDIAN
1352 		.digest	= "\x70\x4b",
1353 #else
1354 		.digest	= "\x4b\x70",
1355 #endif
1356 	}, {
1357 		.plaintext =
1358 		"abcddddddddddddddddddddddddddddddddddddddddddddddddddddd",
1359 		.psize  = 56,
1360 #ifdef __LITTLE_ENDIAN
1361 		.digest = "\xe3\x9c",
1362 #else
1363 		.digest = "\x9c\xe3",
1364 #endif
1365 		.np     = 2,
1366 		.tap    = { 28, 28 }
1367 	}
1368 };
1369 
1370 /*
1371  * SHA1 test vectors  from from FIPS PUB 180-1
1372  * Long vector from CAVS 5.0
1373  */
1374 #define SHA1_TEST_VECTORS	6
1375 
1376 static struct hash_testvec sha1_tv_template[] = {
1377 	{
1378 		.plaintext = "",
1379 		.psize	= 0,
1380 		.digest	= "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
1381 			  "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
1382 	}, {
1383 		.plaintext = "abc",
1384 		.psize	= 3,
1385 		.digest	= "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
1386 			  "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
1387 	}, {
1388 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1389 		.psize	= 56,
1390 		.digest	= "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
1391 			  "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
1392 		.np	= 2,
1393 		.tap	= { 28, 28 }
1394 	}, {
1395 		.plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
1396 			     "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
1397 			     "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
1398 			     "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
1399 			     "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
1400 			     "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
1401 			     "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
1402 			     "\x72\x28\x26\xc0\x66\x86\x9e\xda"
1403 			     "\xcd\x73\xb2\x54\x80\x35\x18\x58"
1404 			     "\x13\xe2\x26\x34\xa9\xda\x44\x00"
1405 			     "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
1406 			     "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
1407 			     "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
1408 			     "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
1409 			     "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
1410 			     "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
1411 			     "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
1412 			     "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
1413 			     "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
1414 			     "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
1415 			     "\x5a\x90\x11",
1416 		.psize	= 163,
1417 		.digest	= "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
1418 			  "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
1419 		.np	= 4,
1420 		.tap	= { 63, 64, 31, 5 }
1421 	}, {
1422 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1423 		.psize	= 64,
1424 		.digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
1425 			  "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
1426 	}, {
1427 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1428 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1429 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1430 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1431 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1432 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1433 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1434 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1435 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1436 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1437 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1438 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1439 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1440 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1441 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1442 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1443 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1444 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1445 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1446 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1447 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1448 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1449 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1450 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1451 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1452 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1453 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1454 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1455 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1456 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1457 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1458 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1459 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1460 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1461 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1462 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1463 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1464 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1465 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1466 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1467 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1468 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1469 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1470 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1471 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1472 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1473 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1474 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1475 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1476 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1477 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1478 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1479 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1480 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1481 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1482 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1483 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1484 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1485 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1486 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1487 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1488 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1489 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1490 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1491 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1492 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1493 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1494 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1495 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1496 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1497 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1498 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1499 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1500 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1501 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1502 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1503 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1504 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1505 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1506 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1507 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1508 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1509 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1510 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1511 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1512 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1513 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1514 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1515 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1516 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1517 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1518 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1519 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1520 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1521 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1522 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1523 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1524 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1525 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1526 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1527 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1528 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1529 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1530 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1531 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1532 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1533 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1534 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1535 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1536 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1537 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1538 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1539 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1540 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1541 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1542 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1543 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1544 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1545 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1546 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1547 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1548 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1549 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1550 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1551 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1552 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1553 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1554 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1555 		.psize     = 1023,
1556 		.digest    = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
1557 			     "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
1558 			     "\x30\xd6\xc9\x85",
1559 	}
1560 };
1561 
1562 
1563 /*
1564  * SHA224 test vectors from from FIPS PUB 180-2
1565  */
1566 #define SHA224_TEST_VECTORS     5
1567 
1568 static struct hash_testvec sha224_tv_template[] = {
1569 	{
1570 		.plaintext = "",
1571 		.psize	= 0,
1572 		.digest	= "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
1573 			  "\x47\x61\x02\xbb\x28\x82\x34\xc4"
1574 			  "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
1575 			  "\xc5\xb3\xe4\x2f",
1576 	}, {
1577 		.plaintext = "abc",
1578 		.psize  = 3,
1579 		.digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
1580 			  "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
1581 			  "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
1582 			  "\xE3\x6C\x9D\xA7",
1583 	}, {
1584 		.plaintext =
1585 		"abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1586 		.psize  = 56,
1587 		.digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
1588 			  "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
1589 			  "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
1590 			  "\x52\x52\x25\x25",
1591 		.np     = 2,
1592 		.tap    = { 28, 28 }
1593 	}, {
1594 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1595 		.psize	= 64,
1596 		.digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
1597 			  "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
1598 			  "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
1599 			  "\xef\x3b\xcb\x0e",
1600 	}, {
1601 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1602 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1603 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1604 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1605 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1606 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1607 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1608 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1609 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1610 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1611 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1612 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1613 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1614 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1615 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1616 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1617 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1618 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1619 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1620 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1621 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1622 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1623 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1624 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1625 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1626 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1627 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1628 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1629 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1630 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1631 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1632 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1633 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1634 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1635 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1636 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1637 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1638 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1639 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1640 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1641 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1642 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1643 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1644 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1645 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1646 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1647 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1648 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1649 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1650 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1651 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1652 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1653 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1654 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1655 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1656 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1657 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1658 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1659 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1660 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1661 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1662 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1663 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1664 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1665 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1666 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1667 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1668 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1669 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1670 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1671 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1672 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1673 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1674 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1675 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1676 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1677 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1678 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1679 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1680 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1681 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1682 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1683 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1684 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1685 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1686 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1687 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1688 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1689 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1690 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1691 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1692 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1693 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1694 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1695 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1696 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1697 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1698 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1699 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1700 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1701 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1702 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1703 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1704 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1705 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1706 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1707 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1708 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1709 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1710 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1711 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1712 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1713 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1714 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1715 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1716 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1717 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1718 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1719 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1720 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1721 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1722 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1723 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1724 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1725 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1726 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1727 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1728 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1729 		.psize     = 1023,
1730 		.digest    = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
1731 			     "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
1732 			     "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
1733 			     "\xe6\xf9\x4f\xcc",
1734 	}
1735 };
1736 
1737 /*
1738  * SHA256 test vectors from from NIST
1739  */
1740 #define SHA256_TEST_VECTORS	5
1741 
1742 static struct hash_testvec sha256_tv_template[] = {
1743 	{
1744 		.plaintext = "",
1745 		.psize	= 0,
1746 		.digest	= "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
1747 			  "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
1748 			  "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
1749 			  "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
1750 	}, {
1751 		.plaintext = "abc",
1752 		.psize	= 3,
1753 		.digest	= "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
1754 			  "\x41\x41\x40\xde\x5d\xae\x22\x23"
1755 			  "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
1756 			  "\xb4\x10\xff\x61\xf2\x00\x15\xad",
1757 	}, {
1758 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1759 		.psize	= 56,
1760 		.digest	= "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
1761 			  "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
1762 			  "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
1763 			  "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
1764 		.np	= 2,
1765 		.tap	= { 28, 28 }
1766 	}, {
1767 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1768 		.psize	= 64,
1769 		.digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
1770 			  "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
1771 			  "\xd6\xff\x94\xa3\x72\x91\x85\x66"
1772 			  "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
1773 	}, {
1774 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1775 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1776 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1777 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1778 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1779 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1780 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1781 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1782 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1783 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1784 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1785 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1786 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1787 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1788 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1789 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1790 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1791 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1792 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1793 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1794 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1795 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1796 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1797 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1798 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1799 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1800 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1801 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1802 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1803 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1804 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1805 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1806 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1807 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1808 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1809 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1810 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1811 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1812 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1813 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1814 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1815 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1816 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1817 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1818 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1819 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1820 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1821 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1822 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1823 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1824 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1825 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1826 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1827 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1828 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1829 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1830 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1831 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1832 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1833 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1834 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1835 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1836 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1837 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1838 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1839 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1840 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1841 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1842 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1843 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1844 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1845 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1846 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1847 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1848 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1849 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1850 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1851 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1852 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1853 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1854 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1855 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1856 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1857 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1858 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1859 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1860 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1861 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1862 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1863 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1864 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1865 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1866 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1867 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1868 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1869 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1870 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1871 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1872 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1873 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1874 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1875 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1876 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1877 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1878 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1879 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1880 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1881 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1882 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1883 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1884 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1885 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1886 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1887 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1888 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1889 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1890 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1891 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1892 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1893 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1894 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1895 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1896 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1897 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1898 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1899 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1900 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1901 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1902 		.psize     = 1023,
1903 		.digest    = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
1904 			     "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
1905 			     "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
1906 			     "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
1907 	}
1908 };
1909 
1910 /*
1911  * SHA384 test vectors from from NIST and kerneli
1912  */
1913 #define SHA384_TEST_VECTORS	6
1914 
1915 static struct hash_testvec sha384_tv_template[] = {
1916 	{
1917 		.plaintext = "",
1918 		.psize	= 0,
1919 		.digest	= "\x38\xb0\x60\xa7\x51\xac\x96\x38"
1920 			  "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
1921 			  "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
1922 			  "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
1923 			  "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
1924 			  "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
1925 	}, {
1926 		.plaintext= "abc",
1927 		.psize	= 3,
1928 		.digest	= "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
1929 			  "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
1930 			  "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
1931 			  "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
1932 			  "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
1933 			  "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
1934 	}, {
1935 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1936 		.psize	= 56,
1937 		.digest	= "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
1938 			  "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
1939 			  "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
1940 			  "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
1941 			  "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
1942 			  "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
1943 	}, {
1944 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
1945 			   "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
1946 		.psize	= 112,
1947 		.digest	= "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
1948 			  "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
1949 			  "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
1950 			  "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
1951 			  "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
1952 			  "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
1953 	}, {
1954 		.plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
1955 			   "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
1956 		.psize	= 104,
1957 		.digest	= "\x3d\x20\x89\x73\xab\x35\x08\xdb"
1958 			  "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
1959 			  "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
1960 			  "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
1961 			  "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
1962 			  "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
1963 		.np	= 4,
1964 		.tap	= { 26, 26, 26, 26 }
1965 	}, {
1966 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1967 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1968 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1969 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1970 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1971 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1972 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1973 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1974 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1975 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1976 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1977 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1978 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1979 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1980 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1981 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1982 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1983 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1984 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1985 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1986 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1987 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1988 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1989 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1990 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1991 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1992 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1993 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1994 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1995 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1996 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1997 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1998 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1999 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2000 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2001 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2002 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2003 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2004 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2005 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2006 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2007 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2008 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2009 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2010 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2011 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2012 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2013 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2014 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2015 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2016 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2017 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2018 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2019 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2020 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2021 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2022 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2023 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2024 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2025 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2026 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2027 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2028 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2029 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2030 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2031 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2032 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2033 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2034 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2035 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2036 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2037 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2038 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2039 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2040 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2041 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2042 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2043 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2044 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2045 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2046 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2047 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2048 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2049 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2050 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2051 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2052 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2053 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2054 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2055 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2056 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2057 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2058 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2059 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2060 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2061 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2062 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2063 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2064 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2065 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2066 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2067 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2068 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2069 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2070 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2071 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2072 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2073 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2074 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2075 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2076 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2077 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2078 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2079 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2080 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2081 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2082 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2083 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2084 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2085 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2086 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2087 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2088 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2089 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2090 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2091 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2092 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2093 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2094 		.psize     = 1023,
2095 		.digest    = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
2096 			     "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
2097 			     "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
2098 			     "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
2099 			     "\x75\x29\x62\x83\xae\x3f\x17\xab"
2100 			     "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
2101 	}
2102 };
2103 
2104 /*
2105  * SHA512 test vectors from from NIST and kerneli
2106  */
2107 #define SHA512_TEST_VECTORS	6
2108 
2109 static struct hash_testvec sha512_tv_template[] = {
2110 	{
2111 		.plaintext = "",
2112 		.psize	= 0,
2113 		.digest	= "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
2114 			  "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
2115 			  "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
2116 			  "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
2117 			  "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
2118 			  "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
2119 			  "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
2120 			  "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
2121 	}, {
2122 		.plaintext = "abc",
2123 		.psize	= 3,
2124 		.digest	= "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
2125 			  "\xcc\x41\x73\x49\xae\x20\x41\x31"
2126 			  "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
2127 			  "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
2128 			  "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
2129 			  "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
2130 			  "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
2131 			  "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
2132 	}, {
2133 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2134 		.psize	= 56,
2135 		.digest	= "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
2136 			  "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
2137 			  "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
2138 			  "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
2139 			  "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
2140 			  "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
2141 			  "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
2142 			  "\x54\xec\x63\x12\x38\xca\x34\x45",
2143 	}, {
2144 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
2145 			   "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
2146 		.psize	= 112,
2147 		.digest	= "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
2148 			  "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
2149 			  "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
2150 			  "\x72\x99\xae\xad\xb6\x88\x90\x18"
2151 			  "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
2152 			  "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
2153 			  "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
2154 			  "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
2155 	}, {
2156 		.plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
2157 			   "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
2158 		.psize	= 104,
2159 		.digest	= "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
2160 			  "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
2161 			  "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
2162 			  "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
2163 			  "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
2164 			  "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
2165 			  "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
2166 			  "\xed\xb4\x19\x87\x23\x28\x50\xc9",
2167 		.np	= 4,
2168 		.tap	= { 26, 26, 26, 26 }
2169 	}, {
2170 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2171 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2172 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2173 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2174 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2175 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2176 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2177 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2178 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2179 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2180 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2181 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2182 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2183 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2184 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2185 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2186 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2187 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2188 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2189 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2190 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2191 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2192 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2193 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2194 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2195 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2196 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2197 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2198 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2199 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2200 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2201 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2202 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2203 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2204 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2205 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2206 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2207 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2208 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2209 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2210 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2211 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2212 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2213 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2214 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2215 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2216 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2217 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2218 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2219 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2220 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2221 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2222 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2223 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2224 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2225 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2226 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2227 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2228 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2229 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2230 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2231 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2232 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2233 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2234 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2235 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2236 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2237 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2238 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2239 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2240 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2241 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2242 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2243 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2244 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2245 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2246 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2247 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2248 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2249 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2250 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2251 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2252 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2253 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2254 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2255 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2256 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2257 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2258 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2259 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2260 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2261 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2262 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2263 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2264 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2265 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2266 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2267 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2268 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2269 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2270 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2271 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2272 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2273 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2274 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2275 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2276 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2277 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2278 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2279 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2280 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2281 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2282 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2283 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2284 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2285 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2286 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2287 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2288 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2289 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2290 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2291 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2292 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2293 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2294 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2295 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2296 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2297 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2298 		.psize     = 1023,
2299 		.digest    = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
2300 			     "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
2301 			     "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
2302 			     "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
2303 			     "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
2304 			     "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
2305 			     "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
2306 			     "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
2307 	}
2308 };
2309 
2310 
2311 /*
2312  * WHIRLPOOL test vectors from Whirlpool package
2313  * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
2314  * submission
2315  */
2316 #define WP512_TEST_VECTORS	8
2317 
2318 static struct hash_testvec wp512_tv_template[] = {
2319 	{
2320 		.plaintext = "",
2321 		.psize	= 0,
2322 		.digest	= "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
2323 			  "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
2324 			  "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
2325 			  "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
2326 			  "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
2327 			  "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
2328 			  "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
2329 			  "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
2330 
2331 
2332 	}, {
2333 		.plaintext = "a",
2334 		.psize	= 1,
2335 		.digest	= "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
2336 			  "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
2337 			  "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
2338 			  "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
2339 			  "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
2340 			  "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
2341 			  "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
2342 			  "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
2343 	}, {
2344 		.plaintext = "abc",
2345 		.psize	= 3,
2346 		.digest	= "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
2347 			  "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
2348 			  "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
2349 			  "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
2350 			  "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
2351 			  "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
2352 			  "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
2353 			  "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
2354 	}, {
2355 		.plaintext = "message digest",
2356 		.psize	= 14,
2357 		.digest	= "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
2358 			  "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
2359 			  "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
2360 			  "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
2361 			  "\x84\x21\x55\x76\x59\xEF\x55\xC1"
2362 			  "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
2363 			  "\x92\xED\x92\x00\x52\x83\x8F\x33"
2364 			  "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
2365 	}, {
2366 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
2367 		.psize	= 26,
2368 		.digest	= "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
2369 			  "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
2370 			  "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
2371 			  "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
2372 			  "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
2373 			  "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
2374 			  "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
2375 			  "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
2376 	}, {
2377 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2378 			   "abcdefghijklmnopqrstuvwxyz0123456789",
2379 		.psize	= 62,
2380 		.digest	= "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
2381 			  "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
2382 			  "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
2383 			  "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
2384 			  "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
2385 			  "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
2386 			  "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
2387 			  "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
2388 	}, {
2389 		.plaintext = "1234567890123456789012345678901234567890"
2390 			   "1234567890123456789012345678901234567890",
2391 		.psize	= 80,
2392 		.digest	= "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
2393 			  "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
2394 			  "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
2395 			  "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
2396 			  "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
2397 			  "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
2398 			  "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
2399 			  "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
2400 	}, {
2401 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2402 		.psize	= 32,
2403 		.digest	= "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
2404 			  "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
2405 			  "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
2406 			  "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
2407 			  "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
2408 			  "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
2409 			  "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
2410 			  "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
2411 	},
2412 };
2413 
2414 #define WP384_TEST_VECTORS	8
2415 
2416 static struct hash_testvec wp384_tv_template[] = {
2417 	{
2418 		.plaintext = "",
2419 		.psize	= 0,
2420 		.digest	= "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
2421 			  "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
2422 			  "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
2423 			  "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
2424 			  "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
2425 			  "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
2426 
2427 
2428 	}, {
2429 		.plaintext = "a",
2430 		.psize	= 1,
2431 		.digest	= "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
2432 			  "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
2433 			  "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
2434 			  "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
2435 			  "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
2436 			  "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
2437 	}, {
2438 		.plaintext = "abc",
2439 		.psize	= 3,
2440 		.digest	= "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
2441 			  "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
2442 			  "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
2443 			  "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
2444 			  "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
2445 			  "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
2446 	}, {
2447 		.plaintext = "message digest",
2448 		.psize	= 14,
2449 		.digest	= "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
2450 			  "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
2451 			  "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
2452 			  "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
2453 			  "\x84\x21\x55\x76\x59\xEF\x55\xC1"
2454 			  "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
2455 	}, {
2456 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
2457 		.psize	= 26,
2458 		.digest	= "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
2459 			  "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
2460 			  "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
2461 			  "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
2462 			  "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
2463 			  "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
2464 	}, {
2465 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2466 			   "abcdefghijklmnopqrstuvwxyz0123456789",
2467 		.psize	= 62,
2468 		.digest	= "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
2469 			  "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
2470 			  "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
2471 			  "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
2472 			  "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
2473 			  "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
2474 	}, {
2475 		.plaintext = "1234567890123456789012345678901234567890"
2476 			   "1234567890123456789012345678901234567890",
2477 		.psize	= 80,
2478 		.digest	= "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
2479 			  "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
2480 			  "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
2481 			  "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
2482 			  "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
2483 			  "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
2484 	}, {
2485 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2486 		.psize	= 32,
2487 		.digest	= "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
2488 			  "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
2489 			  "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
2490 			  "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
2491 			  "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
2492 			  "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
2493 	},
2494 };
2495 
2496 #define WP256_TEST_VECTORS	8
2497 
2498 static struct hash_testvec wp256_tv_template[] = {
2499 	{
2500 		.plaintext = "",
2501 		.psize	= 0,
2502 		.digest	= "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
2503 			  "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
2504 			  "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
2505 			  "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
2506 
2507 
2508 	}, {
2509 		.plaintext = "a",
2510 		.psize	= 1,
2511 		.digest	= "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
2512 			  "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
2513 			  "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
2514 			  "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
2515 	}, {
2516 		.plaintext = "abc",
2517 		.psize	= 3,
2518 		.digest	= "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
2519 			  "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
2520 			  "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
2521 			  "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
2522 	}, {
2523 		.plaintext = "message digest",
2524 		.psize	= 14,
2525 		.digest	= "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
2526 			  "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
2527 			  "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
2528 			  "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
2529 	}, {
2530 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
2531 		.psize	= 26,
2532 		.digest	= "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
2533 			  "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
2534 			  "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
2535 			  "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
2536 	}, {
2537 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2538 			   "abcdefghijklmnopqrstuvwxyz0123456789",
2539 		.psize	= 62,
2540 		.digest	= "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
2541 			  "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
2542 			  "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
2543 			  "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
2544 	}, {
2545 		.plaintext = "1234567890123456789012345678901234567890"
2546 			   "1234567890123456789012345678901234567890",
2547 		.psize	= 80,
2548 		.digest	= "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
2549 			  "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
2550 			  "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
2551 			  "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
2552 	}, {
2553 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2554 		.psize	= 32,
2555 		.digest	= "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
2556 			  "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
2557 			  "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
2558 			  "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
2559 	},
2560 };
2561 
2562 /*
2563  * TIGER test vectors from Tiger website
2564  */
2565 #define TGR192_TEST_VECTORS	6
2566 
2567 static struct hash_testvec tgr192_tv_template[] = {
2568 	{
2569 		.plaintext = "",
2570 		.psize	= 0,
2571 		.digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
2572 			  "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
2573 			  "\xf3\x73\xde\x2d\x49\x58\x4e\x7a",
2574 	}, {
2575 		.plaintext = "abc",
2576 		.psize	= 3,
2577 		.digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
2578 			  "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
2579 			  "\x93\x5f\x7b\x95\x1c\x13\x29\x51",
2580 	}, {
2581 		.plaintext = "Tiger",
2582 		.psize	= 5,
2583 		.digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
2584 			  "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
2585 			  "\x37\x79\x0c\x11\x6f\x9d\x2b\xdf",
2586 	}, {
2587 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2588 		.psize	= 64,
2589 		.digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
2590 			  "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
2591 			  "\xb5\x86\x44\x50\x34\xa5\xa3\x86",
2592 	}, {
2593 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
2594 		.psize	= 64,
2595 		.digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
2596 			  "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
2597 			  "\x57\x89\x65\x65\x97\x5f\x91\x97",
2598 	}, {
2599 		.plaintext = "Tiger - A Fast New Hash Function, "
2600 			   "by Ross Anderson and Eli Biham, "
2601 			   "proceedings of Fast Software Encryption 3, "
2602 			   "Cambridge, 1996.",
2603 		.psize  = 125,
2604 		.digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
2605 			  "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
2606 			  "\xdd\x68\x15\x1d\x50\x39\x74\xfc",
2607 	},
2608 };
2609 
2610 #define TGR160_TEST_VECTORS	6
2611 
2612 static struct hash_testvec tgr160_tv_template[] = {
2613 	{
2614 		.plaintext = "",
2615 		.psize	= 0,
2616 		.digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
2617 			  "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
2618 			  "\xf3\x73\xde\x2d",
2619 	}, {
2620 		.plaintext = "abc",
2621 		.psize	= 3,
2622 		.digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
2623 			  "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
2624 			  "\x93\x5f\x7b\x95",
2625 	}, {
2626 		.plaintext = "Tiger",
2627 		.psize	= 5,
2628 		.digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
2629 			  "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
2630 			  "\x37\x79\x0c\x11",
2631 	}, {
2632 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2633 		.psize	= 64,
2634 		.digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
2635 			  "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
2636 			  "\xb5\x86\x44\x50",
2637 	}, {
2638 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
2639 		.psize	= 64,
2640 		.digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
2641 			  "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
2642 			  "\x57\x89\x65\x65",
2643 	}, {
2644 		.plaintext = "Tiger - A Fast New Hash Function, "
2645 			   "by Ross Anderson and Eli Biham, "
2646 			   "proceedings of Fast Software Encryption 3, "
2647 			   "Cambridge, 1996.",
2648 		.psize  = 125,
2649 		.digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
2650 			  "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
2651 			  "\xdd\x68\x15\x1d",
2652 	},
2653 };
2654 
2655 #define TGR128_TEST_VECTORS	6
2656 
2657 static struct hash_testvec tgr128_tv_template[] = {
2658 	{
2659 		.plaintext = "",
2660 		.psize	= 0,
2661 		.digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
2662 			  "\x16\x16\x6e\x76\xb1\xbb\x92\x5f",
2663 	}, {
2664 		.plaintext = "abc",
2665 		.psize	= 3,
2666 		.digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
2667 			  "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf",
2668 	}, {
2669 		.plaintext = "Tiger",
2670 		.psize	= 5,
2671 		.digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
2672 			  "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec",
2673 	}, {
2674 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2675 		.psize	= 64,
2676 		.digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
2677 			  "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e",
2678 	}, {
2679 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
2680 		.psize	= 64,
2681 		.digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
2682 			  "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9",
2683 	}, {
2684 		.plaintext = "Tiger - A Fast New Hash Function, "
2685 			   "by Ross Anderson and Eli Biham, "
2686 			   "proceedings of Fast Software Encryption 3, "
2687 			   "Cambridge, 1996.",
2688 		.psize  = 125,
2689 		.digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
2690 			  "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24",
2691 	},
2692 };
2693 
2694 #define GHASH_TEST_VECTORS 6
2695 
2696 static struct hash_testvec ghash_tv_template[] =
2697 {
2698 	{
2699 		.key	= "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
2700 			  "\xff\xca\xff\x95\xf8\x30\xf0\x61",
2701 		.ksize	= 16,
2702 		.plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
2703 			     "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
2704 		.psize	= 16,
2705 		.digest	= "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
2706 			  "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
2707 	}, {
2708 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
2709 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
2710 		.ksize	= 16,
2711 		.plaintext = "what do ya want for nothing?",
2712 		.psize	= 28,
2713 		.digest	= "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
2714 			  "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
2715 		.np	= 2,
2716 		.tap	= {14, 14}
2717 	}, {
2718 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2719 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
2720 		.ksize	= 16,
2721 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2722 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2723 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2724 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
2725 		.psize	= 50,
2726 		.digest	= "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
2727 			  "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
2728 	}, {
2729 		.key	= "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
2730 			  "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
2731 		.ksize	= 16,
2732 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2733 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2734 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2735 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
2736 		.psize	= 50,
2737 		.digest	= "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
2738 			  "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
2739 	}, {
2740 		.key	= "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
2741 			  "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
2742 		.ksize	= 16,
2743 		.plaintext = "Test With Truncation",
2744 		.psize	= 20,
2745 		.digest	= "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
2746 			  "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
2747 	}, {
2748 		.key	= "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
2749 			"\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
2750 		.ksize	= 16,
2751 		.plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
2752 			"\x65\x72\x20\x4c\x61\x75\x73\x63"
2753 			"\x68\x65\x6e\x20\x75\x6e\x64\x20"
2754 			"\x53\x74\x61\x75\x6e\x65\x6e\x20"
2755 			"\x73\x65\x69\x20\x73\x74\x69\x6c"
2756 			"\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
2757 			"\x69\x6e\x20\x74\x69\x65\x66\x74"
2758 			"\x69\x65\x66\x65\x73\x20\x4c\x65"
2759 			"\x62\x65\x6e\x3b\x0a\x64\x61\x73"
2760 			"\x73\x20\x64\x75\x20\x77\x65\x69"
2761 			"\xc3\x9f\x74\x20\x77\x61\x73\x20"
2762 			"\x64\x65\x72\x20\x57\x69\x6e\x64"
2763 			"\x20\x64\x69\x72\x20\x77\x69\x6c"
2764 			"\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
2765 			"\x63\x68\x20\x64\x69\x65\x20\x42"
2766 			"\x69\x72\x6b\x65\x6e\x20\x62\x65"
2767 			"\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
2768 			"\x64\x20\x77\x65\x6e\x6e\x20\x64"
2769 			"\x69\x72\x20\x65\x69\x6e\x6d\x61"
2770 			"\x6c\x20\x64\x61\x73\x20\x53\x63"
2771 			"\x68\x77\x65\x69\x67\x65\x6e\x20"
2772 			"\x73\x70\x72\x61\x63\x68\x2c\x0a"
2773 			"\x6c\x61\x73\x73\x20\x64\x65\x69"
2774 			"\x6e\x65\x20\x53\x69\x6e\x6e\x65"
2775 			"\x20\x62\x65\x73\x69\x65\x67\x65"
2776 			"\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
2777 			"\x20\x48\x61\x75\x63\x68\x65\x20"
2778 			"\x67\x69\x62\x74\x20\x64\x69\x63"
2779 			"\x68\x2c\x20\x67\x69\x62\x20\x6e"
2780 			"\x61\x63\x68\x2c\x0a\x65\x72\x20"
2781 			"\x77\x69\x72\x64\x20\x64\x69\x63"
2782 			"\x68\x20\x6c\x69\x65\x62\x65\x6e"
2783 			"\x20\x75\x6e\x64\x20\x77\x69\x65"
2784 			"\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
2785 			"\x64\x20\x64\x61\x6e\x6e\x20\x6d"
2786 			"\x65\x69\x6e\x65\x20\x53\x65\x65"
2787 			"\x6c\x65\x20\x73\x65\x69\x74\x20"
2788 			"\x77\x65\x69\x74\x2c\x20\x73\x65"
2789 			"\x69\x20\x77\x65\x69\x74\x2c\x0a"
2790 			"\x64\x61\x73\x73\x20\x64\x69\x72"
2791 			"\x20\x64\x61\x73\x20\x4c\x65\x62"
2792 			"\x65\x6e\x20\x67\x65\x6c\x69\x6e"
2793 			"\x67\x65\x2c\x0a\x62\x72\x65\x69"
2794 			"\x74\x65\x20\x64\x69\x63\x68\x20"
2795 			"\x77\x69\x65\x20\x65\x69\x6e\x20"
2796 			"\x46\x65\x69\x65\x72\x6b\x6c\x65"
2797 			"\x69\x64\x0a\xc3\xbc\x62\x65\x72"
2798 			"\x20\x64\x69\x65\x20\x73\x69\x6e"
2799 			"\x6e\x65\x6e\x64\x65\x6e\x20\x44"
2800 			"\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
2801 		.psize	= 400,
2802 		.digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
2803 			"\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
2804 	},
2805 };
2806 
2807 /*
2808  * HMAC-MD5 test vectors from RFC2202
2809  * (These need to be fixed to not use strlen).
2810  */
2811 #define HMAC_MD5_TEST_VECTORS	7
2812 
2813 static struct hash_testvec hmac_md5_tv_template[] =
2814 {
2815 	{
2816 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
2817 		.ksize	= 16,
2818 		.plaintext = "Hi There",
2819 		.psize	= 8,
2820 		.digest	= "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
2821 			  "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
2822 	}, {
2823 		.key	= "Jefe",
2824 		.ksize	= 4,
2825 		.plaintext = "what do ya want for nothing?",
2826 		.psize	= 28,
2827 		.digest	= "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
2828 			  "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
2829 		.np	= 2,
2830 		.tap	= {14, 14}
2831 	}, {
2832 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
2833 		.ksize	= 16,
2834 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2835 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2836 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2837 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
2838 		.psize	= 50,
2839 		.digest	= "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
2840 			  "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
2841 	}, {
2842 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
2843 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
2844 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
2845 		.ksize	= 25,
2846 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2847 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2848 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2849 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
2850 		.psize	= 50,
2851 		.digest	= "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
2852 			  "\x3a\x75\x16\x47\x46\xff\xaa\x79",
2853 	}, {
2854 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
2855 		.ksize	= 16,
2856 		.plaintext = "Test With Truncation",
2857 		.psize	= 20,
2858 		.digest	= "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
2859 			  "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
2860 	}, {
2861 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2862 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2863 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2864 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2865 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2866 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2867 			"\xaa\xaa",
2868 		.ksize	= 80,
2869 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
2870 		.psize	= 54,
2871 		.digest	= "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
2872 			  "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
2873 	}, {
2874 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2875 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2876 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2877 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2878 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2879 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2880 			"\xaa\xaa",
2881 		.ksize	= 80,
2882 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
2883 			   "Block-Size Data",
2884 		.psize	= 73,
2885 		.digest	= "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
2886 			  "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
2887 	},
2888 };
2889 
2890 /*
2891  * HMAC-RIPEMD128 test vectors from RFC2286
2892  */
2893 #define HMAC_RMD128_TEST_VECTORS	7
2894 
2895 static struct hash_testvec hmac_rmd128_tv_template[] = {
2896 	{
2897 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
2898 		.ksize	= 16,
2899 		.plaintext = "Hi There",
2900 		.psize	= 8,
2901 		.digest	= "\xfb\xf6\x1f\x94\x92\xaa\x4b\xbf"
2902 			  "\x81\xc1\x72\xe8\x4e\x07\x34\xdb",
2903 	}, {
2904 		.key	= "Jefe",
2905 		.ksize	= 4,
2906 		.plaintext = "what do ya want for nothing?",
2907 		.psize	= 28,
2908 		.digest	= "\x87\x5f\x82\x88\x62\xb6\xb3\x34"
2909 			  "\xb4\x27\xc5\x5f\x9f\x7f\xf0\x9b",
2910 		.np	= 2,
2911 		.tap	= { 14, 14 },
2912 	}, {
2913 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
2914 		.ksize	= 16,
2915 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2916 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2917 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2918 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
2919 		.psize	= 50,
2920 		.digest	= "\x09\xf0\xb2\x84\x6d\x2f\x54\x3d"
2921 			  "\xa3\x63\xcb\xec\x8d\x62\xa3\x8d",
2922 	}, {
2923 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
2924 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
2925 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
2926 		.ksize	= 25,
2927 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2928 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2929 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2930 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
2931 		.psize	= 50,
2932 		.digest	= "\xbd\xbb\xd7\xcf\x03\xe4\x4b\x5a"
2933 			  "\xa6\x0a\xf8\x15\xbe\x4d\x22\x94",
2934 	}, {
2935 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
2936 		.ksize	= 16,
2937 		.plaintext = "Test With Truncation",
2938 		.psize	= 20,
2939 		.digest	= "\xe7\x98\x08\xf2\x4b\x25\xfd\x03"
2940 			  "\x1c\x15\x5f\x0d\x55\x1d\x9a\x3a",
2941 	}, {
2942 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2943 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2944 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2945 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2946 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2947 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2948 			"\xaa\xaa",
2949 		.ksize	= 80,
2950 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
2951 		.psize	= 54,
2952 		.digest	= "\xdc\x73\x29\x28\xde\x98\x10\x4a"
2953 			  "\x1f\x59\xd3\x73\xc1\x50\xac\xbb",
2954 	}, {
2955 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2956 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2957 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2958 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2959 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2960 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2961 			"\xaa\xaa",
2962 		.ksize	= 80,
2963 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
2964 			   "Block-Size Data",
2965 		.psize	= 73,
2966 		.digest	= "\x5c\x6b\xec\x96\x79\x3e\x16\xd4"
2967 			  "\x06\x90\xc2\x37\x63\x5f\x30\xc5",
2968 	},
2969 };
2970 
2971 /*
2972  * HMAC-RIPEMD160 test vectors from RFC2286
2973  */
2974 #define HMAC_RMD160_TEST_VECTORS	7
2975 
2976 static struct hash_testvec hmac_rmd160_tv_template[] = {
2977 	{
2978 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
2979 		.ksize	= 20,
2980 		.plaintext = "Hi There",
2981 		.psize	= 8,
2982 		.digest	= "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
2983 			  "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
2984 	}, {
2985 		.key	= "Jefe",
2986 		.ksize	= 4,
2987 		.plaintext = "what do ya want for nothing?",
2988 		.psize	= 28,
2989 		.digest	= "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
2990 			  "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
2991 		.np	= 2,
2992 		.tap	= { 14, 14 },
2993 	}, {
2994 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
2995 		.ksize	= 20,
2996 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2997 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2998 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2999 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3000 		.psize	= 50,
3001 		.digest	= "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
3002 			  "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
3003 	}, {
3004 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3005 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3006 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3007 		.ksize	= 25,
3008 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3009 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3010 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3011 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3012 		.psize	= 50,
3013 		.digest	= "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
3014 			  "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
3015 	}, {
3016 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3017 		.ksize	= 20,
3018 		.plaintext = "Test With Truncation",
3019 		.psize	= 20,
3020 		.digest	= "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
3021 			  "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
3022 	}, {
3023 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3024 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3025 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3026 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3027 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3028 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3029 			"\xaa\xaa",
3030 		.ksize	= 80,
3031 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3032 		.psize	= 54,
3033 		.digest	= "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
3034 			  "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
3035 	}, {
3036 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3037 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3038 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3039 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3040 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3041 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3042 			"\xaa\xaa",
3043 		.ksize	= 80,
3044 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3045 			   "Block-Size Data",
3046 		.psize	= 73,
3047 		.digest	= "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
3048 			  "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
3049 	},
3050 };
3051 
3052 /*
3053  * HMAC-SHA1 test vectors from RFC2202
3054  */
3055 #define HMAC_SHA1_TEST_VECTORS	7
3056 
3057 static struct hash_testvec hmac_sha1_tv_template[] = {
3058 	{
3059 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3060 		.ksize	= 20,
3061 		.plaintext = "Hi There",
3062 		.psize	= 8,
3063 		.digest	= "\xb6\x17\x31\x86\x55\x05\x72\x64"
3064 			  "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
3065 			  "\x46\xbe",
3066 	}, {
3067 		.key	= "Jefe",
3068 		.ksize	= 4,
3069 		.plaintext = "what do ya want for nothing?",
3070 		.psize	= 28,
3071 		.digest	= "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
3072 			  "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
3073 		.np	= 2,
3074 		.tap	= { 14, 14 }
3075 	}, {
3076 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3077 		.ksize	= 20,
3078 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3079 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3080 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3081 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3082 		.psize	= 50,
3083 		.digest	= "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
3084 			  "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
3085 	}, {
3086 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3087 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3088 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3089 		.ksize	= 25,
3090 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3091 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3092 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3093 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3094 		.psize	= 50,
3095 		.digest	= "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
3096 			  "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
3097 	}, {
3098 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3099 		.ksize	= 20,
3100 		.plaintext = "Test With Truncation",
3101 		.psize	= 20,
3102 		.digest	= "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
3103 			  "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
3104 	}, {
3105 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3106 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3107 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3108 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3109 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3110 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3111 			"\xaa\xaa",
3112 		.ksize	= 80,
3113 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3114 		.psize	= 54,
3115 		.digest	= "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
3116 			  "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
3117 	}, {
3118 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3119 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3120 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3121 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3122 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3123 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3124 			"\xaa\xaa",
3125 		.ksize	= 80,
3126 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3127 			   "Block-Size Data",
3128 		.psize	= 73,
3129 		.digest	= "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
3130 			  "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
3131 	},
3132 };
3133 
3134 
3135 /*
3136  * SHA224 HMAC test vectors from RFC4231
3137  */
3138 #define HMAC_SHA224_TEST_VECTORS    4
3139 
3140 static struct hash_testvec hmac_sha224_tv_template[] = {
3141 	{
3142 		.key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3143 			"\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3144 			"\x0b\x0b\x0b\x0b",
3145 		.ksize  = 20,
3146 		/*  ("Hi There") */
3147 		.plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
3148 		.psize  = 8,
3149 		.digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
3150 			"\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
3151 			"\x47\xb4\xb1\x16\x99\x12\xba\x4f"
3152 			"\x53\x68\x4b\x22",
3153 	}, {
3154 		.key    = "Jefe",
3155 		.ksize  = 4,
3156 		/* ("what do ya want for nothing?") */
3157 		.plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
3158 			"\x79\x61\x20\x77\x61\x6e\x74\x20"
3159 			"\x66\x6f\x72\x20\x6e\x6f\x74\x68"
3160 			"\x69\x6e\x67\x3f",
3161 		.psize  = 28,
3162 		.digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
3163 			"\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
3164 			"\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
3165 			"\x8f\xd0\x5e\x44",
3166 		.np = 4,
3167 		.tap    = { 7, 7, 7, 7 }
3168 	}, {
3169 		.key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3170 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3171 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3172 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3173 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3174 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3175 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3176 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3177 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3178 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3179 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3180 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3181 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3182 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3183 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3184 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3185 			"\xaa\xaa\xaa",
3186 		.ksize  = 131,
3187 		/* ("Test Using Larger Than Block-Size Key - Hash Key First") */
3188 		.plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
3189 			"\x6e\x67\x20\x4c\x61\x72\x67\x65"
3190 			"\x72\x20\x54\x68\x61\x6e\x20\x42"
3191 			"\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
3192 			"\x65\x20\x4b\x65\x79\x20\x2d\x20"
3193 			"\x48\x61\x73\x68\x20\x4b\x65\x79"
3194 			"\x20\x46\x69\x72\x73\x74",
3195 		.psize  = 54,
3196 		.digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
3197 			"\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
3198 			"\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
3199 			"\x3f\xa6\x87\x0e",
3200 	}, {
3201 		.key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3202 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3203 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3204 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3205 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3206 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3207 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3208 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3209 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3210 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3211 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3212 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3213 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3214 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3215 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3216 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3217 			"\xaa\xaa\xaa",
3218 		.ksize  = 131,
3219 		/* ("This is a test using a larger than block-size key and a")
3220 		(" larger than block-size data. The key needs to be")
3221 			(" hashed before being used by the HMAC algorithm.") */
3222 		.plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
3223 			"\x61\x20\x74\x65\x73\x74\x20\x75"
3224 			"\x73\x69\x6e\x67\x20\x61\x20\x6c"
3225 			"\x61\x72\x67\x65\x72\x20\x74\x68"
3226 			"\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
3227 			"\x2d\x73\x69\x7a\x65\x20\x6b\x65"
3228 			"\x79\x20\x61\x6e\x64\x20\x61\x20"
3229 			"\x6c\x61\x72\x67\x65\x72\x20\x74"
3230 			"\x68\x61\x6e\x20\x62\x6c\x6f\x63"
3231 			"\x6b\x2d\x73\x69\x7a\x65\x20\x64"
3232 			"\x61\x74\x61\x2e\x20\x54\x68\x65"
3233 			"\x20\x6b\x65\x79\x20\x6e\x65\x65"
3234 			"\x64\x73\x20\x74\x6f\x20\x62\x65"
3235 			"\x20\x68\x61\x73\x68\x65\x64\x20"
3236 			"\x62\x65\x66\x6f\x72\x65\x20\x62"
3237 			"\x65\x69\x6e\x67\x20\x75\x73\x65"
3238 			"\x64\x20\x62\x79\x20\x74\x68\x65"
3239 			"\x20\x48\x4d\x41\x43\x20\x61\x6c"
3240 			"\x67\x6f\x72\x69\x74\x68\x6d\x2e",
3241 		.psize  = 152,
3242 		.digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
3243 			"\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
3244 			"\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
3245 			"\xf6\xf5\x65\xd1",
3246 	},
3247 };
3248 
3249 /*
3250  * HMAC-SHA256 test vectors from
3251  * draft-ietf-ipsec-ciph-sha-256-01.txt
3252  */
3253 #define HMAC_SHA256_TEST_VECTORS	10
3254 
3255 static struct hash_testvec hmac_sha256_tv_template[] = {
3256 	{
3257 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3258 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3259 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3260 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3261 		.ksize	= 32,
3262 		.plaintext = "abc",
3263 		.psize	= 3,
3264 		.digest	= "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
3265 			  "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
3266 			  "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
3267 			  "\x92\x75\x90\x21\xcf\xab\x81\x81",
3268 	}, {
3269 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3270 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3271 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3272 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3273 		.ksize	= 32,
3274 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3275 		.psize	= 56,
3276 		.digest	= "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
3277 			  "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
3278 			  "\xe6\x98\xe3\x61\x19\x42\x11\x49"
3279 			  "\xea\x8c\x71\x24\x56\x69\x7d\x30",
3280 	}, {
3281 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3282 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3283 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3284 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3285 		.ksize	= 32,
3286 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
3287 			   "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3288 		.psize	= 112,
3289 		.digest	= "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
3290 			  "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
3291 			  "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
3292 			  "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
3293 	}, {
3294 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3295 			"\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3296 			"\x0b\x0b\x0b\x0b\x0b\x0b",
3297 		.ksize	= 32,
3298 		.plaintext = "Hi There",
3299 		.psize	= 8,
3300 		.digest	= "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
3301 			  "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
3302 			  "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
3303 			  "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
3304 	}, {
3305 		.key	= "Jefe",
3306 		.ksize	= 4,
3307 		.plaintext = "what do ya want for nothing?",
3308 		.psize	= 28,
3309 		.digest	= "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
3310 			  "\x6a\x04\x24\x26\x08\x95\x75\xc7"
3311 			  "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
3312 			  "\x9d\xec\x58\xb9\x64\xec\x38\x43",
3313 		.np	= 2,
3314 		.tap	= { 14, 14 }
3315 	}, {
3316 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3317 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3318 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3319 		.ksize	= 32,
3320 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3321 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3322 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3323 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3324 		.psize	= 50,
3325 		.digest	= "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
3326 			  "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
3327 			  "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
3328 			  "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
3329 	}, {
3330 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3331 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3332 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3333 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
3334 			  "\x21\x22\x23\x24\x25",
3335 		.ksize	= 37,
3336 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3337 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3338 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3339 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3340 		.psize	= 50,
3341 		.digest	= "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
3342 			  "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
3343 			  "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
3344 			  "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
3345 	}, {
3346 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
3347 			"\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
3348 			"\x0c\x0c\x0c\x0c\x0c\x0c",
3349 		.ksize	= 32,
3350 		.plaintext = "Test With Truncation",
3351 		.psize	= 20,
3352 		.digest	= "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
3353 			  "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
3354 			  "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
3355 			  "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
3356 	}, {
3357 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3358 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3359 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3360 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3361 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3362 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3363 			"\xaa\xaa",
3364 		.ksize	= 80,
3365 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3366 		.psize	= 54,
3367 		.digest	= "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
3368 			  "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
3369 			  "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
3370 			  "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
3371 	}, {
3372 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3373 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3374 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3375 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3376 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3377 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3378 			"\xaa\xaa",
3379 		.ksize	= 80,
3380 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
3381 			   "One Block-Size Data",
3382 		.psize	= 73,
3383 		.digest	= "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
3384 			  "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
3385 			  "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
3386 			  "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
3387 	},
3388 };
3389 
3390 #define CMAC_AES_TEST_VECTORS 6
3391 
3392 static struct hash_testvec aes_cmac128_tv_template[] = {
3393 	{ /* From NIST Special Publication 800-38B, AES-128 */
3394 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3395 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3396 		.plaintext	= zeroed_string,
3397 		.digest		= "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
3398 				  "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
3399 		.psize		= 0,
3400 		.ksize		= 16,
3401 	}, {
3402 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3403 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3404 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3405 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
3406 		.digest		= "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
3407 				  "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
3408 		.psize		= 16,
3409 		.ksize		= 16,
3410 	}, {
3411 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3412 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3413 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3414 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3415 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3416 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3417 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
3418 		.digest		= "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
3419 				  "\x30\xca\x32\x61\x14\x97\xc8\x27",
3420 		.psize		= 40,
3421 		.ksize		= 16,
3422 	}, {
3423 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3424 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3425 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3426 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3427 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3428 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3429 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3430 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3431 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3432 				  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
3433 		.digest		= "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
3434 				  "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
3435 		.psize		= 64,
3436 		.ksize		= 16,
3437 	}, { /* From NIST Special Publication 800-38B, AES-256 */
3438 		.key		= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
3439 				  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
3440 				  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
3441 				  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
3442 		.plaintext	= zeroed_string,
3443 		.digest		= "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
3444 				  "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
3445 		.psize		= 0,
3446 		.ksize		= 32,
3447 	}, {
3448 		.key		= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
3449 				  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
3450 				  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
3451 				  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
3452 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3453 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3454 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3455 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3456 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3457 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3458 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3459 				  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
3460 		.digest		= "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
3461 				  "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
3462 		.psize		= 64,
3463 		.ksize		= 32,
3464 	}
3465 };
3466 
3467 #define CMAC_DES3_EDE_TEST_VECTORS 4
3468 
3469 static struct hash_testvec des3_ede_cmac64_tv_template[] = {
3470 /*
3471  * From NIST Special Publication 800-38B, Three Key TDEA
3472  * Corrected test vectors from:
3473  *  http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
3474  */
3475 	{
3476 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3477 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3478 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3479 		.plaintext	= zeroed_string,
3480 		.digest		= "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
3481 		.psize		= 0,
3482 		.ksize		= 24,
3483 	}, {
3484 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3485 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3486 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3487 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
3488 		.digest		= "\x8e\x8f\x29\x31\x36\x28\x37\x97",
3489 		.psize		= 8,
3490 		.ksize		= 24,
3491 	}, {
3492 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3493 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3494 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3495 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3496 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3497 				  "\xae\x2d\x8a\x57",
3498 		.digest		= "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
3499 		.psize		= 20,
3500 		.ksize		= 24,
3501 	}, {
3502 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3503 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3504 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3505 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3506 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3507 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3508 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
3509 		.digest		= "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
3510 		.psize		= 32,
3511 		.ksize		= 24,
3512 	}
3513 };
3514 
3515 #define XCBC_AES_TEST_VECTORS 6
3516 
3517 static struct hash_testvec aes_xcbc128_tv_template[] = {
3518 	{
3519 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3520 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3521 		.plaintext = zeroed_string,
3522 		.digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
3523 			  "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
3524 		.psize	= 0,
3525 		.ksize	= 16,
3526 	}, {
3527 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3528 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3529 		.plaintext = "\x00\x01\x02",
3530 		.digest	= "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
3531 			  "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
3532 		.psize	= 3,
3533 		.ksize	= 16,
3534 	} , {
3535 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3536 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3537 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3538 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3539 		.digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
3540 			  "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
3541 		.psize	= 16,
3542 		.ksize	= 16,
3543 	}, {
3544 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3545 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3546 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3547 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3548 			     "\x10\x11\x12\x13",
3549 		.digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
3550 			  "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
3551 		.tap	= { 10, 10 },
3552 		.psize	= 20,
3553 		.np	= 2,
3554 		.ksize	= 16,
3555 	}, {
3556 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3557 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3558 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3559 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3560 			     "\x10\x11\x12\x13\x14\x15\x16\x17"
3561 			     "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
3562 		.digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
3563 			  "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
3564 		.psize	= 32,
3565 		.ksize	= 16,
3566 	}, {
3567 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3568 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3569 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3570 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3571 			     "\x10\x11\x12\x13\x14\x15\x16\x17"
3572 			     "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
3573 			     "\x20\x21",
3574 		.digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
3575 			  "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
3576 		.tap	= { 17, 17 },
3577 		.psize	= 34,
3578 		.np	= 2,
3579 		.ksize	= 16,
3580 	}
3581 };
3582 
3583 #define VMAC_AES_TEST_VECTORS	11
3584 static char vmac_string1[128] = {'\x01', '\x01', '\x01', '\x01',
3585 				'\x02', '\x03', '\x02', '\x02',
3586 				'\x02', '\x04', '\x01', '\x07',
3587 				'\x04', '\x01', '\x04', '\x03',};
3588 static char vmac_string2[128] = {'a', 'b', 'c',};
3589 static char vmac_string3[128] = {'a', 'b', 'c', 'a', 'b', 'c',
3590 				'a', 'b', 'c', 'a', 'b', 'c',
3591 				'a', 'b', 'c', 'a', 'b', 'c',
3592 				'a', 'b', 'c', 'a', 'b', 'c',
3593 				'a', 'b', 'c', 'a', 'b', 'c',
3594 				'a', 'b', 'c', 'a', 'b', 'c',
3595 				'a', 'b', 'c', 'a', 'b', 'c',
3596 				'a', 'b', 'c', 'a', 'b', 'c',
3597 				};
3598 
3599 static char vmac_string4[17] = {'b', 'c', 'e', 'f',
3600 				'i', 'j', 'l', 'm',
3601 				'o', 'p', 'r', 's',
3602 				't', 'u', 'w', 'x', 'z'};
3603 
3604 static char vmac_string5[127] = {'r', 'm', 'b', 't', 'c',
3605 				 'o', 'l', 'k', ']', '%',
3606 				 '9', '2', '7', '!', 'A'};
3607 
3608 static char vmac_string6[129] = {'p', 't', '*', '7', 'l',
3609 				 'i', '!', '#', 'w', '0',
3610 				 'z', '/', '4', 'A', 'n'};
3611 
3612 static struct hash_testvec aes_vmac128_tv_template[] = {
3613 	{
3614 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3615 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3616 		.plaintext = NULL,
3617 		.digest	= "\x07\x58\x80\x35\x77\xa4\x7b\x54",
3618 		.psize	= 0,
3619 		.ksize	= 16,
3620 	}, {
3621 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
3622 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3623 		.plaintext = vmac_string1,
3624 		.digest = "\xce\xf5\x3c\xd3\xae\x68\x8c\xa1",
3625 		.psize  = 128,
3626 		.ksize  = 16,
3627 	}, {
3628 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
3629 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3630 		.plaintext = vmac_string2,
3631 		.digest = "\xc9\x27\xb0\x73\x81\xbd\x14\x2d",
3632 		.psize  = 128,
3633 		.ksize  = 16,
3634 	}, {
3635 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
3636 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3637 		.plaintext = vmac_string3,
3638 		.digest = "\x8d\x1a\x95\x8c\x98\x47\x0b\x19",
3639 		.psize  = 128,
3640 		.ksize  = 16,
3641 	}, {
3642 		.key	= "abcdefghijklmnop",
3643 		.plaintext = NULL,
3644 		.digest	= "\x3b\x89\xa1\x26\x9e\x55\x8f\x84",
3645 		.psize	= 0,
3646 		.ksize	= 16,
3647 	}, {
3648 		.key    = "abcdefghijklmnop",
3649 		.plaintext = vmac_string1,
3650 		.digest = "\xab\x5e\xab\xb0\xf6\x8d\x74\xc2",
3651 		.psize  = 128,
3652 		.ksize  = 16,
3653 	}, {
3654 		.key    = "abcdefghijklmnop",
3655 		.plaintext = vmac_string2,
3656 		.digest = "\x11\x15\x68\x42\x3d\x7b\x09\xdf",
3657 		.psize  = 128,
3658 		.ksize  = 16,
3659 	}, {
3660 		.key    = "abcdefghijklmnop",
3661 		.plaintext = vmac_string3,
3662 		.digest = "\x8b\x32\x8f\xe1\xed\x8f\xfa\xd4",
3663 		.psize  = 128,
3664 		.ksize  = 16,
3665 	}, {
3666 		.key = "a09b5cd!f#07K\x00\x00\x00",
3667 		.plaintext = vmac_string4,
3668 		.digest = "\xab\xa5\x0f\xea\x42\x4e\xa1\x5f",
3669 		.psize = sizeof(vmac_string4),
3670 		.ksize = 16,
3671 	}, {
3672 		.key = "a09b5cd!f#07K\x00\x00\x00",
3673 		.plaintext = vmac_string5,
3674 		.digest = "\x25\x31\x98\xbc\x1d\xe8\x67\x60",
3675 		.psize = sizeof(vmac_string5),
3676 		.ksize = 16,
3677 	}, {
3678 		.key = "a09b5cd!f#07K\x00\x00\x00",
3679 		.plaintext = vmac_string6,
3680 		.digest = "\xc4\xae\x9b\x47\x95\x65\xeb\x41",
3681 		.psize = sizeof(vmac_string6),
3682 		.ksize = 16,
3683 	},
3684 };
3685 
3686 /*
3687  * SHA384 HMAC test vectors from RFC4231
3688  */
3689 
3690 #define HMAC_SHA384_TEST_VECTORS	4
3691 
3692 static struct hash_testvec hmac_sha384_tv_template[] = {
3693 	{
3694 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3695 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3696 			  "\x0b\x0b\x0b\x0b",
3697 		.ksize	= 20,
3698 		.plaintext = "Hi There",
3699 		.psize	= 8,
3700 		.digest	= "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
3701 			  "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
3702 			  "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
3703 			  "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
3704 			  "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
3705 			  "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
3706 	}, {
3707 		.key	= "Jefe",
3708 		.ksize	= 4,
3709 		.plaintext = "what do ya want for nothing?",
3710 		.psize	= 28,
3711 		.digest	= "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
3712 			  "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
3713 			  "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
3714 			  "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
3715 			  "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
3716 			  "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
3717 		.np	= 4,
3718 		.tap	= { 7, 7, 7, 7 }
3719 	}, {
3720 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3721 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3722 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3723 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3724 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3725 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3726 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3727 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3728 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3729 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3730 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3731 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3732 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3733 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3734 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3735 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3736 			  "\xaa\xaa\xaa",
3737 		.ksize	= 131,
3738 		.plaintext = "Test Using Larger Than Block-Siz"
3739 			   "e Key - Hash Key First",
3740 		.psize	= 54,
3741 		.digest	= "\x4e\xce\x08\x44\x85\x81\x3e\x90"
3742 			  "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
3743 			  "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
3744 			  "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
3745 			  "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
3746 			  "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
3747 	}, {
3748 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3749 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3750 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3751 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3752 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3753 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3754 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3755 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3756 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3757 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3758 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3759 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3760 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3761 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3762 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3763 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3764 			  "\xaa\xaa\xaa",
3765 		.ksize	= 131,
3766 		.plaintext = "This is a test u"
3767 			   "sing a larger th"
3768 			   "an block-size ke"
3769 			   "y and a larger t"
3770 			   "han block-size d"
3771 			   "ata. The key nee"
3772 			   "ds to be hashed "
3773 			   "before being use"
3774 			   "d by the HMAC al"
3775 			   "gorithm.",
3776 		.psize	= 152,
3777 		.digest	= "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
3778 			  "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
3779 			  "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
3780 			  "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
3781 			  "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
3782 			  "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
3783 	},
3784 };
3785 
3786 /*
3787  * SHA512 HMAC test vectors from RFC4231
3788  */
3789 
3790 #define HMAC_SHA512_TEST_VECTORS	4
3791 
3792 static struct hash_testvec hmac_sha512_tv_template[] = {
3793 	{
3794 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3795 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3796 			  "\x0b\x0b\x0b\x0b",
3797 		.ksize	= 20,
3798 		.plaintext = "Hi There",
3799 		.psize	= 8,
3800 		.digest	= "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
3801 			  "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
3802 			  "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
3803 			  "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
3804 			  "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
3805 			  "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
3806 			  "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
3807 			  "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
3808 	}, {
3809 		.key	= "Jefe",
3810 		.ksize	= 4,
3811 		.plaintext = "what do ya want for nothing?",
3812 		.psize	= 28,
3813 		.digest	= "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
3814 			  "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
3815 			  "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
3816 			  "\x10\x27\x0c\xd7\xea\x25\x05\x54"
3817 			  "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
3818 			  "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
3819 			  "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
3820 			  "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
3821 		.np	= 4,
3822 		.tap	= { 7, 7, 7, 7 }
3823 	}, {
3824 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3825 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3826 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3827 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3828 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3829 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3830 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3831 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3832 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3833 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3834 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3835 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3836 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3837 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3838 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3839 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3840 			  "\xaa\xaa\xaa",
3841 		.ksize	= 131,
3842 		.plaintext = "Test Using Large"
3843 			   "r Than Block-Siz"
3844 			   "e Key - Hash Key"
3845 			   " First",
3846 		.psize	= 54,
3847 		.digest	= "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
3848 			"\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
3849 			"\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
3850 			"\x12\x1b\x01\x37\x83\xf8\xf3\x52"
3851 			"\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
3852 			"\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
3853 			"\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
3854 			"\x8b\x91\x5a\x98\x5d\x78\x65\x98",
3855 	}, {
3856 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3857 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3858 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3859 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3860 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3861 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3862 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3863 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3864 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3865 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3866 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3867 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3868 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3869 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3870 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3871 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3872 			"\xaa\xaa\xaa",
3873 		.ksize	= 131,
3874 		.plaintext =
3875 			  "This is a test u"
3876 			  "sing a larger th"
3877 			  "an block-size ke"
3878 			  "y and a larger t"
3879 			  "han block-size d"
3880 			  "ata. The key nee"
3881 			  "ds to be hashed "
3882 			  "before being use"
3883 			  "d by the HMAC al"
3884 			  "gorithm.",
3885 		.psize	= 152,
3886 		.digest	= "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
3887 			"\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
3888 			"\xde\xbd\x71\xf8\x86\x72\x89\x86"
3889 			"\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
3890 			"\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
3891 			"\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
3892 			"\x13\x46\x76\xfb\x6d\xe0\x44\x60"
3893 			"\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
3894 	},
3895 };
3896 
3897 #define HMAC_SHA3_224_TEST_VECTORS	4
3898 
3899 static struct hash_testvec hmac_sha3_224_tv_template[] = {
3900 	{
3901 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3902 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3903 			  "\x0b\x0b\x0b\x0b",
3904 		.ksize	= 20,
3905 		.plaintext = "Hi There",
3906 		.psize	= 8,
3907 		.digest	= "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
3908 			  "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
3909 			  "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
3910 			  "\xf3\xc8\x60\xf7",
3911 	}, {
3912 		.key	= "Jefe",
3913 		.ksize	= 4,
3914 		.plaintext = "what do ya want for nothing?",
3915 		.psize	= 28,
3916 		.digest	= "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
3917 			  "\x1b\x79\x86\x34\xad\x38\x68\x11"
3918 			  "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
3919 			  "\xba\xce\x5e\x66",
3920 		.np	= 4,
3921 		.tap	= { 7, 7, 7, 7 }
3922 	}, {
3923 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3924 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3925 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3926 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3927 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3928 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3929 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3930 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3931 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3932 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3933 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3934 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3935 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3936 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3937 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3938 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3939 			  "\xaa\xaa\xaa",
3940 		.ksize	= 131,
3941 		.plaintext = "Test Using Large"
3942 			   "r Than Block-Siz"
3943 			   "e Key - Hash Key"
3944 			   " First",
3945 		.psize	= 54,
3946 		.digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
3947 			  "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
3948 			  "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
3949 			  "\x5f\xb9\x99\x5f",
3950 	}, {
3951 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3952 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3953 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3954 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3955 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3956 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3957 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3958 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3959 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3960 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3961 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3962 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3963 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3964 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3965 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3966 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3967 			  "\xaa\xaa\xaa",
3968 		.ksize	= 131,
3969 		.plaintext =
3970 			  "This is a test u"
3971 			  "sing a larger th"
3972 			  "an block-size ke"
3973 			  "y and a larger t"
3974 			  "han block-size d"
3975 			  "ata. The key nee"
3976 			  "ds to be hashed "
3977 			  "before being use"
3978 			  "d by the HMAC al"
3979 			  "gorithm.",
3980 		.psize	= 152,
3981 		.digest	= "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
3982 			  "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
3983 			  "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
3984 			  "\x29\xcd\x62\xa0",
3985 	},
3986 };
3987 
3988 #define HMAC_SHA3_256_TEST_VECTORS	4
3989 
3990 static struct hash_testvec hmac_sha3_256_tv_template[] = {
3991 	{
3992 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3993 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3994 			  "\x0b\x0b\x0b\x0b",
3995 		.ksize	= 20,
3996 		.plaintext = "Hi There",
3997 		.psize	= 8,
3998 		.digest	= "\xba\x85\x19\x23\x10\xdf\xfa\x96"
3999 			  "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
4000 			  "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
4001 			  "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
4002 	}, {
4003 		.key	= "Jefe",
4004 		.ksize	= 4,
4005 		.plaintext = "what do ya want for nothing?",
4006 		.psize	= 28,
4007 		.digest	= "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
4008 			  "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
4009 			  "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
4010 			  "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
4011 		.np	= 4,
4012 		.tap	= { 7, 7, 7, 7 }
4013 	}, {
4014 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4015 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4016 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4017 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4018 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4019 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4020 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4021 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4022 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4023 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4024 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4025 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4026 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4027 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4028 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4029 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4030 			  "\xaa\xaa\xaa",
4031 		.ksize	= 131,
4032 		.plaintext = "Test Using Large"
4033 			   "r Than Block-Siz"
4034 			   "e Key - Hash Key"
4035 			   " First",
4036 		.psize	= 54,
4037 		.digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
4038 			  "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
4039 			  "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
4040 			  "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
4041 	}, {
4042 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4043 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4044 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4045 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4046 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4047 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4048 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4049 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4050 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4051 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4052 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4053 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4054 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4055 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4056 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4057 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4058 			  "\xaa\xaa\xaa",
4059 		.ksize	= 131,
4060 		.plaintext =
4061 			  "This is a test u"
4062 			  "sing a larger th"
4063 			  "an block-size ke"
4064 			  "y and a larger t"
4065 			  "han block-size d"
4066 			  "ata. The key nee"
4067 			  "ds to be hashed "
4068 			  "before being use"
4069 			  "d by the HMAC al"
4070 			  "gorithm.",
4071 		.psize	= 152,
4072 		.digest	= "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
4073 			  "\x7a\xef\x87\x63\x26\x1e\x49\xad"
4074 			  "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
4075 			  "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
4076 	},
4077 };
4078 
4079 #define HMAC_SHA3_384_TEST_VECTORS	4
4080 
4081 static struct hash_testvec hmac_sha3_384_tv_template[] = {
4082 	{
4083 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4084 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4085 			  "\x0b\x0b\x0b\x0b",
4086 		.ksize	= 20,
4087 		.plaintext = "Hi There",
4088 		.psize	= 8,
4089 		.digest	= "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
4090 			  "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
4091 			  "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
4092 			  "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
4093 			  "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
4094 			  "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
4095 	}, {
4096 		.key	= "Jefe",
4097 		.ksize	= 4,
4098 		.plaintext = "what do ya want for nothing?",
4099 		.psize	= 28,
4100 		.digest	= "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
4101 			  "\x67\x64\xd2\xed\x61\x90\x3f\x21"
4102 			  "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
4103 			  "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
4104 			  "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
4105 			  "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
4106 		.np	= 4,
4107 		.tap	= { 7, 7, 7, 7 }
4108 	}, {
4109 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4110 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4111 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4112 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4113 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4114 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4115 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4116 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4117 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4118 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4119 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4120 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4121 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4122 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4123 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4124 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4125 			  "\xaa\xaa\xaa",
4126 		.ksize	= 131,
4127 		.plaintext = "Test Using Large"
4128 			   "r Than Block-Siz"
4129 			   "e Key - Hash Key"
4130 			   " First",
4131 		.psize	= 54,
4132 		.digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
4133 			  "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
4134 			  "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
4135 			  "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
4136 			  "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
4137 			  "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
4138 	}, {
4139 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4140 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4141 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4142 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4143 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4144 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4145 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4146 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4147 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4148 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4149 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4150 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4151 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4152 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4153 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4154 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4155 			  "\xaa\xaa\xaa",
4156 		.ksize	= 131,
4157 		.plaintext =
4158 			  "This is a test u"
4159 			  "sing a larger th"
4160 			  "an block-size ke"
4161 			  "y and a larger t"
4162 			  "han block-size d"
4163 			  "ata. The key nee"
4164 			  "ds to be hashed "
4165 			  "before being use"
4166 			  "d by the HMAC al"
4167 			  "gorithm.",
4168 		.psize	= 152,
4169 		.digest	= "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
4170 			  "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
4171 			  "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
4172 			  "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
4173 			  "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
4174 			  "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
4175 	},
4176 };
4177 
4178 #define HMAC_SHA3_512_TEST_VECTORS	4
4179 
4180 static struct hash_testvec hmac_sha3_512_tv_template[] = {
4181 	{
4182 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4183 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4184 			  "\x0b\x0b\x0b\x0b",
4185 		.ksize	= 20,
4186 		.plaintext = "Hi There",
4187 		.psize	= 8,
4188 		.digest	= "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
4189 			  "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
4190 			  "\xec\x15\x77\x0a\x7c\xab\xac\x53"
4191 			  "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
4192 			  "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
4193 			  "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
4194 			  "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
4195 			  "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
4196 	}, {
4197 		.key	= "Jefe",
4198 		.ksize	= 4,
4199 		.plaintext = "what do ya want for nothing?",
4200 		.psize	= 28,
4201 		.digest	= "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
4202 			  "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
4203 			  "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
4204 			  "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
4205 			  "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
4206 			  "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
4207 			  "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
4208 			  "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
4209 		.np	= 4,
4210 		.tap	= { 7, 7, 7, 7 }
4211 	}, {
4212 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4213 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4214 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4215 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4216 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4217 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4218 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4219 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4220 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4221 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4222 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4223 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4224 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4225 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4226 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4227 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4228 			  "\xaa\xaa\xaa",
4229 		.ksize	= 131,
4230 		.plaintext = "Test Using Large"
4231 			   "r Than Block-Siz"
4232 			   "e Key - Hash Key"
4233 			   " First",
4234 		.psize	= 54,
4235 		.digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
4236 			  "\x90\xed\x69\x11\xa4\xb6\x55\x24"
4237 			  "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
4238 			  "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
4239 			  "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
4240 			  "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
4241 			  "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
4242 			  "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
4243 	}, {
4244 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4245 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4246 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4247 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4248 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4249 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4250 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4251 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4252 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4253 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4254 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4255 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4256 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4257 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4258 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4259 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4260 			  "\xaa\xaa\xaa",
4261 		.ksize	= 131,
4262 		.plaintext =
4263 			  "This is a test u"
4264 			  "sing a larger th"
4265 			  "an block-size ke"
4266 			  "y and a larger t"
4267 			  "han block-size d"
4268 			  "ata. The key nee"
4269 			  "ds to be hashed "
4270 			  "before being use"
4271 			  "d by the HMAC al"
4272 			  "gorithm.",
4273 		.psize	= 152,
4274 		.digest	= "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
4275 			  "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
4276 			  "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
4277 			  "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
4278 			  "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
4279 			  "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
4280 			  "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
4281 			  "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
4282 	},
4283 };
4284 
4285 /*
4286  * Poly1305 test vectors from RFC7539 A.3.
4287  */
4288 
4289 #define POLY1305_TEST_VECTORS	11
4290 
4291 static struct hash_testvec poly1305_tv_template[] = {
4292 	{ /* Test Vector #1 */
4293 		.plaintext	= "\x00\x00\x00\x00\x00\x00\x00\x00"
4294 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4295 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4296 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4297 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4298 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4299 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4300 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4301 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4302 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4303 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4304 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4305 		.psize		= 96,
4306 		.digest		= "\x00\x00\x00\x00\x00\x00\x00\x00"
4307 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4308 	}, { /* Test Vector #2 */
4309 		.plaintext	= "\x00\x00\x00\x00\x00\x00\x00\x00"
4310 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4311 				  "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
4312 				  "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
4313 				  "\x41\x6e\x79\x20\x73\x75\x62\x6d"
4314 				  "\x69\x73\x73\x69\x6f\x6e\x20\x74"
4315 				  "\x6f\x20\x74\x68\x65\x20\x49\x45"
4316 				  "\x54\x46\x20\x69\x6e\x74\x65\x6e"
4317 				  "\x64\x65\x64\x20\x62\x79\x20\x74"
4318 				  "\x68\x65\x20\x43\x6f\x6e\x74\x72"
4319 				  "\x69\x62\x75\x74\x6f\x72\x20\x66"
4320 				  "\x6f\x72\x20\x70\x75\x62\x6c\x69"
4321 				  "\x63\x61\x74\x69\x6f\x6e\x20\x61"
4322 				  "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
4323 				  "\x20\x70\x61\x72\x74\x20\x6f\x66"
4324 				  "\x20\x61\x6e\x20\x49\x45\x54\x46"
4325 				  "\x20\x49\x6e\x74\x65\x72\x6e\x65"
4326 				  "\x74\x2d\x44\x72\x61\x66\x74\x20"
4327 				  "\x6f\x72\x20\x52\x46\x43\x20\x61"
4328 				  "\x6e\x64\x20\x61\x6e\x79\x20\x73"
4329 				  "\x74\x61\x74\x65\x6d\x65\x6e\x74"
4330 				  "\x20\x6d\x61\x64\x65\x20\x77\x69"
4331 				  "\x74\x68\x69\x6e\x20\x74\x68\x65"
4332 				  "\x20\x63\x6f\x6e\x74\x65\x78\x74"
4333 				  "\x20\x6f\x66\x20\x61\x6e\x20\x49"
4334 				  "\x45\x54\x46\x20\x61\x63\x74\x69"
4335 				  "\x76\x69\x74\x79\x20\x69\x73\x20"
4336 				  "\x63\x6f\x6e\x73\x69\x64\x65\x72"
4337 				  "\x65\x64\x20\x61\x6e\x20\x22\x49"
4338 				  "\x45\x54\x46\x20\x43\x6f\x6e\x74"
4339 				  "\x72\x69\x62\x75\x74\x69\x6f\x6e"
4340 				  "\x22\x2e\x20\x53\x75\x63\x68\x20"
4341 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4342 				  "\x74\x73\x20\x69\x6e\x63\x6c\x75"
4343 				  "\x64\x65\x20\x6f\x72\x61\x6c\x20"
4344 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4345 				  "\x74\x73\x20\x69\x6e\x20\x49\x45"
4346 				  "\x54\x46\x20\x73\x65\x73\x73\x69"
4347 				  "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
4348 				  "\x77\x65\x6c\x6c\x20\x61\x73\x20"
4349 				  "\x77\x72\x69\x74\x74\x65\x6e\x20"
4350 				  "\x61\x6e\x64\x20\x65\x6c\x65\x63"
4351 				  "\x74\x72\x6f\x6e\x69\x63\x20\x63"
4352 				  "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
4353 				  "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
4354 				  "\x64\x65\x20\x61\x74\x20\x61\x6e"
4355 				  "\x79\x20\x74\x69\x6d\x65\x20\x6f"
4356 				  "\x72\x20\x70\x6c\x61\x63\x65\x2c"
4357 				  "\x20\x77\x68\x69\x63\x68\x20\x61"
4358 				  "\x72\x65\x20\x61\x64\x64\x72\x65"
4359 				  "\x73\x73\x65\x64\x20\x74\x6f",
4360 		.psize		= 407,
4361 		.digest		= "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
4362 				  "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
4363 	}, { /* Test Vector #3 */
4364 		.plaintext	= "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
4365 				  "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
4366 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4367 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4368 				  "\x41\x6e\x79\x20\x73\x75\x62\x6d"
4369 				  "\x69\x73\x73\x69\x6f\x6e\x20\x74"
4370 				  "\x6f\x20\x74\x68\x65\x20\x49\x45"
4371 				  "\x54\x46\x20\x69\x6e\x74\x65\x6e"
4372 				  "\x64\x65\x64\x20\x62\x79\x20\x74"
4373 				  "\x68\x65\x20\x43\x6f\x6e\x74\x72"
4374 				  "\x69\x62\x75\x74\x6f\x72\x20\x66"
4375 				  "\x6f\x72\x20\x70\x75\x62\x6c\x69"
4376 				  "\x63\x61\x74\x69\x6f\x6e\x20\x61"
4377 				  "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
4378 				  "\x20\x70\x61\x72\x74\x20\x6f\x66"
4379 				  "\x20\x61\x6e\x20\x49\x45\x54\x46"
4380 				  "\x20\x49\x6e\x74\x65\x72\x6e\x65"
4381 				  "\x74\x2d\x44\x72\x61\x66\x74\x20"
4382 				  "\x6f\x72\x20\x52\x46\x43\x20\x61"
4383 				  "\x6e\x64\x20\x61\x6e\x79\x20\x73"
4384 				  "\x74\x61\x74\x65\x6d\x65\x6e\x74"
4385 				  "\x20\x6d\x61\x64\x65\x20\x77\x69"
4386 				  "\x74\x68\x69\x6e\x20\x74\x68\x65"
4387 				  "\x20\x63\x6f\x6e\x74\x65\x78\x74"
4388 				  "\x20\x6f\x66\x20\x61\x6e\x20\x49"
4389 				  "\x45\x54\x46\x20\x61\x63\x74\x69"
4390 				  "\x76\x69\x74\x79\x20\x69\x73\x20"
4391 				  "\x63\x6f\x6e\x73\x69\x64\x65\x72"
4392 				  "\x65\x64\x20\x61\x6e\x20\x22\x49"
4393 				  "\x45\x54\x46\x20\x43\x6f\x6e\x74"
4394 				  "\x72\x69\x62\x75\x74\x69\x6f\x6e"
4395 				  "\x22\x2e\x20\x53\x75\x63\x68\x20"
4396 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4397 				  "\x74\x73\x20\x69\x6e\x63\x6c\x75"
4398 				  "\x64\x65\x20\x6f\x72\x61\x6c\x20"
4399 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4400 				  "\x74\x73\x20\x69\x6e\x20\x49\x45"
4401 				  "\x54\x46\x20\x73\x65\x73\x73\x69"
4402 				  "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
4403 				  "\x77\x65\x6c\x6c\x20\x61\x73\x20"
4404 				  "\x77\x72\x69\x74\x74\x65\x6e\x20"
4405 				  "\x61\x6e\x64\x20\x65\x6c\x65\x63"
4406 				  "\x74\x72\x6f\x6e\x69\x63\x20\x63"
4407 				  "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
4408 				  "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
4409 				  "\x64\x65\x20\x61\x74\x20\x61\x6e"
4410 				  "\x79\x20\x74\x69\x6d\x65\x20\x6f"
4411 				  "\x72\x20\x70\x6c\x61\x63\x65\x2c"
4412 				  "\x20\x77\x68\x69\x63\x68\x20\x61"
4413 				  "\x72\x65\x20\x61\x64\x64\x72\x65"
4414 				  "\x73\x73\x65\x64\x20\x74\x6f",
4415 		.psize		= 407,
4416 		.digest		= "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
4417 				  "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
4418 	}, { /* Test Vector #4 */
4419 		.plaintext	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
4420 				  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
4421 				  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
4422 				  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
4423 				  "\x27\x54\x77\x61\x73\x20\x62\x72"
4424 				  "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
4425 				  "\x6e\x64\x20\x74\x68\x65\x20\x73"
4426 				  "\x6c\x69\x74\x68\x79\x20\x74\x6f"
4427 				  "\x76\x65\x73\x0a\x44\x69\x64\x20"
4428 				  "\x67\x79\x72\x65\x20\x61\x6e\x64"
4429 				  "\x20\x67\x69\x6d\x62\x6c\x65\x20"
4430 				  "\x69\x6e\x20\x74\x68\x65\x20\x77"
4431 				  "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
4432 				  "\x20\x6d\x69\x6d\x73\x79\x20\x77"
4433 				  "\x65\x72\x65\x20\x74\x68\x65\x20"
4434 				  "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
4435 				  "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
4436 				  "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
4437 				  "\x72\x61\x74\x68\x73\x20\x6f\x75"
4438 				  "\x74\x67\x72\x61\x62\x65\x2e",
4439 		.psize		= 159,
4440 		.digest		= "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
4441 				  "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
4442 	}, { /* Test Vector #5 */
4443 		.plaintext	= "\x02\x00\x00\x00\x00\x00\x00\x00"
4444 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4445 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4446 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4447 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4448 				  "\xff\xff\xff\xff\xff\xff\xff\xff",
4449 		.psize		= 48,
4450 		.digest		= "\x03\x00\x00\x00\x00\x00\x00\x00"
4451 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4452 	}, { /* Test Vector #6 */
4453 		.plaintext	= "\x02\x00\x00\x00\x00\x00\x00\x00"
4454 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4455 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4456 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4457 				  "\x02\x00\x00\x00\x00\x00\x00\x00"
4458 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4459 		.psize		= 48,
4460 		.digest		= "\x03\x00\x00\x00\x00\x00\x00\x00"
4461 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4462 	}, { /* Test Vector #7 */
4463 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
4464 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4465 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4466 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4467 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4468 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4469 				  "\xf0\xff\xff\xff\xff\xff\xff\xff"
4470 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4471 				  "\x11\x00\x00\x00\x00\x00\x00\x00"
4472 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4473 		.psize		= 80,
4474 		.digest		= "\x05\x00\x00\x00\x00\x00\x00\x00"
4475 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4476 	}, { /* Test Vector #8 */
4477 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
4478 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4479 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4480 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4481 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4482 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4483 				  "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
4484 				  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
4485 				  "\x01\x01\x01\x01\x01\x01\x01\x01"
4486 				  "\x01\x01\x01\x01\x01\x01\x01\x01",
4487 		.psize		= 80,
4488 		.digest		= "\x00\x00\x00\x00\x00\x00\x00\x00"
4489 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4490 	}, { /* Test Vector #9 */
4491 		.plaintext	= "\x02\x00\x00\x00\x00\x00\x00\x00"
4492 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4493 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4494 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4495 				  "\xfd\xff\xff\xff\xff\xff\xff\xff"
4496 				  "\xff\xff\xff\xff\xff\xff\xff\xff",
4497 		.psize		= 48,
4498 		.digest		= "\xfa\xff\xff\xff\xff\xff\xff\xff"
4499 				  "\xff\xff\xff\xff\xff\xff\xff\xff",
4500 	}, { /* Test Vector #10 */
4501 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
4502 				  "\x04\x00\x00\x00\x00\x00\x00\x00"
4503 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4504 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4505 				  "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
4506 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4507 				  "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
4508 				  "\x01\x00\x00\x00\x00\x00\x00\x00"
4509 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4510 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4511 				  "\x01\x00\x00\x00\x00\x00\x00\x00"
4512 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4513 		.psize		= 96,
4514 		.digest		= "\x14\x00\x00\x00\x00\x00\x00\x00"
4515 				  "\x55\x00\x00\x00\x00\x00\x00\x00",
4516 	}, { /* Test Vector #11 */
4517 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
4518 				  "\x04\x00\x00\x00\x00\x00\x00\x00"
4519 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4520 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4521 				  "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
4522 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4523 				  "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
4524 				  "\x01\x00\x00\x00\x00\x00\x00\x00"
4525 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4526 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4527 		.psize		= 80,
4528 		.digest		= "\x13\x00\x00\x00\x00\x00\x00\x00"
4529 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4530 	},
4531 };
4532 
4533 /*
4534  * DES test vectors.
4535  */
4536 #define DES_ENC_TEST_VECTORS		11
4537 #define DES_DEC_TEST_VECTORS		5
4538 #define DES_CBC_ENC_TEST_VECTORS	6
4539 #define DES_CBC_DEC_TEST_VECTORS	5
4540 #define DES_CTR_ENC_TEST_VECTORS	2
4541 #define DES_CTR_DEC_TEST_VECTORS	2
4542 #define DES3_EDE_ENC_TEST_VECTORS	4
4543 #define DES3_EDE_DEC_TEST_VECTORS	4
4544 #define DES3_EDE_CBC_ENC_TEST_VECTORS	2
4545 #define DES3_EDE_CBC_DEC_TEST_VECTORS	2
4546 #define DES3_EDE_CTR_ENC_TEST_VECTORS	2
4547 #define DES3_EDE_CTR_DEC_TEST_VECTORS	2
4548 
4549 static struct cipher_testvec des_enc_tv_template[] = {
4550 	{ /* From Applied Cryptography */
4551 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4552 		.klen	= 8,
4553 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4554 		.ilen	= 8,
4555 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4556 		.rlen	= 8,
4557 	}, { /* Same key, different plaintext block */
4558 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4559 		.klen	= 8,
4560 		.input	= "\x22\x33\x44\x55\x66\x77\x88\x99",
4561 		.ilen	= 8,
4562 		.result	= "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4563 		.rlen	= 8,
4564 	}, { /* Sbox test from NBS */
4565 		.key	= "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
4566 		.klen	= 8,
4567 		.input	= "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
4568 		.ilen	= 8,
4569 		.result	= "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4570 		.rlen	= 8,
4571 	}, { /* Three blocks */
4572 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4573 		.klen	= 8,
4574 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4575 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
4576 			  "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
4577 		.ilen	= 24,
4578 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4579 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
4580 			  "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
4581 		.rlen	= 24,
4582 	}, { /* Weak key */
4583 		.fail	= true,
4584 		.wk	= 1,
4585 		.key	= "\x01\x01\x01\x01\x01\x01\x01\x01",
4586 		.klen	= 8,
4587 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4588 		.ilen	= 8,
4589 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4590 		.rlen	= 8,
4591 	}, { /* Two blocks -- for testing encryption across pages */
4592 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4593 		.klen	= 8,
4594 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4595 			  "\x22\x33\x44\x55\x66\x77\x88\x99",
4596 		.ilen	= 16,
4597 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4598 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4599 		.rlen	= 16,
4600 		.np	= 2,
4601 		.tap	= { 8, 8 }
4602 	}, { /* Four blocks -- for testing encryption with chunking */
4603 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4604 		.klen	= 8,
4605 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4606 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
4607 			  "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
4608 			  "\x22\x33\x44\x55\x66\x77\x88\x99",
4609 		.ilen	= 32,
4610 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4611 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
4612 			  "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
4613 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4614 		.rlen	= 32,
4615 		.np	= 3,
4616 		.tap	= { 14, 10, 8 }
4617 	}, {
4618 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4619 		.klen	= 8,
4620 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4621 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
4622 			  "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
4623 		.ilen	= 24,
4624 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4625 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
4626 			  "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
4627 		.rlen	= 24,
4628 		.np	= 4,
4629 		.tap	= { 2, 1, 3, 18 }
4630 	}, {
4631 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4632 		.klen	= 8,
4633 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4634 			  "\x22\x33\x44\x55\x66\x77\x88\x99",
4635 		.ilen	= 16,
4636 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4637 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4638 		.rlen	= 16,
4639 		.np	= 5,
4640 		.tap	= { 2, 2, 2, 2, 8 }
4641 	}, {
4642 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4643 		.klen	= 8,
4644 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4645 		.ilen	= 8,
4646 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4647 		.rlen	= 8,
4648 		.np	= 8,
4649 		.tap	= { 1, 1, 1, 1, 1, 1, 1, 1 }
4650 	}, { /* Generated with Crypto++ */
4651 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
4652 		.klen	= 8,
4653 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
4654 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
4655 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
4656 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
4657 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
4658 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
4659 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
4660 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
4661 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
4662 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
4663 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
4664 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
4665 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
4666 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
4667 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
4668 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
4669 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
4670 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
4671 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
4672 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
4673 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
4674 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
4675 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
4676 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
4677 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
4678 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
4679 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
4680 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
4681 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
4682 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
4683 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
4684 		.ilen	= 248,
4685 		.result	= "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
4686 			  "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
4687 			  "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
4688 			  "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
4689 			  "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
4690 			  "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
4691 			  "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
4692 			  "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
4693 			  "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
4694 			  "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
4695 			  "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
4696 			  "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
4697 			  "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
4698 			  "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
4699 			  "\x2E\x51\x16\xCA\x09\x89\x54\x62"
4700 			  "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
4701 			  "\x62\xF0\x02\x58\x83\xAF\x30\x87"
4702 			  "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
4703 			  "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
4704 			  "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
4705 			  "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
4706 			  "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
4707 			  "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
4708 			  "\xE9\x95\x61\x74\x12\xED\x07\xD7"
4709 			  "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
4710 			  "\x51\x96\x16\xF7\x94\x61\xB8\x87"
4711 			  "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
4712 			  "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
4713 			  "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
4714 			  "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
4715 			  "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
4716 		.rlen	= 248,
4717 		.also_non_np = 1,
4718 		.np	= 3,
4719 		.tap	= { 248 - 10, 2, 8 },
4720 	},
4721 };
4722 
4723 static struct cipher_testvec des_dec_tv_template[] = {
4724 	{ /* From Applied Cryptography */
4725 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4726 		.klen	= 8,
4727 		.input	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4728 		.ilen	= 8,
4729 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4730 		.rlen	= 8,
4731 	}, { /* Sbox test from NBS */
4732 		.key	= "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
4733 		.klen	= 8,
4734 		.input	= "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4735 		.ilen	= 8,
4736 		.result	= "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
4737 		.rlen	= 8,
4738 	}, { /* Two blocks, for chunking test */
4739 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4740 		.klen	= 8,
4741 		.input	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4742 			  "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4743 		.ilen	= 16,
4744 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4745 			  "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
4746 		.rlen	= 16,
4747 		.np	= 2,
4748 		.tap	= { 8, 8 }
4749 	}, {
4750 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4751 		.klen	= 8,
4752 		.input	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4753 			  "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4754 		.ilen	= 16,
4755 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4756 			  "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
4757 		.rlen	= 16,
4758 		.np	= 3,
4759 		.tap	= { 3, 12, 1 }
4760 	}, { /* Generated with Crypto++ */
4761 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
4762 		.klen	= 8,
4763 		.input	= "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
4764 			  "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
4765 			  "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
4766 			  "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
4767 			  "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
4768 			  "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
4769 			  "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
4770 			  "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
4771 			  "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
4772 			  "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
4773 			  "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
4774 			  "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
4775 			  "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
4776 			  "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
4777 			  "\x2E\x51\x16\xCA\x09\x89\x54\x62"
4778 			  "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
4779 			  "\x62\xF0\x02\x58\x83\xAF\x30\x87"
4780 			  "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
4781 			  "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
4782 			  "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
4783 			  "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
4784 			  "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
4785 			  "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
4786 			  "\xE9\x95\x61\x74\x12\xED\x07\xD7"
4787 			  "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
4788 			  "\x51\x96\x16\xF7\x94\x61\xB8\x87"
4789 			  "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
4790 			  "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
4791 			  "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
4792 			  "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
4793 			  "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
4794 		.ilen	= 248,
4795 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
4796 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
4797 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
4798 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
4799 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
4800 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
4801 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
4802 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
4803 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
4804 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
4805 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
4806 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
4807 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
4808 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
4809 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
4810 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
4811 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
4812 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
4813 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
4814 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
4815 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
4816 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
4817 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
4818 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
4819 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
4820 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
4821 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
4822 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
4823 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
4824 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
4825 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
4826 		.rlen	= 248,
4827 		.also_non_np = 1,
4828 		.np	= 3,
4829 		.tap	= { 248 - 10, 2, 8 },
4830 	},
4831 };
4832 
4833 static struct cipher_testvec des_cbc_enc_tv_template[] = {
4834 	{ /* From OpenSSL */
4835 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4836 		.klen	= 8,
4837 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4838 		.input	= "\x37\x36\x35\x34\x33\x32\x31\x20"
4839 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
4840 			  "\x68\x65\x20\x74\x69\x6d\x65\x20",
4841 		.ilen	= 24,
4842 		.result	= "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
4843 			  "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
4844 			  "\x46\x8e\x91\x15\x78\x88\xba\x68",
4845 		.rlen	= 24,
4846 	}, { /* FIPS Pub 81 */
4847 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4848 		.klen	= 8,
4849 		.iv	= "\x12\x34\x56\x78\x90\xab\xcd\xef",
4850 		.input	= "\x4e\x6f\x77\x20\x69\x73\x20\x74",
4851 		.ilen	= 8,
4852 		.result	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
4853 		.rlen	= 8,
4854 	}, {
4855 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4856 		.klen	= 8,
4857 		.iv	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
4858 		.input	= "\x68\x65\x20\x74\x69\x6d\x65\x20",
4859 		.ilen	= 8,
4860 		.result	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
4861 		.rlen	= 8,
4862 	}, {
4863 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4864 		.klen	= 8,
4865 		.iv	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
4866 		.input	= "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
4867 		.ilen	= 8,
4868 		.result	= "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
4869 		.rlen	= 8,
4870 	}, { /* Copy of openssl vector for chunk testing */
4871 	     /* From OpenSSL */
4872 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4873 		.klen	= 8,
4874 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4875 		.input	= "\x37\x36\x35\x34\x33\x32\x31\x20"
4876 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
4877 			  "\x68\x65\x20\x74\x69\x6d\x65\x20",
4878 		.ilen	= 24,
4879 		.result	= "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
4880 			  "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
4881 			  "\x46\x8e\x91\x15\x78\x88\xba\x68",
4882 		.rlen	= 24,
4883 		.np	= 2,
4884 		.tap	= { 13, 11 }
4885 	}, { /* Generated with Crypto++ */
4886 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
4887 		.klen	= 8,
4888 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
4889 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
4890 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
4891 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
4892 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
4893 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
4894 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
4895 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
4896 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
4897 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
4898 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
4899 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
4900 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
4901 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
4902 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
4903 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
4904 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
4905 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
4906 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
4907 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
4908 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
4909 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
4910 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
4911 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
4912 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
4913 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
4914 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
4915 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
4916 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
4917 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
4918 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
4919 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
4920 		.ilen	= 248,
4921 		.result	= "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
4922 			  "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
4923 			  "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
4924 			  "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
4925 			  "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
4926 			  "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
4927 			  "\x81\x72\x74\xDE\x30\x19\x69\x49"
4928 			  "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
4929 			  "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
4930 			  "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
4931 			  "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
4932 			  "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
4933 			  "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
4934 			  "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
4935 			  "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
4936 			  "\x49\x90\x88\x6A\x09\x8F\x76\x59"
4937 			  "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
4938 			  "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
4939 			  "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
4940 			  "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
4941 			  "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
4942 			  "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
4943 			  "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
4944 			  "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
4945 			  "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
4946 			  "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
4947 			  "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
4948 			  "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
4949 			  "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
4950 			  "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
4951 			  "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
4952 		.rlen	= 248,
4953 		.also_non_np = 1,
4954 		.np	= 3,
4955 		.tap	= { 248 - 10, 2, 8 },
4956 	},
4957 };
4958 
4959 static struct cipher_testvec des_cbc_dec_tv_template[] = {
4960 	{ /* FIPS Pub 81 */
4961 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4962 		.klen	= 8,
4963 		.iv	= "\x12\x34\x56\x78\x90\xab\xcd\xef",
4964 		.input	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
4965 		.ilen	= 8,
4966 		.result	= "\x4e\x6f\x77\x20\x69\x73\x20\x74",
4967 		.rlen	= 8,
4968 	}, {
4969 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4970 		.klen	= 8,
4971 		.iv	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
4972 		.input	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
4973 		.ilen	= 8,
4974 		.result	= "\x68\x65\x20\x74\x69\x6d\x65\x20",
4975 		.rlen	= 8,
4976 	}, {
4977 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4978 		.klen	= 8,
4979 		.iv	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
4980 		.input	= "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
4981 		.ilen	= 8,
4982 		.result	= "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
4983 		.rlen	= 8,
4984 	}, { /* Copy of above, for chunk testing */
4985 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4986 		.klen	= 8,
4987 		.iv	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
4988 		.input	= "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
4989 		.ilen	= 8,
4990 		.result	= "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
4991 		.rlen	= 8,
4992 		.np	= 2,
4993 		.tap	= { 4, 4 }
4994 	}, { /* Generated with Crypto++ */
4995 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
4996 		.klen	= 8,
4997 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
4998 		.input	= "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
4999 			  "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
5000 			  "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
5001 			  "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
5002 			  "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
5003 			  "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
5004 			  "\x81\x72\x74\xDE\x30\x19\x69\x49"
5005 			  "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
5006 			  "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
5007 			  "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
5008 			  "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
5009 			  "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
5010 			  "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
5011 			  "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
5012 			  "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
5013 			  "\x49\x90\x88\x6A\x09\x8F\x76\x59"
5014 			  "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
5015 			  "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
5016 			  "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
5017 			  "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
5018 			  "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
5019 			  "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
5020 			  "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
5021 			  "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
5022 			  "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
5023 			  "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
5024 			  "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
5025 			  "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
5026 			  "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
5027 			  "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
5028 			  "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
5029 		.ilen	= 248,
5030 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5031 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5032 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5033 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5034 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5035 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5036 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5037 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5038 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5039 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5040 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5041 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5042 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5043 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5044 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5045 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5046 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5047 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5048 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5049 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5050 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5051 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5052 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5053 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5054 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5055 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5056 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5057 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5058 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5059 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5060 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5061 		.rlen	= 248,
5062 		.also_non_np = 1,
5063 		.np	= 3,
5064 		.tap	= { 248 - 10, 2, 8 },
5065 	},
5066 };
5067 
5068 static struct cipher_testvec des_ctr_enc_tv_template[] = {
5069 	{ /* Generated with Crypto++ */
5070 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5071 		.klen	= 8,
5072 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5073 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5074 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5075 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5076 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5077 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5078 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5079 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5080 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5081 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5082 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5083 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5084 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5085 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5086 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5087 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5088 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5089 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5090 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5091 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5092 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5093 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5094 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5095 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5096 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5097 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5098 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5099 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5100 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5101 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5102 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5103 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5104 		.ilen	= 248,
5105 		.result	= "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
5106 			  "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
5107 			  "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
5108 			  "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
5109 			  "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
5110 			  "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
5111 			  "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
5112 			  "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
5113 			  "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
5114 			  "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
5115 			  "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
5116 			  "\xBE\x4C\x91\x43\x22\x65\x72\x48"
5117 			  "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
5118 			  "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
5119 			  "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
5120 			  "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
5121 			  "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
5122 			  "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
5123 			  "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
5124 			  "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
5125 			  "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
5126 			  "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
5127 			  "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
5128 			  "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
5129 			  "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
5130 			  "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
5131 			  "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
5132 			  "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
5133 			  "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
5134 			  "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
5135 			  "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
5136 		.rlen	= 248,
5137 		.also_non_np = 1,
5138 		.np	= 3,
5139 		.tap	= { 248 - 10, 2, 8 },
5140 	}, { /* Generated with Crypto++ */
5141 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5142 		.klen	= 8,
5143 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5144 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5145 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5146 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5147 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5148 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5149 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5150 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5151 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5152 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5153 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5154 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5155 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5156 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5157 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5158 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5159 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5160 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5161 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5162 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5163 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5164 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5165 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5166 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5167 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5168 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5169 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5170 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5171 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5172 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5173 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5174 			  "\xC6\x2F\xBB\x24\x8D\x19\x82",
5175 		.ilen	= 247,
5176 		.result	= "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
5177 			  "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
5178 			  "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
5179 			  "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
5180 			  "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
5181 			  "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
5182 			  "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
5183 			  "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
5184 			  "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
5185 			  "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
5186 			  "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
5187 			  "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
5188 			  "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
5189 			  "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
5190 			  "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
5191 			  "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
5192 			  "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
5193 			  "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
5194 			  "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
5195 			  "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
5196 			  "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
5197 			  "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
5198 			  "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
5199 			  "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
5200 			  "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
5201 			  "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
5202 			  "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
5203 			  "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
5204 			  "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
5205 			  "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
5206 			  "\x91\x45\x05\x3E\x58\xBF\x32",
5207 		.rlen	= 247,
5208 		.also_non_np = 1,
5209 		.np	= 2,
5210 		.tap	= { 247 - 8, 8 },
5211 	},
5212 };
5213 
5214 static struct cipher_testvec des_ctr_dec_tv_template[] = {
5215 	{ /* Generated with Crypto++ */
5216 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5217 		.klen	= 8,
5218 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5219 		.input	= "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
5220 			  "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
5221 			  "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
5222 			  "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
5223 			  "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
5224 			  "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
5225 			  "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
5226 			  "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
5227 			  "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
5228 			  "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
5229 			  "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
5230 			  "\xBE\x4C\x91\x43\x22\x65\x72\x48"
5231 			  "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
5232 			  "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
5233 			  "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
5234 			  "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
5235 			  "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
5236 			  "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
5237 			  "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
5238 			  "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
5239 			  "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
5240 			  "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
5241 			  "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
5242 			  "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
5243 			  "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
5244 			  "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
5245 			  "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
5246 			  "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
5247 			  "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
5248 			  "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
5249 			  "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
5250 		.ilen	= 248,
5251 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5252 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5253 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5254 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5255 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5256 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5257 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5258 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5259 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5260 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5261 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5262 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5263 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5264 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5265 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5266 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5267 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5268 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5269 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5270 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5271 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5272 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5273 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5274 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5275 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5276 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5277 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5278 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5279 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5280 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5281 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5282 		.rlen	= 248,
5283 		.also_non_np = 1,
5284 		.np	= 3,
5285 		.tap	= { 248 - 10, 2, 8 },
5286 	}, { /* Generated with Crypto++ */
5287 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5288 		.klen	= 8,
5289 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5290 		.input	= "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
5291 			  "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
5292 			  "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
5293 			  "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
5294 			  "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
5295 			  "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
5296 			  "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
5297 			  "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
5298 			  "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
5299 			  "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
5300 			  "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
5301 			  "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
5302 			  "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
5303 			  "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
5304 			  "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
5305 			  "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
5306 			  "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
5307 			  "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
5308 			  "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
5309 			  "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
5310 			  "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
5311 			  "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
5312 			  "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
5313 			  "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
5314 			  "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
5315 			  "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
5316 			  "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
5317 			  "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
5318 			  "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
5319 			  "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
5320 			  "\x91\x45\x05\x3E\x58\xBF\x32",
5321 		.ilen	= 247,
5322 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5323 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5324 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5325 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5326 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5327 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5328 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5329 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5330 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5331 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5332 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5333 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5334 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5335 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5336 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5337 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5338 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5339 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5340 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5341 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5342 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5343 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5344 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5345 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5346 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5347 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5348 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5349 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5350 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5351 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5352 			  "\xC6\x2F\xBB\x24\x8D\x19\x82",
5353 		.rlen	= 247,
5354 		.also_non_np = 1,
5355 		.np	= 2,
5356 		.tap	= { 247 - 8, 8 },
5357 	},
5358 };
5359 
5360 static struct cipher_testvec des3_ede_enc_tv_template[] = {
5361 	{ /* These are from openssl */
5362 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
5363 			  "\x55\x55\x55\x55\x55\x55\x55\x55"
5364 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5365 		.klen	= 24,
5366 		.input	= "\x73\x6f\x6d\x65\x64\x61\x74\x61",
5367 		.ilen	= 8,
5368 		.result	= "\x18\xd7\x48\xe5\x63\x62\x05\x72",
5369 		.rlen	= 8,
5370 	}, {
5371 		.key	= "\x03\x52\x02\x07\x67\x20\x82\x17"
5372 			  "\x86\x02\x87\x66\x59\x08\x21\x98"
5373 			  "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
5374 		.klen	= 24,
5375 		.input	= "\x73\x71\x75\x69\x67\x67\x6c\x65",
5376 		.ilen	= 8,
5377 		.result	= "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
5378 		.rlen	= 8,
5379 	}, {
5380 		.key	= "\x10\x46\x10\x34\x89\x98\x80\x20"
5381 			  "\x91\x07\xd0\x15\x89\x19\x01\x01"
5382 			  "\x19\x07\x92\x10\x98\x1a\x01\x01",
5383 		.klen	= 24,
5384 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
5385 		.ilen	= 8,
5386 		.result	= "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
5387 		.rlen	= 8,
5388 	}, { /* Generated with Crypto++ */
5389 		.key	= "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
5390 			  "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
5391 			  "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
5392 		.klen	= 24,
5393 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5394 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5395 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5396 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5397 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5398 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5399 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5400 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5401 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5402 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5403 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5404 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5405 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5406 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5407 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5408 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5409 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5410 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5411 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5412 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5413 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5414 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5415 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5416 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5417 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5418 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5419 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5420 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5421 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5422 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5423 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5424 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5425 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5426 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5427 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5428 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5429 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5430 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5431 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5432 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5433 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5434 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
5435 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
5436 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
5437 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
5438 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
5439 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
5440 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
5441 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
5442 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
5443 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
5444 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
5445 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
5446 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
5447 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
5448 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
5449 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
5450 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
5451 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
5452 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
5453 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
5454 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
5455 		.ilen	= 496,
5456 		.result	= "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
5457 			  "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
5458 			  "\x81\x01\x04\x00\x76\xFA\xED\xD3"
5459 			  "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
5460 			  "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
5461 			  "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
5462 			  "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
5463 			  "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
5464 			  "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
5465 			  "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
5466 			  "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
5467 			  "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
5468 			  "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
5469 			  "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
5470 			  "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
5471 			  "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
5472 			  "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
5473 			  "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
5474 			  "\x45\x86\x50\x01\x70\x35\x99\x92"
5475 			  "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
5476 			  "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
5477 			  "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
5478 			  "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
5479 			  "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
5480 			  "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
5481 			  "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
5482 			  "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
5483 			  "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
5484 			  "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
5485 			  "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
5486 			  "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
5487 			  "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
5488 			  "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
5489 			  "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
5490 			  "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
5491 			  "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
5492 			  "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
5493 			  "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
5494 			  "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
5495 			  "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
5496 			  "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
5497 			  "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
5498 			  "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
5499 			  "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
5500 			  "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
5501 			  "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
5502 			  "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
5503 			  "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
5504 			  "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
5505 			  "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
5506 			  "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
5507 			  "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
5508 			  "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
5509 			  "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
5510 			  "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
5511 			  "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
5512 			  "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
5513 			  "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
5514 			  "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
5515 			  "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
5516 			  "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
5517 			  "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
5518 		.rlen	= 496,
5519 		.also_non_np = 1,
5520 		.np	= 3,
5521 		.tap	= { 496 - 20, 4, 16 },
5522 	},
5523 };
5524 
5525 static struct cipher_testvec des3_ede_dec_tv_template[] = {
5526 	{ /* These are from openssl */
5527 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
5528 			  "\x55\x55\x55\x55\x55\x55\x55\x55"
5529 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5530 		.klen	= 24,
5531 		.input	= "\x18\xd7\x48\xe5\x63\x62\x05\x72",
5532 		.ilen	= 8,
5533 		.result	= "\x73\x6f\x6d\x65\x64\x61\x74\x61",
5534 		.rlen	= 8,
5535 	}, {
5536 		.key	= "\x03\x52\x02\x07\x67\x20\x82\x17"
5537 			  "\x86\x02\x87\x66\x59\x08\x21\x98"
5538 			  "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
5539 		.klen	= 24,
5540 		.input	= "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
5541 		.ilen	= 8,
5542 		.result	= "\x73\x71\x75\x69\x67\x67\x6c\x65",
5543 		.rlen	= 8,
5544 	}, {
5545 		.key	= "\x10\x46\x10\x34\x89\x98\x80\x20"
5546 			  "\x91\x07\xd0\x15\x89\x19\x01\x01"
5547 			  "\x19\x07\x92\x10\x98\x1a\x01\x01",
5548 		.klen	= 24,
5549 		.input	= "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
5550 		.ilen	= 8,
5551 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
5552 		.rlen	= 8,
5553 	}, { /* Generated with Crypto++ */
5554 		.key	= "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
5555 			  "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
5556 			  "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
5557 		.klen	= 24,
5558 		.input	= "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
5559 			  "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
5560 			  "\x81\x01\x04\x00\x76\xFA\xED\xD3"
5561 			  "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
5562 			  "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
5563 			  "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
5564 			  "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
5565 			  "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
5566 			  "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
5567 			  "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
5568 			  "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
5569 			  "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
5570 			  "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
5571 			  "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
5572 			  "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
5573 			  "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
5574 			  "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
5575 			  "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
5576 			  "\x45\x86\x50\x01\x70\x35\x99\x92"
5577 			  "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
5578 			  "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
5579 			  "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
5580 			  "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
5581 			  "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
5582 			  "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
5583 			  "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
5584 			  "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
5585 			  "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
5586 			  "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
5587 			  "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
5588 			  "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
5589 			  "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
5590 			  "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
5591 			  "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
5592 			  "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
5593 			  "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
5594 			  "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
5595 			  "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
5596 			  "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
5597 			  "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
5598 			  "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
5599 			  "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
5600 			  "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
5601 			  "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
5602 			  "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
5603 			  "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
5604 			  "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
5605 			  "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
5606 			  "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
5607 			  "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
5608 			  "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
5609 			  "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
5610 			  "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
5611 			  "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
5612 			  "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
5613 			  "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
5614 			  "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
5615 			  "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
5616 			  "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
5617 			  "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
5618 			  "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
5619 			  "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
5620 		.ilen	= 496,
5621 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5622 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5623 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5624 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5625 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5626 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5627 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5628 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5629 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5630 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5631 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5632 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5633 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5634 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5635 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5636 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5637 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5638 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5639 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5640 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5641 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5642 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5643 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5644 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5645 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5646 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5647 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5648 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5649 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5650 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5651 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5652 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5653 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5654 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5655 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5656 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5657 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5658 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5659 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5660 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5661 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5662 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
5663 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
5664 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
5665 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
5666 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
5667 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
5668 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
5669 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
5670 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
5671 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
5672 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
5673 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
5674 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
5675 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
5676 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
5677 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
5678 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
5679 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
5680 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
5681 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
5682 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
5683 		.rlen	= 496,
5684 		.also_non_np = 1,
5685 		.np	= 3,
5686 		.tap	= { 496 - 20, 4, 16 },
5687 	},
5688 };
5689 
5690 static struct cipher_testvec des3_ede_cbc_enc_tv_template[] = {
5691 	{ /* Generated from openssl */
5692 		.key	= "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
5693 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
5694 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
5695 		.klen	= 24,
5696 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
5697 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
5698 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
5699 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
5700 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
5701 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
5702 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
5703 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
5704 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
5705 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
5706 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
5707 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
5708 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
5709 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
5710 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
5711 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
5712 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
5713 		.ilen	= 128,
5714 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
5715 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
5716 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
5717 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
5718 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
5719 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
5720 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
5721 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
5722 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
5723 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
5724 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
5725 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
5726 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
5727 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
5728 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
5729 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
5730 		.rlen	= 128,
5731 	}, { /* Generated with Crypto++ */
5732 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
5733 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
5734 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
5735 		.klen	= 24,
5736 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
5737 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
5738 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5739 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5740 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5741 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5742 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5743 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5744 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5745 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5746 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5747 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5748 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5749 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5750 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5751 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5752 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5753 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5754 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5755 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5756 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5757 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5758 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5759 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5760 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5761 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5762 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5763 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5764 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5765 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5766 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5767 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5768 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5769 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5770 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5771 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5772 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5773 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5774 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5775 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5776 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5777 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5778 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5779 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
5780 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
5781 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
5782 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
5783 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
5784 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
5785 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
5786 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
5787 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
5788 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
5789 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
5790 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
5791 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
5792 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
5793 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
5794 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
5795 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
5796 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
5797 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
5798 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
5799 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
5800 		.ilen	= 496,
5801 		.result	= "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
5802 			  "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
5803 			  "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
5804 			  "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
5805 			  "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
5806 			  "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
5807 			  "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
5808 			  "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
5809 			  "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
5810 			  "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
5811 			  "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
5812 			  "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
5813 			  "\x11\x35\x61\x94\x88\x7B\x1C\x48"
5814 			  "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
5815 			  "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
5816 			  "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
5817 			  "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
5818 			  "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
5819 			  "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
5820 			  "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
5821 			  "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
5822 			  "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
5823 			  "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
5824 			  "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
5825 			  "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
5826 			  "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
5827 			  "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
5828 			  "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
5829 			  "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
5830 			  "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
5831 			  "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
5832 			  "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
5833 			  "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
5834 			  "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
5835 			  "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
5836 			  "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
5837 			  "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
5838 			  "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
5839 			  "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
5840 			  "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
5841 			  "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
5842 			  "\x73\x50\x08\x56\x20\x9B\x94\x23"
5843 			  "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
5844 			  "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
5845 			  "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
5846 			  "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
5847 			  "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
5848 			  "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
5849 			  "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
5850 			  "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
5851 			  "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
5852 			  "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
5853 			  "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
5854 			  "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
5855 			  "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
5856 			  "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
5857 			  "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
5858 			  "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
5859 			  "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
5860 			  "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
5861 			  "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
5862 			  "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
5863 		.rlen	= 496,
5864 		.also_non_np = 1,
5865 		.np	= 3,
5866 		.tap	= { 496 - 20, 4, 16 },
5867 	},
5868 };
5869 
5870 static struct cipher_testvec des3_ede_cbc_dec_tv_template[] = {
5871 	{ /* Generated from openssl */
5872 		.key	= "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
5873 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
5874 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
5875 		.klen	= 24,
5876 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
5877 		.input	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
5878 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
5879 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
5880 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
5881 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
5882 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
5883 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
5884 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
5885 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
5886 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
5887 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
5888 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
5889 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
5890 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
5891 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
5892 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
5893 		.ilen	= 128,
5894 		.result	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
5895 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
5896 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
5897 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
5898 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
5899 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
5900 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
5901 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
5902 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
5903 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
5904 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
5905 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
5906 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
5907 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
5908 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
5909 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
5910 		.rlen	= 128,
5911 	}, { /* Generated with Crypto++ */
5912 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
5913 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
5914 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
5915 		.klen	= 24,
5916 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
5917 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
5918 		.input	= "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
5919 			  "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
5920 			  "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
5921 			  "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
5922 			  "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
5923 			  "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
5924 			  "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
5925 			  "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
5926 			  "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
5927 			  "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
5928 			  "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
5929 			  "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
5930 			  "\x11\x35\x61\x94\x88\x7B\x1C\x48"
5931 			  "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
5932 			  "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
5933 			  "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
5934 			  "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
5935 			  "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
5936 			  "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
5937 			  "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
5938 			  "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
5939 			  "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
5940 			  "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
5941 			  "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
5942 			  "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
5943 			  "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
5944 			  "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
5945 			  "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
5946 			  "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
5947 			  "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
5948 			  "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
5949 			  "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
5950 			  "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
5951 			  "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
5952 			  "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
5953 			  "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
5954 			  "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
5955 			  "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
5956 			  "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
5957 			  "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
5958 			  "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
5959 			  "\x73\x50\x08\x56\x20\x9B\x94\x23"
5960 			  "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
5961 			  "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
5962 			  "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
5963 			  "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
5964 			  "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
5965 			  "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
5966 			  "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
5967 			  "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
5968 			  "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
5969 			  "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
5970 			  "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
5971 			  "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
5972 			  "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
5973 			  "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
5974 			  "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
5975 			  "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
5976 			  "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
5977 			  "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
5978 			  "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
5979 			  "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
5980 		.ilen	= 496,
5981 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5982 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5983 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5984 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5985 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5986 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5987 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5988 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5989 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5990 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5991 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5992 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5993 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5994 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5995 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5996 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5997 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5998 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5999 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6000 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6001 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6002 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6003 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6004 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6005 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6006 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6007 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6008 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6009 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6010 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6011 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6012 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6013 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6014 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6015 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6016 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6017 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6018 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6019 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6020 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6021 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6022 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6023 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6024 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6025 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6026 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6027 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6028 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6029 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6030 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6031 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6032 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6033 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6034 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6035 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6036 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6037 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6038 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6039 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6040 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6041 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6042 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6043 		.rlen	= 496,
6044 		.also_non_np = 1,
6045 		.np	= 3,
6046 		.tap	= { 496 - 20, 4, 16 },
6047 	},
6048 };
6049 
6050 static struct cipher_testvec des3_ede_ctr_enc_tv_template[] = {
6051 	{ /* Generated with Crypto++ */
6052 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6053 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6054 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6055 		.klen	= 24,
6056 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
6057 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
6058 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6059 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6060 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6061 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6062 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6063 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6064 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6065 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6066 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6067 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6068 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6069 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6070 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6071 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6072 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6073 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6074 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6075 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6076 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6077 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6078 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6079 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6080 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6081 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6082 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6083 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6084 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6085 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6086 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6087 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6088 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6089 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6090 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6091 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6092 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6093 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6094 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6095 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6096 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6097 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6098 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6099 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6100 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6101 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6102 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6103 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6104 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6105 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6106 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6107 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6108 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6109 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6110 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6111 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6112 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6113 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6114 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6115 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6116 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6117 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6118 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6119 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6120 		.ilen	= 496,
6121 		.result	= "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
6122 			  "\x19\xCD\x6F\x32\x53\x05\x22\x15"
6123 			  "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
6124 			  "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
6125 			  "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
6126 			  "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
6127 			  "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
6128 			  "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
6129 			  "\x13\x78\xDC\x89\x12\x12\x43\xFA"
6130 			  "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
6131 			  "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
6132 			  "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
6133 			  "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
6134 			  "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
6135 			  "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
6136 			  "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
6137 			  "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
6138 			  "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
6139 			  "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
6140 			  "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
6141 			  "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
6142 			  "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
6143 			  "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
6144 			  "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
6145 			  "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
6146 			  "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
6147 			  "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
6148 			  "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
6149 			  "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
6150 			  "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
6151 			  "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
6152 			  "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
6153 			  "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
6154 			  "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
6155 			  "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
6156 			  "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
6157 			  "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
6158 			  "\x83\x37\x4F\x1F\x48\x30\xED\x04"
6159 			  "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
6160 			  "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
6161 			  "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
6162 			  "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
6163 			  "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
6164 			  "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
6165 			  "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
6166 			  "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
6167 			  "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
6168 			  "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
6169 			  "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
6170 			  "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
6171 			  "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
6172 			  "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
6173 			  "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
6174 			  "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
6175 			  "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
6176 			  "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
6177 			  "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
6178 			  "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
6179 			  "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
6180 			  "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
6181 			  "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
6182 			  "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
6183 		.rlen	= 496,
6184 		.also_non_np = 1,
6185 		.np	= 3,
6186 		.tap	= { 496 - 20, 4, 16 },
6187 	}, { /* Generated with Crypto++ */
6188 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6189 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6190 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6191 		.klen	= 24,
6192 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6193 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6194 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6195 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6196 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6197 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6198 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6199 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6200 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6201 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6202 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6203 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6204 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6205 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6206 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6207 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6208 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6209 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6210 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6211 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6212 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6213 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6214 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6215 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6216 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6217 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6218 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6219 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6220 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6221 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6222 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6223 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6224 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6225 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6226 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6227 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6228 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6229 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6230 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6231 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6232 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6233 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6234 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6235 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6236 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6237 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6238 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6239 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6240 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6241 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6242 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6243 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6244 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6245 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6246 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6247 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6248 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6249 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6250 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6251 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6252 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6253 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6254 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6255 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
6256 			  "\x2E\xB1\x18",
6257 		.ilen	= 499,
6258 		.result	= "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
6259 			  "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
6260 			  "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
6261 			  "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
6262 			  "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
6263 			  "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
6264 			  "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
6265 			  "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
6266 			  "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
6267 			  "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
6268 			  "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
6269 			  "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
6270 			  "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
6271 			  "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
6272 			  "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
6273 			  "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
6274 			  "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
6275 			  "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
6276 			  "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
6277 			  "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
6278 			  "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
6279 			  "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
6280 			  "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
6281 			  "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
6282 			  "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
6283 			  "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
6284 			  "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
6285 			  "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
6286 			  "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
6287 			  "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
6288 			  "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
6289 			  "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
6290 			  "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
6291 			  "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
6292 			  "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
6293 			  "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
6294 			  "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
6295 			  "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
6296 			  "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
6297 			  "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
6298 			  "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
6299 			  "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
6300 			  "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
6301 			  "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
6302 			  "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
6303 			  "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
6304 			  "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
6305 			  "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
6306 			  "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
6307 			  "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
6308 			  "\x8A\x19\x08\xE1\x08\x48\x59\x51"
6309 			  "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
6310 			  "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
6311 			  "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
6312 			  "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
6313 			  "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
6314 			  "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
6315 			  "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
6316 			  "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
6317 			  "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
6318 			  "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
6319 			  "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
6320 			  "\xF2\x79\xD9",
6321 		.rlen	= 499,
6322 		.also_non_np = 1,
6323 		.np	= 2,
6324 		.tap	= { 499 - 16, 16 },
6325 	},
6326 };
6327 
6328 static struct cipher_testvec des3_ede_ctr_dec_tv_template[] = {
6329 	{ /* Generated with Crypto++ */
6330 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6331 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6332 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6333 		.klen	= 24,
6334 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
6335 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
6336 		.input	= "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
6337 			  "\x19\xCD\x6F\x32\x53\x05\x22\x15"
6338 			  "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
6339 			  "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
6340 			  "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
6341 			  "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
6342 			  "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
6343 			  "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
6344 			  "\x13\x78\xDC\x89\x12\x12\x43\xFA"
6345 			  "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
6346 			  "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
6347 			  "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
6348 			  "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
6349 			  "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
6350 			  "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
6351 			  "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
6352 			  "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
6353 			  "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
6354 			  "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
6355 			  "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
6356 			  "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
6357 			  "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
6358 			  "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
6359 			  "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
6360 			  "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
6361 			  "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
6362 			  "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
6363 			  "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
6364 			  "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
6365 			  "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
6366 			  "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
6367 			  "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
6368 			  "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
6369 			  "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
6370 			  "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
6371 			  "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
6372 			  "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
6373 			  "\x83\x37\x4F\x1F\x48\x30\xED\x04"
6374 			  "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
6375 			  "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
6376 			  "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
6377 			  "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
6378 			  "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
6379 			  "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
6380 			  "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
6381 			  "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
6382 			  "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
6383 			  "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
6384 			  "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
6385 			  "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
6386 			  "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
6387 			  "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
6388 			  "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
6389 			  "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
6390 			  "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
6391 			  "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
6392 			  "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
6393 			  "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
6394 			  "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
6395 			  "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
6396 			  "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
6397 			  "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
6398 		.ilen	= 496,
6399 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6400 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6401 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6402 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6403 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6404 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6405 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6406 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6407 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6408 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6409 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6410 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6411 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6412 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6413 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6414 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6415 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6416 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6417 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6418 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6419 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6420 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6421 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6422 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6423 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6424 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6425 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6426 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6427 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6428 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6429 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6430 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6431 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6432 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6433 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6434 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6435 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6436 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6437 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6438 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6439 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6440 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6441 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6442 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6443 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6444 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6445 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6446 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6447 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6448 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6449 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6450 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6451 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6452 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6453 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6454 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6455 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6456 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6457 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6458 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6459 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6460 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6461 		.rlen	= 496,
6462 		.also_non_np = 1,
6463 		.np	= 3,
6464 		.tap	= { 496 - 20, 4, 16 },
6465 	}, { /* Generated with Crypto++ */
6466 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6467 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6468 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6469 		.klen	= 24,
6470 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6471 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6472 		.input	= "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
6473 			  "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
6474 			  "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
6475 			  "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
6476 			  "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
6477 			  "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
6478 			  "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
6479 			  "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
6480 			  "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
6481 			  "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
6482 			  "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
6483 			  "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
6484 			  "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
6485 			  "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
6486 			  "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
6487 			  "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
6488 			  "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
6489 			  "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
6490 			  "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
6491 			  "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
6492 			  "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
6493 			  "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
6494 			  "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
6495 			  "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
6496 			  "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
6497 			  "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
6498 			  "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
6499 			  "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
6500 			  "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
6501 			  "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
6502 			  "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
6503 			  "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
6504 			  "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
6505 			  "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
6506 			  "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
6507 			  "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
6508 			  "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
6509 			  "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
6510 			  "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
6511 			  "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
6512 			  "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
6513 			  "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
6514 			  "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
6515 			  "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
6516 			  "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
6517 			  "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
6518 			  "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
6519 			  "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
6520 			  "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
6521 			  "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
6522 			  "\x8A\x19\x08\xE1\x08\x48\x59\x51"
6523 			  "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
6524 			  "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
6525 			  "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
6526 			  "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
6527 			  "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
6528 			  "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
6529 			  "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
6530 			  "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
6531 			  "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
6532 			  "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
6533 			  "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
6534 			  "\xF2\x79\xD9",
6535 		.ilen	= 499,
6536 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6537 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6538 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6539 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6540 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6541 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6542 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6543 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6544 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6545 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6546 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6547 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6548 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6549 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6550 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6551 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6552 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6553 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6554 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6555 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6556 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6557 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6558 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6559 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6560 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6561 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6562 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6563 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6564 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6565 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6566 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6567 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6568 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6569 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6570 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6571 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6572 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6573 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6574 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6575 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6576 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6577 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6578 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6579 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6580 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6581 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6582 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6583 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6584 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6585 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6586 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6587 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6588 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6589 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6590 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6591 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6592 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6593 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6594 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6595 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6596 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6597 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
6598 			  "\x2E\xB1\x18",
6599 		.rlen	= 499,
6600 		.also_non_np = 1,
6601 		.np	= 2,
6602 		.tap	= { 499 - 16, 16 },
6603 	},
6604 };
6605 
6606 /*
6607  * Blowfish test vectors.
6608  */
6609 #define BF_ENC_TEST_VECTORS	7
6610 #define BF_DEC_TEST_VECTORS	7
6611 #define BF_CBC_ENC_TEST_VECTORS	2
6612 #define BF_CBC_DEC_TEST_VECTORS	2
6613 #define BF_CTR_ENC_TEST_VECTORS	2
6614 #define BF_CTR_DEC_TEST_VECTORS	2
6615 
6616 static struct cipher_testvec bf_enc_tv_template[] = {
6617 	{ /* DES test vectors from OpenSSL */
6618 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6619 		.klen	= 8,
6620 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6621 		.ilen	= 8,
6622 		.result	= "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
6623 		.rlen	= 8,
6624 	}, {
6625 		.key	= "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
6626 		.klen	= 8,
6627 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
6628 		.ilen	= 8,
6629 		.result	= "\xa7\x90\x79\x51\x08\xea\x3c\xae",
6630 		.rlen	= 8,
6631 	}, {
6632 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
6633 		.klen	= 8,
6634 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6635 		.ilen	= 8,
6636 		.result	= "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
6637 		.rlen	= 8,
6638 	}, { /* Vary the keylength... */
6639 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6640 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
6641 		.klen	= 16,
6642 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6643 		.ilen	= 8,
6644 		.result	= "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
6645 		.rlen	= 8,
6646 	}, {
6647 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6648 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6649 			  "\x00\x11\x22\x33\x44",
6650 		.klen	= 21,
6651 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6652 		.ilen	= 8,
6653 		.result	= "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
6654 		.rlen	= 8,
6655 	}, { /* Generated with bf488 */
6656 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6657 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6658 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
6659 			  "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
6660 			  "\x58\x40\x23\x64\x1a\xba\x61\x76"
6661 			  "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
6662 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
6663 		.klen	= 56,
6664 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6665 		.ilen	= 8,
6666 		.result	= "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
6667 		.rlen	= 8,
6668 	}, { /* Generated with Crypto++ */
6669 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6670 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6671 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6672 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6673 		.klen	= 32,
6674 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6675 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6676 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6677 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6678 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6679 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6680 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6681 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6682 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6683 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6684 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6685 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6686 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6687 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6688 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6689 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6690 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6691 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6692 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6693 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6694 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6695 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6696 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6697 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6698 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6699 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6700 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6701 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6702 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6703 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6704 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6705 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6706 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6707 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6708 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6709 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6710 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6711 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6712 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6713 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6714 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6715 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6716 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6717 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6718 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6719 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6720 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6721 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6722 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6723 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6724 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6725 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6726 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6727 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6728 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6729 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6730 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6731 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6732 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6733 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6734 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6735 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
6736 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
6737 		.ilen	= 504,
6738 		.result	= "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
6739 			  "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
6740 			  "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
6741 			  "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
6742 			  "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
6743 			  "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
6744 			  "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
6745 			  "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
6746 			  "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
6747 			  "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
6748 			  "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
6749 			  "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
6750 			  "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
6751 			  "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
6752 			  "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
6753 			  "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
6754 			  "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
6755 			  "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
6756 			  "\x47\x82\x98\x23\x33\x36\xBC\x1B"
6757 			  "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
6758 			  "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
6759 			  "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
6760 			  "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
6761 			  "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
6762 			  "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
6763 			  "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
6764 			  "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
6765 			  "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
6766 			  "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
6767 			  "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
6768 			  "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
6769 			  "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
6770 			  "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
6771 			  "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
6772 			  "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
6773 			  "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
6774 			  "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
6775 			  "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
6776 			  "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
6777 			  "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
6778 			  "\x3E\x42\x14\x49\x88\x51\xBF\x68"
6779 			  "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
6780 			  "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
6781 			  "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
6782 			  "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
6783 			  "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
6784 			  "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
6785 			  "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
6786 			  "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
6787 			  "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
6788 			  "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
6789 			  "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
6790 			  "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
6791 			  "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
6792 			  "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
6793 			  "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
6794 			  "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
6795 			  "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
6796 			  "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
6797 			  "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
6798 			  "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
6799 			  "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
6800 			  "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
6801 		.rlen	= 504,
6802 		.also_non_np = 1,
6803 		.np	= 3,
6804 		.tap	= { 504 - 10, 2, 8 },
6805 	},
6806 };
6807 
6808 static struct cipher_testvec bf_dec_tv_template[] = {
6809 	{ /* DES test vectors from OpenSSL */
6810 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6811 		.klen	= 8,
6812 		.input	= "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
6813 		.ilen	= 8,
6814 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6815 		.rlen	= 8,
6816 	}, {
6817 		.key	= "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
6818 		.klen	= 8,
6819 		.input	= "\xa7\x90\x79\x51\x08\xea\x3c\xae",
6820 		.ilen	= 8,
6821 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
6822 		.rlen	= 8,
6823 	}, {
6824 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
6825 		.klen	= 8,
6826 		.input	= "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
6827 		.ilen	= 8,
6828 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6829 		.rlen	= 8,
6830 	}, { /* Vary the keylength... */
6831 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6832 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
6833 		.klen	= 16,
6834 		.input	= "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
6835 		.ilen	= 8,
6836 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6837 		.rlen	= 8,
6838 	}, {
6839 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6840 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6841 			  "\x00\x11\x22\x33\x44",
6842 		.klen	= 21,
6843 		.input	= "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
6844 		.ilen	= 8,
6845 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6846 		.rlen	= 8,
6847 	}, { /* Generated with bf488, using OpenSSL, Libgcrypt and Nettle */
6848 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6849 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6850 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
6851 			  "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
6852 			  "\x58\x40\x23\x64\x1a\xba\x61\x76"
6853 			  "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
6854 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
6855 		.klen	= 56,
6856 		.input	= "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
6857 		.ilen	= 8,
6858 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6859 		.rlen	= 8,
6860 	}, { /* Generated with Crypto++ */
6861 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6862 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6863 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6864 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6865 		.klen	= 32,
6866 		.input	= "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
6867 			  "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
6868 			  "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
6869 			  "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
6870 			  "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
6871 			  "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
6872 			  "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
6873 			  "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
6874 			  "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
6875 			  "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
6876 			  "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
6877 			  "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
6878 			  "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
6879 			  "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
6880 			  "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
6881 			  "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
6882 			  "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
6883 			  "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
6884 			  "\x47\x82\x98\x23\x33\x36\xBC\x1B"
6885 			  "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
6886 			  "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
6887 			  "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
6888 			  "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
6889 			  "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
6890 			  "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
6891 			  "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
6892 			  "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
6893 			  "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
6894 			  "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
6895 			  "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
6896 			  "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
6897 			  "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
6898 			  "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
6899 			  "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
6900 			  "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
6901 			  "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
6902 			  "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
6903 			  "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
6904 			  "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
6905 			  "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
6906 			  "\x3E\x42\x14\x49\x88\x51\xBF\x68"
6907 			  "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
6908 			  "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
6909 			  "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
6910 			  "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
6911 			  "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
6912 			  "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
6913 			  "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
6914 			  "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
6915 			  "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
6916 			  "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
6917 			  "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
6918 			  "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
6919 			  "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
6920 			  "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
6921 			  "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
6922 			  "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
6923 			  "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
6924 			  "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
6925 			  "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
6926 			  "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
6927 			  "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
6928 			  "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
6929 		.ilen	= 504,
6930 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6931 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6932 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6933 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6934 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6935 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6936 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6937 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6938 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6939 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6940 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6941 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6942 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6943 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6944 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6945 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6946 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6947 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6948 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6949 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6950 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6951 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6952 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6953 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6954 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6955 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6956 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6957 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6958 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6959 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6960 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6961 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6962 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6963 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6964 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6965 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6966 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6967 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6968 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6969 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6970 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6971 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6972 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6973 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6974 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6975 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6976 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6977 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6978 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6979 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6980 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6981 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6982 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6983 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6984 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6985 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6986 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6987 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6988 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6989 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6990 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6991 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
6992 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
6993 		.rlen	= 504,
6994 		.also_non_np = 1,
6995 		.np	= 3,
6996 		.tap	= { 504 - 10, 2, 8 },
6997 	},
6998 };
6999 
7000 static struct cipher_testvec bf_cbc_enc_tv_template[] = {
7001 	{ /* From OpenSSL */
7002 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
7003 			  "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
7004 		.klen	= 16,
7005 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7006 		.input	= "\x37\x36\x35\x34\x33\x32\x31\x20"
7007 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
7008 			  "\x68\x65\x20\x74\x69\x6d\x65\x20"
7009 			  "\x66\x6f\x72\x20\x00\x00\x00\x00",
7010 		.ilen	= 32,
7011 		.result	= "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
7012 			  "\x05\xb1\x56\xe2\x74\x03\x97\x93"
7013 			  "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
7014 			  "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
7015 		.rlen	= 32,
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",
7021 		.klen	= 32,
7022 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7023 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7024 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7025 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7026 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7027 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7028 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7029 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7030 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7031 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7032 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7033 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7034 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7035 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7036 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7037 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7038 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7039 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7040 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7041 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7042 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7043 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7044 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7045 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7046 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7047 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7048 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7049 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7050 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7051 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7052 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7053 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7054 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7055 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7056 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7057 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7058 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7059 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7060 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7061 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7062 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7063 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7064 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7065 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7066 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7067 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7068 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7069 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7070 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7071 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7072 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7073 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7074 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7075 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7076 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7077 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7078 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7079 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7080 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7081 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7082 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7083 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7084 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7085 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7086 		.ilen	= 504,
7087 		.result	= "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
7088 			  "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
7089 			  "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
7090 			  "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
7091 			  "\x01\x9C\x93\x63\x51\x60\x82\xD2"
7092 			  "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
7093 			  "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
7094 			  "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
7095 			  "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
7096 			  "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
7097 			  "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
7098 			  "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
7099 			  "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
7100 			  "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
7101 			  "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
7102 			  "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
7103 			  "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
7104 			  "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
7105 			  "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
7106 			  "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
7107 			  "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
7108 			  "\x65\xFE\x15\x40\xD0\x62\x41\x02"
7109 			  "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
7110 			  "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
7111 			  "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
7112 			  "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
7113 			  "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
7114 			  "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
7115 			  "\x04\xF0\x86\x08\x78\x18\x42\xE0"
7116 			  "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
7117 			  "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
7118 			  "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
7119 			  "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
7120 			  "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
7121 			  "\x97\x18\x92\xFF\x15\x11\xCE\xED"
7122 			  "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
7123 			  "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
7124 			  "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
7125 			  "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
7126 			  "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
7127 			  "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
7128 			  "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
7129 			  "\x43\x12\x73\x77\xDB\x91\x83\x5B"
7130 			  "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
7131 			  "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
7132 			  "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
7133 			  "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
7134 			  "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
7135 			  "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
7136 			  "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
7137 			  "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
7138 			  "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
7139 			  "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
7140 			  "\xC5\xF8\x69\x83\x28\x84\x87\x56"
7141 			  "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
7142 			  "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
7143 			  "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
7144 			  "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
7145 			  "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
7146 			  "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
7147 			  "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
7148 			  "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
7149 			  "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
7150 		.rlen	= 504,
7151 		.also_non_np = 1,
7152 		.np	= 3,
7153 		.tap	= { 504 - 10, 2, 8 },
7154 	},
7155 };
7156 
7157 static struct cipher_testvec bf_cbc_dec_tv_template[] = {
7158 	{ /* From OpenSSL */
7159 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
7160 			  "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
7161 		.klen	= 16,
7162 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7163 		.input	= "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
7164 			  "\x05\xb1\x56\xe2\x74\x03\x97\x93"
7165 			  "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
7166 			  "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
7167 		.ilen	= 32,
7168 		.result	= "\x37\x36\x35\x34\x33\x32\x31\x20"
7169 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
7170 			  "\x68\x65\x20\x74\x69\x6d\x65\x20"
7171 			  "\x66\x6f\x72\x20\x00\x00\x00\x00",
7172 		.rlen	= 32,
7173 	}, { /* Generated with Crypto++ */
7174 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7175 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7176 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7177 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7178 		.klen	= 32,
7179 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7180 		.input	= "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
7181 			  "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
7182 			  "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
7183 			  "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
7184 			  "\x01\x9C\x93\x63\x51\x60\x82\xD2"
7185 			  "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
7186 			  "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
7187 			  "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
7188 			  "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
7189 			  "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
7190 			  "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
7191 			  "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
7192 			  "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
7193 			  "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
7194 			  "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
7195 			  "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
7196 			  "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
7197 			  "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
7198 			  "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
7199 			  "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
7200 			  "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
7201 			  "\x65\xFE\x15\x40\xD0\x62\x41\x02"
7202 			  "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
7203 			  "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
7204 			  "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
7205 			  "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
7206 			  "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
7207 			  "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
7208 			  "\x04\xF0\x86\x08\x78\x18\x42\xE0"
7209 			  "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
7210 			  "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
7211 			  "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
7212 			  "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
7213 			  "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
7214 			  "\x97\x18\x92\xFF\x15\x11\xCE\xED"
7215 			  "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
7216 			  "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
7217 			  "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
7218 			  "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
7219 			  "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
7220 			  "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
7221 			  "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
7222 			  "\x43\x12\x73\x77\xDB\x91\x83\x5B"
7223 			  "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
7224 			  "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
7225 			  "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
7226 			  "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
7227 			  "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
7228 			  "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
7229 			  "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
7230 			  "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
7231 			  "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
7232 			  "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
7233 			  "\xC5\xF8\x69\x83\x28\x84\x87\x56"
7234 			  "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
7235 			  "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
7236 			  "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
7237 			  "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
7238 			  "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
7239 			  "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
7240 			  "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
7241 			  "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
7242 			  "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
7243 		.ilen	= 504,
7244 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7245 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7246 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7247 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7248 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7249 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7250 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7251 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7252 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7253 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7254 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7255 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7256 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7257 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7258 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7259 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7260 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7261 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7262 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7263 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7264 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7265 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7266 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7267 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7268 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7269 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7270 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7271 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7272 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7273 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7274 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7275 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7276 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7277 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7278 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7279 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7280 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7281 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7282 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7283 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7284 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7285 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7286 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7287 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7288 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7289 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7290 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7291 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7292 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7293 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7294 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7295 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7296 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7297 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7298 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7299 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7300 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7301 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7302 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7303 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7304 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7305 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7306 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7307 		.rlen	= 504,
7308 		.also_non_np = 1,
7309 		.np	= 3,
7310 		.tap	= { 504 - 10, 2, 8 },
7311 	},
7312 };
7313 
7314 static struct cipher_testvec bf_ctr_enc_tv_template[] = {
7315 	{ /* Generated with Crypto++ */
7316 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7317 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7318 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7319 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7320 		.klen	= 32,
7321 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7322 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7323 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7324 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7325 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7326 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7327 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7328 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7329 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7330 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7331 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7332 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7333 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7334 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7335 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7336 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7337 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7338 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7339 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7340 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7341 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7342 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7343 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7344 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7345 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7346 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7347 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7348 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7349 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7350 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7351 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7352 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7353 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7354 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7355 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7356 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7357 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7358 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7359 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7360 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7361 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7362 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7363 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7364 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7365 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7366 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7367 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7368 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7369 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7370 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7371 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7372 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7373 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7374 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7375 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7376 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7377 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7378 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7379 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7380 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7381 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7382 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7383 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7384 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7385 		.ilen	= 504,
7386 		.result	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7387 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7388 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7389 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7390 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7391 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7392 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7393 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7394 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7395 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7396 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7397 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7398 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7399 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7400 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7401 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7402 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7403 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7404 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7405 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7406 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7407 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7408 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7409 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7410 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7411 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7412 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7413 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7414 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7415 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7416 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7417 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7418 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7419 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7420 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7421 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7422 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7423 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7424 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7425 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7426 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7427 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7428 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7429 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7430 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
7431 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7432 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7433 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7434 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7435 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7436 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7437 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7438 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7439 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7440 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7441 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7442 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7443 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7444 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7445 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7446 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7447 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7448 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
7449 		.rlen	= 504,
7450 	}, { /* Generated with Crypto++ */
7451 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7452 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7453 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7454 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7455 		.klen	= 32,
7456 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7457 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7458 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7459 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7460 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7461 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7462 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7463 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7464 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7465 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7466 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7467 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7468 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7469 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7470 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7471 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7472 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7473 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7474 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7475 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7476 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7477 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7478 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7479 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7480 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7481 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7482 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7483 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7484 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7485 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7486 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7487 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7488 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7489 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7490 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7491 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7492 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7493 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7494 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7495 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7496 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7497 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7498 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7499 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7500 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7501 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7502 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7503 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7504 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7505 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7506 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7507 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7508 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7509 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7510 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7511 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7512 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7513 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7514 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7515 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7516 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7517 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7518 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7519 			  "\x2B\xC2\x59\xF0\x64\xFB\x92",
7520 		.ilen	= 503,
7521 		.result	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7522 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7523 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7524 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7525 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7526 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7527 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7528 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7529 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7530 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7531 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7532 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7533 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7534 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7535 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7536 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7537 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7538 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7539 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7540 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7541 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7542 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7543 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7544 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7545 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7546 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7547 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7548 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7549 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7550 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7551 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7552 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7553 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7554 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7555 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7556 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7557 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7558 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7559 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7560 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7561 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7562 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7563 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7564 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7565 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
7566 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7567 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7568 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7569 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7570 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7571 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7572 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7573 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7574 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7575 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7576 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7577 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7578 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7579 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7580 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7581 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7582 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7583 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
7584 		.rlen	= 503,
7585 		.also_non_np = 1,
7586 		.np	= 2,
7587 		.tap	= { 503 - 8, 8 },
7588 	}, { /* Generated with Crypto++ */
7589 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7590 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7591 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7592 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7593 		.klen	= 32,
7594 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
7595 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7596 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7597 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7598 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7599 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7600 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7601 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7602 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7603 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7604 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7605 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7606 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7607 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7608 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7609 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7610 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7611 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7612 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7613 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7614 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7615 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7616 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7617 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7618 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7619 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7620 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7621 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7622 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7623 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7624 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7625 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7626 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7627 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7628 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7629 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7630 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7631 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7632 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7633 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7634 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7635 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7636 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7637 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7638 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7639 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7640 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7641 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7642 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7643 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7644 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7645 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7646 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7647 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7648 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7649 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7650 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7651 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7652 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7653 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7654 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7655 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7656 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7657 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7658 		.ilen	= 504,
7659 		.result	= "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
7660 			  "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
7661 			  "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
7662 			  "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
7663 			  "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
7664 			  "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
7665 			  "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
7666 			  "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
7667 			  "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
7668 			  "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
7669 			  "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
7670 			  "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
7671 			  "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
7672 			  "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
7673 			  "\x0B\x82\x59\x14\x26\x67\x08\x09"
7674 			  "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
7675 			  "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
7676 			  "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
7677 			  "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
7678 			  "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
7679 			  "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
7680 			  "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
7681 			  "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
7682 			  "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
7683 			  "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
7684 			  "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
7685 			  "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
7686 			  "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
7687 			  "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
7688 			  "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
7689 			  "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
7690 			  "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
7691 			  "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
7692 			  "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
7693 			  "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
7694 			  "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
7695 			  "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
7696 			  "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
7697 			  "\xB4\x19\xD8\x19\x45\x66\x27\x02"
7698 			  "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
7699 			  "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
7700 			  "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
7701 			  "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
7702 			  "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
7703 			  "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
7704 			  "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
7705 			  "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
7706 			  "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
7707 			  "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
7708 			  "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
7709 			  "\x91\x51\x4E\x71\xF2\x98\x85\x16"
7710 			  "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
7711 			  "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
7712 			  "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
7713 			  "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
7714 			  "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
7715 			  "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
7716 			  "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
7717 			  "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
7718 			  "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
7719 			  "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
7720 			  "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
7721 			  "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
7722 		.rlen	= 504,
7723 	},
7724 };
7725 
7726 static struct cipher_testvec bf_ctr_dec_tv_template[] = {
7727 	{ /* Generated with Crypto++ */
7728 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7729 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7730 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7731 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7732 		.klen	= 32,
7733 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7734 		.input	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7735 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7736 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7737 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7738 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7739 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7740 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7741 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7742 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7743 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7744 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7745 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7746 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7747 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7748 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7749 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7750 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7751 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7752 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7753 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7754 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7755 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7756 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7757 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7758 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7759 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7760 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7761 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7762 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7763 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7764 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7765 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7766 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7767 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7768 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7769 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7770 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7771 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7772 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7773 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7774 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7775 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7776 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7777 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7778 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
7779 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7780 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7781 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7782 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7783 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7784 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7785 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7786 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7787 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7788 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7789 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7790 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7791 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7792 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7793 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7794 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7795 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7796 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
7797 		.ilen	= 504,
7798 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7799 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7800 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7801 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7802 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7803 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7804 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7805 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7806 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7807 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7808 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7809 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7810 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7811 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7812 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7813 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7814 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7815 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7816 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7817 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7818 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7819 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7820 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7821 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7822 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7823 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7824 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7825 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7826 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7827 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7828 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7829 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7830 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7831 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7832 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7833 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7834 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7835 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7836 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7837 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7838 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7839 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7840 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7841 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7842 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7843 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7844 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7845 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7846 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7847 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7848 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7849 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7850 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7851 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7852 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7853 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7854 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7855 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7856 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7857 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7858 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7859 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7860 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7861 		.rlen	= 504,
7862 	}, { /* Generated with Crypto++ */
7863 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7864 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7865 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7866 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7867 		.klen	= 32,
7868 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7869 		.input	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7870 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7871 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7872 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7873 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7874 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7875 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7876 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7877 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7878 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7879 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7880 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7881 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7882 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7883 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7884 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7885 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7886 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7887 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7888 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7889 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7890 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7891 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7892 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7893 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7894 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7895 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7896 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7897 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7898 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7899 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7900 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7901 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7902 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7903 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7904 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7905 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7906 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7907 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7908 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7909 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7910 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7911 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7912 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7913 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
7914 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7915 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7916 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7917 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7918 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7919 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7920 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7921 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7922 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7923 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7924 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7925 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7926 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7927 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7928 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7929 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7930 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7931 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
7932 		.ilen	= 503,
7933 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7934 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7935 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7936 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7937 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7938 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7939 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7940 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7941 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7942 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7943 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7944 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7945 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7946 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7947 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7948 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7949 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7950 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7951 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7952 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7953 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7954 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7955 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7956 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7957 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7958 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7959 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7960 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7961 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7962 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7963 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7964 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7965 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7966 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7967 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7968 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7969 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7970 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7971 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7972 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7973 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7974 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7975 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7976 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7977 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7978 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7979 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7980 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7981 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7982 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7983 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7984 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7985 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7986 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7987 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7988 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7989 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7990 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7991 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7992 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7993 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7994 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7995 			  "\x2B\xC2\x59\xF0\x64\xFB\x92",
7996 		.rlen	= 503,
7997 		.also_non_np = 1,
7998 		.np	= 2,
7999 		.tap	= { 503 - 8, 8 },
8000 	}, { /* Generated with Crypto++ */
8001 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8002 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8003 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8004 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8005 		.klen	= 32,
8006 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
8007 		.input	= "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
8008 			  "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
8009 			  "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
8010 			  "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
8011 			  "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
8012 			  "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
8013 			  "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
8014 			  "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
8015 			  "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
8016 			  "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
8017 			  "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
8018 			  "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
8019 			  "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
8020 			  "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
8021 			  "\x0B\x82\x59\x14\x26\x67\x08\x09"
8022 			  "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
8023 			  "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
8024 			  "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
8025 			  "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
8026 			  "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
8027 			  "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
8028 			  "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
8029 			  "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
8030 			  "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
8031 			  "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
8032 			  "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
8033 			  "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
8034 			  "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
8035 			  "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
8036 			  "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
8037 			  "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
8038 			  "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
8039 			  "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
8040 			  "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
8041 			  "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
8042 			  "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
8043 			  "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
8044 			  "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
8045 			  "\xB4\x19\xD8\x19\x45\x66\x27\x02"
8046 			  "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
8047 			  "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
8048 			  "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
8049 			  "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
8050 			  "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
8051 			  "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
8052 			  "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
8053 			  "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
8054 			  "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
8055 			  "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
8056 			  "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
8057 			  "\x91\x51\x4E\x71\xF2\x98\x85\x16"
8058 			  "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
8059 			  "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
8060 			  "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
8061 			  "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
8062 			  "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
8063 			  "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
8064 			  "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
8065 			  "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
8066 			  "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
8067 			  "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
8068 			  "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
8069 			  "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
8070 		.ilen	= 504,
8071 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8072 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8073 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8074 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8075 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8076 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8077 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8078 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8079 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8080 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8081 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8082 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8083 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8084 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8085 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8086 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8087 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8088 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8089 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8090 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8091 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8092 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8093 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8094 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8095 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8096 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8097 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8098 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8099 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8100 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8101 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8102 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8103 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8104 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8105 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8106 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8107 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8108 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8109 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8110 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8111 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8112 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8113 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8114 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8115 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8116 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8117 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8118 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8119 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8120 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8121 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8122 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8123 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8124 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8125 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8126 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8127 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8128 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8129 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8130 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8131 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8132 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8133 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
8134 		.rlen	= 504,
8135 	},
8136 };
8137 
8138 /*
8139  * Twofish test vectors.
8140  */
8141 #define TF_ENC_TEST_VECTORS		4
8142 #define TF_DEC_TEST_VECTORS		4
8143 #define TF_CBC_ENC_TEST_VECTORS		5
8144 #define TF_CBC_DEC_TEST_VECTORS		5
8145 #define TF_CTR_ENC_TEST_VECTORS		2
8146 #define TF_CTR_DEC_TEST_VECTORS		2
8147 #define TF_LRW_ENC_TEST_VECTORS		8
8148 #define TF_LRW_DEC_TEST_VECTORS		8
8149 #define TF_XTS_ENC_TEST_VECTORS		5
8150 #define TF_XTS_DEC_TEST_VECTORS		5
8151 
8152 static struct cipher_testvec tf_enc_tv_template[] = {
8153 	{
8154 		.key	= zeroed_string,
8155 		.klen	= 16,
8156 		.input	= zeroed_string,
8157 		.ilen	= 16,
8158 		.result	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8159 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8160 		.rlen	= 16,
8161 	}, {
8162 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8163 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8164 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
8165 		.klen	= 24,
8166 		.input	= zeroed_string,
8167 		.ilen	= 16,
8168 		.result	= "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
8169 			  "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
8170 		.rlen	= 16,
8171 	}, {
8172 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8173 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8174 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
8175 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
8176 		.klen	= 32,
8177 		.input	= zeroed_string,
8178 		.ilen	= 16,
8179 		.result	= "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
8180 			  "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
8181 		.rlen	= 16,
8182 	}, { /* Generated with Crypto++ */
8183 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
8184 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
8185 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
8186 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
8187 		.klen	= 32,
8188 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8189 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8190 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8191 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8192 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8193 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8194 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8195 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8196 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8197 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8198 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8199 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8200 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8201 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8202 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8203 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8204 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8205 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8206 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8207 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8208 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8209 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8210 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8211 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8212 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8213 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8214 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8215 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8216 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8217 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8218 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8219 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8220 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8221 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8222 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8223 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8224 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8225 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8226 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8227 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8228 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8229 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8230 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8231 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8232 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8233 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8234 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8235 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8236 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8237 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8238 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8239 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8240 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8241 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8242 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8243 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8244 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8245 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8246 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8247 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8248 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8249 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8250 		.ilen	= 496,
8251 		.result	= "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
8252 			  "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
8253 			  "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
8254 			  "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
8255 			  "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
8256 			  "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
8257 			  "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
8258 			  "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
8259 			  "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
8260 			  "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
8261 			  "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
8262 			  "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
8263 			  "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
8264 			  "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
8265 			  "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
8266 			  "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
8267 			  "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
8268 			  "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
8269 			  "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
8270 			  "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
8271 			  "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
8272 			  "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
8273 			  "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
8274 			  "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
8275 			  "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
8276 			  "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
8277 			  "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
8278 			  "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
8279 			  "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
8280 			  "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
8281 			  "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
8282 			  "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
8283 			  "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
8284 			  "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
8285 			  "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
8286 			  "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
8287 			  "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
8288 			  "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
8289 			  "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
8290 			  "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
8291 			  "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
8292 			  "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
8293 			  "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
8294 			  "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
8295 			  "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
8296 			  "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
8297 			  "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
8298 			  "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
8299 			  "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
8300 			  "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
8301 			  "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
8302 			  "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
8303 			  "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
8304 			  "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
8305 			  "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
8306 			  "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
8307 			  "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
8308 			  "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
8309 			  "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
8310 			  "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
8311 			  "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
8312 			  "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
8313 		.rlen	= 496,
8314 		.also_non_np = 1,
8315 		.np	= 3,
8316 		.tap	= { 496 - 20, 4, 16 },
8317 	},
8318 };
8319 
8320 static struct cipher_testvec tf_dec_tv_template[] = {
8321 	{
8322 		.key	= zeroed_string,
8323 		.klen	= 16,
8324 		.input	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8325 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8326 		.ilen	= 16,
8327 		.result	= zeroed_string,
8328 		.rlen	= 16,
8329 	}, {
8330 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8331 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8332 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
8333 		.klen	= 24,
8334 		.input	= "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
8335 			  "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
8336 		.ilen	= 16,
8337 		.result	= zeroed_string,
8338 		.rlen	= 16,
8339 	}, {
8340 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8341 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8342 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
8343 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
8344 		.klen	= 32,
8345 		.input	= "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
8346 			  "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
8347 		.ilen	= 16,
8348 		.result	= zeroed_string,
8349 		.rlen	= 16,
8350 	}, { /* Generated with Crypto++ */
8351 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
8352 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
8353 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
8354 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
8355 		.klen	= 32,
8356 		.input	= "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
8357 			  "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
8358 			  "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
8359 			  "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
8360 			  "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
8361 			  "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
8362 			  "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
8363 			  "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
8364 			  "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
8365 			  "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
8366 			  "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
8367 			  "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
8368 			  "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
8369 			  "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
8370 			  "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
8371 			  "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
8372 			  "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
8373 			  "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
8374 			  "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
8375 			  "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
8376 			  "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
8377 			  "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
8378 			  "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
8379 			  "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
8380 			  "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
8381 			  "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
8382 			  "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
8383 			  "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
8384 			  "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
8385 			  "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
8386 			  "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
8387 			  "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
8388 			  "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
8389 			  "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
8390 			  "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
8391 			  "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
8392 			  "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
8393 			  "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
8394 			  "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
8395 			  "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
8396 			  "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
8397 			  "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
8398 			  "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
8399 			  "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
8400 			  "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
8401 			  "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
8402 			  "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
8403 			  "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
8404 			  "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
8405 			  "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
8406 			  "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
8407 			  "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
8408 			  "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
8409 			  "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
8410 			  "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
8411 			  "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
8412 			  "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
8413 			  "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
8414 			  "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
8415 			  "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
8416 			  "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
8417 			  "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
8418 		.ilen	= 496,
8419 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8420 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8421 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8422 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8423 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8424 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8425 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8426 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8427 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8428 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8429 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8430 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8431 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8432 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8433 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8434 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8435 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8436 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8437 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8438 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8439 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8440 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8441 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8442 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8443 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8444 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8445 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8446 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8447 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8448 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8449 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8450 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8451 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8452 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8453 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8454 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8455 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8456 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8457 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8458 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8459 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8460 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8461 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8462 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8463 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8464 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8465 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8466 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8467 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8468 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8469 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8470 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8471 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8472 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8473 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8474 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8475 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8476 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8477 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8478 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8479 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8480 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8481 		.rlen	= 496,
8482 		.also_non_np = 1,
8483 		.np	= 3,
8484 		.tap	= { 496 - 20, 4, 16 },
8485 	},
8486 };
8487 
8488 static struct cipher_testvec tf_cbc_enc_tv_template[] = {
8489 	{ /* Generated with Nettle */
8490 		.key	= zeroed_string,
8491 		.klen	= 16,
8492 		.iv	= zeroed_string,
8493 		.input	= zeroed_string,
8494 		.ilen	= 16,
8495 		.result	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8496 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8497 		.rlen	= 16,
8498 	}, {
8499 		.key	= zeroed_string,
8500 		.klen	= 16,
8501 		.iv	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8502 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8503 		.input	= zeroed_string,
8504 		.ilen	= 16,
8505 		.result	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8506 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8507 		.rlen	= 16,
8508 	}, {
8509 		.key	= zeroed_string,
8510 		.klen	= 16,
8511 		.iv	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8512 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8513 		.input	= zeroed_string,
8514 		.ilen	= 16,
8515 		.result	= "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8516 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8517 		.rlen	= 16,
8518 	}, {
8519 		.key	= zeroed_string,
8520 		.klen	= 16,
8521 		.iv	= zeroed_string,
8522 		.input	= zeroed_string,
8523 		.ilen	= 48,
8524 		.result	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8525 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
8526 			  "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8527 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
8528 			  "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8529 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8530 		.rlen	= 48,
8531 	}, { /* Generated with Crypto++ */
8532 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8533 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8534 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8535 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8536 		.klen	= 32,
8537 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8538 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8539 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8540 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8541 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8542 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8543 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8544 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8545 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8546 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8547 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8548 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8549 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8550 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8551 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8552 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8553 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8554 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8555 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8556 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8557 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8558 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8559 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8560 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8561 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8562 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8563 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8564 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8565 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8566 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8567 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8568 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8569 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8570 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8571 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8572 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8573 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8574 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8575 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8576 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8577 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8578 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8579 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8580 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8581 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8582 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8583 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8584 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8585 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8586 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8587 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8588 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8589 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8590 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8591 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8592 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8593 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8594 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8595 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8596 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8597 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8598 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8599 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8600 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8601 		.ilen	= 496,
8602 		.result	= "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
8603 			  "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
8604 			  "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
8605 			  "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
8606 			  "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
8607 			  "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
8608 			  "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
8609 			  "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
8610 			  "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
8611 			  "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
8612 			  "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
8613 			  "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
8614 			  "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
8615 			  "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
8616 			  "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
8617 			  "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
8618 			  "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
8619 			  "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
8620 			  "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
8621 			  "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
8622 			  "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
8623 			  "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
8624 			  "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
8625 			  "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
8626 			  "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
8627 			  "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
8628 			  "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
8629 			  "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
8630 			  "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
8631 			  "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
8632 			  "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
8633 			  "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
8634 			  "\x75\x42\x62\x04\x31\x1F\x95\x7C"
8635 			  "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
8636 			  "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
8637 			  "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
8638 			  "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
8639 			  "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
8640 			  "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
8641 			  "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
8642 			  "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
8643 			  "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
8644 			  "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
8645 			  "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
8646 			  "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
8647 			  "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
8648 			  "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
8649 			  "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
8650 			  "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
8651 			  "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
8652 			  "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
8653 			  "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
8654 			  "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
8655 			  "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
8656 			  "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
8657 			  "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
8658 			  "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
8659 			  "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
8660 			  "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
8661 			  "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
8662 			  "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
8663 			  "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
8664 		.rlen	= 496,
8665 		.also_non_np = 1,
8666 		.np	= 3,
8667 		.tap	= { 496 - 20, 4, 16 },
8668 	},
8669 };
8670 
8671 static struct cipher_testvec tf_cbc_dec_tv_template[] = {
8672 	{ /* Reverse of the first four above */
8673 		.key	= zeroed_string,
8674 		.klen	= 16,
8675 		.iv	= zeroed_string,
8676 		.input	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8677 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8678 		.ilen	= 16,
8679 		.result	= zeroed_string,
8680 		.rlen	= 16,
8681 	}, {
8682 		.key	= zeroed_string,
8683 		.klen	= 16,
8684 		.iv	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8685 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8686 		.input	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8687 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8688 		.ilen	= 16,
8689 		.result	= zeroed_string,
8690 		.rlen	= 16,
8691 	}, {
8692 		.key	= zeroed_string,
8693 		.klen	= 16,
8694 		.iv	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8695 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8696 		.input	= "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8697 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8698 		.ilen	= 16,
8699 		.result	= zeroed_string,
8700 		.rlen	= 16,
8701 	}, {
8702 		.key	= zeroed_string,
8703 		.klen	= 16,
8704 		.iv	= zeroed_string,
8705 		.input	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8706 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
8707 			  "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8708 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
8709 			  "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8710 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8711 		.ilen	= 48,
8712 		.result	= zeroed_string,
8713 		.rlen	= 48,
8714 	}, { /* Generated with Crypto++ */
8715 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8716 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8717 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8718 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8719 		.klen	= 32,
8720 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8721 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8722 		.input	= "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
8723 			  "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
8724 			  "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
8725 			  "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
8726 			  "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
8727 			  "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
8728 			  "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
8729 			  "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
8730 			  "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
8731 			  "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
8732 			  "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
8733 			  "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
8734 			  "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
8735 			  "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
8736 			  "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
8737 			  "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
8738 			  "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
8739 			  "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
8740 			  "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
8741 			  "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
8742 			  "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
8743 			  "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
8744 			  "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
8745 			  "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
8746 			  "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
8747 			  "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
8748 			  "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
8749 			  "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
8750 			  "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
8751 			  "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
8752 			  "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
8753 			  "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
8754 			  "\x75\x42\x62\x04\x31\x1F\x95\x7C"
8755 			  "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
8756 			  "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
8757 			  "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
8758 			  "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
8759 			  "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
8760 			  "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
8761 			  "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
8762 			  "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
8763 			  "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
8764 			  "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
8765 			  "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
8766 			  "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
8767 			  "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
8768 			  "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
8769 			  "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
8770 			  "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
8771 			  "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
8772 			  "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
8773 			  "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
8774 			  "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
8775 			  "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
8776 			  "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
8777 			  "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
8778 			  "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
8779 			  "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
8780 			  "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
8781 			  "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
8782 			  "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
8783 			  "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
8784 		.ilen	= 496,
8785 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8786 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8787 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8788 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8789 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8790 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8791 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8792 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8793 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8794 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8795 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8796 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8797 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8798 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8799 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8800 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8801 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8802 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8803 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8804 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8805 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8806 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8807 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8808 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8809 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8810 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8811 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8812 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8813 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8814 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8815 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8816 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8817 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8818 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8819 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8820 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8821 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8822 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8823 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8824 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8825 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8826 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8827 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8828 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8829 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8830 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8831 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8832 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8833 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8834 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8835 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8836 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8837 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8838 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8839 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8840 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8841 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8842 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8843 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8844 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8845 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8846 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8847 		.rlen	= 496,
8848 		.also_non_np = 1,
8849 		.np	= 3,
8850 		.tap	= { 496 - 20, 4, 16 },
8851 	},
8852 };
8853 
8854 static struct cipher_testvec tf_ctr_enc_tv_template[] = {
8855 	{ /* Generated with Crypto++ */
8856 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8857 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8858 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8859 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8860 		.klen	= 32,
8861 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8862 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8863 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8864 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8865 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8866 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8867 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8868 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8869 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8870 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8871 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8872 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8873 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8874 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8875 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8876 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8877 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8878 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8879 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8880 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8881 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8882 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8883 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8884 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8885 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8886 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8887 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8888 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8889 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8890 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8891 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8892 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8893 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8894 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8895 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8896 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8897 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8898 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8899 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8900 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8901 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8902 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8903 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8904 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8905 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8906 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8907 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8908 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8909 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8910 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8911 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8912 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8913 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8914 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8915 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8916 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8917 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8918 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8919 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8920 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8921 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8922 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8923 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8924 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8925 		.ilen	= 496,
8926 		.result	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
8927 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
8928 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
8929 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
8930 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
8931 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
8932 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
8933 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
8934 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
8935 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
8936 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
8937 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
8938 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
8939 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
8940 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
8941 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
8942 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
8943 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
8944 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
8945 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
8946 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
8947 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
8948 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
8949 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
8950 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
8951 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
8952 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
8953 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
8954 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
8955 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
8956 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
8957 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
8958 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
8959 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
8960 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
8961 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
8962 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
8963 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
8964 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
8965 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
8966 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
8967 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
8968 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
8969 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
8970 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
8971 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
8972 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
8973 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
8974 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
8975 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
8976 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
8977 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
8978 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
8979 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
8980 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
8981 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
8982 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
8983 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
8984 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
8985 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
8986 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
8987 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
8988 		.rlen	= 496,
8989 	}, { /* Generated with Crypto++ */
8990 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8991 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8992 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8993 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8994 		.klen	= 32,
8995 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
8996 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
8997 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8998 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8999 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9000 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9001 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9002 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9003 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9004 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9005 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9006 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9007 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9008 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9009 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9010 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9011 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9012 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9013 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9014 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9015 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9016 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9017 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9018 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9019 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9020 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9021 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9022 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9023 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9024 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9025 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9026 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9027 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9028 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9029 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9030 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9031 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9032 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9033 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9034 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9035 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9036 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9037 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9038 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9039 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9040 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9041 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9042 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9043 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9044 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9045 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9046 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9047 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9048 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9049 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9050 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9051 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9052 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9053 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9054 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9055 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9056 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9057 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9058 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9059 		.ilen	= 496,
9060 		.result	= "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
9061 			  "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
9062 			  "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
9063 			  "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
9064 			  "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
9065 			  "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
9066 			  "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
9067 			  "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
9068 			  "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
9069 			  "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
9070 			  "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
9071 			  "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
9072 			  "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
9073 			  "\x39\x18\x09\xA4\x82\x59\x78\xE7"
9074 			  "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
9075 			  "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
9076 			  "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
9077 			  "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
9078 			  "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
9079 			  "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
9080 			  "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
9081 			  "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
9082 			  "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
9083 			  "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
9084 			  "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
9085 			  "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
9086 			  "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
9087 			  "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
9088 			  "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
9089 			  "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
9090 			  "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
9091 			  "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
9092 			  "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
9093 			  "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
9094 			  "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
9095 			  "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
9096 			  "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
9097 			  "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
9098 			  "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
9099 			  "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
9100 			  "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
9101 			  "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
9102 			  "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
9103 			  "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
9104 			  "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
9105 			  "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
9106 			  "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
9107 			  "\xDE\x55\x1B\x50\x14\x53\x44\x17"
9108 			  "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
9109 			  "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
9110 			  "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
9111 			  "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
9112 			  "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
9113 			  "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
9114 			  "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
9115 			  "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
9116 			  "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
9117 			  "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
9118 			  "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
9119 			  "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
9120 			  "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
9121 			  "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
9122 		.rlen	= 496,
9123 	}, { /* Generated with Crypto++ */
9124 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9125 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9126 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9127 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9128 		.klen	= 32,
9129 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9130 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9131 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9132 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9133 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9134 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9135 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9136 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9137 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9138 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9139 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9140 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9141 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9142 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9143 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9144 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9145 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9146 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9147 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9148 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9149 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9150 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9151 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9152 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9153 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9154 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9155 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9156 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9157 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9158 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9159 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9160 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9161 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9162 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9163 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9164 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9165 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9166 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9167 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9168 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9169 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9170 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9171 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9172 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9173 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9174 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9175 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9176 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9177 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9178 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9179 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9180 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9181 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9182 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9183 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9184 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9185 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9186 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9187 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9188 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9189 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9190 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9191 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9192 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9193 			  "\x2B\xC2\x59",
9194 		.ilen	= 499,
9195 		.result	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9196 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9197 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9198 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9199 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9200 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9201 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9202 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9203 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9204 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9205 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9206 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9207 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9208 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9209 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9210 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9211 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9212 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9213 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9214 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9215 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9216 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9217 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9218 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9219 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9220 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9221 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9222 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9223 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9224 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9225 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9226 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9227 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9228 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9229 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9230 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9231 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9232 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9233 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9234 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9235 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9236 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9237 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9238 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9239 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9240 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9241 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9242 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9243 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9244 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9245 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9246 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9247 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9248 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9249 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9250 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9251 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9252 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9253 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9254 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9255 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9256 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
9257 			  "\x6C\x82\x9D",
9258 		.rlen	= 499,
9259 		.also_non_np = 1,
9260 		.np	= 2,
9261 		.tap	= { 499 - 16, 16 },
9262 	},
9263 };
9264 
9265 static struct cipher_testvec tf_ctr_dec_tv_template[] = {
9266 	{ /* Generated with Crypto++ */
9267 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9268 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9269 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9270 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9271 		.klen	= 32,
9272 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9273 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9274 		.input	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9275 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9276 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9277 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9278 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9279 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9280 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9281 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9282 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9283 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9284 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9285 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9286 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9287 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9288 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9289 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9290 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9291 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9292 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9293 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9294 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9295 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9296 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9297 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9298 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9299 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9300 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9301 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9302 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9303 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9304 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9305 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9306 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9307 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9308 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9309 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9310 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9311 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9312 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9313 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9314 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9315 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9316 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9317 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9318 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9319 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9320 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9321 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9322 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9323 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9324 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9325 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9326 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9327 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9328 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9329 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9330 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9331 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9332 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9333 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9334 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9335 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
9336 		.ilen	= 496,
9337 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9338 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9339 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9340 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9341 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9342 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9343 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9344 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9345 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9346 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9347 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9348 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9349 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9350 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9351 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9352 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9353 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9354 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9355 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9356 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9357 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9358 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9359 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9360 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9361 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9362 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9363 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9364 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9365 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9366 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9367 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9368 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9369 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9370 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9371 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9372 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9373 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9374 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9375 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9376 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9377 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9378 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9379 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9380 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9381 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9382 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9383 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9384 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9385 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9386 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9387 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9388 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9389 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9390 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9391 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9392 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9393 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9394 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9395 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9396 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9397 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9398 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9399 		.rlen	= 496,
9400 	}, { /* Generated with Crypto++ */
9401 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9402 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9403 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9404 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9405 		.klen	= 32,
9406 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
9407 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9408 		.input	= "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
9409 			  "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
9410 			  "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
9411 			  "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
9412 			  "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
9413 			  "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
9414 			  "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
9415 			  "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
9416 			  "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
9417 			  "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
9418 			  "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
9419 			  "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
9420 			  "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
9421 			  "\x39\x18\x09\xA4\x82\x59\x78\xE7"
9422 			  "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
9423 			  "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
9424 			  "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
9425 			  "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
9426 			  "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
9427 			  "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
9428 			  "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
9429 			  "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
9430 			  "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
9431 			  "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
9432 			  "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
9433 			  "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
9434 			  "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
9435 			  "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
9436 			  "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
9437 			  "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
9438 			  "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
9439 			  "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
9440 			  "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
9441 			  "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
9442 			  "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
9443 			  "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
9444 			  "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
9445 			  "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
9446 			  "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
9447 			  "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
9448 			  "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
9449 			  "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
9450 			  "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
9451 			  "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
9452 			  "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
9453 			  "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
9454 			  "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
9455 			  "\xDE\x55\x1B\x50\x14\x53\x44\x17"
9456 			  "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
9457 			  "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
9458 			  "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
9459 			  "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
9460 			  "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
9461 			  "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
9462 			  "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
9463 			  "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
9464 			  "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
9465 			  "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
9466 			  "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
9467 			  "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
9468 			  "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
9469 			  "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
9470 		.ilen	= 496,
9471 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9472 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9473 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9474 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9475 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9476 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9477 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9478 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9479 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9480 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9481 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9482 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9483 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9484 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9485 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9486 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9487 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9488 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9489 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9490 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9491 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9492 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9493 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9494 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9495 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9496 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9497 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9498 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9499 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9500 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9501 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9502 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9503 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9504 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9505 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9506 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9507 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9508 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9509 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9510 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9511 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9512 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9513 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9514 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9515 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9516 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9517 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9518 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9519 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9520 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9521 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9522 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9523 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9524 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9525 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9526 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9527 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9528 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9529 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9530 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9531 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9532 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9533 		.rlen	= 496,
9534 	}, { /* Generated with Crypto++ */
9535 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9536 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9537 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9538 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9539 		.klen	= 32,
9540 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9541 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9542 		.input	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9543 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9544 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9545 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9546 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9547 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9548 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9549 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9550 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9551 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9552 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9553 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9554 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9555 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9556 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9557 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9558 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9559 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9560 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9561 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9562 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9563 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9564 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9565 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9566 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9567 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9568 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9569 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9570 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9571 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9572 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9573 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9574 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9575 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9576 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9577 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9578 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9579 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9580 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9581 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9582 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9583 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9584 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9585 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9586 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9587 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9588 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9589 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9590 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9591 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9592 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9593 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9594 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9595 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9596 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9597 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9598 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9599 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9600 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9601 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9602 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9603 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
9604 			  "\x6C\x82\x9D",
9605 		.ilen	= 499,
9606 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9607 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9608 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9609 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9610 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9611 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9612 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9613 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9614 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9615 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9616 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9617 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9618 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9619 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9620 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9621 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9622 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9623 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9624 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9625 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9626 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9627 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9628 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9629 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9630 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9631 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9632 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9633 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9634 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9635 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9636 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9637 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9638 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9639 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9640 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9641 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9642 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9643 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9644 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9645 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9646 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9647 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9648 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9649 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9650 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9651 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9652 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9653 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9654 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9655 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9656 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9657 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9658 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9659 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9660 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9661 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9662 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9663 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9664 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9665 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9666 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9667 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9668 			  "\x2B\xC2\x59",
9669 		.rlen	= 499,
9670 		.also_non_np = 1,
9671 		.np	= 2,
9672 		.tap	= { 499 - 16, 16 },
9673 	},
9674 };
9675 
9676 static struct cipher_testvec tf_lrw_enc_tv_template[] = {
9677 	/* Generated from AES-LRW test vectors */
9678 	{
9679 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
9680 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
9681 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
9682 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
9683 		.klen	= 32,
9684 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9685 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9686 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9687 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9688 		.ilen	= 16,
9689 		.result	= "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
9690 			  "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
9691 		.rlen	= 16,
9692 	}, {
9693 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
9694 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
9695 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
9696 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
9697 		.klen	= 32,
9698 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9699 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
9700 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9701 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9702 		.ilen	= 16,
9703 		.result	= "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
9704 			  "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
9705 		.rlen	= 16,
9706 	}, {
9707 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
9708 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
9709 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
9710 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
9711 		.klen	= 32,
9712 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9713 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9714 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9715 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9716 		.ilen	= 16,
9717 		.result	= "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
9718 			  "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
9719 		.rlen	= 16,
9720 	}, {
9721 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
9722 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
9723 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
9724 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
9725 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
9726 		.klen	= 40,
9727 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9728 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9729 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9730 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9731 		.ilen	= 16,
9732 		.result	= "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
9733 			  "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
9734 		.rlen	= 16,
9735 	}, {
9736 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
9737 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
9738 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
9739 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
9740 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
9741 		.klen	= 40,
9742 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9743 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9744 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9745 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9746 		.ilen	= 16,
9747 		.result	= "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
9748 			  "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
9749 		.rlen	= 16,
9750 	}, {
9751 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9752 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9753 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9754 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9755 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9756 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9757 		.klen	= 48,
9758 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9759 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9760 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9761 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9762 		.ilen	= 16,
9763 		.result	= "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
9764 			  "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
9765 		.rlen	= 16,
9766 	}, {
9767 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
9768 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
9769 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
9770 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
9771 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
9772 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
9773 		.klen	= 48,
9774 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9775 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9776 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9777 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9778 		.ilen	= 16,
9779 		.result	= "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
9780 			  "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
9781 		.rlen	= 16,
9782 	}, {
9783 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9784 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9785 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9786 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9787 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9788 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9789 		.klen	= 48,
9790 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9791 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9792 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
9793 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
9794 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
9795 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
9796 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
9797 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
9798 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
9799 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
9800 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
9801 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
9802 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
9803 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
9804 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
9805 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
9806 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
9807 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
9808 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
9809 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
9810 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
9811 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
9812 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
9813 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
9814 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
9815 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
9816 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
9817 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
9818 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
9819 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
9820 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
9821 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
9822 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
9823 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
9824 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
9825 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
9826 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
9827 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
9828 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
9829 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
9830 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
9831 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
9832 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
9833 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
9834 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
9835 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
9836 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
9837 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
9838 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
9839 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
9840 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
9841 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
9842 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
9843 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
9844 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
9845 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
9846 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
9847 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
9848 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
9849 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
9850 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
9851 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
9852 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
9853 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
9854 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
9855 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
9856 		.ilen	= 512,
9857 		.result	= "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
9858 			  "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
9859 			  "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
9860 			  "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
9861 			  "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
9862 			  "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
9863 			  "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
9864 			  "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
9865 			  "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
9866 			  "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
9867 			  "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
9868 			  "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
9869 			  "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
9870 			  "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
9871 			  "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
9872 			  "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
9873 			  "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
9874 			  "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
9875 			  "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
9876 			  "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
9877 			  "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
9878 			  "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
9879 			  "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
9880 			  "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
9881 			  "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
9882 			  "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
9883 			  "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
9884 			  "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
9885 			  "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
9886 			  "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
9887 			  "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
9888 			  "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
9889 			  "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
9890 			  "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
9891 			  "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
9892 			  "\x3e\xae\x71\x90\x07\x70\x1c\x38"
9893 			  "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
9894 			  "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
9895 			  "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
9896 			  "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
9897 			  "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
9898 			  "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
9899 			  "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
9900 			  "\x93\x51\x1d\x3d\x62\x59\x83\x82"
9901 			  "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
9902 			  "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
9903 			  "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
9904 			  "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
9905 			  "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
9906 			  "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
9907 			  "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
9908 			  "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
9909 			  "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
9910 			  "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
9911 			  "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
9912 			  "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
9913 			  "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
9914 			  "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
9915 			  "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
9916 			  "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
9917 			  "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
9918 			  "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
9919 			  "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
9920 			  "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
9921 		.rlen	= 512,
9922 		.also_non_np = 1,
9923 		.np	= 3,
9924 		.tap	= { 512 - 20, 4, 16 },
9925 	},
9926 };
9927 
9928 static struct cipher_testvec tf_lrw_dec_tv_template[] = {
9929 	/* Generated from AES-LRW test vectors */
9930 	/* same as enc vectors with input and result reversed */
9931 	{
9932 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
9933 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
9934 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
9935 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
9936 		.klen	= 32,
9937 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9938 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9939 		.input	= "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
9940 			  "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
9941 		.ilen	= 16,
9942 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9943 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9944 		.rlen	= 16,
9945 	}, {
9946 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
9947 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
9948 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
9949 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
9950 		.klen	= 32,
9951 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9952 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
9953 		.input	= "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
9954 			  "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
9955 		.ilen	= 16,
9956 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9957 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9958 		.rlen	= 16,
9959 	}, {
9960 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
9961 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
9962 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
9963 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
9964 		.klen	= 32,
9965 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9966 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9967 		.input	= "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
9968 			  "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
9969 		.ilen	= 16,
9970 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9971 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9972 		.rlen	= 16,
9973 	}, {
9974 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
9975 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
9976 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
9977 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
9978 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
9979 		.klen	= 40,
9980 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9981 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9982 		.input	= "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
9983 			  "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
9984 		.ilen	= 16,
9985 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9986 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9987 		.rlen	= 16,
9988 	}, {
9989 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
9990 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
9991 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
9992 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
9993 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
9994 		.klen	= 40,
9995 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9996 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9997 		.input	= "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
9998 			  "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
9999 		.ilen	= 16,
10000 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10001 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10002 		.rlen	= 16,
10003 	}, {
10004 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10005 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10006 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10007 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10008 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10009 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10010 		.klen	= 48,
10011 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10012 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10013 		.input	= "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
10014 			  "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
10015 		.ilen	= 16,
10016 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10017 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10018 		.rlen	= 16,
10019 	}, {
10020 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
10021 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
10022 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
10023 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
10024 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
10025 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
10026 		.klen	= 48,
10027 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10028 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
10029 		.input	= "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
10030 			  "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
10031 		.ilen	= 16,
10032 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10033 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10034 		.rlen	= 16,
10035 	}, {
10036 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10037 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10038 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10039 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10040 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10041 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10042 		.klen	= 48,
10043 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10044 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10045 		.input	= "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
10046 			  "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
10047 			  "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
10048 			  "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
10049 			  "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
10050 			  "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
10051 			  "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
10052 			  "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
10053 			  "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
10054 			  "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
10055 			  "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
10056 			  "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
10057 			  "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
10058 			  "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
10059 			  "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
10060 			  "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
10061 			  "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
10062 			  "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
10063 			  "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
10064 			  "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
10065 			  "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
10066 			  "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
10067 			  "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
10068 			  "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
10069 			  "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
10070 			  "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
10071 			  "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
10072 			  "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
10073 			  "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
10074 			  "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
10075 			  "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
10076 			  "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
10077 			  "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
10078 			  "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
10079 			  "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
10080 			  "\x3e\xae\x71\x90\x07\x70\x1c\x38"
10081 			  "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
10082 			  "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
10083 			  "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
10084 			  "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
10085 			  "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
10086 			  "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
10087 			  "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
10088 			  "\x93\x51\x1d\x3d\x62\x59\x83\x82"
10089 			  "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
10090 			  "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
10091 			  "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
10092 			  "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
10093 			  "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
10094 			  "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
10095 			  "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
10096 			  "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
10097 			  "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
10098 			  "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
10099 			  "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
10100 			  "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
10101 			  "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
10102 			  "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
10103 			  "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
10104 			  "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
10105 			  "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
10106 			  "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
10107 			  "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
10108 			  "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
10109 		.ilen	= 512,
10110 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
10111 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
10112 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
10113 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
10114 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
10115 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
10116 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
10117 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
10118 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
10119 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
10120 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
10121 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
10122 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
10123 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
10124 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
10125 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
10126 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
10127 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
10128 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
10129 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
10130 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
10131 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
10132 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
10133 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
10134 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
10135 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
10136 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
10137 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
10138 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
10139 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
10140 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
10141 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
10142 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
10143 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
10144 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
10145 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
10146 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
10147 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
10148 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
10149 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
10150 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
10151 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
10152 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
10153 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
10154 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
10155 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
10156 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
10157 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
10158 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
10159 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
10160 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
10161 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
10162 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
10163 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
10164 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
10165 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
10166 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
10167 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
10168 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
10169 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
10170 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
10171 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
10172 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
10173 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
10174 		.rlen	= 512,
10175 		.also_non_np = 1,
10176 		.np	= 3,
10177 		.tap	= { 512 - 20, 4, 16 },
10178 	},
10179 };
10180 
10181 static struct cipher_testvec tf_xts_enc_tv_template[] = {
10182 	/* Generated from AES-XTS test vectors */
10183 {
10184 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10185 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10186 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10187 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10188 		.klen	= 32,
10189 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10190 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10191 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10192 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10193 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10194 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10195 		.ilen	= 32,
10196 		.result	= "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
10197 			  "\x30\x74\xe4\x44\x52\x77\x97\x43"
10198 			  "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
10199 			  "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
10200 		.rlen	= 32,
10201 	}, {
10202 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
10203 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
10204 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10205 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10206 		.klen	= 32,
10207 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10208 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10209 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10210 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10211 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10212 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10213 		.ilen	= 32,
10214 		.result	= "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
10215 			  "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
10216 			  "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
10217 			  "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
10218 		.rlen	= 32,
10219 	}, {
10220 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
10221 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
10222 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10223 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10224 		.klen	= 32,
10225 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10226 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10227 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10228 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10229 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10230 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10231 		.ilen	= 32,
10232 		.result	= "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
10233 			  "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
10234 			  "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
10235 			  "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
10236 		.rlen	= 32,
10237 	}, {
10238 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10239 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10240 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10241 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
10242 		.klen	= 32,
10243 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10244 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10245 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10246 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10247 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10248 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10249 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10250 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10251 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10252 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10253 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10254 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10255 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10256 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10257 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10258 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10259 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10260 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10261 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10262 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10263 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10264 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10265 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10266 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10267 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10268 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10269 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10270 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10271 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10272 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10273 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10274 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10275 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10276 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10277 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10278 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10279 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10280 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10281 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10282 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10283 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10284 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10285 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10286 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10287 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10288 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10289 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10290 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10291 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10292 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10293 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10294 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10295 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10296 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10297 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10298 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10299 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10300 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10301 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10302 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10303 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10304 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10305 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10306 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10307 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10308 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10309 		.ilen	= 512,
10310 		.result	= "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
10311 			  "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
10312 			  "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
10313 			  "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
10314 			  "\xea\x35\x35\x8c\xb2\x46\x61\x06"
10315 			  "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
10316 			  "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
10317 			  "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
10318 			  "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
10319 			  "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
10320 			  "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
10321 			  "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
10322 			  "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
10323 			  "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
10324 			  "\x01\x73\x68\x32\x25\x19\xfa\xfb"
10325 			  "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
10326 			  "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
10327 			  "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
10328 			  "\x39\x80\x39\x09\x97\x65\xf2\x83"
10329 			  "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
10330 			  "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
10331 			  "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
10332 			  "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
10333 			  "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
10334 			  "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
10335 			  "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
10336 			  "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
10337 			  "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
10338 			  "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
10339 			  "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
10340 			  "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
10341 			  "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
10342 			  "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
10343 			  "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
10344 			  "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
10345 			  "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
10346 			  "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
10347 			  "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
10348 			  "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
10349 			  "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
10350 			  "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
10351 			  "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
10352 			  "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
10353 			  "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
10354 			  "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
10355 			  "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
10356 			  "\x04\x39\x73\x32\xb2\x86\x79\xe7"
10357 			  "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
10358 			  "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
10359 			  "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
10360 			  "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
10361 			  "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
10362 			  "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
10363 			  "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
10364 			  "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
10365 			  "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
10366 			  "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
10367 			  "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
10368 			  "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
10369 			  "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
10370 			  "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
10371 			  "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
10372 			  "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
10373 			  "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
10374 		.rlen	= 512,
10375 	}, {
10376 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10377 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10378 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
10379 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
10380 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10381 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
10382 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
10383 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
10384 		.klen	= 64,
10385 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
10386 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10387 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10388 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10389 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10390 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10391 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10392 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10393 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10394 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10395 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10396 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10397 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10398 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10399 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10400 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10401 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10402 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10403 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10404 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10405 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10406 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10407 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10408 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10409 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10410 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10411 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10412 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10413 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10414 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10415 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10416 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10417 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10418 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10419 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10420 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10421 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10422 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10423 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10424 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10425 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10426 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10427 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10428 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10429 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10430 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10431 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10432 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10433 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10434 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10435 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10436 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10437 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10438 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10439 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10440 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10441 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10442 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10443 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10444 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10445 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10446 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10447 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10448 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10449 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10450 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10451 		.ilen	= 512,
10452 		.result	= "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
10453 			  "\x35\x39\x71\x88\x76\x1e\xc9\xea"
10454 			  "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
10455 			  "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
10456 			  "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
10457 			  "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
10458 			  "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
10459 			  "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
10460 			  "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
10461 			  "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
10462 			  "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
10463 			  "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
10464 			  "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
10465 			  "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
10466 			  "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
10467 			  "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
10468 			  "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
10469 			  "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
10470 			  "\x69\x35\x61\x86\xf8\x86\xb9\x89"
10471 			  "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
10472 			  "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
10473 			  "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
10474 			  "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
10475 			  "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
10476 			  "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
10477 			  "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
10478 			  "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
10479 			  "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
10480 			  "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
10481 			  "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
10482 			  "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
10483 			  "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
10484 			  "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
10485 			  "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
10486 			  "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
10487 			  "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
10488 			  "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
10489 			  "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
10490 			  "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
10491 			  "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
10492 			  "\xad\x12\x32\x31\x03\xf7\x21\xbe"
10493 			  "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
10494 			  "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
10495 			  "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
10496 			  "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
10497 			  "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
10498 			  "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
10499 			  "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
10500 			  "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
10501 			  "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
10502 			  "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
10503 			  "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
10504 			  "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
10505 			  "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
10506 			  "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
10507 			  "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
10508 			  "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
10509 			  "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
10510 			  "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
10511 			  "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
10512 			  "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
10513 			  "\xf3\xea\x67\x52\x78\xc2\xce\x70"
10514 			  "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
10515 			  "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
10516 		.rlen	= 512,
10517 		.also_non_np = 1,
10518 		.np	= 3,
10519 		.tap	= { 512 - 20, 4, 16 },
10520 	},
10521 };
10522 
10523 static struct cipher_testvec tf_xts_dec_tv_template[] = {
10524 	/* Generated from AES-XTS test vectors */
10525 	/* same as enc vectors with input and result reversed */
10526 	{
10527 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10528 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10529 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10530 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10531 		.klen	= 32,
10532 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10533 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10534 		.input	= "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
10535 			  "\x30\x74\xe4\x44\x52\x77\x97\x43"
10536 			  "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
10537 			  "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
10538 		.ilen	= 32,
10539 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10540 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10541 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10542 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10543 		.rlen	= 32,
10544 	}, {
10545 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
10546 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
10547 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10548 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10549 		.klen	= 32,
10550 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10551 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10552 		.input	= "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
10553 			  "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
10554 			  "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
10555 			  "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
10556 		.ilen	= 32,
10557 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10558 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10559 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10560 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10561 		.rlen	= 32,
10562 	}, {
10563 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
10564 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
10565 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10566 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10567 		.klen	= 32,
10568 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10569 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10570 		.input	= "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
10571 			  "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
10572 			  "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
10573 			  "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
10574 		.ilen	= 32,
10575 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10576 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10577 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10578 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10579 		.rlen	= 32,
10580 	}, {
10581 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10582 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10583 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10584 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
10585 		.klen	= 32,
10586 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10587 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10588 		.input	= "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
10589 			  "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
10590 			  "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
10591 			  "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
10592 			  "\xea\x35\x35\x8c\xb2\x46\x61\x06"
10593 			  "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
10594 			  "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
10595 			  "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
10596 			  "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
10597 			  "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
10598 			  "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
10599 			  "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
10600 			  "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
10601 			  "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
10602 			  "\x01\x73\x68\x32\x25\x19\xfa\xfb"
10603 			  "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
10604 			  "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
10605 			  "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
10606 			  "\x39\x80\x39\x09\x97\x65\xf2\x83"
10607 			  "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
10608 			  "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
10609 			  "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
10610 			  "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
10611 			  "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
10612 			  "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
10613 			  "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
10614 			  "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
10615 			  "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
10616 			  "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
10617 			  "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
10618 			  "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
10619 			  "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
10620 			  "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
10621 			  "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
10622 			  "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
10623 			  "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
10624 			  "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
10625 			  "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
10626 			  "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
10627 			  "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
10628 			  "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
10629 			  "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
10630 			  "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
10631 			  "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
10632 			  "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
10633 			  "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
10634 			  "\x04\x39\x73\x32\xb2\x86\x79\xe7"
10635 			  "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
10636 			  "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
10637 			  "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
10638 			  "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
10639 			  "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
10640 			  "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
10641 			  "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
10642 			  "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
10643 			  "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
10644 			  "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
10645 			  "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
10646 			  "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
10647 			  "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
10648 			  "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
10649 			  "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
10650 			  "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
10651 			  "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
10652 		.ilen	= 512,
10653 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10654 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10655 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10656 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10657 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10658 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10659 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10660 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10661 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10662 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10663 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10664 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10665 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10666 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10667 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10668 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10669 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10670 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10671 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10672 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10673 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10674 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10675 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10676 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10677 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10678 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10679 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10680 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10681 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10682 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10683 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10684 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10685 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10686 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10687 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10688 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10689 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10690 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10691 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10692 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10693 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10694 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10695 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10696 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10697 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10698 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10699 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10700 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10701 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10702 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10703 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10704 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10705 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10706 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10707 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10708 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10709 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10710 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10711 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10712 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10713 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10714 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10715 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10716 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10717 		.rlen	= 512,
10718 	}, {
10719 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10720 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10721 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
10722 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
10723 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10724 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
10725 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
10726 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
10727 		.klen	= 64,
10728 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
10729 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10730 		.input	= "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
10731 			  "\x35\x39\x71\x88\x76\x1e\xc9\xea"
10732 			  "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
10733 			  "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
10734 			  "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
10735 			  "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
10736 			  "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
10737 			  "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
10738 			  "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
10739 			  "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
10740 			  "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
10741 			  "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
10742 			  "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
10743 			  "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
10744 			  "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
10745 			  "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
10746 			  "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
10747 			  "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
10748 			  "\x69\x35\x61\x86\xf8\x86\xb9\x89"
10749 			  "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
10750 			  "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
10751 			  "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
10752 			  "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
10753 			  "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
10754 			  "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
10755 			  "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
10756 			  "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
10757 			  "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
10758 			  "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
10759 			  "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
10760 			  "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
10761 			  "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
10762 			  "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
10763 			  "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
10764 			  "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
10765 			  "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
10766 			  "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
10767 			  "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
10768 			  "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
10769 			  "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
10770 			  "\xad\x12\x32\x31\x03\xf7\x21\xbe"
10771 			  "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
10772 			  "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
10773 			  "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
10774 			  "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
10775 			  "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
10776 			  "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
10777 			  "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
10778 			  "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
10779 			  "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
10780 			  "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
10781 			  "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
10782 			  "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
10783 			  "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
10784 			  "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
10785 			  "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
10786 			  "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
10787 			  "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
10788 			  "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
10789 			  "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
10790 			  "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
10791 			  "\xf3\xea\x67\x52\x78\xc2\xce\x70"
10792 			  "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
10793 			  "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
10794 		.ilen	= 512,
10795 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10796 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10797 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10798 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10799 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10800 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10801 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10802 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10803 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10804 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10805 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10806 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10807 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10808 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10809 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10810 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10811 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10812 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10813 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10814 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10815 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10816 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10817 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10818 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10819 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10820 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10821 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10822 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10823 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10824 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10825 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10826 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10827 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10828 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10829 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10830 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10831 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10832 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10833 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10834 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10835 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10836 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10837 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10838 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10839 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10840 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10841 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10842 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10843 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10844 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10845 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10846 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10847 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10848 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10849 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10850 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10851 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10852 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10853 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10854 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10855 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10856 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10857 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10858 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10859 		.rlen	= 512,
10860 		.also_non_np = 1,
10861 		.np	= 3,
10862 		.tap	= { 512 - 20, 4, 16 },
10863 	},
10864 };
10865 
10866 /*
10867  * Serpent test vectors.  These are backwards because Serpent writes
10868  * octet sequences in right-to-left mode.
10869  */
10870 #define SERPENT_ENC_TEST_VECTORS	5
10871 #define SERPENT_DEC_TEST_VECTORS	5
10872 
10873 #define TNEPRES_ENC_TEST_VECTORS	4
10874 #define TNEPRES_DEC_TEST_VECTORS	4
10875 
10876 #define SERPENT_CBC_ENC_TEST_VECTORS	1
10877 #define SERPENT_CBC_DEC_TEST_VECTORS	1
10878 
10879 #define SERPENT_CTR_ENC_TEST_VECTORS	2
10880 #define SERPENT_CTR_DEC_TEST_VECTORS	2
10881 
10882 #define SERPENT_LRW_ENC_TEST_VECTORS	8
10883 #define SERPENT_LRW_DEC_TEST_VECTORS	8
10884 
10885 #define SERPENT_XTS_ENC_TEST_VECTORS	5
10886 #define SERPENT_XTS_DEC_TEST_VECTORS	5
10887 
10888 static struct cipher_testvec serpent_enc_tv_template[] = {
10889 	{
10890 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10891 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10892 		.ilen	= 16,
10893 		.result	= "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
10894 			  "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
10895 		.rlen	= 16,
10896 	}, {
10897 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10898 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10899 		.klen	= 16,
10900 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10901 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10902 		.ilen	= 16,
10903 		.result	= "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
10904 			  "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
10905 		.rlen	= 16,
10906 	}, {
10907 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10908 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10909 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10910 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
10911 		.klen	= 32,
10912 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10913 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10914 		.ilen	= 16,
10915 		.result	= "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
10916 			  "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
10917 		.rlen	= 16,
10918 	}, {
10919 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
10920 		.klen	= 16,
10921 		.input	= zeroed_string,
10922 		.ilen	= 16,
10923 		.result	= "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
10924 			  "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
10925 		.rlen	= 16,
10926 	}, { /* Generated with Crypto++ */
10927 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10928 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10929 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10930 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10931 		.klen	= 32,
10932 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10933 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10934 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10935 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10936 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10937 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10938 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10939 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10940 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10941 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10942 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10943 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10944 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10945 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10946 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10947 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10948 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10949 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10950 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10951 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10952 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10953 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10954 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10955 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10956 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10957 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10958 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10959 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10960 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10961 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10962 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10963 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10964 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10965 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10966 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10967 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10968 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10969 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10970 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10971 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10972 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10973 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10974 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10975 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10976 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10977 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10978 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10979 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10980 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10981 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10982 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10983 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10984 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10985 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10986 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10987 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10988 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10989 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10990 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10991 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10992 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10993 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10994 		.ilen	= 496,
10995 		.result	= "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
10996 			  "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
10997 			  "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
10998 			  "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
10999 			  "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
11000 			  "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
11001 			  "\x99\x34\x89\x5B\x54\xE9\x12\x13"
11002 			  "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
11003 			  "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
11004 			  "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
11005 			  "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
11006 			  "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
11007 			  "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
11008 			  "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
11009 			  "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
11010 			  "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
11011 			  "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
11012 			  "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
11013 			  "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
11014 			  "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
11015 			  "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
11016 			  "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
11017 			  "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
11018 			  "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
11019 			  "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
11020 			  "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
11021 			  "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
11022 			  "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
11023 			  "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
11024 			  "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
11025 			  "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
11026 			  "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
11027 			  "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
11028 			  "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
11029 			  "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
11030 			  "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
11031 			  "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
11032 			  "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
11033 			  "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
11034 			  "\x87\x70\x14\xD0\x01\x57\xCB\x42"
11035 			  "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
11036 			  "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
11037 			  "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
11038 			  "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
11039 			  "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
11040 			  "\x71\x80\x05\x35\x3F\x40\x0B\x21"
11041 			  "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
11042 			  "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
11043 			  "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
11044 			  "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
11045 			  "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
11046 			  "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
11047 			  "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
11048 			  "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
11049 			  "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
11050 			  "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
11051 			  "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
11052 			  "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
11053 			  "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
11054 			  "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
11055 			  "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
11056 			  "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
11057 		.rlen	= 496,
11058 		.also_non_np = 1,
11059 		.np	= 3,
11060 		.tap	= { 496 - 20, 4, 16 },
11061 	},
11062 };
11063 
11064 static struct cipher_testvec tnepres_enc_tv_template[] = {
11065 	{ /* KeySize=128, PT=0, I=1 */
11066 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11067 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11068 		.key    = "\x80\x00\x00\x00\x00\x00\x00\x00"
11069 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11070 		.klen   = 16,
11071 		.ilen	= 16,
11072 		.result	= "\x49\xaf\xbf\xad\x9d\x5a\x34\x05"
11073 			  "\x2c\xd8\xff\xa5\x98\x6b\xd2\xdd",
11074 		.rlen	= 16,
11075 	}, { /* KeySize=192, PT=0, I=1 */
11076 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
11077 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11078 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11079 		.klen	= 24,
11080 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11081 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11082 		.ilen	= 16,
11083 		.result	= "\xe7\x8e\x54\x02\xc7\x19\x55\x68"
11084 			  "\xac\x36\x78\xf7\xa3\xf6\x0c\x66",
11085 		.rlen	= 16,
11086 	}, { /* KeySize=256, PT=0, I=1 */
11087 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
11088 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11089 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11090 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11091 		.klen	= 32,
11092 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11093 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11094 		.ilen	= 16,
11095 		.result	= "\xab\xed\x96\xe7\x66\xbf\x28\xcb"
11096 			  "\xc0\xeb\xd2\x1a\x82\xef\x08\x19",
11097 		.rlen	= 16,
11098 	}, { /* KeySize=256, I=257 */
11099 		.key	= "\x1f\x1e\x1d\x1c\x1b\x1a\x19\x18"
11100 			  "\x17\x16\x15\x14\x13\x12\x11\x10"
11101 			  "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
11102 			  "\x07\x06\x05\x04\x03\x02\x01\x00",
11103 		.klen	= 32,
11104 		.input	= "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
11105 			  "\x07\x06\x05\x04\x03\x02\x01\x00",
11106 		.ilen	= 16,
11107 		.result	= "\x5c\xe7\x1c\x70\xd2\x88\x2e\x5b"
11108 			  "\xb8\x32\xe4\x33\xf8\x9f\x26\xde",
11109 		.rlen	= 16,
11110 	},
11111 };
11112 
11113 
11114 static struct cipher_testvec serpent_dec_tv_template[] = {
11115 	{
11116 		.input	= "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
11117 			  "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
11118 		.ilen	= 16,
11119 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11120 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11121 		.rlen	= 16,
11122 	}, {
11123 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11124 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11125 		.klen	= 16,
11126 		.input	= "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
11127 			  "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
11128 		.ilen	= 16,
11129 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11130 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11131 		.rlen	= 16,
11132 	}, {
11133 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11134 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11135 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11136 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11137 		.klen	= 32,
11138 		.input	= "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
11139 			  "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
11140 		.ilen	= 16,
11141 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11142 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11143 		.rlen	= 16,
11144 	}, {
11145 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11146 		.klen	= 16,
11147 		.input	= "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
11148 			  "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
11149 		.ilen	= 16,
11150 		.result	= zeroed_string,
11151 		.rlen	= 16,
11152 	}, { /* Generated with Crypto++ */
11153 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11154 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11155 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11156 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11157 		.klen	= 32,
11158 		.input	= "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
11159 			  "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
11160 			  "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
11161 			  "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
11162 			  "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
11163 			  "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
11164 			  "\x99\x34\x89\x5B\x54\xE9\x12\x13"
11165 			  "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
11166 			  "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
11167 			  "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
11168 			  "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
11169 			  "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
11170 			  "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
11171 			  "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
11172 			  "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
11173 			  "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
11174 			  "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
11175 			  "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
11176 			  "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
11177 			  "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
11178 			  "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
11179 			  "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
11180 			  "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
11181 			  "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
11182 			  "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
11183 			  "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
11184 			  "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
11185 			  "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
11186 			  "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
11187 			  "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
11188 			  "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
11189 			  "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
11190 			  "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
11191 			  "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
11192 			  "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
11193 			  "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
11194 			  "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
11195 			  "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
11196 			  "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
11197 			  "\x87\x70\x14\xD0\x01\x57\xCB\x42"
11198 			  "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
11199 			  "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
11200 			  "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
11201 			  "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
11202 			  "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
11203 			  "\x71\x80\x05\x35\x3F\x40\x0B\x21"
11204 			  "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
11205 			  "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
11206 			  "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
11207 			  "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
11208 			  "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
11209 			  "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
11210 			  "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
11211 			  "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
11212 			  "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
11213 			  "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
11214 			  "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
11215 			  "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
11216 			  "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
11217 			  "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
11218 			  "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
11219 			  "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
11220 		.ilen	= 496,
11221 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11222 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11223 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11224 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11225 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11226 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11227 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11228 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11229 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11230 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11231 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11232 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11233 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11234 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11235 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11236 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11237 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11238 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11239 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11240 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11241 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11242 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11243 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11244 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11245 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11246 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11247 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11248 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11249 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11250 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11251 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11252 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11253 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11254 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11255 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11256 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11257 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11258 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11259 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11260 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11261 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11262 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11263 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11264 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11265 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11266 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11267 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11268 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11269 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11270 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11271 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11272 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11273 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11274 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11275 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11276 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11277 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11278 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11279 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11280 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11281 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11282 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11283 		.rlen	= 496,
11284 		.also_non_np = 1,
11285 		.np	= 3,
11286 		.tap	= { 496 - 20, 4, 16 },
11287 	},
11288 };
11289 
11290 static struct cipher_testvec tnepres_dec_tv_template[] = {
11291 	{
11292 		.input	= "\x41\xcc\x6b\x31\x59\x31\x45\x97"
11293 			  "\x6d\x6f\xbb\x38\x4b\x37\x21\x28",
11294 		.ilen	= 16,
11295 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11296 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11297 		.rlen	= 16,
11298 	}, {
11299 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11300 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11301 		.klen	= 16,
11302 		.input	= "\xea\xf4\xd7\xfc\xd8\x01\x34\x47"
11303 			  "\x81\x45\x0b\xfa\x0c\xd6\xad\x6e",
11304 		.ilen	= 16,
11305 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11306 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11307 		.rlen	= 16,
11308 	}, {
11309 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11310 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11311 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11312 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11313 		.klen	= 32,
11314 		.input	= "\x64\xa9\x1a\x37\xed\x9f\xe7\x49"
11315 			  "\xa8\x4e\x76\xd6\xf5\x0d\x78\xee",
11316 		.ilen	= 16,
11317 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11318 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11319 		.rlen	= 16,
11320 	}, { /* KeySize=128, I=121 */
11321 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11322 		.klen	= 16,
11323 		.input	= "\x3d\xda\xbf\xc0\x06\xda\xab\x06"
11324 			  "\x46\x2a\xf4\xef\x81\x54\x4e\x26",
11325 		.ilen	= 16,
11326 		.result	= zeroed_string,
11327 		.rlen	= 16,
11328 	},
11329 };
11330 
11331 static struct cipher_testvec serpent_cbc_enc_tv_template[] = {
11332 	{ /* Generated with Crypto++ */
11333 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11334 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11335 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11336 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11337 		.klen	= 32,
11338 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11339 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11340 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11341 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11342 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11343 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11344 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11345 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11346 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11347 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11348 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11349 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11350 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11351 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11352 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11353 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11354 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11355 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11356 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11357 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11358 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11359 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11360 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11361 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11362 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11363 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11364 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11365 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11366 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11367 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11368 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11369 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11370 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11371 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11372 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11373 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11374 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11375 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11376 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11377 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11378 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11379 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11380 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11381 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11382 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11383 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11384 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11385 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11386 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11387 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11388 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11389 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11390 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11391 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11392 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11393 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11394 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11395 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11396 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11397 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11398 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11399 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11400 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11401 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11402 		.ilen	= 496,
11403 		.result	= "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
11404 			  "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
11405 			  "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
11406 			  "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
11407 			  "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
11408 			  "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
11409 			  "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
11410 			  "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
11411 			  "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
11412 			  "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
11413 			  "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
11414 			  "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
11415 			  "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
11416 			  "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
11417 			  "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
11418 			  "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
11419 			  "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
11420 			  "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
11421 			  "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
11422 			  "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
11423 			  "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
11424 			  "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
11425 			  "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
11426 			  "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
11427 			  "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
11428 			  "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
11429 			  "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
11430 			  "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
11431 			  "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
11432 			  "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
11433 			  "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
11434 			  "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
11435 			  "\x81\x92\x66\x67\x15\x1E\x39\x98"
11436 			  "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
11437 			  "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
11438 			  "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
11439 			  "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
11440 			  "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
11441 			  "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
11442 			  "\x04\x05\x46\xD3\x90\x0F\x64\x64"
11443 			  "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
11444 			  "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
11445 			  "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
11446 			  "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
11447 			  "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
11448 			  "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
11449 			  "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
11450 			  "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
11451 			  "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
11452 			  "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
11453 			  "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
11454 			  "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
11455 			  "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
11456 			  "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
11457 			  "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
11458 			  "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
11459 			  "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
11460 			  "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
11461 			  "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
11462 			  "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
11463 			  "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
11464 			  "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
11465 		.rlen	= 496,
11466 		.also_non_np = 1,
11467 		.np	= 3,
11468 		.tap	= { 496 - 20, 4, 16 },
11469 	},
11470 };
11471 
11472 static struct cipher_testvec serpent_cbc_dec_tv_template[] = {
11473 	{ /* Generated with Crypto++ */
11474 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11475 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11476 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11477 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11478 		.klen	= 32,
11479 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11480 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11481 		.input	= "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
11482 			  "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
11483 			  "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
11484 			  "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
11485 			  "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
11486 			  "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
11487 			  "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
11488 			  "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
11489 			  "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
11490 			  "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
11491 			  "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
11492 			  "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
11493 			  "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
11494 			  "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
11495 			  "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
11496 			  "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
11497 			  "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
11498 			  "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
11499 			  "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
11500 			  "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
11501 			  "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
11502 			  "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
11503 			  "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
11504 			  "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
11505 			  "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
11506 			  "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
11507 			  "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
11508 			  "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
11509 			  "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
11510 			  "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
11511 			  "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
11512 			  "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
11513 			  "\x81\x92\x66\x67\x15\x1E\x39\x98"
11514 			  "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
11515 			  "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
11516 			  "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
11517 			  "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
11518 			  "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
11519 			  "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
11520 			  "\x04\x05\x46\xD3\x90\x0F\x64\x64"
11521 			  "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
11522 			  "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
11523 			  "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
11524 			  "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
11525 			  "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
11526 			  "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
11527 			  "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
11528 			  "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
11529 			  "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
11530 			  "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
11531 			  "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
11532 			  "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
11533 			  "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
11534 			  "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
11535 			  "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
11536 			  "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
11537 			  "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
11538 			  "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
11539 			  "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
11540 			  "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
11541 			  "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
11542 			  "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
11543 		.ilen	= 496,
11544 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11545 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11546 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11547 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11548 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11549 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11550 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11551 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11552 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11553 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11554 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11555 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11556 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11557 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11558 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11559 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11560 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11561 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11562 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11563 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11564 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11565 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11566 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11567 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11568 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11569 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11570 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11571 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11572 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11573 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11574 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11575 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11576 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11577 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11578 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11579 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11580 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11581 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11582 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11583 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11584 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11585 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11586 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11587 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11588 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11589 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11590 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11591 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11592 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11593 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11594 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11595 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11596 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11597 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11598 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11599 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11600 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11601 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11602 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11603 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11604 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11605 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11606 		.rlen	= 496,
11607 		.also_non_np = 1,
11608 		.np	= 3,
11609 		.tap	= { 496 - 20, 4, 16 },
11610 	},
11611 };
11612 
11613 static struct cipher_testvec serpent_ctr_enc_tv_template[] = {
11614 	{ /* Generated with Crypto++ */
11615 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11616 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11617 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11618 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11619 		.klen	= 32,
11620 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11621 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11622 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11623 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11624 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11625 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11626 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11627 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11628 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11629 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11630 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11631 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11632 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11633 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11634 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11635 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11636 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11637 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11638 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11639 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11640 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11641 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11642 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11643 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11644 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11645 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11646 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11647 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11648 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11649 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11650 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11651 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11652 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11653 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11654 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11655 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11656 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11657 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11658 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11659 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11660 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11661 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11662 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11663 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11664 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11665 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11666 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11667 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11668 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11669 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11670 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11671 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11672 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11673 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11674 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11675 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11676 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11677 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11678 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11679 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11680 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11681 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11682 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11683 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11684 		.ilen	= 496,
11685 		.result	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
11686 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
11687 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
11688 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
11689 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
11690 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
11691 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
11692 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
11693 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
11694 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
11695 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
11696 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
11697 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
11698 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
11699 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
11700 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
11701 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
11702 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
11703 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
11704 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
11705 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
11706 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
11707 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
11708 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
11709 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
11710 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
11711 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
11712 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
11713 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
11714 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
11715 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
11716 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
11717 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
11718 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
11719 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
11720 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
11721 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
11722 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
11723 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
11724 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
11725 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
11726 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
11727 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
11728 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
11729 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
11730 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
11731 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
11732 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
11733 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
11734 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
11735 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
11736 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
11737 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
11738 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
11739 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
11740 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
11741 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
11742 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
11743 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
11744 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
11745 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
11746 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
11747 		.rlen	= 496,
11748 	}, { /* Generated with Crypto++ */
11749 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11750 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11751 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11752 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11753 		.klen	= 32,
11754 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11755 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11756 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11757 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11758 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11759 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11760 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11761 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11762 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11763 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11764 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11765 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11766 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11767 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11768 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11769 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11770 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11771 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11772 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11773 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11774 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11775 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11776 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11777 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11778 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11779 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11780 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11781 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11782 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11783 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11784 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11785 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11786 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11787 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11788 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11789 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11790 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11791 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11792 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11793 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11794 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11795 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11796 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11797 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11798 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11799 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11800 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11801 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11802 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11803 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11804 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11805 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11806 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11807 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11808 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11809 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11810 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11811 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11812 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11813 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11814 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11815 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11816 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11817 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11818 			  "\x2B\xC2\x59",
11819 		.ilen	= 499,
11820 		.result	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
11821 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
11822 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
11823 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
11824 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
11825 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
11826 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
11827 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
11828 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
11829 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
11830 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
11831 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
11832 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
11833 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
11834 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
11835 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
11836 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
11837 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
11838 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
11839 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
11840 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
11841 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
11842 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
11843 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
11844 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
11845 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
11846 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
11847 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
11848 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
11849 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
11850 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
11851 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
11852 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
11853 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
11854 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
11855 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
11856 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
11857 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
11858 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
11859 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
11860 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
11861 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
11862 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
11863 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
11864 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
11865 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
11866 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
11867 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
11868 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
11869 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
11870 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
11871 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
11872 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
11873 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
11874 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
11875 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
11876 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
11877 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
11878 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
11879 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
11880 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
11881 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
11882 			  "\x38\xE2\xE5",
11883 		.rlen	= 499,
11884 		.also_non_np = 1,
11885 		.np	= 2,
11886 		.tap	= { 499 - 16, 16 },
11887 	}, { /* Generated with Crypto++ */
11888 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11889 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11890 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11891 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11892 		.klen	= 32,
11893 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
11894 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
11895 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11896 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11897 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11898 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11899 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11900 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11901 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11902 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11903 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11904 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11905 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11906 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11907 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11908 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11909 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11910 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11911 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11912 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11913 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11914 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11915 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11916 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11917 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11918 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11919 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11920 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11921 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11922 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11923 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11924 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11925 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11926 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11927 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11928 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11929 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11930 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11931 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11932 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11933 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11934 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11935 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11936 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11937 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11938 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11939 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11940 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11941 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11942 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11943 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11944 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11945 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11946 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11947 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11948 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11949 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11950 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11951 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11952 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11953 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11954 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11955 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11956 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11957 		.ilen	= 496,
11958 		.result	= "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
11959 			  "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
11960 			  "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
11961 			  "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
11962 			  "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
11963 			  "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
11964 			  "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
11965 			  "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
11966 			  "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
11967 			  "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
11968 			  "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
11969 			  "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
11970 			  "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
11971 			  "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
11972 			  "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
11973 			  "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
11974 			  "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
11975 			  "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
11976 			  "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
11977 			  "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
11978 			  "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
11979 			  "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
11980 			  "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
11981 			  "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
11982 			  "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
11983 			  "\x29\x5E\x01\x47\x13\x32\x78\xBE"
11984 			  "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
11985 			  "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
11986 			  "\x38\x35\x11\x26\x4A\xB4\x06\x32"
11987 			  "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
11988 			  "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
11989 			  "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
11990 			  "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
11991 			  "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
11992 			  "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
11993 			  "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
11994 			  "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
11995 			  "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
11996 			  "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
11997 			  "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
11998 			  "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
11999 			  "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
12000 			  "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
12001 			  "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
12002 			  "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
12003 			  "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
12004 			  "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
12005 			  "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
12006 			  "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
12007 			  "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
12008 			  "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
12009 			  "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
12010 			  "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
12011 			  "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
12012 			  "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
12013 			  "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
12014 			  "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
12015 			  "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
12016 			  "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
12017 			  "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
12018 			  "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
12019 			  "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
12020 		.rlen	= 496,
12021 	},
12022 };
12023 
12024 static struct cipher_testvec serpent_ctr_dec_tv_template[] = {
12025 	{ /* Generated with Crypto++ */
12026 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12027 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12028 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12029 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12030 		.klen	= 32,
12031 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12032 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12033 		.input	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12034 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12035 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12036 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12037 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12038 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12039 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12040 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12041 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12042 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12043 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12044 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12045 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12046 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12047 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12048 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12049 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12050 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12051 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12052 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12053 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12054 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12055 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12056 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12057 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12058 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12059 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12060 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12061 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12062 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12063 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12064 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12065 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12066 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12067 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12068 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12069 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12070 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12071 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12072 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12073 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12074 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12075 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12076 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12077 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12078 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12079 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12080 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12081 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12082 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12083 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12084 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12085 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12086 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12087 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12088 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12089 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12090 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12091 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12092 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12093 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12094 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
12095 		.ilen	= 496,
12096 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12097 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12098 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12099 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12100 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12101 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12102 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12103 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12104 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12105 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12106 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12107 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12108 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12109 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12110 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12111 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12112 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12113 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12114 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12115 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12116 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12117 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12118 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12119 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12120 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12121 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12122 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12123 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12124 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12125 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12126 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12127 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12128 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12129 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12130 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12131 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12132 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12133 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12134 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12135 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12136 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12137 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12138 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12139 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12140 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12141 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12142 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12143 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12144 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12145 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12146 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12147 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12148 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12149 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12150 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12151 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12152 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12153 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12154 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12155 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12156 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12157 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12158 		.rlen	= 496,
12159 	}, { /* Generated with Crypto++ */
12160 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12161 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12162 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12163 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12164 		.klen	= 32,
12165 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12166 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12167 		.input	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12168 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12169 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12170 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12171 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12172 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12173 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12174 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12175 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12176 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12177 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12178 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12179 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12180 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12181 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12182 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12183 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12184 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12185 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12186 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12187 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12188 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12189 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12190 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12191 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12192 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12193 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12194 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12195 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12196 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12197 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12198 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12199 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12200 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12201 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12202 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12203 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12204 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12205 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12206 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12207 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12208 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12209 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12210 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12211 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12212 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12213 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12214 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12215 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12216 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12217 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12218 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12219 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12220 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12221 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12222 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12223 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12224 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12225 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12226 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12227 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12228 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
12229 			  "\x38\xE2\xE5",
12230 		.ilen	= 499,
12231 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12232 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12233 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12234 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12235 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12236 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12237 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12238 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12239 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12240 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12241 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12242 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12243 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12244 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12245 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12246 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12247 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12248 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12249 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12250 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12251 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12252 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12253 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12254 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12255 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12256 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12257 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12258 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12259 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12260 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12261 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12262 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12263 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12264 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12265 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12266 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12267 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12268 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12269 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12270 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12271 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12272 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12273 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12274 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12275 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12276 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12277 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12278 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12279 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12280 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12281 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12282 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12283 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12284 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12285 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12286 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12287 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12288 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12289 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12290 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12291 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12292 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12293 			  "\x2B\xC2\x59",
12294 		.rlen	= 499,
12295 		.also_non_np = 1,
12296 		.np	= 2,
12297 		.tap	= { 499 - 16, 16 },
12298 	}, { /* Generated with Crypto++ */
12299 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12300 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12301 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12302 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12303 		.klen	= 32,
12304 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
12305 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
12306 		.input	= "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
12307 			  "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
12308 			  "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
12309 			  "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
12310 			  "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
12311 			  "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
12312 			  "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
12313 			  "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
12314 			  "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
12315 			  "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
12316 			  "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
12317 			  "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
12318 			  "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
12319 			  "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
12320 			  "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
12321 			  "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
12322 			  "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
12323 			  "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
12324 			  "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
12325 			  "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
12326 			  "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
12327 			  "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
12328 			  "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
12329 			  "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
12330 			  "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
12331 			  "\x29\x5E\x01\x47\x13\x32\x78\xBE"
12332 			  "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
12333 			  "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
12334 			  "\x38\x35\x11\x26\x4A\xB4\x06\x32"
12335 			  "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
12336 			  "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
12337 			  "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
12338 			  "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
12339 			  "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
12340 			  "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
12341 			  "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
12342 			  "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
12343 			  "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
12344 			  "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
12345 			  "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
12346 			  "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
12347 			  "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
12348 			  "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
12349 			  "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
12350 			  "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
12351 			  "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
12352 			  "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
12353 			  "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
12354 			  "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
12355 			  "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
12356 			  "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
12357 			  "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
12358 			  "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
12359 			  "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
12360 			  "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
12361 			  "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
12362 			  "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
12363 			  "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
12364 			  "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
12365 			  "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
12366 			  "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
12367 			  "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
12368 		.ilen	= 496,
12369 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12370 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12371 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12372 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12373 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12374 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12375 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12376 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12377 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12378 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12379 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12380 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12381 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12382 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12383 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12384 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12385 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12386 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12387 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12388 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12389 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12390 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12391 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12392 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12393 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12394 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12395 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12396 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12397 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12398 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12399 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12400 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12401 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12402 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12403 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12404 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12405 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12406 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12407 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12408 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12409 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12410 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12411 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12412 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12413 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12414 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12415 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12416 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12417 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12418 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12419 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12420 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12421 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12422 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12423 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12424 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12425 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12426 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12427 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12428 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12429 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12430 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12431 		.rlen	= 496,
12432 	},
12433 };
12434 
12435 static struct cipher_testvec serpent_lrw_enc_tv_template[] = {
12436 	/* Generated from AES-LRW test vectors */
12437 	{
12438 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
12439 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
12440 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
12441 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
12442 		.klen	= 32,
12443 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12444 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12445 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12446 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12447 		.ilen	= 16,
12448 		.result	= "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
12449 			  "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
12450 		.rlen	= 16,
12451 	}, {
12452 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
12453 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
12454 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
12455 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
12456 		.klen	= 32,
12457 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12458 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
12459 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12460 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12461 		.ilen	= 16,
12462 		.result	= "\xfd\xb2\x66\x98\x80\x96\x55\xad"
12463 			  "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
12464 		.rlen	= 16,
12465 	}, {
12466 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
12467 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
12468 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
12469 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
12470 		.klen	= 32,
12471 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12472 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12473 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12474 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12475 		.ilen	= 16,
12476 		.result	= "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
12477 			  "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
12478 		.rlen	= 16,
12479 	}, {
12480 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
12481 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
12482 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
12483 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
12484 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
12485 		.klen	= 40,
12486 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12487 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12488 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12489 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12490 		.ilen	= 16,
12491 		.result	= "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
12492 			  "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
12493 		.rlen	= 16,
12494 	}, {
12495 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
12496 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
12497 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
12498 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
12499 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
12500 		.klen	= 40,
12501 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12502 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12503 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12504 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12505 		.ilen	= 16,
12506 		.result	= "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
12507 			  "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
12508 		.rlen	= 16,
12509 	}, {
12510 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12511 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12512 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12513 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12514 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12515 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12516 		.klen	= 48,
12517 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12518 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12519 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12520 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12521 		.ilen	= 16,
12522 		.result	= "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
12523 			  "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
12524 		.rlen	= 16,
12525 	}, {
12526 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
12527 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
12528 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
12529 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
12530 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
12531 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
12532 		.klen	= 48,
12533 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12534 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12535 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12536 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12537 		.ilen	= 16,
12538 		.result	= "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
12539 			  "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
12540 		.rlen	= 16,
12541 	}, {
12542 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12543 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12544 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12545 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12546 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12547 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12548 		.klen	= 48,
12549 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12550 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12551 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12552 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12553 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12554 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12555 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12556 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12557 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12558 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12559 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12560 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12561 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12562 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12563 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12564 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12565 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12566 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12567 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12568 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12569 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12570 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12571 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12572 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12573 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12574 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12575 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12576 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12577 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12578 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12579 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12580 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12581 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12582 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12583 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12584 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12585 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12586 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12587 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12588 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12589 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12590 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12591 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12592 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12593 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12594 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12595 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12596 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12597 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
12598 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
12599 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
12600 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
12601 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
12602 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
12603 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
12604 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
12605 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
12606 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
12607 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
12608 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
12609 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
12610 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
12611 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
12612 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
12613 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
12614 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
12615 		.ilen	= 512,
12616 		.result	= "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
12617 			  "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
12618 			  "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
12619 			  "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
12620 			  "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
12621 			  "\xce\xab\xda\x33\x30\x20\x12\xfa"
12622 			  "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
12623 			  "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
12624 			  "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
12625 			  "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
12626 			  "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
12627 			  "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
12628 			  "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
12629 			  "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
12630 			  "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
12631 			  "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
12632 			  "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
12633 			  "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
12634 			  "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
12635 			  "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
12636 			  "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
12637 			  "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
12638 			  "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
12639 			  "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
12640 			  "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
12641 			  "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
12642 			  "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
12643 			  "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
12644 			  "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
12645 			  "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
12646 			  "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
12647 			  "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
12648 			  "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
12649 			  "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
12650 			  "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
12651 			  "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
12652 			  "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
12653 			  "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
12654 			  "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
12655 			  "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
12656 			  "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
12657 			  "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
12658 			  "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
12659 			  "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
12660 			  "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
12661 			  "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
12662 			  "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
12663 			  "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
12664 			  "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
12665 			  "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
12666 			  "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
12667 			  "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
12668 			  "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
12669 			  "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
12670 			  "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
12671 			  "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
12672 			  "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
12673 			  "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
12674 			  "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
12675 			  "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
12676 			  "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
12677 			  "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
12678 			  "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
12679 			  "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
12680 		.rlen	= 512,
12681 		.also_non_np = 1,
12682 		.np	= 3,
12683 		.tap	= { 512 - 20, 4, 16 },
12684 	},
12685 };
12686 
12687 static struct cipher_testvec serpent_lrw_dec_tv_template[] = {
12688 	/* Generated from AES-LRW test vectors */
12689 	/* same as enc vectors with input and result reversed */
12690 	{
12691 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
12692 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
12693 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
12694 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
12695 		.klen	= 32,
12696 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12697 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12698 		.input	= "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
12699 			  "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
12700 		.ilen	= 16,
12701 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12702 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12703 		.rlen	= 16,
12704 	}, {
12705 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
12706 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
12707 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
12708 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
12709 		.klen	= 32,
12710 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12711 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
12712 		.input	= "\xfd\xb2\x66\x98\x80\x96\x55\xad"
12713 			  "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
12714 		.ilen	= 16,
12715 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12716 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12717 		.rlen	= 16,
12718 	}, {
12719 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
12720 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
12721 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
12722 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
12723 		.klen	= 32,
12724 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12725 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12726 		.input	= "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
12727 			  "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
12728 		.ilen	= 16,
12729 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12730 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12731 		.rlen	= 16,
12732 	}, {
12733 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
12734 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
12735 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
12736 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
12737 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
12738 		.klen	= 40,
12739 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12740 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12741 		.input	= "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
12742 			  "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
12743 		.ilen	= 16,
12744 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12745 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12746 		.rlen	= 16,
12747 	}, {
12748 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
12749 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
12750 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
12751 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
12752 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
12753 		.klen	= 40,
12754 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12755 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12756 		.input	= "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
12757 			  "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
12758 		.ilen	= 16,
12759 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12760 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12761 		.rlen	= 16,
12762 	}, {
12763 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12764 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12765 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12766 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12767 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12768 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12769 		.klen	= 48,
12770 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12771 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12772 		.input	= "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
12773 			  "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
12774 		.ilen	= 16,
12775 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12776 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12777 		.rlen	= 16,
12778 	}, {
12779 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
12780 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
12781 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
12782 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
12783 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
12784 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
12785 		.klen	= 48,
12786 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12787 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12788 		.input	= "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
12789 			  "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
12790 		.ilen	= 16,
12791 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12792 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12793 		.rlen	= 16,
12794 	}, {
12795 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12796 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12797 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12798 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12799 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12800 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12801 		.klen	= 48,
12802 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12803 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12804 		.input	= "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
12805 			  "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
12806 			  "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
12807 			  "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
12808 			  "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
12809 			  "\xce\xab\xda\x33\x30\x20\x12\xfa"
12810 			  "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
12811 			  "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
12812 			  "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
12813 			  "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
12814 			  "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
12815 			  "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
12816 			  "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
12817 			  "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
12818 			  "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
12819 			  "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
12820 			  "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
12821 			  "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
12822 			  "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
12823 			  "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
12824 			  "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
12825 			  "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
12826 			  "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
12827 			  "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
12828 			  "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
12829 			  "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
12830 			  "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
12831 			  "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
12832 			  "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
12833 			  "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
12834 			  "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
12835 			  "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
12836 			  "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
12837 			  "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
12838 			  "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
12839 			  "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
12840 			  "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
12841 			  "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
12842 			  "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
12843 			  "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
12844 			  "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
12845 			  "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
12846 			  "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
12847 			  "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
12848 			  "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
12849 			  "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
12850 			  "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
12851 			  "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
12852 			  "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
12853 			  "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
12854 			  "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
12855 			  "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
12856 			  "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
12857 			  "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
12858 			  "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
12859 			  "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
12860 			  "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
12861 			  "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
12862 			  "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
12863 			  "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
12864 			  "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
12865 			  "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
12866 			  "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
12867 			  "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
12868 		.ilen	= 512,
12869 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12870 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12871 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12872 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12873 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12874 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12875 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12876 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12877 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12878 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12879 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12880 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12881 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12882 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12883 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12884 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12885 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12886 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12887 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12888 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12889 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12890 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12891 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12892 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12893 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12894 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12895 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12896 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12897 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12898 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12899 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12900 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12901 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12902 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12903 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12904 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12905 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12906 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12907 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12908 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12909 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12910 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12911 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12912 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12913 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12914 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12915 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
12916 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
12917 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
12918 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
12919 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
12920 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
12921 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
12922 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
12923 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
12924 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
12925 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
12926 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
12927 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
12928 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
12929 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
12930 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
12931 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
12932 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
12933 		.rlen	= 512,
12934 		.also_non_np = 1,
12935 		.np	= 3,
12936 		.tap	= { 512 - 20, 4, 16 },
12937 	},
12938 };
12939 
12940 static struct cipher_testvec serpent_xts_enc_tv_template[] = {
12941 	/* Generated from AES-XTS test vectors */
12942 	{
12943 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12944 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
12945 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
12946 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
12947 		.klen	= 32,
12948 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12949 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
12950 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12951 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
12952 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
12953 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
12954 		.ilen	= 32,
12955 		.result	= "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
12956 			  "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
12957 			  "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
12958 			  "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
12959 		.rlen	= 32,
12960 	}, {
12961 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
12962 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
12963 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
12964 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
12965 		.klen	= 32,
12966 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
12967 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
12968 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
12969 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
12970 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
12971 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
12972 		.ilen	= 32,
12973 		.result	= "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
12974 			  "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
12975 			  "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
12976 			  "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
12977 		.rlen	= 32,
12978 	}, {
12979 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
12980 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
12981 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
12982 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
12983 		.klen	= 32,
12984 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
12985 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
12986 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
12987 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
12988 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
12989 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
12990 		.ilen	= 32,
12991 		.result	= "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
12992 			  "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
12993 			  "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
12994 			  "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
12995 		.rlen	= 32,
12996 	}, {
12997 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
12998 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
12999 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13000 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
13001 		.klen	= 32,
13002 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13003 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13004 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13005 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13006 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13007 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13008 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13009 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13010 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13011 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13012 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13013 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13014 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13015 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13016 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13017 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13018 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13019 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13020 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13021 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13022 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13023 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13024 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13025 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13026 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13027 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13028 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13029 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13030 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13031 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13032 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13033 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13034 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13035 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13036 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13037 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13038 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13039 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13040 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13041 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13042 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13043 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13044 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13045 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13046 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13047 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13048 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13049 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13050 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13051 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13052 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13053 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13054 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13055 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13056 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13057 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13058 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13059 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13060 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13061 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13062 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13063 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13064 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13065 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13066 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13067 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13068 		.ilen	= 512,
13069 		.result	= "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
13070 			  "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
13071 			  "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
13072 			  "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
13073 			  "\x00\x5c\x75\x14\x06\xd6\x25\x82"
13074 			  "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
13075 			  "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
13076 			  "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
13077 			  "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
13078 			  "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
13079 			  "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
13080 			  "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
13081 			  "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
13082 			  "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
13083 			  "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
13084 			  "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
13085 			  "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
13086 			  "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
13087 			  "\x58\xfa\x43\x91\x16\x85\x40\xbb"
13088 			  "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
13089 			  "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
13090 			  "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
13091 			  "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
13092 			  "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
13093 			  "\x6e\x29\x60\xbd\x10\x14\x84\x82"
13094 			  "\x83\x82\x0c\x63\x73\x92\x02\x7c"
13095 			  "\x55\x37\x20\x80\x17\x51\xc8\xbc"
13096 			  "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
13097 			  "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
13098 			  "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
13099 			  "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
13100 			  "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
13101 			  "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
13102 			  "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
13103 			  "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
13104 			  "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
13105 			  "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
13106 			  "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
13107 			  "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
13108 			  "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
13109 			  "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
13110 			  "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
13111 			  "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
13112 			  "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
13113 			  "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
13114 			  "\x43\x42\x35\xd0\xcf\xec\x77\x67"
13115 			  "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
13116 			  "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
13117 			  "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
13118 			  "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
13119 			  "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
13120 			  "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
13121 			  "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
13122 			  "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
13123 			  "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
13124 			  "\x03\x57\xe6\x98\x52\x2f\x61\x62"
13125 			  "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
13126 			  "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
13127 			  "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
13128 			  "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
13129 			  "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
13130 			  "\xef\x91\x64\x1d\x18\x07\x4e\x31"
13131 			  "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
13132 			  "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
13133 		.rlen	= 512,
13134 	}, {
13135 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
13136 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
13137 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
13138 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
13139 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13140 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
13141 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
13142 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
13143 		.klen	= 64,
13144 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
13145 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13146 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13147 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13148 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13149 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13150 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13151 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13152 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13153 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13154 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13155 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13156 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13157 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13158 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13159 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13160 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13161 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13162 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13163 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13164 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13165 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13166 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13167 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13168 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13169 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13170 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13171 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13172 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13173 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13174 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13175 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13176 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13177 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13178 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13179 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13180 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13181 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13182 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13183 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13184 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13185 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13186 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13187 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13188 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13189 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13190 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13191 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13192 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13193 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13194 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13195 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13196 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13197 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13198 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13199 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13200 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13201 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13202 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13203 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13204 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13205 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13206 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13207 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13208 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13209 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13210 		.ilen	= 512,
13211 		.result	= "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
13212 			  "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
13213 			  "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
13214 			  "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
13215 			  "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
13216 			  "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
13217 			  "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
13218 			  "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
13219 			  "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
13220 			  "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
13221 			  "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
13222 			  "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
13223 			  "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
13224 			  "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
13225 			  "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
13226 			  "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
13227 			  "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
13228 			  "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
13229 			  "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
13230 			  "\xec\x9a\xda\x64\x96\xb5\x61\xff"
13231 			  "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
13232 			  "\x81\x85\x14\xa8\x59\xac\x8c\x94"
13233 			  "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
13234 			  "\x82\xc6\x4d\xca\x86\xea\x53\x28"
13235 			  "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
13236 			  "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
13237 			  "\x05\xca\x81\x7b\xda\xa2\xde\x63"
13238 			  "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
13239 			  "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
13240 			  "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
13241 			  "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
13242 			  "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
13243 			  "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
13244 			  "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
13245 			  "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
13246 			  "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
13247 			  "\xfd\x43\x7d\xda\x42\x51\x87\x43"
13248 			  "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
13249 			  "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
13250 			  "\x27\x5f\x11\xac\x71\xc7\x48\x46"
13251 			  "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
13252 			  "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
13253 			  "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
13254 			  "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
13255 			  "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
13256 			  "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
13257 			  "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
13258 			  "\x50\x88\x97\x40\x69\xb1\x37\xf5"
13259 			  "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
13260 			  "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
13261 			  "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
13262 			  "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
13263 			  "\xc1\x16\x73\x50\x77\xba\xa6\x65"
13264 			  "\x20\x2d\xb0\x02\x27\x89\xda\x99"
13265 			  "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
13266 			  "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
13267 			  "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
13268 			  "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
13269 			  "\xa3\x0e\x33\x74\x40\x18\x39\x72"
13270 			  "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
13271 			  "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
13272 			  "\x30\x05\xc8\x92\x98\x80\xff\x7a"
13273 			  "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
13274 			  "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
13275 		.rlen	= 512,
13276 		.also_non_np = 1,
13277 		.np	= 3,
13278 		.tap	= { 512 - 20, 4, 16 },
13279 	},
13280 };
13281 
13282 static struct cipher_testvec serpent_xts_dec_tv_template[] = {
13283 	/* Generated from AES-XTS test vectors */
13284 	/* same as enc vectors with input and result reversed */
13285 	{
13286 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13287 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13288 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13289 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13290 		.klen	= 32,
13291 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13292 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13293 		.input	= "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
13294 			  "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
13295 			  "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
13296 			  "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
13297 		.ilen	= 32,
13298 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13299 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13300 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13301 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13302 		.rlen	= 32,
13303 	}, {
13304 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
13305 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
13306 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
13307 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
13308 		.klen	= 32,
13309 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
13310 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13311 		.input	= "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
13312 			  "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
13313 			  "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
13314 			  "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
13315 		.ilen	= 32,
13316 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
13317 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13318 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13319 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
13320 		.rlen	= 32,
13321 	}, {
13322 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
13323 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
13324 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
13325 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
13326 		.klen	= 32,
13327 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
13328 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13329 		.input	= "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
13330 			  "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
13331 			  "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
13332 			  "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
13333 		.ilen	= 32,
13334 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
13335 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13336 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13337 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
13338 		.rlen	= 32,
13339 	}, {
13340 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
13341 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
13342 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13343 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
13344 		.klen	= 32,
13345 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13346 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13347 		.input	= "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
13348 			  "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
13349 			  "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
13350 			  "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
13351 			  "\x00\x5c\x75\x14\x06\xd6\x25\x82"
13352 			  "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
13353 			  "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
13354 			  "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
13355 			  "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
13356 			  "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
13357 			  "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
13358 			  "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
13359 			  "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
13360 			  "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
13361 			  "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
13362 			  "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
13363 			  "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
13364 			  "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
13365 			  "\x58\xfa\x43\x91\x16\x85\x40\xbb"
13366 			  "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
13367 			  "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
13368 			  "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
13369 			  "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
13370 			  "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
13371 			  "\x6e\x29\x60\xbd\x10\x14\x84\x82"
13372 			  "\x83\x82\x0c\x63\x73\x92\x02\x7c"
13373 			  "\x55\x37\x20\x80\x17\x51\xc8\xbc"
13374 			  "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
13375 			  "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
13376 			  "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
13377 			  "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
13378 			  "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
13379 			  "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
13380 			  "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
13381 			  "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
13382 			  "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
13383 			  "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
13384 			  "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
13385 			  "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
13386 			  "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
13387 			  "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
13388 			  "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
13389 			  "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
13390 			  "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
13391 			  "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
13392 			  "\x43\x42\x35\xd0\xcf\xec\x77\x67"
13393 			  "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
13394 			  "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
13395 			  "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
13396 			  "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
13397 			  "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
13398 			  "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
13399 			  "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
13400 			  "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
13401 			  "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
13402 			  "\x03\x57\xe6\x98\x52\x2f\x61\x62"
13403 			  "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
13404 			  "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
13405 			  "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
13406 			  "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
13407 			  "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
13408 			  "\xef\x91\x64\x1d\x18\x07\x4e\x31"
13409 			  "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
13410 			  "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
13411 		.ilen	= 512,
13412 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13413 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13414 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13415 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13416 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13417 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13418 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13419 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13420 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13421 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13422 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13423 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13424 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13425 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13426 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13427 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13428 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13429 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13430 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13431 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13432 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13433 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13434 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13435 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13436 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13437 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13438 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13439 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13440 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13441 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13442 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13443 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13444 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13445 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13446 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13447 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13448 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13449 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13450 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13451 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13452 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13453 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13454 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13455 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13456 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13457 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13458 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13459 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13460 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13461 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13462 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13463 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13464 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13465 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13466 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13467 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13468 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13469 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13470 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13471 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13472 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13473 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13474 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13475 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13476 		.rlen	= 512,
13477 	}, {
13478 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
13479 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
13480 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
13481 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
13482 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13483 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
13484 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
13485 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
13486 		.klen	= 64,
13487 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
13488 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13489 		.input	= "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
13490 			  "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
13491 			  "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
13492 			  "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
13493 			  "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
13494 			  "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
13495 			  "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
13496 			  "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
13497 			  "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
13498 			  "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
13499 			  "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
13500 			  "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
13501 			  "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
13502 			  "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
13503 			  "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
13504 			  "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
13505 			  "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
13506 			  "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
13507 			  "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
13508 			  "\xec\x9a\xda\x64\x96\xb5\x61\xff"
13509 			  "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
13510 			  "\x81\x85\x14\xa8\x59\xac\x8c\x94"
13511 			  "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
13512 			  "\x82\xc6\x4d\xca\x86\xea\x53\x28"
13513 			  "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
13514 			  "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
13515 			  "\x05\xca\x81\x7b\xda\xa2\xde\x63"
13516 			  "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
13517 			  "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
13518 			  "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
13519 			  "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
13520 			  "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
13521 			  "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
13522 			  "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
13523 			  "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
13524 			  "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
13525 			  "\xfd\x43\x7d\xda\x42\x51\x87\x43"
13526 			  "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
13527 			  "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
13528 			  "\x27\x5f\x11\xac\x71\xc7\x48\x46"
13529 			  "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
13530 			  "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
13531 			  "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
13532 			  "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
13533 			  "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
13534 			  "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
13535 			  "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
13536 			  "\x50\x88\x97\x40\x69\xb1\x37\xf5"
13537 			  "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
13538 			  "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
13539 			  "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
13540 			  "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
13541 			  "\xc1\x16\x73\x50\x77\xba\xa6\x65"
13542 			  "\x20\x2d\xb0\x02\x27\x89\xda\x99"
13543 			  "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
13544 			  "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
13545 			  "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
13546 			  "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
13547 			  "\xa3\x0e\x33\x74\x40\x18\x39\x72"
13548 			  "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
13549 			  "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
13550 			  "\x30\x05\xc8\x92\x98\x80\xff\x7a"
13551 			  "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
13552 			  "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
13553 		.ilen	= 512,
13554 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13555 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13556 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13557 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13558 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13559 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13560 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13561 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13562 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13563 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13564 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13565 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13566 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13567 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13568 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13569 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13570 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13571 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13572 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13573 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13574 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13575 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13576 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13577 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13578 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13579 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13580 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13581 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13582 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13583 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13584 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13585 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13586 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13587 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13588 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13589 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13590 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13591 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13592 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13593 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13594 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13595 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13596 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13597 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13598 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13599 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13600 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13601 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13602 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13603 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13604 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13605 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13606 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13607 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13608 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13609 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13610 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13611 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13612 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13613 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13614 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13615 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13616 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13617 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13618 		.rlen	= 512,
13619 		.also_non_np = 1,
13620 		.np	= 3,
13621 		.tap	= { 512 - 20, 4, 16 },
13622 	},
13623 };
13624 
13625 /* Cast6 test vectors from RFC 2612 */
13626 #define CAST6_ENC_TEST_VECTORS		4
13627 #define CAST6_DEC_TEST_VECTORS		4
13628 #define CAST6_CBC_ENC_TEST_VECTORS	1
13629 #define CAST6_CBC_DEC_TEST_VECTORS	1
13630 #define CAST6_CTR_ENC_TEST_VECTORS	2
13631 #define CAST6_CTR_DEC_TEST_VECTORS	2
13632 #define CAST6_LRW_ENC_TEST_VECTORS	1
13633 #define CAST6_LRW_DEC_TEST_VECTORS	1
13634 #define CAST6_XTS_ENC_TEST_VECTORS	1
13635 #define CAST6_XTS_DEC_TEST_VECTORS	1
13636 
13637 static struct cipher_testvec cast6_enc_tv_template[] = {
13638 	{
13639 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13640 			  "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
13641 		.klen	= 16,
13642 		.input	= zeroed_string,
13643 		.ilen	= 16,
13644 		.result	= "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
13645 			  "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
13646 		.rlen	= 16,
13647 	}, {
13648 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13649 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13650 			  "\xba\xc7\x7a\x77\x17\x94\x28\x63",
13651 		.klen	= 24,
13652 		.input	= zeroed_string,
13653 		.ilen	= 16,
13654 		.result	= "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
13655 			  "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
13656 		.rlen	= 16,
13657 	}, {
13658 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13659 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13660 			  "\x8d\x7c\x47\xce\x26\x49\x08\x46"
13661 			  "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
13662 		.klen	= 32,
13663 		.input	= zeroed_string,
13664 		.ilen	= 16,
13665 		.result	= "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
13666 			  "\xc9\x87\x01\x36\x55\x33\x17\xfa",
13667 		.rlen	= 16,
13668 	}, { /* Generated from TF test vectors */
13669 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13670 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13671 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13672 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13673 		.klen	= 32,
13674 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13675 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13676 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13677 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13678 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13679 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13680 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13681 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13682 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13683 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13684 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13685 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13686 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13687 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13688 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13689 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13690 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13691 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13692 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13693 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13694 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13695 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13696 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13697 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13698 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13699 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13700 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13701 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13702 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13703 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13704 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13705 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13706 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13707 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13708 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13709 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13710 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13711 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13712 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13713 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13714 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13715 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13716 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13717 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13718 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13719 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13720 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13721 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13722 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13723 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13724 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13725 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13726 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13727 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13728 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13729 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13730 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13731 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13732 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13733 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13734 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13735 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13736 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13737 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13738 		.ilen	= 496,
13739 		.result	= "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
13740 			  "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
13741 			  "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
13742 			  "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
13743 			  "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
13744 			  "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
13745 			  "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
13746 			  "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
13747 			  "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
13748 			  "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
13749 			  "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
13750 			  "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
13751 			  "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
13752 			  "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
13753 			  "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
13754 			  "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
13755 			  "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
13756 			  "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
13757 			  "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
13758 			  "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
13759 			  "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
13760 			  "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
13761 			  "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
13762 			  "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
13763 			  "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
13764 			  "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
13765 			  "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
13766 			  "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
13767 			  "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
13768 			  "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
13769 			  "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
13770 			  "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
13771 			  "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
13772 			  "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
13773 			  "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
13774 			  "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
13775 			  "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
13776 			  "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
13777 			  "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
13778 			  "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
13779 			  "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
13780 			  "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
13781 			  "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
13782 			  "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
13783 			  "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
13784 			  "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
13785 			  "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
13786 			  "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
13787 			  "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
13788 			  "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
13789 			  "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
13790 			  "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
13791 			  "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
13792 			  "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
13793 			  "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
13794 			  "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
13795 			  "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
13796 			  "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
13797 			  "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
13798 			  "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
13799 			  "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
13800 			  "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
13801 		.rlen	= 496,
13802 		.also_non_np = 1,
13803 		.np	= 3,
13804 		.tap	= { 496 - 20, 4, 16 },
13805 	},
13806 };
13807 
13808 static struct cipher_testvec cast6_dec_tv_template[] = {
13809 	{
13810 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13811 			  "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
13812 		.klen	= 16,
13813 		.input	= "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
13814 			  "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
13815 		.ilen	= 16,
13816 		.result	= zeroed_string,
13817 		.rlen	= 16,
13818 	}, {
13819 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13820 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13821 			  "\xba\xc7\x7a\x77\x17\x94\x28\x63",
13822 		.klen	= 24,
13823 		.input	= "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
13824 			  "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
13825 		.ilen	= 16,
13826 		.result	= zeroed_string,
13827 		.rlen	= 16,
13828 	}, {
13829 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13830 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13831 			  "\x8d\x7c\x47\xce\x26\x49\x08\x46"
13832 			  "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
13833 		.klen	= 32,
13834 		.input	= "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
13835 			  "\xc9\x87\x01\x36\x55\x33\x17\xfa",
13836 		.ilen	= 16,
13837 		.result	= zeroed_string,
13838 		.rlen	= 16,
13839 	}, { /* Generated from TF test vectors */
13840 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13841 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13842 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13843 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13844 		.klen	= 32,
13845 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13846 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13847 		.input	= "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
13848 			  "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
13849 			  "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
13850 			  "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
13851 			  "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
13852 			  "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
13853 			  "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
13854 			  "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
13855 			  "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
13856 			  "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
13857 			  "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
13858 			  "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
13859 			  "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
13860 			  "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
13861 			  "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
13862 			  "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
13863 			  "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
13864 			  "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
13865 			  "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
13866 			  "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
13867 			  "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
13868 			  "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
13869 			  "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
13870 			  "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
13871 			  "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
13872 			  "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
13873 			  "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
13874 			  "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
13875 			  "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
13876 			  "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
13877 			  "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
13878 			  "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
13879 			  "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
13880 			  "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
13881 			  "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
13882 			  "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
13883 			  "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
13884 			  "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
13885 			  "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
13886 			  "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
13887 			  "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
13888 			  "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
13889 			  "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
13890 			  "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
13891 			  "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
13892 			  "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
13893 			  "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
13894 			  "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
13895 			  "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
13896 			  "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
13897 			  "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
13898 			  "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
13899 			  "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
13900 			  "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
13901 			  "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
13902 			  "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
13903 			  "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
13904 			  "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
13905 			  "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
13906 			  "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
13907 			  "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
13908 			  "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
13909 		.ilen	= 496,
13910 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13911 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13912 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13913 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13914 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13915 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13916 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13917 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13918 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13919 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13920 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13921 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13922 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13923 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13924 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13925 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13926 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13927 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13928 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13929 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13930 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13931 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13932 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13933 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13934 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13935 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13936 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13937 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13938 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13939 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13940 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13941 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13942 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13943 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13944 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13945 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13946 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13947 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13948 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13949 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13950 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13951 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13952 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13953 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13954 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13955 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13956 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13957 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13958 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13959 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13960 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13961 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13962 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13963 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13964 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13965 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13966 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13967 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13968 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13969 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13970 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13971 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13972 		.rlen	= 496,
13973 		.also_non_np = 1,
13974 		.np	= 3,
13975 		.tap	= { 496 - 20, 4, 16 },
13976 	},
13977 };
13978 
13979 static struct cipher_testvec cast6_cbc_enc_tv_template[] = {
13980 	{ /* Generated from TF test vectors */
13981 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13982 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13983 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13984 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13985 		.klen	= 32,
13986 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13987 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13988 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13989 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13990 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13991 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13992 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13993 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13994 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13995 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13996 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13997 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13998 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13999 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14000 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14001 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14002 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14003 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14004 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14005 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14006 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14007 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14008 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14009 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14010 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14011 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14012 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14013 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14014 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14015 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14016 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14017 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14018 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14019 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14020 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14021 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14022 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14023 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14024 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14025 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14026 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14027 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14028 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14029 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14030 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14031 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14032 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14033 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14034 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14035 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14036 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14037 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14038 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14039 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14040 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14041 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14042 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14043 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14044 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14045 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14046 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14047 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14048 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14049 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14050 		.ilen	= 496,
14051 		.result	= "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
14052 			  "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
14053 			  "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
14054 			  "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
14055 			  "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
14056 			  "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
14057 			  "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
14058 			  "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
14059 			  "\x57\x95\xE1\x21\x26\x10\x9A\x21"
14060 			  "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
14061 			  "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
14062 			  "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
14063 			  "\x23\x16\x47\x72\x81\x13\x3A\x72"
14064 			  "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
14065 			  "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
14066 			  "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
14067 			  "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
14068 			  "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
14069 			  "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
14070 			  "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
14071 			  "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
14072 			  "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
14073 			  "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
14074 			  "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
14075 			  "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
14076 			  "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
14077 			  "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
14078 			  "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
14079 			  "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
14080 			  "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
14081 			  "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
14082 			  "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
14083 			  "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
14084 			  "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
14085 			  "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
14086 			  "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
14087 			  "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
14088 			  "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
14089 			  "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
14090 			  "\x73\x3F\x12\x91\x47\x54\xBA\x39"
14091 			  "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
14092 			  "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
14093 			  "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
14094 			  "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
14095 			  "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
14096 			  "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
14097 			  "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
14098 			  "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
14099 			  "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
14100 			  "\x80\x21\x83\x58\x3C\x76\xFD\x28"
14101 			  "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
14102 			  "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
14103 			  "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
14104 			  "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
14105 			  "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
14106 			  "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
14107 			  "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
14108 			  "\x56\x4D\x82\x62\x37\xA3\x48\x01"
14109 			  "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
14110 			  "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
14111 			  "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
14112 			  "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
14113 		.rlen	= 496,
14114 		.also_non_np = 1,
14115 		.np	= 3,
14116 		.tap	= { 496 - 20, 4, 16 },
14117 	},
14118 };
14119 
14120 static struct cipher_testvec cast6_cbc_dec_tv_template[] = {
14121 	{ /* Generated from TF test vectors */
14122 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14123 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14124 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14125 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14126 		.klen	= 32,
14127 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14128 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14129 		.input	= "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
14130 			  "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
14131 			  "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
14132 			  "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
14133 			  "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
14134 			  "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
14135 			  "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
14136 			  "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
14137 			  "\x57\x95\xE1\x21\x26\x10\x9A\x21"
14138 			  "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
14139 			  "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
14140 			  "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
14141 			  "\x23\x16\x47\x72\x81\x13\x3A\x72"
14142 			  "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
14143 			  "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
14144 			  "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
14145 			  "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
14146 			  "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
14147 			  "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
14148 			  "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
14149 			  "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
14150 			  "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
14151 			  "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
14152 			  "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
14153 			  "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
14154 			  "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
14155 			  "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
14156 			  "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
14157 			  "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
14158 			  "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
14159 			  "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
14160 			  "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
14161 			  "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
14162 			  "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
14163 			  "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
14164 			  "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
14165 			  "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
14166 			  "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
14167 			  "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
14168 			  "\x73\x3F\x12\x91\x47\x54\xBA\x39"
14169 			  "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
14170 			  "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
14171 			  "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
14172 			  "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
14173 			  "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
14174 			  "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
14175 			  "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
14176 			  "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
14177 			  "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
14178 			  "\x80\x21\x83\x58\x3C\x76\xFD\x28"
14179 			  "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
14180 			  "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
14181 			  "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
14182 			  "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
14183 			  "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
14184 			  "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
14185 			  "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
14186 			  "\x56\x4D\x82\x62\x37\xA3\x48\x01"
14187 			  "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
14188 			  "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
14189 			  "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
14190 			  "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
14191 		.ilen	= 496,
14192 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14193 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14194 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14195 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14196 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14197 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14198 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14199 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14200 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14201 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14202 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14203 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14204 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14205 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14206 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14207 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14208 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14209 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14210 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14211 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14212 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14213 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14214 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14215 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14216 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14217 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14218 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14219 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14220 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14221 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14222 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14223 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14224 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14225 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14226 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14227 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14228 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14229 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14230 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14231 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14232 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14233 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14234 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14235 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14236 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14237 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14238 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14239 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14240 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14241 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14242 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14243 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14244 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14245 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14246 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14247 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14248 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14249 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14250 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14251 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14252 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14253 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14254 		.rlen	= 496,
14255 		.also_non_np = 1,
14256 		.np	= 3,
14257 		.tap	= { 496 - 20, 4, 16 },
14258 	},
14259 };
14260 
14261 static struct cipher_testvec cast6_ctr_enc_tv_template[] = {
14262 	{ /* Generated from TF test vectors */
14263 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14264 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14265 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14266 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14267 		.klen	= 32,
14268 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14269 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14270 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14271 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14272 			  "\x3A",
14273 		.ilen	= 17,
14274 		.result	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14275 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14276 			  "\x57",
14277 		.rlen	= 17,
14278 	}, { /* Generated from TF test vectors */
14279 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14280 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14281 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14282 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14283 		.klen	= 32,
14284 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14285 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14286 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14287 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14288 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14289 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14290 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14291 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14292 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14293 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14294 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14295 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14296 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14297 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14298 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14299 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14300 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14301 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14302 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14303 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14304 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14305 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14306 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14307 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14308 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14309 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14310 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14311 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14312 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14313 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14314 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14315 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14316 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14317 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14318 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14319 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14320 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14321 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14322 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14323 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14324 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14325 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14326 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14327 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14328 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14329 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14330 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14331 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14332 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14333 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14334 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14335 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14336 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14337 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14338 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14339 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14340 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14341 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14342 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14343 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14344 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14345 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14346 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14347 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14348 		.ilen	= 496,
14349 		.result	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14350 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14351 			  "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
14352 			  "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
14353 			  "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
14354 			  "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
14355 			  "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
14356 			  "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
14357 			  "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
14358 			  "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
14359 			  "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
14360 			  "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
14361 			  "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
14362 			  "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
14363 			  "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
14364 			  "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
14365 			  "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
14366 			  "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
14367 			  "\x49\x61\x22\x52\x64\x8C\x46\x41"
14368 			  "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
14369 			  "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
14370 			  "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
14371 			  "\x00\x14\x15\x59\xC1\x30\x64\xAF"
14372 			  "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
14373 			  "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
14374 			  "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
14375 			  "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
14376 			  "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
14377 			  "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
14378 			  "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
14379 			  "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
14380 			  "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
14381 			  "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
14382 			  "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
14383 			  "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
14384 			  "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
14385 			  "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
14386 			  "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
14387 			  "\x60\x40\x38\x90\x20\x46\xC7\xB3"
14388 			  "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
14389 			  "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
14390 			  "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
14391 			  "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
14392 			  "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
14393 			  "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
14394 			  "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
14395 			  "\x73\xFC\x91\xAB\x79\x41\x23\x14"
14396 			  "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
14397 			  "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
14398 			  "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
14399 			  "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
14400 			  "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
14401 			  "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
14402 			  "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
14403 			  "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
14404 			  "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
14405 			  "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
14406 			  "\x19\x35\x88\x22\x45\x59\x0E\x8F"
14407 			  "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
14408 			  "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
14409 			  "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
14410 			  "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
14411 		.rlen	= 496,
14412 		.also_non_np = 1,
14413 		.np	= 3,
14414 		.tap	= { 496 - 20, 4, 16 },
14415 	},
14416 };
14417 
14418 static struct cipher_testvec cast6_ctr_dec_tv_template[] = {
14419 	{ /* Generated from TF test vectors */
14420 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14421 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14422 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14423 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14424 		.klen	= 32,
14425 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14426 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14427 		.input	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14428 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14429 			  "\x57",
14430 		.ilen	= 17,
14431 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14432 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14433 			  "\x3A",
14434 		.rlen	= 17,
14435 	}, { /* Generated from TF test vectors */
14436 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14437 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14438 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14439 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14440 		.klen	= 32,
14441 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14442 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14443 		.input	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14444 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14445 			  "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
14446 			  "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
14447 			  "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
14448 			  "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
14449 			  "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
14450 			  "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
14451 			  "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
14452 			  "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
14453 			  "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
14454 			  "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
14455 			  "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
14456 			  "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
14457 			  "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
14458 			  "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
14459 			  "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
14460 			  "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
14461 			  "\x49\x61\x22\x52\x64\x8C\x46\x41"
14462 			  "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
14463 			  "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
14464 			  "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
14465 			  "\x00\x14\x15\x59\xC1\x30\x64\xAF"
14466 			  "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
14467 			  "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
14468 			  "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
14469 			  "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
14470 			  "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
14471 			  "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
14472 			  "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
14473 			  "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
14474 			  "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
14475 			  "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
14476 			  "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
14477 			  "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
14478 			  "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
14479 			  "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
14480 			  "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
14481 			  "\x60\x40\x38\x90\x20\x46\xC7\xB3"
14482 			  "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
14483 			  "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
14484 			  "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
14485 			  "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
14486 			  "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
14487 			  "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
14488 			  "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
14489 			  "\x73\xFC\x91\xAB\x79\x41\x23\x14"
14490 			  "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
14491 			  "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
14492 			  "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
14493 			  "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
14494 			  "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
14495 			  "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
14496 			  "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
14497 			  "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
14498 			  "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
14499 			  "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
14500 			  "\x19\x35\x88\x22\x45\x59\x0E\x8F"
14501 			  "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
14502 			  "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
14503 			  "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
14504 			  "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
14505 		.ilen	= 496,
14506 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14507 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14508 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14509 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14510 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14511 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14512 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14513 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14514 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14515 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14516 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14517 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14518 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14519 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14520 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14521 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14522 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14523 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14524 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14525 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14526 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14527 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14528 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14529 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14530 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14531 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14532 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14533 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14534 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14535 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14536 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14537 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14538 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14539 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14540 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14541 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14542 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14543 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14544 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14545 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14546 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14547 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14548 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14549 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14550 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14551 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14552 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14553 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14554 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14555 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14556 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14557 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14558 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14559 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14560 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14561 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14562 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14563 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14564 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14565 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14566 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14567 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14568 		.rlen	= 496,
14569 		.also_non_np = 1,
14570 		.np	= 3,
14571 		.tap	= { 496 - 20, 4, 16 },
14572 	},
14573 };
14574 
14575 static struct cipher_testvec cast6_lrw_enc_tv_template[] = {
14576 	{ /* Generated from TF test vectors */
14577 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14578 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14579 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14580 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14581 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14582 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14583 		.klen	= 48,
14584 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
14585 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
14586 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14587 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14588 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14589 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14590 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14591 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14592 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14593 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14594 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14595 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14596 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14597 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14598 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14599 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14600 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14601 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14602 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14603 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14604 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14605 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14606 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14607 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14608 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14609 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14610 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14611 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14612 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14613 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14614 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14615 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14616 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14617 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14618 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14619 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14620 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14621 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14622 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14623 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14624 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14625 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14626 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14627 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14628 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14629 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14630 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14631 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14632 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14633 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14634 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14635 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14636 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14637 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14638 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14639 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14640 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14641 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14642 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14643 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14644 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14645 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14646 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14647 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14648 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14649 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14650 		.ilen	= 512,
14651 		.result	= "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
14652 			  "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
14653 			  "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
14654 			  "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
14655 			  "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
14656 			  "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
14657 			  "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
14658 			  "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
14659 			  "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
14660 			  "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
14661 			  "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
14662 			  "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
14663 			  "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
14664 			  "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
14665 			  "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
14666 			  "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
14667 			  "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
14668 			  "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
14669 			  "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
14670 			  "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
14671 			  "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
14672 			  "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
14673 			  "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
14674 			  "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
14675 			  "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
14676 			  "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
14677 			  "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
14678 			  "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
14679 			  "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
14680 			  "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
14681 			  "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
14682 			  "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
14683 			  "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
14684 			  "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
14685 			  "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
14686 			  "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
14687 			  "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
14688 			  "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
14689 			  "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
14690 			  "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
14691 			  "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
14692 			  "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
14693 			  "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
14694 			  "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
14695 			  "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
14696 			  "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
14697 			  "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
14698 			  "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
14699 			  "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
14700 			  "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
14701 			  "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
14702 			  "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
14703 			  "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
14704 			  "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
14705 			  "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
14706 			  "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
14707 			  "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
14708 			  "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
14709 			  "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
14710 			  "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
14711 			  "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
14712 			  "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
14713 			  "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
14714 			  "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
14715 		.rlen	= 512,
14716 		.also_non_np = 1,
14717 		.np	= 3,
14718 		.tap	= { 512 - 20, 4, 16 },
14719 	},
14720 };
14721 
14722 static struct cipher_testvec cast6_lrw_dec_tv_template[] = {
14723 	{ /* Generated from TF test vectors */
14724 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14725 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14726 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14727 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14728 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14729 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14730 		.klen	= 48,
14731 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
14732 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
14733 		.input	= "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
14734 			  "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
14735 			  "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
14736 			  "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
14737 			  "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
14738 			  "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
14739 			  "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
14740 			  "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
14741 			  "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
14742 			  "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
14743 			  "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
14744 			  "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
14745 			  "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
14746 			  "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
14747 			  "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
14748 			  "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
14749 			  "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
14750 			  "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
14751 			  "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
14752 			  "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
14753 			  "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
14754 			  "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
14755 			  "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
14756 			  "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
14757 			  "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
14758 			  "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
14759 			  "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
14760 			  "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
14761 			  "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
14762 			  "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
14763 			  "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
14764 			  "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
14765 			  "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
14766 			  "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
14767 			  "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
14768 			  "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
14769 			  "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
14770 			  "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
14771 			  "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
14772 			  "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
14773 			  "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
14774 			  "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
14775 			  "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
14776 			  "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
14777 			  "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
14778 			  "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
14779 			  "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
14780 			  "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
14781 			  "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
14782 			  "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
14783 			  "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
14784 			  "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
14785 			  "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
14786 			  "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
14787 			  "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
14788 			  "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
14789 			  "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
14790 			  "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
14791 			  "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
14792 			  "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
14793 			  "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
14794 			  "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
14795 			  "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
14796 			  "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
14797 		.ilen	= 512,
14798 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14799 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14800 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14801 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14802 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14803 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14804 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14805 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14806 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14807 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14808 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14809 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14810 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14811 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14812 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14813 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14814 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14815 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14816 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14817 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14818 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14819 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14820 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14821 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14822 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14823 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14824 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14825 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14826 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14827 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14828 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14829 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14830 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14831 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14832 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14833 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14834 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14835 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14836 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14837 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14838 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14839 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14840 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14841 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14842 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14843 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14844 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14845 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14846 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14847 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14848 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14849 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14850 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14851 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14852 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14853 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14854 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14855 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14856 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14857 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14858 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14859 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14860 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14861 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14862 		.rlen	= 512,
14863 		.also_non_np = 1,
14864 		.np	= 3,
14865 		.tap	= { 512 - 20, 4, 16 },
14866 	},
14867 };
14868 
14869 static struct cipher_testvec cast6_xts_enc_tv_template[] = {
14870 	{ /* Generated from TF test vectors */
14871 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
14872 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
14873 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
14874 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
14875 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
14876 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
14877 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
14878 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
14879 		.klen	= 64,
14880 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
14881 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
14882 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
14883 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14884 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
14885 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14886 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
14887 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14888 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
14889 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14890 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
14891 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14892 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
14893 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14894 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
14895 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14896 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
14897 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14898 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
14899 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14900 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
14901 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14902 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14903 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14904 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14905 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14906 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14907 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14908 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14909 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14910 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14911 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14912 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14913 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
14914 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
14915 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14916 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
14917 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14918 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
14919 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14920 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
14921 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14922 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
14923 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14924 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
14925 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14926 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
14927 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14928 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
14929 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14930 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
14931 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14932 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
14933 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14934 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14935 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14936 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14937 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14938 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14939 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14940 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14941 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14942 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14943 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14944 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14945 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
14946 		.ilen	= 512,
14947 		.result	= "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
14948 			  "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
14949 			  "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
14950 			  "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
14951 			  "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
14952 			  "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
14953 			  "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
14954 			  "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
14955 			  "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
14956 			  "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
14957 			  "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
14958 			  "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
14959 			  "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
14960 			  "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
14961 			  "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
14962 			  "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
14963 			  "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
14964 			  "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
14965 			  "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
14966 			  "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
14967 			  "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
14968 			  "\x71\x38\x17\x91\x44\xE8\xFC\x65"
14969 			  "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
14970 			  "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
14971 			  "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
14972 			  "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
14973 			  "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
14974 			  "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
14975 			  "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
14976 			  "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
14977 			  "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
14978 			  "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
14979 			  "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
14980 			  "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
14981 			  "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
14982 			  "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
14983 			  "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
14984 			  "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
14985 			  "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
14986 			  "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
14987 			  "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
14988 			  "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
14989 			  "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
14990 			  "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
14991 			  "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
14992 			  "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
14993 			  "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
14994 			  "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
14995 			  "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
14996 			  "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
14997 			  "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
14998 			  "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
14999 			  "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
15000 			  "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
15001 			  "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
15002 			  "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
15003 			  "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
15004 			  "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
15005 			  "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
15006 			  "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
15007 			  "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
15008 			  "\x45\x72\x80\x17\x81\xBD\x9D\x62"
15009 			  "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
15010 			  "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
15011 		.rlen	= 512,
15012 		.also_non_np = 1,
15013 		.np	= 3,
15014 		.tap	= { 512 - 20, 4, 16 },
15015 	},
15016 };
15017 
15018 static struct cipher_testvec cast6_xts_dec_tv_template[] = {
15019 	{ /* Generated from TF test vectors */
15020 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
15021 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
15022 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
15023 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
15024 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
15025 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
15026 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
15027 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
15028 		.klen	= 64,
15029 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
15030 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
15031 		.input	= "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
15032 			  "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
15033 			  "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
15034 			  "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
15035 			  "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
15036 			  "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
15037 			  "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
15038 			  "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
15039 			  "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
15040 			  "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
15041 			  "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
15042 			  "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
15043 			  "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
15044 			  "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
15045 			  "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
15046 			  "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
15047 			  "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
15048 			  "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
15049 			  "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
15050 			  "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
15051 			  "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
15052 			  "\x71\x38\x17\x91\x44\xE8\xFC\x65"
15053 			  "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
15054 			  "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
15055 			  "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
15056 			  "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
15057 			  "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
15058 			  "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
15059 			  "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
15060 			  "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
15061 			  "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
15062 			  "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
15063 			  "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
15064 			  "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
15065 			  "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
15066 			  "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
15067 			  "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
15068 			  "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
15069 			  "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
15070 			  "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
15071 			  "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
15072 			  "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
15073 			  "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
15074 			  "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
15075 			  "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
15076 			  "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
15077 			  "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
15078 			  "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
15079 			  "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
15080 			  "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
15081 			  "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
15082 			  "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
15083 			  "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
15084 			  "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
15085 			  "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
15086 			  "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
15087 			  "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
15088 			  "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
15089 			  "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
15090 			  "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
15091 			  "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
15092 			  "\x45\x72\x80\x17\x81\xBD\x9D\x62"
15093 			  "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
15094 			  "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
15095 		.ilen	= 512,
15096 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15097 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15098 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15099 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15100 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
15101 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15102 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
15103 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15104 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
15105 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15106 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
15107 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15108 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
15109 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15110 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
15111 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15112 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
15113 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15114 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
15115 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15116 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15117 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15118 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15119 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15120 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15121 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15122 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15123 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15124 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15125 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15126 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15127 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15128 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
15129 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15130 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15131 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15132 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
15133 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15134 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
15135 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15136 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
15137 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15138 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
15139 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15140 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
15141 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15142 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
15143 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15144 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
15145 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15146 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
15147 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15148 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15149 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15150 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15151 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15152 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15153 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15154 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15155 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15156 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15157 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15158 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15159 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15160 		.rlen	= 512,
15161 		.also_non_np = 1,
15162 		.np	= 3,
15163 		.tap	= { 512 - 20, 4, 16 },
15164 	},
15165 };
15166 
15167 
15168 /*
15169  * AES test vectors.
15170  */
15171 #define AES_ENC_TEST_VECTORS 4
15172 #define AES_DEC_TEST_VECTORS 4
15173 #define AES_CBC_ENC_TEST_VECTORS 5
15174 #define AES_CBC_DEC_TEST_VECTORS 5
15175 #define HMAC_MD5_ECB_CIPHER_NULL_ENC_TEST_VECTORS 2
15176 #define HMAC_MD5_ECB_CIPHER_NULL_DEC_TEST_VECTORS 2
15177 #define HMAC_SHA1_ECB_CIPHER_NULL_ENC_TEST_VEC 2
15178 #define HMAC_SHA1_ECB_CIPHER_NULL_DEC_TEST_VEC 2
15179 #define HMAC_SHA1_AES_CBC_ENC_TEST_VEC 7
15180 #define HMAC_SHA256_AES_CBC_ENC_TEST_VEC 7
15181 #define HMAC_SHA512_AES_CBC_ENC_TEST_VEC 7
15182 #define AES_LRW_ENC_TEST_VECTORS 8
15183 #define AES_LRW_DEC_TEST_VECTORS 8
15184 #define AES_XTS_ENC_TEST_VECTORS 5
15185 #define AES_XTS_DEC_TEST_VECTORS 5
15186 #define AES_CTR_ENC_TEST_VECTORS 5
15187 #define AES_CTR_DEC_TEST_VECTORS 5
15188 #define AES_OFB_ENC_TEST_VECTORS 1
15189 #define AES_OFB_DEC_TEST_VECTORS 1
15190 #define AES_CTR_3686_ENC_TEST_VECTORS 7
15191 #define AES_CTR_3686_DEC_TEST_VECTORS 6
15192 #define AES_GCM_ENC_TEST_VECTORS 9
15193 #define AES_GCM_DEC_TEST_VECTORS 8
15194 #define AES_GCM_4106_ENC_TEST_VECTORS 23
15195 #define AES_GCM_4106_DEC_TEST_VECTORS 23
15196 #define AES_GCM_4543_ENC_TEST_VECTORS 1
15197 #define AES_GCM_4543_DEC_TEST_VECTORS 2
15198 #define AES_CCM_ENC_TEST_VECTORS 8
15199 #define AES_CCM_DEC_TEST_VECTORS 7
15200 #define AES_CCM_4309_ENC_TEST_VECTORS 7
15201 #define AES_CCM_4309_DEC_TEST_VECTORS 10
15202 
15203 static struct cipher_testvec aes_enc_tv_template[] = {
15204 	{ /* From FIPS-197 */
15205 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15206 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15207 		.klen	= 16,
15208 		.input	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15209 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15210 		.ilen	= 16,
15211 		.result	= "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
15212 			  "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
15213 		.rlen	= 16,
15214 	}, {
15215 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15216 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15217 			  "\x10\x11\x12\x13\x14\x15\x16\x17",
15218 		.klen	= 24,
15219 		.input	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15220 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15221 		.ilen	= 16,
15222 		.result	= "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
15223 			  "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
15224 		.rlen	= 16,
15225 	}, {
15226 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15227 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15228 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15229 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15230 		.klen	= 32,
15231 		.input	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15232 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15233 		.ilen	= 16,
15234 		.result	= "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
15235 			  "\xea\xfc\x49\x90\x4b\x49\x60\x89",
15236 		.rlen	= 16,
15237 	}, { /* Generated with Crypto++ */
15238 		.key	= "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
15239 			  "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
15240 			  "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
15241 			  "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
15242 		.klen	= 32,
15243 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15244 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15245 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15246 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15247 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15248 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15249 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15250 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15251 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15252 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15253 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15254 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15255 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15256 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15257 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15258 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15259 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15260 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15261 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15262 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15263 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15264 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15265 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15266 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15267 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15268 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15269 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15270 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15271 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15272 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15273 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15274 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15275 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15276 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15277 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15278 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15279 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15280 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15281 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15282 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15283 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15284 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15285 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15286 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15287 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15288 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15289 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15290 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15291 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15292 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15293 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15294 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15295 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15296 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15297 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15298 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15299 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15300 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15301 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15302 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15303 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15304 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15305 		.ilen	= 496,
15306 		.result	= "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
15307 			  "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
15308 			  "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
15309 			  "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
15310 			  "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
15311 			  "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
15312 			  "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
15313 			  "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
15314 			  "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
15315 			  "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
15316 			  "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
15317 			  "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
15318 			  "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
15319 			  "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
15320 			  "\x41\x72\x51\x97\x1D\x07\x49\xA0"
15321 			  "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
15322 			  "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
15323 			  "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
15324 			  "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
15325 			  "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
15326 			  "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
15327 			  "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
15328 			  "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
15329 			  "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
15330 			  "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
15331 			  "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
15332 			  "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
15333 			  "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
15334 			  "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
15335 			  "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
15336 			  "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
15337 			  "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
15338 			  "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
15339 			  "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
15340 			  "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
15341 			  "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
15342 			  "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
15343 			  "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
15344 			  "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
15345 			  "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
15346 			  "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
15347 			  "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
15348 			  "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
15349 			  "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
15350 			  "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
15351 			  "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
15352 			  "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
15353 			  "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
15354 			  "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
15355 			  "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
15356 			  "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
15357 			  "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
15358 			  "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
15359 			  "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
15360 			  "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
15361 			  "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
15362 			  "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
15363 			  "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
15364 			  "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
15365 			  "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
15366 			  "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
15367 			  "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
15368 		.rlen	= 496,
15369 		.also_non_np = 1,
15370 		.np	= 3,
15371 		.tap	= { 496 - 20, 4, 16 },
15372 	},
15373 };
15374 
15375 static struct cipher_testvec aes_dec_tv_template[] = {
15376 	{ /* From FIPS-197 */
15377 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15378 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15379 		.klen	= 16,
15380 		.input	= "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
15381 			  "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
15382 		.ilen	= 16,
15383 		.result	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15384 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15385 		.rlen	= 16,
15386 	}, {
15387 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15388 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15389 			  "\x10\x11\x12\x13\x14\x15\x16\x17",
15390 		.klen	= 24,
15391 		.input	= "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
15392 			  "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
15393 		.ilen	= 16,
15394 		.result	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15395 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15396 		.rlen	= 16,
15397 	}, {
15398 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15399 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15400 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15401 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15402 		.klen	= 32,
15403 		.input	= "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
15404 			  "\xea\xfc\x49\x90\x4b\x49\x60\x89",
15405 		.ilen	= 16,
15406 		.result	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15407 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15408 		.rlen	= 16,
15409 	}, { /* Generated with Crypto++ */
15410 		.key	= "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
15411 			  "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
15412 			  "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
15413 			  "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
15414 		.klen	= 32,
15415 		.input	= "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
15416 			  "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
15417 			  "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
15418 			  "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
15419 			  "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
15420 			  "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
15421 			  "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
15422 			  "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
15423 			  "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
15424 			  "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
15425 			  "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
15426 			  "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
15427 			  "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
15428 			  "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
15429 			  "\x41\x72\x51\x97\x1D\x07\x49\xA0"
15430 			  "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
15431 			  "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
15432 			  "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
15433 			  "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
15434 			  "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
15435 			  "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
15436 			  "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
15437 			  "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
15438 			  "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
15439 			  "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
15440 			  "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
15441 			  "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
15442 			  "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
15443 			  "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
15444 			  "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
15445 			  "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
15446 			  "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
15447 			  "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
15448 			  "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
15449 			  "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
15450 			  "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
15451 			  "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
15452 			  "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
15453 			  "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
15454 			  "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
15455 			  "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
15456 			  "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
15457 			  "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
15458 			  "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
15459 			  "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
15460 			  "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
15461 			  "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
15462 			  "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
15463 			  "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
15464 			  "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
15465 			  "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
15466 			  "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
15467 			  "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
15468 			  "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
15469 			  "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
15470 			  "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
15471 			  "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
15472 			  "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
15473 			  "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
15474 			  "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
15475 			  "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
15476 			  "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
15477 		.ilen	= 496,
15478 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15479 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15480 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15481 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15482 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15483 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15484 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15485 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15486 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15487 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15488 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15489 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15490 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15491 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15492 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15493 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15494 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15495 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15496 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15497 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15498 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15499 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15500 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15501 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15502 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15503 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15504 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15505 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15506 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15507 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15508 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15509 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15510 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15511 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15512 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15513 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15514 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15515 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15516 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15517 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15518 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15519 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15520 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15521 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15522 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15523 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15524 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15525 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15526 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15527 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15528 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15529 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15530 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15531 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15532 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15533 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15534 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15535 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15536 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15537 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15538 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15539 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15540 		.rlen	= 496,
15541 		.also_non_np = 1,
15542 		.np	= 3,
15543 		.tap	= { 496 - 20, 4, 16 },
15544 	},
15545 };
15546 
15547 static struct cipher_testvec aes_cbc_enc_tv_template[] = {
15548 	{ /* From RFC 3602 */
15549 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15550 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15551 		.klen   = 16,
15552 		.iv	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15553 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15554 		.input	= "Single block msg",
15555 		.ilen   = 16,
15556 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15557 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
15558 		.rlen   = 16,
15559 		.also_non_np = 1,
15560 		.np	= 8,
15561 		.tap	= { 3, 2, 3, 2, 3, 1, 1, 1 },
15562 	}, {
15563 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15564 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15565 		.klen   = 16,
15566 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15567 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15568 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15569 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15570 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15571 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15572 		.ilen   = 32,
15573 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15574 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15575 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15576 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
15577 		.rlen   = 32,
15578 	}, { /* From NIST SP800-38A */
15579 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15580 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15581 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15582 		.klen	= 24,
15583 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15584 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15585 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15586 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15587 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15588 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15589 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15590 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15591 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15592 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15593 		.ilen	= 64,
15594 		.result	= "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15595 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15596 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15597 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
15598 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
15599 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
15600 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15601 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
15602 		.rlen	= 64,
15603 	}, {
15604 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15605 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15606 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15607 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15608 		.klen	= 32,
15609 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15610 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15611 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15612 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15613 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15614 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15615 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15616 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15617 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15618 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15619 		.ilen	= 64,
15620 		.result	= "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15621 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15622 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15623 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15624 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15625 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15626 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15627 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
15628 		.rlen	= 64,
15629 	}, { /* Generated with Crypto++ */
15630 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15631 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15632 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15633 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
15634 		.klen	= 32,
15635 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
15636 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
15637 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15638 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15639 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15640 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15641 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15642 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15643 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15644 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15645 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15646 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15647 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15648 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15649 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15650 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15651 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15652 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15653 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15654 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15655 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15656 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15657 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15658 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15659 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15660 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15661 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15662 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15663 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15664 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15665 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15666 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15667 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15668 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15669 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15670 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15671 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15672 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15673 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15674 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15675 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15676 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15677 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15678 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15679 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15680 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15681 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15682 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15683 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15684 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15685 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15686 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15687 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15688 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15689 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15690 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15691 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15692 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15693 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15694 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15695 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15696 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15697 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15698 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15699 		.ilen	= 496,
15700 		.result	= "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
15701 			  "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
15702 			  "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
15703 			  "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
15704 			  "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
15705 			  "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
15706 			  "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
15707 			  "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
15708 			  "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
15709 			  "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
15710 			  "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
15711 			  "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
15712 			  "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
15713 			  "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
15714 			  "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
15715 			  "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
15716 			  "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
15717 			  "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
15718 			  "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
15719 			  "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
15720 			  "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
15721 			  "\x16\x24\x02\x07\x48\xAE\xF2\x31"
15722 			  "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
15723 			  "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
15724 			  "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
15725 			  "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
15726 			  "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
15727 			  "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
15728 			  "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
15729 			  "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
15730 			  "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
15731 			  "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
15732 			  "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
15733 			  "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
15734 			  "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
15735 			  "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
15736 			  "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
15737 			  "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
15738 			  "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
15739 			  "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
15740 			  "\x22\x39\x7B\x16\x03\x01\x69\xAF"
15741 			  "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
15742 			  "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
15743 			  "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
15744 			  "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
15745 			  "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
15746 			  "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
15747 			  "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
15748 			  "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
15749 			  "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
15750 			  "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
15751 			  "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
15752 			  "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
15753 			  "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
15754 			  "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
15755 			  "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
15756 			  "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
15757 			  "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
15758 			  "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
15759 			  "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
15760 			  "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
15761 			  "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
15762 		.rlen	= 496,
15763 		.also_non_np = 1,
15764 		.np	= 3,
15765 		.tap	= { 496 - 20, 4, 16 },
15766 	},
15767 };
15768 
15769 static struct cipher_testvec aes_cbc_dec_tv_template[] = {
15770 	{ /* From RFC 3602 */
15771 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15772 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15773 		.klen   = 16,
15774 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15775 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15776 		.input  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15777 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
15778 		.ilen   = 16,
15779 		.result = "Single block msg",
15780 		.rlen   = 16,
15781 		.also_non_np = 1,
15782 		.np	= 8,
15783 		.tap	= { 3, 2, 3, 2, 3, 1, 1, 1 },
15784 	}, {
15785 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15786 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15787 		.klen   = 16,
15788 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15789 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15790 		.input  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15791 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15792 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15793 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
15794 		.ilen   = 32,
15795 		.result = "\x00\x01\x02\x03\x04\x05\x06\x07"
15796 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15797 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15798 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15799 		.rlen   = 32,
15800 	}, { /* From NIST SP800-38A */
15801 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15802 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15803 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15804 		.klen	= 24,
15805 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15806 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15807 		.input	= "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15808 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15809 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15810 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
15811 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
15812 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
15813 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15814 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
15815 		.ilen	= 64,
15816 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15817 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15818 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15819 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15820 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15821 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15822 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15823 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15824 		.rlen	= 64,
15825 	}, {
15826 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15827 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15828 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15829 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15830 		.klen	= 32,
15831 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15832 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15833 		.input	= "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15834 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15835 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15836 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15837 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15838 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15839 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15840 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
15841 		.ilen	= 64,
15842 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15843 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15844 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15845 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15846 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15847 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15848 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15849 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15850 		.rlen	= 64,
15851 	}, { /* Generated with Crypto++ */
15852 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15853 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15854 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15855 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
15856 		.klen	= 32,
15857 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
15858 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
15859 		.input	= "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
15860 			  "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
15861 			  "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
15862 			  "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
15863 			  "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
15864 			  "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
15865 			  "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
15866 			  "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
15867 			  "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
15868 			  "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
15869 			  "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
15870 			  "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
15871 			  "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
15872 			  "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
15873 			  "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
15874 			  "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
15875 			  "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
15876 			  "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
15877 			  "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
15878 			  "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
15879 			  "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
15880 			  "\x16\x24\x02\x07\x48\xAE\xF2\x31"
15881 			  "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
15882 			  "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
15883 			  "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
15884 			  "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
15885 			  "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
15886 			  "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
15887 			  "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
15888 			  "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
15889 			  "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
15890 			  "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
15891 			  "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
15892 			  "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
15893 			  "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
15894 			  "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
15895 			  "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
15896 			  "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
15897 			  "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
15898 			  "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
15899 			  "\x22\x39\x7B\x16\x03\x01\x69\xAF"
15900 			  "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
15901 			  "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
15902 			  "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
15903 			  "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
15904 			  "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
15905 			  "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
15906 			  "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
15907 			  "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
15908 			  "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
15909 			  "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
15910 			  "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
15911 			  "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
15912 			  "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
15913 			  "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
15914 			  "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
15915 			  "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
15916 			  "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
15917 			  "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
15918 			  "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
15919 			  "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
15920 			  "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
15921 		.ilen	= 496,
15922 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15923 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15924 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15925 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15926 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15927 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15928 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15929 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15930 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15931 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15932 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15933 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15934 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15935 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15936 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15937 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15938 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15939 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15940 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15941 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15942 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15943 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15944 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15945 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15946 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15947 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15948 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15949 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15950 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15951 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15952 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15953 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15954 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15955 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15956 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15957 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15958 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15959 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15960 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15961 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15962 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15963 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15964 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15965 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15966 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15967 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15968 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15969 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15970 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15971 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15972 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15973 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15974 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15975 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15976 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15977 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15978 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15979 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15980 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15981 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15982 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15983 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15984 		.rlen	= 496,
15985 		.also_non_np = 1,
15986 		.np	= 3,
15987 		.tap	= { 496 - 20, 4, 16 },
15988 	},
15989 };
15990 
15991 static struct aead_testvec hmac_md5_ecb_cipher_null_enc_tv_template[] = {
15992 	{ /* Input data from RFC 2410 Case 1 */
15993 #ifdef __LITTLE_ENDIAN
15994 		.key    = "\x08\x00"		/* rta length */
15995 			  "\x01\x00"		/* rta type */
15996 #else
15997 		.key    = "\x00\x08"		/* rta length */
15998 			  "\x00\x01"		/* rta type */
15999 #endif
16000 			  "\x00\x00\x00\x00"	/* enc key length */
16001 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16002 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
16003 		.klen   = 8 + 16 + 0,
16004 		.iv     = "",
16005 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16006 		.ilen   = 8,
16007 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16008 			  "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
16009 			  "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
16010 		.rlen   = 8 + 16,
16011 	}, { /* Input data from RFC 2410 Case 2 */
16012 #ifdef __LITTLE_ENDIAN
16013 		.key    = "\x08\x00"		/* rta length */
16014 			  "\x01\x00"		/* rta type */
16015 #else
16016 		.key    = "\x00\x08"		/* rta length */
16017 			  "\x00\x01"		/* rta type */
16018 #endif
16019 			  "\x00\x00\x00\x00"	/* enc key length */
16020 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16021 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
16022 		.klen   = 8 + 16 + 0,
16023 		.iv     = "",
16024 		.input  = "Network Security People Have A Strange Sense Of Humor",
16025 		.ilen   = 53,
16026 		.result = "Network Security People Have A Strange Sense Of Humor"
16027 			  "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
16028 			  "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
16029 		.rlen   = 53 + 16,
16030 	},
16031 };
16032 
16033 static struct aead_testvec hmac_md5_ecb_cipher_null_dec_tv_template[] = {
16034 	{
16035 #ifdef __LITTLE_ENDIAN
16036 		.key    = "\x08\x00"		/* rta length */
16037 			  "\x01\x00"		/* rta type */
16038 #else
16039 		.key    = "\x00\x08"		/* rta length */
16040 			  "\x00\x01"		/* rta type */
16041 #endif
16042 			  "\x00\x00\x00\x00"	/* enc key length */
16043 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16044 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
16045 		.klen   = 8 + 16 + 0,
16046 		.iv     = "",
16047 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16048 			  "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
16049 			  "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
16050 		.ilen   = 8 + 16,
16051 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16052 		.rlen   = 8,
16053 	}, {
16054 #ifdef __LITTLE_ENDIAN
16055 		.key    = "\x08\x00"		/* rta length */
16056 			  "\x01\x00"		/* rta type */
16057 #else
16058 		.key    = "\x00\x08"		/* rta length */
16059 			  "\x00\x01"		/* rta type */
16060 #endif
16061 			  "\x00\x00\x00\x00"	/* enc key length */
16062 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16063 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
16064 		.klen   = 8 + 16 + 0,
16065 		.iv     = "",
16066 		.input  = "Network Security People Have A Strange Sense Of Humor"
16067 			  "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
16068 			  "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
16069 		.ilen   = 53 + 16,
16070 		.result = "Network Security People Have A Strange Sense Of Humor",
16071 		.rlen   = 53,
16072 	},
16073 };
16074 
16075 static struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
16076 	{ /* RFC 3602 Case 1 */
16077 #ifdef __LITTLE_ENDIAN
16078 		.key    = "\x08\x00"		/* rta length */
16079 			  "\x01\x00"		/* rta type */
16080 #else
16081 		.key    = "\x00\x08"		/* rta length */
16082 			  "\x00\x01"		/* rta type */
16083 #endif
16084 			  "\x00\x00\x00\x10"	/* enc key length */
16085 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16086 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16087 			  "\x00\x00\x00\x00"
16088 			  "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16089 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16090 		.klen   = 8 + 20 + 16,
16091 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16092 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16093 		.assoc	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16094 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16095 		.alen	= 16,
16096 		.input  = "Single block msg",
16097 		.ilen   = 16,
16098 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16099 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16100 			  "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
16101 			  "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
16102 			  "\x03\x71\xa2\x06",
16103 		.rlen   = 16 + 20,
16104 	}, { /* RFC 3602 Case 2 */
16105 #ifdef __LITTLE_ENDIAN
16106 		.key    = "\x08\x00"		/* rta length */
16107 			  "\x01\x00"		/* rta type */
16108 #else
16109 		.key    = "\x00\x08"		/* rta length */
16110 			  "\x00\x01"		/* rta type */
16111 #endif
16112 			  "\x00\x00\x00\x10"	/* enc key length */
16113 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16114 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16115 			  "\x30\x31\x32\x33"
16116 			  "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16117 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16118 		.klen   = 8 + 20 + 16,
16119 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16120 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16121 		.assoc	= "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16122 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16123 		.alen	= 16,
16124 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16125 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16126 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16127 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16128 		.ilen   = 32,
16129 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16130 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16131 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16132 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16133 			  "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
16134 			  "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
16135 			  "\x65\x39\xf8\xde",
16136 		.rlen   = 32 + 20,
16137 	}, { /* RFC 3602 Case 3 */
16138 #ifdef __LITTLE_ENDIAN
16139 		.key    = "\x08\x00"		/* rta length */
16140 			  "\x01\x00"            /* rta type */
16141 #else
16142 		.key    = "\x00\x08"		/* rta length */
16143 			  "\x00\x01"		/* rta type */
16144 #endif
16145 			  "\x00\x00\x00\x10"	/* enc key length */
16146 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16147 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16148 			  "\x22\x33\x44\x55"
16149 			  "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16150 			  "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16151 		.klen   = 8 + 20 + 16,
16152 		.iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16153 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16154 		.assoc	= "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16155 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16156 		.alen	= 16,
16157 		.input  = "This is a 48-byte message (exactly 3 AES blocks)",
16158 		.ilen   = 48,
16159 		.result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16160 			  "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16161 			  "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16162 			  "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16163 			  "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16164 			  "\x85\x79\x69\x5d\x83\xba\x26\x84"
16165 			  "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
16166 			  "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
16167 			  "\x8d\x62\xf2\x1e",
16168 		.rlen   = 48 + 20,
16169 	}, { /* RFC 3602 Case 4 */
16170 #ifdef __LITTLE_ENDIAN
16171 		.key    = "\x08\x00"		/* rta length */
16172 			  "\x01\x00"		/* rta type */
16173 #else
16174 		.key    = "\x00\x08"		/* rta length */
16175 			  "\x00\x01"            /* rta type */
16176 #endif
16177 			  "\x00\x00\x00\x10"	/* enc key length */
16178 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16179 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16180 			  "\x22\x33\x44\x55"
16181 			  "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16182 			  "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16183 		.klen   = 8 + 20 + 16,
16184 		.iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16185 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16186 		.assoc	= "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16187 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16188 		.alen	= 16,
16189 		.input  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16190 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16191 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16192 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16193 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16194 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16195 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16196 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16197 		.ilen   = 64,
16198 		.result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16199 			  "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16200 			  "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16201 			  "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16202 			  "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16203 			  "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16204 			  "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16205 			  "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16206 			  "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
16207 			  "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
16208 			  "\x1d\xbe\xc6\xe9",
16209 		.rlen   = 64 + 20,
16210 	}, { /* RFC 3602 Case 5 */
16211 #ifdef __LITTLE_ENDIAN
16212 		.key    = "\x08\x00"		/* rta length */
16213 			  "\x01\x00"            /* rta type */
16214 #else
16215 		.key    = "\x00\x08"		/* rta length */
16216 			  "\x00\x01"            /* rta type */
16217 #endif
16218 			  "\x00\x00\x00\x10"	/* enc key length */
16219 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16220 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16221 			  "\x22\x33\x44\x55"
16222 			  "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16223 			  "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16224 		.klen   = 8 + 20 + 16,
16225 		.iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16226 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16227 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16228 			  "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16229 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16230 		.alen   = 24,
16231 		.input  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16232 			  "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16233 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16234 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16235 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16236 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16237 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16238 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16239 			  "\x01\x02\x03\x04\x05\x06\x07\x08"
16240 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16241 		.ilen   = 80,
16242 		.result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16243 			  "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16244 			  "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16245 			  "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16246 			  "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16247 			  "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16248 			  "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16249 			  "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16250 			  "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16251 			  "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16252 			  "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
16253 			  "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
16254 			  "\x85\xe1\x59\xf7",
16255 		.rlen   = 80 + 20,
16256        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16257 #ifdef __LITTLE_ENDIAN
16258 		.key    = "\x08\x00"            /* rta length */
16259 			  "\x01\x00"		/* rta type */
16260 #else
16261 		.key    = "\x00\x08"		/* rta length */
16262 			  "\x00\x01"            /* rta type */
16263 #endif
16264 			  "\x00\x00\x00\x18"	/* enc key length */
16265 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16266 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16267 			  "\x22\x33\x44\x55"
16268 			  "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16269 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16270 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16271 		.klen   = 8 + 20 + 24,
16272 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16273 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16274 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16275 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16276 		.alen	= 16,
16277 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16278 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16279 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16280 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16281 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16282 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16283 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16284 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16285 		.ilen   = 64,
16286 		.result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16287 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16288 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16289 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16290 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16291 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16292 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16293 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16294 			  "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
16295 			  "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
16296 			  "\x47\x4c\xfc\x36",
16297 		.rlen   = 64 + 20,
16298 	}, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16299 #ifdef __LITTLE_ENDIAN
16300 		.key    = "\x08\x00"		/* rta length */
16301 			  "\x01\x00"		/* rta type */
16302 #else
16303 		.key    = "\x00\x08"		/* rta length */
16304 			  "\x00\x01"            /* rta type */
16305 #endif
16306 			  "\x00\x00\x00\x20"	/* enc key length */
16307 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16308 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16309 			  "\x22\x33\x44\x55"
16310 			  "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16311 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16312 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16313 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16314 		.klen   = 8 + 20 + 32,
16315 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16316 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16317 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16318 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16319 		.alen	= 16,
16320 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16321 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16322 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16323 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16324 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16325 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16326 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16327 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16328 		.ilen   = 64,
16329 		.result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16330 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16331 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16332 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16333 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16334 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16335 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16336 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16337 			  "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
16338 			  "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
16339 			  "\x51\xee\xd6\x4e",
16340 		.rlen   = 64 + 20,
16341 	},
16342 };
16343 
16344 static struct aead_testvec hmac_sha1_ecb_cipher_null_enc_tv_temp[] = {
16345 	{ /* Input data from RFC 2410 Case 1 */
16346 #ifdef __LITTLE_ENDIAN
16347 		.key    = "\x08\x00"		/* rta length */
16348 			  "\x01\x00"		/* rta type */
16349 #else
16350 		.key    = "\x00\x08"		/* rta length */
16351 			  "\x00\x01"		/* rta type */
16352 #endif
16353 			  "\x00\x00\x00\x00"	/* enc key length */
16354 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16355 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16356 			  "\x00\x00\x00\x00",
16357 		.klen   = 8 + 20 + 0,
16358 		.iv     = "",
16359 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16360 		.ilen   = 8,
16361 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16362 			  "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
16363 			  "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
16364 			  "\x8c\x5e\xe4\x08",
16365 		.rlen   = 8 + 20,
16366 	}, { /* Input data from RFC 2410 Case 2 */
16367 #ifdef __LITTLE_ENDIAN
16368 		.key    = "\x08\x00"		/* rta length */
16369 			  "\x01\x00"		/* rta type */
16370 #else
16371 		.key    = "\x00\x08"		/* rta length */
16372 			  "\x00\x01"		/* rta type */
16373 #endif
16374 			  "\x00\x00\x00\x00"	/* enc key length */
16375 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16376 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16377 			  "\x00\x00\x00\x00",
16378 		.klen   = 8 + 20 + 0,
16379 		.iv     = "",
16380 		.input  = "Network Security People Have A Strange Sense Of Humor",
16381 		.ilen   = 53,
16382 		.result = "Network Security People Have A Strange Sense Of Humor"
16383 			  "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
16384 			  "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
16385 			  "\x91\x56\xe4\xd6",
16386 		.rlen   = 53 + 20,
16387 	},
16388 };
16389 
16390 static struct aead_testvec hmac_sha1_ecb_cipher_null_dec_tv_temp[] = {
16391 	{
16392 #ifdef __LITTLE_ENDIAN
16393 		.key    = "\x08\x00"		/* rta length */
16394 			  "\x01\x00"		/* rta type */
16395 #else
16396 		.key    = "\x00\x08"		/* rta length */
16397 			  "\x00\x01"		/* rta type */
16398 #endif
16399 			  "\x00\x00\x00\x00"	/* enc key length */
16400 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16401 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16402 			  "\x00\x00\x00\x00",
16403 		.klen   = 8 + 20 + 0,
16404 		.iv     = "",
16405 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16406 			  "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
16407 			  "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
16408 			  "\x8c\x5e\xe4\x08",
16409 		.ilen   = 8 + 20,
16410 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16411 		.rlen   = 8,
16412 	}, {
16413 #ifdef __LITTLE_ENDIAN
16414 		.key    = "\x08\x00"		/* rta length */
16415 			  "\x01\x00"		/* rta type */
16416 #else
16417 		.key    = "\x00\x08"		/* rta length */
16418 			  "\x00\x01"		/* rta type */
16419 #endif
16420 			  "\x00\x00\x00\x00"	/* enc key length */
16421 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16422 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16423 			  "\x00\x00\x00\x00",
16424 		.klen   = 8 + 20 + 0,
16425 		.iv     = "",
16426 		.input  = "Network Security People Have A Strange Sense Of Humor"
16427 			  "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
16428 			  "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
16429 			  "\x91\x56\xe4\xd6",
16430 		.ilen   = 53 + 20,
16431 		.result = "Network Security People Have A Strange Sense Of Humor",
16432 		.rlen   = 53,
16433 	},
16434 };
16435 
16436 static struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
16437 	{ /* RFC 3602 Case 1 */
16438 #ifdef __LITTLE_ENDIAN
16439 		.key    = "\x08\x00"		/* rta length */
16440 			  "\x01\x00"		/* rta type */
16441 #else
16442 		.key    = "\x00\x08"		/* rta length */
16443 			  "\x00\x01"		/* rta type */
16444 #endif
16445 			  "\x00\x00\x00\x10"	/* enc key length */
16446 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16447 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16448 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16449 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16450 			  "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16451 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16452 		.klen   = 8 + 32 + 16,
16453 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16454 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16455 		.assoc	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16456 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16457 		.alen	= 16,
16458 		.input  = "Single block msg",
16459 		.ilen   = 16,
16460 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16461 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16462 			  "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
16463 			  "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
16464 			  "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
16465 			  "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
16466 		.rlen   = 16 + 32,
16467 	}, { /* RFC 3602 Case 2 */
16468 #ifdef __LITTLE_ENDIAN
16469 		.key    = "\x08\x00"		/* rta length */
16470 			  "\x01\x00"		/* rta type */
16471 #else
16472 		.key    = "\x00\x08"		/* rta length */
16473 			  "\x00\x01"		/* rta type */
16474 #endif
16475 			  "\x00\x00\x00\x10"	/* enc key length */
16476 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16477 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16478 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16479 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16480 			  "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16481 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16482 		.klen   = 8 + 32 + 16,
16483 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16484 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16485 		.assoc	= "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16486 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16487 		.alen	= 16,
16488 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16489 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16490 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16491 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16492 		.ilen   = 32,
16493 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16494 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16495 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16496 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16497 			  "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
16498 			  "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
16499 			  "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
16500 			  "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
16501 		.rlen   = 32 + 32,
16502 	}, { /* RFC 3602 Case 3 */
16503 #ifdef __LITTLE_ENDIAN
16504 		.key    = "\x08\x00"		/* rta length */
16505 			  "\x01\x00"            /* rta type */
16506 #else
16507 		.key    = "\x00\x08"		/* rta length */
16508 			  "\x00\x01"		/* rta type */
16509 #endif
16510 			  "\x00\x00\x00\x10"	/* enc key length */
16511 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16512 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16513 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16514 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16515 			  "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16516 			  "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16517 		.klen   = 8 + 32 + 16,
16518 		.iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16519 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16520 		.assoc	= "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16521 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16522 		.alen	= 16,
16523 		.input  = "This is a 48-byte message (exactly 3 AES blocks)",
16524 		.ilen   = 48,
16525 		.result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16526 			  "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16527 			  "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16528 			  "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16529 			  "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16530 			  "\x85\x79\x69\x5d\x83\xba\x26\x84"
16531 			  "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
16532 			  "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
16533 			  "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
16534 			  "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
16535 		.rlen   = 48 + 32,
16536 	}, { /* RFC 3602 Case 4 */
16537 #ifdef __LITTLE_ENDIAN
16538 		.key    = "\x08\x00"		/* rta length */
16539 			  "\x01\x00"		/* rta type */
16540 #else
16541 		.key    = "\x00\x08"		/* rta length */
16542 			  "\x00\x01"            /* rta type */
16543 #endif
16544 			  "\x00\x00\x00\x10"	/* enc key length */
16545 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16546 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16547 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16548 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16549 			  "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16550 			  "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16551 		.klen   = 8 + 32 + 16,
16552 		.iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16553 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16554 		.assoc	= "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16555 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16556 		.alen	= 16,
16557 		.input  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16558 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16559 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16560 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16561 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16562 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16563 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16564 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16565 		.ilen   = 64,
16566 		.result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16567 			  "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16568 			  "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16569 			  "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16570 			  "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16571 			  "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16572 			  "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16573 			  "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16574 			  "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
16575 			  "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
16576 			  "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
16577 			  "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
16578 		.rlen   = 64 + 32,
16579 	}, { /* RFC 3602 Case 5 */
16580 #ifdef __LITTLE_ENDIAN
16581 		.key    = "\x08\x00"		/* rta length */
16582 			  "\x01\x00"            /* rta type */
16583 #else
16584 		.key    = "\x00\x08"		/* rta length */
16585 			  "\x00\x01"            /* rta type */
16586 #endif
16587 			  "\x00\x00\x00\x10"	/* enc key length */
16588 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16589 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16590 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16591 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16592 			  "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16593 			  "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16594 		.klen   = 8 + 32 + 16,
16595 		.iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16596 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16597 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16598 			  "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16599 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16600 		.alen   = 24,
16601 		.input  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16602 			  "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16603 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16604 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16605 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16606 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16607 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16608 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16609 			  "\x01\x02\x03\x04\x05\x06\x07\x08"
16610 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16611 		.ilen   = 80,
16612 		.result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16613 			  "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16614 			  "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16615 			  "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16616 			  "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16617 			  "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16618 			  "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16619 			  "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16620 			  "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16621 			  "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16622 			  "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
16623 			  "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
16624 			  "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
16625 			  "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
16626 		.rlen   = 80 + 32,
16627        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16628 #ifdef __LITTLE_ENDIAN
16629 		.key    = "\x08\x00"            /* rta length */
16630 			  "\x01\x00"		/* rta type */
16631 #else
16632 		.key    = "\x00\x08"		/* rta length */
16633 			  "\x00\x01"            /* rta type */
16634 #endif
16635 			  "\x00\x00\x00\x18"	/* enc key length */
16636 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16637 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16638 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16639 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16640 			  "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16641 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16642 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16643 		.klen   = 8 + 32 + 24,
16644 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16645 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16646 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16647 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16648 		.alen   = 16,
16649 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16650 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16651 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16652 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16653 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16654 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16655 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16656 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16657 		.ilen   = 64,
16658 		.result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16659 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16660 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16661 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16662 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16663 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16664 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16665 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16666 			  "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
16667 			  "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
16668 			  "\xca\x71\x85\x93\xf7\x85\x55\x8b"
16669 			  "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
16670 		.rlen   = 64 + 32,
16671 	}, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16672 #ifdef __LITTLE_ENDIAN
16673 		.key    = "\x08\x00"		/* rta length */
16674 			  "\x01\x00"		/* rta type */
16675 #else
16676 		.key    = "\x00\x08"		/* rta length */
16677 			  "\x00\x01"            /* rta type */
16678 #endif
16679 			  "\x00\x00\x00\x20"	/* enc key length */
16680 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16681 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16682 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16683 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16684 			  "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16685 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16686 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16687 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16688 		.klen   = 8 + 32 + 32,
16689 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16690 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16691 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16692 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16693 		.alen   = 16,
16694 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16695 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16696 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16697 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16698 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16699 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16700 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16701 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16702 		.ilen   = 64,
16703 		.result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16704 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16705 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16706 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16707 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16708 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16709 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16710 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16711 			  "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
16712 			  "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
16713 			  "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
16714 			  "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
16715 		.rlen   = 64 + 32,
16716 	},
16717 };
16718 
16719 static struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
16720 	{ /* RFC 3602 Case 1 */
16721 #ifdef __LITTLE_ENDIAN
16722 		.key    = "\x08\x00"		/* rta length */
16723 			  "\x01\x00"		/* rta type */
16724 #else
16725 		.key    = "\x00\x08"		/* rta length */
16726 			  "\x00\x01"		/* rta type */
16727 #endif
16728 			  "\x00\x00\x00\x10"	/* enc key length */
16729 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16730 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16731 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16732 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16733 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16734 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16735 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16736 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16737 			  "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16738 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16739 		.klen   = 8 + 64 + 16,
16740 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16741 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16742 		.assoc	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16743 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16744 		.alen   = 16,
16745 		.input  = "Single block msg",
16746 		.ilen   = 16,
16747 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16748 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16749 			  "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
16750 			  "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
16751 			  "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
16752 			  "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
16753 			  "\xec\xbd\x50\x08\x07\x64\x1a\x49"
16754 			  "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
16755 			  "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
16756 			  "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
16757 		.rlen   = 16 + 64,
16758 	}, { /* RFC 3602 Case 2 */
16759 #ifdef __LITTLE_ENDIAN
16760 		.key    = "\x08\x00"		/* rta length */
16761 			  "\x01\x00"		/* rta type */
16762 #else
16763 		.key    = "\x00\x08"		/* rta length */
16764 			  "\x00\x01"		/* rta type */
16765 #endif
16766 			  "\x00\x00\x00\x10"	/* enc key length */
16767 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16768 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16769 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16770 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16771 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
16772 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16773 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
16774 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16775 			  "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16776 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16777 		.klen   = 8 + 64 + 16,
16778 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16779 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16780 		.assoc	= "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16781 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16782 		.alen   = 16,
16783 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16784 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16785 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16786 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16787 		.ilen   = 32,
16788 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16789 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16790 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16791 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16792 			  "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
16793 			  "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
16794 			  "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
16795 			  "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
16796 			  "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
16797 			  "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
16798 			  "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
16799 			  "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
16800 		.rlen   = 32 + 64,
16801 	}, { /* RFC 3602 Case 3 */
16802 #ifdef __LITTLE_ENDIAN
16803 		.key    = "\x08\x00"		/* rta length */
16804 			  "\x01\x00"            /* rta type */
16805 #else
16806 		.key    = "\x00\x08"		/* rta length */
16807 			  "\x00\x01"		/* rta type */
16808 #endif
16809 			  "\x00\x00\x00\x10"	/* enc key length */
16810 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16811 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16812 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16813 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16814 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
16815 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16816 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16817 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16818 			  "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16819 			  "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16820 		.klen   = 8 + 64 + 16,
16821 		.iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16822 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16823 		.assoc	= "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16824 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16825 		.alen   = 16,
16826 		.input  = "This is a 48-byte message (exactly 3 AES blocks)",
16827 		.ilen   = 48,
16828 		.result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16829 			  "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16830 			  "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16831 			  "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16832 			  "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16833 			  "\x85\x79\x69\x5d\x83\xba\x26\x84"
16834 			  "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
16835 			  "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
16836 			  "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
16837 			  "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
16838 			  "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
16839 			  "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
16840 			  "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
16841 			  "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
16842 		.rlen   = 48 + 64,
16843 	}, { /* RFC 3602 Case 4 */
16844 #ifdef __LITTLE_ENDIAN
16845 		.key    = "\x08\x00"		/* rta length */
16846 			  "\x01\x00"		/* rta type */
16847 #else
16848 		.key    = "\x00\x08"		/* rta length */
16849 			  "\x00\x01"            /* rta type */
16850 #endif
16851 			  "\x00\x00\x00\x10"	/* enc key length */
16852 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16853 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16854 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16855 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16856 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
16857 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16858 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16859 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16860 			  "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16861 			  "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16862 		.klen   = 8 + 64 + 16,
16863 		.iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16864 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16865 		.assoc	= "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16866 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16867 		.alen   = 16,
16868 		.input  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16869 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16870 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16871 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16872 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16873 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16874 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16875 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16876 		.ilen   = 64,
16877 		.result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16878 			  "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16879 			  "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16880 			  "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16881 			  "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16882 			  "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16883 			  "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16884 			  "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16885 			  "\x82\xcd\x42\x28\x21\x20\x15\xcc"
16886 			  "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
16887 			  "\x61\x32\x82\x85\xcf\x27\xed\xb4"
16888 			  "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
16889 			  "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
16890 			  "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
16891 			  "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
16892 			  "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
16893 		.rlen   = 64 + 64,
16894 	}, { /* RFC 3602 Case 5 */
16895 #ifdef __LITTLE_ENDIAN
16896 		.key    = "\x08\x00"		/* rta length */
16897 			  "\x01\x00"            /* rta type */
16898 #else
16899 		.key    = "\x00\x08"		/* rta length */
16900 			  "\x00\x01"            /* rta type */
16901 #endif
16902 			  "\x00\x00\x00\x10"	/* enc key length */
16903 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16904 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16905 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16906 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16907 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
16908 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16909 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16910 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16911 			  "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16912 			  "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16913 		.klen   = 8 + 64 + 16,
16914 		.iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16915 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16916 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16917 			  "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16918 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16919 		.alen   = 24,
16920 		.input  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16921 			  "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16922 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16923 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16924 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16925 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16926 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16927 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16928 			  "\x01\x02\x03\x04\x05\x06\x07\x08"
16929 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16930 		.ilen   = 80,
16931 		.result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16932 			  "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16933 			  "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16934 			  "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16935 			  "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16936 			  "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16937 			  "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16938 			  "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16939 			  "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16940 			  "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16941 			  "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
16942 			  "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
16943 			  "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
16944 			  "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
16945 			  "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
16946 			  "\x92\x26\xc1\x76\x20\x11\xeb\xba"
16947 			  "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
16948 			  "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
16949 		.rlen   = 80 + 64,
16950        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16951 #ifdef __LITTLE_ENDIAN
16952 		.key    = "\x08\x00"            /* rta length */
16953 			  "\x01\x00"		/* rta type */
16954 #else
16955 		.key    = "\x00\x08"		/* rta length */
16956 			  "\x00\x01"            /* rta type */
16957 #endif
16958 			  "\x00\x00\x00\x18"	/* enc key length */
16959 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16960 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16961 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16962 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16963 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
16964 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16965 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16966 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16967 			  "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16968 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16969 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16970 		.klen   = 8 + 64 + 24,
16971 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16972 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16973 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16974 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16975 		.alen   = 16,
16976 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16977 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16978 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16979 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16980 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16981 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16982 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16983 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16984 		.ilen   = 64,
16985 		.result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16986 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16987 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16988 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16989 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16990 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16991 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16992 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16993 			  "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
16994 			  "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
16995 			  "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
16996 			  "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
16997 			  "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
16998 			  "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
16999 			  "\x8d\x43\x98\xa7\x94\x16\x07\x02"
17000 			  "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
17001 		.rlen   = 64 + 64,
17002 	}, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
17003 #ifdef __LITTLE_ENDIAN
17004 		.key    = "\x08\x00"		/* rta length */
17005 			  "\x01\x00"		/* rta type */
17006 #else
17007 		.key    = "\x00\x08"		/* rta length */
17008 			  "\x00\x01"            /* rta type */
17009 #endif
17010 			  "\x00\x00\x00\x20"	/* enc key length */
17011 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17012 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17013 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17014 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17015 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17016 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17017 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17018 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17019 			  "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
17020 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
17021 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
17022 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
17023 		.klen   = 8 + 64 + 32,
17024 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17025 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17026 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
17027 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17028 		.alen   = 16,
17029 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17030 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17031 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17032 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17033 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17034 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17035 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17036 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17037 		.ilen   = 64,
17038 		.result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
17039 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
17040 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
17041 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
17042 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
17043 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
17044 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
17045 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
17046 			  "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
17047 			  "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
17048 			  "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
17049 			  "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
17050 			  "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
17051 			  "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
17052 			  "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
17053 			  "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
17054 		.rlen   = 64 + 64,
17055 	},
17056 };
17057 
17058 #define HMAC_SHA1_DES_CBC_ENC_TEST_VEC	1
17059 
17060 static struct aead_testvec hmac_sha1_des_cbc_enc_tv_temp[] = {
17061 	{ /*Generated with cryptopp*/
17062 #ifdef __LITTLE_ENDIAN
17063 		.key    = "\x08\x00"		/* rta length */
17064 			  "\x01\x00"		/* rta type */
17065 #else
17066 	.key    = "\x00\x08"		/* rta length */
17067 			  "\x00\x01"		/* rta type */
17068 #endif
17069 			  "\x00\x00\x00\x08"	/* enc key length */
17070 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17071 		  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17072 			  "\x22\x33\x44\x55"
17073 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17074 		.klen	= 8 + 20 + 8,
17075 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17076 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17077 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17078 		.alen   = 16,
17079 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17080 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17081 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17082 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17083 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17084 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17085 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17086 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17087 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17088 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17089 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17090 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17091 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17092 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17093 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17094 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17095 		.ilen	= 128,
17096 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17097 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17098 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17099 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17100 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17101 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17102 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17103 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17104 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17105 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17106 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17107 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17108 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17109 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17110 			  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17111 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17112 			  "\x95\x16\x20\x09\xf5\x95\x19\xfd"
17113 			  "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
17114 			  "\x5c\x44\xa9\x37",
17115 			  .rlen	= 128 + 20,
17116 	},
17117 };
17118 
17119 #define HMAC_SHA224_DES_CBC_ENC_TEST_VEC	1
17120 
17121 static struct aead_testvec hmac_sha224_des_cbc_enc_tv_temp[] = {
17122 	{ /*Generated with cryptopp*/
17123 #ifdef __LITTLE_ENDIAN
17124 		.key    = "\x08\x00"		/* rta length */
17125 			  "\x01\x00"		/* rta type */
17126 #else
17127 		.key    = "\x00\x08"		/* rta length */
17128 			  "\x00\x01"		/* rta type */
17129 #endif
17130 			  "\x00\x00\x00\x08"	/* enc key length */
17131 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17132 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17133 		  "\x22\x33\x44\x55\x66\x77\x88\x99"
17134 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17135 		.klen	= 8 + 24 + 8,
17136 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17137 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17138 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17139 		.alen   = 16,
17140 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17141 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17142 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17143 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17144 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17145 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17146 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17147 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17148 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17149 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17150 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17151 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17152 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17153 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17154 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17155 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17156 		.ilen	= 128,
17157 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17158 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17159 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17160 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17161 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17162 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17163 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17164 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17165 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17166 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17167 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17168 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17169 		  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17170 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17171 			  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17172 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17173 			  "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
17174 			  "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
17175 			  "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
17176 		.rlen	= 128 + 24,
17177 	},
17178 };
17179 
17180 #define HMAC_SHA256_DES_CBC_ENC_TEST_VEC	1
17181 
17182 static struct aead_testvec hmac_sha256_des_cbc_enc_tv_temp[] = {
17183 	{ /*Generated with cryptopp*/
17184 #ifdef __LITTLE_ENDIAN
17185 		.key    = "\x08\x00"		/* rta length */
17186 			  "\x01\x00"		/* rta type */
17187 #else
17188 		.key    = "\x00\x08"		/* rta length */
17189 			  "\x00\x01"		/* rta type */
17190 #endif
17191 			  "\x00\x00\x00\x08"	/* enc key length */
17192 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17193 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17194 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17195 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17196 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17197 		.klen	= 8 + 32 + 8,
17198 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17199 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17200 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17201 		.alen   = 16,
17202 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17203 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17204 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17205 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17206 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17207 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17208 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17209 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17210 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17211 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17212 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17213 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17214 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17215 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17216 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17217 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17218 		.ilen	= 128,
17219 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17220 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17221 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17222 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17223 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17224 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17225 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17226 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17227 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17228 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17229 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17230 		  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17231 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17232 		  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17233 		  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17234 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17235 			  "\xc6\x58\xa1\x60\x70\x91\x39\x36"
17236 			  "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
17237 			  "\xde\x63\xde\x76\x52\xde\x9f\xba"
17238 			  "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
17239 		.rlen	= 128 + 32,
17240 	},
17241 };
17242 
17243 #define HMAC_SHA384_DES_CBC_ENC_TEST_VEC	1
17244 
17245 static struct aead_testvec hmac_sha384_des_cbc_enc_tv_temp[] = {
17246 	{ /*Generated with cryptopp*/
17247 #ifdef __LITTLE_ENDIAN
17248 		.key    = "\x08\x00"		/* rta length */
17249 			  "\x01\x00"		/* rta type */
17250 #else
17251 		.key    = "\x00\x08"		/* rta length */
17252 			  "\x00\x01"		/* rta type */
17253 #endif
17254 			  "\x00\x00\x00\x08"	/* enc key length */
17255 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17256 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17257 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17258 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17259 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17260 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17261 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17262 		.klen	= 8 + 48 + 8,
17263 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17264 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17265 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17266 		.alen   = 16,
17267 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17268 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17269 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17270 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17271 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17272 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17273 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17274 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17275 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17276 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17277 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17278 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17279 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17280 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17281 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17282 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17283 		.ilen	= 128,
17284 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17285 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17286 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17287 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17288 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17289 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17290 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17291 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17292 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17293 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17294 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17295 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17296 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17297 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17298 			  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17299 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17300 			  "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
17301 			  "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
17302 			  "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
17303 			  "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
17304 			  "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
17305 			  "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
17306 		.rlen	= 128 + 48,
17307 	},
17308 };
17309 
17310 #define HMAC_SHA512_DES_CBC_ENC_TEST_VEC	1
17311 
17312 static struct aead_testvec hmac_sha512_des_cbc_enc_tv_temp[] = {
17313 	{ /*Generated with cryptopp*/
17314 #ifdef __LITTLE_ENDIAN
17315 		.key    = "\x08\x00"		/* rta length */
17316 		  "\x01\x00"		/* rta type */
17317 #else
17318 		.key    = "\x00\x08"		/* rta length */
17319 			  "\x00\x01"		/* rta type */
17320 #endif
17321 			  "\x00\x00\x00\x08"	/* enc key length */
17322 		  "\x11\x22\x33\x44\x55\x66\x77\x88"
17323 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17324 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17325 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17326 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17327 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17328 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17329 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17330 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17331 		.klen	= 8 + 64 + 8,
17332 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17333 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17334 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17335 		.alen   = 16,
17336 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17337 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17338 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17339 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17340 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17341 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17342 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17343 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17344 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17345 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17346 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17347 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17348 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17349 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17350 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17351 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17352 		.ilen	= 128,
17353 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17354 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17355 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17356 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17357 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17358 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17359 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17360 		  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17361 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17362 		  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17363 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17364 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17365 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17366 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17367 		  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17368 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17369 			  "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
17370 			  "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
17371 			  "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
17372 			  "\x58\x83\xda\x67\xfb\x21\x24\xa2"
17373 			  "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
17374 			  "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
17375 			  "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
17376 			  "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
17377 		.rlen	= 128 + 64,
17378 	},
17379 };
17380 
17381 #define HMAC_SHA1_DES3_EDE_CBC_ENC_TEST_VEC	1
17382 
17383 static struct aead_testvec hmac_sha1_des3_ede_cbc_enc_tv_temp[] = {
17384 	{ /*Generated with cryptopp*/
17385 #ifdef __LITTLE_ENDIAN
17386 		.key    = "\x08\x00"		/* rta length */
17387 			  "\x01\x00"		/* rta type */
17388 #else
17389 		.key    = "\x00\x08"		/* rta length */
17390 			  "\x00\x01"		/* rta type */
17391 #endif
17392 			  "\x00\x00\x00\x18"	/* enc key length */
17393 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17394 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17395 			  "\x22\x33\x44\x55"
17396 		  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17397 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17398 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17399 		.klen	= 8 + 20 + 24,
17400 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17401 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17402 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17403 		.alen   = 16,
17404 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17405 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17406 		  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17407 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17408 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17409 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17410 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17411 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17412 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17413 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17414 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17415 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17416 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17417 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17418 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17419 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17420 		.ilen	= 128,
17421 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17422 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17423 		  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17424 		  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17425 		  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17426 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17427 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17428 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17429 		  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17430 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17431 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17432 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17433 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17434 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17435 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17436 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17437 			  "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
17438 			  "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
17439 			  "\xd1\x60\x91\xb3",
17440 			  .rlen	= 128 + 20,
17441 	},
17442 };
17443 
17444 #define HMAC_SHA224_DES3_EDE_CBC_ENC_TEST_VEC	1
17445 
17446 static struct aead_testvec hmac_sha224_des3_ede_cbc_enc_tv_temp[] = {
17447 	{ /*Generated with cryptopp*/
17448 #ifdef __LITTLE_ENDIAN
17449 		.key    = "\x08\x00"		/* rta length */
17450 			  "\x01\x00"		/* rta type */
17451 #else
17452 		.key    = "\x00\x08"		/* rta length */
17453 			  "\x00\x01"		/* rta type */
17454 #endif
17455 			  "\x00\x00\x00\x18"	/* enc key length */
17456 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17457 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17458 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17459 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17460 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17461 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17462 		.klen	= 8 + 24 + 24,
17463 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17464 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17465 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17466 		.alen   = 16,
17467 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17468 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17469 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17470 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17471 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17472 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17473 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17474 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17475 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17476 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17477 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17478 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17479 		  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17480 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17481 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17482 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17483 		.ilen	= 128,
17484 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17485 		  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17486 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17487 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17488 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17489 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17490 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17491 		  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17492 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17493 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17494 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17495 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17496 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17497 		  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17498 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17499 		  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17500 			  "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
17501 			  "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
17502 			  "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
17503 			  .rlen	= 128 + 24,
17504 	},
17505 };
17506 
17507 #define HMAC_SHA256_DES3_EDE_CBC_ENC_TEST_VEC	1
17508 
17509 static struct aead_testvec hmac_sha256_des3_ede_cbc_enc_tv_temp[] = {
17510 	{ /*Generated with cryptopp*/
17511 #ifdef __LITTLE_ENDIAN
17512 		.key    = "\x08\x00"		/* rta length */
17513 			  "\x01\x00"		/* rta type */
17514 #else
17515 		.key    = "\x00\x08"		/* rta length */
17516 			  "\x00\x01"		/* rta type */
17517 #endif
17518 			  "\x00\x00\x00\x18"	/* enc key length */
17519 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17520 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17521 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17522 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17523 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17524 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17525 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17526 		.klen	= 8 + 32 + 24,
17527 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17528 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17529 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17530 		.alen   = 16,
17531 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17532 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17533 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17534 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17535 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17536 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17537 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17538 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17539 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17540 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17541 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17542 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17543 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17544 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17545 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17546 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17547 		.ilen	= 128,
17548 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17549 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17550 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17551 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17552 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17553 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17554 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17555 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17556 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17557 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17558 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17559 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17560 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17561 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17562 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17563 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17564 			  "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
17565 			  "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
17566 			  "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
17567 			  "\xca\x43\x95\xdf\x80\x61\x81\xa9",
17568 		.rlen	= 128 + 32,
17569 	},
17570 };
17571 
17572 #define HMAC_SHA384_DES3_EDE_CBC_ENC_TEST_VEC	1
17573 
17574 static struct aead_testvec hmac_sha384_des3_ede_cbc_enc_tv_temp[] = {
17575 	{ /*Generated with cryptopp*/
17576 #ifdef __LITTLE_ENDIAN
17577 		.key    = "\x08\x00"		/* rta length */
17578 			  "\x01\x00"		/* rta type */
17579 #else
17580 		.key    = "\x00\x08"		/* rta length */
17581 			  "\x00\x01"		/* rta type */
17582 #endif
17583 			  "\x00\x00\x00\x18"	/* enc key length */
17584 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17585 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17586 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17587 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17588 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17589 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17590 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17591 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17592 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17593 		.klen	= 8 + 48 + 24,
17594 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17595 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17596 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17597 		.alen   = 16,
17598 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17599 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17600 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17601 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17602 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17603 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17604 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17605 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17606 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17607 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17608 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17609 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17610 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17611 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17612 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17613 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17614 		.ilen	= 128,
17615 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17616 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17617 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17618 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17619 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17620 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17621 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17622 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17623 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17624 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17625 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17626 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17627 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17628 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17629 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17630 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17631 			  "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
17632 		  "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
17633 			  "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
17634 			  "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
17635 			  "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
17636 			  "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
17637 		.rlen	= 128 + 48,
17638 	},
17639 };
17640 
17641 #define HMAC_SHA512_DES3_EDE_CBC_ENC_TEST_VEC	1
17642 
17643 static struct aead_testvec hmac_sha512_des3_ede_cbc_enc_tv_temp[] = {
17644 	{ /*Generated with cryptopp*/
17645 #ifdef __LITTLE_ENDIAN
17646 		.key    = "\x08\x00"		/* rta length */
17647 			  "\x01\x00"		/* rta type */
17648 #else
17649 		.key    = "\x00\x08"		/* rta length */
17650 			  "\x00\x01"		/* rta type */
17651 #endif
17652 			  "\x00\x00\x00\x18"	/* enc key length */
17653 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17654 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17655 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17656 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17657 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17658 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17659 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17660 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17661 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17662 		  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17663 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17664 		.klen	= 8 + 64 + 24,
17665 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17666 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17667 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17668 		.alen   = 16,
17669 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17670 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17671 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17672 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17673 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17674 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17675 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17676 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17677 		  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17678 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17679 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17680 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17681 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17682 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17683 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17684 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17685 		.ilen	= 128,
17686 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17687 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17688 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17689 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17690 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17691 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17692 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17693 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17694 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17695 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17696 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17697 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17698 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17699 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17700 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17701 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17702 			  "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
17703 			  "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
17704 			  "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
17705 			  "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
17706 			  "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
17707 			  "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
17708 			  "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
17709 			  "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
17710 		.rlen	= 128 + 64,
17711 	},
17712 };
17713 
17714 static struct cipher_testvec aes_lrw_enc_tv_template[] = {
17715 	/* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
17716 	{ /* LRW-32-AES 1 */
17717 		.key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
17718 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
17719 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
17720 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
17721 		.klen   = 32,
17722 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17723 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17724 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17725 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17726 		.ilen   = 16,
17727 		.result = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
17728 			  "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
17729 		.rlen   = 16,
17730 	}, { /* LRW-32-AES 2 */
17731 		.key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
17732 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
17733 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
17734 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
17735 		.klen   = 32,
17736 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17737 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
17738 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17739 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17740 		.ilen   = 16,
17741 		.result = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
17742 			  "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
17743 		.rlen   = 16,
17744 	}, { /* LRW-32-AES 3 */
17745 		.key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
17746 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
17747 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
17748 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
17749 		.klen   = 32,
17750 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17751 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
17752 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17753 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17754 		.ilen   = 16,
17755 		.result = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
17756 			  "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
17757 		.rlen   = 16,
17758 	}, { /* LRW-32-AES 4 */
17759 		.key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
17760 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
17761 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
17762 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
17763 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
17764 		.klen   = 40,
17765 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17766 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17767 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17768 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17769 		.ilen   = 16,
17770 		.result = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
17771 			  "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
17772 		.rlen   = 16,
17773 	}, { /* LRW-32-AES 5 */
17774 		.key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
17775 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
17776 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
17777 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
17778 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
17779 		.klen   = 40,
17780 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17781 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
17782 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17783 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17784 		.ilen   = 16,
17785 		.result = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
17786 			  "\xc8\x60\x48\x02\x87\xe3\x34\x06",
17787 		.rlen   = 16,
17788 	}, { /* LRW-32-AES 6 */
17789 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17790 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17791 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17792 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17793 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17794 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17795 		.klen   = 48,
17796 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17797 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17798 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17799 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17800 		.ilen   = 16,
17801 		.result = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
17802 			  "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
17803 		.rlen   = 16,
17804 	}, { /* LRW-32-AES 7 */
17805 		.key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
17806 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
17807 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
17808 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
17809 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
17810 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
17811 		.klen   = 48,
17812 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17813 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
17814 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17815 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17816 		.ilen   = 16,
17817 		.result = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
17818 			  "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
17819 		.rlen   = 16,
17820 	}, {
17821 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
17822 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17823 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17824 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17825 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17826 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17827 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17828 		.klen   = 48,
17829 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17830 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17831 		.input  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
17832 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
17833 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
17834 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
17835 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
17836 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
17837 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
17838 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
17839 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
17840 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
17841 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
17842 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
17843 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
17844 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
17845 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
17846 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
17847 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
17848 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
17849 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
17850 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
17851 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
17852 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
17853 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
17854 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
17855 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
17856 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
17857 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
17858 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
17859 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
17860 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
17861 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
17862 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
17863 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
17864 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
17865 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
17866 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
17867 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
17868 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
17869 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
17870 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
17871 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
17872 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
17873 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
17874 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
17875 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
17876 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
17877 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
17878 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
17879 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
17880 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
17881 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
17882 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
17883 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
17884 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
17885 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
17886 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
17887 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
17888 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
17889 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
17890 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
17891 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
17892 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
17893 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
17894 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
17895 		.ilen   = 512,
17896 		.result = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
17897 			  "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
17898 			  "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
17899 			  "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
17900 			  "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
17901 			  "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
17902 			  "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
17903 			  "\xe8\x58\x46\x97\x39\x51\x07\xde"
17904 			  "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
17905 			  "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
17906 			  "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
17907 			  "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
17908 			  "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
17909 			  "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
17910 			  "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
17911 			  "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
17912 			  "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
17913 			  "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
17914 			  "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
17915 			  "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
17916 			  "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
17917 			  "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
17918 			  "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
17919 			  "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
17920 			  "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
17921 			  "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
17922 			  "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
17923 			  "\x41\x30\x58\xc5\x62\x74\x52\x1d"
17924 			  "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
17925 			  "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
17926 			  "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
17927 			  "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
17928 			  "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
17929 			  "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
17930 			  "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
17931 			  "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
17932 			  "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
17933 			  "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
17934 			  "\xb8\x79\x78\x97\x94\xff\x72\x13"
17935 			  "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
17936 			  "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
17937 			  "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
17938 			  "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
17939 			  "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
17940 			  "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
17941 			  "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
17942 			  "\x1e\x86\x53\x11\x53\x94\x00\xee"
17943 			  "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
17944 			  "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
17945 			  "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
17946 			  "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
17947 			  "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
17948 			  "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
17949 			  "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
17950 			  "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
17951 			  "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
17952 			  "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
17953 			  "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
17954 			  "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
17955 			  "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
17956 			  "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
17957 			  "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
17958 			  "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
17959 			  "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
17960 		.rlen   = 512,
17961 		.also_non_np = 1,
17962 		.np	= 3,
17963 		.tap	= { 512 - 20, 4, 16 },
17964 	}
17965 };
17966 
17967 static struct cipher_testvec aes_lrw_dec_tv_template[] = {
17968 	/* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
17969 	/* same as enc vectors with input and result reversed */
17970 	{ /* LRW-32-AES 1 */
17971 		.key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
17972 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
17973 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
17974 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
17975 		.klen   = 32,
17976 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17977 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17978 		.input  = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
17979 			  "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
17980 		.ilen   = 16,
17981 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
17982 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17983 		.rlen   = 16,
17984 	}, { /* LRW-32-AES 2 */
17985 		.key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
17986 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
17987 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
17988 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
17989 		.klen   = 32,
17990 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17991 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
17992 		.input  = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
17993 			  "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
17994 		.ilen   = 16,
17995 		.result  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17996 			   "\x38\x39\x41\x42\x43\x44\x45\x46",
17997 		.rlen   = 16,
17998 	}, { /* LRW-32-AES 3 */
17999 		.key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
18000 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
18001 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
18002 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
18003 		.klen   = 32,
18004 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18005 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
18006 		.input  = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
18007 			  "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
18008 		.ilen   = 16,
18009 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18010 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18011 		.rlen   = 16,
18012 	}, { /* LRW-32-AES 4 */
18013 		.key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
18014 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
18015 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
18016 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
18017 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
18018 		.klen   = 40,
18019 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18020 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18021 		.input  = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
18022 			  "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
18023 		.ilen   = 16,
18024 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18025 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18026 		.rlen   = 16,
18027 	}, { /* LRW-32-AES 5 */
18028 		.key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
18029 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
18030 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
18031 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
18032 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
18033 		.klen   = 40,
18034 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18035 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
18036 		.input  = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
18037 			  "\xc8\x60\x48\x02\x87\xe3\x34\x06",
18038 		.ilen   = 16,
18039 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18040 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18041 		.rlen   = 16,
18042 	}, { /* LRW-32-AES 6 */
18043 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18044 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18045 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18046 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18047 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18048 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18049 		.klen   = 48,
18050 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18051 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18052 		.input  = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
18053 			  "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
18054 		.ilen   = 16,
18055 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18056 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18057 		.rlen   = 16,
18058 	}, { /* LRW-32-AES 7 */
18059 		.key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
18060 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
18061 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
18062 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
18063 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
18064 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
18065 		.klen   = 48,
18066 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18067 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
18068 		.input  = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
18069 			  "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
18070 		.ilen   = 16,
18071 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18072 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18073 		.rlen   = 16,
18074 	}, {
18075 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
18076 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18077 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18078 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18079 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18080 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18081 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18082 		.klen   = 48,
18083 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18084 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18085 		.input	= "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
18086 			  "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
18087 			  "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
18088 			  "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
18089 			  "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
18090 			  "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
18091 			  "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
18092 			  "\xe8\x58\x46\x97\x39\x51\x07\xde"
18093 			  "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
18094 			  "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
18095 			  "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
18096 			  "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
18097 			  "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
18098 			  "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
18099 			  "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
18100 			  "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
18101 			  "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
18102 			  "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
18103 			  "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
18104 			  "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
18105 			  "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
18106 			  "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
18107 			  "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
18108 			  "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
18109 			  "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
18110 			  "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
18111 			  "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
18112 			  "\x41\x30\x58\xc5\x62\x74\x52\x1d"
18113 			  "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
18114 			  "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
18115 			  "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
18116 			  "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
18117 			  "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
18118 			  "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
18119 			  "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
18120 			  "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
18121 			  "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
18122 			  "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
18123 			  "\xb8\x79\x78\x97\x94\xff\x72\x13"
18124 			  "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
18125 			  "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
18126 			  "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
18127 			  "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
18128 			  "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
18129 			  "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
18130 			  "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
18131 			  "\x1e\x86\x53\x11\x53\x94\x00\xee"
18132 			  "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
18133 			  "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
18134 			  "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
18135 			  "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
18136 			  "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
18137 			  "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
18138 			  "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
18139 			  "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
18140 			  "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
18141 			  "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
18142 			  "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
18143 			  "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
18144 			  "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
18145 			  "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
18146 			  "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
18147 			  "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
18148 			  "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
18149 		.ilen   = 512,
18150 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
18151 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
18152 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
18153 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
18154 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
18155 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
18156 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
18157 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
18158 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
18159 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
18160 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
18161 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
18162 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
18163 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
18164 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
18165 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
18166 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
18167 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
18168 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
18169 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
18170 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
18171 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
18172 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
18173 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
18174 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
18175 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
18176 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
18177 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
18178 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
18179 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
18180 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
18181 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
18182 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
18183 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
18184 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
18185 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
18186 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
18187 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
18188 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
18189 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
18190 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
18191 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
18192 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
18193 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
18194 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
18195 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
18196 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
18197 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
18198 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
18199 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
18200 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
18201 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
18202 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
18203 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
18204 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
18205 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
18206 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
18207 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
18208 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
18209 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
18210 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
18211 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
18212 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
18213 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
18214 		.rlen   = 512,
18215 		.also_non_np = 1,
18216 		.np	= 3,
18217 		.tap	= { 512 - 20, 4, 16 },
18218 	}
18219 };
18220 
18221 static struct cipher_testvec aes_xts_enc_tv_template[] = {
18222 	/* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
18223 	{ /* XTS-AES 1 */
18224 		.key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
18225 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18226 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18227 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18228 		.klen   = 32,
18229 		.fips_skip = 1,
18230 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18231 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18232 		.input  = "\x00\x00\x00\x00\x00\x00\x00\x00"
18233 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18234 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18235 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18236 		.ilen   = 32,
18237 		.result = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
18238 			  "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
18239 			  "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
18240 			  "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
18241 		.rlen   = 32,
18242 	}, { /* XTS-AES 2 */
18243 		.key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
18244 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
18245 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18246 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18247 		.klen   = 32,
18248 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18249 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18250 		.input  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18251 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18252 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18253 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18254 		.ilen   = 32,
18255 		.result = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
18256 			  "\x39\x33\x40\x38\xac\xef\x83\x8b"
18257 			  "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
18258 			  "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
18259 		.rlen   = 32,
18260 	}, { /* XTS-AES 3 */
18261 		.key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
18262 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
18263 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18264 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18265 		.klen   = 32,
18266 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18267 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18268 		.input  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18269 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18270 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18271 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18272 		.ilen   = 32,
18273 		.result = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
18274 			  "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
18275 			  "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
18276 			  "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
18277 		.rlen   = 32,
18278 	}, { /* XTS-AES 4 */
18279 		.key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
18280 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18281 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18282 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
18283 		.klen   = 32,
18284 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18285 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18286 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18287 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18288 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18289 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18290 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18291 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18292 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18293 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18294 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18295 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18296 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18297 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18298 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18299 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18300 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18301 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18302 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18303 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18304 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18305 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18306 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18307 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18308 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18309 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18310 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18311 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18312 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18313 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18314 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18315 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18316 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18317 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18318 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18319 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18320 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18321 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18322 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18323 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18324 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18325 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18326 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18327 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18328 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18329 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18330 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18331 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18332 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18333 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18334 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18335 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18336 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18337 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18338 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18339 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18340 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18341 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18342 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18343 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18344 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18345 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18346 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18347 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18348 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18349 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18350 		.ilen   = 512,
18351 		.result = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
18352 			  "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
18353 			  "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
18354 			  "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
18355 			  "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
18356 			  "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
18357 			  "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
18358 			  "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
18359 			  "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
18360 			  "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
18361 			  "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
18362 			  "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
18363 			  "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
18364 			  "\x22\x97\x61\x46\xae\x20\xce\x84"
18365 			  "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
18366 			  "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
18367 			  "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
18368 			  "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
18369 			  "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
18370 			  "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
18371 			  "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
18372 			  "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
18373 			  "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
18374 			  "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
18375 			  "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
18376 			  "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
18377 			  "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
18378 			  "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
18379 			  "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
18380 			  "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
18381 			  "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
18382 			  "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
18383 			  "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
18384 			  "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
18385 			  "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
18386 			  "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
18387 			  "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
18388 			  "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
18389 			  "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
18390 			  "\x55\xef\x52\x97\xca\x67\xe9\xf3"
18391 			  "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
18392 			  "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
18393 			  "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
18394 			  "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
18395 			  "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
18396 			  "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
18397 			  "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
18398 			  "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
18399 			  "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
18400 			  "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
18401 			  "\x18\x84\x69\x77\xae\x11\x9f\x7a"
18402 			  "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
18403 			  "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
18404 			  "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
18405 			  "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
18406 			  "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
18407 			  "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
18408 			  "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
18409 			  "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
18410 			  "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
18411 			  "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
18412 			  "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
18413 			  "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
18414 			  "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
18415 		.rlen   = 512,
18416 	}, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
18417 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
18418 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18419 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
18420 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
18421 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18422 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
18423 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
18424 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
18425 		.klen	= 64,
18426 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
18427 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18428 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
18429 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18430 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18431 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18432 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18433 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18434 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18435 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18436 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18437 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18438 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18439 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18440 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18441 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18442 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18443 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18444 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18445 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18446 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18447 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18448 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18449 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18450 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18451 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18452 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18453 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18454 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18455 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18456 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18457 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18458 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18459 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18460 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18461 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18462 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18463 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18464 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18465 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18466 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18467 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18468 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18469 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18470 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18471 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18472 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18473 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18474 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18475 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18476 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18477 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18478 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18479 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18480 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18481 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18482 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18483 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18484 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18485 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18486 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18487 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18488 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18489 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18490 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18491 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18492 		.ilen	= 512,
18493 		.result	= "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
18494 			  "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
18495 			  "\xea\x00\x80\x3f\x5e\x48\x23\x57"
18496 			  "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
18497 			  "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
18498 			  "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
18499 			  "\x68\x0a\x86\xac\x35\xad\xfc\x33"
18500 			  "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
18501 			  "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
18502 			  "\xb1\x08\xfd\x10\x98\xba\xec\x70"
18503 			  "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
18504 			  "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
18505 			  "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
18506 			  "\xae\xba\x12\x29\x61\xd0\x3a\x75"
18507 			  "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
18508 			  "\x00\x02\x08\x87\x89\x14\x29\xca"
18509 			  "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
18510 			  "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
18511 			  "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
18512 			  "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
18513 			  "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
18514 			  "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
18515 			  "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
18516 			  "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
18517 			  "\x93\xec\x05\xc5\x2e\x04\x93\xef"
18518 			  "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
18519 			  "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
18520 			  "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
18521 			  "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
18522 			  "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
18523 			  "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
18524 			  "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
18525 			  "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
18526 			  "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
18527 			  "\xbc\x48\x14\x57\x77\x8f\x61\x60"
18528 			  "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
18529 			  "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
18530 			  "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
18531 			  "\xf4\xc3\x33\xec\x44\x23\x88\x51"
18532 			  "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
18533 			  "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
18534 			  "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
18535 			  "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
18536 			  "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
18537 			  "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
18538 			  "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
18539 			  "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
18540 			  "\x92\x5f\xed\xc4\xae\x74\xff\xac"
18541 			  "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
18542 			  "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
18543 			  "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
18544 			  "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
18545 			  "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
18546 			  "\x94\x30\x54\xff\x84\x01\x14\x93"
18547 			  "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
18548 			  "\x53\x76\x44\x1a\x77\xed\x43\x85"
18549 			  "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
18550 			  "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
18551 			  "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
18552 			  "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
18553 			  "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
18554 			  "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
18555 			  "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
18556 			  "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
18557 		.rlen	= 512,
18558 		.also_non_np = 1,
18559 		.np	= 3,
18560 		.tap	= { 512 - 20, 4, 16 },
18561 	}
18562 };
18563 
18564 static struct cipher_testvec aes_xts_dec_tv_template[] = {
18565 	/* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
18566 	{ /* XTS-AES 1 */
18567 		.key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
18568 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18569 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18570 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18571 		.klen   = 32,
18572 		.fips_skip = 1,
18573 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18574 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18575 		.input = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
18576 			 "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
18577 			 "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
18578 			 "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
18579 		.ilen   = 32,
18580 		.result  = "\x00\x00\x00\x00\x00\x00\x00\x00"
18581 			   "\x00\x00\x00\x00\x00\x00\x00\x00"
18582 			   "\x00\x00\x00\x00\x00\x00\x00\x00"
18583 			   "\x00\x00\x00\x00\x00\x00\x00\x00",
18584 		.rlen   = 32,
18585 	}, { /* XTS-AES 2 */
18586 		.key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
18587 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
18588 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18589 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18590 		.klen   = 32,
18591 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18592 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18593 		.input  = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
18594 			  "\x39\x33\x40\x38\xac\xef\x83\x8b"
18595 			  "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
18596 			  "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
18597 		.ilen   = 32,
18598 		.result = "\x44\x44\x44\x44\x44\x44\x44\x44"
18599 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18600 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18601 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18602 		.rlen   = 32,
18603 	}, { /* XTS-AES 3 */
18604 		.key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
18605 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
18606 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18607 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18608 		.klen   = 32,
18609 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18610 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18611 		.input = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
18612 			  "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
18613 			  "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
18614 			  "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
18615 		.ilen   = 32,
18616 		.result  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18617 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18618 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18619 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18620 		.rlen   = 32,
18621 	}, { /* XTS-AES 4 */
18622 		.key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
18623 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18624 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18625 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
18626 		.klen   = 32,
18627 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18628 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18629 		.input  = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
18630 			  "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
18631 			  "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
18632 			  "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
18633 			  "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
18634 			  "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
18635 			  "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
18636 			  "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
18637 			  "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
18638 			  "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
18639 			  "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
18640 			  "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
18641 			  "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
18642 			  "\x22\x97\x61\x46\xae\x20\xce\x84"
18643 			  "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
18644 			  "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
18645 			  "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
18646 			  "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
18647 			  "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
18648 			  "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
18649 			  "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
18650 			  "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
18651 			  "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
18652 			  "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
18653 			  "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
18654 			  "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
18655 			  "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
18656 			  "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
18657 			  "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
18658 			  "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
18659 			  "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
18660 			  "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
18661 			  "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
18662 			  "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
18663 			  "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
18664 			  "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
18665 			  "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
18666 			  "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
18667 			  "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
18668 			  "\x55\xef\x52\x97\xca\x67\xe9\xf3"
18669 			  "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
18670 			  "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
18671 			  "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
18672 			  "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
18673 			  "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
18674 			  "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
18675 			  "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
18676 			  "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
18677 			  "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
18678 			  "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
18679 			  "\x18\x84\x69\x77\xae\x11\x9f\x7a"
18680 			  "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
18681 			  "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
18682 			  "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
18683 			  "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
18684 			  "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
18685 			  "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
18686 			  "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
18687 			  "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
18688 			  "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
18689 			  "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
18690 			  "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
18691 			  "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
18692 			  "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
18693 		.ilen   = 512,
18694 		.result = "\x00\x01\x02\x03\x04\x05\x06\x07"
18695 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18696 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18697 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18698 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18699 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18700 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18701 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18702 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18703 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18704 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18705 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18706 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18707 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18708 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18709 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18710 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18711 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18712 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18713 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18714 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18715 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18716 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18717 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18718 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18719 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18720 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18721 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18722 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18723 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18724 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18725 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18726 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18727 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18728 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18729 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18730 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18731 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18732 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18733 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18734 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18735 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18736 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18737 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18738 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18739 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18740 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18741 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18742 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18743 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18744 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18745 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18746 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18747 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18748 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18749 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18750 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18751 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18752 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18753 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18754 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18755 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18756 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18757 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18758 		.rlen   = 512,
18759 	}, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
18760 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
18761 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18762 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
18763 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
18764 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18765 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
18766 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
18767 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
18768 		.klen	= 64,
18769 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
18770 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18771 		.input	= "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
18772 			  "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
18773 			  "\xea\x00\x80\x3f\x5e\x48\x23\x57"
18774 			  "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
18775 			  "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
18776 			  "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
18777 			  "\x68\x0a\x86\xac\x35\xad\xfc\x33"
18778 			  "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
18779 			  "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
18780 			  "\xb1\x08\xfd\x10\x98\xba\xec\x70"
18781 			  "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
18782 			  "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
18783 			  "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
18784 			  "\xae\xba\x12\x29\x61\xd0\x3a\x75"
18785 			  "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
18786 			  "\x00\x02\x08\x87\x89\x14\x29\xca"
18787 			  "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
18788 			  "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
18789 			  "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
18790 			  "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
18791 			  "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
18792 			  "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
18793 			  "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
18794 			  "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
18795 			  "\x93\xec\x05\xc5\x2e\x04\x93\xef"
18796 			  "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
18797 			  "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
18798 			  "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
18799 			  "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
18800 			  "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
18801 			  "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
18802 			  "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
18803 			  "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
18804 			  "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
18805 			  "\xbc\x48\x14\x57\x77\x8f\x61\x60"
18806 			  "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
18807 			  "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
18808 			  "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
18809 			  "\xf4\xc3\x33\xec\x44\x23\x88\x51"
18810 			  "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
18811 			  "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
18812 			  "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
18813 			  "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
18814 			  "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
18815 			  "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
18816 			  "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
18817 			  "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
18818 			  "\x92\x5f\xed\xc4\xae\x74\xff\xac"
18819 			  "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
18820 			  "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
18821 			  "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
18822 			  "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
18823 			  "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
18824 			  "\x94\x30\x54\xff\x84\x01\x14\x93"
18825 			  "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
18826 			  "\x53\x76\x44\x1a\x77\xed\x43\x85"
18827 			  "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
18828 			  "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
18829 			  "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
18830 			  "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
18831 			  "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
18832 			  "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
18833 			  "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
18834 			  "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
18835 		.ilen	= 512,
18836 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
18837 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18838 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18839 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18840 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18841 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18842 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18843 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18844 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18845 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18846 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18847 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18848 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18849 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18850 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18851 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18852 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18853 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18854 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18855 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18856 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18857 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18858 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18859 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18860 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18861 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18862 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18863 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18864 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18865 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18866 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18867 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18868 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18869 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18870 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18871 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18872 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18873 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18874 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18875 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18876 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18877 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18878 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18879 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18880 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18881 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18882 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18883 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18884 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18885 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18886 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18887 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18888 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18889 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18890 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18891 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18892 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18893 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18894 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18895 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18896 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18897 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18898 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18899 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18900 		.rlen	= 512,
18901 		.also_non_np = 1,
18902 		.np	= 3,
18903 		.tap	= { 512 - 20, 4, 16 },
18904 	}
18905 };
18906 
18907 
18908 static struct cipher_testvec aes_ctr_enc_tv_template[] = {
18909 	{ /* From NIST Special Publication 800-38A, Appendix F.5 */
18910 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
18911 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
18912 		.klen	= 16,
18913 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18914 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18915 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18916 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18917 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18918 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18919 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18920 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18921 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18922 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18923 		.ilen	= 64,
18924 		.result	= "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
18925 			  "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
18926 			  "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
18927 			  "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
18928 			  "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
18929 			  "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
18930 			  "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
18931 			  "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
18932 		.rlen	= 64,
18933 	}, {
18934 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
18935 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
18936 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
18937 		.klen	= 24,
18938 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18939 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18940 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18941 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18942 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18943 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18944 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18945 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18946 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18947 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18948 		.ilen	= 64,
18949 		.result	= "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
18950 			  "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
18951 			  "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
18952 			  "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
18953 			  "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
18954 			  "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
18955 			  "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
18956 			  "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
18957 		.rlen	= 64,
18958 	}, {
18959 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
18960 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
18961 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
18962 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
18963 		.klen	= 32,
18964 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18965 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18966 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18967 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18968 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18969 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18970 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18971 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18972 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18973 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18974 		.ilen	= 64,
18975 		.result	= "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
18976 			  "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
18977 			  "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
18978 			  "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
18979 			  "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
18980 			  "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
18981 			  "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
18982 			  "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
18983 		.rlen	= 64,
18984 	}, { /* Generated with Crypto++ */
18985 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
18986 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
18987 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
18988 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
18989 		.klen	= 32,
18990 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
18991 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
18992 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
18993 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
18994 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
18995 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
18996 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
18997 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
18998 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
18999 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19000 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19001 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19002 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19003 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19004 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19005 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19006 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19007 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19008 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19009 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19010 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19011 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19012 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19013 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19014 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19015 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19016 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19017 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19018 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19019 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19020 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19021 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19022 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19023 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19024 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19025 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19026 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19027 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19028 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19029 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19030 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19031 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19032 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19033 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19034 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19035 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19036 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19037 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19038 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19039 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19040 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19041 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19042 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19043 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19044 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19045 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19046 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19047 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19048 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19049 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19050 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19051 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19052 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19053 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
19054 		.ilen	= 496,
19055 		.result	= "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
19056 			  "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
19057 			  "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
19058 			  "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
19059 			  "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
19060 			  "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
19061 			  "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
19062 			  "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
19063 			  "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
19064 			  "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
19065 			  "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
19066 			  "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
19067 			  "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
19068 			  "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
19069 			  "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
19070 			  "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
19071 			  "\x34\x4B\x31\x69\x84\x66\x96\x44"
19072 			  "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
19073 			  "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
19074 			  "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
19075 			  "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
19076 			  "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
19077 			  "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
19078 			  "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
19079 			  "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
19080 			  "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
19081 			  "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
19082 			  "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
19083 			  "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
19084 			  "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
19085 			  "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
19086 			  "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
19087 			  "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
19088 			  "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
19089 			  "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
19090 			  "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
19091 			  "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
19092 			  "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
19093 			  "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
19094 			  "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
19095 			  "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
19096 			  "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
19097 			  "\x85\x99\x22\xE8\x91\x38\x70\x83"
19098 			  "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
19099 			  "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
19100 			  "\x2F\x69\xEE\x84\x36\x44\x76\x98"
19101 			  "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
19102 			  "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
19103 			  "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
19104 			  "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
19105 			  "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
19106 			  "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
19107 			  "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
19108 			  "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
19109 			  "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
19110 			  "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
19111 			  "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
19112 			  "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
19113 			  "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
19114 			  "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
19115 			  "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
19116 			  "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
19117 		.rlen	= 496,
19118 		.also_non_np = 1,
19119 		.np	= 3,
19120 		.tap	= { 496 - 20, 4, 16 },
19121 	}, { /* Generated with Crypto++ */
19122 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19123 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19124 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19125 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19126 		.klen	= 32,
19127 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19128 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
19129 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19130 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19131 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19132 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19133 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19134 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19135 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19136 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19137 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19138 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19139 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19140 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19141 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19142 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19143 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19144 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19145 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19146 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19147 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19148 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19149 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19150 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19151 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19152 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19153 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19154 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19155 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19156 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19157 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19158 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19159 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19160 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19161 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19162 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19163 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19164 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19165 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19166 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19167 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19168 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19169 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19170 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19171 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19172 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19173 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19174 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19175 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19176 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19177 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19178 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19179 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19180 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19181 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19182 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19183 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19184 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19185 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19186 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19187 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19188 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19189 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19190 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
19191 			  "\x7B\xE4\x4D",
19192 		.ilen	= 499,
19193 		.result	= "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
19194 			  "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
19195 			  "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
19196 			  "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
19197 			  "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
19198 			  "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
19199 			  "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
19200 			  "\x75\xDE\x71\x86\x3C\x98\x23\x44"
19201 			  "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
19202 			  "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
19203 			  "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
19204 			  "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
19205 			  "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
19206 			  "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
19207 			  "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
19208 			  "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
19209 			  "\xA8\x28\x69\x65\x31\xE1\x45\x83"
19210 			  "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
19211 			  "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
19212 			  "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
19213 			  "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
19214 			  "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
19215 			  "\x45\x18\x18\x74\x19\xAD\x71\x01"
19216 			  "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
19217 			  "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
19218 			  "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
19219 			  "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
19220 			  "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
19221 			  "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
19222 			  "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
19223 			  "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
19224 			  "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
19225 			  "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
19226 			  "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
19227 			  "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
19228 			  "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
19229 			  "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
19230 			  "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
19231 			  "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
19232 			  "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
19233 			  "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
19234 			  "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
19235 			  "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
19236 			  "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
19237 			  "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
19238 			  "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
19239 			  "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
19240 			  "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
19241 			  "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
19242 			  "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
19243 			  "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
19244 			  "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
19245 			  "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
19246 			  "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
19247 			  "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
19248 			  "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
19249 			  "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
19250 			  "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
19251 			  "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
19252 			  "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
19253 			  "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
19254 			  "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
19255 			  "\xFB\xF2\x3F",
19256 		.rlen	= 499,
19257 		.also_non_np = 1,
19258 		.np	= 2,
19259 		.tap	= { 499 - 16, 16 },
19260 	},
19261 };
19262 
19263 static struct cipher_testvec aes_ctr_dec_tv_template[] = {
19264 	{ /* From NIST Special Publication 800-38A, Appendix F.5 */
19265 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
19266 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
19267 		.klen	= 16,
19268 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19269 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19270 		.input	= "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
19271 			  "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
19272 			  "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
19273 			  "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
19274 			  "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
19275 			  "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
19276 			  "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
19277 			  "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
19278 		.ilen	= 64,
19279 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19280 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19281 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19282 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19283 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19284 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19285 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19286 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19287 		.rlen	= 64,
19288 	}, {
19289 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
19290 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
19291 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
19292 		.klen	= 24,
19293 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19294 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19295 		.input	= "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
19296 			  "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
19297 			  "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
19298 			  "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
19299 			  "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
19300 			  "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
19301 			  "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
19302 			  "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
19303 		.ilen	= 64,
19304 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19305 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19306 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19307 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19308 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19309 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19310 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19311 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19312 		.rlen	= 64,
19313 	}, {
19314 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
19315 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
19316 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
19317 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
19318 		.klen	= 32,
19319 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19320 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19321 		.input	= "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
19322 			  "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
19323 			  "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
19324 			  "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
19325 			  "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
19326 			  "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
19327 			  "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
19328 			  "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
19329 		.ilen	= 64,
19330 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19331 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19332 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19333 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19334 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19335 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19336 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19337 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19338 		.rlen	= 64,
19339 	}, { /* Generated with Crypto++ */
19340 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19341 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19342 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19343 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19344 		.klen	= 32,
19345 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
19346 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
19347 		.input	= "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
19348 			  "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
19349 			  "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
19350 			  "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
19351 			  "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
19352 			  "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
19353 			  "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
19354 			  "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
19355 			  "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
19356 			  "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
19357 			  "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
19358 			  "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
19359 			  "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
19360 			  "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
19361 			  "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
19362 			  "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
19363 			  "\x34\x4B\x31\x69\x84\x66\x96\x44"
19364 			  "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
19365 			  "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
19366 			  "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
19367 			  "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
19368 			  "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
19369 			  "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
19370 			  "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
19371 			  "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
19372 			  "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
19373 			  "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
19374 			  "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
19375 			  "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
19376 			  "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
19377 			  "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
19378 			  "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
19379 			  "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
19380 			  "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
19381 			  "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
19382 			  "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
19383 			  "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
19384 			  "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
19385 			  "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
19386 			  "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
19387 			  "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
19388 			  "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
19389 			  "\x85\x99\x22\xE8\x91\x38\x70\x83"
19390 			  "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
19391 			  "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
19392 			  "\x2F\x69\xEE\x84\x36\x44\x76\x98"
19393 			  "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
19394 			  "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
19395 			  "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
19396 			  "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
19397 			  "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
19398 			  "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
19399 			  "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
19400 			  "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
19401 			  "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
19402 			  "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
19403 			  "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
19404 			  "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
19405 			  "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
19406 			  "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
19407 			  "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
19408 			  "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
19409 		.ilen	= 496,
19410 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19411 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19412 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19413 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19414 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19415 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19416 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19417 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19418 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19419 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19420 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19421 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19422 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19423 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19424 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19425 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19426 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19427 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19428 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19429 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19430 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19431 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19432 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19433 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19434 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19435 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19436 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19437 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19438 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19439 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19440 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19441 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19442 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19443 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19444 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19445 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19446 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19447 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19448 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19449 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19450 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19451 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19452 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19453 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19454 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19455 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19456 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19457 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19458 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19459 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19460 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19461 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19462 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19463 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19464 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19465 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19466 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19467 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19468 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19469 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19470 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19471 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
19472 		.rlen	= 496,
19473 		.also_non_np = 1,
19474 		.np	= 3,
19475 		.tap	= { 496 - 20, 4, 16 },
19476 	}, { /* Generated with Crypto++ */
19477 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19478 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19479 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19480 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19481 		.klen	= 32,
19482 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19483 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
19484 		.input	= "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
19485 			  "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
19486 			  "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
19487 			  "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
19488 			  "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
19489 			  "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
19490 			  "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
19491 			  "\x75\xDE\x71\x86\x3C\x98\x23\x44"
19492 			  "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
19493 			  "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
19494 			  "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
19495 			  "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
19496 			  "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
19497 			  "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
19498 			  "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
19499 			  "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
19500 			  "\xA8\x28\x69\x65\x31\xE1\x45\x83"
19501 			  "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
19502 			  "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
19503 			  "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
19504 			  "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
19505 			  "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
19506 			  "\x45\x18\x18\x74\x19\xAD\x71\x01"
19507 			  "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
19508 			  "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
19509 			  "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
19510 			  "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
19511 			  "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
19512 			  "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
19513 			  "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
19514 			  "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
19515 			  "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
19516 			  "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
19517 			  "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
19518 			  "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
19519 			  "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
19520 			  "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
19521 			  "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
19522 			  "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
19523 			  "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
19524 			  "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
19525 			  "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
19526 			  "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
19527 			  "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
19528 			  "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
19529 			  "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
19530 			  "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
19531 			  "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
19532 			  "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
19533 			  "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
19534 			  "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
19535 			  "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
19536 			  "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
19537 			  "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
19538 			  "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
19539 			  "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
19540 			  "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
19541 			  "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
19542 			  "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
19543 			  "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
19544 			  "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
19545 			  "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
19546 			  "\xFB\xF2\x3F",
19547 		.ilen	= 499,
19548 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19549 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19550 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19551 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19552 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19553 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19554 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19555 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19556 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19557 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19558 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19559 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19560 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19561 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19562 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19563 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19564 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19565 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19566 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19567 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19568 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19569 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19570 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19571 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19572 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19573 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19574 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19575 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19576 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19577 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19578 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19579 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19580 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19581 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19582 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19583 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19584 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19585 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19586 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19587 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19588 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19589 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19590 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19591 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19592 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19593 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19594 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19595 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19596 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19597 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19598 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19599 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19600 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19601 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19602 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19603 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19604 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19605 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19606 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19607 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19608 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19609 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
19610 			  "\x7B\xE4\x4D",
19611 		.rlen	= 499,
19612 		.also_non_np = 1,
19613 		.np	= 2,
19614 		.tap	= { 499 - 16, 16 },
19615 	},
19616 };
19617 
19618 static struct cipher_testvec aes_ctr_rfc3686_enc_tv_template[] = {
19619 	{ /* From RFC 3686 */
19620 		.key	= "\xae\x68\x52\xf8\x12\x10\x67\xcc"
19621 			  "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
19622 			  "\x00\x00\x00\x30",
19623 		.klen	= 20,
19624 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
19625 		.input	= "Single block msg",
19626 		.ilen	= 16,
19627 		.result = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
19628 			  "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
19629 		.rlen	= 16,
19630 	}, {
19631 		.key	= "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
19632 			  "\x43\xd6\xce\x1f\x32\x53\x91\x63"
19633 			  "\x00\x6c\xb6\xdb",
19634 		.klen	= 20,
19635 		.iv	= "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
19636 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
19637 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19638 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19639 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19640 		.ilen	= 32,
19641 		.result = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
19642 			  "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
19643 			  "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
19644 			  "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
19645 		.rlen	= 32,
19646 	}, {
19647 		.key	= "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
19648 			  "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
19649 			  "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
19650 			  "\x00\x00\x00\x48",
19651 		.klen	= 28,
19652 		.iv	= "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
19653 		.input	= "Single block msg",
19654 		.ilen	= 16,
19655 		.result	= "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
19656 			  "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
19657 		.rlen	= 16,
19658 	}, {
19659 		.key	= "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
19660 			  "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
19661 			  "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
19662 			  "\x00\x96\xb0\x3b",
19663 		.klen	= 28,
19664 		.iv	= "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
19665 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
19666 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19667 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19668 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19669 		.ilen	= 32,
19670 		.result	= "\x45\x32\x43\xfc\x60\x9b\x23\x32"
19671 			  "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
19672 			  "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
19673 			  "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
19674 		.rlen	= 32,
19675 	}, {
19676 		.key	= "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
19677 			  "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
19678 			  "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
19679 			  "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
19680 			  "\x00\x00\x00\x60",
19681 		.klen	= 36,
19682 		.iv	= "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
19683 		.input	= "Single block msg",
19684 		.ilen	= 16,
19685 		.result = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
19686 			  "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
19687 		.rlen	= 16,
19688 	}, {
19689 		.key	= "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
19690 			  "\x07\x96\x36\x58\x79\xef\xf8\x86"
19691 			  "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
19692 			  "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
19693 			  "\x00\xfa\xac\x24",
19694 		.klen	= 36,
19695 		.iv	= "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
19696 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
19697 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19698 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19699 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19700 		.ilen	= 32,
19701 		.result = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
19702 			  "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
19703 			  "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
19704 			  "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
19705 		.rlen	= 32,
19706 	}, {
19707 	// generated using Crypto++
19708 		.key = "\x00\x01\x02\x03\x04\x05\x06\x07"
19709 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19710 			"\x10\x11\x12\x13\x14\x15\x16\x17"
19711 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19712 			"\x00\x00\x00\x00",
19713 		.klen = 32 + 4,
19714 		.iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
19715 		.input =
19716 			"\x00\x01\x02\x03\x04\x05\x06\x07"
19717 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19718 			"\x10\x11\x12\x13\x14\x15\x16\x17"
19719 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19720 			"\x20\x21\x22\x23\x24\x25\x26\x27"
19721 			"\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19722 			"\x30\x31\x32\x33\x34\x35\x36\x37"
19723 			"\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19724 			"\x40\x41\x42\x43\x44\x45\x46\x47"
19725 			"\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19726 			"\x50\x51\x52\x53\x54\x55\x56\x57"
19727 			"\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19728 			"\x60\x61\x62\x63\x64\x65\x66\x67"
19729 			"\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19730 			"\x70\x71\x72\x73\x74\x75\x76\x77"
19731 			"\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19732 			"\x80\x81\x82\x83\x84\x85\x86\x87"
19733 			"\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19734 			"\x90\x91\x92\x93\x94\x95\x96\x97"
19735 			"\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19736 			"\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19737 			"\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19738 			"\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19739 			"\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19740 			"\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19741 			"\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19742 			"\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19743 			"\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19744 			"\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19745 			"\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19746 			"\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19747 			"\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
19748 			"\x00\x03\x06\x09\x0c\x0f\x12\x15"
19749 			"\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
19750 			"\x30\x33\x36\x39\x3c\x3f\x42\x45"
19751 			"\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
19752 			"\x60\x63\x66\x69\x6c\x6f\x72\x75"
19753 			"\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
19754 			"\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
19755 			"\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
19756 			"\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
19757 			"\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
19758 			"\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
19759 			"\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
19760 			"\x20\x23\x26\x29\x2c\x2f\x32\x35"
19761 			"\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
19762 			"\x50\x53\x56\x59\x5c\x5f\x62\x65"
19763 			"\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
19764 			"\x80\x83\x86\x89\x8c\x8f\x92\x95"
19765 			"\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
19766 			"\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
19767 			"\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
19768 			"\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
19769 			"\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
19770 			"\x10\x13\x16\x19\x1c\x1f\x22\x25"
19771 			"\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
19772 			"\x40\x43\x46\x49\x4c\x4f\x52\x55"
19773 			"\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
19774 			"\x70\x73\x76\x79\x7c\x7f\x82\x85"
19775 			"\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
19776 			"\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
19777 			"\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
19778 			"\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
19779 			"\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
19780 			"\x00\x05\x0a\x0f\x14\x19\x1e\x23"
19781 			"\x28\x2d\x32\x37\x3c\x41\x46\x4b"
19782 			"\x50\x55\x5a\x5f\x64\x69\x6e\x73"
19783 			"\x78\x7d\x82\x87\x8c\x91\x96\x9b"
19784 			"\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
19785 			"\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
19786 			"\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
19787 			"\x18\x1d\x22\x27\x2c\x31\x36\x3b"
19788 			"\x40\x45\x4a\x4f\x54\x59\x5e\x63"
19789 			"\x68\x6d\x72\x77\x7c\x81\x86\x8b"
19790 			"\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
19791 			"\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
19792 			"\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
19793 			"\x08\x0d\x12\x17\x1c\x21\x26\x2b"
19794 			"\x30\x35\x3a\x3f\x44\x49\x4e\x53"
19795 			"\x58\x5d\x62\x67\x6c\x71\x76\x7b"
19796 			"\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
19797 			"\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
19798 			"\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
19799 			"\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
19800 			"\x20\x25\x2a\x2f\x34\x39\x3e\x43"
19801 			"\x48\x4d\x52\x57\x5c\x61\x66\x6b"
19802 			"\x70\x75\x7a\x7f\x84\x89\x8e\x93"
19803 			"\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
19804 			"\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
19805 			"\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
19806 			"\x10\x15\x1a\x1f\x24\x29\x2e\x33"
19807 			"\x38\x3d\x42\x47\x4c\x51\x56\x5b"
19808 			"\x60\x65\x6a\x6f\x74\x79\x7e\x83"
19809 			"\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
19810 			"\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
19811 			"\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
19812 			"\x00\x07\x0e\x15\x1c\x23\x2a\x31"
19813 			"\x38\x3f\x46\x4d\x54\x5b\x62\x69"
19814 			"\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
19815 			"\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
19816 			"\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
19817 			"\x18\x1f\x26\x2d\x34\x3b\x42\x49"
19818 			"\x50\x57\x5e\x65\x6c\x73\x7a\x81"
19819 			"\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
19820 			"\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
19821 			"\xf8\xff\x06\x0d\x14\x1b\x22\x29"
19822 			"\x30\x37\x3e\x45\x4c\x53\x5a\x61"
19823 			"\x68\x6f\x76\x7d\x84\x8b\x92\x99"
19824 			"\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
19825 			"\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
19826 			"\x10\x17\x1e\x25\x2c\x33\x3a\x41"
19827 			"\x48\x4f\x56\x5d\x64\x6b\x72\x79"
19828 			"\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
19829 			"\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
19830 			"\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
19831 			"\x28\x2f\x36\x3d\x44\x4b\x52\x59"
19832 			"\x60\x67\x6e\x75\x7c\x83\x8a\x91"
19833 			"\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
19834 			"\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
19835 			"\x08\x0f\x16\x1d\x24\x2b\x32\x39"
19836 			"\x40\x47\x4e\x55\x5c\x63\x6a\x71"
19837 			"\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
19838 			"\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
19839 			"\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
19840 			"\x20\x27\x2e\x35\x3c\x43\x4a\x51"
19841 			"\x58\x5f\x66\x6d\x74\x7b\x82\x89"
19842 			"\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
19843 			"\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
19844 			"\x00\x09\x12\x1b\x24\x2d\x36\x3f"
19845 			"\x48\x51\x5a\x63\x6c\x75\x7e\x87"
19846 			"\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
19847 			"\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
19848 			"\x20\x29\x32\x3b\x44\x4d\x56\x5f"
19849 			"\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
19850 			"\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
19851 			"\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
19852 			"\x40\x49\x52\x5b\x64\x6d\x76\x7f"
19853 			"\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
19854 			"\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
19855 			"\x18\x21\x2a\x33\x3c\x45\x4e\x57"
19856 			"\x60\x69\x72\x7b\x84\x8d\x96\x9f"
19857 			"\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
19858 			"\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
19859 			"\x38\x41\x4a\x53\x5c\x65\x6e\x77"
19860 			"\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
19861 			"\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
19862 			"\x10\x19\x22\x2b\x34\x3d\x46\x4f"
19863 			"\x58\x61\x6a\x73\x7c\x85\x8e\x97"
19864 			"\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
19865 			"\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
19866 			"\x30\x39\x42\x4b\x54\x5d\x66\x6f"
19867 			"\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
19868 			"\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
19869 			"\x08\x11\x1a\x23\x2c\x35\x3e\x47"
19870 			"\x50\x59\x62\x6b\x74\x7d\x86\x8f"
19871 			"\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
19872 			"\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
19873 			"\x28\x31\x3a\x43\x4c\x55\x5e\x67"
19874 			"\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
19875 			"\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
19876 			"\x00\x0b\x16\x21\x2c\x37\x42\x4d"
19877 			"\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
19878 			"\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
19879 			"\x08\x13\x1e\x29\x34\x3f\x4a\x55"
19880 			"\x60\x6b\x76\x81\x8c\x97\xa2\xad"
19881 			"\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
19882 			"\x10\x1b\x26\x31\x3c\x47\x52\x5d"
19883 			"\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
19884 			"\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
19885 			"\x18\x23\x2e\x39\x44\x4f\x5a\x65"
19886 			"\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
19887 			"\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
19888 			"\x20\x2b\x36\x41\x4c\x57\x62\x6d"
19889 			"\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
19890 			"\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
19891 			"\x28\x33\x3e\x49\x54\x5f\x6a\x75"
19892 			"\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
19893 			"\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
19894 			"\x30\x3b\x46\x51\x5c\x67\x72\x7d"
19895 			"\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
19896 			"\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
19897 			"\x38\x43\x4e\x59\x64\x6f\x7a\x85"
19898 			"\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
19899 			"\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
19900 			"\x40\x4b\x56\x61\x6c\x77\x82\x8d"
19901 			"\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
19902 			"\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
19903 			"\x48\x53\x5e\x69\x74\x7f\x8a\x95"
19904 			"\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
19905 			"\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
19906 			"\x50\x5b\x66\x71\x7c\x87\x92\x9d"
19907 			"\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
19908 			"\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
19909 			"\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
19910 			"\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
19911 			"\x38\x45\x52\x5f\x6c\x79\x86\x93"
19912 			"\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
19913 			"\x08\x15\x22\x2f\x3c\x49\x56\x63"
19914 			"\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
19915 			"\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
19916 			"\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
19917 			"\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
19918 			"\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
19919 			"\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
19920 			"\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
19921 			"\x48\x55\x62\x6f\x7c\x89\x96\xa3"
19922 			"\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
19923 			"\x18\x25\x32\x3f\x4c\x59\x66\x73"
19924 			"\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
19925 			"\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
19926 			"\x50\x5d\x6a\x77\x84\x91\x9e\xab"
19927 			"\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
19928 			"\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
19929 			"\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
19930 			"\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
19931 			"\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
19932 			"\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
19933 			"\x28\x35\x42\x4f\x5c\x69\x76\x83"
19934 			"\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
19935 			"\xf8\x05\x12\x1f\x2c\x39\x46\x53"
19936 			"\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
19937 			"\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
19938 			"\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
19939 			"\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
19940 			"\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
19941 			"\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
19942 			"\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
19943 			"\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
19944 			"\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
19945 			"\x58\x67\x76\x85\x94\xa3\xb2\xc1"
19946 			"\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
19947 			"\x48\x57\x66\x75\x84\x93\xa2\xb1"
19948 			"\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
19949 			"\x38\x47\x56\x65\x74\x83\x92\xa1"
19950 			"\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
19951 			"\x28\x37\x46\x55\x64\x73\x82\x91"
19952 			"\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
19953 			"\x18\x27\x36\x45\x54\x63\x72\x81"
19954 			"\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
19955 			"\x08\x17\x26\x35\x44\x53\x62\x71"
19956 			"\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
19957 			"\xf8\x07\x16\x25\x34\x43\x52\x61"
19958 			"\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
19959 			"\xe8\xf7\x06\x15\x24\x33\x42\x51"
19960 			"\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
19961 			"\xd8\xe7\xf6\x05\x14\x23\x32\x41"
19962 			"\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
19963 			"\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
19964 			"\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
19965 			"\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
19966 			"\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
19967 			"\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
19968 			"\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
19969 			"\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
19970 			"\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
19971 			"\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
19972 			"\x00\x11\x22\x33\x44\x55\x66\x77"
19973 			"\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
19974 			"\x10\x21\x32\x43\x54\x65\x76\x87"
19975 			"\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
19976 			"\x20\x31\x42\x53\x64\x75\x86\x97"
19977 			"\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
19978 			"\x30\x41\x52\x63\x74\x85\x96\xa7"
19979 			"\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
19980 			"\x40\x51\x62\x73\x84\x95\xa6\xb7"
19981 			"\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
19982 			"\x50\x61\x72\x83\x94\xa5\xb6\xc7"
19983 			"\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
19984 			"\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
19985 			"\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
19986 			"\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
19987 			"\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
19988 			"\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
19989 			"\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
19990 			"\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
19991 			"\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
19992 			"\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
19993 			"\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
19994 			"\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
19995 			"\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
19996 			"\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
19997 			"\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
19998 			"\xd0\xe1\xf2\x03\x14\x25\x36\x47"
19999 			"\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
20000 			"\xe0\xf1\x02\x13\x24\x35\x46\x57"
20001 			"\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
20002 			"\xf0\x01\x12\x23\x34\x45\x56\x67"
20003 			"\x78\x89\x9a\xab\xbc\xcd\xde\xef"
20004 			"\x00\x13\x26\x39\x4c\x5f\x72\x85"
20005 			"\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
20006 			"\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
20007 			"\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
20008 			"\x60\x73\x86\x99\xac\xbf\xd2\xe5"
20009 			"\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
20010 			"\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
20011 			"\x28\x3b\x4e\x61\x74\x87\x9a\xad"
20012 			"\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
20013 			"\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
20014 			"\xf0\x03\x16\x29\x3c\x4f\x62\x75"
20015 			"\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
20016 			"\x20\x33\x46\x59\x6c\x7f\x92\xa5"
20017 			"\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
20018 			"\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
20019 			"\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
20020 			"\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
20021 			"\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
20022 			"\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
20023 			"\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
20024 			"\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
20025 			"\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
20026 			"\x10\x23\x36\x49\x5c\x6f\x82\x95"
20027 			"\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
20028 			"\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
20029 			"\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
20030 			"\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
20031 			"\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
20032 			"\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
20033 			"\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
20034 			"\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
20035 			"\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
20036 			"\x00\x15\x2a\x3f\x54\x69\x7e\x93"
20037 			"\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
20038 			"\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
20039 			"\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
20040 			"\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
20041 			"\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
20042 			"\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
20043 			"\x98\xad\xc2\xd7\xec\x01\x16\x2b"
20044 			"\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
20045 			"\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
20046 			"\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
20047 			"\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
20048 			"\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
20049 			"\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
20050 			"\x30\x45\x5a\x6f\x84\x99\xae\xc3"
20051 			"\xd8\xed\x02\x17\x2c\x41\x56\x6b"
20052 			"\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
20053 			"\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
20054 			"\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
20055 			"\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
20056 			"\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
20057 			"\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
20058 			"\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
20059 			"\x18\x2d\x42\x57\x6c\x81\x96\xab"
20060 			"\xc0\xd5\xea\xff\x14\x29\x3e\x53"
20061 			"\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
20062 			"\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
20063 			"\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
20064 			"\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
20065 			"\x08\x1d\x32\x47\x5c\x71\x86\x9b"
20066 			"\xb0\xc5\xda\xef\x04\x19\x2e\x43"
20067 			"\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
20068 			"\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
20069 			"\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
20070 			"\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
20071 			"\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
20072 			"\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
20073 			"\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
20074 			"\x50\x67\x7e\x95\xac\xc3\xda\xf1"
20075 			"\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
20076 			"\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
20077 			"\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
20078 			"\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
20079 			"\xe8\xff\x16\x2d\x44\x5b\x72\x89"
20080 			"\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
20081 			"\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
20082 			"\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
20083 			"\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
20084 			"\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
20085 			"\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
20086 			"\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
20087 			"\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
20088 			"\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
20089 			"\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
20090 			"\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
20091 			"\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
20092 			"\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
20093 			"\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
20094 			"\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
20095 			"\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
20096 			"\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
20097 			"\xd8\xef\x06\x1d\x34\x4b\x62\x79"
20098 			"\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
20099 			"\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
20100 			"\x00\x19\x32\x4b\x64\x7d\x96\xaf"
20101 			"\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
20102 			"\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
20103 			"\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
20104 			"\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
20105 			"\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
20106 			"\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
20107 			"\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
20108 			"\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
20109 			"\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
20110 			"\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
20111 			"\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
20112 			"\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
20113 			"\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
20114 			"\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
20115 			"\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
20116 			"\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
20117 			"\x48\x61\x7a\x93\xac\xc5\xde\xf7"
20118 			"\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
20119 			"\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
20120 			"\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
20121 			"\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
20122 			"\x30\x49\x62\x7b\x94\xad\xc6\xdf"
20123 			"\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
20124 			"\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
20125 			"\x88\xa1\xba\xd3\xec\x05\x1e\x37"
20126 			"\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
20127 			"\x18\x31\x4a\x63\x7c\x95\xae\xc7"
20128 			"\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
20129 			"\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
20130 			"\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
20131 			"\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
20132 			"\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
20133 			"\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
20134 			"\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
20135 			"\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
20136 			"\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
20137 			"\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
20138 			"\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
20139 			"\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
20140 			"\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
20141 			"\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
20142 			"\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
20143 			"\x48\x63\x7e\x99\xb4\xcf\xea\x05"
20144 			"\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
20145 			"\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
20146 			"\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
20147 			"\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
20148 			"\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
20149 			"\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
20150 			"\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
20151 			"\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
20152 			"\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
20153 			"\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
20154 			"\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
20155 			"\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
20156 			"\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
20157 			"\x18\x33\x4e\x69\x84\x9f\xba\xd5"
20158 			"\xf0\x0b\x26\x41\x5c\x77\x92\xad"
20159 			"\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
20160 			"\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
20161 			"\x78\x93\xae\xc9\xe4\xff\x1a\x35"
20162 			"\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
20163 			"\x28\x43\x5e\x79\x94\xaf\xca\xe5"
20164 			"\x00\x1d\x3a\x57\x74\x91\xae\xcb"
20165 			"\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
20166 			"\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
20167 			"\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
20168 			"\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
20169 			"\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
20170 			"\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
20171 			"\x58\x75\x92\xaf\xcc\xe9\x06\x23"
20172 			"\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
20173 			"\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
20174 			"\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
20175 			"\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
20176 			"\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
20177 			"\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
20178 			"\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
20179 			"\x98\xb5\xd2\xef\x0c\x29\x46\x63"
20180 			"\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
20181 			"\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
20182 			"\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
20183 			"\x38\x55\x72\x8f\xac\xc9\xe6\x03"
20184 			"\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
20185 			"\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
20186 			"\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
20187 			"\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
20188 			"\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
20189 			"\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
20190 			"\x90\xad\xca\xe7\x04\x21\x3e\x5b"
20191 			"\x78\x95\xb2\xcf\xec\x09\x26\x43"
20192 			"\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
20193 			"\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
20194 			"\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
20195 			"\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
20196 			"\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
20197 			"\xf8\x17\x36\x55\x74\x93\xb2\xd1"
20198 			"\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
20199 			"\xe8\x07\x26\x45\x64\x83\xa2\xc1"
20200 			"\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
20201 			"\xd8\xf7\x16\x35\x54\x73\x92\xb1"
20202 			"\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
20203 			"\xc8\xe7\x06\x25\x44\x63\x82\xa1"
20204 			"\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
20205 			"\xb8\xd7\xf6\x15\x34\x53\x72\x91"
20206 			"\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
20207 			"\xa8\xc7\xe6\x05\x24\x43\x62\x81"
20208 			"\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
20209 			"\x98\xb7\xd6\xf5\x14\x33\x52\x71"
20210 			"\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
20211 			"\x88\xa7\xc6\xe5\x04\x23\x42\x61"
20212 			"\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
20213 			"\x78\x97\xb6\xd5\xf4\x13\x32\x51"
20214 			"\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
20215 			"\x68\x87\xa6\xc5\xe4\x03\x22\x41"
20216 			"\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
20217 			"\x58\x77\x96\xb5\xd4\xf3\x12\x31"
20218 			"\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
20219 			"\x48\x67\x86\xa5\xc4\xe3\x02\x21"
20220 			"\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
20221 			"\x38\x57\x76\x95\xb4\xd3\xf2\x11"
20222 			"\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
20223 			"\x28\x47\x66\x85\xa4\xc3\xe2\x01"
20224 			"\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
20225 			"\x18\x37\x56\x75\x94\xb3\xd2\xf1"
20226 			"\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
20227 			"\x08\x27\x46\x65\x84\xa3\xc2\xe1"
20228 			"\x00\x21\x42\x63",
20229 		.ilen = 4100,
20230 		.result =
20231 			"\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
20232 			"\xae\xff\x91\x3a\x44\xcf\x38\x32"
20233 			"\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
20234 			"\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
20235 			"\xf2\x62\x74\x70\x0c\xa4\x46\x08"
20236 			"\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
20237 			"\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
20238 			"\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
20239 			"\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
20240 			"\x18\xff\x75\x6d\x06\x2d\x00\xab"
20241 			"\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
20242 			"\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
20243 			"\x3d\x74\x54\xfa\x44\xcd\x23\x26"
20244 			"\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
20245 			"\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
20246 			"\x61\x00\x1c\x4f\xff\x59\xc4\x22"
20247 			"\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
20248 			"\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
20249 			"\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
20250 			"\x84\xff\x42\x60\xdc\x3a\x18\xa5"
20251 			"\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
20252 			"\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
20253 			"\x8f\xd3\x76\x96\xad\x49\x6d\x38"
20254 			"\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
20255 			"\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
20256 			"\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
20257 			"\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
20258 			"\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
20259 			"\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
20260 			"\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
20261 			"\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
20262 			"\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
20263 			"\x78\x6b\x01\xc9\xc7\x83\xba\x21"
20264 			"\x6a\x25\x15\x33\x4e\x45\x08\xec"
20265 			"\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
20266 			"\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
20267 			"\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
20268 			"\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
20269 			"\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
20270 			"\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
20271 			"\xc8\x53\x07\xaf\x80\x84\xec\xfd"
20272 			"\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
20273 			"\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
20274 			"\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
20275 			"\x06\x51\x48\x4e\xf6\x59\x87\xd2"
20276 			"\x04\x02\xef\xd3\x44\xde\x76\x31"
20277 			"\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
20278 			"\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
20279 			"\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
20280 			"\x65\x83\xd0\x3b\xe3\x30\xea\x94"
20281 			"\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
20282 			"\xb4\x01\xab\x36\x2c\x77\x13\xaf"
20283 			"\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
20284 			"\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
20285 			"\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
20286 			"\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
20287 			"\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
20288 			"\x93\x97\xc6\x48\x45\x1d\x9f\x83"
20289 			"\xdf\x4b\x40\x3e\x42\x25\x87\x80"
20290 			"\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
20291 			"\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
20292 			"\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
20293 			"\x32\x03\xed\xf0\x50\x1c\x56\x39"
20294 			"\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
20295 			"\x53\xfc\x2a\x38\x23\x15\x75\xcd"
20296 			"\x45\xe5\x5a\x82\x55\xba\x21\xfa"
20297 			"\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
20298 			"\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
20299 			"\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
20300 			"\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
20301 			"\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
20302 			"\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
20303 			"\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
20304 			"\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
20305 			"\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
20306 			"\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
20307 			"\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
20308 			"\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
20309 			"\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
20310 			"\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
20311 			"\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
20312 			"\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
20313 			"\x69\x3a\x29\x23\xac\x86\x32\xa5"
20314 			"\x48\x9c\x9e\xf3\x47\x77\x81\x70"
20315 			"\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
20316 			"\x59\x6a\xd3\x50\x59\x43\x59\xde"
20317 			"\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
20318 			"\x18\x34\x0d\x1a\x63\x33\xed\x10"
20319 			"\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
20320 			"\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
20321 			"\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
20322 			"\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
20323 			"\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
20324 			"\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
20325 			"\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
20326 			"\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
20327 			"\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
20328 			"\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
20329 			"\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
20330 			"\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
20331 			"\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
20332 			"\xe8\x99\x57\x8c\x11\xed\x66\xd9"
20333 			"\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
20334 			"\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
20335 			"\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
20336 			"\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
20337 			"\x64\x76\x38\x49\x4d\xfe\x30\x6d"
20338 			"\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
20339 			"\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
20340 			"\x28\xa2\x82\x1f\x61\x69\xad\xc1"
20341 			"\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
20342 			"\x51\xb5\x17\x7f\x12\x69\x8c\x24"
20343 			"\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
20344 			"\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
20345 			"\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
20346 			"\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
20347 			"\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
20348 			"\x4d\x29\x77\x53\x35\x6a\x00\x8d"
20349 			"\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
20350 			"\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
20351 			"\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
20352 			"\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
20353 			"\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
20354 			"\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
20355 			"\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
20356 			"\x26\x39\x83\x94\xef\x27\xd8\x53"
20357 			"\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
20358 			"\x43\x7c\x95\x0a\x53\xef\x66\xda"
20359 			"\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
20360 			"\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
20361 			"\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
20362 			"\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
20363 			"\x88\xee\x73\xcf\x66\x2f\x52\x56"
20364 			"\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
20365 			"\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
20366 			"\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
20367 			"\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
20368 			"\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
20369 			"\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
20370 			"\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
20371 			"\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
20372 			"\xba\x61\x34\x38\x7c\xda\x48\x3e"
20373 			"\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
20374 			"\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
20375 			"\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
20376 			"\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
20377 			"\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
20378 			"\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
20379 			"\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
20380 			"\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
20381 			"\x35\x12\xe3\x36\x28\x27\x36\x58"
20382 			"\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
20383 			"\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
20384 			"\x2b\x9f\x96\x00\x86\x60\xf0\x21"
20385 			"\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
20386 			"\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
20387 			"\x9d\x62\x79\x58\x52\xe6\x65\xb7"
20388 			"\xab\x55\x67\x9c\x89\x7c\x03\xb0"
20389 			"\x73\x59\xc5\x81\xf5\x18\x17\x5c"
20390 			"\x89\xf3\x78\x35\x44\x62\x78\x72"
20391 			"\xd0\x96\xeb\x31\xe7\x87\x77\x14"
20392 			"\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
20393 			"\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
20394 			"\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
20395 			"\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
20396 			"\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
20397 			"\xfb\x79\x2e\x04\x2d\x50\x28\x83"
20398 			"\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
20399 			"\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
20400 			"\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
20401 			"\xd2\x49\x77\x81\x6d\x90\x70\xae"
20402 			"\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
20403 			"\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
20404 			"\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
20405 			"\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
20406 			"\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
20407 			"\x45\x42\x27\x75\x50\xe5\xee\xb8"
20408 			"\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
20409 			"\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
20410 			"\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
20411 			"\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
20412 			"\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
20413 			"\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
20414 			"\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
20415 			"\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
20416 			"\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
20417 			"\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
20418 			"\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
20419 			"\xa9\x21\x2b\x92\x94\x87\x62\x57"
20420 			"\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
20421 			"\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
20422 			"\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
20423 			"\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
20424 			"\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
20425 			"\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
20426 			"\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
20427 			"\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
20428 			"\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
20429 			"\x69\x34\x78\x61\x24\x21\x9c\x8a"
20430 			"\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
20431 			"\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
20432 			"\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
20433 			"\x8a\x59\x94\x3c\xcf\x36\x27\x82"
20434 			"\xc2\x45\xee\x58\xcd\x88\xb4\xec"
20435 			"\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
20436 			"\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
20437 			"\xb1\x95\x28\x86\x20\xe9\x17\x49"
20438 			"\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
20439 			"\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
20440 			"\xdb\x7c\x73\x10\xb9\xba\x89\x76"
20441 			"\x54\xae\x7d\x71\xb3\x93\xf6\x32"
20442 			"\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
20443 			"\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
20444 			"\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
20445 			"\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
20446 			"\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
20447 			"\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
20448 			"\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
20449 			"\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
20450 			"\x79\x00\xa8\x6c\x29\xd9\x18\x24"
20451 			"\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
20452 			"\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
20453 			"\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
20454 			"\x26\x2c\x39\x52\x89\x98\xe7\x2c"
20455 			"\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
20456 			"\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
20457 			"\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
20458 			"\x32\x4d\xed\xab\xfa\x98\x14\x4e"
20459 			"\xc3\x15\x45\x53\x61\xc4\x93\xbd"
20460 			"\x90\xf4\x99\x95\x4c\xe6\x76\x92"
20461 			"\x29\x90\x46\x30\x92\x69\x7d\x13"
20462 			"\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
20463 			"\x63\x40\x36\x5f\x09\xe2\x78\xf8"
20464 			"\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
20465 			"\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
20466 			"\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
20467 			"\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
20468 			"\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
20469 			"\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
20470 			"\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
20471 			"\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
20472 			"\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
20473 			"\x05\xc4\xa6\x96\xec\x05\x98\x4f"
20474 			"\x96\x67\x57\x1f\x20\x86\x1b\x2d"
20475 			"\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
20476 			"\x88\x26\x2c\x67\x02\x4b\x52\xd0"
20477 			"\x83\x7a\x43\x1f\xc0\x71\x15\x25"
20478 			"\x77\x65\x08\x60\x11\x76\x4c\x8d"
20479 			"\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
20480 			"\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
20481 			"\x03\xd1\x24\x95\xec\x6d\xab\x38"
20482 			"\x72\xce\xe2\x8b\x33\xd7\x51\x09"
20483 			"\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
20484 			"\x84\xdc\x73\x73\x2d\x1b\x11\x98"
20485 			"\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
20486 			"\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
20487 			"\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
20488 			"\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
20489 			"\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
20490 			"\x62\x8f\x7a\x73\x32\xab\xc8\x18"
20491 			"\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
20492 			"\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
20493 			"\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
20494 			"\xde\x39\xa4\x01\x72\x63\xf3\xd1"
20495 			"\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
20496 			"\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
20497 			"\x16\xf7\xcd\x92\x9a\x99\x30\x14"
20498 			"\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
20499 			"\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
20500 			"\xe5\x79\x81\x73\xcd\x43\x59\x68"
20501 			"\x73\x02\x3b\x78\x21\x72\x43\x00"
20502 			"\x49\x17\xf7\x00\xaf\x68\x24\x53"
20503 			"\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
20504 			"\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
20505 			"\x11\x94\x13\x69\x51\x09\x28\xde"
20506 			"\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
20507 			"\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
20508 			"\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
20509 			"\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
20510 			"\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
20511 			"\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
20512 			"\x62\x03\x43\xf1\x87\xb4\xb0\x85"
20513 			"\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
20514 			"\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
20515 			"\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
20516 			"\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
20517 			"\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
20518 			"\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
20519 			"\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
20520 			"\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
20521 			"\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
20522 			"\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
20523 			"\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
20524 			"\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
20525 			"\x69\xdc\xab\x24\x57\x60\x47\xc1"
20526 			"\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
20527 			"\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
20528 			"\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
20529 			"\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
20530 			"\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
20531 			"\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
20532 			"\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
20533 			"\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
20534 			"\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
20535 			"\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
20536 			"\x63\x19\x3d\xd5\xec\x1b\x77\x69"
20537 			"\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
20538 			"\x85\x62\x82\x70\x18\xe2\x9a\x78"
20539 			"\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
20540 			"\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
20541 			"\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
20542 			"\x35\xf3\x61\x06\x72\x84\xc4\x32"
20543 			"\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
20544 			"\x04\xc2\xde\x57\x64\x60\x8d\xcf"
20545 			"\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
20546 			"\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
20547 			"\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
20548 			"\xb3\x71\xa0\xde\xca\x96\xf1\x78"
20549 			"\x49\xa2\x99\x81\x80\x5c\x01\xf5"
20550 			"\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
20551 			"\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
20552 			"\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
20553 			"\x4f\x73\x38\x09\x75\x64\x48\xe0"
20554 			"\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
20555 			"\xfe\x16\x26\x62\x49\x74\xf4\xb0"
20556 			"\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
20557 			"\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
20558 			"\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
20559 			"\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
20560 			"\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
20561 			"\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
20562 			"\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
20563 			"\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
20564 			"\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
20565 			"\xef\xa0\x54\xe4\x5e\x16\x53\x81"
20566 			"\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
20567 			"\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
20568 			"\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
20569 			"\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
20570 			"\x53\x5d\x86\xd6\xde\x65\xca\xe3"
20571 			"\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
20572 			"\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
20573 			"\x37\x7a\x93\x7a\x50\x11\x9f\x96"
20574 			"\x86\x25\xfd\xac\xdc\xbe\x18\x93"
20575 			"\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
20576 			"\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
20577 			"\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
20578 			"\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
20579 			"\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
20580 			"\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
20581 			"\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
20582 			"\xce\x4d\x5f\x18\x60\xce\x87\x22"
20583 			"\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
20584 			"\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
20585 			"\x32\xd8\xaf\x1e\x07\x77\x51\x96"
20586 			"\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
20587 			"\xea\x17\x0b\x10\xd2\x3f\x28\x25"
20588 			"\x4f\x05\x77\x02\x14\x69\xf0\x2c"
20589 			"\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
20590 			"\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
20591 			"\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
20592 			"\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
20593 			"\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
20594 			"\x64\xc0\x64\xda\xb1\xae\xdd\x60"
20595 			"\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
20596 			"\x92\x61\xd0\x48\x81\xed\x5e\x1d"
20597 			"\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
20598 			"\x7f\x83\x73\xb6\x70\x18\x65\x3e"
20599 			"\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
20600 			"\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
20601 			"\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
20602 			"\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
20603 			"\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
20604 			"\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
20605 			"\xa7\x22\xec\xe2\x7e\x29\x09\x53"
20606 			"\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
20607 			"\xce\x54\xf9\x18\x58\xb5\xff\x44"
20608 			"\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
20609 			"\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
20610 			"\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
20611 			"\xff\xfd\xb0\x21\x6e\x57\x05\x75"
20612 			"\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
20613 			"\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
20614 			"\x80\x8c\xc8\x78\x40\x24\x4b\x89"
20615 			"\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
20616 			"\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
20617 			"\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
20618 			"\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
20619 			"\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
20620 			"\x0c\xd6\x04\x14\xde\x51\x74\x75"
20621 			"\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
20622 			"\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
20623 			"\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
20624 			"\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
20625 			"\x75\x46\x65\x4e\x07\x34\x37\xa3"
20626 			"\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
20627 			"\x69\x24\x0e\x38\x67\x43\x8c\xde"
20628 			"\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
20629 			"\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
20630 			"\x64\xb1\xdb\xee\x00\x50\x77\xe1"
20631 			"\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
20632 			"\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
20633 			"\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
20634 			"\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
20635 			"\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
20636 			"\x91\x7d\x62\x64\x96\x72\xde\xfc"
20637 			"\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
20638 			"\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
20639 			"\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
20640 			"\x98\x81\x84\x4f\x15\x5c\x76\xe7"
20641 			"\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
20642 			"\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
20643 			"\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
20644 			"\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
20645 			"\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
20646 			"\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
20647 			"\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
20648 			"\xb1\xb2\x52\x94\x75\x2c\x29\x59"
20649 			"\x06\xc2\x25\xe8\x71\x65\x4e\xed"
20650 			"\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
20651 			"\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
20652 			"\xe0\x50\x40\x96\x35\x63\xe4\x0b"
20653 			"\x76\xbd\xa4\x65\x00\x1b\x57\x88"
20654 			"\xae\xed\x39\x88\x42\x11\x3c\xed"
20655 			"\x85\x67\x7d\xb9\x68\x82\xe9\x43"
20656 			"\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
20657 			"\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
20658 			"\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
20659 			"\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
20660 			"\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
20661 			"\xce\x20\x56\x32\xc6\xc5\x99\x1f"
20662 			"\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
20663 			"\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
20664 			"\x66\xf8\x3d\x18\x74\x70\x66\x7a"
20665 			"\x34\x17\xde\xba\x47\xf1\x06\x18"
20666 			"\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
20667 			"\xe0\x3b\x78\x62\x66\xc9\x10\xea"
20668 			"\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
20669 			"\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
20670 			"\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
20671 			"\x63\x4f\x20\x0c\x07\x17\x33\x5e"
20672 			"\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
20673 			"\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
20674 			"\x58\xef\x15\xa9\x83\xd9\x46\xb1"
20675 			"\x42\xaa\xf5\x02\x6c\xce\x92\x06"
20676 			"\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
20677 			"\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
20678 			"\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
20679 			"\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
20680 			"\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
20681 			"\xb6\x67\xc7\x77\xed\x23\xef\x4c"
20682 			"\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
20683 			"\x34\x37\x08\xab\xd9\x1f\x09\xb1"
20684 			"\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
20685 			"\x2c\x56\x39\x79\x0f\x69\x44\x75"
20686 			"\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
20687 			"\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
20688 			"\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
20689 			"\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
20690 			"\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
20691 			"\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
20692 			"\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
20693 			"\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
20694 			"\x63\x9b\xce\x61\x24\x79\xc0\x70"
20695 			"\x52\xd0\xb6\xd4\x28\x95\x24\x87"
20696 			"\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
20697 			"\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
20698 			"\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
20699 			"\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
20700 			"\x74\x56\x58\x40\x02\x37\x52\x2c"
20701 			"\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
20702 			"\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
20703 			"\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
20704 			"\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
20705 			"\x24\x90\xec\x58\xd2\x09\xc7\x2d"
20706 			"\xed\x38\x80\x36\x72\x43\x27\x49"
20707 			"\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
20708 			"\x7d\xb6\x82\x37\x86\x92\x86\x3e"
20709 			"\x08\xb2\x28\x5a\x55\x44\x24\x7d"
20710 			"\x40\x48\x8a\xb6\x89\x58\x08\xa0"
20711 			"\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
20712 			"\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
20713 			"\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
20714 			"\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
20715 			"\x14\x32\x45\x05\xe0\xdb\x9f\x75"
20716 			"\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
20717 			"\x12\xee\x30\xfe\xd8\x30\xef\x34"
20718 			"\x50\xab\x46\x30\x98\x2f\xb7\xc0"
20719 			"\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
20720 			"\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
20721 			"\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
20722 			"\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
20723 			"\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
20724 			"\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
20725 			"\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
20726 			"\x02\x9d\x27\x1f\xef\x85\x05\x8d"
20727 			"\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
20728 			"\xa1\x75\xa0\xd8\x06\x47\x14\xef"
20729 			"\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
20730 			"\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
20731 			"\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
20732 			"\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
20733 			"\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
20734 			"\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
20735 			"\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
20736 			"\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
20737 			"\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
20738 			"\x44\x12\xfb\x73\x77\xd4\x13\x39"
20739 			"\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
20740 			"\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
20741 			"\x41\x01\x18\x5d\x5d\x07\x97\xa6"
20742 			"\x4b\xef\x31\x18\xea\xac\xb1\x84"
20743 			"\x21\xed\xda\x86",
20744 		.rlen = 4100,
20745 		.np	= 2,
20746 		.tap	= { 4064, 36 },
20747 	},
20748 };
20749 
20750 static struct cipher_testvec aes_ctr_rfc3686_dec_tv_template[] = {
20751 	{ /* From RFC 3686 */
20752 		.key	= "\xae\x68\x52\xf8\x12\x10\x67\xcc"
20753 			  "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
20754 			  "\x00\x00\x00\x30",
20755 		.klen	= 20,
20756 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
20757 		.input	= "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
20758 			  "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
20759 		.ilen	= 16,
20760 		.result	= "Single block msg",
20761 		.rlen	= 16,
20762 	}, {
20763 		.key	= "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
20764 			  "\x43\xd6\xce\x1f\x32\x53\x91\x63"
20765 			  "\x00\x6c\xb6\xdb",
20766 		.klen	= 20,
20767 		.iv	= "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
20768 		.input	= "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
20769 			  "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
20770 			  "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
20771 			  "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
20772 		.ilen	= 32,
20773 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
20774 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20775 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
20776 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20777 		.rlen	= 32,
20778 	}, {
20779 		.key	= "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
20780 			  "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
20781 			  "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
20782 			  "\x00\x00\x00\x48",
20783 		.klen	= 28,
20784 		.iv	= "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
20785 		.input	= "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
20786 			  "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
20787 		.ilen	= 16,
20788 		.result	= "Single block msg",
20789 		.rlen	= 16,
20790 	}, {
20791 		.key	= "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
20792 			  "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
20793 			  "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
20794 			  "\x00\x96\xb0\x3b",
20795 		.klen	= 28,
20796 		.iv	= "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
20797 		.input	= "\x45\x32\x43\xfc\x60\x9b\x23\x32"
20798 			  "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
20799 			  "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
20800 			  "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
20801 		.ilen	= 32,
20802 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
20803 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20804 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
20805 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20806 		.rlen	= 32,
20807 	}, {
20808 		.key	= "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
20809 			  "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
20810 			  "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
20811 			  "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
20812 			  "\x00\x00\x00\x60",
20813 		.klen	= 36,
20814 		.iv	= "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
20815 		.input	= "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
20816 			  "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
20817 		.ilen	= 16,
20818 		.result	= "Single block msg",
20819 		.rlen	= 16,
20820 	}, {
20821 		.key	= "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
20822 			  "\x07\x96\x36\x58\x79\xef\xf8\x86"
20823 			  "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
20824 			  "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
20825 			  "\x00\xfa\xac\x24",
20826 		.klen	= 36,
20827 		.iv	= "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
20828 		.input	= "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
20829 			  "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
20830 			  "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
20831 			  "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
20832 		.ilen	= 32,
20833 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
20834 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20835 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
20836 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20837 		.rlen	= 32,
20838 	},
20839 };
20840 
20841 static struct cipher_testvec aes_ofb_enc_tv_template[] = {
20842 	 /* From NIST Special Publication 800-38A, Appendix F.5 */
20843 	{
20844 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
20845 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
20846 		.klen	= 16,
20847 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
20848 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
20849 		.input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
20850 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
20851 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
20852 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
20853 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
20854 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
20855 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
20856 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
20857 		.ilen	= 64,
20858 		.result = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
20859 			  "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
20860 			  "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
20861 			  "\x3c\x52\xda\xc5\x4e\xd8\x25"
20862 			  "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
20863 			  "\x44\xf7\xa8\x22\x60\xed\xcc"
20864 			  "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
20865 			  "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
20866 		.rlen	= 64,
20867 	}
20868 };
20869 
20870 static struct cipher_testvec aes_ofb_dec_tv_template[] = {
20871 	 /* From NIST Special Publication 800-38A, Appendix F.5 */
20872 	{
20873 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
20874 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
20875 		.klen	= 16,
20876 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
20877 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
20878 		.input = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
20879 			  "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
20880 			  "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
20881 			  "\x3c\x52\xda\xc5\x4e\xd8\x25"
20882 			  "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
20883 			  "\x44\xf7\xa8\x22\x60\xed\xcc"
20884 			  "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
20885 			  "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
20886 		.ilen	= 64,
20887 		.result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
20888 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
20889 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
20890 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
20891 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
20892 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
20893 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
20894 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
20895 		.rlen	= 64,
20896 	}
20897 };
20898 
20899 static struct aead_testvec aes_gcm_enc_tv_template[] = {
20900 	{ /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
20901 		.key    = zeroed_string,
20902 		.klen	= 16,
20903 		.result	= "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
20904 			  "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
20905 		.rlen	= 16,
20906 	}, {
20907 		.key    = zeroed_string,
20908 		.klen	= 16,
20909 		.input  = zeroed_string,
20910 		.ilen	= 16,
20911 		.result = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
20912 			  "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
20913 			  "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
20914 			  "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
20915 		.rlen	= 32,
20916 	}, {
20917 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20918 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20919 		.klen	= 16,
20920 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20921 			  "\xde\xca\xf8\x88",
20922 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20923 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20924 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20925 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20926 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20927 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20928 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20929 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20930 		.ilen	= 64,
20931 		.result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20932 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20933 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20934 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20935 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20936 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
20937 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
20938 			  "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
20939 			  "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
20940 			  "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
20941 		.rlen	= 80,
20942 	}, {
20943 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20944 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20945 		.klen	= 16,
20946 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20947 			  "\xde\xca\xf8\x88",
20948 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20949 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20950 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20951 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20952 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20953 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20954 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20955 			  "\xba\x63\x7b\x39",
20956 		.ilen	= 60,
20957 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20958 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20959 			  "\xab\xad\xda\xd2",
20960 		.alen	= 20,
20961 		.result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20962 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20963 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20964 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20965 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20966 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
20967 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
20968 			  "\x3d\x58\xe0\x91"
20969 			  "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
20970 			  "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
20971 		.rlen	= 76,
20972 	}, {
20973 		.key    = zeroed_string,
20974 		.klen	= 24,
20975 		.result	= "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
20976 			  "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
20977 		.rlen	= 16,
20978 	}, {
20979 		.key    = zeroed_string,
20980 		.klen	= 24,
20981 		.input  = zeroed_string,
20982 		.ilen	= 16,
20983 		.result = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
20984 			  "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
20985 			  "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
20986 			  "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
20987 		.rlen	= 32,
20988 	}, {
20989 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20990 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20991 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
20992 		.klen	= 24,
20993 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20994 			  "\xde\xca\xf8\x88",
20995 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20996 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20997 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20998 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20999 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21000 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21001 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21002 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21003 		.ilen	= 64,
21004 		.result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21005 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21006 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21007 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21008 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21009 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21010 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21011 			  "\xcc\xda\x27\x10\xac\xad\xe2\x56"
21012 			  "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
21013 			  "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
21014 		.rlen	= 80,
21015 	}, {
21016 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21017 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21018 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21019 		.klen	= 24,
21020 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21021 			  "\xde\xca\xf8\x88",
21022 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21023 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21024 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21025 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21026 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21027 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21028 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21029 			  "\xba\x63\x7b\x39",
21030 		.ilen	= 60,
21031 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21032 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21033 			  "\xab\xad\xda\xd2",
21034 		.alen	= 20,
21035 		.result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21036 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21037 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21038 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21039 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21040 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21041 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21042 			  "\xcc\xda\x27\x10"
21043 			  "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
21044 			  "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
21045 		.rlen	= 76,
21046 		.np	= 2,
21047 		.tap	= { 32, 28 },
21048 		.anp	= 2,
21049 		.atap	= { 8, 12 }
21050 	}, {
21051 		.key    = zeroed_string,
21052 		.klen	= 32,
21053 		.result	= "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
21054 			  "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
21055 		.rlen	= 16,
21056 	}
21057 };
21058 
21059 static struct aead_testvec aes_gcm_dec_tv_template[] = {
21060 	{ /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
21061 		.key    = zeroed_string,
21062 		.klen	= 32,
21063 		.input	= "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
21064 			  "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
21065 			  "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
21066 			  "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
21067 		.ilen	= 32,
21068 		.result  = zeroed_string,
21069 		.rlen	= 16,
21070 	}, {
21071 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21072 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21073 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21074 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21075 		.klen	= 32,
21076 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21077 			  "\xde\xca\xf8\x88",
21078 		.input	= "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
21079 			  "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
21080 			  "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
21081 			  "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
21082 			  "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
21083 			  "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
21084 			  "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
21085 			  "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
21086 			  "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
21087 			  "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
21088 		.ilen	= 80,
21089 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21090 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21091 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21092 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21093 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21094 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21095 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21096 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21097 		.rlen	= 64,
21098 	}, {
21099 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21100 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21101 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21102 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21103 		.klen	= 32,
21104 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21105 			  "\xde\xca\xf8\x88",
21106 		.input	= "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
21107 			  "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
21108 			  "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
21109 			  "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
21110 			  "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
21111 			  "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
21112 			  "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
21113 			  "\xbc\xc9\xf6\x62"
21114 			  "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
21115 			  "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
21116 		.ilen	= 76,
21117 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21118 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21119 			  "\xab\xad\xda\xd2",
21120 		.alen	= 20,
21121 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21122 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21123 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21124 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21125 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21126 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21127 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21128 			  "\xba\x63\x7b\x39",
21129 		.rlen	= 60,
21130 		.np     = 2,
21131 		.tap    = { 48, 28 },
21132 		.anp	= 3,
21133 		.atap	= { 8, 8, 4 }
21134 	}, {
21135 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21136 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21137 		.klen	= 16,
21138 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21139 			  "\xde\xca\xf8\x88",
21140 		.input	= "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21141 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21142 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21143 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21144 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21145 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21146 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21147 			  "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
21148 			  "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
21149 			  "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
21150 		.ilen	= 80,
21151 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21152 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21153 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21154 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21155 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21156 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21157 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21158 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21159 		.rlen	= 64,
21160 	}, {
21161 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21162 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21163 		.klen	= 16,
21164 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21165 			  "\xde\xca\xf8\x88",
21166 		.input	= "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21167 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21168 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21169 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21170 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21171 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21172 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21173 			  "\x3d\x58\xe0\x91"
21174 			  "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
21175 			  "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
21176 		.ilen	= 76,
21177 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21178 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21179 			  "\xab\xad\xda\xd2",
21180 		.alen	= 20,
21181 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21182 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21183 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21184 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21185 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21186 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21187 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21188 			  "\xba\x63\x7b\x39",
21189 		.rlen	= 60,
21190 	}, {
21191 		.key    = zeroed_string,
21192 		.klen	= 24,
21193 		.input	= "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
21194 			  "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
21195 			  "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
21196 			  "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
21197 		.ilen	= 32,
21198 		.result  = zeroed_string,
21199 		.rlen	= 16,
21200 	}, {
21201 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21202 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21203 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21204 		.klen	= 24,
21205 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21206 			  "\xde\xca\xf8\x88",
21207 		.input	= "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21208 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21209 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21210 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21211 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21212 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21213 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21214 			  "\xcc\xda\x27\x10\xac\xad\xe2\x56"
21215 			  "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
21216 			  "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
21217 		.ilen	= 80,
21218 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21219 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21220 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21221 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21222 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21223 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21224 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21225 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21226 		.rlen	= 64,
21227 	}, {
21228 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21229 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21230 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21231 		.klen	= 24,
21232 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21233 			  "\xde\xca\xf8\x88",
21234 		.input	= "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21235 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21236 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21237 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21238 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21239 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21240 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21241 			  "\xcc\xda\x27\x10"
21242 			  "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
21243 			  "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
21244 		.ilen	= 76,
21245 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21246 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21247 			  "\xab\xad\xda\xd2",
21248 		.alen	= 20,
21249 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21250 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21251 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21252 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21253 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21254 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21255 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21256 			  "\xba\x63\x7b\x39",
21257 		.rlen	= 60,
21258 	}
21259 };
21260 
21261 static struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
21262 	{ /* Generated using Crypto++ */
21263 		.key    = zeroed_string,
21264 		.klen	= 20,
21265 		.iv	= zeroed_string,
21266 		.input  = zeroed_string,
21267 		.ilen   = 16,
21268 		.assoc  = zeroed_string,
21269 		.alen   = 16,
21270 		.result	= "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
21271 			  "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
21272 			  "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
21273 			  "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
21274 		.rlen	= 32,
21275 	},{
21276 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21277 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21278 			  "\x00\x00\x00\x00",
21279 		.klen	= 20,
21280 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21281 		.input  = zeroed_string,
21282 		.ilen   = 16,
21283 		.assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
21284 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21285 		.alen   = 16,
21286 		.result	= "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
21287 			  "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
21288 			  "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
21289 			  "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
21290 		.rlen	= 32,
21291 
21292 	}, {
21293 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21294 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21295 			  "\x00\x00\x00\x00",
21296 		.klen	= 20,
21297 		.iv     = zeroed_string,
21298 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21299 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21300 		.ilen   = 16,
21301 		.assoc  = zeroed_string,
21302 		.alen   = 16,
21303 		.result	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21304 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21305 			  "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
21306 			  "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
21307 		.rlen	= 32,
21308 	}, {
21309 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21310 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21311 			  "\x00\x00\x00\x00",
21312 		.klen	= 20,
21313 		.iv     = zeroed_string,
21314 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21315 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21316 		.ilen   = 16,
21317 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21318 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
21319 		.alen   = 16,
21320 		.result	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21321 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21322 			  "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
21323 			  "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
21324 		.rlen	= 32,
21325 	}, {
21326 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21327 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21328 			  "\x00\x00\x00\x00",
21329 		.klen	= 20,
21330 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21331 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21332 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21333 		.ilen   = 16,
21334 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21335 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21336 		.alen   = 16,
21337 		.result	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21338 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21339 			  "\x64\x50\xF9\x32\x13\xFB\x74\x61"
21340 			  "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
21341 		.rlen	= 32,
21342 	}, {
21343 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21344 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21345 			  "\x00\x00\x00\x00",
21346 		.klen	= 20,
21347 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21348 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21349 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21350 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21351 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21352 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21353 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21354 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21355 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21356 		.ilen   = 64,
21357 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21358 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21359 		.alen   = 16,
21360 		.result	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21361 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21362 			  "\x98\x14\xA1\x42\x37\x80\xFD\x90"
21363 			  "\x68\x12\x01\xA8\x91\x89\xB9\x83"
21364 			  "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
21365 			  "\x94\x5F\x18\x12\xBA\x27\x09\x39"
21366 			  "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
21367 			  "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
21368 			  "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
21369 			  "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
21370 		.rlen	= 80,
21371 	}, {
21372 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
21373 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21374 			  "\x00\x00\x00\x00",
21375 		.klen	= 20,
21376 		.iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
21377 		.input  = "\xff\xff\xff\xff\xff\xff\xff\xff"
21378 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21379 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21380 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21381 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21382 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21383 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21384 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21385 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21386 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21387 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21388 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21389 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21390 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21391 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21392 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21393 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21394 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21395 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21396 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21397 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21398 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21399 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21400 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
21401 		.ilen   = 192,
21402 		.assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
21403 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
21404 			  "\x89\xab\xcd\xef",
21405 		.alen   = 20,
21406 		.result	= "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
21407 			  "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
21408 			  "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
21409 			  "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
21410 			  "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
21411 			  "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
21412 			  "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
21413 			  "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
21414 			  "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
21415 			  "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
21416 			  "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
21417 			  "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
21418 			  "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
21419 			  "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
21420 			  "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
21421 			  "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
21422 			  "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
21423 			  "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
21424 			  "\x7E\x13\x06\x82\x08\x17\xA4\x35"
21425 			  "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
21426 			  "\xA3\x05\x38\x95\x20\x1A\x47\x04"
21427 			  "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
21428 			  "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
21429 			  "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
21430 			  "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
21431 			  "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
21432 		.rlen	= 208,
21433 	}, { /* From draft-mcgrew-gcm-test-01 */
21434 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21435 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21436 			  "\x2E\x44\x3B\x68",
21437 		.klen	= 20,
21438 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
21439 		.input	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
21440 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
21441 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
21442 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
21443 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
21444 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
21445 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
21446 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
21447 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
21448 		.ilen	= 72,
21449 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
21450 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
21451 			  "\x3B\x24\x4C\xFE",
21452 		.alen	= 20,
21453 		.result	= "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
21454 			  "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
21455 			  "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
21456 			  "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
21457 			  "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
21458 			  "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
21459 			  "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
21460 			  "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
21461 			  "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
21462 			  "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
21463 			  "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
21464 		.rlen	= 88,
21465 	}, {
21466 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21467 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21468 			  "\xCA\xFE\xBA\xBE",
21469 		.klen	= 20,
21470 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21471 		.input	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
21472 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
21473 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
21474 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
21475 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
21476 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
21477 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
21478 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
21479 		.ilen	= 64,
21480 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21481 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21482 		.alen	= 16,
21483 		.result	= "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
21484 			  "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
21485 			  "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
21486 			  "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
21487 			  "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
21488 			  "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
21489 			  "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
21490 			  "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
21491 			  "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
21492 			  "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
21493 		.rlen	= 80,
21494 	}, {
21495 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21496 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21497 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21498 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21499 			  "\x11\x22\x33\x44",
21500 		.klen	= 36,
21501 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
21502 		.input	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
21503 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
21504 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
21505 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
21506 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
21507 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
21508 			  "\x01\x02\x02\x01",
21509 		.ilen	= 52,
21510 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
21511 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
21512 		.alen	= 16,
21513 		.result	= "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
21514 			  "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
21515 			  "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
21516 			  "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
21517 			  "\x74\x8A\x63\x79\x85\x77\x1D\x34"
21518 			  "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
21519 			  "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
21520 			  "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
21521 			  "\x15\x95\x6C\x96",
21522 		.rlen	= 68,
21523 	}, {
21524 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
21525 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
21526 			  "\x00\x00\x00\x00",
21527 		.klen	= 20,
21528 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
21529 		.input	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
21530 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
21531 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
21532 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
21533 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21534 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21535 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
21536 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
21537 		.ilen	= 64,
21538 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
21539 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
21540 		.alen	= 16,
21541 		.result	= "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
21542 			  "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
21543 			  "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
21544 			  "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
21545 			  "\x45\x64\x76\x49\x27\x19\xFF\xB6"
21546 			  "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
21547 			  "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
21548 			  "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
21549 			  "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
21550 			  "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
21551 		.rlen	= 80,
21552 	}, {
21553 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21554 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21555 			  "\x57\x69\x0E\x43",
21556 		.klen	= 20,
21557 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21558 		.input	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
21559 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
21560 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
21561 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
21562 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21563 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21564 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
21565 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
21566 		.ilen	= 64,
21567 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21568 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
21569 			  "\xA2\xFC\xA1\xA3",
21570 		.alen	= 20,
21571 		.result	= "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
21572 			  "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
21573 			  "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
21574 			  "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
21575 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21576 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21577 			  "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
21578 			  "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
21579 			  "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
21580 			  "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
21581 		.rlen	= 80,
21582 	}, {
21583 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21584 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21585 			  "\x57\x69\x0E\x43",
21586 		.klen	= 20,
21587 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21588 		.input	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
21589 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
21590 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
21591 			  "\x01\x02\x02\x01",
21592 		.ilen	= 28,
21593 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21594 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
21595 			  "\xA2\xFC\xA1\xA3",
21596 		.alen	= 20,
21597 		.result	= "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
21598 			  "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
21599 			  "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
21600 			  "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
21601 			  "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
21602 			  "\xE7\xD0\x5D\x35",
21603 		.rlen	= 44,
21604 	}, {
21605 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21606 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21607 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21608 			  "\xCA\xFE\xBA\xBE",
21609 		.klen	= 28,
21610 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21611 		.input	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
21612 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
21613 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
21614 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
21615 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
21616 		.ilen	= 40,
21617 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21618 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21619 		.alen	= 16,
21620 		.result	= "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
21621 			  "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
21622 			  "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
21623 			  "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
21624 			  "\x31\x5B\x27\x45\x21\x44\xCC\x77"
21625 			  "\x95\x45\x7B\x96\x52\x03\x7F\x53"
21626 			  "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
21627 		.rlen	= 56,
21628 	}, {
21629 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21630 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21631 			  "\xDE\xCA\xF8\x88",
21632 		.klen	= 20,
21633 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21634 		.input	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
21635 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
21636 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21637 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
21638 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
21639 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
21640 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
21641 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
21642 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
21643 			  "\x23\x01\x01\x01",
21644 		.ilen	= 76,
21645 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
21646 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21647 			  "\xCE\xFA\xCE\x74",
21648 		.alen	= 20,
21649 		.result	= "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
21650 			  "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
21651 			  "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
21652 			  "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
21653 			  "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
21654 			  "\x84\xE6\x58\x63\x96\x5D\x74\x72"
21655 			  "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
21656 			  "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
21657 			  "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
21658 			  "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
21659 			  "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
21660 			  "\x69\x62\x34\x36",
21661 		.rlen	= 92,
21662 	}, {
21663 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21664 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21665 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21666 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21667 			  "\x73\x61\x6C\x74",
21668 		.klen	= 36,
21669 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
21670 		.input	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
21671 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
21672 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
21673 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
21674 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
21675 		.ilen	= 40,
21676 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21677 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21678 			  "\x69\x76\x65\x63",
21679 		.alen	= 20,
21680 		.result	= "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
21681 			  "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
21682 			  "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
21683 			  "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
21684 			  "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
21685 			  "\x45\x16\x26\xC2\x41\x57\x71\xE3"
21686 			  "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
21687 		.rlen	= 56,
21688 	}, {
21689 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21690 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21691 			  "\x57\x69\x0E\x43",
21692 		.klen	= 20,
21693 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21694 		.input	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
21695 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
21696 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21697 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
21698 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
21699 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
21700 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
21701 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
21702 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
21703 			  "\x15\x01\x01\x01",
21704 		.ilen	= 76,
21705 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21706 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
21707 			  "\xA2\xFC\xA1\xA3",
21708 		.alen	= 20,
21709 		.result	= "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
21710 			  "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
21711 			  "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
21712 			  "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
21713 			  "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
21714 			  "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
21715 			  "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
21716 			  "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
21717 			  "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
21718 			  "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
21719 			  "\x76\x91\x89\x60\x97\x63\xB8\xE1"
21720 			  "\x8C\xAA\x81\xE2",
21721 		.rlen	= 92,
21722 	}, {
21723 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21724 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21725 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21726 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21727 			  "\x73\x61\x6C\x74",
21728 		.klen	= 36,
21729 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
21730 		.input	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
21731 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
21732 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
21733 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
21734 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
21735 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
21736 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
21737 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
21738 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
21739 		.ilen	= 72,
21740 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21741 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21742 			  "\x69\x76\x65\x63",
21743 		.alen	= 20,
21744 		.result	= "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
21745 			  "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
21746 			  "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
21747 			  "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
21748 			  "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
21749 			  "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
21750 			  "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
21751 			  "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
21752 			  "\x12\xA4\x93\x63\x41\x23\x64\xF8"
21753 			  "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
21754 			  "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
21755 		.rlen	= 88,
21756 	}, {
21757 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
21758 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
21759 			  "\xD9\x66\x42\x67",
21760 		.klen	= 20,
21761 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21762 		.input	= "\x01\x02\x02\x01",
21763 		.ilen	= 4,
21764 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
21765 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21766 		.alen	= 16,
21767 		.result	= "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
21768 			  "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
21769 			  "\x04\xBE\xF2\x70",
21770 		.rlen	= 20,
21771 	}, {
21772 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21773 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21774 			  "\xDE\xCA\xF8\x88",
21775 		.klen	= 20,
21776 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21777 		.input	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
21778 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
21779 			  "\x62\x65\x00\x01",
21780 		.ilen	= 20,
21781 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
21782 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21783 			  "\xCE\xFA\xCE\x74",
21784 		.alen	= 20,
21785 		.result	= "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
21786 			  "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
21787 			  "\x43\x33\x21\x64\x41\x25\x03\x52"
21788 			  "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
21789 			  "\x43\xAF\x8C\x3E",
21790 		.rlen	= 36,
21791 	}, {
21792 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
21793 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
21794 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
21795 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
21796 			  "\x74\x75\x72\x6E",
21797 		.klen	= 36,
21798 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
21799 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21800 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21801 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21802 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
21803 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21804 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21805 			  "\x01\x02\x02\x01",
21806 		.ilen	= 52,
21807 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
21808 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
21809 			  "\x67\x65\x74\x6D",
21810 		.alen	= 20,
21811 		.result	= "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
21812 			  "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
21813 			  "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
21814 			  "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
21815 			  "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
21816 			  "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
21817 			  "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
21818 			  "\x94\x5F\x66\x93\x68\x66\x1A\x32"
21819 			  "\x9F\xB4\xC0\x53",
21820 		.rlen	= 68,
21821 	}, {
21822 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21823 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21824 			  "\x57\x69\x0E\x43",
21825 		.klen	= 20,
21826 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21827 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21828 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21829 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21830 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
21831 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21832 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21833 			  "\x01\x02\x02\x01",
21834 		.ilen	= 52,
21835 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
21836 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
21837 			  "\xA2\xFC\xA1\xA3",
21838 		.alen	= 20,
21839 		.result	= "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
21840 			  "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
21841 			  "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
21842 			  "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
21843 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21844 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21845 			  "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
21846 			  "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
21847 			  "\x40\xD7\xCB\x05",
21848 		.rlen	= 68,
21849 	}, {
21850 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21851 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21852 			  "\x22\x43\x3C\x64",
21853 		.klen	= 20,
21854 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
21855 		.input	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
21856 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
21857 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
21858 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
21859 		.ilen	= 32,
21860 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
21861 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
21862 			  "\x3A\x23\x4B\xFD",
21863 		.alen	= 20,
21864 		.result	= "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
21865 			  "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
21866 			  "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
21867 			  "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
21868 			  "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
21869 			  "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
21870 		.rlen	= 48,
21871 	}
21872 };
21873 
21874 static struct aead_testvec aes_gcm_rfc4106_dec_tv_template[] = {
21875 	{ /* Generated using Crypto++ */
21876 		.key    = zeroed_string,
21877 		.klen	= 20,
21878 		.iv     = zeroed_string,
21879 		.input	= "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
21880 			  "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
21881 			  "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
21882 			  "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
21883 		.ilen	= 32,
21884 		.assoc  = zeroed_string,
21885 		.alen   = 16,
21886 		.result = zeroed_string,
21887 		.rlen   = 16,
21888 
21889 	},{
21890 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21891 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21892 			  "\x00\x00\x00\x00",
21893 		.klen	= 20,
21894 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21895 		.input	= "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
21896 			  "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
21897 			  "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
21898 			  "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
21899 		.ilen	= 32,
21900 		.assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
21901 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21902 		.alen   = 16,
21903 		.result = zeroed_string,
21904 		.rlen   = 16,
21905 	}, {
21906 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21907 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21908 			  "\x00\x00\x00\x00",
21909 		.klen	= 20,
21910 		.iv     = zeroed_string,
21911 		.input	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21912 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21913 			  "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
21914 			  "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
21915 		.ilen	= 32,
21916 		.assoc  = zeroed_string,
21917 		.alen   = 16,
21918 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21919 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21920 		.rlen   = 16,
21921 	}, {
21922 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21923 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21924 			  "\x00\x00\x00\x00",
21925 		.klen	= 20,
21926 		.iv     = zeroed_string,
21927 		.input	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21928 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21929 			  "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
21930 			  "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
21931 		.ilen	= 32,
21932 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21933 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
21934 		.alen   = 16,
21935 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21936 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21937 		.rlen   = 16,
21938 
21939 	}, {
21940 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21941 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21942 			  "\x00\x00\x00\x00",
21943 		.klen	= 20,
21944 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21945 		.input	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21946 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21947 			  "\x64\x50\xF9\x32\x13\xFB\x74\x61"
21948 			  "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
21949 		.ilen	= 32,
21950 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21951 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21952 		.alen   = 16,
21953 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21954 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21955 		.rlen   = 16,
21956 	}, {
21957 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21958 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21959 			  "\x00\x00\x00\x00",
21960 		.klen	= 20,
21961 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21962 		.input	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21963 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21964 			  "\x98\x14\xA1\x42\x37\x80\xFD\x90"
21965 			  "\x68\x12\x01\xA8\x91\x89\xB9\x83"
21966 			  "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
21967 			  "\x94\x5F\x18\x12\xBA\x27\x09\x39"
21968 			  "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
21969 			  "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
21970 			  "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
21971 			  "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
21972 		.ilen	= 80,
21973 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21974 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21975 		.alen   = 16,
21976 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21977 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21978 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21979 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21980 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21981 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21982 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21983 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21984 		.rlen   = 64,
21985 	}, {
21986 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
21987 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21988 			  "\x00\x00\x00\x00",
21989 		.klen	= 20,
21990 		.iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
21991 		.input	= "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
21992 			  "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
21993 			  "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
21994 			  "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
21995 			  "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
21996 			  "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
21997 			  "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
21998 			  "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
21999 			  "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
22000 			  "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
22001 			  "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
22002 			  "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
22003 			  "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
22004 			  "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
22005 			  "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
22006 			  "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
22007 			  "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
22008 			  "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
22009 			  "\x7E\x13\x06\x82\x08\x17\xA4\x35"
22010 			  "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
22011 			  "\xA3\x05\x38\x95\x20\x1A\x47\x04"
22012 			  "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
22013 			  "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
22014 			  "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
22015 			  "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
22016 			  "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
22017 		.ilen	= 208,
22018 		.assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
22019 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
22020 			  "\x89\xab\xcd\xef",
22021 		.alen   = 20,
22022 		.result = "\xff\xff\xff\xff\xff\xff\xff\xff"
22023 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22024 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22025 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22026 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22027 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22028 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22029 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22030 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22031 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22032 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22033 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22034 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22035 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22036 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22037 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22038 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22039 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22040 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22041 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22042 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22043 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22044 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22045 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
22046 		.rlen   = 192,
22047 	}, {
22048 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22049 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22050 			  "\x2E\x44\x3B\x68",
22051 		.klen	= 20,
22052 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
22053 		.result	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
22054 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
22055 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
22056 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
22057 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
22058 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
22059 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
22060 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
22061 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
22062 		.rlen	= 72,
22063 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
22064 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
22065 			  "\x3B\x24\x4C\xFE",
22066 		.alen	= 20,
22067 		.input	= "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
22068 			  "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
22069 			  "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
22070 			  "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
22071 			  "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
22072 			  "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
22073 			  "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
22074 			  "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
22075 			  "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
22076 			  "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
22077 			  "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
22078 		.ilen	= 88,
22079 	}, {
22080 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22081 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22082 			  "\xCA\xFE\xBA\xBE",
22083 		.klen	= 20,
22084 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22085 		.result	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
22086 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
22087 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
22088 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
22089 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
22090 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
22091 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
22092 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
22093 		.rlen	= 64,
22094 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22095 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22096 		.alen	= 16,
22097 		.input	= "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
22098 			  "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
22099 			  "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
22100 			  "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
22101 			  "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
22102 			  "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
22103 			  "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
22104 			  "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
22105 			  "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
22106 			  "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
22107 		.ilen	= 80,
22108 	}, {
22109 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22110 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22111 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22112 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22113 			  "\x11\x22\x33\x44",
22114 		.klen	= 36,
22115 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
22116 		.result	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
22117 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
22118 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
22119 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
22120 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
22121 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
22122 			  "\x01\x02\x02\x01",
22123 		.rlen	= 52,
22124 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
22125 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
22126 		.alen	= 16,
22127 		.input	= "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
22128 			  "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
22129 			  "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
22130 			  "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
22131 			  "\x74\x8A\x63\x79\x85\x77\x1D\x34"
22132 			  "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
22133 			  "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
22134 			  "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
22135 			  "\x15\x95\x6C\x96",
22136 		.ilen	= 68,
22137 	}, {
22138 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
22139 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
22140 			  "\x00\x00\x00\x00",
22141 		.klen	= 20,
22142 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
22143 		.result	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
22144 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
22145 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
22146 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
22147 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22148 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22149 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
22150 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
22151 		.rlen	= 64,
22152 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
22153 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22154 		.alen	= 16,
22155 		.input	= "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
22156 			  "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
22157 			  "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
22158 			  "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
22159 			  "\x45\x64\x76\x49\x27\x19\xFF\xB6"
22160 			  "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
22161 			  "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
22162 			  "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
22163 			  "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
22164 			  "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
22165 		.ilen	= 80,
22166 	}, {
22167 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22168 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22169 			  "\x57\x69\x0E\x43",
22170 		.klen	= 20,
22171 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22172 		.result	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
22173 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
22174 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
22175 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
22176 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22177 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22178 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
22179 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
22180 		.rlen	= 64,
22181 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22182 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22183 			  "\xA2\xFC\xA1\xA3",
22184 		.alen	= 20,
22185 		.input	= "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
22186 			  "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
22187 			  "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
22188 			  "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
22189 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22190 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22191 			  "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
22192 			  "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
22193 			  "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
22194 			  "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
22195 		.ilen	= 80,
22196 	}, {
22197 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22198 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22199 			  "\x57\x69\x0E\x43",
22200 		.klen	= 20,
22201 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22202 		.result	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
22203 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
22204 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
22205 			  "\x01\x02\x02\x01",
22206 		.rlen	= 28,
22207 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22208 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22209 			  "\xA2\xFC\xA1\xA3",
22210 		.alen	= 20,
22211 		.input	= "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
22212 			  "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
22213 			  "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
22214 			  "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
22215 			  "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
22216 			  "\xE7\xD0\x5D\x35",
22217 		.ilen	= 44,
22218 	}, {
22219 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22220 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22221 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22222 			  "\xCA\xFE\xBA\xBE",
22223 		.klen	= 28,
22224 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22225 		.result	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
22226 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
22227 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
22228 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
22229 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
22230 		.rlen	= 40,
22231 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22232 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22233 		.alen	= 16,
22234 		.input	= "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
22235 			  "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
22236 			  "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
22237 			  "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
22238 			  "\x31\x5B\x27\x45\x21\x44\xCC\x77"
22239 			  "\x95\x45\x7B\x96\x52\x03\x7F\x53"
22240 			  "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
22241 		.ilen	= 56,
22242 	}, {
22243 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22244 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22245 			  "\xDE\xCA\xF8\x88",
22246 		.klen	= 20,
22247 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22248 		.result	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
22249 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
22250 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22251 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
22252 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
22253 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
22254 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
22255 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
22256 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
22257 			  "\x23\x01\x01\x01",
22258 		.rlen	= 76,
22259 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
22260 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22261 			  "\xCE\xFA\xCE\x74",
22262 		.alen	= 20,
22263 		.input	= "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
22264 			  "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
22265 			  "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
22266 			  "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
22267 			  "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
22268 			  "\x84\xE6\x58\x63\x96\x5D\x74\x72"
22269 			  "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
22270 			  "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
22271 			  "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
22272 			  "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
22273 			  "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
22274 			  "\x69\x62\x34\x36",
22275 		.ilen	= 92,
22276 	}, {
22277 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22278 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22279 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22280 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22281 			  "\x73\x61\x6C\x74",
22282 		.klen	= 36,
22283 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
22284 		.result	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
22285 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
22286 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
22287 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
22288 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
22289 		.rlen	= 40,
22290 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22291 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22292 			  "\x69\x76\x65\x63",
22293 		.alen	= 20,
22294 		.input	= "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
22295 			  "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
22296 			  "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
22297 			  "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
22298 			  "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
22299 			  "\x45\x16\x26\xC2\x41\x57\x71\xE3"
22300 			  "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
22301 		.ilen	= 56,
22302 	}, {
22303 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22304 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22305 			  "\x57\x69\x0E\x43",
22306 		.klen	= 20,
22307 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22308 		.result	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
22309 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
22310 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22311 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
22312 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
22313 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
22314 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
22315 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
22316 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
22317 			  "\x15\x01\x01\x01",
22318 		.rlen	= 76,
22319 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22320 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22321 			  "\xA2\xFC\xA1\xA3",
22322 		.alen	= 20,
22323 		.input	= "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
22324 			  "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
22325 			  "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
22326 			  "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
22327 			  "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
22328 			  "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
22329 			  "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
22330 			  "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
22331 			  "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
22332 			  "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
22333 			  "\x76\x91\x89\x60\x97\x63\xB8\xE1"
22334 			  "\x8C\xAA\x81\xE2",
22335 		.ilen	= 92,
22336 	}, {
22337 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22338 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22339 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22340 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22341 			  "\x73\x61\x6C\x74",
22342 		.klen	= 36,
22343 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
22344 		.result	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
22345 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
22346 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
22347 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
22348 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
22349 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
22350 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
22351 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
22352 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
22353 		.rlen	= 72,
22354 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22355 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22356 			  "\x69\x76\x65\x63",
22357 		.alen	= 20,
22358 		.input	= "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
22359 			  "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
22360 			  "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
22361 			  "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
22362 			  "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
22363 			  "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
22364 			  "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
22365 			  "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
22366 			  "\x12\xA4\x93\x63\x41\x23\x64\xF8"
22367 			  "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
22368 			  "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
22369 		.ilen	= 88,
22370 	}, {
22371 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
22372 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
22373 			  "\xD9\x66\x42\x67",
22374 		.klen	= 20,
22375 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22376 		.result	= "\x01\x02\x02\x01",
22377 		.rlen	= 4,
22378 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
22379 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22380 		.alen	= 16,
22381 		.input	= "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
22382 			  "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
22383 			  "\x04\xBE\xF2\x70",
22384 		.ilen	= 20,
22385 	}, {
22386 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22387 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22388 			  "\xDE\xCA\xF8\x88",
22389 		.klen	= 20,
22390 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22391 		.result	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
22392 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
22393 			  "\x62\x65\x00\x01",
22394 		.rlen	= 20,
22395 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
22396 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22397 			  "\xCE\xFA\xCE\x74",
22398 		.alen	= 20,
22399 		.input	= "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
22400 			  "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
22401 			  "\x43\x33\x21\x64\x41\x25\x03\x52"
22402 			  "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
22403 			  "\x43\xAF\x8C\x3E",
22404 		.ilen	= 36,
22405 	}, {
22406 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
22407 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
22408 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
22409 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
22410 			  "\x74\x75\x72\x6E",
22411 		.klen	= 36,
22412 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
22413 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22414 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22415 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22416 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22417 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22418 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22419 			  "\x01\x02\x02\x01",
22420 		.rlen	= 52,
22421 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
22422 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
22423 			  "\x67\x65\x74\x6D",
22424 		.alen	= 20,
22425 		.input	= "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
22426 			  "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
22427 			  "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
22428 			  "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
22429 			  "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
22430 			  "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
22431 			  "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
22432 			  "\x94\x5F\x66\x93\x68\x66\x1A\x32"
22433 			  "\x9F\xB4\xC0\x53",
22434 		.ilen	= 68,
22435 	}, {
22436 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22437 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22438 			  "\x57\x69\x0E\x43",
22439 		.klen	= 20,
22440 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22441 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22442 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22443 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22444 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22445 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22446 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22447 			  "\x01\x02\x02\x01",
22448 		.rlen	= 52,
22449 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
22450 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22451 			  "\xA2\xFC\xA1\xA3",
22452 		.alen	= 20,
22453 		.input	= "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
22454 			  "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
22455 			  "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
22456 			  "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
22457 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22458 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22459 			  "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
22460 			  "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
22461 			  "\x40\xD7\xCB\x05",
22462 		.ilen	= 68,
22463 	}, {
22464 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22465 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22466 			  "\x22\x43\x3C\x64",
22467 		.klen	= 20,
22468 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
22469 		.result	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
22470 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
22471 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
22472 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
22473 		.rlen	= 32,
22474 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
22475 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
22476 			  "\x3A\x23\x4B\xFD",
22477 		.alen	= 20,
22478 		.input	= "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
22479 			  "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
22480 			  "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
22481 			  "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
22482 			  "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
22483 			  "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
22484 		.ilen	= 48,
22485 	}
22486 };
22487 
22488 static struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = {
22489 	{ /* From draft-mcgrew-gcm-test-01 */
22490 		.key	= "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22491 			  "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22492 			  "\x22\x43\x3c\x64",
22493 		.klen	= 20,
22494 		.iv	= zeroed_string,
22495 		.assoc	= "\x00\x00\x43\x21\x00\x00\x00\x07"
22496 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22497 		.alen	= 16,
22498 		.input	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22499 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22500 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22501 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22502 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22503 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22504 			  "\x01\x02\x02\x01",
22505 		.ilen	= 52,
22506 		.result	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22507 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22508 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22509 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22510 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22511 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22512 			  "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22513 			  "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22514 			  "\xe4\x09\x9a\xaa",
22515 		.rlen	= 68,
22516 	}
22517 };
22518 
22519 static struct aead_testvec aes_gcm_rfc4543_dec_tv_template[] = {
22520 	{ /* From draft-mcgrew-gcm-test-01 */
22521 		.key	= "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22522 			  "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22523 			  "\x22\x43\x3c\x64",
22524 		.klen	= 20,
22525 		.iv	= zeroed_string,
22526 		.assoc	= "\x00\x00\x43\x21\x00\x00\x00\x07"
22527 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22528 		.alen	= 16,
22529 		.input	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22530 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22531 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22532 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22533 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22534 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22535 			  "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22536 			  "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22537 			  "\xe4\x09\x9a\xaa",
22538 		.ilen	= 68,
22539 		.result	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22540 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22541 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22542 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22543 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22544 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22545 			  "\x01\x02\x02\x01",
22546 		.rlen	= 52,
22547 	}, { /* nearly same as previous, but should fail */
22548 		.key	= "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22549 			  "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22550 			  "\x22\x43\x3c\x64",
22551 		.klen	= 20,
22552 		.iv	= zeroed_string,
22553 		.assoc	= "\x00\x00\x43\x21\x00\x00\x00\x07"
22554 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22555 		.alen	= 16,
22556 		.input	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22557 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22558 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22559 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22560 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22561 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22562 			  "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22563 			  "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22564 			  "\x00\x00\x00\x00",
22565 		.ilen	= 68,
22566 		.novrfy = 1,
22567 		.result	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22568 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22569 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22570 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22571 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22572 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22573 			  "\x01\x02\x02\x01",
22574 		.rlen	= 52,
22575 	},
22576 };
22577 
22578 static struct aead_testvec aes_ccm_enc_tv_template[] = {
22579 	{ /* From RFC 3610 */
22580 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22581 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22582 		.klen	= 16,
22583 		.iv	= "\x01\x00\x00\x00\x03\x02\x01\x00"
22584 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22585 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
22586 		.alen	= 8,
22587 		.input	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22588 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
22589 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e",
22590 		.ilen	= 23,
22591 		.result	= "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
22592 			  "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
22593 			  "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
22594 			  "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
22595 		.rlen	= 31,
22596 	}, {
22597 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22598 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22599 		.klen	= 16,
22600 		.iv	= "\x01\x00\x00\x00\x07\x06\x05\x04"
22601 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22602 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
22603 			  "\x08\x09\x0a\x0b",
22604 		.alen	= 12,
22605 		.input	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22606 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22607 			  "\x1c\x1d\x1e\x1f",
22608 		.ilen	= 20,
22609 		.result	= "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
22610 			  "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
22611 			  "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
22612 			  "\x7d\x9c\x2d\x93",
22613 		.rlen	= 28,
22614 	}, {
22615 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22616 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22617 		.klen	= 16,
22618 		.iv	= "\x01\x00\x00\x00\x0b\x0a\x09\x08"
22619 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22620 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
22621 		.alen	= 8,
22622 		.input	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22623 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
22624 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
22625 			  "\x20",
22626 		.ilen	= 25,
22627 		.result	= "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
22628 			  "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
22629 			  "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
22630 			  "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
22631 			  "\x7e\x5f\x4e",
22632 		.rlen	= 35,
22633 	}, {
22634 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22635 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22636 		.klen	= 16,
22637 		.iv	= "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
22638 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22639 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
22640 			  "\x08\x09\x0a\x0b",
22641 		.alen	= 12,
22642 		.input	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22643 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22644 			  "\x1c\x1d\x1e",
22645 		.ilen	= 19,
22646 		.result	= "\x07\x34\x25\x94\x15\x77\x85\x15"
22647 			  "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
22648 			  "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
22649 			  "\x4d\x99\x99\x88\xdd",
22650 		.rlen	= 29,
22651 	}, {
22652 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22653 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22654 		.klen	= 16,
22655 		.iv	= "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
22656 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22657 		.assoc	= "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
22658 		.alen	= 8,
22659 		.input	= "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
22660 			  "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
22661 			  "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
22662 		.ilen	= 24,
22663 		.result	= "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
22664 			  "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
22665 			  "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
22666 			  "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
22667 		.rlen	= 32,
22668 	}, {
22669 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22670 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22671 		.klen	= 16,
22672 		.iv	= "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
22673 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22674 		.assoc	= "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
22675 			  "\x20\xea\x60\xc0",
22676 		.alen	= 12,
22677 		.input	= "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
22678 			  "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
22679 			  "\x3a\x80\x3b\xa8\x7f",
22680 		.ilen	= 21,
22681 		.result	= "\x00\x97\x69\xec\xab\xdf\x48\x62"
22682 			  "\x55\x94\xc5\x92\x51\xe6\x03\x57"
22683 			  "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
22684 			  "\x5a\xe0\x70\x45\x51",
22685 		.rlen	= 29,
22686 	}, {
22687 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22688 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22689 		.klen	= 16,
22690 		.iv	= "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
22691 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22692 		.assoc	= "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
22693 		.alen	= 8,
22694 		.input	= "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
22695 			  "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
22696 			  "\x98\x09\xd6\x7d\xbe\xdd\x18",
22697 		.ilen	= 23,
22698 		.result	= "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
22699 			  "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
22700 			  "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
22701 			  "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
22702 			  "\xba",
22703 		.rlen	= 33,
22704 	}, {
22705 		/* This is taken from FIPS CAVS. */
22706 		.key	= "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
22707 			  "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
22708 		.klen	= 16,
22709 		.iv	= "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
22710 		.alen	= 0,
22711 		.input	= "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
22712 			  "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
22713 			  "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
22714 			  "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
22715 		.ilen	= 32,
22716 		.result	= "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
22717 			  "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
22718 			  "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
22719 			  "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
22720 			  "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
22721 			  "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
22722 		.rlen	= 48,
22723 	}, {
22724 		.key	= "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
22725 			  "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
22726 		.klen	= 16,
22727 		.iv	= "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
22728 			  "\x30\x60\x15\x56\x00\x00\x00\x00",
22729 		.assoc	= "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
22730 			  "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
22731 			  "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
22732 			  "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
22733 		.alen	= 32,
22734 		.input	= "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
22735 			  "\xa9\x28\x63\xba\x12\xa3\x14\x85"
22736 			  "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
22737 			  "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
22738 		.ilen	= 32,
22739 		.result	= "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
22740 			  "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
22741 			  "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
22742 			  "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
22743 			  "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
22744 			  "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
22745 		.rlen	= 48,
22746 	}, {
22747 		.key	= "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
22748 			  "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
22749 			  "\x53\x14\x73\x66\x8d\x88\xf6\x80",
22750 		.klen	= 24,
22751 		.iv	= "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
22752 			  "\x50\x20\xda\xe2\x00\x00\x00\x00",
22753 		.assoc	= "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
22754 			  "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
22755 			  "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
22756 			  "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
22757 		.alen	= 32,
22758 		.result	= "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
22759 			  "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
22760 		.rlen	= 16,
22761 	}, {
22762 		.key	= "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
22763 			  "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
22764 			  "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
22765 		.klen	= 24,
22766 		.iv	= "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
22767 			  "\xef\x09\x2e\x94\x00\x00\x00\x00",
22768 		.assoc	= "\x02\x65\x78\x3c\xe9\x21\x30\x91"
22769 			  "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
22770 			  "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
22771 			  "\xe3\x00\x73\x69\x84\x69\x87\x79",
22772 		.alen	= 32,
22773 		.input	= "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
22774 			  "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
22775 			  "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
22776 			  "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
22777 		.ilen	= 32,
22778 		.result	= "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
22779 			  "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
22780 			  "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
22781 			  "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
22782 			  "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
22783 			  "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
22784 		.rlen	= 48,
22785 	}, {
22786 		.key	= "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
22787 			  "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
22788 			  "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
22789 			  "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
22790 		.klen	= 32,
22791 		.iv	= "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
22792 			  "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
22793 		.assoc	= "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
22794 			  "\x78\x2b\x94\x02\x29\x0f\x42\x27"
22795 			  "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
22796 			  "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
22797 		.alen	= 32,
22798 		.input	= "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
22799 			  "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
22800 			  "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
22801 			  "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
22802 		.ilen	= 32,
22803 		.result	= "\x19\xb8\x61\x33\x45\x2b\x43\x96"
22804 			  "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
22805 			  "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
22806 			  "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
22807 			  "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
22808 		.rlen	= 40,
22809 	}, {
22810 		.key	= "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
22811 			  "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
22812 			  "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
22813 			  "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
22814 		.klen	= 32,
22815 		.iv	= "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
22816 			  "\x43\xf6\x1e\x50",
22817 		.assoc	= "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
22818 			  "\x13\x02\x01\x0c\x83\x4c\x96\x35"
22819 			  "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
22820 			  "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
22821 		.alen	= 32,
22822 		.input	= "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
22823 			  "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
22824 			  "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
22825 			  "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
22826 		.ilen	= 32,
22827 		.result	= "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
22828 			  "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
22829 			  "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
22830 			  "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
22831 			  "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
22832 			  "\x7b\x72\x8a\xf7",
22833 		.rlen	= 44,
22834 	}, {
22835 		.key	= "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
22836 			  "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
22837 			  "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
22838 			  "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
22839 		.klen	= 32,
22840 		.iv	= "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
22841 			  "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
22842 		.assoc	= "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
22843 			  "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
22844 			  "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
22845 			  "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
22846 		.alen	= 32,
22847 		.input	= "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
22848 			  "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
22849 			  "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
22850 			  "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
22851 		.ilen	= 32,
22852 		.result	= "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
22853 			  "\xef\xbb\x80\x21\x04\x6c\x58\x09"
22854 			  "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
22855 			  "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
22856 			  "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
22857 			  "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
22858 		.rlen	= 48,
22859 	}
22860 };
22861 
22862 static struct aead_testvec aes_ccm_dec_tv_template[] = {
22863 	{ /* From RFC 3610 */
22864 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22865 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22866 		.klen	= 16,
22867 		.iv	= "\x01\x00\x00\x00\x03\x02\x01\x00"
22868 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22869 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
22870 		.alen	= 8,
22871 		.input	= "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
22872 			  "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
22873 			  "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
22874 			  "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
22875 		.ilen	= 31,
22876 		.result	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22877 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
22878 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e",
22879 		.rlen	= 23,
22880 	}, {
22881 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22882 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22883 		.klen	= 16,
22884 		.iv	= "\x01\x00\x00\x00\x07\x06\x05\x04"
22885 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22886 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
22887 			  "\x08\x09\x0a\x0b",
22888 		.alen	= 12,
22889 		.input	= "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
22890 			  "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
22891 			  "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
22892 			  "\x7d\x9c\x2d\x93",
22893 		.ilen	= 28,
22894 		.result	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22895 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22896 			  "\x1c\x1d\x1e\x1f",
22897 		.rlen	= 20,
22898 	}, {
22899 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22900 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22901 		.klen	= 16,
22902 		.iv	= "\x01\x00\x00\x00\x0b\x0a\x09\x08"
22903 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22904 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
22905 		.alen	= 8,
22906 		.input	= "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
22907 			  "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
22908 			  "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
22909 			  "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
22910 			  "\x7e\x5f\x4e",
22911 		.ilen	= 35,
22912 		.result	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22913 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
22914 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
22915 			  "\x20",
22916 		.rlen	= 25,
22917 	}, {
22918 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22919 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22920 		.klen	= 16,
22921 		.iv	= "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
22922 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22923 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
22924 			  "\x08\x09\x0a\x0b",
22925 		.alen	= 12,
22926 		.input	= "\x07\x34\x25\x94\x15\x77\x85\x15"
22927 			  "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
22928 			  "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
22929 			  "\x4d\x99\x99\x88\xdd",
22930 		.ilen	= 29,
22931 		.result	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22932 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22933 			  "\x1c\x1d\x1e",
22934 		.rlen	= 19,
22935 	}, {
22936 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22937 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22938 		.klen	= 16,
22939 		.iv	= "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
22940 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22941 		.assoc	= "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
22942 		.alen	= 8,
22943 		.input	= "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
22944 			  "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
22945 			  "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
22946 			  "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
22947 		.ilen	= 32,
22948 		.result	= "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
22949 			  "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
22950 			  "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
22951 		.rlen	= 24,
22952 	}, {
22953 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22954 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22955 		.klen	= 16,
22956 		.iv	= "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
22957 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22958 		.assoc	= "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
22959 			  "\x20\xea\x60\xc0",
22960 		.alen	= 12,
22961 		.input	= "\x00\x97\x69\xec\xab\xdf\x48\x62"
22962 			  "\x55\x94\xc5\x92\x51\xe6\x03\x57"
22963 			  "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
22964 			  "\x5a\xe0\x70\x45\x51",
22965 		.ilen	= 29,
22966 		.result	= "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
22967 			  "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
22968 			  "\x3a\x80\x3b\xa8\x7f",
22969 		.rlen	= 21,
22970 	}, {
22971 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22972 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22973 		.klen	= 16,
22974 		.iv	= "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
22975 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22976 		.assoc	= "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
22977 		.alen	= 8,
22978 		.input	= "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
22979 			  "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
22980 			  "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
22981 			  "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
22982 			  "\xba",
22983 		.ilen	= 33,
22984 		.result	= "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
22985 			  "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
22986 			  "\x98\x09\xd6\x7d\xbe\xdd\x18",
22987 		.rlen	= 23,
22988 	}, {
22989 		/* This is taken from FIPS CAVS. */
22990 		.key	= "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
22991 			  "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
22992 		.klen	= 16,
22993 		.iv	= "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
22994 			  "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
22995 		.alen	= 0,
22996 		.input	= "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
22997 		.ilen	= 8,
22998 		.result	= "\x00",
22999 		.rlen	= 0,
23000 		.novrfy	= 1,
23001 	}, {
23002 		.key	= "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
23003 			  "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
23004 		.klen	= 16,
23005 		.iv	= "\x03\xaf\x94\x87\x78\x35\x82\x81"
23006 			  "\x7f\x88\x94\x68\x00\x00\x00\x00",
23007 		.alen	= 0,
23008 		.input	= "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
23009 		.ilen	= 8,
23010 		.result	= "\x00",
23011 		.rlen	= 0,
23012 	}, {
23013 		.key	= "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
23014 			  "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
23015 		.klen	= 16,
23016 		.iv	= "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
23017 			  "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
23018 		.assoc	= "\xf3\x94\x87\x78\x35\x82\x81\x7f"
23019 			  "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
23020 			  "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
23021 			  "\xd8\x94\x99\x91\x81\x54\x62\x57",
23022 		.alen	= 32,
23023 		.input	= "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
23024 			  "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
23025 			  "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
23026 			  "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
23027 			  "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
23028 			  "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
23029 		.ilen	= 48,
23030 		.result	= "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
23031 			  "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
23032 			  "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
23033 			  "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
23034 		.rlen	= 32,
23035 		.novrfy	= 1,
23036 	}, {
23037 		.key	= "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
23038 			  "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
23039 		.klen	= 16,
23040 		.iv	= "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
23041 			  "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
23042 		.assoc	= "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
23043 			  "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
23044 			  "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
23045 			  "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
23046 		.alen	= 32,
23047 		.input	= "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
23048 			  "\xad\x83\x52\x6d\x71\x03\x25\x1c"
23049 			  "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
23050 			  "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
23051 			  "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
23052 			  "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
23053 		.ilen	= 48,
23054 		.result	= "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
23055 			  "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
23056 			  "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
23057 			  "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
23058 		.rlen	= 32,
23059 	}, {
23060 		.key	= "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
23061 			  "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
23062 			  "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
23063 		.klen	= 24,
23064 		.iv	= "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23065 			  "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23066 		.assoc	= "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
23067 			  "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
23068 			  "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
23069 			  "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
23070 		.alen	= 32,
23071 		.input	= "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
23072 		.ilen	= 8,
23073 		.result	= "\x00",
23074 		.rlen	= 0,
23075 	}, {
23076 		.key	= "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23077 			  "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23078 			  "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
23079 		.klen	= 24,
23080 		.iv	= "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23081 			  "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23082 		.assoc	= "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
23083 			  "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
23084 			  "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
23085 			  "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
23086 		.alen	= 32,
23087 		.input	= "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
23088 			  "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
23089 			  "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
23090 			  "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
23091 			  "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
23092 		.ilen	= 40,
23093 		.result	= "\x85\x34\x66\x42\xc8\x92\x0f\x36"
23094 			  "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
23095 			  "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
23096 			  "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
23097 		.rlen	= 32,
23098 	}, {
23099 		.key	= "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23100 			  "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23101 			  "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
23102 		.klen	= 24,
23103 		.iv	= "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
23104 			  "\xad\x71\xaa\x1f\x00\x00\x00\x00",
23105 		.assoc	= "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
23106 			  "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
23107 			  "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
23108 			  "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
23109 		.alen	= 32,
23110 		.input	= "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
23111 			  "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
23112 			  "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
23113 			  "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
23114 			  "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
23115 			  "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
23116 		.ilen	= 48,
23117 		.result	= "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
23118 			  "\x99\x2a\xa8\xca\x04\x25\x45\x90"
23119 			  "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
23120 			  "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
23121 		.rlen	= 32,
23122 		.novrfy	= 1,
23123 	}, {
23124 		.key	= "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
23125 			  "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
23126 			  "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
23127 			  "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
23128 		.klen	= 32,
23129 		.iv	= "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23130 			  "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23131 		.alen	= 0,
23132 		.input	= "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
23133 		.ilen	= 8,
23134 		.result	= "\x00",
23135 		.rlen	= 0,
23136 	}, {
23137 		.key	= "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
23138 			  "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
23139 			  "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
23140 			  "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
23141 		.klen	= 32,
23142 		.iv	= "\x03\x85\x34\x66\x42\xc8\x92\x0f"
23143 			  "\x36\x58\xe0\x6b\x00\x00\x00\x00",
23144 		.alen	= 0,
23145 		.input	= "\x48\x01\x5e\x02\x24\x04\x66\x47"
23146 			  "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
23147 			  "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
23148 			  "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
23149 			  "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
23150 			  "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
23151 		.ilen	= 48,
23152 		.result	= "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
23153 			  "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
23154 			  "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
23155 			  "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
23156 		.rlen	= 32,
23157 		.novrfy	= 1,
23158 	}, {
23159 		.key	= "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23160 			  "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23161 			  "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
23162 			  "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
23163 		.klen	= 32,
23164 		.iv	= "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
23165 			  "\x44\x89\x40\x7b\x00\x00\x00\x00",
23166 		.assoc	= "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
23167 			  "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
23168 			  "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
23169 			  "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
23170 		.alen	= 32,
23171 		.input	= "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
23172 			  "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
23173 			  "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
23174 			  "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
23175 			  "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
23176 			  "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
23177 		.ilen	= 48,
23178 		.result	= "\xc2\x54\xc8\xde\x78\x87\x77\x40"
23179 			  "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
23180 			  "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
23181 			  "\x04\x49\x3b\x19\x93\x57\x25\x5d",
23182 		.rlen	= 32,
23183 	},
23184 };
23185 
23186 /*
23187  * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
23188  * use a 13-byte nonce, we only support an 11-byte nonce.  Worse,
23189  * they use AD lengths which are not valid ESP header lengths.
23190  *
23191  * These vectors are copied/generated from the ones for rfc4106 with
23192  * the key truncated by one byte..
23193  */
23194 static struct aead_testvec aes_ccm_rfc4309_enc_tv_template[] = {
23195 	{ /* Generated using Crypto++ */
23196 		.key	= zeroed_string,
23197 		.klen	= 19,
23198 		.iv	= zeroed_string,
23199 		.input	= zeroed_string,
23200 		.ilen	= 16,
23201 		.assoc	= zeroed_string,
23202 		.alen	= 16,
23203 		.result	= "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
23204 			  "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
23205 			  "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
23206 			  "\x27\x50\x01\xAC\x03\x33\x39\xFB",
23207 		.rlen	= 32,
23208 	},{
23209 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23210 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23211 			  "\x00\x00\x00",
23212 		.klen	= 19,
23213 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23214 		.input	= zeroed_string,
23215 		.ilen	= 16,
23216 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x00"
23217 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23218 		.alen	= 16,
23219 		.result	= "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
23220 			  "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
23221 			  "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
23222 			  "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
23223 		.rlen	= 32,
23224 
23225 	}, {
23226 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23227 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23228 			  "\x00\x00\x00",
23229 		.klen	= 19,
23230 		.iv	= zeroed_string,
23231 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23232 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23233 		.ilen	= 16,
23234 		.assoc	= zeroed_string,
23235 		.alen	= 16,
23236 		.result	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23237 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23238 			  "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
23239 			  "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
23240 		.rlen	= 32,
23241 	}, {
23242 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23243 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23244 			  "\x00\x00\x00",
23245 		.klen	= 19,
23246 		.iv	= zeroed_string,
23247 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23248 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23249 		.ilen	= 16,
23250 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23251 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23252 		.alen	= 16,
23253 		.result	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23254 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23255 			  "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
23256 			  "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
23257 		.rlen	= 32,
23258 	}, {
23259 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23260 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23261 			  "\x00\x00\x00",
23262 		.klen	= 19,
23263 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23264 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23265 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23266 		.ilen	= 16,
23267 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23268 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23269 		.alen	= 16,
23270 		.result	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23271 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23272 			  "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
23273 			  "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
23274 		.rlen	= 32,
23275 	}, {
23276 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23277 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23278 			  "\x00\x00\x00",
23279 		.klen	= 19,
23280 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23281 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23282 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23283 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23284 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23285 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23286 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23287 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23288 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23289 		.ilen	= 64,
23290 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23291 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23292 		.alen	= 16,
23293 		.result	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23294 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23295 			  "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
23296 			  "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
23297 			  "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
23298 			  "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
23299 			  "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
23300 			  "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
23301 			  "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
23302 			  "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
23303 		.rlen	= 80,
23304 	}, {
23305 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
23306 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23307 			  "\x00\x00\x00",
23308 		.klen	= 19,
23309 		.iv	= "\x00\x00\x45\x67\x89\xab\xcd\xef",
23310 		.input	= "\xff\xff\xff\xff\xff\xff\xff\xff"
23311 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23312 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23313 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23314 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23315 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23316 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23317 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23318 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23319 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23320 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23321 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23322 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23323 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23324 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23325 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23326 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23327 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23328 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23329 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23330 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23331 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23332 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23333 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
23334 		.ilen	= 192,
23335 		.assoc	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
23336 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
23337 			  "\x89\xab\xcd\xef",
23338 		.alen	= 20,
23339 		.result	= "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
23340 			  "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
23341 			  "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
23342 			  "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
23343 			  "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
23344 			  "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
23345 			  "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
23346 			  "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
23347 			  "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
23348 			  "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
23349 			  "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
23350 			  "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
23351 			  "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
23352 			  "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
23353 			  "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
23354 			  "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
23355 			  "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
23356 			  "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
23357 			  "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
23358 			  "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
23359 			  "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
23360 			  "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
23361 			  "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
23362 			  "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
23363 			  "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
23364 			  "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
23365 		.rlen	= 208,
23366 	}, { /* From draft-mcgrew-gcm-test-01 */
23367 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23368 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23369 			  "\x2E\x44\x3B",
23370 		.klen	= 19,
23371 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
23372 		.input	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
23373 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
23374 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
23375 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
23376 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
23377 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
23378 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
23379 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
23380 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
23381 		.ilen	= 72,
23382 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
23383 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
23384 			  "\x3B\x24\x4C\xFE",
23385 		.alen	= 20,
23386 		.result	= "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
23387 			  "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
23388 			  "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
23389 			  "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
23390 			  "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
23391 			  "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
23392 			  "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
23393 			  "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
23394 			  "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
23395 			  "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
23396 			  "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
23397 		.rlen	= 88,
23398 	}, {
23399 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23400 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
23401 			  "\xCA\xFE\xBA",
23402 		.klen	= 19,
23403 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23404 		.input	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
23405 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
23406 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
23407 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
23408 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
23409 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
23410 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
23411 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
23412 		.ilen	= 64,
23413 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
23414 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23415 		.alen	= 16,
23416 		.result	= "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
23417 			  "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
23418 			  "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
23419 			  "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
23420 			  "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
23421 			  "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
23422 			  "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
23423 			  "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
23424 			  "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
23425 			  "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
23426 		.rlen	= 80,
23427 	}, {
23428 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23429 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23430 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23431 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23432 			  "\x11\x22\x33",
23433 		.klen	= 35,
23434 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
23435 		.input	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
23436 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
23437 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
23438 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
23439 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
23440 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
23441 			  "\x01\x02\x02\x01",
23442 		.ilen	= 52,
23443 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
23444 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
23445 		.alen	= 16,
23446 		.result	= "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
23447 			  "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
23448 			  "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
23449 			  "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
23450 			  "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
23451 			  "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
23452 			  "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
23453 			  "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
23454 			  "\x5A\x48\x6A\x3E",
23455 		.rlen	= 68,
23456 	}, {
23457 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
23458 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
23459 			  "\x00\x00\x00",
23460 		.klen	= 19,
23461 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
23462 		.input	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
23463 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
23464 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
23465 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
23466 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23467 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23468 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
23469 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
23470 		.ilen	= 64,
23471 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
23472 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23473 		.alen	= 16,
23474 		.result	= "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
23475 			  "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
23476 			  "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
23477 			  "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
23478 			  "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
23479 			  "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
23480 			  "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
23481 			  "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
23482 			  "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
23483 			  "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
23484 		.rlen	= 80,
23485 	}, {
23486 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23487 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23488 			  "\x57\x69\x0E",
23489 		.klen	= 19,
23490 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23491 		.input	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
23492 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
23493 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
23494 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
23495 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23496 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23497 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
23498 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
23499 		.ilen	= 64,
23500 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23501 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23502 			  "\xA2\xFC\xA1\xA3",
23503 		.alen	= 20,
23504 		.result	= "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
23505 			  "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
23506 			  "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
23507 			  "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
23508 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
23509 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
23510 			  "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
23511 			  "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
23512 			  "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
23513 			  "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
23514 		.rlen	= 80,
23515 	}, {
23516 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23517 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23518 			  "\x57\x69\x0E",
23519 		.klen	= 19,
23520 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23521 		.input	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
23522 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
23523 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
23524 			  "\x01\x02\x02\x01",
23525 		.ilen	= 28,
23526 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23527 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23528 			  "\xA2\xFC\xA1\xA3",
23529 		.alen	= 20,
23530 		.result	= "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
23531 			  "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
23532 			  "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
23533 			  "\xA1\xE5\x90\x40\x05\x37\x45\x70"
23534 			  "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
23535 			  "\x08\xB4\x22\xE4",
23536 		.rlen	= 44,
23537 	}, {
23538 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23539 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
23540 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23541 			  "\xCA\xFE\xBA",
23542 		.klen	= 27,
23543 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23544 		.input	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
23545 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
23546 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
23547 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
23548 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
23549 		.ilen	= 40,
23550 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
23551 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23552 		.alen	= 16,
23553 		.result	= "\x05\x22\x15\xD1\x52\x56\x85\x04"
23554 			  "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
23555 			  "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
23556 			  "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
23557 			  "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
23558 			  "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
23559 			  "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
23560 		.rlen	= 56,
23561 	}, {
23562 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23563 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23564 			  "\xDE\xCA\xF8",
23565 		.klen	= 19,
23566 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
23567 		.input	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
23568 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
23569 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
23570 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
23571 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
23572 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
23573 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
23574 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
23575 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
23576 			  "\x23\x01\x01\x01",
23577 		.ilen	= 76,
23578 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
23579 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
23580 			  "\xCE\xFA\xCE\x74",
23581 		.alen	= 20,
23582 		.result	= "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
23583 			  "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
23584 			  "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
23585 			  "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
23586 			  "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
23587 			  "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
23588 			  "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
23589 			  "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
23590 			  "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
23591 			  "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
23592 			  "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
23593 			  "\x12\x25\x0B\xF9",
23594 		.rlen	= 92,
23595 	}, {
23596 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23597 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23598 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23599 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23600 			  "\x73\x61\x6C",
23601 		.klen	= 35,
23602 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
23603 		.input	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
23604 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
23605 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
23606 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
23607 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
23608 		.ilen	= 40,
23609 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
23610 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
23611 			  "\x69\x76\x65\x63",
23612 		.alen	= 20,
23613 		.result	= "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
23614 			  "\x2C\x64\x87\x46\x1E\x34\x10\x05"
23615 			  "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
23616 			  "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
23617 			  "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
23618 			  "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
23619 			  "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
23620 		.rlen	= 56,
23621 	}, {
23622 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23623 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23624 			  "\x57\x69\x0E",
23625 		.klen	= 19,
23626 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23627 		.input	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
23628 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
23629 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
23630 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
23631 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
23632 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
23633 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
23634 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
23635 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
23636 			  "\x15\x01\x01\x01",
23637 		.ilen	= 76,
23638 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23639 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23640 			  "\xA2\xFC\xA1\xA3",
23641 		.alen	= 20,
23642 		.result	= "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
23643 			  "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
23644 			  "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
23645 			  "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
23646 			  "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
23647 			  "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
23648 			  "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
23649 			  "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
23650 			  "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
23651 			  "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
23652 			  "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
23653 			  "\xCC\xF7\x46\x6F",
23654 		.rlen	= 92,
23655 	}, {
23656 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23657 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23658 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23659 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23660 			  "\x73\x61\x6C",
23661 		.klen	= 35,
23662 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
23663 		.input	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
23664 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
23665 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
23666 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
23667 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
23668 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
23669 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
23670 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
23671 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
23672 		.ilen	= 72,
23673 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
23674 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
23675 			  "\x69\x76\x65\x63",
23676 		.alen	= 20,
23677 		.result	= "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
23678 			  "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
23679 			  "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
23680 			  "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
23681 			  "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
23682 			  "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
23683 			  "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
23684 			  "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
23685 			  "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
23686 			  "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
23687 			  "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
23688 		.rlen	= 88,
23689 	}, {
23690 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
23691 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
23692 			  "\xD9\x66\x42",
23693 		.klen	= 19,
23694 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
23695 		.input	= "\x01\x02\x02\x01",
23696 		.ilen	= 4,
23697 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
23698 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
23699 		.alen	= 16,
23700 		.result	= "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
23701 			  "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
23702 			  "\xF7\x61\x24\x62",
23703 		.rlen	= 20,
23704 	}, {
23705 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23706 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23707 			  "\xDE\xCA\xF8",
23708 		.klen	= 19,
23709 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
23710 		.input	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
23711 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
23712 			  "\x62\x65\x00\x01",
23713 		.ilen	= 20,
23714 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
23715 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
23716 			  "\xCE\xFA\xCE\x74",
23717 		.alen	= 20,
23718 		.result	= "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
23719 			  "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
23720 			  "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
23721 			  "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
23722 			  "\x17\x17\x65\xAD",
23723 		.rlen	= 36,
23724 	}, {
23725 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
23726 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
23727 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
23728 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
23729 			  "\x74\x75\x72",
23730 		.klen	= 35,
23731 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
23732 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
23733 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
23734 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
23735 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23736 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23737 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23738 			  "\x01\x02\x02\x01",
23739 		.ilen	= 52,
23740 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
23741 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
23742 			  "\x67\x65\x74\x6D",
23743 		.alen	= 20,
23744 		.result	= "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
23745 			  "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
23746 			  "\x48\x59\x80\x18\x1A\x18\x1A\x04"
23747 			  "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
23748 			  "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
23749 			  "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
23750 			  "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
23751 			  "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
23752 			  "\x39\xDB\xC8\xDC",
23753 		.rlen	= 68,
23754 	}, {
23755 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23756 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23757 			  "\x57\x69\x0E",
23758 		.klen	= 19,
23759 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23760 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
23761 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
23762 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
23763 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23764 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23765 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23766 			  "\x01\x02\x02\x01",
23767 		.ilen	= 52,
23768 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
23769 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23770 			  "\xA2\xFC\xA1\xA3",
23771 		.alen	= 20,
23772 		.result	= "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
23773 			  "\x10\x60\x54\x25\xEB\x80\x04\x93"
23774 			  "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
23775 			  "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
23776 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
23777 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
23778 			  "\x44\xCC\x90\xBF\x00\x94\x94\x92"
23779 			  "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
23780 			  "\xF4\x95\x5D\x4F",
23781 		.rlen	= 68,
23782 	}, {
23783 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23784 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23785 			  "\x22\x43\x3C",
23786 		.klen	= 19,
23787 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
23788 		.input	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
23789 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
23790 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
23791 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
23792 		.ilen	= 32,
23793 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
23794 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
23795 			  "\x3A\x23\x4B\xFD",
23796 		.alen	= 20,
23797 		.result	= "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
23798 			  "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
23799 			  "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
23800 			  "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
23801 			  "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
23802 			  "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
23803 		.rlen	= 48,
23804 	}
23805 };
23806 
23807 static struct aead_testvec aes_ccm_rfc4309_dec_tv_template[]	= {
23808 	{ /* Generated using Crypto++ */
23809 		.key	= zeroed_string,
23810 		.klen	= 19,
23811 		.iv	= zeroed_string,
23812 		.result	= zeroed_string,
23813 		.rlen	= 16,
23814 		.assoc	= zeroed_string,
23815 		.alen	= 16,
23816 		.input	= "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
23817 			  "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
23818 			  "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
23819 			  "\x27\x50\x01\xAC\x03\x33\x39\xFB",
23820 		.ilen	= 32,
23821 	},{
23822 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23823 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23824 			  "\x00\x00\x00",
23825 		.klen	= 19,
23826 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23827 		.result	= zeroed_string,
23828 		.rlen	= 16,
23829 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x00"
23830 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23831 		.alen	= 16,
23832 		.input	= "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
23833 			  "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
23834 			  "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
23835 			  "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
23836 		.ilen	= 32,
23837 
23838 	}, {
23839 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23840 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23841 			  "\x00\x00\x00",
23842 		.klen	= 19,
23843 		.iv	= zeroed_string,
23844 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23845 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23846 		.rlen	= 16,
23847 		.assoc	= zeroed_string,
23848 		.alen	= 16,
23849 		.input	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23850 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23851 			  "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
23852 			  "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
23853 		.ilen	= 32,
23854 	}, {
23855 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23856 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23857 			  "\x00\x00\x00",
23858 		.klen	= 19,
23859 		.iv	= zeroed_string,
23860 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23861 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23862 		.rlen	= 16,
23863 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23864 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23865 		.alen	= 16,
23866 		.input	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23867 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23868 			  "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
23869 			  "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
23870 		.ilen	= 32,
23871 	}, {
23872 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23873 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23874 			  "\x00\x00\x00",
23875 		.klen	= 19,
23876 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23877 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23878 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23879 		.rlen	= 16,
23880 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23881 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23882 		.alen	= 16,
23883 		.input	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23884 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23885 			  "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
23886 			  "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
23887 		.ilen	= 32,
23888 	}, {
23889 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23890 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23891 			  "\x00\x00\x00",
23892 		.klen	= 19,
23893 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23894 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23895 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23896 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23897 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23898 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23899 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23900 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23901 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23902 		.rlen	= 64,
23903 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23904 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23905 		.alen	= 16,
23906 		.input	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23907 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23908 			  "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
23909 			  "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
23910 			  "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
23911 			  "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
23912 			  "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
23913 			  "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
23914 			  "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
23915 			  "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
23916 		.ilen	= 80,
23917 	}, {
23918 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
23919 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23920 			  "\x00\x00\x00",
23921 		.klen	= 19,
23922 		.iv	= "\x00\x00\x45\x67\x89\xab\xcd\xef",
23923 		.result	= "\xff\xff\xff\xff\xff\xff\xff\xff"
23924 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23925 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23926 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23927 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23928 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23929 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23930 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23931 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23932 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23933 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23934 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23935 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23936 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23937 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23938 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23939 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23940 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23941 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23942 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23943 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23944 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23945 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23946 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
23947 		.rlen	= 192,
23948 		.assoc	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
23949 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
23950 			  "\x89\xab\xcd\xef",
23951 		.alen	= 20,
23952 		.input	= "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
23953 			  "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
23954 			  "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
23955 			  "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
23956 			  "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
23957 			  "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
23958 			  "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
23959 			  "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
23960 			  "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
23961 			  "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
23962 			  "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
23963 			  "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
23964 			  "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
23965 			  "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
23966 			  "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
23967 			  "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
23968 			  "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
23969 			  "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
23970 			  "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
23971 			  "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
23972 			  "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
23973 			  "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
23974 			  "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
23975 			  "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
23976 			  "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
23977 			  "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
23978 		.ilen	= 208,
23979 	}, { /* From draft-mcgrew-gcm-test-01 */
23980 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23981 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23982 			  "\x2E\x44\x3B",
23983 		.klen	= 19,
23984 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
23985 		.result	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
23986 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
23987 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
23988 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
23989 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
23990 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
23991 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
23992 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
23993 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
23994 		.rlen	= 72,
23995 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
23996 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
23997 			  "\x3B\x24\x4C\xFE",
23998 		.alen	= 20,
23999 		.input	= "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
24000 			  "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
24001 			  "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
24002 			  "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
24003 			  "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
24004 			  "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
24005 			  "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
24006 			  "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
24007 			  "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
24008 			  "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
24009 			  "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
24010 		.ilen	= 88,
24011 	}, {
24012 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24013 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
24014 			  "\xCA\xFE\xBA",
24015 		.klen	= 19,
24016 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24017 		.result	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
24018 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
24019 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
24020 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
24021 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
24022 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
24023 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
24024 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
24025 		.rlen	= 64,
24026 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
24027 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24028 		.alen	= 16,
24029 		.input	= "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
24030 			  "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
24031 			  "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
24032 			  "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
24033 			  "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
24034 			  "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
24035 			  "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
24036 			  "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
24037 			  "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
24038 			  "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
24039 		.ilen	= 80,
24040 	}, {
24041 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24042 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24043 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24044 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24045 			  "\x11\x22\x33",
24046 		.klen	= 35,
24047 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
24048 		.result	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
24049 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
24050 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
24051 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
24052 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
24053 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
24054 			  "\x01\x02\x02\x01",
24055 		.rlen	= 52,
24056 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
24057 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
24058 		.alen	= 16,
24059 		.input	= "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
24060 			  "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
24061 			  "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
24062 			  "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
24063 			  "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
24064 			  "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
24065 			  "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
24066 			  "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
24067 			  "\x5A\x48\x6A\x3E",
24068 		.ilen	= 68,
24069 	}, {
24070 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
24071 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
24072 			  "\x00\x00\x00",
24073 		.klen	= 19,
24074 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
24075 		.result	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
24076 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
24077 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
24078 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
24079 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24080 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24081 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
24082 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
24083 		.rlen	= 64,
24084 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
24085 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24086 		.alen	= 16,
24087 		.input	= "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
24088 			  "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
24089 			  "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
24090 			  "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
24091 			  "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
24092 			  "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
24093 			  "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
24094 			  "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
24095 			  "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
24096 			  "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
24097 		.ilen	= 80,
24098 	}, {
24099 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24100 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24101 			  "\x57\x69\x0E",
24102 		.klen	= 19,
24103 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24104 		.result	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
24105 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
24106 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
24107 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
24108 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24109 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24110 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
24111 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
24112 		.rlen	= 64,
24113 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24114 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24115 			  "\xA2\xFC\xA1\xA3",
24116 		.alen	= 20,
24117 		.input	= "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
24118 			  "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
24119 			  "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
24120 			  "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
24121 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
24122 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
24123 			  "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
24124 			  "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
24125 			  "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
24126 			  "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
24127 		.ilen	= 80,
24128 	}, {
24129 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24130 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24131 			  "\x57\x69\x0E",
24132 		.klen	= 19,
24133 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24134 		.result	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
24135 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
24136 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
24137 			  "\x01\x02\x02\x01",
24138 		.rlen	= 28,
24139 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24140 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24141 			  "\xA2\xFC\xA1\xA3",
24142 		.alen	= 20,
24143 		.input	= "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
24144 			  "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
24145 			  "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
24146 			  "\xA1\xE5\x90\x40\x05\x37\x45\x70"
24147 			  "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
24148 			  "\x08\xB4\x22\xE4",
24149 		.ilen	= 44,
24150 	}, {
24151 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24152 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
24153 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24154 			  "\xCA\xFE\xBA",
24155 		.klen	= 27,
24156 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24157 		.result	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
24158 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
24159 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
24160 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
24161 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
24162 		.rlen	= 40,
24163 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
24164 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24165 		.alen	= 16,
24166 		.input	= "\x05\x22\x15\xD1\x52\x56\x85\x04"
24167 			  "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
24168 			  "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
24169 			  "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
24170 			  "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
24171 			  "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
24172 			  "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
24173 		.ilen	= 56,
24174 	}, {
24175 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24176 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24177 			  "\xDE\xCA\xF8",
24178 		.klen	= 19,
24179 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
24180 		.result	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
24181 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
24182 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
24183 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
24184 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
24185 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
24186 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
24187 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
24188 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
24189 			  "\x23\x01\x01\x01",
24190 		.rlen	= 76,
24191 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
24192 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
24193 			  "\xCE\xFA\xCE\x74",
24194 		.alen	= 20,
24195 		.input	= "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
24196 			  "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
24197 			  "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
24198 			  "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
24199 			  "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
24200 			  "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
24201 			  "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
24202 			  "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
24203 			  "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
24204 			  "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
24205 			  "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
24206 			  "\x12\x25\x0B\xF9",
24207 		.ilen	= 92,
24208 	}, {
24209 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24210 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24211 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24212 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24213 			  "\x73\x61\x6C",
24214 		.klen	= 35,
24215 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
24216 		.result	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
24217 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
24218 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
24219 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
24220 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
24221 		.rlen	= 40,
24222 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
24223 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
24224 			  "\x69\x76\x65\x63",
24225 		.alen	= 20,
24226 		.input	= "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
24227 			  "\x2C\x64\x87\x46\x1E\x34\x10\x05"
24228 			  "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
24229 			  "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
24230 			  "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
24231 			  "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
24232 			  "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
24233 		.ilen	= 56,
24234 	}, {
24235 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24236 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24237 			  "\x57\x69\x0E",
24238 		.klen	= 19,
24239 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24240 		.result	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
24241 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
24242 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
24243 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
24244 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
24245 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
24246 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
24247 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
24248 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
24249 			  "\x15\x01\x01\x01",
24250 		.rlen	= 76,
24251 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24252 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24253 			  "\xA2\xFC\xA1\xA3",
24254 		.alen	= 20,
24255 		.input	= "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
24256 			  "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
24257 			  "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
24258 			  "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
24259 			  "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
24260 			  "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
24261 			  "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
24262 			  "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
24263 			  "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
24264 			  "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
24265 			  "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
24266 			  "\xCC\xF7\x46\x6F",
24267 		.ilen	= 92,
24268 	}, {
24269 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24270 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24271 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24272 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24273 			  "\x73\x61\x6C",
24274 		.klen	= 35,
24275 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
24276 		.result	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
24277 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
24278 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
24279 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
24280 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
24281 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
24282 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
24283 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
24284 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
24285 		.rlen	= 72,
24286 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
24287 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
24288 			  "\x69\x76\x65\x63",
24289 		.alen	= 20,
24290 		.input	= "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
24291 			  "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
24292 			  "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
24293 			  "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
24294 			  "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
24295 			  "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
24296 			  "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
24297 			  "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
24298 			  "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
24299 			  "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
24300 			  "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
24301 		.ilen	= 88,
24302 	}, {
24303 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
24304 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
24305 			  "\xD9\x66\x42",
24306 		.klen	= 19,
24307 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
24308 		.result	= "\x01\x02\x02\x01",
24309 		.rlen	= 4,
24310 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
24311 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
24312 		.alen	= 16,
24313 		.input	= "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
24314 			  "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
24315 			  "\xF7\x61\x24\x62",
24316 		.ilen	= 20,
24317 	}, {
24318 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24319 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24320 			  "\xDE\xCA\xF8",
24321 		.klen	= 19,
24322 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
24323 		.result	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
24324 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
24325 			  "\x62\x65\x00\x01",
24326 		.rlen	= 20,
24327 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
24328 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
24329 			  "\xCE\xFA\xCE\x74",
24330 		.alen	= 20,
24331 		.input	= "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
24332 			  "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
24333 			  "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
24334 			  "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
24335 			  "\x17\x17\x65\xAD",
24336 		.ilen	= 36,
24337 	}, {
24338 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
24339 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
24340 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
24341 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
24342 			  "\x74\x75\x72",
24343 		.klen	= 35,
24344 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
24345 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
24346 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
24347 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
24348 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
24349 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24350 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24351 			  "\x01\x02\x02\x01",
24352 		.rlen	= 52,
24353 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
24354 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
24355 			  "\x67\x65\x74\x6D",
24356 		.alen	= 20,
24357 		.input	= "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
24358 			  "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
24359 			  "\x48\x59\x80\x18\x1A\x18\x1A\x04"
24360 			  "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
24361 			  "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
24362 			  "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
24363 			  "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
24364 			  "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
24365 			  "\x39\xDB\xC8\xDC",
24366 		.ilen	= 68,
24367 	}, {
24368 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24369 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24370 			  "\x57\x69\x0E",
24371 		.klen	= 19,
24372 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24373 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
24374 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
24375 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
24376 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
24377 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24378 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24379 			  "\x01\x02\x02\x01",
24380 		.rlen	= 52,
24381 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
24382 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24383 			  "\xA2\xFC\xA1\xA3",
24384 		.alen	= 20,
24385 		.input	= "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
24386 			  "\x10\x60\x54\x25\xEB\x80\x04\x93"
24387 			  "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
24388 			  "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
24389 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
24390 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
24391 			  "\x44\xCC\x90\xBF\x00\x94\x94\x92"
24392 			  "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
24393 			  "\xF4\x95\x5D\x4F",
24394 		.ilen	= 68,
24395 	}, {
24396 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
24397 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
24398 			  "\x22\x43\x3C",
24399 		.klen	= 19,
24400 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
24401 		.result	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
24402 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
24403 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
24404 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
24405 		.rlen	= 32,
24406 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
24407 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
24408 			  "\x3A\x23\x4B\xFD",
24409 		.alen	= 20,
24410 		.input	= "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
24411 			  "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
24412 			  "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
24413 			  "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
24414 			  "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
24415 			  "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
24416 		.ilen	= 48,
24417 	}
24418 };
24419 
24420 /*
24421  * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
24422  */
24423 #define RFC7539_ENC_TEST_VECTORS 2
24424 #define RFC7539_DEC_TEST_VECTORS 2
24425 static struct aead_testvec rfc7539_enc_tv_template[] = {
24426 	{
24427 		.key	= "\x80\x81\x82\x83\x84\x85\x86\x87"
24428 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24429 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
24430 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
24431 		.klen	= 32,
24432 		.iv	= "\x07\x00\x00\x00\x40\x41\x42\x43"
24433 			  "\x44\x45\x46\x47",
24434 		.assoc	= "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
24435 			  "\xc4\xc5\xc6\xc7",
24436 		.alen	= 12,
24437 		.input	= "\x4c\x61\x64\x69\x65\x73\x20\x61"
24438 			  "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
24439 			  "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
24440 			  "\x74\x68\x65\x20\x63\x6c\x61\x73"
24441 			  "\x73\x20\x6f\x66\x20\x27\x39\x39"
24442 			  "\x3a\x20\x49\x66\x20\x49\x20\x63"
24443 			  "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
24444 			  "\x65\x72\x20\x79\x6f\x75\x20\x6f"
24445 			  "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
24446 			  "\x74\x69\x70\x20\x66\x6f\x72\x20"
24447 			  "\x74\x68\x65\x20\x66\x75\x74\x75"
24448 			  "\x72\x65\x2c\x20\x73\x75\x6e\x73"
24449 			  "\x63\x72\x65\x65\x6e\x20\x77\x6f"
24450 			  "\x75\x6c\x64\x20\x62\x65\x20\x69"
24451 			  "\x74\x2e",
24452 		.ilen	= 114,
24453 		.result	= "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
24454 			  "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
24455 			  "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
24456 			  "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
24457 			  "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
24458 			  "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
24459 			  "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
24460 			  "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
24461 			  "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
24462 			  "\x98\x03\xae\xe3\x28\x09\x1b\x58"
24463 			  "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
24464 			  "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
24465 			  "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
24466 			  "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
24467 			  "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
24468 			  "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
24469 			  "\x06\x91",
24470 		.rlen	= 130,
24471 	}, {
24472 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24473 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24474 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24475 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
24476 		.klen	= 32,
24477 		.iv	= "\x00\x00\x00\x00\x01\x02\x03\x04"
24478 			  "\x05\x06\x07\x08",
24479 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
24480 			  "\x00\x00\x4e\x91",
24481 		.alen	= 12,
24482 		.input	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24483 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
24484 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
24485 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24486 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24487 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
24488 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24489 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24490 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24491 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
24492 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
24493 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24494 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24495 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24496 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
24497 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24498 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
24499 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24500 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
24501 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24502 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
24503 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
24504 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24505 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
24506 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
24507 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
24508 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24509 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
24510 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24511 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
24512 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24513 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24514 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24515 			  "\x9d",
24516 		.ilen	= 265,
24517 		.result	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24518 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24519 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24520 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24521 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24522 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24523 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24524 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24525 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24526 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24527 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24528 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24529 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24530 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24531 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24532 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24533 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24534 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24535 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24536 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24537 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24538 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24539 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24540 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24541 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24542 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24543 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24544 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24545 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24546 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24547 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24548 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24549 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24550 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24551 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24552 			  "\x38",
24553 		.rlen	= 281,
24554 	},
24555 };
24556 
24557 static struct aead_testvec rfc7539_dec_tv_template[] = {
24558 	{
24559 		.key	= "\x80\x81\x82\x83\x84\x85\x86\x87"
24560 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24561 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
24562 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
24563 		.klen	= 32,
24564 		.iv	= "\x07\x00\x00\x00\x40\x41\x42\x43"
24565 			  "\x44\x45\x46\x47",
24566 		.assoc	= "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
24567 			  "\xc4\xc5\xc6\xc7",
24568 		.alen	= 12,
24569 		.input	= "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
24570 			  "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
24571 			  "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
24572 			  "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
24573 			  "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
24574 			  "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
24575 			  "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
24576 			  "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
24577 			  "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
24578 			  "\x98\x03\xae\xe3\x28\x09\x1b\x58"
24579 			  "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
24580 			  "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
24581 			  "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
24582 			  "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
24583 			  "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
24584 			  "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
24585 			  "\x06\x91",
24586 		.ilen	= 130,
24587 		.result	= "\x4c\x61\x64\x69\x65\x73\x20\x61"
24588 			  "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
24589 			  "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
24590 			  "\x74\x68\x65\x20\x63\x6c\x61\x73"
24591 			  "\x73\x20\x6f\x66\x20\x27\x39\x39"
24592 			  "\x3a\x20\x49\x66\x20\x49\x20\x63"
24593 			  "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
24594 			  "\x65\x72\x20\x79\x6f\x75\x20\x6f"
24595 			  "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
24596 			  "\x74\x69\x70\x20\x66\x6f\x72\x20"
24597 			  "\x74\x68\x65\x20\x66\x75\x74\x75"
24598 			  "\x72\x65\x2c\x20\x73\x75\x6e\x73"
24599 			  "\x63\x72\x65\x65\x6e\x20\x77\x6f"
24600 			  "\x75\x6c\x64\x20\x62\x65\x20\x69"
24601 			  "\x74\x2e",
24602 		.rlen	= 114,
24603 	}, {
24604 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24605 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24606 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24607 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
24608 		.klen	= 32,
24609 		.iv	= "\x00\x00\x00\x00\x01\x02\x03\x04"
24610 			  "\x05\x06\x07\x08",
24611 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
24612 			  "\x00\x00\x4e\x91",
24613 		.alen	= 12,
24614 		.input	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24615 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24616 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24617 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24618 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24619 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24620 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24621 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24622 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24623 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24624 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24625 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24626 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24627 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24628 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24629 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24630 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24631 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24632 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24633 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24634 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24635 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24636 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24637 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24638 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24639 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24640 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24641 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24642 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24643 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24644 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24645 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24646 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24647 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24648 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24649 			  "\x38",
24650 		.ilen	= 281,
24651 		.result	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24652 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
24653 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
24654 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24655 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24656 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
24657 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24658 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24659 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24660 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
24661 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
24662 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24663 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24664 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24665 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
24666 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24667 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
24668 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24669 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
24670 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24671 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
24672 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
24673 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24674 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
24675 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
24676 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
24677 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24678 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
24679 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24680 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
24681 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24682 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24683 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24684 			  "\x9d",
24685 		.rlen	= 265,
24686 	},
24687 };
24688 
24689 /*
24690  * draft-irtf-cfrg-chacha20-poly1305
24691  */
24692 #define RFC7539ESP_DEC_TEST_VECTORS 1
24693 #define RFC7539ESP_ENC_TEST_VECTORS 1
24694 static struct aead_testvec rfc7539esp_enc_tv_template[] = {
24695 	{
24696 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24697 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24698 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24699 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
24700 			  "\x00\x00\x00\x00",
24701 		.klen	= 36,
24702 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
24703 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
24704 			  "\x00\x00\x4e\x91\x01\x02\x03\x04"
24705 			  "\x05\x06\x07\x08",
24706 		.alen	= 20,
24707 		.input	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24708 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
24709 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
24710 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24711 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24712 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
24713 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24714 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24715 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24716 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
24717 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
24718 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24719 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24720 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24721 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
24722 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24723 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
24724 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24725 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
24726 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24727 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
24728 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
24729 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24730 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
24731 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
24732 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
24733 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24734 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
24735 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24736 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
24737 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24738 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24739 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24740 			  "\x9d",
24741 		.ilen	= 265,
24742 		.result	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24743 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24744 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24745 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24746 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24747 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24748 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24749 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24750 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24751 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24752 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24753 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24754 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24755 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24756 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24757 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24758 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24759 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24760 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24761 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24762 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24763 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24764 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24765 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24766 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24767 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24768 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24769 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24770 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24771 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24772 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24773 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24774 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24775 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24776 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24777 			  "\x38",
24778 		.rlen	= 281,
24779 	},
24780 };
24781 
24782 static struct aead_testvec rfc7539esp_dec_tv_template[] = {
24783 	{
24784 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24785 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24786 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24787 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
24788 			  "\x00\x00\x00\x00",
24789 		.klen	= 36,
24790 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
24791 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
24792 			  "\x00\x00\x4e\x91\x01\x02\x03\x04"
24793 			  "\x05\x06\x07\x08",
24794 		.alen	= 20,
24795 		.input	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24796 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24797 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24798 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24799 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24800 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24801 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24802 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24803 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24804 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24805 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24806 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24807 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24808 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24809 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24810 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24811 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24812 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24813 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24814 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24815 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24816 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24817 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24818 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24819 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24820 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24821 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24822 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24823 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24824 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24825 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24826 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24827 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24828 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24829 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24830 			  "\x38",
24831 		.ilen	= 281,
24832 		.result	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24833 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
24834 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
24835 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24836 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24837 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
24838 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24839 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24840 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24841 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
24842 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
24843 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24844 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24845 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24846 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
24847 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24848 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
24849 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24850 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
24851 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24852 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
24853 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
24854 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24855 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
24856 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
24857 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
24858 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24859 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
24860 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24861 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
24862 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24863 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24864 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24865 			  "\x9d",
24866 		.rlen	= 265,
24867 	},
24868 };
24869 
24870 /*
24871  * All key wrapping test vectors taken from
24872  * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
24873  *
24874  * Note: as documented in keywrap.c, the ivout for encryption is the first
24875  * semiblock of the ciphertext from the test vector. For decryption, iv is
24876  * the first semiblock of the ciphertext.
24877  */
24878 static struct cipher_testvec aes_kw_enc_tv_template[] = {
24879 	{
24880 		.key	= "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
24881 			  "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
24882 		.klen	= 16,
24883 		.input	= "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
24884 			  "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
24885 		.ilen	= 16,
24886 		.result	= "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
24887 			  "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
24888 		.rlen	= 16,
24889 		.iv_out	= "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
24890 	},
24891 };
24892 
24893 static struct cipher_testvec aes_kw_dec_tv_template[] = {
24894 	{
24895 		.key	= "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
24896 			  "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
24897 			  "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
24898 			  "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
24899 		.klen	= 32,
24900 		.input	= "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
24901 			  "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
24902 		.ilen	= 16,
24903 		.result	= "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
24904 			  "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
24905 		.rlen	= 16,
24906 		.iv	= "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
24907 	},
24908 };
24909 
24910 /*
24911  * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
24912  * test vectors, taken from Appendix B.2.9 and B.2.10:
24913  *     http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
24914  * Only AES-128 is supported at this time.
24915  */
24916 #define ANSI_CPRNG_AES_TEST_VECTORS	6
24917 
24918 static struct cprng_testvec ansi_cprng_aes_tv_template[] = {
24919 	{
24920 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24921 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24922 		.klen	= 16,
24923 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24924 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
24925 		.dtlen	= 16,
24926 		.v	= "\x80\x00\x00\x00\x00\x00\x00\x00"
24927 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24928 		.vlen	= 16,
24929 		.result	= "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
24930 			  "\x84\x79\x66\x85\xc1\x2f\x76\x41",
24931 		.rlen	= 16,
24932 		.loops	= 1,
24933 	}, {
24934 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24935 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24936 		.klen	= 16,
24937 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24938 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
24939 		.dtlen	= 16,
24940 		.v	= "\xc0\x00\x00\x00\x00\x00\x00\x00"
24941 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24942 		.vlen	= 16,
24943 		.result	= "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
24944 			  "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
24945 		.rlen	= 16,
24946 		.loops	= 1,
24947 	}, {
24948 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24949 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24950 		.klen	= 16,
24951 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24952 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
24953 		.dtlen	= 16,
24954 		.v	= "\xe0\x00\x00\x00\x00\x00\x00\x00"
24955 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24956 		.vlen	= 16,
24957 		.result	= "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
24958 			  "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
24959 		.rlen	= 16,
24960 		.loops	= 1,
24961 	}, {
24962 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24963 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24964 		.klen	= 16,
24965 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24966 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
24967 		.dtlen	= 16,
24968 		.v	= "\xf0\x00\x00\x00\x00\x00\x00\x00"
24969 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24970 		.vlen	= 16,
24971 		.result	= "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
24972 			  "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
24973 		.rlen	= 16,
24974 		.loops	= 1,
24975 	}, {
24976 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24977 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24978 		.klen	= 16,
24979 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24980 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
24981 		.dtlen	= 16,
24982 		.v	= "\xf8\x00\x00\x00\x00\x00\x00\x00"
24983 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24984 		.vlen	= 16,
24985 		.result	= "\x05\x25\x92\x46\x61\x79\xd2\xcb"
24986 			  "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
24987 		.rlen	= 16,
24988 		.loops	= 1,
24989 	}, {	/* Monte Carlo Test */
24990 		.key	= "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
24991 			  "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
24992 		.klen	= 16,
24993 		.dt	= "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
24994 			  "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
24995 		.dtlen	= 16,
24996 		.v	= "\x57\x2c\x8e\x76\x87\x26\x47\x97"
24997 			  "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
24998 		.vlen	= 16,
24999 		.result	= "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
25000 			  "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
25001 		.rlen	= 16,
25002 		.loops	= 10000,
25003 	},
25004 };
25005 
25006 /*
25007  * SP800-90A DRBG Test vectors from
25008  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
25009  *
25010  * Test vectors for DRBG with prediction resistance. All types of DRBGs
25011  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
25012  * w/o personalization string, w/ and w/o additional input string).
25013  */
25014 static struct drbg_testvec drbg_pr_sha256_tv_template[] = {
25015 	{
25016 		.entropy = (unsigned char *)
25017 			"\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
25018 			"\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
25019 			"\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
25020 			"\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
25021 		.entropylen = 48,
25022 		.entpra = (unsigned char *)
25023 			"\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
25024 			"\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
25025 			"\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
25026 		.entprb = (unsigned char *)
25027 			"\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
25028 			"\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
25029 			"\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
25030 		.entprlen = 32,
25031 		.expected = (unsigned char *)
25032 			"\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
25033 			"\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
25034 			"\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
25035 			"\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
25036 			"\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
25037 			"\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
25038 			"\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
25039 			"\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
25040 			"\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
25041 			"\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
25042 			"\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
25043 		.expectedlen = 128,
25044 		.addtla = NULL,
25045 		.addtlb = NULL,
25046 		.addtllen = 0,
25047 		.pers = NULL,
25048 		.perslen = 0,
25049 	}, {
25050 		.entropy = (unsigned char *)
25051 			"\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
25052 			"\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
25053 			"\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
25054 			"\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
25055 		.entropylen = 48,
25056 		.entpra = (unsigned char *)
25057 			"\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
25058 			"\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
25059 			"\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
25060 		.entprb = (unsigned char *)
25061 			"\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
25062 			"\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
25063 			"\x76\xaa\x55\x04\x8b\x0a\x72\x95",
25064 		.entprlen = 32,
25065 		.expected = (unsigned char *)
25066 			"\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
25067 			"\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
25068 			"\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
25069 			"\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
25070 			"\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
25071 			"\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
25072 			"\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
25073 			"\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
25074 			"\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
25075 			"\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
25076 			"\x50\x47\xa3\x63\x81\x16\xaf\x19",
25077 		.expectedlen = 128,
25078 		.addtla = (unsigned char *)
25079 			"\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
25080 			"\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
25081 			"\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
25082 		.addtlb = (unsigned char *)
25083 			"\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
25084 			"\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
25085 			"\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
25086 		.addtllen = 32,
25087 		.pers = NULL,
25088 		.perslen = 0,
25089 	}, {
25090 		.entropy = (unsigned char *)
25091 			"\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
25092 			"\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
25093 			"\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
25094 			"\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
25095 		.entropylen = 48,
25096 		.entpra = (unsigned char *)
25097 			"\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
25098 			"\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
25099 			"\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
25100 		.entprb = (unsigned char *)
25101 			"\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
25102 			"\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
25103 			"\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
25104 		.entprlen = 32,
25105 		.expected = (unsigned char *)
25106 			"\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
25107 			"\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
25108 			"\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
25109 			"\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
25110 			"\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
25111 			"\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
25112 			"\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
25113 			"\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
25114 			"\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
25115 			"\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
25116 			"\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
25117 		.expectedlen = 128,
25118 		.addtla = NULL,
25119 		.addtlb = NULL,
25120 		.addtllen = 0,
25121 		.pers = (unsigned char *)
25122 			"\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
25123 			"\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
25124 			"\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
25125 		.perslen = 32,
25126 	}, {
25127 		.entropy = (unsigned char *)
25128 			"\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
25129 			"\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
25130 			"\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
25131 			"\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
25132 		.entropylen = 48,
25133 		.entpra = (unsigned char *)
25134 			"\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
25135 			"\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
25136 			"\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
25137 		.entprb = (unsigned char *)
25138 			"\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
25139 			"\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
25140 			"\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
25141 		.entprlen = 32,
25142 		.expected = (unsigned char *)
25143 			"\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
25144 			"\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
25145 			"\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
25146 			"\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
25147 			"\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
25148 			"\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
25149 			"\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
25150 			"\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
25151 			"\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
25152 			"\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
25153 			"\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
25154 		.expectedlen = 128,
25155 		.addtla = (unsigned char *)
25156 			"\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
25157 			"\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
25158 			"\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
25159 		.addtlb = (unsigned char *)
25160 			"\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
25161 			"\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
25162 			"\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
25163 		.addtllen = 32,
25164 		.pers = (unsigned char *)
25165 			"\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
25166 			"\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
25167 			"\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
25168 		.perslen = 32,
25169 	},
25170 };
25171 
25172 static struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
25173 	{
25174 		.entropy = (unsigned char *)
25175 			"\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
25176 			"\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
25177 			"\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
25178 			"\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
25179 		.entropylen = 48,
25180 		.entpra = (unsigned char *)
25181 			"\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
25182 			"\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
25183 			"\xe2\x9a\x29\x51\x81\x56\x9f\x54",
25184 		.entprb = (unsigned char *)
25185 			"\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
25186 			"\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
25187 			"\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
25188 		.entprlen = 32,
25189 		.expected = (unsigned char *)
25190 			"\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
25191 			"\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
25192 			"\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
25193 			"\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
25194 			"\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
25195 			"\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
25196 			"\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
25197 			"\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
25198 			"\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
25199 			"\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
25200 			"\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
25201 		.expectedlen = 128,
25202 		.addtla = NULL,
25203 		.addtlb = NULL,
25204 		.addtllen = 0,
25205 		.pers = NULL,
25206 		.perslen = 0,
25207 	}, {
25208 		.entropy = (unsigned char *)
25209 			"\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
25210 			"\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
25211 			"\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
25212 			"\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
25213 		.entropylen = 48,
25214 		.entpra = (unsigned char *)
25215 			"\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
25216 			"\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
25217 			"\x46\xd9\x26\xa2\x19\xd4\x94\x43",
25218 		.entprb = (unsigned char *)
25219 			"\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
25220 			"\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
25221 			"\x51\x78\x72\xb2\x79\xfd\x2c\xff",
25222 		.entprlen = 32,
25223 		.expected = (unsigned char *)
25224 			"\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
25225 			"\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
25226 			"\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
25227 			"\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
25228 			"\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
25229 			"\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
25230 			"\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
25231 			"\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
25232 			"\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
25233 			"\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
25234 			"\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
25235 		.expectedlen = 128,
25236 		.addtla = (unsigned char *)
25237 			"\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
25238 			"\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
25239 			"\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
25240 		.addtlb = (unsigned char *)
25241 			"\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
25242 			"\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
25243 			"\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
25244 		.addtllen = 32,
25245 		.pers = NULL,
25246 		.perslen = 0,
25247 	}, {
25248 		.entropy = (unsigned char *)
25249 			"\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
25250 			"\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
25251 			"\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
25252 			"\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
25253 		.entropylen = 48,
25254 		.entpra = (unsigned char *)
25255 			"\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
25256 			"\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
25257 			"\x20\x28\xad\xf2\x60\xd7\xcd\x45",
25258 		.entprb = (unsigned char *)
25259 			"\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
25260 			"\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
25261 			"\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
25262 		.entprlen = 32,
25263 		.expected = (unsigned char *)
25264 			"\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
25265 			"\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
25266 			"\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
25267 			"\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
25268 			"\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
25269 			"\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
25270 			"\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
25271 			"\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
25272 			"\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
25273 			"\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
25274 			"\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
25275 		.expectedlen = 128,
25276 		.addtla = NULL,
25277 		.addtlb = NULL,
25278 		.addtllen = 0,
25279 		.pers = (unsigned char *)
25280 			"\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
25281 			"\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
25282 			"\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
25283 		.perslen = 32,
25284 	}, {
25285 		.entropy = (unsigned char *)
25286 			"\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
25287 			"\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
25288 			"\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
25289 			"\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
25290 		.entropylen = 48,
25291 		.entpra = (unsigned char *)
25292 			"\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
25293 			"\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
25294 			"\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
25295 		.entprb = (unsigned char *)
25296 			"\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
25297 			"\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
25298 			"\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
25299 		.entprlen = 32,
25300 		.expected = (unsigned char *)
25301 			"\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
25302 			"\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
25303 			"\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
25304 			"\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
25305 			"\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
25306 			"\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
25307 			"\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
25308 			"\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
25309 			"\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
25310 			"\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
25311 			"\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
25312 		.expectedlen = 128,
25313 		.addtla = (unsigned char *)
25314 			"\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
25315 			"\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
25316 			"\x86\x88\x55\x28\xc1\x69\xdd\x76",
25317 		.addtlb = (unsigned char *)
25318 			"\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
25319 			"\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
25320 			"\x00\x99\x2a\xdd\x0a\x00\x50\x82",
25321 		.addtllen = 32,
25322 		.pers = (unsigned char *)
25323 			"\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
25324 			"\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
25325 			"\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
25326 		.perslen = 32,
25327 	},
25328 };
25329 
25330 static struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
25331 	{
25332 		.entropy = (unsigned char *)
25333 			"\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
25334 			"\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
25335 		.entropylen = 24,
25336 		.entpra = (unsigned char *)
25337 			"\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
25338 			"\xb4\xec\x80\xb1",
25339 		.entprb = (unsigned char *)
25340 			"\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
25341 			"\x28\x07\xeb\xc2",
25342 		.entprlen = 16,
25343 		.expected = (unsigned char *)
25344 			"\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
25345 			"\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
25346 			"\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
25347 			"\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
25348 			"\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
25349 			"\x8a\xf1\x23\xa8",
25350 		.expectedlen = 64,
25351 		.addtla = NULL,
25352 		.addtlb = NULL,
25353 		.addtllen = 0,
25354 		.pers = NULL,
25355 		.perslen = 0,
25356 	}, {
25357 		.entropy = (unsigned char *)
25358 			"\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
25359 			"\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
25360 		.entropylen = 24,
25361 		.entpra = (unsigned char *)
25362 			"\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
25363 			"\x67\xd1\x08\xf8",
25364 		.entprb = (unsigned char *)
25365 			"\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
25366 			"\xd4\xba\x04\x58",
25367 		.entprlen = 16,
25368 		.expected = (unsigned char *)
25369 			"\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
25370 			"\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
25371 			"\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
25372 			"\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
25373 			"\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
25374 			"\xc1\x02\x41\x82",
25375 		.expectedlen = 64,
25376 		.addtla = (unsigned char *)
25377 			"\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
25378 			"\xeb\xb3\x01\x76",
25379 		.addtlb = (unsigned char *)
25380 			"\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
25381 			"\xd0\x7f\xcc\x43",
25382 		.addtllen = 16,
25383 		.pers = NULL,
25384 		.perslen = 0,
25385 	}, {
25386 		.entropy = (unsigned char *)
25387 			"\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
25388 			"\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
25389 		.entropylen = 24,
25390 		.entpra = (unsigned char *)
25391 			"\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
25392 			"\xc3\x0f\xe3\xb0",
25393 		.entprb = (unsigned char *)
25394 			"\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
25395 			"\xd6\x9c\x9d\xe8",
25396 		.entprlen = 16,
25397 		.expected = (unsigned char *)
25398 			"\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
25399 			"\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
25400 			"\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
25401 			"\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
25402 			"\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
25403 			"\x72\x82\x0c\xcf",
25404 		.expectedlen = 64,
25405 		.addtla = NULL,
25406 		.addtlb = NULL,
25407 		.addtllen = 0,
25408 		.pers = (unsigned char *)
25409 			"\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
25410 			"\x21\x52\xb3\xad",
25411 		.perslen = 16,
25412 	}, {
25413 		.entropy = (unsigned char *)
25414 			"\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
25415 			"\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
25416 		.entropylen = 24,
25417 		.entpra = (unsigned char *)
25418 			"\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
25419 			"\xc4\x2c\xe8\x10",
25420 		.entprb = (unsigned char *)
25421 			"\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
25422 			"\x08\xf7\xa5\x01",
25423 		.entprlen = 16,
25424 		.expected = (unsigned char *)
25425 			"\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
25426 			"\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
25427 			"\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
25428 			"\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
25429 			"\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
25430 			"\x23\xc5\x1f\x68",
25431 		.expectedlen = 64,
25432 		.addtla = (unsigned char *)
25433 			"\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
25434 			"\x23\x6d\xad\x1d",
25435 		.addtlb = (unsigned char *)
25436 			"\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
25437 			"\xbc\x59\x31\x8c",
25438 		.addtllen = 16,
25439 		.pers = (unsigned char *)
25440 			"\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
25441 			"\x37\x3c\x5c\x0b",
25442 		.perslen = 16,
25443 	},
25444 };
25445 
25446 /*
25447  * SP800-90A DRBG Test vectors from
25448  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
25449  *
25450  * Test vectors for DRBG without prediction resistance. All types of DRBGs
25451  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
25452  * w/o personalization string, w/ and w/o additional input string).
25453  */
25454 static struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
25455 	{
25456 		.entropy = (unsigned char *)
25457 			"\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
25458 			"\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
25459 			"\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
25460 			"\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
25461 		.entropylen = 48,
25462 		.expected = (unsigned char *)
25463 			"\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
25464 			"\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
25465 			"\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
25466 			"\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
25467 			"\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
25468 			"\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
25469 			"\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
25470 			"\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
25471 			"\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
25472 			"\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
25473 			"\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
25474 		.expectedlen = 128,
25475 		.addtla = NULL,
25476 		.addtlb = NULL,
25477 		.addtllen = 0,
25478 		.pers = NULL,
25479 		.perslen = 0,
25480 	}, {
25481 		.entropy = (unsigned char *)
25482 			"\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
25483 			"\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
25484 			"\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
25485 			"\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
25486 		.entropylen = 48,
25487 		.expected = (unsigned char *)
25488 			"\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
25489 			"\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
25490 			"\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
25491 			"\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
25492 			"\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
25493 			"\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
25494 			"\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
25495 			"\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
25496 			"\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
25497 			"\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
25498 			"\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
25499 		.expectedlen = 128,
25500 		.addtla = (unsigned char *)
25501 			"\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
25502 			"\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
25503 			"\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
25504 		.addtlb = (unsigned char *)
25505 			"\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
25506 			"\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
25507 			"\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
25508 		.addtllen = 32,
25509 		.pers = NULL,
25510 		.perslen = 0,
25511 	}, {
25512 		.entropy = (unsigned char *)
25513 			"\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
25514 			"\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
25515 			"\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
25516 			"\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
25517 		.entropylen = 48,
25518 		.expected = (unsigned char *)
25519 			"\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
25520 			"\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
25521 			"\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
25522 			"\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
25523 			"\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
25524 			"\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
25525 			"\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
25526 			"\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
25527 			"\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
25528 			"\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
25529 			"\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
25530 		.expectedlen = 128,
25531 		.addtla = NULL,
25532 		.addtlb = NULL,
25533 		.addtllen = 0,
25534 		.pers = (unsigned char *)
25535 			"\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
25536 			"\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
25537 			"\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
25538 		.perslen = 32,
25539 	}, {
25540 		.entropy = (unsigned char *)
25541 			"\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
25542 			"\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
25543 			"\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
25544 			"\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
25545 		.entropylen = 48,
25546 		.expected = (unsigned char *)
25547 			"\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
25548 			"\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
25549 			"\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
25550 			"\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
25551 			"\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
25552 			"\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
25553 			"\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
25554 			"\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
25555 			"\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
25556 			"\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
25557 			"\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
25558 		.expectedlen = 128,
25559 		.addtla = (unsigned char *)
25560 			"\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
25561 			"\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
25562 			"\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
25563 		.addtlb = (unsigned char *)
25564 			"\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
25565 			"\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
25566 			"\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
25567 		.addtllen = 32,
25568 		.pers = (unsigned char *)
25569 			"\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
25570 			"\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
25571 			"\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
25572 		.perslen = 32,
25573 	},
25574 };
25575 
25576 static struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
25577 	{
25578 		.entropy = (unsigned char *)
25579 			"\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
25580 			"\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
25581 			"\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
25582 			"\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
25583 		.entropylen = 48,
25584 		.expected = (unsigned char *)
25585 			"\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
25586 			"\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
25587 			"\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
25588 			"\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
25589 			"\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
25590 			"\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
25591 			"\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
25592 			"\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
25593 			"\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
25594 			"\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
25595 			"\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
25596 		.expectedlen = 128,
25597 		.addtla = NULL,
25598 		.addtlb = NULL,
25599 		.addtllen = 0,
25600 		.pers = NULL,
25601 		.perslen = 0,
25602 	}, {
25603 		.entropy = (unsigned char *)
25604 			"\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
25605 			"\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
25606 			"\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
25607 			"\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
25608 		.entropylen = 48,
25609 		.expected = (unsigned char *)
25610 			"\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
25611 			"\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
25612 			"\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
25613 			"\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
25614 			"\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
25615 			"\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
25616 			"\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
25617 			"\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
25618 			"\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
25619 			"\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
25620 			"\x50\x9a\x8c\x85\x90\x87\x03\x9c",
25621 		.expectedlen = 128,
25622 		.addtla = (unsigned char *)
25623 			"\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
25624 			"\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
25625 			"\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
25626 		.addtlb = (unsigned char *)
25627 			"\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
25628 			"\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
25629 			"\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
25630 		.addtllen = 32,
25631 		.pers = NULL,
25632 		.perslen = 0,
25633 	}, {
25634 		.entropy = (unsigned char *)
25635 			"\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
25636 			"\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
25637 			"\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
25638 			"\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
25639 		.entropylen = 48,
25640 		.expected = (unsigned char *)
25641 			"\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
25642 			"\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
25643 			"\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
25644 			"\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
25645 			"\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
25646 			"\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
25647 			"\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
25648 			"\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
25649 			"\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
25650 			"\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
25651 			"\x10\x37\x41\x03\x0c\xcc\x3a\x56",
25652 		.expectedlen = 128,
25653 		.addtla = NULL,
25654 		.addtlb = NULL,
25655 		.addtllen = 0,
25656 		.pers = (unsigned char *)
25657 			"\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
25658 			"\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
25659 			"\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
25660 		.perslen = 32,
25661 	}, {
25662 		.entropy = (unsigned char *)
25663 			"\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
25664 			"\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
25665 			"\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
25666 			"\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
25667 		.entropylen = 48,
25668 		.expected = (unsigned char *)
25669 			"\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
25670 			"\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
25671 			"\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
25672 			"\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
25673 			"\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
25674 			"\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
25675 			"\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
25676 			"\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
25677 			"\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
25678 			"\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
25679 			"\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
25680 		.expectedlen = 128,
25681 		.addtla = (unsigned char *)
25682 			"\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
25683 			"\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
25684 			"\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
25685 		.addtlb = (unsigned char *)
25686 			"\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
25687 			"\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
25688 			"\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
25689 		.addtllen = 32,
25690 		.pers = (unsigned char *)
25691 			"\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
25692 			"\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
25693 			"\x36\x60\x3b\xca\x37\xc9\xee\x29",
25694 		.perslen = 32,
25695 	},
25696 };
25697 
25698 static struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
25699 	{
25700 		.entropy = (unsigned char *)
25701 			"\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
25702 			"\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
25703 			"\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
25704 			"\xac\x9b\xbb\x00",
25705 		.entropylen = 40,
25706 		.expected = (unsigned char *)
25707 			"\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
25708 			"\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
25709 			"\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
25710 			"\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
25711 			"\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
25712 			"\x9a\x9d\xf1\x0d",
25713 		.expectedlen = 64,
25714 		.addtla = NULL,
25715 		.addtlb = NULL,
25716 		.addtllen = 0,
25717 		.pers = NULL,
25718 		.perslen = 0,
25719 	},
25720 };
25721 
25722 static struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
25723 	{
25724 		.entropy = (unsigned char *)
25725 			"\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
25726 			"\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
25727 			"\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
25728 			"\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
25729 		.entropylen = 48,
25730 		.expected = (unsigned char *)
25731 			"\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
25732 			"\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
25733 			"\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
25734 			"\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
25735 			"\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
25736 			"\xb4\xf0\x7e\x1d",
25737 		.expectedlen = 64,
25738 		.addtla = NULL,
25739 		.addtlb = NULL,
25740 		.addtllen = 0,
25741 		.pers = NULL,
25742 		.perslen = 0,
25743 	},
25744 };
25745 
25746 static struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
25747 	{
25748 		.entropy = (unsigned char *)
25749 			"\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
25750 			"\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
25751 		.entropylen = 24,
25752 		.expected = (unsigned char *)
25753 			"\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
25754 			"\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
25755 			"\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
25756 			"\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
25757 			"\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
25758 			"\xcb\x2d\xd6\xb0",
25759 		.expectedlen = 64,
25760 		.addtla = NULL,
25761 		.addtlb = NULL,
25762 		.addtllen = 0,
25763 		.pers = NULL,
25764 		.perslen = 0,
25765 	}, {
25766 		.entropy = (unsigned char *)
25767 			"\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
25768 			"\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
25769 		.entropylen = 24,
25770 		.expected = (unsigned char *)
25771 			"\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
25772 			"\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
25773 			"\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
25774 			"\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
25775 			"\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
25776 			"\xc3\xdf\xb3\x81",
25777 		.expectedlen = 64,
25778 		.addtla = (unsigned char *)
25779 			"\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
25780 			"\x91\x4d\x81\x56",
25781 		.addtlb = (unsigned char *)
25782 			"\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
25783 			"\x4a\x55\xd1\xc6",
25784 		.addtllen = 16,
25785 		.pers = NULL,
25786 		.perslen = 0,
25787 	}, {
25788 		.entropy = (unsigned char *)
25789 			"\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
25790 			"\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
25791 		.entropylen = 24,
25792 		.expected = (unsigned char *)
25793 			"\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
25794 			"\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
25795 			"\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
25796 			"\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
25797 			"\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
25798 			"\x34\x30\x0c\x3d",
25799 		.expectedlen = 64,
25800 		.addtla = NULL,
25801 		.addtlb = NULL,
25802 		.addtllen = 0,
25803 		.pers = (unsigned char *)
25804 			"\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
25805 			"\x0b\xc6\x97\x54",
25806 		.perslen = 16,
25807 	}, {
25808 		.entropy = (unsigned char *)
25809 			"\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
25810 			"\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
25811 		.entropylen = 24,
25812 		.expected = (unsigned char *)
25813 			"\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
25814 			"\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
25815 			"\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
25816 			"\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
25817 			"\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
25818 			"\x2b\x49\x1e\x5c",
25819 		.expectedlen = 64,
25820 		.addtla = (unsigned char *)
25821 			"\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
25822 			"\x44\x85\xe7\xfe",
25823 		.addtlb = (unsigned char *)
25824 			"\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
25825 			"\x82\x16\x62\x7f",
25826 		.addtllen = 16,
25827 		.pers = (unsigned char *)
25828 			"\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
25829 			"\x8e\xcf\xe0\x02",
25830 		.perslen = 16,
25831 	},
25832 };
25833 
25834 /* Cast5 test vectors from RFC 2144 */
25835 #define CAST5_ENC_TEST_VECTORS		4
25836 #define CAST5_DEC_TEST_VECTORS		4
25837 #define CAST5_CBC_ENC_TEST_VECTORS	1
25838 #define CAST5_CBC_DEC_TEST_VECTORS	1
25839 #define CAST5_CTR_ENC_TEST_VECTORS	2
25840 #define CAST5_CTR_DEC_TEST_VECTORS	2
25841 
25842 static struct cipher_testvec cast5_enc_tv_template[] = {
25843 	{
25844 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
25845 			  "\x23\x45\x67\x89\x34\x56\x78\x9a",
25846 		.klen	= 16,
25847 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
25848 		.ilen	= 8,
25849 		.result	= "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
25850 		.rlen	= 8,
25851 	}, {
25852 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
25853 			  "\x23\x45",
25854 		.klen	= 10,
25855 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
25856 		.ilen	= 8,
25857 		.result	= "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
25858 		.rlen	= 8,
25859 	}, {
25860 		.key	= "\x01\x23\x45\x67\x12",
25861 		.klen	= 5,
25862 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
25863 		.ilen	= 8,
25864 		.result	= "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
25865 		.rlen	= 8,
25866 	}, { /* Generated from TF test vectors */
25867 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25868 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
25869 		.klen	= 16,
25870 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
25871 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25872 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25873 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25874 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25875 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25876 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25877 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25878 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25879 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25880 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25881 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25882 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25883 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25884 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25885 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25886 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25887 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25888 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25889 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25890 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25891 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25892 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25893 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25894 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25895 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25896 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25897 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25898 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25899 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25900 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25901 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25902 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25903 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25904 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25905 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25906 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25907 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25908 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25909 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25910 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25911 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25912 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25913 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25914 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25915 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25916 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25917 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25918 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25919 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25920 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25921 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25922 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25923 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25924 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25925 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25926 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25927 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25928 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25929 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25930 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25931 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25932 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
25933 		.ilen	= 496,
25934 		.result	= "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
25935 			  "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
25936 			  "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
25937 			  "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
25938 			  "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
25939 			  "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
25940 			  "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
25941 			  "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
25942 			  "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
25943 			  "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
25944 			  "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
25945 			  "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
25946 			  "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
25947 			  "\xED\x34\x35\x78\x6B\x91\xC9\x32"
25948 			  "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
25949 			  "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
25950 			  "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
25951 			  "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
25952 			  "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
25953 			  "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
25954 			  "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
25955 			  "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
25956 			  "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
25957 			  "\x78\x75\x37\x55\xC1\xF5\x90\x40"
25958 			  "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
25959 			  "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
25960 			  "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
25961 			  "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
25962 			  "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
25963 			  "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
25964 			  "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
25965 			  "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
25966 			  "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
25967 			  "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
25968 			  "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
25969 			  "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
25970 			  "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
25971 			  "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
25972 			  "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
25973 			  "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
25974 			  "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
25975 			  "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
25976 			  "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
25977 			  "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
25978 			  "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
25979 			  "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
25980 			  "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
25981 			  "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
25982 			  "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
25983 			  "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
25984 			  "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
25985 			  "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
25986 			  "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
25987 			  "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
25988 			  "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
25989 			  "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
25990 			  "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
25991 			  "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
25992 			  "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
25993 			  "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
25994 			  "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
25995 			  "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
25996 		.rlen	= 496,
25997 		.also_non_np = 1,
25998 		.np	= 3,
25999 		.tap	= { 496 - 20, 4, 16 },
26000 	},
26001 };
26002 
26003 static struct cipher_testvec cast5_dec_tv_template[] = {
26004 	{
26005 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
26006 			  "\x23\x45\x67\x89\x34\x56\x78\x9a",
26007 		.klen	= 16,
26008 		.input	= "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
26009 		.ilen	= 8,
26010 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26011 		.rlen	= 8,
26012 	}, {
26013 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
26014 			  "\x23\x45",
26015 		.klen	= 10,
26016 		.input	= "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
26017 		.ilen	= 8,
26018 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26019 		.rlen	= 8,
26020 	}, {
26021 		.key	= "\x01\x23\x45\x67\x12",
26022 		.klen	= 5,
26023 		.input	= "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
26024 		.ilen	= 8,
26025 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26026 		.rlen	= 8,
26027 	}, { /* Generated from TF test vectors */
26028 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26029 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26030 		.klen	= 16,
26031 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26032 		.input	= "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
26033 			  "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
26034 			  "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
26035 			  "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
26036 			  "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
26037 			  "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
26038 			  "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
26039 			  "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
26040 			  "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
26041 			  "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
26042 			  "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
26043 			  "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
26044 			  "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
26045 			  "\xED\x34\x35\x78\x6B\x91\xC9\x32"
26046 			  "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
26047 			  "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
26048 			  "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
26049 			  "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
26050 			  "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
26051 			  "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
26052 			  "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
26053 			  "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
26054 			  "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
26055 			  "\x78\x75\x37\x55\xC1\xF5\x90\x40"
26056 			  "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
26057 			  "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
26058 			  "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
26059 			  "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
26060 			  "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
26061 			  "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
26062 			  "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
26063 			  "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
26064 			  "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
26065 			  "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
26066 			  "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
26067 			  "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
26068 			  "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
26069 			  "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
26070 			  "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
26071 			  "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
26072 			  "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
26073 			  "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
26074 			  "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
26075 			  "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
26076 			  "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
26077 			  "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
26078 			  "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
26079 			  "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
26080 			  "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
26081 			  "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
26082 			  "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
26083 			  "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
26084 			  "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
26085 			  "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
26086 			  "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
26087 			  "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
26088 			  "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
26089 			  "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
26090 			  "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
26091 			  "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
26092 			  "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
26093 			  "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
26094 		.ilen	= 496,
26095 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26096 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26097 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26098 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26099 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26100 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26101 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26102 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26103 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26104 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26105 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26106 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26107 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26108 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26109 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26110 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26111 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26112 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26113 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26114 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26115 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26116 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26117 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26118 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26119 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26120 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26121 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26122 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26123 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26124 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26125 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26126 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26127 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26128 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26129 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26130 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26131 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26132 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26133 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26134 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26135 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26136 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26137 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26138 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26139 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26140 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26141 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26142 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26143 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26144 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26145 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26146 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26147 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26148 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26149 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26150 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26151 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26152 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26153 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26154 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26155 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26156 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26157 		.rlen	= 496,
26158 		.also_non_np = 1,
26159 		.np	= 3,
26160 		.tap	= { 496 - 20, 4, 16 },
26161 	},
26162 };
26163 
26164 static struct cipher_testvec cast5_cbc_enc_tv_template[] = {
26165 	{ /* Generated from TF test vectors */
26166 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26167 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26168 		.klen	= 16,
26169 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26170 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26171 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26172 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26173 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26174 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26175 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26176 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26177 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26178 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26179 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26180 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26181 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26182 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26183 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26184 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26185 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26186 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26187 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26188 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26189 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26190 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26191 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26192 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26193 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26194 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26195 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26196 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26197 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26198 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26199 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26200 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26201 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26202 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26203 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26204 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26205 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26206 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26207 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26208 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26209 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26210 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26211 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26212 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26213 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26214 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26215 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26216 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26217 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26218 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26219 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26220 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26221 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26222 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26223 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26224 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26225 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26226 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26227 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26228 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26229 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26230 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26231 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26232 		.ilen	= 496,
26233 		.result	= "\x05\x28\xCE\x61\x90\x80\xE1\x78"
26234 			  "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
26235 			  "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
26236 			  "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
26237 			  "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
26238 			  "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
26239 			  "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
26240 			  "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
26241 			  "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
26242 			  "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
26243 			  "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
26244 			  "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
26245 			  "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
26246 			  "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
26247 			  "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
26248 			  "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
26249 			  "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
26250 			  "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
26251 			  "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
26252 			  "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
26253 			  "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
26254 			  "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
26255 			  "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
26256 			  "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
26257 			  "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
26258 			  "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
26259 			  "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
26260 			  "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
26261 			  "\x90\x12\x37\x49\x27\x98\x69\x18"
26262 			  "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
26263 			  "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
26264 			  "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
26265 			  "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
26266 			  "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
26267 			  "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
26268 			  "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
26269 			  "\x03\x55\x0E\x02\x41\x4A\x45\x06"
26270 			  "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
26271 			  "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
26272 			  "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
26273 			  "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
26274 			  "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
26275 			  "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
26276 			  "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
26277 			  "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
26278 			  "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
26279 			  "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
26280 			  "\x11\xB4\x18\x17\x1A\x65\x92\x56"
26281 			  "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
26282 			  "\x1A\x01\x22\x45\x17\x62\x52\x6C"
26283 			  "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
26284 			  "\x32\x66\x6F\x23\x7F\x94\x36\x88"
26285 			  "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
26286 			  "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
26287 			  "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
26288 			  "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
26289 			  "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
26290 			  "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
26291 			  "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
26292 			  "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
26293 			  "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
26294 			  "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
26295 		.rlen	= 496,
26296 		.also_non_np = 1,
26297 		.np	= 3,
26298 		.tap	= { 496 - 20, 4, 16 },
26299 	},
26300 };
26301 
26302 static struct cipher_testvec cast5_cbc_dec_tv_template[] = {
26303 	{ /* Generated from TF test vectors */
26304 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26305 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26306 		.klen	= 16,
26307 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26308 		.input	= "\x05\x28\xCE\x61\x90\x80\xE1\x78"
26309 			  "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
26310 			  "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
26311 			  "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
26312 			  "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
26313 			  "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
26314 			  "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
26315 			  "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
26316 			  "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
26317 			  "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
26318 			  "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
26319 			  "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
26320 			  "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
26321 			  "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
26322 			  "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
26323 			  "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
26324 			  "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
26325 			  "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
26326 			  "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
26327 			  "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
26328 			  "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
26329 			  "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
26330 			  "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
26331 			  "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
26332 			  "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
26333 			  "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
26334 			  "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
26335 			  "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
26336 			  "\x90\x12\x37\x49\x27\x98\x69\x18"
26337 			  "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
26338 			  "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
26339 			  "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
26340 			  "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
26341 			  "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
26342 			  "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
26343 			  "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
26344 			  "\x03\x55\x0E\x02\x41\x4A\x45\x06"
26345 			  "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
26346 			  "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
26347 			  "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
26348 			  "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
26349 			  "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
26350 			  "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
26351 			  "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
26352 			  "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
26353 			  "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
26354 			  "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
26355 			  "\x11\xB4\x18\x17\x1A\x65\x92\x56"
26356 			  "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
26357 			  "\x1A\x01\x22\x45\x17\x62\x52\x6C"
26358 			  "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
26359 			  "\x32\x66\x6F\x23\x7F\x94\x36\x88"
26360 			  "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
26361 			  "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
26362 			  "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
26363 			  "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
26364 			  "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
26365 			  "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
26366 			  "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
26367 			  "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
26368 			  "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
26369 			  "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
26370 		.ilen	= 496,
26371 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26372 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26373 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26374 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26375 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26376 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26377 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26378 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26379 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26380 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26381 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26382 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26383 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26384 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26385 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26386 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26387 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26388 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26389 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26390 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26391 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26392 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26393 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26394 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26395 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26396 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26397 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26398 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26399 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26400 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26401 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26402 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26403 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26404 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26405 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26406 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26407 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26408 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26409 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26410 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26411 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26412 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26413 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26414 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26415 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26416 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26417 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26418 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26419 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26420 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26421 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26422 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26423 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26424 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26425 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26426 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26427 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26428 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26429 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26430 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26431 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26432 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26433 		.rlen	= 496,
26434 		.also_non_np = 1,
26435 		.np	= 3,
26436 		.tap	= { 496 - 20, 4, 16 },
26437 	},
26438 };
26439 
26440 static struct cipher_testvec cast5_ctr_enc_tv_template[] = {
26441 	{ /* Generated from TF test vectors */
26442 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26443 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26444 		.klen	= 16,
26445 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26446 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26447 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26448 			  "\x3A",
26449 		.ilen	= 17,
26450 		.result	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26451 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26452 			  "\x0C",
26453 		.rlen	= 17,
26454 	}, { /* Generated from TF test vectors */
26455 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26456 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26457 		.klen	= 16,
26458 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26459 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26460 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26461 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26462 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26463 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26464 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26465 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26466 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26467 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26468 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26469 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26470 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26471 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26472 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26473 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26474 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26475 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26476 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26477 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26478 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26479 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26480 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26481 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26482 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26483 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26484 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26485 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26486 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26487 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26488 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26489 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26490 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26491 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26492 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26493 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26494 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26495 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26496 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26497 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26498 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26499 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26500 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26501 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26502 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26503 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26504 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26505 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26506 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26507 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26508 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26509 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26510 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26511 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26512 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26513 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26514 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26515 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26516 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26517 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26518 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26519 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26520 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26521 		.ilen	= 496,
26522 		.result	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26523 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26524 			  "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
26525 			  "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
26526 			  "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
26527 			  "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
26528 			  "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
26529 			  "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
26530 			  "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
26531 			  "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
26532 			  "\x88\x18\x52\x56\x48\x58\xD1\x6B"
26533 			  "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
26534 			  "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
26535 			  "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
26536 			  "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
26537 			  "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
26538 			  "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
26539 			  "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
26540 			  "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
26541 			  "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
26542 			  "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
26543 			  "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
26544 			  "\x44\x67\x90\x20\xAC\x41\xDF\x43"
26545 			  "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
26546 			  "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
26547 			  "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
26548 			  "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
26549 			  "\xAE\x59\x0F\x07\x88\x79\x53\x26"
26550 			  "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
26551 			  "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
26552 			  "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
26553 			  "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
26554 			  "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
26555 			  "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
26556 			  "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
26557 			  "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
26558 			  "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
26559 			  "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
26560 			  "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
26561 			  "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
26562 			  "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
26563 			  "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
26564 			  "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
26565 			  "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
26566 			  "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
26567 			  "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
26568 			  "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
26569 			  "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
26570 			  "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
26571 			  "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
26572 			  "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
26573 			  "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
26574 			  "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
26575 			  "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
26576 			  "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
26577 			  "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
26578 			  "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
26579 			  "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
26580 			  "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
26581 			  "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
26582 			  "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
26583 			  "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
26584 		.rlen	= 496,
26585 		.also_non_np = 1,
26586 		.np	= 3,
26587 		.tap	= { 496 - 20, 4, 16 },
26588 	},
26589 };
26590 
26591 static struct cipher_testvec cast5_ctr_dec_tv_template[] = {
26592 	{ /* Generated from TF test vectors */
26593 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26594 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26595 		.klen	= 16,
26596 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26597 		.input	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26598 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26599 			  "\x0C",
26600 		.ilen	= 17,
26601 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26602 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26603 			  "\x3A",
26604 		.rlen	= 17,
26605 	}, { /* Generated from TF test vectors */
26606 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26607 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26608 		.klen	= 16,
26609 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26610 		.input	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26611 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26612 			  "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
26613 			  "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
26614 			  "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
26615 			  "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
26616 			  "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
26617 			  "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
26618 			  "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
26619 			  "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
26620 			  "\x88\x18\x52\x56\x48\x58\xD1\x6B"
26621 			  "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
26622 			  "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
26623 			  "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
26624 			  "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
26625 			  "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
26626 			  "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
26627 			  "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
26628 			  "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
26629 			  "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
26630 			  "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
26631 			  "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
26632 			  "\x44\x67\x90\x20\xAC\x41\xDF\x43"
26633 			  "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
26634 			  "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
26635 			  "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
26636 			  "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
26637 			  "\xAE\x59\x0F\x07\x88\x79\x53\x26"
26638 			  "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
26639 			  "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
26640 			  "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
26641 			  "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
26642 			  "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
26643 			  "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
26644 			  "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
26645 			  "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
26646 			  "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
26647 			  "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
26648 			  "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
26649 			  "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
26650 			  "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
26651 			  "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
26652 			  "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
26653 			  "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
26654 			  "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
26655 			  "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
26656 			  "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
26657 			  "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
26658 			  "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
26659 			  "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
26660 			  "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
26661 			  "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
26662 			  "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
26663 			  "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
26664 			  "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
26665 			  "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
26666 			  "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
26667 			  "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
26668 			  "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
26669 			  "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
26670 			  "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
26671 			  "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
26672 		.ilen	= 496,
26673 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26674 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26675 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26676 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26677 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26678 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26679 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26680 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26681 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26682 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26683 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26684 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26685 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26686 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26687 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26688 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26689 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26690 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26691 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26692 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26693 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26694 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26695 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26696 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26697 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26698 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26699 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26700 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26701 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26702 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26703 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26704 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26705 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26706 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26707 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26708 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26709 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26710 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26711 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26712 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26713 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26714 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26715 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26716 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26717 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26718 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26719 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26720 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26721 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26722 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26723 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26724 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26725 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26726 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26727 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26728 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26729 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26730 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26731 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26732 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26733 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26734 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26735 		.rlen	= 496,
26736 		.also_non_np = 1,
26737 		.np	= 3,
26738 		.tap	= { 496 - 20, 4, 16 },
26739 	},
26740 };
26741 
26742 /*
26743  * ARC4 test vectors from OpenSSL
26744  */
26745 #define ARC4_ENC_TEST_VECTORS	7
26746 #define ARC4_DEC_TEST_VECTORS	7
26747 
26748 static struct cipher_testvec arc4_enc_tv_template[] = {
26749 	{
26750 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26751 		.klen	= 8,
26752 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26753 		.ilen	= 8,
26754 		.result	= "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
26755 		.rlen	= 8,
26756 	}, {
26757 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26758 		.klen	= 8,
26759 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26760 		.ilen	= 8,
26761 		.result	= "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
26762 		.rlen	= 8,
26763 	}, {
26764 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26765 		.klen	= 8,
26766 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26767 		.ilen	= 8,
26768 		.result	= "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
26769 		.rlen	= 8,
26770 	}, {
26771 		.key	= "\xef\x01\x23\x45",
26772 		.klen	= 4,
26773 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
26774 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
26775 			  "\x00\x00\x00\x00",
26776 		.ilen	= 20,
26777 		.result	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26778 			  "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
26779 			  "\x36\xb6\x78\x58",
26780 		.rlen	= 20,
26781 	}, {
26782 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26783 		.klen	= 8,
26784 		.input	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26785 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26786 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26787 			  "\x12\x34\x56\x78",
26788 		.ilen	= 28,
26789 		.result	= "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
26790 			  "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
26791 			  "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
26792 			  "\x40\x01\x1e\xcf",
26793 		.rlen	= 28,
26794 	}, {
26795 		.key	= "\xef\x01\x23\x45",
26796 		.klen	= 4,
26797 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
26798 			  "\x00\x00",
26799 		.ilen	= 10,
26800 		.result	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26801 			  "\xbd\x61",
26802 		.rlen	= 10,
26803 	}, {
26804 		.key	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
26805 			"\x00\x00\x00\x00\x00\x00\x00\x00",
26806 		.klen	= 16,
26807 		.input	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
26808 		.ilen	= 8,
26809 		.result	= "\x69\x72\x36\x59\x1B\x52\x42\xB1",
26810 		.rlen	= 8,
26811 	},
26812 };
26813 
26814 static struct cipher_testvec arc4_dec_tv_template[] = {
26815 	{
26816 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26817 		.klen	= 8,
26818 		.input	= "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
26819 		.ilen	= 8,
26820 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26821 		.rlen	= 8,
26822 	}, {
26823 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26824 		.klen	= 8,
26825 		.input	= "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
26826 		.ilen	= 8,
26827 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26828 		.rlen	= 8,
26829 	}, {
26830 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26831 		.klen	= 8,
26832 		.input	= "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
26833 		.ilen	= 8,
26834 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26835 		.rlen	= 8,
26836 	}, {
26837 		.key	= "\xef\x01\x23\x45",
26838 		.klen	= 4,
26839 		.input	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26840 			  "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
26841 			  "\x36\xb6\x78\x58",
26842 		.ilen	= 20,
26843 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
26844 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
26845 			  "\x00\x00\x00\x00",
26846 		.rlen	= 20,
26847 	}, {
26848 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26849 		.klen	= 8,
26850 		.input	= "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
26851 			  "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
26852 			  "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
26853 			  "\x40\x01\x1e\xcf",
26854 		.ilen	= 28,
26855 		.result	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26856 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26857 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26858 			  "\x12\x34\x56\x78",
26859 		.rlen	= 28,
26860 	}, {
26861 		.key	= "\xef\x01\x23\x45",
26862 		.klen	= 4,
26863 		.input	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26864 			  "\xbd\x61",
26865 		.ilen	= 10,
26866 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
26867 			  "\x00\x00",
26868 		.rlen	= 10,
26869 	}, {
26870 		.key	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
26871 			"\x00\x00\x00\x00\x00\x00\x00\x00",
26872 		.klen	= 16,
26873 		.input	= "\x69\x72\x36\x59\x1B\x52\x42\xB1",
26874 		.ilen	= 8,
26875 		.result	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
26876 		.rlen	= 8,
26877 	},
26878 };
26879 
26880 /*
26881  * TEA test vectors
26882  */
26883 #define TEA_ENC_TEST_VECTORS	4
26884 #define TEA_DEC_TEST_VECTORS	4
26885 
26886 static struct cipher_testvec tea_enc_tv_template[] = {
26887 	{
26888 		.key    = zeroed_string,
26889 		.klen	= 16,
26890 		.input  = zeroed_string,
26891 		.ilen	= 8,
26892 		.result	= "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
26893 		.rlen	= 8,
26894 	}, {
26895 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
26896 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26897 		.klen	= 16,
26898 		.input	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26899 		.ilen	= 8,
26900 		.result	= "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
26901 		.rlen	= 8,
26902 	}, {
26903 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
26904 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26905 		.klen	= 16,
26906 		.input	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26907 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
26908 		.ilen	= 16,
26909 		.result	= "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
26910 			  "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
26911 		.rlen	= 16,
26912 	}, {
26913 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
26914 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
26915 		.klen	= 16,
26916 		.input	= "\x54\x65\x61\x20\x69\x73\x20\x67"
26917 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
26918 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
26919 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
26920 		.ilen	= 32,
26921 		.result	= "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
26922 			  "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
26923 			  "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
26924 			  "\x07\x89\x73\xc2\x45\x92\xc6\x90",
26925 		.rlen	= 32,
26926 	}
26927 };
26928 
26929 static struct cipher_testvec tea_dec_tv_template[] = {
26930 	{
26931 		.key    = zeroed_string,
26932 		.klen	= 16,
26933 		.input	= "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
26934 		.ilen	= 8,
26935 		.result = zeroed_string,
26936 		.rlen	= 8,
26937 	}, {
26938 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
26939 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26940 		.klen	= 16,
26941 		.input	= "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
26942 		.ilen	= 8,
26943 		.result	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26944 		.rlen	= 8,
26945 	}, {
26946 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
26947 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26948 		.klen	= 16,
26949 		.input	= "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
26950 			  "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
26951 		.ilen   = 16,
26952 		.result	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26953 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
26954 		.rlen	= 16,
26955 	}, {
26956 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
26957 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
26958 		.klen	= 16,
26959 		.input	= "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
26960 			  "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
26961 			  "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
26962 			  "\x07\x89\x73\xc2\x45\x92\xc6\x90",
26963 		.ilen	= 32,
26964 		.result	= "\x54\x65\x61\x20\x69\x73\x20\x67"
26965 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
26966 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
26967 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
26968 		.rlen	= 32,
26969 	}
26970 };
26971 
26972 /*
26973  * XTEA test vectors
26974  */
26975 #define XTEA_ENC_TEST_VECTORS	4
26976 #define XTEA_DEC_TEST_VECTORS	4
26977 
26978 static struct cipher_testvec xtea_enc_tv_template[] = {
26979 	{
26980 		.key    = zeroed_string,
26981 		.klen	= 16,
26982 		.input  = zeroed_string,
26983 		.ilen	= 8,
26984 		.result	= "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
26985 		.rlen	= 8,
26986 	}, {
26987 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
26988 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26989 		.klen	= 16,
26990 		.input	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26991 		.ilen	= 8,
26992 		.result	= "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
26993 		.rlen	= 8,
26994 	}, {
26995 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
26996 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26997 		.klen	= 16,
26998 		.input	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26999 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27000 		.ilen	= 16,
27001 		.result	= "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
27002 			  "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
27003 		.rlen	= 16,
27004 	}, {
27005 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27006 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27007 		.klen	= 16,
27008 		.input	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27009 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27010 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27011 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27012 		.ilen	= 32,
27013 		.result	= "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
27014 			  "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
27015 			  "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
27016 			  "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
27017 		.rlen	= 32,
27018 	}
27019 };
27020 
27021 static struct cipher_testvec xtea_dec_tv_template[] = {
27022 	{
27023 		.key    = zeroed_string,
27024 		.klen	= 16,
27025 		.input	= "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
27026 		.ilen	= 8,
27027 		.result = zeroed_string,
27028 		.rlen	= 8,
27029 	}, {
27030 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27031 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27032 		.klen	= 16,
27033 		.input	= "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
27034 		.ilen	= 8,
27035 		.result	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27036 		.rlen	= 8,
27037 	}, {
27038 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27039 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27040 		.klen	= 16,
27041 		.input	= "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
27042 			  "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
27043 		.ilen	= 16,
27044 		.result	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27045 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27046 		.rlen	= 16,
27047 	}, {
27048 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27049 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27050 		.klen	= 16,
27051 		.input	= "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
27052 			  "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
27053 			  "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
27054 			  "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
27055 		.ilen	= 32,
27056 		.result	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27057 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27058 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27059 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27060 		.rlen	= 32,
27061 	}
27062 };
27063 
27064 /*
27065  * KHAZAD test vectors.
27066  */
27067 #define KHAZAD_ENC_TEST_VECTORS 5
27068 #define KHAZAD_DEC_TEST_VECTORS 5
27069 
27070 static struct cipher_testvec khazad_enc_tv_template[] = {
27071 	{
27072 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
27073 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
27074 		.klen	= 16,
27075 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27076 		.ilen	= 8,
27077 		.result	= "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
27078 		.rlen	= 8,
27079 	}, {
27080 		.key	= "\x38\x38\x38\x38\x38\x38\x38\x38"
27081 			  "\x38\x38\x38\x38\x38\x38\x38\x38",
27082 		.klen	= 16,
27083 		.input	= "\x38\x38\x38\x38\x38\x38\x38\x38",
27084 		.ilen	= 8,
27085 		.result	= "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
27086 		.rlen	= 8,
27087 	}, {
27088 		.key	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
27089 			"\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27090 		.klen	= 16,
27091 		.input	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27092 		.ilen	= 8,
27093 		.result	= "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
27094 		.rlen	= 8,
27095 	}, {
27096 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27097 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27098 		.klen	= 16,
27099 		.input	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27100 		.ilen	= 8,
27101 		.result = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27102 		.rlen	= 8,
27103 	}, {
27104 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27105 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27106 		.klen	= 16,
27107 		.input	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27108 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27109 		.ilen	= 16,
27110 		.result = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
27111 			"\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27112 		.rlen	= 16,
27113 	},
27114 };
27115 
27116 static struct cipher_testvec khazad_dec_tv_template[] = {
27117 	{
27118 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
27119 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
27120 		.klen	= 16,
27121 		.input	= "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
27122 		.ilen	= 8,
27123 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27124 		.rlen	= 8,
27125 	}, {
27126 		.key	= "\x38\x38\x38\x38\x38\x38\x38\x38"
27127 			  "\x38\x38\x38\x38\x38\x38\x38\x38",
27128 		.klen	= 16,
27129 		.input	= "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
27130 		.ilen	= 8,
27131 		.result	= "\x38\x38\x38\x38\x38\x38\x38\x38",
27132 		.rlen	= 8,
27133 	}, {
27134 		.key	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
27135 			"\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27136 		.klen	= 16,
27137 		.input	= "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
27138 		.ilen	= 8,
27139 		.result	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27140 		.rlen	= 8,
27141 	}, {
27142 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27143 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27144 		.klen	= 16,
27145 		.input  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27146 		.ilen	= 8,
27147 		.result	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27148 		.rlen	= 8,
27149 	}, {
27150 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27151 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27152 		.klen	= 16,
27153 		.input  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
27154 			"\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27155 		.ilen	= 16,
27156 		.result	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27157 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27158 		.rlen	= 16,
27159 	},
27160 };
27161 
27162 /*
27163  * Anubis test vectors.
27164  */
27165 
27166 #define ANUBIS_ENC_TEST_VECTORS			5
27167 #define ANUBIS_DEC_TEST_VECTORS			5
27168 #define ANUBIS_CBC_ENC_TEST_VECTORS		2
27169 #define ANUBIS_CBC_DEC_TEST_VECTORS		2
27170 
27171 static struct cipher_testvec anubis_enc_tv_template[] = {
27172 	{
27173 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27174 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27175 		.klen	= 16,
27176 		.input	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27177 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27178 		.ilen	= 16,
27179 		.result	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27180 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
27181 		.rlen	= 16,
27182 	}, {
27183 
27184 		.key	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27185 			  "\x03\x03\x03\x03\x03\x03\x03\x03"
27186 			  "\x03\x03\x03\x03",
27187 		.klen	= 20,
27188 		.input	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27189 			  "\x03\x03\x03\x03\x03\x03\x03\x03",
27190 		.ilen	= 16,
27191 		.result	= "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
27192 			  "\x87\x41\x6f\x82\x0a\x98\x64\xae",
27193 		.rlen	= 16,
27194 	}, {
27195 		.key	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27196 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27197 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27198 			  "\x24\x24\x24\x24",
27199 		.klen	= 28,
27200 		.input	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27201 			  "\x24\x24\x24\x24\x24\x24\x24\x24",
27202 		.ilen	= 16,
27203 		.result	= "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
27204 			  "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
27205 		.rlen	= 16,
27206 	}, {
27207 		.key	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27208 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27209 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27210 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27211 		.klen	= 32,
27212 		.input	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27213 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27214 		.ilen	= 16,
27215 		.result	= "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
27216 			"\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
27217 		.rlen	= 16,
27218 	}, {
27219 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27220 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27221 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27222 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27223 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27224 		.klen	= 40,
27225 		.input	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27226 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27227 		.ilen	= 16,
27228 		.result = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27229 			  "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
27230 		.rlen	= 16,
27231 	},
27232 };
27233 
27234 static struct cipher_testvec anubis_dec_tv_template[] = {
27235 	{
27236 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27237 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27238 		.klen	= 16,
27239 		.input	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27240 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
27241 		.ilen	= 16,
27242 		.result	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27243 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27244 		.rlen	= 16,
27245 	}, {
27246 
27247 		.key	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27248 			  "\x03\x03\x03\x03\x03\x03\x03\x03"
27249 			  "\x03\x03\x03\x03",
27250 		.klen	= 20,
27251 		.input	= "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
27252 			  "\x87\x41\x6f\x82\x0a\x98\x64\xae",
27253 		.ilen	= 16,
27254 		.result	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27255 			  "\x03\x03\x03\x03\x03\x03\x03\x03",
27256 		.rlen	= 16,
27257 	}, {
27258 		.key	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27259 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27260 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27261 			  "\x24\x24\x24\x24",
27262 		.klen	= 28,
27263 		.input	= "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
27264 			  "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
27265 		.ilen	= 16,
27266 		.result	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27267 			  "\x24\x24\x24\x24\x24\x24\x24\x24",
27268 		.rlen	= 16,
27269 	}, {
27270 		.key	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27271 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27272 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27273 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27274 		.klen	= 32,
27275 		.input	= "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
27276 			"\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
27277 		.ilen	= 16,
27278 		.result	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27279 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27280 		.rlen	= 16,
27281 	}, {
27282 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27283 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27284 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27285 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27286 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27287 		.input = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27288 			 "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
27289 		.klen	= 40,
27290 		.ilen	= 16,
27291 		.result	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27292 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27293 		.rlen	= 16,
27294 	},
27295 };
27296 
27297 static struct cipher_testvec anubis_cbc_enc_tv_template[] = {
27298 	{
27299 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27300 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27301 		.klen	= 16,
27302 		.input	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27303 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27304 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27305 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27306 		.ilen	= 32,
27307 		.result	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27308 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
27309 			  "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
27310 			  "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
27311 		.rlen	= 32,
27312 	}, {
27313 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27314 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27315 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27316 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27317 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27318 		.klen	= 40,
27319 		.input	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27320 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27321 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27322 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27323 		.ilen	= 32,
27324 		.result = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27325 			  "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
27326 			  "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
27327 			  "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
27328 		.rlen	= 32,
27329 	},
27330 };
27331 
27332 static struct cipher_testvec anubis_cbc_dec_tv_template[] = {
27333 	{
27334 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27335 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27336 		.klen	= 16,
27337 		.input	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27338 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
27339 			  "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
27340 			  "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
27341 		.ilen	= 32,
27342 		.result	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27343 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27344 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27345 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27346 		.rlen	= 32,
27347 	}, {
27348 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27349 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27350 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27351 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27352 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27353 		.klen	= 40,
27354 		.input = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27355 			  "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
27356 			  "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
27357 			  "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
27358 		.ilen	= 32,
27359 		.result	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27360 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27361 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27362 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27363 		.rlen	= 32,
27364 	},
27365 };
27366 
27367 /*
27368  * XETA test vectors
27369  */
27370 #define XETA_ENC_TEST_VECTORS	4
27371 #define XETA_DEC_TEST_VECTORS	4
27372 
27373 static struct cipher_testvec xeta_enc_tv_template[] = {
27374 	{
27375 		.key    = zeroed_string,
27376 		.klen	= 16,
27377 		.input  = zeroed_string,
27378 		.ilen	= 8,
27379 		.result	= "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
27380 		.rlen	= 8,
27381 	}, {
27382 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27383 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27384 		.klen	= 16,
27385 		.input	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27386 		.ilen	= 8,
27387 		.result	= "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
27388 		.rlen	= 8,
27389 	}, {
27390 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27391 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27392 		.klen	= 16,
27393 		.input	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27394 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27395 		.ilen	= 16,
27396 		.result	= "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
27397 			  "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
27398 		.rlen	= 16,
27399 	}, {
27400 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27401 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27402 		.klen	= 16,
27403 		.input	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27404 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27405 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27406 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27407 		.ilen	= 32,
27408 		.result	= "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
27409 			  "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
27410 			  "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
27411 			  "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
27412 		.rlen	= 32,
27413 	}
27414 };
27415 
27416 static struct cipher_testvec xeta_dec_tv_template[] = {
27417 	{
27418 		.key    = zeroed_string,
27419 		.klen	= 16,
27420 		.input	= "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
27421 		.ilen	= 8,
27422 		.result = zeroed_string,
27423 		.rlen	= 8,
27424 	}, {
27425 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27426 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27427 		.klen	= 16,
27428 		.input	= "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
27429 		.ilen	= 8,
27430 		.result	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27431 		.rlen	= 8,
27432 	}, {
27433 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27434 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27435 		.klen	= 16,
27436 		.input	= "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
27437 			  "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
27438 		.ilen	= 16,
27439 		.result	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27440 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27441 		.rlen	= 16,
27442 	}, {
27443 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27444 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27445 		.klen	= 16,
27446 		.input	= "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
27447 			  "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
27448 			  "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
27449 			  "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
27450 		.ilen	= 32,
27451 		.result	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27452 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27453 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27454 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27455 		.rlen	= 32,
27456 	}
27457 };
27458 
27459 /*
27460  * FCrypt test vectors
27461  */
27462 #define FCRYPT_ENC_TEST_VECTORS	ARRAY_SIZE(fcrypt_pcbc_enc_tv_template)
27463 #define FCRYPT_DEC_TEST_VECTORS	ARRAY_SIZE(fcrypt_pcbc_dec_tv_template)
27464 
27465 static struct cipher_testvec fcrypt_pcbc_enc_tv_template[] = {
27466 	{ /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
27467 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27468 		.klen	= 8,
27469 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27470 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27471 		.ilen	= 8,
27472 		.result	= "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
27473 		.rlen	= 8,
27474 	}, {
27475 		.key	= "\x11\x44\x77\xAA\xDD\x00\x33\x66",
27476 		.klen	= 8,
27477 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27478 		.input	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
27479 		.ilen	= 8,
27480 		.result	= "\xD8\xED\x78\x74\x77\xEC\x06\x80",
27481 		.rlen	= 8,
27482 	}, { /* From Arla */
27483 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27484 		.klen	= 8,
27485 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27486 		.input	= "The quick brown fox jumps over the lazy dogs.\0\0",
27487 		.ilen	= 48,
27488 		.result	= "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
27489 			  "\xee\xac\x98\x62\x44\x51\xe4\x84"
27490 			  "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
27491 			  "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
27492 			  "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
27493 			  "\xf8\x91\x3c\xac\x44\x22\x92\xef",
27494 		.rlen	= 48,
27495 	}, {
27496 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27497 		.klen	= 8,
27498 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27499 		.input	= "The quick brown fox jumps over the lazy dogs.\0\0",
27500 		.ilen	= 48,
27501 		.result	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27502 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27503 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27504 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27505 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27506 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27507 		.rlen	= 48,
27508 	}, { /* split-page version */
27509 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27510 		.klen	= 8,
27511 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27512 		.input	= "The quick brown fox jumps over the lazy dogs.\0\0",
27513 		.ilen	= 48,
27514 		.result	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27515 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27516 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27517 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27518 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27519 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27520 		.rlen	= 48,
27521 		.np	= 2,
27522 		.tap	= { 20, 28 },
27523 	}
27524 };
27525 
27526 static struct cipher_testvec fcrypt_pcbc_dec_tv_template[] = {
27527 	{ /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
27528 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27529 		.klen	= 8,
27530 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27531 		.input	= "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
27532 		.ilen	= 8,
27533 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27534 		.rlen	= 8,
27535 	}, {
27536 		.key	= "\x11\x44\x77\xAA\xDD\x00\x33\x66",
27537 		.klen	= 8,
27538 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27539 		.input	= "\xD8\xED\x78\x74\x77\xEC\x06\x80",
27540 		.ilen	= 8,
27541 		.result	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
27542 		.rlen	= 8,
27543 	}, { /* From Arla */
27544 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27545 		.klen	= 8,
27546 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27547 		.input	= "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
27548 			  "\xee\xac\x98\x62\x44\x51\xe4\x84"
27549 			  "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
27550 			  "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
27551 			  "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
27552 			  "\xf8\x91\x3c\xac\x44\x22\x92\xef",
27553 		.ilen	= 48,
27554 		.result	= "The quick brown fox jumps over the lazy dogs.\0\0",
27555 		.rlen	= 48,
27556 	}, {
27557 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27558 		.klen	= 8,
27559 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27560 		.input	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27561 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27562 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27563 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27564 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27565 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27566 		.ilen	= 48,
27567 		.result	= "The quick brown fox jumps over the lazy dogs.\0\0",
27568 		.rlen	= 48,
27569 	}, { /* split-page version */
27570 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27571 		.klen	= 8,
27572 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27573 		.input	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27574 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27575 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27576 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27577 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27578 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27579 		.ilen	= 48,
27580 		.result	= "The quick brown fox jumps over the lazy dogs.\0\0",
27581 		.rlen	= 48,
27582 		.np	= 2,
27583 		.tap	= { 20, 28 },
27584 	}
27585 };
27586 
27587 /*
27588  * CAMELLIA test vectors.
27589  */
27590 #define CAMELLIA_ENC_TEST_VECTORS 4
27591 #define CAMELLIA_DEC_TEST_VECTORS 4
27592 #define CAMELLIA_CBC_ENC_TEST_VECTORS 3
27593 #define CAMELLIA_CBC_DEC_TEST_VECTORS 3
27594 #define CAMELLIA_CTR_ENC_TEST_VECTORS 2
27595 #define CAMELLIA_CTR_DEC_TEST_VECTORS 2
27596 #define CAMELLIA_LRW_ENC_TEST_VECTORS 8
27597 #define CAMELLIA_LRW_DEC_TEST_VECTORS 8
27598 #define CAMELLIA_XTS_ENC_TEST_VECTORS 5
27599 #define CAMELLIA_XTS_DEC_TEST_VECTORS 5
27600 
27601 static struct cipher_testvec camellia_enc_tv_template[] = {
27602 	{
27603 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27604 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27605 		.klen	= 16,
27606 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27607 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27608 		.ilen	= 16,
27609 		.result	= "\x67\x67\x31\x38\x54\x96\x69\x73"
27610 			  "\x08\x57\x06\x56\x48\xea\xbe\x43",
27611 		.rlen	= 16,
27612 	}, {
27613 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27614 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27615 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
27616 		.klen	= 24,
27617 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27618 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27619 		.ilen	= 16,
27620 		.result	= "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
27621 			  "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
27622 		.rlen	= 16,
27623 	}, {
27624 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27625 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27626 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
27627 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
27628 		.klen	= 32,
27629 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27630 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27631 		.ilen	= 16,
27632 		.result	= "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
27633 			  "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
27634 		.rlen	= 16,
27635 	}, { /* Generated with Crypto++ */
27636 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
27637 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
27638 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
27639 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
27640 		.klen	= 32,
27641 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27642 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27643 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
27644 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27645 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27646 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27647 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27648 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27649 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27650 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27651 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27652 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27653 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27654 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
27655 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
27656 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
27657 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
27658 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
27659 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
27660 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
27661 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
27662 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
27663 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
27664 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
27665 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
27666 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
27667 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
27668 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
27669 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
27670 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
27671 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
27672 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
27673 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
27674 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
27675 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
27676 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
27677 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
27678 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
27679 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
27680 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
27681 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
27682 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
27683 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27684 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27685 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27686 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27687 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27688 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27689 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27690 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27691 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27692 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27693 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27694 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27695 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27696 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27697 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27698 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27699 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27700 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27701 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27702 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
27703 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
27704 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
27705 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
27706 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
27707 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
27708 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
27709 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
27710 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
27711 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
27712 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
27713 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
27714 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
27715 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
27716 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
27717 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
27718 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
27719 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
27720 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
27721 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
27722 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
27723 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
27724 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
27725 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
27726 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
27727 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
27728 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
27729 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
27730 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
27731 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
27732 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
27733 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
27734 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
27735 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
27736 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
27737 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
27738 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
27739 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
27740 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
27741 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
27742 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
27743 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
27744 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
27745 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
27746 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
27747 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
27748 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
27749 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
27750 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
27751 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
27752 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
27753 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
27754 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
27755 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
27756 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
27757 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
27758 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
27759 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
27760 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
27761 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
27762 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
27763 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
27764 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
27765 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
27766 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
27767 		.ilen	= 1008,
27768 		.result	= "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
27769 			  "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
27770 			  "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
27771 			  "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
27772 			  "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
27773 			  "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
27774 			  "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
27775 			  "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
27776 			  "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
27777 			  "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
27778 			  "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
27779 			  "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
27780 			  "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
27781 			  "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
27782 			  "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
27783 			  "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
27784 			  "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
27785 			  "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
27786 			  "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
27787 			  "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
27788 			  "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
27789 			  "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
27790 			  "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
27791 			  "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
27792 			  "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
27793 			  "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
27794 			  "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
27795 			  "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
27796 			  "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
27797 			  "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
27798 			  "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
27799 			  "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
27800 			  "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
27801 			  "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
27802 			  "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
27803 			  "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
27804 			  "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
27805 			  "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
27806 			  "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
27807 			  "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
27808 			  "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
27809 			  "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
27810 			  "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
27811 			  "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
27812 			  "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
27813 			  "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
27814 			  "\x83\x06\xAB\x82\x99\x01\x16\x1A"
27815 			  "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
27816 			  "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
27817 			  "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
27818 			  "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
27819 			  "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
27820 			  "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
27821 			  "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
27822 			  "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
27823 			  "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
27824 			  "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
27825 			  "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
27826 			  "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
27827 			  "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
27828 			  "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
27829 			  "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
27830 			  "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
27831 			  "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
27832 			  "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
27833 			  "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
27834 			  "\xED\x28\x39\xE9\x63\xED\x41\x70"
27835 			  "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
27836 			  "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
27837 			  "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
27838 			  "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
27839 			  "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
27840 			  "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
27841 			  "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
27842 			  "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
27843 			  "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
27844 			  "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
27845 			  "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
27846 			  "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
27847 			  "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
27848 			  "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
27849 			  "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
27850 			  "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
27851 			  "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
27852 			  "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
27853 			  "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
27854 			  "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
27855 			  "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
27856 			  "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
27857 			  "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
27858 			  "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
27859 			  "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
27860 			  "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
27861 			  "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
27862 			  "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
27863 			  "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
27864 			  "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
27865 			  "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
27866 			  "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
27867 			  "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
27868 			  "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
27869 			  "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
27870 			  "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
27871 			  "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
27872 			  "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
27873 			  "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
27874 			  "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
27875 			  "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
27876 			  "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
27877 			  "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
27878 			  "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
27879 			  "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
27880 			  "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
27881 			  "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
27882 			  "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
27883 			  "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
27884 			  "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
27885 			  "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
27886 			  "\x31\x93\x51\x1C\x63\x97\x70\xB0"
27887 			  "\x99\x78\x83\x13\xFD\xCF\x53\x81"
27888 			  "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
27889 			  "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
27890 			  "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
27891 			  "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
27892 			  "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
27893 			  "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
27894 		.rlen	= 1008,
27895 		.also_non_np = 1,
27896 		.np	= 3,
27897 		.tap	= { 1008 - 20, 4, 16 },
27898 	},
27899 };
27900 
27901 static struct cipher_testvec camellia_dec_tv_template[] = {
27902 	{
27903 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27904 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27905 		.klen	= 16,
27906 		.input	= "\x67\x67\x31\x38\x54\x96\x69\x73"
27907 			  "\x08\x57\x06\x56\x48\xea\xbe\x43",
27908 		.ilen	= 16,
27909 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27910 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27911 		.rlen	= 16,
27912 	}, {
27913 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27914 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27915 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
27916 		.klen	= 24,
27917 		.input	= "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
27918 			  "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
27919 		.ilen	= 16,
27920 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27921 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27922 		.rlen	= 16,
27923 	}, {
27924 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27925 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27926 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
27927 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
27928 		.klen	= 32,
27929 		.input	= "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
27930 			  "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
27931 		.ilen	= 16,
27932 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27933 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27934 		.rlen	= 16,
27935 	}, { /* Generated with Crypto++ */
27936 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
27937 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
27938 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
27939 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
27940 		.klen	= 32,
27941 		.input	= "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
27942 			  "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
27943 			  "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
27944 			  "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
27945 			  "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
27946 			  "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
27947 			  "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
27948 			  "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
27949 			  "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
27950 			  "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
27951 			  "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
27952 			  "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
27953 			  "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
27954 			  "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
27955 			  "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
27956 			  "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
27957 			  "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
27958 			  "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
27959 			  "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
27960 			  "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
27961 			  "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
27962 			  "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
27963 			  "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
27964 			  "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
27965 			  "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
27966 			  "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
27967 			  "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
27968 			  "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
27969 			  "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
27970 			  "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
27971 			  "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
27972 			  "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
27973 			  "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
27974 			  "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
27975 			  "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
27976 			  "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
27977 			  "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
27978 			  "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
27979 			  "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
27980 			  "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
27981 			  "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
27982 			  "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
27983 			  "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
27984 			  "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
27985 			  "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
27986 			  "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
27987 			  "\x83\x06\xAB\x82\x99\x01\x16\x1A"
27988 			  "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
27989 			  "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
27990 			  "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
27991 			  "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
27992 			  "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
27993 			  "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
27994 			  "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
27995 			  "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
27996 			  "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
27997 			  "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
27998 			  "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
27999 			  "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
28000 			  "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
28001 			  "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
28002 			  "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
28003 			  "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
28004 			  "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
28005 			  "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
28006 			  "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
28007 			  "\xED\x28\x39\xE9\x63\xED\x41\x70"
28008 			  "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
28009 			  "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
28010 			  "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
28011 			  "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
28012 			  "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
28013 			  "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
28014 			  "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
28015 			  "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
28016 			  "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
28017 			  "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
28018 			  "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
28019 			  "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
28020 			  "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
28021 			  "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
28022 			  "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
28023 			  "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
28024 			  "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
28025 			  "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
28026 			  "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
28027 			  "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
28028 			  "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
28029 			  "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
28030 			  "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
28031 			  "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
28032 			  "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
28033 			  "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
28034 			  "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
28035 			  "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
28036 			  "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
28037 			  "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
28038 			  "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
28039 			  "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
28040 			  "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
28041 			  "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
28042 			  "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
28043 			  "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
28044 			  "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
28045 			  "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
28046 			  "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
28047 			  "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
28048 			  "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
28049 			  "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
28050 			  "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
28051 			  "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
28052 			  "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
28053 			  "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
28054 			  "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
28055 			  "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
28056 			  "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
28057 			  "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
28058 			  "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
28059 			  "\x31\x93\x51\x1C\x63\x97\x70\xB0"
28060 			  "\x99\x78\x83\x13\xFD\xCF\x53\x81"
28061 			  "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
28062 			  "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
28063 			  "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
28064 			  "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
28065 			  "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
28066 			  "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
28067 		.ilen	= 1008,
28068 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28069 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28070 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28071 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28072 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28073 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28074 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28075 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28076 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28077 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28078 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28079 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28080 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28081 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28082 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28083 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28084 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28085 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28086 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28087 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28088 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28089 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28090 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28091 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28092 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28093 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28094 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28095 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28096 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28097 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28098 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28099 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28100 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28101 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28102 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28103 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28104 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28105 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28106 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28107 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28108 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28109 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28110 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28111 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28112 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28113 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28114 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28115 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28116 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28117 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28118 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28119 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28120 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28121 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28122 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28123 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28124 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28125 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28126 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28127 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28128 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28129 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28130 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28131 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28132 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28133 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28134 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28135 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28136 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28137 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28138 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28139 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28140 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28141 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28142 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28143 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28144 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28145 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28146 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28147 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28148 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28149 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28150 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28151 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28152 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28153 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28154 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28155 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28156 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28157 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28158 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28159 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28160 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28161 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28162 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28163 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28164 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28165 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28166 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28167 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28168 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28169 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28170 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28171 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28172 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28173 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28174 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28175 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28176 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28177 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28178 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28179 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28180 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28181 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28182 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28183 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28184 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28185 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28186 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28187 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28188 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28189 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28190 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28191 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28192 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28193 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28194 		.rlen	= 1008,
28195 		.also_non_np = 1,
28196 		.np	= 3,
28197 		.tap	= { 1008 - 20, 4, 16 },
28198 	},
28199 };
28200 
28201 static struct cipher_testvec camellia_cbc_enc_tv_template[] = {
28202 	{
28203 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
28204 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
28205 		.klen   = 16,
28206 		.iv	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
28207 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
28208 		.input	= "Single block msg",
28209 		.ilen   = 16,
28210 		.result = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
28211 			  "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
28212 		.rlen   = 16,
28213 	}, {
28214 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
28215 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
28216 		.klen   = 16,
28217 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
28218 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
28219 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
28220 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28221 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
28222 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
28223 		.ilen   = 32,
28224 		.result = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
28225 			  "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
28226 			  "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
28227 			  "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
28228 		.rlen   = 32,
28229 	}, { /* Generated with Crypto++ */
28230 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28231 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28232 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28233 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28234 		.klen	= 32,
28235 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28236 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28237 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28238 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28239 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28240 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28241 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28242 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28243 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28244 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28245 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28246 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28247 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28248 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28249 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28250 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28251 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28252 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28253 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28254 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28255 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28256 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28257 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28258 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28259 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28260 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28261 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28262 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28263 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28264 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28265 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28266 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28267 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28268 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28269 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28270 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28271 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28272 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28273 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28274 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28275 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28276 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28277 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28278 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28279 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28280 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28281 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28282 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28283 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28284 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28285 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28286 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28287 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28288 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28289 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28290 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28291 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28292 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28293 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28294 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28295 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28296 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28297 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28298 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28299 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28300 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28301 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28302 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28303 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28304 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28305 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28306 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28307 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28308 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28309 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28310 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28311 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28312 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28313 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28314 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28315 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28316 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28317 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28318 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28319 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28320 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28321 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28322 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28323 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28324 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28325 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28326 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28327 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28328 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28329 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28330 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28331 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28332 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28333 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28334 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28335 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28336 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28337 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28338 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28339 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28340 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28341 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28342 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28343 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28344 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28345 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28346 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28347 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28348 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28349 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28350 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28351 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28352 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28353 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28354 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28355 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28356 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28357 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28358 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28359 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28360 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28361 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28362 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28363 		.ilen	= 1008,
28364 		.result	= "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
28365 			  "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
28366 			  "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
28367 			  "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
28368 			  "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
28369 			  "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
28370 			  "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
28371 			  "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
28372 			  "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
28373 			  "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
28374 			  "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
28375 			  "\x37\x49\x88\xA4\xEF\x91\x21\x47"
28376 			  "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
28377 			  "\x28\x90\x77\x46\xD8\xD2\x35\x16"
28378 			  "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
28379 			  "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
28380 			  "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
28381 			  "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
28382 			  "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
28383 			  "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
28384 			  "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
28385 			  "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
28386 			  "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
28387 			  "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
28388 			  "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
28389 			  "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
28390 			  "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
28391 			  "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
28392 			  "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
28393 			  "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
28394 			  "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
28395 			  "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
28396 			  "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
28397 			  "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
28398 			  "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
28399 			  "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
28400 			  "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
28401 			  "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
28402 			  "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
28403 			  "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
28404 			  "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
28405 			  "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
28406 			  "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
28407 			  "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
28408 			  "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
28409 			  "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
28410 			  "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
28411 			  "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
28412 			  "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
28413 			  "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
28414 			  "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
28415 			  "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
28416 			  "\x38\xB8\x48\x36\x66\x4E\x20\x43"
28417 			  "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
28418 			  "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
28419 			  "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
28420 			  "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
28421 			  "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
28422 			  "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
28423 			  "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
28424 			  "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
28425 			  "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
28426 			  "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
28427 			  "\x21\x41\x56\x72\x13\xE1\x86\x07"
28428 			  "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
28429 			  "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
28430 			  "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
28431 			  "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
28432 			  "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
28433 			  "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
28434 			  "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
28435 			  "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
28436 			  "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
28437 			  "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
28438 			  "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
28439 			  "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
28440 			  "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
28441 			  "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
28442 			  "\xBE\x31\x31\x96\x8B\x40\x18\x75"
28443 			  "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
28444 			  "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
28445 			  "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
28446 			  "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
28447 			  "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
28448 			  "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
28449 			  "\x09\xB0\x43\x96\x4A\x64\x80\x40"
28450 			  "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
28451 			  "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
28452 			  "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
28453 			  "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
28454 			  "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
28455 			  "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
28456 			  "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
28457 			  "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
28458 			  "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
28459 			  "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
28460 			  "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
28461 			  "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
28462 			  "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
28463 			  "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
28464 			  "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
28465 			  "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
28466 			  "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
28467 			  "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
28468 			  "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
28469 			  "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
28470 			  "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
28471 			  "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
28472 			  "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
28473 			  "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
28474 			  "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
28475 			  "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
28476 			  "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
28477 			  "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
28478 			  "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
28479 			  "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
28480 			  "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
28481 			  "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
28482 			  "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
28483 			  "\x80\xE7\x29\xDC\x23\x55\x98\x54"
28484 			  "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
28485 			  "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
28486 			  "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
28487 			  "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
28488 			  "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
28489 			  "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
28490 		.rlen	= 1008,
28491 		.also_non_np = 1,
28492 		.np	= 3,
28493 		.tap	= { 1008 - 20, 4, 16 },
28494 	},
28495 };
28496 
28497 static struct cipher_testvec camellia_cbc_dec_tv_template[] = {
28498 	{
28499 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
28500 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
28501 		.klen   = 16,
28502 		.iv	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
28503 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
28504 		.input	= "\xea\x32\x12\x76\x3b\x50\x10\xe7"
28505 			  "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
28506 		.ilen   = 16,
28507 		.result = "Single block msg",
28508 		.rlen   = 16,
28509 	}, {
28510 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
28511 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
28512 		.klen   = 16,
28513 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
28514 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
28515 		.input = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
28516 			  "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
28517 			  "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
28518 			  "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
28519 		.ilen   = 32,
28520 		.result = "\x00\x01\x02\x03\x04\x05\x06\x07"
28521 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28522 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
28523 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
28524 		.rlen   = 32,
28525 	}, { /* Generated with Crypto++ */
28526 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28527 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28528 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28529 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28530 		.klen	= 32,
28531 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28532 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28533 		.input	= "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
28534 			  "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
28535 			  "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
28536 			  "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
28537 			  "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
28538 			  "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
28539 			  "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
28540 			  "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
28541 			  "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
28542 			  "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
28543 			  "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
28544 			  "\x37\x49\x88\xA4\xEF\x91\x21\x47"
28545 			  "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
28546 			  "\x28\x90\x77\x46\xD8\xD2\x35\x16"
28547 			  "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
28548 			  "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
28549 			  "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
28550 			  "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
28551 			  "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
28552 			  "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
28553 			  "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
28554 			  "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
28555 			  "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
28556 			  "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
28557 			  "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
28558 			  "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
28559 			  "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
28560 			  "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
28561 			  "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
28562 			  "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
28563 			  "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
28564 			  "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
28565 			  "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
28566 			  "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
28567 			  "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
28568 			  "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
28569 			  "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
28570 			  "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
28571 			  "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
28572 			  "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
28573 			  "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
28574 			  "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
28575 			  "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
28576 			  "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
28577 			  "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
28578 			  "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
28579 			  "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
28580 			  "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
28581 			  "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
28582 			  "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
28583 			  "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
28584 			  "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
28585 			  "\x38\xB8\x48\x36\x66\x4E\x20\x43"
28586 			  "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
28587 			  "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
28588 			  "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
28589 			  "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
28590 			  "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
28591 			  "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
28592 			  "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
28593 			  "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
28594 			  "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
28595 			  "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
28596 			  "\x21\x41\x56\x72\x13\xE1\x86\x07"
28597 			  "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
28598 			  "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
28599 			  "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
28600 			  "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
28601 			  "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
28602 			  "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
28603 			  "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
28604 			  "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
28605 			  "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
28606 			  "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
28607 			  "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
28608 			  "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
28609 			  "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
28610 			  "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
28611 			  "\xBE\x31\x31\x96\x8B\x40\x18\x75"
28612 			  "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
28613 			  "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
28614 			  "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
28615 			  "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
28616 			  "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
28617 			  "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
28618 			  "\x09\xB0\x43\x96\x4A\x64\x80\x40"
28619 			  "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
28620 			  "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
28621 			  "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
28622 			  "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
28623 			  "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
28624 			  "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
28625 			  "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
28626 			  "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
28627 			  "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
28628 			  "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
28629 			  "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
28630 			  "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
28631 			  "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
28632 			  "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
28633 			  "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
28634 			  "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
28635 			  "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
28636 			  "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
28637 			  "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
28638 			  "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
28639 			  "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
28640 			  "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
28641 			  "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
28642 			  "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
28643 			  "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
28644 			  "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
28645 			  "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
28646 			  "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
28647 			  "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
28648 			  "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
28649 			  "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
28650 			  "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
28651 			  "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
28652 			  "\x80\xE7\x29\xDC\x23\x55\x98\x54"
28653 			  "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
28654 			  "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
28655 			  "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
28656 			  "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
28657 			  "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
28658 			  "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
28659 		.ilen	= 1008,
28660 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28661 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28662 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28663 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28664 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28665 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28666 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28667 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28668 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28669 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28670 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28671 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28672 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28673 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28674 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28675 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28676 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28677 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28678 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28679 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28680 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28681 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28682 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28683 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28684 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28685 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28686 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28687 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28688 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28689 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28690 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28691 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28692 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28693 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28694 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28695 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28696 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28697 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28698 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28699 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28700 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28701 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28702 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28703 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28704 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28705 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28706 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28707 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28708 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28709 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28710 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28711 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28712 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28713 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28714 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28715 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28716 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28717 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28718 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28719 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28720 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28721 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28722 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28723 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28724 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28725 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28726 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28727 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28728 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28729 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28730 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28731 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28732 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28733 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28734 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28735 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28736 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28737 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28738 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28739 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28740 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28741 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28742 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28743 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28744 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28745 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28746 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28747 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28748 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28749 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28750 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28751 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28752 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28753 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28754 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28755 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28756 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28757 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28758 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28759 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28760 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28761 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28762 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28763 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28764 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28765 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28766 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28767 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28768 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28769 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28770 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28771 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28772 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28773 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28774 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28775 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28776 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28777 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28778 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28779 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28780 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28781 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28782 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28783 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28784 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28785 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28786 		.rlen	= 1008,
28787 		.also_non_np = 1,
28788 		.np	= 3,
28789 		.tap	= { 1008 - 20, 4, 16 },
28790 	},
28791 };
28792 
28793 static struct cipher_testvec camellia_ctr_enc_tv_template[] = {
28794 	{ /* Generated with Crypto++ */
28795 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28796 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28797 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28798 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28799 		.klen	= 32,
28800 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28801 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28802 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28803 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28804 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28805 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28806 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28807 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28808 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28809 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28810 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28811 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28812 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28813 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28814 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28815 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28816 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28817 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28818 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28819 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28820 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28821 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28822 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28823 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28824 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28825 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28826 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28827 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28828 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28829 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28830 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28831 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28832 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28833 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28834 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28835 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28836 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28837 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28838 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28839 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28840 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28841 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28842 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28843 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28844 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28845 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28846 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28847 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28848 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28849 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28850 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28851 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28852 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28853 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28854 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28855 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28856 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28857 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28858 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28859 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28860 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28861 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28862 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28863 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
28864 		.ilen	= 496,
28865 		.result	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
28866 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
28867 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
28868 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
28869 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
28870 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
28871 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
28872 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
28873 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
28874 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
28875 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
28876 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
28877 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
28878 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
28879 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
28880 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
28881 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
28882 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
28883 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
28884 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
28885 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
28886 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
28887 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
28888 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
28889 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
28890 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
28891 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
28892 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
28893 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
28894 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
28895 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
28896 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
28897 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
28898 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
28899 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
28900 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
28901 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
28902 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
28903 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
28904 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
28905 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
28906 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
28907 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
28908 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
28909 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
28910 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
28911 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
28912 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
28913 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
28914 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
28915 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
28916 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
28917 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
28918 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
28919 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
28920 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
28921 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
28922 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
28923 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
28924 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
28925 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
28926 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
28927 		.rlen	= 496,
28928 	}, { /* Generated with Crypto++ */
28929 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28930 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28931 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28932 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28933 		.klen	= 32,
28934 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28935 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28936 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28937 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28938 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28939 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28940 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28941 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28942 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28943 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28944 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28945 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28946 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28947 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28948 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28949 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28950 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28951 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28952 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28953 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28954 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28955 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28956 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28957 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28958 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28959 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28960 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28961 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28962 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28963 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28964 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28965 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28966 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28967 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28968 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28969 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28970 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28971 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28972 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28973 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28974 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28975 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28976 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28977 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28978 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28979 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28980 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28981 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28982 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28983 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28984 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28985 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28986 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28987 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28988 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28989 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28990 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28991 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28992 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28993 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28994 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28995 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28996 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28997 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28998 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28999 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29000 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29001 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29002 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29003 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29004 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29005 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29006 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29007 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29008 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29009 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29010 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29011 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29012 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29013 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29014 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29015 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29016 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29017 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29018 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29019 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29020 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29021 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29022 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29023 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29024 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29025 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29026 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29027 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29028 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29029 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29030 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29031 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29032 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29033 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29034 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29035 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29036 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29037 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29038 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29039 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29040 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29041 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29042 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29043 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29044 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29045 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29046 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29047 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29048 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29049 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29050 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29051 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29052 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29053 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29054 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29055 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29056 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29057 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29058 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29059 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29060 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29061 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
29062 			  "\xE4\x7B\x12",
29063 		.ilen	= 1011,
29064 		.result	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29065 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29066 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29067 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29068 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29069 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29070 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29071 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29072 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29073 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29074 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29075 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29076 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29077 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29078 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29079 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29080 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29081 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29082 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29083 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29084 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29085 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29086 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29087 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29088 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29089 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29090 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29091 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29092 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29093 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29094 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29095 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29096 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29097 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29098 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29099 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29100 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29101 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29102 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29103 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29104 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29105 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29106 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29107 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29108 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29109 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29110 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29111 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29112 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29113 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29114 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
29115 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29116 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29117 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29118 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29119 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29120 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29121 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29122 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29123 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29124 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29125 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
29126 			  "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
29127 			  "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
29128 			  "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
29129 			  "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
29130 			  "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
29131 			  "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
29132 			  "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
29133 			  "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
29134 			  "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
29135 			  "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
29136 			  "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
29137 			  "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
29138 			  "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
29139 			  "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
29140 			  "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
29141 			  "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
29142 			  "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
29143 			  "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
29144 			  "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
29145 			  "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
29146 			  "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
29147 			  "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
29148 			  "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
29149 			  "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
29150 			  "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
29151 			  "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
29152 			  "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
29153 			  "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
29154 			  "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
29155 			  "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
29156 			  "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
29157 			  "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
29158 			  "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
29159 			  "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
29160 			  "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
29161 			  "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
29162 			  "\x00\x70\x12\x56\x56\x50\xAD\x14"
29163 			  "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
29164 			  "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
29165 			  "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
29166 			  "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
29167 			  "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
29168 			  "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
29169 			  "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
29170 			  "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
29171 			  "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
29172 			  "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
29173 			  "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
29174 			  "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
29175 			  "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
29176 			  "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
29177 			  "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
29178 			  "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
29179 			  "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
29180 			  "\x40\x48\x19\x73\x7C\x78\x64\x0B"
29181 			  "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
29182 			  "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
29183 			  "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
29184 			  "\x74\x28\x9D\x05\x30\x20\x62\x41"
29185 			  "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
29186 			  "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
29187 			  "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
29188 			  "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
29189 			  "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
29190 			  "\xF1\x6B\xD9",
29191 		.rlen	= 1011,
29192 		.also_non_np = 1,
29193 		.np	= 2,
29194 		.tap	= { 1011 - 16, 16 },
29195 	}, { /* Generated with Crypto++ */
29196 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29197 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29198 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29199 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29200 		.klen	= 32,
29201 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
29202 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
29203 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29204 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29205 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29206 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29207 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29208 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29209 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29210 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29211 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29212 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29213 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29214 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29215 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29216 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29217 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29218 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29219 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29220 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29221 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29222 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29223 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29224 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29225 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29226 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29227 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29228 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29229 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29230 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29231 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29232 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29233 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29234 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29235 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29236 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29237 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29238 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29239 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29240 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29241 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29242 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29243 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29244 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29245 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29246 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29247 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29248 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29249 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29250 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29251 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29252 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29253 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29254 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29255 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29256 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29257 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29258 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29259 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29260 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29261 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29262 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29263 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29264 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29265 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29266 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29267 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29268 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29269 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29270 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29271 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29272 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29273 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29274 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29275 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29276 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29277 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29278 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29279 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29280 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29281 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29282 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29283 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29284 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29285 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29286 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29287 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29288 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29289 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29290 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29291 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29292 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29293 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29294 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29295 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29296 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29297 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29298 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29299 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29300 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29301 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29302 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29303 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29304 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29305 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29306 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29307 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29308 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29309 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29310 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29311 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29312 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29313 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29314 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29315 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29316 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29317 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29318 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29319 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29320 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29321 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29322 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29323 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29324 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29325 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29326 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29327 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29328 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
29329 		.ilen	= 1008,
29330 		.result	= "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
29331 			  "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
29332 			  "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
29333 			  "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
29334 			  "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
29335 			  "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
29336 			  "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
29337 			  "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
29338 			  "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
29339 			  "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
29340 			  "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
29341 			  "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
29342 			  "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
29343 			  "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
29344 			  "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
29345 			  "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
29346 			  "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
29347 			  "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
29348 			  "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
29349 			  "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
29350 			  "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
29351 			  "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
29352 			  "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
29353 			  "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
29354 			  "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
29355 			  "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
29356 			  "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
29357 			  "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
29358 			  "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
29359 			  "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
29360 			  "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
29361 			  "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
29362 			  "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
29363 			  "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
29364 			  "\x93\x78\x86\x05\x69\x46\xD0\xC5"
29365 			  "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
29366 			  "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
29367 			  "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
29368 			  "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
29369 			  "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
29370 			  "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
29371 			  "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
29372 			  "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
29373 			  "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
29374 			  "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
29375 			  "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
29376 			  "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
29377 			  "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
29378 			  "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
29379 			  "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
29380 			  "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
29381 			  "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
29382 			  "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
29383 			  "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
29384 			  "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
29385 			  "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
29386 			  "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
29387 			  "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
29388 			  "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
29389 			  "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
29390 			  "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
29391 			  "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
29392 			  "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
29393 			  "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
29394 			  "\x3F\x23\x69\x63\x56\x96\x45\xD6"
29395 			  "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
29396 			  "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
29397 			  "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
29398 			  "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
29399 			  "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
29400 			  "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
29401 			  "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
29402 			  "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
29403 			  "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
29404 			  "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
29405 			  "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
29406 			  "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
29407 			  "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
29408 			  "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
29409 			  "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
29410 			  "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
29411 			  "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
29412 			  "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
29413 			  "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
29414 			  "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
29415 			  "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
29416 			  "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
29417 			  "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
29418 			  "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
29419 			  "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
29420 			  "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
29421 			  "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
29422 			  "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
29423 			  "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
29424 			  "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
29425 			  "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
29426 			  "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
29427 			  "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
29428 			  "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
29429 			  "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
29430 			  "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
29431 			  "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
29432 			  "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
29433 			  "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
29434 			  "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
29435 			  "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
29436 			  "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
29437 			  "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
29438 			  "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
29439 			  "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
29440 			  "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
29441 			  "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
29442 			  "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
29443 			  "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
29444 			  "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
29445 			  "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
29446 			  "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
29447 			  "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
29448 			  "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
29449 			  "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
29450 			  "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
29451 			  "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
29452 			  "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
29453 			  "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
29454 			  "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
29455 			  "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
29456 		.rlen	= 1008,
29457 	},
29458 };
29459 
29460 static struct cipher_testvec camellia_ctr_dec_tv_template[] = {
29461 	{ /* Generated with Crypto++ */
29462 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29463 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29464 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29465 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29466 		.klen	= 32,
29467 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
29468 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
29469 		.input	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29470 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29471 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29472 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29473 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29474 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29475 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29476 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29477 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29478 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29479 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29480 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29481 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29482 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29483 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29484 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29485 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29486 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29487 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29488 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29489 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29490 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29491 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29492 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29493 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29494 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29495 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29496 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29497 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29498 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29499 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29500 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29501 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29502 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29503 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29504 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29505 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29506 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29507 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29508 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29509 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29510 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29511 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29512 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29513 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29514 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29515 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29516 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29517 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29518 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29519 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
29520 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29521 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29522 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29523 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29524 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29525 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29526 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29527 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29528 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29529 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29530 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
29531 		.ilen	= 496,
29532 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29533 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29534 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29535 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29536 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29537 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29538 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29539 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29540 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29541 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29542 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29543 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29544 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29545 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29546 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29547 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29548 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29549 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29550 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29551 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29552 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29553 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29554 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29555 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29556 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29557 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29558 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29559 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29560 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29561 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29562 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29563 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29564 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29565 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29566 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29567 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29568 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29569 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29570 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29571 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29572 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29573 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29574 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29575 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29576 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29577 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29578 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29579 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29580 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29581 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29582 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29583 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29584 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29585 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29586 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29587 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29588 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29589 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29590 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29591 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29592 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29593 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
29594 		.rlen	= 496,
29595 	}, { /* Generated with Crypto++ */
29596 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29597 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29598 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29599 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29600 		.klen	= 32,
29601 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
29602 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
29603 		.input	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29604 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29605 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29606 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29607 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29608 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29609 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29610 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29611 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29612 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29613 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29614 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29615 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29616 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29617 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29618 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29619 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29620 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29621 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29622 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29623 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29624 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29625 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29626 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29627 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29628 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29629 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29630 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29631 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29632 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29633 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29634 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29635 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29636 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29637 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29638 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29639 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29640 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29641 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29642 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29643 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29644 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29645 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29646 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29647 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29648 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29649 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29650 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29651 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29652 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29653 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
29654 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29655 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29656 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29657 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29658 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29659 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29660 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29661 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29662 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29663 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29664 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
29665 			  "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
29666 			  "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
29667 			  "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
29668 			  "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
29669 			  "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
29670 			  "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
29671 			  "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
29672 			  "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
29673 			  "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
29674 			  "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
29675 			  "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
29676 			  "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
29677 			  "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
29678 			  "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
29679 			  "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
29680 			  "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
29681 			  "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
29682 			  "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
29683 			  "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
29684 			  "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
29685 			  "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
29686 			  "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
29687 			  "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
29688 			  "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
29689 			  "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
29690 			  "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
29691 			  "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
29692 			  "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
29693 			  "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
29694 			  "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
29695 			  "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
29696 			  "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
29697 			  "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
29698 			  "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
29699 			  "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
29700 			  "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
29701 			  "\x00\x70\x12\x56\x56\x50\xAD\x14"
29702 			  "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
29703 			  "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
29704 			  "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
29705 			  "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
29706 			  "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
29707 			  "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
29708 			  "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
29709 			  "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
29710 			  "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
29711 			  "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
29712 			  "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
29713 			  "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
29714 			  "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
29715 			  "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
29716 			  "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
29717 			  "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
29718 			  "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
29719 			  "\x40\x48\x19\x73\x7C\x78\x64\x0B"
29720 			  "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
29721 			  "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
29722 			  "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
29723 			  "\x74\x28\x9D\x05\x30\x20\x62\x41"
29724 			  "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
29725 			  "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
29726 			  "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
29727 			  "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
29728 			  "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
29729 			  "\xF1\x6B\xD9",
29730 		.ilen	= 1011,
29731 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29732 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29733 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29734 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29735 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29736 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29737 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29738 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29739 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29740 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29741 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29742 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29743 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29744 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29745 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29746 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29747 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29748 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29749 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29750 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29751 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29752 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29753 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29754 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29755 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29756 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29757 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29758 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29759 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29760 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29761 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29762 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29763 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29764 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29765 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29766 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29767 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29768 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29769 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29770 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29771 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29772 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29773 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29774 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29775 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29776 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29777 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29778 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29779 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29780 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29781 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29782 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29783 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29784 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29785 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29786 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29787 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29788 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29789 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29790 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29791 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29792 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29793 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29794 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29795 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29796 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29797 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29798 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29799 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29800 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29801 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29802 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29803 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29804 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29805 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29806 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29807 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29808 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29809 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29810 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29811 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29812 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29813 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29814 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29815 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29816 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29817 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29818 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29819 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29820 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29821 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29822 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29823 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29824 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29825 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29826 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29827 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29828 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29829 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29830 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29831 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29832 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29833 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29834 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29835 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29836 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29837 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29838 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29839 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29840 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29841 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29842 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29843 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29844 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29845 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29846 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29847 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29848 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29849 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29850 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29851 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29852 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29853 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29854 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29855 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29856 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
29857 			  "\xE4\x7B\x12",
29858 		.rlen	= 1011,
29859 		.also_non_np = 1,
29860 		.np	= 2,
29861 		.tap	= { 1011 - 16, 16 },
29862 	}, { /* Generated with Crypto++ */
29863 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29864 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29865 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29866 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29867 		.klen	= 32,
29868 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
29869 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
29870 		.input	= "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
29871 			  "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
29872 			  "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
29873 			  "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
29874 			  "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
29875 			  "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
29876 			  "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
29877 			  "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
29878 			  "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
29879 			  "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
29880 			  "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
29881 			  "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
29882 			  "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
29883 			  "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
29884 			  "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
29885 			  "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
29886 			  "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
29887 			  "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
29888 			  "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
29889 			  "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
29890 			  "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
29891 			  "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
29892 			  "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
29893 			  "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
29894 			  "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
29895 			  "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
29896 			  "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
29897 			  "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
29898 			  "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
29899 			  "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
29900 			  "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
29901 			  "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
29902 			  "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
29903 			  "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
29904 			  "\x93\x78\x86\x05\x69\x46\xD0\xC5"
29905 			  "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
29906 			  "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
29907 			  "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
29908 			  "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
29909 			  "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
29910 			  "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
29911 			  "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
29912 			  "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
29913 			  "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
29914 			  "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
29915 			  "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
29916 			  "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
29917 			  "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
29918 			  "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
29919 			  "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
29920 			  "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
29921 			  "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
29922 			  "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
29923 			  "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
29924 			  "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
29925 			  "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
29926 			  "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
29927 			  "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
29928 			  "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
29929 			  "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
29930 			  "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
29931 			  "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
29932 			  "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
29933 			  "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
29934 			  "\x3F\x23\x69\x63\x56\x96\x45\xD6"
29935 			  "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
29936 			  "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
29937 			  "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
29938 			  "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
29939 			  "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
29940 			  "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
29941 			  "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
29942 			  "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
29943 			  "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
29944 			  "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
29945 			  "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
29946 			  "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
29947 			  "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
29948 			  "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
29949 			  "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
29950 			  "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
29951 			  "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
29952 			  "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
29953 			  "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
29954 			  "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
29955 			  "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
29956 			  "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
29957 			  "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
29958 			  "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
29959 			  "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
29960 			  "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
29961 			  "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
29962 			  "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
29963 			  "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
29964 			  "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
29965 			  "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
29966 			  "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
29967 			  "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
29968 			  "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
29969 			  "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
29970 			  "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
29971 			  "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
29972 			  "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
29973 			  "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
29974 			  "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
29975 			  "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
29976 			  "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
29977 			  "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
29978 			  "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
29979 			  "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
29980 			  "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
29981 			  "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
29982 			  "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
29983 			  "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
29984 			  "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
29985 			  "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
29986 			  "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
29987 			  "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
29988 			  "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
29989 			  "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
29990 			  "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
29991 			  "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
29992 			  "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
29993 			  "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
29994 			  "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
29995 			  "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
29996 		.ilen	= 1008,
29997 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29998 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29999 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
30000 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
30001 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
30002 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
30003 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
30004 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
30005 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
30006 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
30007 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
30008 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
30009 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
30010 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
30011 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
30012 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
30013 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
30014 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
30015 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
30016 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
30017 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
30018 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
30019 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
30020 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
30021 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
30022 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
30023 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
30024 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
30025 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
30026 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
30027 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
30028 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
30029 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
30030 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
30031 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
30032 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
30033 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
30034 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
30035 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
30036 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
30037 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
30038 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
30039 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
30040 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
30041 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
30042 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
30043 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
30044 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
30045 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
30046 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
30047 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
30048 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
30049 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
30050 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
30051 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
30052 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
30053 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
30054 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
30055 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
30056 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
30057 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
30058 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
30059 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
30060 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
30061 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
30062 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
30063 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
30064 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
30065 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
30066 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
30067 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
30068 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
30069 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
30070 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
30071 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
30072 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
30073 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
30074 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
30075 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
30076 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
30077 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
30078 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
30079 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
30080 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
30081 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
30082 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
30083 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
30084 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
30085 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
30086 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
30087 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
30088 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
30089 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
30090 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
30091 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
30092 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
30093 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
30094 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
30095 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
30096 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
30097 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
30098 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
30099 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
30100 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
30101 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
30102 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
30103 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
30104 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
30105 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
30106 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
30107 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
30108 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
30109 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
30110 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
30111 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
30112 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
30113 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
30114 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
30115 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
30116 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
30117 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
30118 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
30119 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
30120 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
30121 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
30122 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
30123 		.rlen	= 1008,
30124 	},
30125 };
30126 
30127 static struct cipher_testvec camellia_lrw_enc_tv_template[] = {
30128 	/* Generated from AES-LRW test vectors */
30129 	{
30130 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
30131 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
30132 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
30133 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
30134 		.klen	= 32,
30135 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30136 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30137 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30138 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30139 		.ilen	= 16,
30140 		.result	= "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
30141 			  "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
30142 		.rlen	= 16,
30143 	}, {
30144 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
30145 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
30146 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
30147 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
30148 		.klen	= 32,
30149 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30150 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
30151 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30152 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30153 		.ilen	= 16,
30154 		.result	= "\x73\x09\xb7\x50\xb6\x77\x30\x50"
30155 			  "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
30156 		.rlen	= 16,
30157 	}, {
30158 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
30159 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
30160 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
30161 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
30162 		.klen	= 32,
30163 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30164 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30165 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30166 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30167 		.ilen	= 16,
30168 		.result	= "\x90\xae\x83\xe0\x22\xb9\x60\x91"
30169 			  "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
30170 		.rlen	= 16,
30171 	}, {
30172 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
30173 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
30174 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
30175 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
30176 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
30177 		.klen	= 40,
30178 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30179 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30180 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30181 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30182 		.ilen	= 16,
30183 		.result	= "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
30184 			  "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
30185 		.rlen	= 16,
30186 	}, {
30187 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
30188 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
30189 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
30190 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
30191 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
30192 		.klen	= 40,
30193 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30194 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30195 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30196 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30197 		.ilen	= 16,
30198 		.result	= "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
30199 			  "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
30200 		.rlen	= 16,
30201 	}, {
30202 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30203 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30204 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30205 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30206 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30207 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30208 		.klen	= 48,
30209 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30210 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30211 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30212 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30213 		.ilen	= 16,
30214 		.result	= "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
30215 			  "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
30216 		.rlen	= 16,
30217 	}, {
30218 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
30219 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
30220 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
30221 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
30222 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
30223 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
30224 		.klen	= 48,
30225 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30226 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30227 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30228 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30229 		.ilen	= 16,
30230 		.result	= "\x04\xab\x28\x37\x31\x7a\x26\xab"
30231 			  "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
30232 		.rlen	= 16,
30233 	}, {
30234 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30235 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30236 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30237 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30238 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30239 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30240 		.klen	= 48,
30241 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30242 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30243 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
30244 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
30245 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
30246 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
30247 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
30248 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
30249 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
30250 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
30251 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
30252 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
30253 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
30254 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
30255 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
30256 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
30257 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
30258 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
30259 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
30260 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
30261 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
30262 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
30263 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
30264 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
30265 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
30266 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
30267 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
30268 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
30269 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
30270 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
30271 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
30272 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
30273 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
30274 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
30275 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
30276 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
30277 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
30278 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
30279 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
30280 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
30281 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
30282 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
30283 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
30284 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
30285 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
30286 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
30287 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
30288 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
30289 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
30290 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
30291 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
30292 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
30293 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
30294 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
30295 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
30296 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
30297 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
30298 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
30299 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
30300 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
30301 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
30302 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
30303 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
30304 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
30305 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
30306 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
30307 		.ilen	= 512,
30308 		.result	= "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
30309 			  "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
30310 			  "\x67\x76\xac\x2c\xd2\x63\x18\x93"
30311 			  "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
30312 			  "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
30313 			  "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
30314 			  "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
30315 			  "\x62\xdd\x78\x81\xea\x1d\xef\x04"
30316 			  "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
30317 			  "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
30318 			  "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
30319 			  "\x40\x41\x69\xaa\x71\xc0\x37\xec"
30320 			  "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
30321 			  "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
30322 			  "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
30323 			  "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
30324 			  "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
30325 			  "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
30326 			  "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
30327 			  "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
30328 			  "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
30329 			  "\x42\x08\x40\x82\x06\x1c\x2d\x55"
30330 			  "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
30331 			  "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
30332 			  "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
30333 			  "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
30334 			  "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
30335 			  "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
30336 			  "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
30337 			  "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
30338 			  "\xed\x14\xa9\x57\x19\x63\x40\x04"
30339 			  "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
30340 			  "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
30341 			  "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
30342 			  "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
30343 			  "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
30344 			  "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
30345 			  "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
30346 			  "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
30347 			  "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
30348 			  "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
30349 			  "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
30350 			  "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
30351 			  "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
30352 			  "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
30353 			  "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
30354 			  "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
30355 			  "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
30356 			  "\x35\xa5\x83\x04\x84\x01\x99\x56"
30357 			  "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
30358 			  "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
30359 			  "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
30360 			  "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
30361 			  "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
30362 			  "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
30363 			  "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
30364 			  "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
30365 			  "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
30366 			  "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
30367 			  "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
30368 			  "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
30369 			  "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
30370 			  "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
30371 			  "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
30372 		.rlen	= 512,
30373 		.also_non_np = 1,
30374 		.np	= 3,
30375 		.tap	= { 512 - 20, 4, 16 },
30376 	},
30377 };
30378 
30379 static struct cipher_testvec camellia_lrw_dec_tv_template[] = {
30380 	/* Generated from AES-LRW test vectors */
30381 	/* same as enc vectors with input and result reversed */
30382 	{
30383 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
30384 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
30385 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
30386 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
30387 		.klen	= 32,
30388 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30389 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30390 		.input	= "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
30391 			  "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
30392 		.ilen	= 16,
30393 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30394 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30395 		.rlen	= 16,
30396 	}, {
30397 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
30398 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
30399 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
30400 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
30401 		.klen	= 32,
30402 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30403 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
30404 		.input	= "\x73\x09\xb7\x50\xb6\x77\x30\x50"
30405 			  "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
30406 		.ilen	= 16,
30407 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30408 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30409 		.rlen	= 16,
30410 	}, {
30411 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
30412 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
30413 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
30414 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
30415 		.klen	= 32,
30416 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30417 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30418 		.input	= "\x90\xae\x83\xe0\x22\xb9\x60\x91"
30419 			  "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
30420 		.ilen	= 16,
30421 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30422 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30423 		.rlen	= 16,
30424 	}, {
30425 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
30426 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
30427 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
30428 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
30429 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
30430 		.klen	= 40,
30431 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30432 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30433 		.input	= "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
30434 			  "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
30435 		.ilen	= 16,
30436 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30437 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30438 		.rlen	= 16,
30439 	}, {
30440 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
30441 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
30442 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
30443 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
30444 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
30445 		.klen	= 40,
30446 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30447 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30448 		.input	= "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
30449 			  "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
30450 		.ilen	= 16,
30451 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30452 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30453 		.rlen	= 16,
30454 	}, {
30455 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30456 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30457 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30458 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30459 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30460 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30461 		.klen	= 48,
30462 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30463 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30464 		.input	= "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
30465 			  "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
30466 		.ilen	= 16,
30467 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30468 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30469 		.rlen	= 16,
30470 	}, {
30471 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
30472 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
30473 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
30474 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
30475 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
30476 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
30477 		.klen	= 48,
30478 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30479 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30480 		.input	= "\x04\xab\x28\x37\x31\x7a\x26\xab"
30481 			  "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
30482 		.ilen	= 16,
30483 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30484 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30485 		.rlen	= 16,
30486 	}, {
30487 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30488 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30489 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30490 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30491 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30492 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30493 		.klen	= 48,
30494 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30495 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30496 		.input	= "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
30497 			  "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
30498 			  "\x67\x76\xac\x2c\xd2\x63\x18\x93"
30499 			  "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
30500 			  "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
30501 			  "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
30502 			  "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
30503 			  "\x62\xdd\x78\x81\xea\x1d\xef\x04"
30504 			  "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
30505 			  "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
30506 			  "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
30507 			  "\x40\x41\x69\xaa\x71\xc0\x37\xec"
30508 			  "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
30509 			  "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
30510 			  "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
30511 			  "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
30512 			  "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
30513 			  "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
30514 			  "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
30515 			  "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
30516 			  "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
30517 			  "\x42\x08\x40\x82\x06\x1c\x2d\x55"
30518 			  "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
30519 			  "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
30520 			  "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
30521 			  "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
30522 			  "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
30523 			  "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
30524 			  "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
30525 			  "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
30526 			  "\xed\x14\xa9\x57\x19\x63\x40\x04"
30527 			  "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
30528 			  "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
30529 			  "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
30530 			  "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
30531 			  "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
30532 			  "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
30533 			  "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
30534 			  "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
30535 			  "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
30536 			  "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
30537 			  "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
30538 			  "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
30539 			  "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
30540 			  "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
30541 			  "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
30542 			  "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
30543 			  "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
30544 			  "\x35\xa5\x83\x04\x84\x01\x99\x56"
30545 			  "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
30546 			  "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
30547 			  "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
30548 			  "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
30549 			  "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
30550 			  "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
30551 			  "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
30552 			  "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
30553 			  "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
30554 			  "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
30555 			  "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
30556 			  "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
30557 			  "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
30558 			  "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
30559 			  "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
30560 		.ilen	= 512,
30561 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
30562 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
30563 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
30564 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
30565 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
30566 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
30567 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
30568 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
30569 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
30570 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
30571 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
30572 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
30573 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
30574 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
30575 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
30576 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
30577 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
30578 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
30579 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
30580 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
30581 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
30582 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
30583 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
30584 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
30585 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
30586 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
30587 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
30588 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
30589 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
30590 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
30591 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
30592 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
30593 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
30594 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
30595 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
30596 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
30597 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
30598 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
30599 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
30600 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
30601 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
30602 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
30603 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
30604 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
30605 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
30606 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
30607 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
30608 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
30609 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
30610 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
30611 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
30612 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
30613 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
30614 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
30615 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
30616 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
30617 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
30618 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
30619 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
30620 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
30621 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
30622 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
30623 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
30624 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
30625 		.rlen	= 512,
30626 		.also_non_np = 1,
30627 		.np	= 3,
30628 		.tap	= { 512 - 20, 4, 16 },
30629 	},
30630 };
30631 
30632 static struct cipher_testvec camellia_xts_enc_tv_template[] = {
30633 	/* Generated from AES-XTS test vectors */
30634 	{
30635 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30636 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30637 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30638 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30639 		.klen	= 32,
30640 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30641 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30642 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30643 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30644 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30645 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30646 		.ilen	= 32,
30647 		.result	= "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
30648 			  "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
30649 			  "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
30650 			  "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
30651 		.rlen	= 32,
30652 	}, {
30653 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
30654 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
30655 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
30656 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
30657 		.klen	= 32,
30658 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
30659 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30660 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
30661 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30662 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30663 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
30664 		.ilen	= 32,
30665 		.result	= "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
30666 			  "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
30667 			  "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
30668 			  "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
30669 		.rlen	= 32,
30670 	}, {
30671 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
30672 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
30673 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
30674 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
30675 		.klen	= 32,
30676 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
30677 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30678 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
30679 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30680 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30681 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
30682 		.ilen	= 32,
30683 		.result	= "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
30684 			  "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
30685 			  "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
30686 			  "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
30687 		.rlen	= 32,
30688 	}, {
30689 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
30690 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
30691 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
30692 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
30693 		.klen	= 32,
30694 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30695 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30696 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
30697 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30698 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30699 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30700 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30701 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30702 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30703 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30704 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30705 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30706 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30707 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30708 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30709 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30710 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30711 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30712 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30713 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30714 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30715 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30716 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30717 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30718 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30719 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30720 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30721 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30722 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30723 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30724 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30725 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30726 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30727 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
30728 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
30729 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30730 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30731 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30732 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30733 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30734 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30735 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30736 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30737 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30738 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30739 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30740 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30741 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30742 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30743 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30744 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30745 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30746 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30747 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30748 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30749 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30750 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30751 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30752 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30753 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30754 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30755 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30756 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30757 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30758 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30759 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
30760 		.ilen	= 512,
30761 		.result	= "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
30762 			  "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
30763 			  "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
30764 			  "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
30765 			  "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
30766 			  "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
30767 			  "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
30768 			  "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
30769 			  "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
30770 			  "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
30771 			  "\x08\xda\x76\x00\x65\xcf\x7b\x31"
30772 			  "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
30773 			  "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
30774 			  "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
30775 			  "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
30776 			  "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
30777 			  "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
30778 			  "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
30779 			  "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
30780 			  "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
30781 			  "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
30782 			  "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
30783 			  "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
30784 			  "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
30785 			  "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
30786 			  "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
30787 			  "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
30788 			  "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
30789 			  "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
30790 			  "\x16\x31\xb2\x47\x91\x67\xaa\x28"
30791 			  "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
30792 			  "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
30793 			  "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
30794 			  "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
30795 			  "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
30796 			  "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
30797 			  "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
30798 			  "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
30799 			  "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
30800 			  "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
30801 			  "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
30802 			  "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
30803 			  "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
30804 			  "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
30805 			  "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
30806 			  "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
30807 			  "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
30808 			  "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
30809 			  "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
30810 			  "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
30811 			  "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
30812 			  "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
30813 			  "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
30814 			  "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
30815 			  "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
30816 			  "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
30817 			  "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
30818 			  "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
30819 			  "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
30820 			  "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
30821 			  "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
30822 			  "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
30823 			  "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
30824 			  "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
30825 		.rlen	= 512,
30826 	}, {
30827 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
30828 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
30829 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
30830 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
30831 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
30832 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
30833 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
30834 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
30835 		.klen	= 64,
30836 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
30837 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30838 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
30839 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30840 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30841 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30842 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30843 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30844 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30845 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30846 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30847 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30848 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30849 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30850 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30851 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30852 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30853 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30854 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30855 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30856 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30857 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30858 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30859 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30860 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30861 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30862 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30863 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30864 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30865 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30866 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30867 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30868 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30869 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
30870 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
30871 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30872 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30873 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30874 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30875 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30876 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30877 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30878 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30879 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30880 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30881 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30882 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30883 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30884 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30885 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30886 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30887 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30888 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30889 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30890 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30891 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30892 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30893 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30894 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30895 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30896 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30897 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30898 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30899 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30900 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30901 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
30902 		.ilen	= 512,
30903 		.result	= "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
30904 			  "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
30905 			  "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
30906 			  "\xf1\x74\xac\x96\x05\x7b\x32\xca"
30907 			  "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
30908 			  "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
30909 			  "\x97\x07\x82\xf0\x07\x12\x38\x0a"
30910 			  "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
30911 			  "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
30912 			  "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
30913 			  "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
30914 			  "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
30915 			  "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
30916 			  "\x41\x82\x0c\x45\x39\x35\xa8\x75"
30917 			  "\x03\x29\x01\x84\x8c\xab\x48\xbe"
30918 			  "\x11\x56\x22\x67\xb7\x67\x1a\x09"
30919 			  "\xa1\x72\x25\x41\x3c\x39\x65\x80"
30920 			  "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
30921 			  "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
30922 			  "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
30923 			  "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
30924 			  "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
30925 			  "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
30926 			  "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
30927 			  "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
30928 			  "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
30929 			  "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
30930 			  "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
30931 			  "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
30932 			  "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
30933 			  "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
30934 			  "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
30935 			  "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
30936 			  "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
30937 			  "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
30938 			  "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
30939 			  "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
30940 			  "\xef\x38\x52\x18\x0e\x29\x7e\xef"
30941 			  "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
30942 			  "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
30943 			  "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
30944 			  "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
30945 			  "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
30946 			  "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
30947 			  "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
30948 			  "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
30949 			  "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
30950 			  "\x21\x17\xf8\x59\x15\x24\x64\x22"
30951 			  "\x57\x48\x80\xd5\x3d\x92\x30\x07"
30952 			  "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
30953 			  "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
30954 			  "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
30955 			  "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
30956 			  "\x6b\x84\xf3\x00\xba\x52\x05\x02"
30957 			  "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
30958 			  "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
30959 			  "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
30960 			  "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
30961 			  "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
30962 			  "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
30963 			  "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
30964 			  "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
30965 			  "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
30966 			  "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
30967 		.rlen	= 512,
30968 		.also_non_np = 1,
30969 		.np	= 3,
30970 		.tap	= { 512 - 20, 4, 16 },
30971 	},
30972 };
30973 
30974 static struct cipher_testvec camellia_xts_dec_tv_template[] = {
30975 	/* Generated from AES-XTS test vectors */
30976 	/* same as enc vectors with input and result reversed */
30977 	{
30978 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30979 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30980 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30981 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30982 		.klen	= 32,
30983 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30984 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30985 		.input	= "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
30986 			  "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
30987 			  "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
30988 			  "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
30989 		.ilen	= 32,
30990 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30991 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30992 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30993 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30994 		.rlen	= 32,
30995 	}, {
30996 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
30997 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
30998 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
30999 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
31000 		.klen	= 32,
31001 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
31002 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31003 		.input	= "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
31004 			  "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
31005 			  "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
31006 			  "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
31007 		.ilen	= 32,
31008 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
31009 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31010 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31011 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
31012 		.rlen	= 32,
31013 	}, {
31014 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
31015 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
31016 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
31017 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
31018 		.klen	= 32,
31019 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
31020 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31021 		.input	= "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
31022 			  "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
31023 			  "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
31024 			  "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
31025 		.ilen	= 32,
31026 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
31027 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31028 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31029 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
31030 		.rlen	= 32,
31031 	}, {
31032 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
31033 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
31034 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
31035 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
31036 		.klen	= 32,
31037 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31038 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31039 		.input	= "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
31040 			  "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
31041 			  "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
31042 			  "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
31043 			  "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
31044 			  "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
31045 			  "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
31046 			  "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
31047 			  "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
31048 			  "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
31049 			  "\x08\xda\x76\x00\x65\xcf\x7b\x31"
31050 			  "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
31051 			  "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
31052 			  "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
31053 			  "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
31054 			  "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
31055 			  "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
31056 			  "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
31057 			  "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
31058 			  "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
31059 			  "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
31060 			  "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
31061 			  "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
31062 			  "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
31063 			  "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
31064 			  "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
31065 			  "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
31066 			  "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
31067 			  "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
31068 			  "\x16\x31\xb2\x47\x91\x67\xaa\x28"
31069 			  "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
31070 			  "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
31071 			  "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
31072 			  "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
31073 			  "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
31074 			  "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
31075 			  "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
31076 			  "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
31077 			  "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
31078 			  "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
31079 			  "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
31080 			  "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
31081 			  "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
31082 			  "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
31083 			  "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
31084 			  "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
31085 			  "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
31086 			  "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
31087 			  "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
31088 			  "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
31089 			  "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
31090 			  "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
31091 			  "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
31092 			  "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
31093 			  "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
31094 			  "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
31095 			  "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
31096 			  "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
31097 			  "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
31098 			  "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
31099 			  "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
31100 			  "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
31101 			  "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
31102 			  "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
31103 		.ilen	= 512,
31104 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31105 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31106 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31107 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31108 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31109 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31110 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31111 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31112 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31113 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31114 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31115 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31116 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31117 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31118 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31119 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31120 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31121 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31122 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31123 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31124 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31125 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31126 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31127 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31128 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31129 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31130 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31131 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31132 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31133 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31134 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31135 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31136 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
31137 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31138 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31139 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31140 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31141 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31142 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31143 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31144 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31145 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31146 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31147 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31148 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31149 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31150 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31151 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31152 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31153 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31154 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31155 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31156 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31157 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31158 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31159 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31160 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31161 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31162 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31163 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31164 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31165 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31166 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31167 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
31168 		.rlen	= 512,
31169 	}, {
31170 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
31171 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
31172 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
31173 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
31174 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
31175 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
31176 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
31177 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
31178 		.klen	= 64,
31179 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
31180 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31181 		.input	= "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
31182 			  "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
31183 			  "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
31184 			  "\xf1\x74\xac\x96\x05\x7b\x32\xca"
31185 			  "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
31186 			  "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
31187 			  "\x97\x07\x82\xf0\x07\x12\x38\x0a"
31188 			  "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
31189 			  "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
31190 			  "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
31191 			  "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
31192 			  "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
31193 			  "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
31194 			  "\x41\x82\x0c\x45\x39\x35\xa8\x75"
31195 			  "\x03\x29\x01\x84\x8c\xab\x48\xbe"
31196 			  "\x11\x56\x22\x67\xb7\x67\x1a\x09"
31197 			  "\xa1\x72\x25\x41\x3c\x39\x65\x80"
31198 			  "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
31199 			  "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
31200 			  "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
31201 			  "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
31202 			  "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
31203 			  "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
31204 			  "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
31205 			  "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
31206 			  "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
31207 			  "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
31208 			  "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
31209 			  "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
31210 			  "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
31211 			  "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
31212 			  "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
31213 			  "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
31214 			  "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
31215 			  "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
31216 			  "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
31217 			  "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
31218 			  "\xef\x38\x52\x18\x0e\x29\x7e\xef"
31219 			  "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
31220 			  "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
31221 			  "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
31222 			  "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
31223 			  "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
31224 			  "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
31225 			  "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
31226 			  "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
31227 			  "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
31228 			  "\x21\x17\xf8\x59\x15\x24\x64\x22"
31229 			  "\x57\x48\x80\xd5\x3d\x92\x30\x07"
31230 			  "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
31231 			  "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
31232 			  "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
31233 			  "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
31234 			  "\x6b\x84\xf3\x00\xba\x52\x05\x02"
31235 			  "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
31236 			  "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
31237 			  "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
31238 			  "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
31239 			  "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
31240 			  "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
31241 			  "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
31242 			  "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
31243 			  "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
31244 			  "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
31245 		.ilen	= 512,
31246 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31247 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31248 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31249 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31250 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31251 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31252 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31253 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31254 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31255 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31256 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31257 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31258 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31259 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31260 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31261 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31262 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31263 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31264 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31265 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31266 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31267 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31268 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31269 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31270 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31271 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31272 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31273 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31274 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31275 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31276 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31277 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31278 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
31279 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31280 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31281 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31282 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31283 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31284 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31285 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31286 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31287 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31288 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31289 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31290 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31291 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31292 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31293 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31294 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31295 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31296 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31297 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31298 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31299 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31300 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31301 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31302 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31303 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31304 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31305 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31306 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31307 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31308 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31309 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
31310 		.rlen	= 512,
31311 		.also_non_np = 1,
31312 		.np	= 3,
31313 		.tap	= { 512 - 20, 4, 16 },
31314 	},
31315 };
31316 
31317 /*
31318  * SEED test vectors
31319  */
31320 #define SEED_ENC_TEST_VECTORS	4
31321 #define SEED_DEC_TEST_VECTORS	4
31322 
31323 static struct cipher_testvec seed_enc_tv_template[] = {
31324 	{
31325 		.key    = zeroed_string,
31326 		.klen	= 16,
31327 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
31328 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31329 		.ilen	= 16,
31330 		.result	= "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
31331 			  "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
31332 		.rlen	= 16,
31333 	}, {
31334 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31335 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31336 		.klen	= 16,
31337 		.input	= zeroed_string,
31338 		.ilen	= 16,
31339 		.result	= "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
31340 			  "\x84\x48\x35\x97\xe4\x37\x0f\x43",
31341 		.rlen	= 16,
31342 	}, {
31343 		.key	= "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
31344 			  "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
31345 		.klen	= 16,
31346 		.input	= "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
31347 			  "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
31348 		.ilen	= 16,
31349 		.result	= "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
31350 			  "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
31351 		.rlen	= 16,
31352 	}, {
31353 		.key	= "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
31354 			  "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
31355 		.klen	= 16,
31356 		.input	= "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
31357 			  "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
31358 		.ilen	= 16,
31359 		.result	= "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
31360 			  "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
31361 		.rlen	= 16,
31362 	}
31363 };
31364 
31365 static struct cipher_testvec seed_dec_tv_template[] = {
31366 	{
31367 		.key    = zeroed_string,
31368 		.klen	= 16,
31369 		.input	= "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
31370 			  "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
31371 		.ilen	= 16,
31372 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31373 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31374 		.rlen	= 16,
31375 	}, {
31376 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31377 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31378 		.klen	= 16,
31379 		.input	= "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
31380 			  "\x84\x48\x35\x97\xe4\x37\x0f\x43",
31381 		.ilen	= 16,
31382 		.result	= zeroed_string,
31383 		.rlen	= 16,
31384 	}, {
31385 		.key	= "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
31386 			  "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
31387 		.klen	= 16,
31388 		.input	= "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
31389 			  "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
31390 		.ilen	= 16,
31391 		.result	= "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
31392 			  "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
31393 		.rlen	= 16,
31394 	}, {
31395 		.key	= "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
31396 			  "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
31397 		.klen	= 16,
31398 		.input	= "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
31399 			  "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
31400 		.ilen	= 16,
31401 		.result	= "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
31402 			  "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
31403 		.rlen	= 16,
31404 	}
31405 };
31406 
31407 #define SALSA20_STREAM_ENC_TEST_VECTORS 5
31408 static struct cipher_testvec salsa20_stream_enc_tv_template[] = {
31409 	/*
31410 	* Testvectors from verified.test-vectors submitted to ECRYPT.
31411 	* They are truncated to size 39, 64, 111, 129 to test a variety
31412 	* of input length.
31413 	*/
31414 	{ /* Set 3, vector 0 */
31415 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31416 			"\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
31417 		.klen	= 16,
31418 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
31419 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31420 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31421 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31422 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31423 			"\x00\x00\x00\x00\x00\x00\x00",
31424 		.ilen	= 39,
31425 		.result	= "\x2D\xD5\xC3\xF7\xBA\x2B\x20\xF7"
31426 			 "\x68\x02\x41\x0C\x68\x86\x88\x89"
31427 			 "\x5A\xD8\xC1\xBD\x4E\xA6\xC9\xB1"
31428 			 "\x40\xFB\x9B\x90\xE2\x10\x49\xBF"
31429 			 "\x58\x3F\x52\x79\x70\xEB\xC1",
31430 		.rlen	= 39,
31431 	}, { /* Set 5, vector 0 */
31432 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31433 			"\x00\x00\x00\x00\x00\x00\x00\x00",
31434 		.klen	= 16,
31435 		.iv     = "\x80\x00\x00\x00\x00\x00\x00\x00",
31436 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31437 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31438 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31439 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31440 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31441 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31442 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31443 			"\x00\x00\x00\x00\x00\x00\x00\x00",
31444 		.ilen	= 64,
31445 		.result	= "\xB6\x6C\x1E\x44\x46\xDD\x95\x57"
31446 			 "\xE5\x78\xE2\x23\xB0\xB7\x68\x01"
31447 			 "\x7B\x23\xB2\x67\xBB\x02\x34\xAE"
31448 			 "\x46\x26\xBF\x44\x3F\x21\x97\x76"
31449 			 "\x43\x6F\xB1\x9F\xD0\xE8\x86\x6F"
31450 			 "\xCD\x0D\xE9\xA9\x53\x8F\x4A\x09"
31451 			 "\xCA\x9A\xC0\x73\x2E\x30\xBC\xF9"
31452 			 "\x8E\x4F\x13\xE4\xB9\xE2\x01\xD9",
31453 		.rlen	= 64,
31454 	}, { /* Set 3, vector 27 */
31455 		.key	= "\x1B\x1C\x1D\x1E\x1F\x20\x21\x22"
31456 			"\x23\x24\x25\x26\x27\x28\x29\x2A"
31457 			"\x2B\x2C\x2D\x2E\x2F\x30\x31\x32"
31458 			"\x33\x34\x35\x36\x37\x38\x39\x3A",
31459 		.klen	= 32,
31460 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
31461 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31462 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31463 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31464 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31465 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31466 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31467 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31468 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31469 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31470 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31471 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31472 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31473 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31474 			"\x00\x00\x00\x00\x00\x00\x00",
31475 		.ilen	= 111,
31476 		.result	= "\xAE\x39\x50\x8E\xAC\x9A\xEC\xE7"
31477 			 "\xBF\x97\xBB\x20\xB9\xDE\xE4\x1F"
31478 			 "\x87\xD9\x47\xF8\x28\x91\x35\x98"
31479 			 "\xDB\x72\xCC\x23\x29\x48\x56\x5E"
31480 			 "\x83\x7E\x0B\xF3\x7D\x5D\x38\x7B"
31481 			 "\x2D\x71\x02\xB4\x3B\xB5\xD8\x23"
31482 			 "\xB0\x4A\xDF\x3C\xEC\xB6\xD9\x3B"
31483 			 "\x9B\xA7\x52\xBE\xC5\xD4\x50\x59"
31484 			 "\x15\x14\xB4\x0E\x40\xE6\x53\xD1"
31485 			 "\x83\x9C\x5B\xA0\x92\x29\x6B\x5E"
31486 			 "\x96\x5B\x1E\x2F\xD3\xAC\xC1\x92"
31487 			 "\xB1\x41\x3F\x19\x2F\xC4\x3B\xC6"
31488 			 "\x95\x46\x45\x54\xE9\x75\x03\x08"
31489 			 "\x44\xAF\xE5\x8A\x81\x12\x09",
31490 		.rlen	= 111,
31491 	}, { /* Set 5, vector 27 */
31492 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31493 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31494 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31495 			"\x00\x00\x00\x00\x00\x00\x00\x00",
31496 		.klen	= 32,
31497 		.iv     = "\x00\x00\x00\x10\x00\x00\x00\x00",
31498 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31499 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31500 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31501 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31502 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31503 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31504 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31505 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31506 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31507 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31508 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31509 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31510 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31511 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31512 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31513 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31514 			"\x00",
31515 		.ilen	= 129,
31516 		.result	= "\xD2\xDB\x1A\x5C\xF1\xC1\xAC\xDB"
31517 			 "\xE8\x1A\x7A\x43\x40\xEF\x53\x43"
31518 			 "\x5E\x7F\x4B\x1A\x50\x52\x3F\x8D"
31519 			 "\x28\x3D\xCF\x85\x1D\x69\x6E\x60"
31520 			 "\xF2\xDE\x74\x56\x18\x1B\x84\x10"
31521 			 "\xD4\x62\xBA\x60\x50\xF0\x61\xF2"
31522 			 "\x1C\x78\x7F\xC1\x24\x34\xAF\x58"
31523 			 "\xBF\x2C\x59\xCA\x90\x77\xF3\xB0"
31524 			 "\x5B\x4A\xDF\x89\xCE\x2C\x2F\xFC"
31525 			 "\x67\xF0\xE3\x45\xE8\xB3\xB3\x75"
31526 			 "\xA0\x95\x71\xA1\x29\x39\x94\xCA"
31527 			 "\x45\x2F\xBD\xCB\x10\xB6\xBE\x9F"
31528 			 "\x8E\xF9\xB2\x01\x0A\x5A\x0A\xB7"
31529 			 "\x6B\x9D\x70\x8E\x4B\xD6\x2F\xCD"
31530 			 "\x2E\x40\x48\x75\xE9\xE2\x21\x45"
31531 			 "\x0B\xC9\xB6\xB5\x66\xBC\x9A\x59"
31532 			 "\x5A",
31533 		.rlen	= 129,
31534 	}, { /* large test vector generated using Crypto++ */
31535 		.key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
31536 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31537 			"\x10\x11\x12\x13\x14\x15\x16\x17"
31538 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
31539 		.klen = 32,
31540 		.iv =	"\x00\x00\x00\x00\x00\x00\x00\x00"
31541 			"\x00\x00\x00\x00\x00\x00\x00\x00",
31542 		.input =
31543 			"\x00\x01\x02\x03\x04\x05\x06\x07"
31544 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31545 			"\x10\x11\x12\x13\x14\x15\x16\x17"
31546 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31547 			"\x20\x21\x22\x23\x24\x25\x26\x27"
31548 			"\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31549 			"\x30\x31\x32\x33\x34\x35\x36\x37"
31550 			"\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31551 			"\x40\x41\x42\x43\x44\x45\x46\x47"
31552 			"\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31553 			"\x50\x51\x52\x53\x54\x55\x56\x57"
31554 			"\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31555 			"\x60\x61\x62\x63\x64\x65\x66\x67"
31556 			"\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31557 			"\x70\x71\x72\x73\x74\x75\x76\x77"
31558 			"\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31559 			"\x80\x81\x82\x83\x84\x85\x86\x87"
31560 			"\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31561 			"\x90\x91\x92\x93\x94\x95\x96\x97"
31562 			"\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31563 			"\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31564 			"\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31565 			"\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31566 			"\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31567 			"\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31568 			"\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31569 			"\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31570 			"\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31571 			"\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31572 			"\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31573 			"\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31574 			"\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31575 			"\x00\x03\x06\x09\x0c\x0f\x12\x15"
31576 			"\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
31577 			"\x30\x33\x36\x39\x3c\x3f\x42\x45"
31578 			"\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
31579 			"\x60\x63\x66\x69\x6c\x6f\x72\x75"
31580 			"\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
31581 			"\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
31582 			"\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
31583 			"\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
31584 			"\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
31585 			"\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
31586 			"\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
31587 			"\x20\x23\x26\x29\x2c\x2f\x32\x35"
31588 			"\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
31589 			"\x50\x53\x56\x59\x5c\x5f\x62\x65"
31590 			"\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
31591 			"\x80\x83\x86\x89\x8c\x8f\x92\x95"
31592 			"\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
31593 			"\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
31594 			"\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
31595 			"\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
31596 			"\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
31597 			"\x10\x13\x16\x19\x1c\x1f\x22\x25"
31598 			"\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
31599 			"\x40\x43\x46\x49\x4c\x4f\x52\x55"
31600 			"\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
31601 			"\x70\x73\x76\x79\x7c\x7f\x82\x85"
31602 			"\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
31603 			"\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
31604 			"\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
31605 			"\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
31606 			"\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
31607 			"\x00\x05\x0a\x0f\x14\x19\x1e\x23"
31608 			"\x28\x2d\x32\x37\x3c\x41\x46\x4b"
31609 			"\x50\x55\x5a\x5f\x64\x69\x6e\x73"
31610 			"\x78\x7d\x82\x87\x8c\x91\x96\x9b"
31611 			"\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
31612 			"\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
31613 			"\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
31614 			"\x18\x1d\x22\x27\x2c\x31\x36\x3b"
31615 			"\x40\x45\x4a\x4f\x54\x59\x5e\x63"
31616 			"\x68\x6d\x72\x77\x7c\x81\x86\x8b"
31617 			"\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
31618 			"\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
31619 			"\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
31620 			"\x08\x0d\x12\x17\x1c\x21\x26\x2b"
31621 			"\x30\x35\x3a\x3f\x44\x49\x4e\x53"
31622 			"\x58\x5d\x62\x67\x6c\x71\x76\x7b"
31623 			"\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
31624 			"\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
31625 			"\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
31626 			"\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
31627 			"\x20\x25\x2a\x2f\x34\x39\x3e\x43"
31628 			"\x48\x4d\x52\x57\x5c\x61\x66\x6b"
31629 			"\x70\x75\x7a\x7f\x84\x89\x8e\x93"
31630 			"\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
31631 			"\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
31632 			"\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
31633 			"\x10\x15\x1a\x1f\x24\x29\x2e\x33"
31634 			"\x38\x3d\x42\x47\x4c\x51\x56\x5b"
31635 			"\x60\x65\x6a\x6f\x74\x79\x7e\x83"
31636 			"\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
31637 			"\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
31638 			"\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
31639 			"\x00\x07\x0e\x15\x1c\x23\x2a\x31"
31640 			"\x38\x3f\x46\x4d\x54\x5b\x62\x69"
31641 			"\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
31642 			"\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
31643 			"\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
31644 			"\x18\x1f\x26\x2d\x34\x3b\x42\x49"
31645 			"\x50\x57\x5e\x65\x6c\x73\x7a\x81"
31646 			"\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
31647 			"\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
31648 			"\xf8\xff\x06\x0d\x14\x1b\x22\x29"
31649 			"\x30\x37\x3e\x45\x4c\x53\x5a\x61"
31650 			"\x68\x6f\x76\x7d\x84\x8b\x92\x99"
31651 			"\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
31652 			"\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
31653 			"\x10\x17\x1e\x25\x2c\x33\x3a\x41"
31654 			"\x48\x4f\x56\x5d\x64\x6b\x72\x79"
31655 			"\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
31656 			"\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
31657 			"\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
31658 			"\x28\x2f\x36\x3d\x44\x4b\x52\x59"
31659 			"\x60\x67\x6e\x75\x7c\x83\x8a\x91"
31660 			"\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
31661 			"\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
31662 			"\x08\x0f\x16\x1d\x24\x2b\x32\x39"
31663 			"\x40\x47\x4e\x55\x5c\x63\x6a\x71"
31664 			"\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
31665 			"\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
31666 			"\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
31667 			"\x20\x27\x2e\x35\x3c\x43\x4a\x51"
31668 			"\x58\x5f\x66\x6d\x74\x7b\x82\x89"
31669 			"\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
31670 			"\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
31671 			"\x00\x09\x12\x1b\x24\x2d\x36\x3f"
31672 			"\x48\x51\x5a\x63\x6c\x75\x7e\x87"
31673 			"\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
31674 			"\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
31675 			"\x20\x29\x32\x3b\x44\x4d\x56\x5f"
31676 			"\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
31677 			"\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
31678 			"\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
31679 			"\x40\x49\x52\x5b\x64\x6d\x76\x7f"
31680 			"\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
31681 			"\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
31682 			"\x18\x21\x2a\x33\x3c\x45\x4e\x57"
31683 			"\x60\x69\x72\x7b\x84\x8d\x96\x9f"
31684 			"\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
31685 			"\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
31686 			"\x38\x41\x4a\x53\x5c\x65\x6e\x77"
31687 			"\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
31688 			"\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
31689 			"\x10\x19\x22\x2b\x34\x3d\x46\x4f"
31690 			"\x58\x61\x6a\x73\x7c\x85\x8e\x97"
31691 			"\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
31692 			"\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
31693 			"\x30\x39\x42\x4b\x54\x5d\x66\x6f"
31694 			"\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
31695 			"\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
31696 			"\x08\x11\x1a\x23\x2c\x35\x3e\x47"
31697 			"\x50\x59\x62\x6b\x74\x7d\x86\x8f"
31698 			"\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
31699 			"\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
31700 			"\x28\x31\x3a\x43\x4c\x55\x5e\x67"
31701 			"\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
31702 			"\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
31703 			"\x00\x0b\x16\x21\x2c\x37\x42\x4d"
31704 			"\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
31705 			"\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
31706 			"\x08\x13\x1e\x29\x34\x3f\x4a\x55"
31707 			"\x60\x6b\x76\x81\x8c\x97\xa2\xad"
31708 			"\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
31709 			"\x10\x1b\x26\x31\x3c\x47\x52\x5d"
31710 			"\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
31711 			"\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
31712 			"\x18\x23\x2e\x39\x44\x4f\x5a\x65"
31713 			"\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
31714 			"\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
31715 			"\x20\x2b\x36\x41\x4c\x57\x62\x6d"
31716 			"\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
31717 			"\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
31718 			"\x28\x33\x3e\x49\x54\x5f\x6a\x75"
31719 			"\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
31720 			"\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
31721 			"\x30\x3b\x46\x51\x5c\x67\x72\x7d"
31722 			"\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
31723 			"\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
31724 			"\x38\x43\x4e\x59\x64\x6f\x7a\x85"
31725 			"\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
31726 			"\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
31727 			"\x40\x4b\x56\x61\x6c\x77\x82\x8d"
31728 			"\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
31729 			"\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
31730 			"\x48\x53\x5e\x69\x74\x7f\x8a\x95"
31731 			"\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
31732 			"\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
31733 			"\x50\x5b\x66\x71\x7c\x87\x92\x9d"
31734 			"\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
31735 			"\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
31736 			"\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
31737 			"\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
31738 			"\x38\x45\x52\x5f\x6c\x79\x86\x93"
31739 			"\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
31740 			"\x08\x15\x22\x2f\x3c\x49\x56\x63"
31741 			"\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
31742 			"\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
31743 			"\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
31744 			"\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
31745 			"\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
31746 			"\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
31747 			"\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
31748 			"\x48\x55\x62\x6f\x7c\x89\x96\xa3"
31749 			"\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
31750 			"\x18\x25\x32\x3f\x4c\x59\x66\x73"
31751 			"\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
31752 			"\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
31753 			"\x50\x5d\x6a\x77\x84\x91\x9e\xab"
31754 			"\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
31755 			"\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
31756 			"\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
31757 			"\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
31758 			"\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
31759 			"\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
31760 			"\x28\x35\x42\x4f\x5c\x69\x76\x83"
31761 			"\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
31762 			"\xf8\x05\x12\x1f\x2c\x39\x46\x53"
31763 			"\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
31764 			"\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
31765 			"\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
31766 			"\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
31767 			"\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
31768 			"\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
31769 			"\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
31770 			"\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
31771 			"\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
31772 			"\x58\x67\x76\x85\x94\xa3\xb2\xc1"
31773 			"\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
31774 			"\x48\x57\x66\x75\x84\x93\xa2\xb1"
31775 			"\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
31776 			"\x38\x47\x56\x65\x74\x83\x92\xa1"
31777 			"\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
31778 			"\x28\x37\x46\x55\x64\x73\x82\x91"
31779 			"\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
31780 			"\x18\x27\x36\x45\x54\x63\x72\x81"
31781 			"\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
31782 			"\x08\x17\x26\x35\x44\x53\x62\x71"
31783 			"\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
31784 			"\xf8\x07\x16\x25\x34\x43\x52\x61"
31785 			"\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
31786 			"\xe8\xf7\x06\x15\x24\x33\x42\x51"
31787 			"\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
31788 			"\xd8\xe7\xf6\x05\x14\x23\x32\x41"
31789 			"\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
31790 			"\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
31791 			"\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
31792 			"\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
31793 			"\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
31794 			"\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
31795 			"\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
31796 			"\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
31797 			"\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
31798 			"\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
31799 			"\x00\x11\x22\x33\x44\x55\x66\x77"
31800 			"\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
31801 			"\x10\x21\x32\x43\x54\x65\x76\x87"
31802 			"\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
31803 			"\x20\x31\x42\x53\x64\x75\x86\x97"
31804 			"\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
31805 			"\x30\x41\x52\x63\x74\x85\x96\xa7"
31806 			"\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
31807 			"\x40\x51\x62\x73\x84\x95\xa6\xb7"
31808 			"\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
31809 			"\x50\x61\x72\x83\x94\xa5\xb6\xc7"
31810 			"\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
31811 			"\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
31812 			"\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
31813 			"\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
31814 			"\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
31815 			"\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
31816 			"\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
31817 			"\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
31818 			"\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
31819 			"\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
31820 			"\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
31821 			"\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
31822 			"\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
31823 			"\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
31824 			"\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
31825 			"\xd0\xe1\xf2\x03\x14\x25\x36\x47"
31826 			"\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
31827 			"\xe0\xf1\x02\x13\x24\x35\x46\x57"
31828 			"\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
31829 			"\xf0\x01\x12\x23\x34\x45\x56\x67"
31830 			"\x78\x89\x9a\xab\xbc\xcd\xde\xef"
31831 			"\x00\x13\x26\x39\x4c\x5f\x72\x85"
31832 			"\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
31833 			"\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
31834 			"\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
31835 			"\x60\x73\x86\x99\xac\xbf\xd2\xe5"
31836 			"\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
31837 			"\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
31838 			"\x28\x3b\x4e\x61\x74\x87\x9a\xad"
31839 			"\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
31840 			"\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
31841 			"\xf0\x03\x16\x29\x3c\x4f\x62\x75"
31842 			"\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
31843 			"\x20\x33\x46\x59\x6c\x7f\x92\xa5"
31844 			"\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
31845 			"\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
31846 			"\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
31847 			"\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
31848 			"\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
31849 			"\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
31850 			"\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
31851 			"\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
31852 			"\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
31853 			"\x10\x23\x36\x49\x5c\x6f\x82\x95"
31854 			"\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
31855 			"\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
31856 			"\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
31857 			"\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
31858 			"\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
31859 			"\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
31860 			"\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
31861 			"\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
31862 			"\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
31863 			"\x00\x15\x2a\x3f\x54\x69\x7e\x93"
31864 			"\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
31865 			"\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
31866 			"\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
31867 			"\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
31868 			"\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
31869 			"\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
31870 			"\x98\xad\xc2\xd7\xec\x01\x16\x2b"
31871 			"\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
31872 			"\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
31873 			"\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
31874 			"\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
31875 			"\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
31876 			"\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
31877 			"\x30\x45\x5a\x6f\x84\x99\xae\xc3"
31878 			"\xd8\xed\x02\x17\x2c\x41\x56\x6b"
31879 			"\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
31880 			"\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
31881 			"\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
31882 			"\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
31883 			"\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
31884 			"\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
31885 			"\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
31886 			"\x18\x2d\x42\x57\x6c\x81\x96\xab"
31887 			"\xc0\xd5\xea\xff\x14\x29\x3e\x53"
31888 			"\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
31889 			"\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
31890 			"\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
31891 			"\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
31892 			"\x08\x1d\x32\x47\x5c\x71\x86\x9b"
31893 			"\xb0\xc5\xda\xef\x04\x19\x2e\x43"
31894 			"\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
31895 			"\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
31896 			"\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
31897 			"\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
31898 			"\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
31899 			"\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
31900 			"\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
31901 			"\x50\x67\x7e\x95\xac\xc3\xda\xf1"
31902 			"\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
31903 			"\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
31904 			"\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
31905 			"\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
31906 			"\xe8\xff\x16\x2d\x44\x5b\x72\x89"
31907 			"\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
31908 			"\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
31909 			"\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
31910 			"\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
31911 			"\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
31912 			"\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
31913 			"\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
31914 			"\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
31915 			"\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
31916 			"\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
31917 			"\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
31918 			"\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
31919 			"\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
31920 			"\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
31921 			"\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
31922 			"\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
31923 			"\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
31924 			"\xd8\xef\x06\x1d\x34\x4b\x62\x79"
31925 			"\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
31926 			"\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
31927 			"\x00\x19\x32\x4b\x64\x7d\x96\xaf"
31928 			"\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
31929 			"\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
31930 			"\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
31931 			"\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
31932 			"\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
31933 			"\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
31934 			"\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
31935 			"\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
31936 			"\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
31937 			"\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
31938 			"\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
31939 			"\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
31940 			"\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
31941 			"\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
31942 			"\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
31943 			"\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
31944 			"\x48\x61\x7a\x93\xac\xc5\xde\xf7"
31945 			"\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
31946 			"\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
31947 			"\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
31948 			"\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
31949 			"\x30\x49\x62\x7b\x94\xad\xc6\xdf"
31950 			"\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
31951 			"\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
31952 			"\x88\xa1\xba\xd3\xec\x05\x1e\x37"
31953 			"\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
31954 			"\x18\x31\x4a\x63\x7c\x95\xae\xc7"
31955 			"\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
31956 			"\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
31957 			"\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
31958 			"\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
31959 			"\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
31960 			"\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
31961 			"\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
31962 			"\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
31963 			"\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
31964 			"\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
31965 			"\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
31966 			"\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
31967 			"\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
31968 			"\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
31969 			"\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
31970 			"\x48\x63\x7e\x99\xb4\xcf\xea\x05"
31971 			"\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
31972 			"\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
31973 			"\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
31974 			"\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
31975 			"\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
31976 			"\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
31977 			"\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
31978 			"\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
31979 			"\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
31980 			"\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
31981 			"\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
31982 			"\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
31983 			"\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
31984 			"\x18\x33\x4e\x69\x84\x9f\xba\xd5"
31985 			"\xf0\x0b\x26\x41\x5c\x77\x92\xad"
31986 			"\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
31987 			"\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
31988 			"\x78\x93\xae\xc9\xe4\xff\x1a\x35"
31989 			"\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
31990 			"\x28\x43\x5e\x79\x94\xaf\xca\xe5"
31991 			"\x00\x1d\x3a\x57\x74\x91\xae\xcb"
31992 			"\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
31993 			"\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
31994 			"\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
31995 			"\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
31996 			"\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
31997 			"\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
31998 			"\x58\x75\x92\xaf\xcc\xe9\x06\x23"
31999 			"\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
32000 			"\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
32001 			"\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
32002 			"\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
32003 			"\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
32004 			"\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
32005 			"\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
32006 			"\x98\xb5\xd2\xef\x0c\x29\x46\x63"
32007 			"\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
32008 			"\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
32009 			"\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
32010 			"\x38\x55\x72\x8f\xac\xc9\xe6\x03"
32011 			"\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
32012 			"\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
32013 			"\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
32014 			"\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
32015 			"\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
32016 			"\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
32017 			"\x90\xad\xca\xe7\x04\x21\x3e\x5b"
32018 			"\x78\x95\xb2\xcf\xec\x09\x26\x43"
32019 			"\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
32020 			"\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
32021 			"\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
32022 			"\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
32023 			"\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
32024 			"\xf8\x17\x36\x55\x74\x93\xb2\xd1"
32025 			"\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
32026 			"\xe8\x07\x26\x45\x64\x83\xa2\xc1"
32027 			"\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
32028 			"\xd8\xf7\x16\x35\x54\x73\x92\xb1"
32029 			"\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
32030 			"\xc8\xe7\x06\x25\x44\x63\x82\xa1"
32031 			"\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
32032 			"\xb8\xd7\xf6\x15\x34\x53\x72\x91"
32033 			"\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
32034 			"\xa8\xc7\xe6\x05\x24\x43\x62\x81"
32035 			"\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
32036 			"\x98\xb7\xd6\xf5\x14\x33\x52\x71"
32037 			"\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
32038 			"\x88\xa7\xc6\xe5\x04\x23\x42\x61"
32039 			"\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
32040 			"\x78\x97\xb6\xd5\xf4\x13\x32\x51"
32041 			"\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
32042 			"\x68\x87\xa6\xc5\xe4\x03\x22\x41"
32043 			"\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
32044 			"\x58\x77\x96\xb5\xd4\xf3\x12\x31"
32045 			"\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
32046 			"\x48\x67\x86\xa5\xc4\xe3\x02\x21"
32047 			"\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
32048 			"\x38\x57\x76\x95\xb4\xd3\xf2\x11"
32049 			"\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
32050 			"\x28\x47\x66\x85\xa4\xc3\xe2\x01"
32051 			"\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
32052 			"\x18\x37\x56\x75\x94\xb3\xd2\xf1"
32053 			"\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
32054 			"\x08\x27\x46\x65\x84\xa3\xc2\xe1"
32055 			"\x00\x21\x42\x63",
32056 		.ilen = 4100,
32057 		.result =
32058 			"\xb5\x81\xf5\x64\x18\x73\xe3\xf0"
32059 			"\x4c\x13\xf2\x77\x18\x60\x65\x5e"
32060 			"\x29\x01\xce\x98\x55\x53\xf9\x0c"
32061 			"\x2a\x08\xd5\x09\xb3\x57\x55\x56"
32062 			"\xc5\xe9\x56\x90\xcb\x6a\xa3\xc0"
32063 			"\xff\xc4\x79\xb4\xd2\x97\x5d\xc4"
32064 			"\x43\xd1\xfe\x94\x7b\x88\x06\x5a"
32065 			"\xb2\x9e\x2c\xfc\x44\x03\xb7\x90"
32066 			"\xa0\xc1\xba\x6a\x33\xb8\xc7\xb2"
32067 			"\x9d\xe1\x12\x4f\xc0\x64\xd4\x01"
32068 			"\xfe\x8c\x7a\x66\xf7\xe6\x5a\x91"
32069 			"\xbb\xde\x56\x86\xab\x65\x21\x30"
32070 			"\x00\x84\x65\x24\xa5\x7d\x85\xb4"
32071 			"\xe3\x17\xed\x3a\xb7\x6f\xb4\x0b"
32072 			"\x0b\xaf\x15\xae\x5a\x8f\xf2\x0c"
32073 			"\x2f\x27\xf4\x09\xd8\xd2\x96\xb7"
32074 			"\x71\xf2\xc5\x99\x4d\x7e\x7f\x75"
32075 			"\x77\x89\x30\x8b\x59\xdb\xa2\xb2"
32076 			"\xa0\xf3\x19\x39\x2b\xc5\x7e\x3f"
32077 			"\x4f\xd9\xd3\x56\x28\x97\x44\xdc"
32078 			"\xc0\x8b\x77\x24\xd9\x52\xe7\xc5"
32079 			"\xaf\xf6\x7d\x59\xb2\x44\x05\x1d"
32080 			"\xb1\xb0\x11\xa5\x0f\xec\x33\xe1"
32081 			"\x6d\x1b\x4e\x1f\xff\x57\x91\xb4"
32082 			"\x5b\x9a\x96\xc5\x53\xbc\xae\x20"
32083 			"\x3c\xbb\x14\xe2\xe8\x22\x33\xc1"
32084 			"\x5e\x76\x9e\x46\x99\xf6\x2a\x15"
32085 			"\xc6\x97\x02\xa0\x66\x43\xd1\xa6"
32086 			"\x31\xa6\x9f\xfb\xf4\xd3\x69\xe5"
32087 			"\xcd\x76\x95\xb8\x7a\x82\x7f\x21"
32088 			"\x45\xff\x3f\xce\x55\xf6\x95\x10"
32089 			"\x08\x77\x10\x43\xc6\xf3\x09\xe5"
32090 			"\x68\xe7\x3c\xad\x00\x52\x45\x0d"
32091 			"\xfe\x2d\xc6\xc2\x94\x8c\x12\x1d"
32092 			"\xe6\x25\xae\x98\x12\x8e\x19\x9c"
32093 			"\x81\x68\xb1\x11\xf6\x69\xda\xe3"
32094 			"\x62\x08\x18\x7a\x25\x49\x28\xac"
32095 			"\xba\x71\x12\x0b\xe4\xa2\xe5\xc7"
32096 			"\x5d\x8e\xec\x49\x40\x21\xbf\x5a"
32097 			"\x98\xf3\x02\x68\x55\x03\x7f\x8a"
32098 			"\xe5\x94\x0c\x32\x5c\x07\x82\x63"
32099 			"\xaf\x6f\x91\x40\x84\x8e\x52\x25"
32100 			"\xd0\xb0\x29\x53\x05\xe2\x50\x7a"
32101 			"\x34\xeb\xc9\x46\x20\xa8\x3d\xde"
32102 			"\x7f\x16\x5f\x36\xc5\x2e\xdc\xd1"
32103 			"\x15\x47\xc7\x50\x40\x6d\x91\xc5"
32104 			"\xe7\x93\x95\x1a\xd3\x57\xbc\x52"
32105 			"\x33\xee\x14\x19\x22\x52\x89\xa7"
32106 			"\x4a\x25\x56\x77\x4b\xca\xcf\x0a"
32107 			"\xe1\xf5\x35\x85\x30\x7e\x59\x4a"
32108 			"\xbd\x14\x5b\xdf\xe3\x46\xcb\xac"
32109 			"\x1f\x6c\x96\x0e\xf4\x81\xd1\x99"
32110 			"\xca\x88\x63\x3d\x02\x58\x6b\xa9"
32111 			"\xe5\x9f\xb3\x00\xb2\x54\xc6\x74"
32112 			"\x1c\xbf\x46\xab\x97\xcc\xf8\x54"
32113 			"\x04\x07\x08\x52\xe6\xc0\xda\x93"
32114 			"\x74\x7d\x93\x99\x5d\x78\x68\xa6"
32115 			"\x2e\x6b\xd3\x6a\x69\xcc\x12\x6b"
32116 			"\xd4\xc7\xa5\xc6\xe7\xf6\x03\x04"
32117 			"\x5d\xcd\x61\x5e\x17\x40\xdc\xd1"
32118 			"\x5c\xf5\x08\xdf\x5c\x90\x85\xa4"
32119 			"\xaf\xf6\x78\xbb\x0d\xf1\xf4\xa4"
32120 			"\x54\x26\x72\x9e\x61\xfa\x86\xcf"
32121 			"\xe8\x9e\xa1\xe0\xc7\x48\x23\xae"
32122 			"\x5a\x90\xae\x75\x0a\x74\x18\x89"
32123 			"\x05\xb1\x92\xb2\x7f\xd0\x1b\xa6"
32124 			"\x62\x07\x25\x01\xc7\xc2\x4f\xf9"
32125 			"\xe8\xfe\x63\x95\x80\x07\xb4\x26"
32126 			"\xcc\xd1\x26\xb6\xc4\x3f\x9e\xcb"
32127 			"\x8e\x3b\x2e\x44\x16\xd3\x10\x9a"
32128 			"\x95\x08\xeb\xc8\xcb\xeb\xbf\x6f"
32129 			"\x0b\xcd\x1f\xc8\xca\x86\xaa\xec"
32130 			"\x33\xe6\x69\xf4\x45\x25\x86\x3a"
32131 			"\x22\x94\x4f\x00\x23\x6a\x44\xc2"
32132 			"\x49\x97\x33\xab\x36\x14\x0a\x70"
32133 			"\x24\xc3\xbe\x04\x3b\x79\xa0\xf9"
32134 			"\xb8\xe7\x76\x29\x22\x83\xd7\xf2"
32135 			"\x94\xf4\x41\x49\xba\x5f\x7b\x07"
32136 			"\xb5\xfb\xdb\x03\x1a\x9f\xb6\x4c"
32137 			"\xc2\x2e\x37\x40\x49\xc3\x38\x16"
32138 			"\xe2\x4f\x77\x82\xb0\x68\x4c\x71"
32139 			"\x1d\x57\x61\x9c\xd9\x4e\x54\x99"
32140 			"\x47\x13\x28\x73\x3c\xbb\x00\x90"
32141 			"\xf3\x4d\xc9\x0e\xfd\xe7\xb1\x71"
32142 			"\xd3\x15\x79\xbf\xcc\x26\x2f\xbd"
32143 			"\xad\x6c\x50\x69\x6c\x3e\x6d\x80"
32144 			"\x9a\xea\x78\xaf\x19\xb2\x0d\x4d"
32145 			"\xad\x04\x07\xae\x22\x90\x4a\x93"
32146 			"\x32\x0e\x36\x9b\x1b\x46\xba\x3b"
32147 			"\xb4\xac\xc6\xd1\xa2\x31\x53\x3b"
32148 			"\x2a\x3d\x45\xfe\x03\x61\x10\x85"
32149 			"\x17\x69\xa6\x78\xcc\x6c\x87\x49"
32150 			"\x53\xf9\x80\x10\xde\x80\xa2\x41"
32151 			"\x6a\xc3\x32\x02\xad\x6d\x3c\x56"
32152 			"\x00\x71\x51\x06\xa7\xbd\xfb\xef"
32153 			"\x3c\xb5\x9f\xfc\x48\x7d\x53\x7c"
32154 			"\x66\xb0\x49\x23\xc4\x47\x10\x0e"
32155 			"\xe5\x6c\x74\x13\xe6\xc5\x3f\xaa"
32156 			"\xde\xff\x07\x44\xdd\x56\x1b\xad"
32157 			"\x09\x77\xfb\x5b\x12\xb8\x0d\x38"
32158 			"\x17\x37\x35\x7b\x9b\xbc\xfe\xd4"
32159 			"\x7e\x8b\xda\x7e\x5b\x04\xa7\x22"
32160 			"\xa7\x31\xa1\x20\x86\xc7\x1b\x99"
32161 			"\xdb\xd1\x89\xf4\x94\xa3\x53\x69"
32162 			"\x8d\xe7\xe8\x74\x11\x8d\x74\xd6"
32163 			"\x07\x37\x91\x9f\xfd\x67\x50\x3a"
32164 			"\xc9\xe1\xf4\x36\xd5\xa0\x47\xd1"
32165 			"\xf9\xe5\x39\xa3\x31\xac\x07\x36"
32166 			"\x23\xf8\x66\x18\x14\x28\x34\x0f"
32167 			"\xb8\xd0\xe7\x29\xb3\x04\x4b\x55"
32168 			"\x01\x41\xb2\x75\x8d\xcb\x96\x85"
32169 			"\x3a\xfb\xab\x2b\x9e\xfa\x58\x20"
32170 			"\x44\x1f\xc0\x14\x22\x75\x61\xe8"
32171 			"\xaa\x19\xcf\xf1\x82\x56\xf4\xd7"
32172 			"\x78\x7b\x3d\x5f\xb3\x9e\x0b\x8a"
32173 			"\x57\x50\xdb\x17\x41\x65\x4d\xa3"
32174 			"\x02\xc9\x9c\x9c\x53\xfb\x39\x39"
32175 			"\x9b\x1d\x72\x24\xda\xb7\x39\xbe"
32176 			"\x13\x3b\xfa\x29\xda\x9e\x54\x64"
32177 			"\x6e\xba\xd8\xa1\xcb\xb3\x36\xfa"
32178 			"\xcb\x47\x85\xe9\x61\x38\xbc\xbe"
32179 			"\xc5\x00\x38\x2a\x54\xf7\xc4\xb9"
32180 			"\xb3\xd3\x7b\xa0\xa0\xf8\x72\x7f"
32181 			"\x8c\x8e\x82\x0e\xc6\x1c\x75\x9d"
32182 			"\xca\x8e\x61\x87\xde\xad\x80\xd2"
32183 			"\xf5\xf9\x80\xef\x15\x75\xaf\xf5"
32184 			"\x80\xfb\xff\x6d\x1e\x25\xb7\x40"
32185 			"\x61\x6a\x39\x5a\x6a\xb5\x31\xab"
32186 			"\x97\x8a\x19\x89\x44\x40\xc0\xa6"
32187 			"\xb4\x4e\x30\x32\x7b\x13\xe7\x67"
32188 			"\xa9\x8b\x57\x04\xc2\x01\xa6\xf4"
32189 			"\x28\x99\xad\x2c\x76\xa3\x78\xc2"
32190 			"\x4a\xe6\xca\x5c\x50\x6a\xc1\xb0"
32191 			"\x62\x4b\x10\x8e\x7c\x17\x43\xb3"
32192 			"\x17\x66\x1c\x3e\x8d\x69\xf0\x5a"
32193 			"\x71\xf5\x97\xdc\xd1\x45\xdd\x28"
32194 			"\xf3\x5d\xdf\x53\x7b\x11\xe5\xbc"
32195 			"\x4c\xdb\x1b\x51\x6b\xe9\xfb\x3d"
32196 			"\xc1\xc3\x2c\xb9\x71\xf5\xb6\xb2"
32197 			"\x13\x36\x79\x80\x53\xe8\xd3\xa6"
32198 			"\x0a\xaf\xfd\x56\x97\xf7\x40\x8e"
32199 			"\x45\xce\xf8\xb0\x9e\x5c\x33\x82"
32200 			"\xb0\x44\x56\xfc\x05\x09\xe9\x2a"
32201 			"\xac\x26\x80\x14\x1d\xc8\x3a\x35"
32202 			"\x4c\x82\x97\xfd\x76\xb7\xa9\x0a"
32203 			"\x35\x58\x79\x8e\x0f\x66\xea\xaf"
32204 			"\x51\x6c\x09\xa9\x6e\x9b\xcb\x9a"
32205 			"\x31\x47\xa0\x2f\x7c\x71\xb4\x4a"
32206 			"\x11\xaa\x8c\x66\xc5\x64\xe6\x3a"
32207 			"\x54\xda\x24\x6a\xc4\x41\x65\x46"
32208 			"\x82\xa0\x0a\x0f\x5f\xfb\x25\xd0"
32209 			"\x2c\x91\xa7\xee\xc4\x81\x07\x86"
32210 			"\x75\x5e\x33\x69\x97\xe4\x2c\xa8"
32211 			"\x9d\x9f\x0b\x6a\xbe\xad\x98\xda"
32212 			"\x6d\x94\x41\xda\x2c\x1e\x89\xc4"
32213 			"\xc2\xaf\x1e\x00\x05\x0b\x83\x60"
32214 			"\xbd\x43\xea\x15\x23\x7f\xb9\xac"
32215 			"\xee\x4f\x2c\xaf\x2a\xf3\xdf\xd0"
32216 			"\xf3\x19\x31\xbb\x4a\x74\x84\x17"
32217 			"\x52\x32\x2c\x7d\x61\xe4\xcb\xeb"
32218 			"\x80\x38\x15\x52\xcb\x6f\xea\xe5"
32219 			"\x73\x9c\xd9\x24\x69\xc6\x95\x32"
32220 			"\x21\xc8\x11\xe4\xdc\x36\xd7\x93"
32221 			"\x38\x66\xfb\xb2\x7f\x3a\xb9\xaf"
32222 			"\x31\xdd\x93\x75\x78\x8a\x2c\x94"
32223 			"\x87\x1a\x58\xec\x9e\x7d\x4d\xba"
32224 			"\xe1\xe5\x4d\xfc\xbc\xa4\x2a\x14"
32225 			"\xef\xcc\xa7\xec\xab\x43\x09\x18"
32226 			"\xd3\xab\x68\xd1\x07\x99\x44\x47"
32227 			"\xd6\x83\x85\x3b\x30\xea\xa9\x6b"
32228 			"\x63\xea\xc4\x07\xfb\x43\x2f\xa4"
32229 			"\xaa\xb0\xab\x03\x89\xce\x3f\x8c"
32230 			"\x02\x7c\x86\x54\xbc\x88\xaf\x75"
32231 			"\xd2\xdc\x63\x17\xd3\x26\xf6\x96"
32232 			"\xa9\x3c\xf1\x61\x8c\x11\x18\xcc"
32233 			"\xd6\xea\x5b\xe2\xcd\xf0\xf1\xb2"
32234 			"\xe5\x35\x90\x1f\x85\x4c\x76\x5b"
32235 			"\x66\xce\x44\xa4\x32\x9f\xe6\x7b"
32236 			"\x71\x6e\x9f\x58\x15\x67\x72\x87"
32237 			"\x64\x8e\x3a\x44\x45\xd4\x76\xfa"
32238 			"\xc2\xf6\xef\x85\x05\x18\x7a\x9b"
32239 			"\xba\x41\x54\xac\xf0\xfc\x59\x12"
32240 			"\x3f\xdf\xa0\xe5\x8a\x65\xfd\x3a"
32241 			"\x62\x8d\x83\x2c\x03\xbe\x05\x76"
32242 			"\x2e\x53\x49\x97\x94\x33\xae\x40"
32243 			"\x81\x15\xdb\x6e\xad\xaa\xf5\x4b"
32244 			"\xe3\x98\x70\xdf\xe0\x7c\xcd\xdb"
32245 			"\x02\xd4\x7d\x2f\xc1\xe6\xb4\xf3"
32246 			"\xd7\x0d\x7a\xd9\x23\x9e\x87\x2d"
32247 			"\xce\x87\xad\xcc\x72\x05\x00\x29"
32248 			"\xdc\x73\x7f\x64\xc1\x15\x0e\xc2"
32249 			"\xdf\xa7\x5f\xeb\x41\xa1\xcd\xef"
32250 			"\x5c\x50\x79\x2a\x56\x56\x71\x8c"
32251 			"\xac\xc0\x79\x50\x69\xca\x59\x32"
32252 			"\x65\xf2\x54\xe4\x52\x38\x76\xd1"
32253 			"\x5e\xde\x26\x9e\xfb\x75\x2e\x11"
32254 			"\xb5\x10\xf4\x17\x73\xf5\x89\xc7"
32255 			"\x4f\x43\x5c\x8e\x7c\xb9\x05\x52"
32256 			"\x24\x40\x99\xfe\x9b\x85\x0b\x6c"
32257 			"\x22\x3e\x8b\xae\x86\xa1\xd2\x79"
32258 			"\x05\x68\x6b\xab\xe3\x41\x49\xed"
32259 			"\x15\xa1\x8d\x40\x2d\x61\xdf\x1a"
32260 			"\x59\xc9\x26\x8b\xef\x30\x4c\x88"
32261 			"\x4b\x10\xf8\x8d\xa6\x92\x9f\x4b"
32262 			"\xf3\xc4\x53\x0b\x89\x5d\x28\x92"
32263 			"\xcf\x78\xb2\xc0\x5d\xed\x7e\xfc"
32264 			"\xc0\x12\x23\x5f\x5a\x78\x86\x43"
32265 			"\x6e\x27\xf7\x5a\xa7\x6a\xed\x19"
32266 			"\x04\xf0\xb3\x12\xd1\xbd\x0e\x89"
32267 			"\x6e\xbc\x96\xa8\xd8\x49\x39\x9f"
32268 			"\x7e\x67\xf0\x2e\x3e\x01\xa9\xba"
32269 			"\xec\x8b\x62\x8e\xcb\x4a\x70\x43"
32270 			"\xc7\xc2\xc4\xca\x82\x03\x73\xe9"
32271 			"\x11\xdf\xcf\x54\xea\xc9\xb0\x95"
32272 			"\x51\xc0\x13\x3d\x92\x05\xfa\xf4"
32273 			"\xa9\x34\xc8\xce\x6c\x3d\x54\xcc"
32274 			"\xc4\xaf\xf1\xdc\x11\x44\x26\xa2"
32275 			"\xaf\xf1\x85\x75\x7d\x03\x61\x68"
32276 			"\x4e\x78\xc6\x92\x7d\x86\x7d\x77"
32277 			"\xdc\x71\x72\xdb\xc6\xae\xa1\xcb"
32278 			"\x70\x9a\x0b\x19\xbe\x4a\x6c\x2a"
32279 			"\xe2\xba\x6c\x64\x9a\x13\x28\xdf"
32280 			"\x85\x75\xe6\x43\xf6\x87\x08\x68"
32281 			"\x6e\xba\x6e\x79\x9f\x04\xbc\x23"
32282 			"\x50\xf6\x33\x5c\x1f\x24\x25\xbe"
32283 			"\x33\x47\x80\x45\x56\xa3\xa7\xd7"
32284 			"\x7a\xb1\x34\x0b\x90\x3c\x9c\xad"
32285 			"\x44\x5f\x9e\x0e\x9d\xd4\xbd\x93"
32286 			"\x5e\xfa\x3c\xe0\xb0\xd9\xed\xf3"
32287 			"\xd6\x2e\xff\x24\xd8\x71\x6c\xed"
32288 			"\xaf\x55\xeb\x22\xac\x93\x68\x32"
32289 			"\x05\x5b\x47\xdd\xc6\x4a\xcb\xc7"
32290 			"\x10\xe1\x3c\x92\x1a\xf3\x23\x78"
32291 			"\x2b\xa1\xd2\x80\xf4\x12\xb1\x20"
32292 			"\x8f\xff\x26\x35\xdd\xfb\xc7\x4e"
32293 			"\x78\xf1\x2d\x50\x12\x77\xa8\x60"
32294 			"\x7c\x0f\xf5\x16\x2f\x63\x70\x2a"
32295 			"\xc0\x96\x80\x4e\x0a\xb4\x93\x35"
32296 			"\x5d\x1d\x3f\x56\xf7\x2f\xbb\x90"
32297 			"\x11\x16\x8f\xa2\xec\x47\xbe\xac"
32298 			"\x56\x01\x26\x56\xb1\x8c\xb2\x10"
32299 			"\xf9\x1a\xca\xf5\xd1\xb7\x39\x20"
32300 			"\x63\xf1\x69\x20\x4f\x13\x12\x1f"
32301 			"\x5b\x65\xfc\x98\xf7\xc4\x7a\xbe"
32302 			"\xf7\x26\x4d\x2b\x84\x7b\x42\xad"
32303 			"\xd8\x7a\x0a\xb4\xd8\x74\xbf\xc1"
32304 			"\xf0\x6e\xb4\x29\xa3\xbb\xca\x46"
32305 			"\x67\x70\x6a\x2d\xce\x0e\xa2\x8a"
32306 			"\xa9\x87\xbf\x05\xc4\xc1\x04\xa3"
32307 			"\xab\xd4\x45\x43\x8c\xb6\x02\xb0"
32308 			"\x41\xc8\xfc\x44\x3d\x59\xaa\x2e"
32309 			"\x44\x21\x2a\x8d\x88\x9d\x57\xf4"
32310 			"\xa0\x02\x77\xb8\xa6\xa0\xe6\x75"
32311 			"\x5c\x82\x65\x3e\x03\x5c\x29\x8f"
32312 			"\x38\x55\xab\x33\x26\xef\x9f\x43"
32313 			"\x52\xfd\x68\xaf\x36\xb4\xbb\x9a"
32314 			"\x58\x09\x09\x1b\xc3\x65\x46\x46"
32315 			"\x1d\xa7\x94\x18\x23\x50\x2c\xca"
32316 			"\x2c\x55\x19\x97\x01\x9d\x93\x3b"
32317 			"\x63\x86\xf2\x03\x67\x45\xd2\x72"
32318 			"\x28\x52\x6c\xf4\xe3\x1c\xb5\x11"
32319 			"\x13\xf1\xeb\x21\xc7\xd9\x56\x82"
32320 			"\x2b\x82\x39\xbd\x69\x54\xed\x62"
32321 			"\xc3\xe2\xde\x73\xd4\x6a\x12\xae"
32322 			"\x13\x21\x7f\x4b\x5b\xfc\xbf\xe8"
32323 			"\x2b\xbe\x56\xba\x68\x8b\x9a\xb1"
32324 			"\x6e\xfa\xbf\x7e\x5a\x4b\xf1\xac"
32325 			"\x98\x65\x85\xd1\x93\x53\xd3\x7b"
32326 			"\x09\xdd\x4b\x10\x6d\x84\xb0\x13"
32327 			"\x65\xbd\xcf\x52\x09\xc4\x85\xe2"
32328 			"\x84\x74\x15\x65\xb7\xf7\x51\xaf"
32329 			"\x55\xad\xa4\xd1\x22\x54\x70\x94"
32330 			"\xa0\x1c\x90\x41\xfd\x99\xd7\x5a"
32331 			"\x31\xef\xaa\x25\xd0\x7f\x4f\xea"
32332 			"\x1d\x55\x42\xe5\x49\xb0\xd0\x46"
32333 			"\x62\x36\x43\xb2\x82\x15\x75\x50"
32334 			"\xa4\x72\xeb\x54\x27\x1f\x8a\xe4"
32335 			"\x7d\xe9\x66\xc5\xf1\x53\xa4\xd1"
32336 			"\x0c\xeb\xb8\xf8\xbc\xd4\xe2\xe7"
32337 			"\xe1\xf8\x4b\xcb\xa9\xa1\xaf\x15"
32338 			"\x83\xcb\x72\xd0\x33\x79\x00\x2d"
32339 			"\x9f\xd7\xf1\x2e\x1e\x10\xe4\x45"
32340 			"\xc0\x75\x3a\x39\xea\x68\xf7\x5d"
32341 			"\x1b\x73\x8f\xe9\x8e\x0f\x72\x47"
32342 			"\xae\x35\x0a\x31\x7a\x14\x4d\x4a"
32343 			"\x6f\x47\xf7\x7e\x91\x6e\x74\x8b"
32344 			"\x26\x47\xf9\xc3\xf9\xde\x70\xf5"
32345 			"\x61\xab\xa9\x27\x9f\x82\xe4\x9c"
32346 			"\x89\x91\x3f\x2e\x6a\xfd\xb5\x49"
32347 			"\xe9\xfd\x59\x14\x36\x49\x40\x6d"
32348 			"\x32\xd8\x85\x42\xf3\xa5\xdf\x0c"
32349 			"\xa8\x27\xd7\x54\xe2\x63\x2f\xf2"
32350 			"\x7e\x8b\x8b\xe7\xf1\x9a\x95\x35"
32351 			"\x43\xdc\x3a\xe4\xb6\xf4\xd0\xdf"
32352 			"\x9c\xcb\x94\xf3\x21\xa0\x77\x50"
32353 			"\xe2\xc6\xc4\xc6\x5f\x09\x64\x5b"
32354 			"\x92\x90\xd8\xe1\xd1\xed\x4b\x42"
32355 			"\xd7\x37\xaf\x65\x3d\x11\x39\xb6"
32356 			"\x24\x8a\x60\xae\xd6\x1e\xbf\x0e"
32357 			"\x0d\xd7\xdc\x96\x0e\x65\x75\x4e"
32358 			"\x29\x06\x9d\xa4\x51\x3a\x10\x63"
32359 			"\x8f\x17\x07\xd5\x8e\x3c\xf4\x28"
32360 			"\x00\x5a\x5b\x05\x19\xd8\xc0\x6c"
32361 			"\xe5\x15\xe4\x9c\x9d\x71\x9d\x5e"
32362 			"\x94\x29\x1a\xa7\x80\xfa\x0e\x33"
32363 			"\x03\xdd\xb7\x3e\x9a\xa9\x26\x18"
32364 			"\x37\xa9\x64\x08\x4d\x94\x5a\x88"
32365 			"\xca\x35\xce\x81\x02\xe3\x1f\x1b"
32366 			"\x89\x1a\x77\x85\xe3\x41\x6d\x32"
32367 			"\x42\x19\x23\x7d\xc8\x73\xee\x25"
32368 			"\x85\x0d\xf8\x31\x25\x79\x1b\x6f"
32369 			"\x79\x25\xd2\xd8\xd4\x23\xfd\xf7"
32370 			"\x82\x36\x6a\x0c\x46\x22\x15\xe9"
32371 			"\xff\x72\x41\x91\x91\x7d\x3a\xb7"
32372 			"\xdd\x65\x99\x70\xf6\x8d\x84\xf8"
32373 			"\x67\x15\x20\x11\xd6\xb2\x55\x7b"
32374 			"\xdb\x87\xee\xef\x55\x89\x2a\x59"
32375 			"\x2b\x07\x8f\x43\x8a\x59\x3c\x01"
32376 			"\x8b\x65\x54\xa1\x66\xd5\x38\xbd"
32377 			"\xc6\x30\xa9\xcc\x49\xb6\xa8\x1b"
32378 			"\xb8\xc0\x0e\xe3\x45\x28\xe2\xff"
32379 			"\x41\x9f\x7e\x7c\xd1\xae\x9e\x25"
32380 			"\x3f\x4c\x7c\x7c\xf4\xa8\x26\x4d"
32381 			"\x5c\xfd\x4b\x27\x18\xf9\x61\x76"
32382 			"\x48\xba\x0c\x6b\xa9\x4d\xfc\xf5"
32383 			"\x3b\x35\x7e\x2f\x4a\xa9\xc2\x9a"
32384 			"\xae\xab\x86\x09\x89\xc9\xc2\x40"
32385 			"\x39\x2c\x81\xb3\xb8\x17\x67\xc2"
32386 			"\x0d\x32\x4a\x3a\x67\x81\xd7\x1a"
32387 			"\x34\x52\xc5\xdb\x0a\xf5\x63\x39"
32388 			"\xea\x1f\xe1\x7c\xa1\x9e\xc1\x35"
32389 			"\xe3\xb1\x18\x45\x67\xf9\x22\x38"
32390 			"\x95\xd9\x34\x34\x86\xc6\x41\x94"
32391 			"\x15\xf9\x5b\x41\xa6\x87\x8b\xf8"
32392 			"\xd5\xe1\x1b\xe2\x5b\xf3\x86\x10"
32393 			"\xff\xe6\xae\x69\x76\xbc\x0d\xb4"
32394 			"\x09\x90\x0c\xa2\x65\x0c\xad\x74"
32395 			"\xf5\xd7\xff\xda\xc1\xce\x85\xbe"
32396 			"\x00\xa7\xff\x4d\x2f\x65\xd3\x8c"
32397 			"\x86\x2d\x05\xe8\xed\x3e\x6b\x8b"
32398 			"\x0f\x3d\x83\x8c\xf1\x1d\x5b\x96"
32399 			"\x2e\xb1\x9c\xc2\x98\xe1\x70\xb9"
32400 			"\xba\x5c\x8a\x43\xd6\x34\xa7\x2d"
32401 			"\xc9\x92\xae\xf2\xa5\x7b\x05\x49"
32402 			"\xa7\x33\x34\x86\xca\xe4\x96\x23"
32403 			"\x76\x5b\xf2\xc6\xf1\x51\x28\x42"
32404 			"\x7b\xcc\x76\x8f\xfa\xa2\xad\x31"
32405 			"\xd4\xd6\x7a\x6d\x25\x25\x54\xe4"
32406 			"\x3f\x50\x59\xe1\x5c\x05\xb7\x27"
32407 			"\x48\xbf\x07\xec\x1b\x13\xbe\x2b"
32408 			"\xa1\x57\x2b\xd5\xab\xd7\xd0\x4c"
32409 			"\x1e\xcb\x71\x9b\xc5\x90\x85\xd3"
32410 			"\xde\x59\xec\x71\xeb\x89\xbb\xd0"
32411 			"\x09\x50\xe1\x16\x3f\xfd\x1c\x34"
32412 			"\xc3\x1c\xa1\x10\x77\x53\x98\xef"
32413 			"\xf2\xfd\xa5\x01\x59\xc2\x9b\x26"
32414 			"\xc7\x42\xd9\x49\xda\x58\x2b\x6e"
32415 			"\x9f\x53\x19\x76\x7e\xd9\xc9\x0e"
32416 			"\x68\xc8\x7f\x51\x22\x42\xef\x49"
32417 			"\xa4\x55\xb6\x36\xac\x09\xc7\x31"
32418 			"\x88\x15\x4b\x2e\x8f\x3a\x08\xf7"
32419 			"\xd8\xf7\xa8\xc5\xa9\x33\xa6\x45"
32420 			"\xe4\xc4\x94\x76\xf3\x0d\x8f\x7e"
32421 			"\xc8\xf6\xbc\x23\x0a\xb6\x4c\xd3"
32422 			"\x6a\xcd\x36\xc2\x90\x5c\x5c\x3c"
32423 			"\x65\x7b\xc2\xd6\xcc\xe6\x0d\x87"
32424 			"\x73\x2e\x71\x79\x16\x06\x63\x28"
32425 			"\x09\x15\xd8\x89\x38\x38\x3d\xb5"
32426 			"\x42\x1c\x08\x24\xf7\x2a\xd2\x9d"
32427 			"\xc8\xca\xef\xf9\x27\xd8\x07\x86"
32428 			"\xf7\x43\x0b\x55\x15\x3f\x9f\x83"
32429 			"\xef\xdc\x49\x9d\x2a\xc1\x54\x62"
32430 			"\xbd\x9b\x66\x55\x9f\xb7\x12\xf3"
32431 			"\x1b\x4d\x9d\x2a\x5c\xed\x87\x75"
32432 			"\x87\x26\xec\x61\x2c\xb4\x0f\x89"
32433 			"\xb0\xfb\x2e\x68\x5d\x15\xc7\x8d"
32434 			"\x2e\xc0\xd9\xec\xaf\x4f\xd2\x25"
32435 			"\x29\xe8\xd2\x26\x2b\x67\xe9\xfc"
32436 			"\x2b\xa8\x67\x96\x12\x1f\x5b\x96"
32437 			"\xc6\x14\x53\xaf\x44\xea\xd6\xe2"
32438 			"\x94\x98\xe4\x12\x93\x4c\x92\xe0"
32439 			"\x18\xa5\x8d\x2d\xe4\x71\x3c\x47"
32440 			"\x4c\xf7\xe6\x47\x9e\xc0\x68\xdf"
32441 			"\xd4\xf5\x5a\x74\xb1\x2b\x29\x03"
32442 			"\x19\x07\xaf\x90\x62\x5c\x68\x98"
32443 			"\x48\x16\x11\x02\x9d\xee\xb4\x9b"
32444 			"\xe5\x42\x7f\x08\xfd\x16\x32\x0b"
32445 			"\xd0\xb3\xfa\x2b\xb7\x99\xf9\x29"
32446 			"\xcd\x20\x45\x9f\xb3\x1a\x5d\xa2"
32447 			"\xaf\x4d\xe0\xbd\x42\x0d\xbc\x74"
32448 			"\x99\x9c\x8e\x53\x1a\xb4\x3e\xbd"
32449 			"\xa2\x9a\x2d\xf7\xf8\x39\x0f\x67"
32450 			"\x63\xfc\x6b\xc0\xaf\xb3\x4b\x4f"
32451 			"\x55\xc4\xcf\xa7\xc8\x04\x11\x3e"
32452 			"\x14\x32\xbb\x1b\x38\x77\xd6\x7f"
32453 			"\x54\x4c\xdf\x75\xf3\x07\x2d\x33"
32454 			"\x9b\xa8\x20\xe1\x7b\x12\xb5\xf3"
32455 			"\xef\x2f\xce\x72\xe5\x24\x60\xc1"
32456 			"\x30\xe2\xab\xa1\x8e\x11\x09\xa8"
32457 			"\x21\x33\x44\xfe\x7f\x35\x32\x93"
32458 			"\x39\xa7\xad\x8b\x79\x06\xb2\xcb"
32459 			"\x4e\xa9\x5f\xc7\xba\x74\x29\xec"
32460 			"\x93\xa0\x4e\x54\x93\xc0\xbc\x55"
32461 			"\x64\xf0\x48\xe5\x57\x99\xee\x75"
32462 			"\xd6\x79\x0f\x66\xb7\xc6\x57\x76"
32463 			"\xf7\xb7\xf3\x9c\xc5\x60\xe8\x7f"
32464 			"\x83\x76\xd6\x0e\xaa\xe6\x90\x39"
32465 			"\x1d\xa6\x32\x6a\x34\xe3\x55\xf8"
32466 			"\x58\xa0\x58\x7d\x33\xe0\x22\x39"
32467 			"\x44\x64\x87\x86\x5a\x2f\xa7\x7e"
32468 			"\x0f\x38\xea\xb0\x30\xcc\x61\xa5"
32469 			"\x6a\x32\xae\x1e\xf7\xe9\xd0\xa9"
32470 			"\x0c\x32\x4b\xb5\x49\x28\xab\x85"
32471 			"\x2f\x8e\x01\x36\x38\x52\xd0\xba"
32472 			"\xd6\x02\x78\xf8\x0e\x3e\x9c\x8b"
32473 			"\x6b\x45\x99\x3f\x5c\xfe\x58\xf1"
32474 			"\x5c\x94\x04\xe1\xf5\x18\x6d\x51"
32475 			"\xb2\x5d\x18\x20\xb6\xc2\x9a\x42"
32476 			"\x1d\xb3\xab\x3c\xb6\x3a\x13\x03"
32477 			"\xb2\x46\x82\x4f\xfc\x64\xbc\x4f"
32478 			"\xca\xfa\x9c\xc0\xd5\xa7\xbd\x11"
32479 			"\xb7\xe4\x5a\xf6\x6f\x4d\x4d\x54"
32480 			"\xea\xa4\x98\x66\xd4\x22\x3b\xd3"
32481 			"\x8f\x34\x47\xd9\x7c\xf4\x72\x3b"
32482 			"\x4d\x02\x77\xf6\xd6\xdd\x08\x0a"
32483 			"\x81\xe1\x86\x89\x3e\x56\x10\x3c"
32484 			"\xba\xd7\x81\x8c\x08\xbc\x8b\xe2"
32485 			"\x53\xec\xa7\x89\xee\xc8\x56\xb5"
32486 			"\x36\x2c\xb2\x03\xba\x99\xdd\x7c"
32487 			"\x48\xa0\xb0\xbc\x91\x33\xe9\xa8"
32488 			"\xcb\xcd\xcf\x59\x5f\x1f\x15\xe2"
32489 			"\x56\xf5\x4e\x01\x35\x27\x45\x77"
32490 			"\x47\xc8\xbc\xcb\x7e\x39\xc1\x97"
32491 			"\x28\xd3\x84\xfc\x2c\x3e\xc8\xad"
32492 			"\x9c\xf8\x8a\x61\x9c\x28\xaa\xc5"
32493 			"\x99\x20\x43\x85\x9d\xa5\xe2\x8b"
32494 			"\xb8\xae\xeb\xd0\x32\x0d\x52\x78"
32495 			"\x09\x56\x3f\xc7\xd8\x7e\x26\xfc"
32496 			"\x37\xfb\x6f\x04\xfc\xfa\x92\x10"
32497 			"\xac\xf8\x3e\x21\xdc\x8c\x21\x16"
32498 			"\x7d\x67\x6e\xf6\xcd\xda\xb6\x98"
32499 			"\x23\xab\x23\x3c\xb2\x10\xa0\x53"
32500 			"\x5a\x56\x9f\xc5\xd0\xff\xbb\xe4"
32501 			"\x98\x3c\x69\x1e\xdb\x38\x8f\x7e"
32502 			"\x0f\xd2\x98\x88\x81\x8b\x45\x67"
32503 			"\xea\x33\xf1\xeb\xe9\x97\x55\x2e"
32504 			"\xd9\xaa\xeb\x5a\xec\xda\xe1\x68"
32505 			"\xa8\x9d\x3c\x84\x7c\x05\x3d\x62"
32506 			"\x87\x8f\x03\x21\x28\x95\x0c\x89"
32507 			"\x25\x22\x4a\xb0\x93\xa9\x50\xa2"
32508 			"\x2f\x57\x6e\x18\x42\x19\x54\x0c"
32509 			"\x55\x67\xc6\x11\x49\xf4\x5c\xd2"
32510 			"\xe9\x3d\xdd\x8b\x48\x71\x21\x00"
32511 			"\xc3\x9a\x6c\x85\x74\x28\x83\x4a"
32512 			"\x1b\x31\x05\xe1\x06\x92\xe7\xda"
32513 			"\x85\x73\x78\x45\x20\x7f\xae\x13"
32514 			"\x7c\x33\x06\x22\xf4\x83\xf9\x35"
32515 			"\x3f\x6c\x71\xa8\x4e\x48\xbe\x9b"
32516 			"\xce\x8a\xba\xda\xbe\x28\x08\xf7"
32517 			"\xe2\x14\x8c\x71\xea\x72\xf9\x33"
32518 			"\xf2\x88\x3f\xd7\xbb\x69\x6c\x29"
32519 			"\x19\xdc\x84\xce\x1f\x12\x4f\xc8"
32520 			"\xaf\xa5\x04\xba\x5a\xab\xb0\xd9"
32521 			"\x14\x1f\x6c\x68\x98\x39\x89\x7a"
32522 			"\xd9\xd8\x2f\xdf\xa8\x47\x4a\x25"
32523 			"\xe2\xfb\x33\xf4\x59\x78\xe1\x68"
32524 			"\x85\xcf\xfe\x59\x20\xd4\x05\x1d"
32525 			"\x80\x99\xae\xbc\xca\xae\x0f\x2f"
32526 			"\x65\x43\x34\x8e\x7e\xac\xd3\x93"
32527 			"\x2f\xac\x6d\x14\x3d\x02\x07\x70"
32528 			"\x9d\xa4\xf3\x1b\x5c\x36\xfc\x01"
32529 			"\x73\x34\x85\x0c\x6c\xd6\xf1\xbd"
32530 			"\x3f\xdf\xee\xf5\xd9\xba\x56\xef"
32531 			"\xf4\x9b\x6b\xee\x9f\x5a\x78\x6d"
32532 			"\x32\x19\xf4\xf7\xf8\x4c\x69\x0b"
32533 			"\x4b\xbc\xbb\xb7\xf2\x85\xaf\x70"
32534 			"\x75\x24\x6c\x54\xa7\x0e\x4d\x1d"
32535 			"\x01\xbf\x08\xac\xcf\x7f\x2c\xe3"
32536 			"\x14\x89\x5e\x70\x5a\x99\x92\xcd"
32537 			"\x01\x84\xc8\xd2\xab\xe5\x4f\x58"
32538 			"\xe7\x0f\x2f\x0e\xff\x68\xea\xfd"
32539 			"\x15\xb3\x17\xe6\xb0\xe7\x85\xd8"
32540 			"\x23\x2e\x05\xc7\xc9\xc4\x46\x1f"
32541 			"\xe1\x9e\x49\x20\x23\x24\x4d\x7e"
32542 			"\x29\x65\xff\xf4\xb6\xfd\x1a\x85"
32543 			"\xc4\x16\xec\xfc\xea\x7b\xd6\x2c"
32544 			"\x43\xf8\xb7\xbf\x79\xc0\x85\xcd"
32545 			"\xef\xe1\x98\xd3\xa5\xf7\x90\x8c"
32546 			"\xe9\x7f\x80\x6b\xd2\xac\x4c\x30"
32547 			"\xa7\xc6\x61\x6c\xd2\xf9\x2c\xff"
32548 			"\x30\xbc\x22\x81\x7d\x93\x12\xe4"
32549 			"\x0a\xcd\xaf\xdd\xe8\xab\x0a\x1e"
32550 			"\x13\xa4\x27\xc3\x5f\xf7\x4b\xbb"
32551 			"\x37\x09\x4b\x91\x6f\x92\x4f\xaf"
32552 			"\x52\xee\xdf\xef\x09\x6f\xf7\x5c"
32553 			"\x6e\x12\x17\x72\x63\x57\xc7\xba"
32554 			"\x3b\x6b\x38\x32\x73\x1b\x9c\x80"
32555 			"\xc1\x7a\xc6\xcf\xcd\x35\xc0\x6b"
32556 			"\x31\x1a\x6b\xe9\xd8\x2c\x29\x3f"
32557 			"\x96\xfb\xb6\xcd\x13\x91\x3b\xc2"
32558 			"\xd2\xa3\x31\x8d\xa4\xcd\x57\xcd"
32559 			"\x13\x3d\x64\xfd\x06\xce\xe6\xdc"
32560 			"\x0c\x24\x43\x31\x40\x57\xf1\x72"
32561 			"\x17\xe3\x3a\x63\x6d\x35\xcf\x5d"
32562 			"\x97\x40\x59\xdd\xf7\x3c\x02\xf7"
32563 			"\x1c\x7e\x05\xbb\xa9\x0d\x01\xb1"
32564 			"\x8e\xc0\x30\xa9\x53\x24\xc9\x89"
32565 			"\x84\x6d\xaa\xd0\xcd\x91\xc2\x4d"
32566 			"\x91\xb0\x89\xe2\xbf\x83\x44\xaa"
32567 			"\x28\x72\x23\xa0\xc2\xad\xad\x1c"
32568 			"\xfc\x3f\x09\x7a\x0b\xdc\xc5\x1b"
32569 			"\x87\x13\xc6\x5b\x59\x8d\xf2\xc8"
32570 			"\xaf\xdf\x11\x95",
32571 		.rlen	= 4100,
32572 		.np	= 2,
32573 		.tap	= { 4064, 36 },
32574 	},
32575 };
32576 
32577 #define CHACHA20_ENC_TEST_VECTORS 4
32578 static struct cipher_testvec chacha20_enc_tv_template[] = {
32579 	{ /* RFC7539 A.2. Test Vector #1 */
32580 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32581 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32582 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32583 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
32584 		.klen	= 32,
32585 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
32586 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
32587 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32588 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32589 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32590 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32591 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32592 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32593 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32594 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
32595 		.ilen	= 64,
32596 		.result	= "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
32597 			  "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
32598 			  "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
32599 			  "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
32600 			  "\xda\x41\x59\x7c\x51\x57\x48\x8d"
32601 			  "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
32602 			  "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
32603 			  "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
32604 		.rlen	= 64,
32605 	}, { /* RFC7539 A.2. Test Vector #2 */
32606 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32607 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32608 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32609 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
32610 		.klen	= 32,
32611 		.iv     = "\x01\x00\x00\x00\x00\x00\x00\x00"
32612 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
32613 		.input	= "\x41\x6e\x79\x20\x73\x75\x62\x6d"
32614 			  "\x69\x73\x73\x69\x6f\x6e\x20\x74"
32615 			  "\x6f\x20\x74\x68\x65\x20\x49\x45"
32616 			  "\x54\x46\x20\x69\x6e\x74\x65\x6e"
32617 			  "\x64\x65\x64\x20\x62\x79\x20\x74"
32618 			  "\x68\x65\x20\x43\x6f\x6e\x74\x72"
32619 			  "\x69\x62\x75\x74\x6f\x72\x20\x66"
32620 			  "\x6f\x72\x20\x70\x75\x62\x6c\x69"
32621 			  "\x63\x61\x74\x69\x6f\x6e\x20\x61"
32622 			  "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
32623 			  "\x20\x70\x61\x72\x74\x20\x6f\x66"
32624 			  "\x20\x61\x6e\x20\x49\x45\x54\x46"
32625 			  "\x20\x49\x6e\x74\x65\x72\x6e\x65"
32626 			  "\x74\x2d\x44\x72\x61\x66\x74\x20"
32627 			  "\x6f\x72\x20\x52\x46\x43\x20\x61"
32628 			  "\x6e\x64\x20\x61\x6e\x79\x20\x73"
32629 			  "\x74\x61\x74\x65\x6d\x65\x6e\x74"
32630 			  "\x20\x6d\x61\x64\x65\x20\x77\x69"
32631 			  "\x74\x68\x69\x6e\x20\x74\x68\x65"
32632 			  "\x20\x63\x6f\x6e\x74\x65\x78\x74"
32633 			  "\x20\x6f\x66\x20\x61\x6e\x20\x49"
32634 			  "\x45\x54\x46\x20\x61\x63\x74\x69"
32635 			  "\x76\x69\x74\x79\x20\x69\x73\x20"
32636 			  "\x63\x6f\x6e\x73\x69\x64\x65\x72"
32637 			  "\x65\x64\x20\x61\x6e\x20\x22\x49"
32638 			  "\x45\x54\x46\x20\x43\x6f\x6e\x74"
32639 			  "\x72\x69\x62\x75\x74\x69\x6f\x6e"
32640 			  "\x22\x2e\x20\x53\x75\x63\x68\x20"
32641 			  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
32642 			  "\x74\x73\x20\x69\x6e\x63\x6c\x75"
32643 			  "\x64\x65\x20\x6f\x72\x61\x6c\x20"
32644 			  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
32645 			  "\x74\x73\x20\x69\x6e\x20\x49\x45"
32646 			  "\x54\x46\x20\x73\x65\x73\x73\x69"
32647 			  "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
32648 			  "\x77\x65\x6c\x6c\x20\x61\x73\x20"
32649 			  "\x77\x72\x69\x74\x74\x65\x6e\x20"
32650 			  "\x61\x6e\x64\x20\x65\x6c\x65\x63"
32651 			  "\x74\x72\x6f\x6e\x69\x63\x20\x63"
32652 			  "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
32653 			  "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
32654 			  "\x64\x65\x20\x61\x74\x20\x61\x6e"
32655 			  "\x79\x20\x74\x69\x6d\x65\x20\x6f"
32656 			  "\x72\x20\x70\x6c\x61\x63\x65\x2c"
32657 			  "\x20\x77\x68\x69\x63\x68\x20\x61"
32658 			  "\x72\x65\x20\x61\x64\x64\x72\x65"
32659 			  "\x73\x73\x65\x64\x20\x74\x6f",
32660 		.ilen	= 375,
32661 		.result	= "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
32662 			  "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
32663 			  "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
32664 			  "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
32665 			  "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
32666 			  "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
32667 			  "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
32668 			  "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
32669 			  "\x40\x42\xe0\x27\x85\xec\xec\xfa"
32670 			  "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
32671 			  "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
32672 			  "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
32673 			  "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
32674 			  "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
32675 			  "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
32676 			  "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
32677 			  "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
32678 			  "\xd6\x62\xab\x05\x26\x91\xca\x66"
32679 			  "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
32680 			  "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
32681 			  "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
32682 			  "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
32683 			  "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
32684 			  "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
32685 			  "\x08\x71\xcd\xac\x63\x89\x39\xe2"
32686 			  "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
32687 			  "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
32688 			  "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
32689 			  "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
32690 			  "\x37\x20\xfc\x88\xdc\x95\xed\x84"
32691 			  "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
32692 			  "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
32693 			  "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
32694 			  "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
32695 			  "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
32696 			  "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
32697 			  "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
32698 			  "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
32699 			  "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
32700 			  "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
32701 			  "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
32702 			  "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
32703 			  "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
32704 			  "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
32705 			  "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
32706 			  "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
32707 			  "\xc4\xfd\x80\x6c\x22\xf2\x21",
32708 		.rlen	= 375,
32709 	}, { /* RFC7539 A.2. Test Vector #3 */
32710 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
32711 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
32712 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
32713 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
32714 		.klen	= 32,
32715 		.iv     = "\x2a\x00\x00\x00\x00\x00\x00\x00"
32716 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
32717 		.input	= "\x27\x54\x77\x61\x73\x20\x62\x72"
32718 			  "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
32719 			  "\x6e\x64\x20\x74\x68\x65\x20\x73"
32720 			  "\x6c\x69\x74\x68\x79\x20\x74\x6f"
32721 			  "\x76\x65\x73\x0a\x44\x69\x64\x20"
32722 			  "\x67\x79\x72\x65\x20\x61\x6e\x64"
32723 			  "\x20\x67\x69\x6d\x62\x6c\x65\x20"
32724 			  "\x69\x6e\x20\x74\x68\x65\x20\x77"
32725 			  "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
32726 			  "\x20\x6d\x69\x6d\x73\x79\x20\x77"
32727 			  "\x65\x72\x65\x20\x74\x68\x65\x20"
32728 			  "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
32729 			  "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
32730 			  "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
32731 			  "\x72\x61\x74\x68\x73\x20\x6f\x75"
32732 			  "\x74\x67\x72\x61\x62\x65\x2e",
32733 		.ilen	= 127,
32734 		.result	= "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
32735 			  "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
32736 			  "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
32737 			  "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
32738 			  "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
32739 			  "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
32740 			  "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
32741 			  "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
32742 			  "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
32743 			  "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
32744 			  "\x1a\x55\x32\x05\x57\x16\xea\xd6"
32745 			  "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
32746 			  "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
32747 			  "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
32748 			  "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
32749 			  "\x75\x7a\x79\x7a\xc1\x88\xd1",
32750 		.rlen	= 127,
32751 	}, { /* Self-made test vector for long data */
32752 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
32753 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
32754 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
32755 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
32756 		.klen	= 32,
32757 		.iv     = "\x1c\x00\x00\x00\x00\x00\x00\x00"
32758 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
32759 		.input	= "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
32760 			  "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
32761 			  "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
32762 			  "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
32763 			  "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
32764 			  "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
32765 			  "\x01\xc6\x67\xda\x03\x91\x18\x90"
32766 			  "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
32767 			  "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
32768 			  "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
32769 			  "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
32770 			  "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
32771 			  "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
32772 			  "\x33\x97\xc3\x77\xba\xc5\x70\xde"
32773 			  "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
32774 			  "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
32775 			  "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
32776 			  "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
32777 			  "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
32778 			  "\x79\x49\x41\xf4\x58\x18\xcb\x86"
32779 			  "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
32780 			  "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
32781 			  "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
32782 			  "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
32783 			  "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
32784 			  "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
32785 			  "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
32786 			  "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
32787 			  "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
32788 			  "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
32789 			  "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
32790 			  "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
32791 			  "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
32792 			  "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
32793 			  "\x24\x74\x75\x7f\x95\x81\xb7\x30"
32794 			  "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
32795 			  "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
32796 			  "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
32797 			  "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
32798 			  "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
32799 			  "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
32800 			  "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
32801 			  "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
32802 			  "\x49\x46\x00\x88\x22\x8d\xce\xea"
32803 			  "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
32804 			  "\x72\x11\xf5\x50\x73\x04\x40\x47"
32805 			  "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
32806 			  "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
32807 			  "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
32808 			  "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
32809 			  "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
32810 			  "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
32811 			  "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
32812 			  "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
32813 			  "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
32814 			  "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
32815 			  "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
32816 			  "\x8b\x10\x67\xa3\x01\x57\x94\x25"
32817 			  "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
32818 			  "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
32819 			  "\x58\xb1\x47\x90\xfe\x42\x21\x72"
32820 			  "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
32821 			  "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
32822 			  "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
32823 			  "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
32824 			  "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
32825 			  "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
32826 			  "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
32827 			  "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
32828 			  "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
32829 			  "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
32830 			  "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
32831 			  "\x65\x69\x8a\x45\x29\xef\x74\x85"
32832 			  "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
32833 			  "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
32834 			  "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
32835 			  "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
32836 			  "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
32837 			  "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
32838 			  "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
32839 			  "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
32840 			  "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
32841 			  "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
32842 			  "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
32843 			  "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
32844 			  "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
32845 			  "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
32846 			  "\x10\x26\x38\x07\xe5\xc7\x36\x80"
32847 			  "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
32848 			  "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
32849 			  "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
32850 			  "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
32851 			  "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
32852 			  "\x83\x66\x80\x47\x80\xe8\xfd\x35"
32853 			  "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
32854 			  "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
32855 			  "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
32856 			  "\x25\x94\x10\x5f\x40\x00\x64\x99"
32857 			  "\xdc\xae\xd7\x21\x09\x78\x50\x15"
32858 			  "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
32859 			  "\x87\x6e\x6d\xab\xde\x08\x51\x16"
32860 			  "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
32861 			  "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
32862 			  "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
32863 			  "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
32864 			  "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
32865 			  "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
32866 			  "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
32867 			  "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
32868 			  "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
32869 			  "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
32870 			  "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
32871 			  "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
32872 			  "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
32873 			  "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
32874 			  "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
32875 			  "\xb9\x83\x90\xef\x20\x59\x46\xff"
32876 			  "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
32877 			  "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
32878 			  "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
32879 			  "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
32880 			  "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
32881 			  "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
32882 			  "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
32883 			  "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
32884 			  "\x94\x97\xea\xdd\x58\x9e\xae\x76"
32885 			  "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
32886 			  "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
32887 			  "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
32888 			  "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
32889 			  "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
32890 			  "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
32891 			  "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
32892 			  "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
32893 			  "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
32894 			  "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
32895 			  "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
32896 			  "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
32897 			  "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
32898 			  "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
32899 			  "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
32900 			  "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
32901 			  "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
32902 			  "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
32903 			  "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
32904 			  "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
32905 			  "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
32906 			  "\xac\xf3\x13\x53\x27\x45\xaf\x64"
32907 			  "\x46\xdc\xea\x23\xda\x97\xd1\xab"
32908 			  "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
32909 			  "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
32910 			  "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
32911 			  "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
32912 			  "\xca\x34\x83\x27\x10\x5b\x68\x45"
32913 			  "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
32914 			  "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
32915 			  "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
32916 			  "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
32917 			  "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
32918 			  "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
32919 			  "\x72",
32920 		.ilen	= 1281,
32921 		.result	= "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
32922 			  "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
32923 			  "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
32924 			  "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
32925 			  "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
32926 			  "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
32927 			  "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
32928 			  "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
32929 			  "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
32930 			  "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
32931 			  "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
32932 			  "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
32933 			  "\x33\x4a\x71\x15\xfe\xee\x12\x54"
32934 			  "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
32935 			  "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
32936 			  "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
32937 			  "\x57\x0e\x94\x17\x26\x39\xbb\x54"
32938 			  "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
32939 			  "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
32940 			  "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
32941 			  "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
32942 			  "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
32943 			  "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
32944 			  "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
32945 			  "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
32946 			  "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
32947 			  "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
32948 			  "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
32949 			  "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
32950 			  "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
32951 			  "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
32952 			  "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
32953 			  "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
32954 			  "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
32955 			  "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
32956 			  "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
32957 			  "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
32958 			  "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
32959 			  "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
32960 			  "\xae\xe7\x61\x32\xef\x41\x6c\x75"
32961 			  "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
32962 			  "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
32963 			  "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
32964 			  "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
32965 			  "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
32966 			  "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
32967 			  "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
32968 			  "\xc1\x22\xf3\x79\xae\x95\x78\x66"
32969 			  "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
32970 			  "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
32971 			  "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
32972 			  "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
32973 			  "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
32974 			  "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
32975 			  "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
32976 			  "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
32977 			  "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
32978 			  "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
32979 			  "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
32980 			  "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
32981 			  "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
32982 			  "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
32983 			  "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
32984 			  "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
32985 			  "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
32986 			  "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
32987 			  "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
32988 			  "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
32989 			  "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
32990 			  "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
32991 			  "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
32992 			  "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
32993 			  "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
32994 			  "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
32995 			  "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
32996 			  "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
32997 			  "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
32998 			  "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
32999 			  "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
33000 			  "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
33001 			  "\x54\x1c\x34\x72\xde\x0c\x68\x39"
33002 			  "\x9d\x32\xa5\x75\x92\x13\x32\xea"
33003 			  "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
33004 			  "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
33005 			  "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
33006 			  "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
33007 			  "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
33008 			  "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
33009 			  "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
33010 			  "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
33011 			  "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
33012 			  "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
33013 			  "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
33014 			  "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
33015 			  "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
33016 			  "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
33017 			  "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
33018 			  "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
33019 			  "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
33020 			  "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
33021 			  "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
33022 			  "\x79\x61\x23\xe0\xa2\x99\x73\x55"
33023 			  "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
33024 			  "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
33025 			  "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
33026 			  "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
33027 			  "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
33028 			  "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
33029 			  "\x48\x56\xaa\x85\x22\xd8\x36\xed"
33030 			  "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
33031 			  "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
33032 			  "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
33033 			  "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
33034 			  "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
33035 			  "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
33036 			  "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
33037 			  "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
33038 			  "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
33039 			  "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
33040 			  "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
33041 			  "\xec\x83\x92\x99\x87\x47\xe0\x7c"
33042 			  "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
33043 			  "\x98\xb0\x87\xb6\x86\x13\x64\x33"
33044 			  "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
33045 			  "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
33046 			  "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
33047 			  "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
33048 			  "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
33049 			  "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
33050 			  "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
33051 			  "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
33052 			  "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
33053 			  "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
33054 			  "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
33055 			  "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
33056 			  "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
33057 			  "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
33058 			  "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
33059 			  "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
33060 			  "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
33061 			  "\x5f\xae\x25\x84\x22\x90\x5f\x26"
33062 			  "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
33063 			  "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
33064 			  "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
33065 			  "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
33066 			  "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
33067 			  "\x74\x06\x89\x0e\x90\xeb\x85\xff"
33068 			  "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
33069 			  "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
33070 			  "\x02\x85\x68\xd0\x03\x12\xde\x92"
33071 			  "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
33072 			  "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
33073 			  "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
33074 			  "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
33075 			  "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
33076 			  "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
33077 			  "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
33078 			  "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
33079 			  "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
33080 			  "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
33081 			  "\x98",
33082 		.rlen	= 1281,
33083 	},
33084 };
33085 
33086 /*
33087  * CTS (Cipher Text Stealing) mode tests
33088  */
33089 #define CTS_MODE_ENC_TEST_VECTORS 6
33090 #define CTS_MODE_DEC_TEST_VECTORS 6
33091 static struct cipher_testvec cts_mode_enc_tv_template[] = {
33092 	{ /* from rfc3962 */
33093 		.klen	= 16,
33094 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33095 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33096 		.ilen	= 17,
33097 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33098 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33099 			  "\x20",
33100 		.rlen	= 17,
33101 		.result	= "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
33102 			  "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
33103 			  "\x97",
33104 	}, {
33105 		.klen	= 16,
33106 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33107 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33108 		.ilen   = 31,
33109 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33110 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33111 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33112 			  "\x20\x47\x61\x75\x27\x73\x20",
33113 		.rlen   = 31,
33114 		.result = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
33115 			  "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
33116 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33117 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
33118 	}, {
33119 		.klen	= 16,
33120 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33121 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33122 		.ilen   = 32,
33123 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33124 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33125 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33126 			  "\x20\x47\x61\x75\x27\x73\x20\x43",
33127 		.rlen   = 32,
33128 		.result = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33129 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33130 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33131 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
33132 	}, {
33133 		.klen	= 16,
33134 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33135 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33136 		.ilen   = 47,
33137 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33138 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33139 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33140 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33141 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33142 			  "\x70\x6c\x65\x61\x73\x65\x2c",
33143 		.rlen   = 47,
33144 		.result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33145 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33146 			  "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
33147 			  "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
33148 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33149 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
33150 	}, {
33151 		.klen	= 16,
33152 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33153 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33154 		.ilen   = 48,
33155 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33156 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33157 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33158 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33159 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33160 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20",
33161 		.rlen   = 48,
33162 		.result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33163 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33164 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33165 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
33166 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33167 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
33168 	}, {
33169 		.klen	= 16,
33170 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33171 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33172 		.ilen   = 64,
33173 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33174 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33175 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33176 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33177 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33178 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20"
33179 			  "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
33180 			  "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
33181 		.rlen   = 64,
33182 		.result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33183 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33184 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33185 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33186 			  "\x48\x07\xef\xe8\x36\xee\x89\xa5"
33187 			  "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
33188 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33189 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
33190 	}
33191 };
33192 
33193 static struct cipher_testvec cts_mode_dec_tv_template[] = {
33194 	{ /* from rfc3962 */
33195 		.klen	= 16,
33196 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33197 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33198 		.rlen	= 17,
33199 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33200 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33201 			  "\x20",
33202 		.ilen	= 17,
33203 		.input	= "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
33204 			  "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
33205 			  "\x97",
33206 	}, {
33207 		.klen	= 16,
33208 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33209 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33210 		.rlen   = 31,
33211 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33212 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33213 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33214 			  "\x20\x47\x61\x75\x27\x73\x20",
33215 		.ilen   = 31,
33216 		.input  = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
33217 			  "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
33218 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33219 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
33220 	}, {
33221 		.klen	= 16,
33222 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33223 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33224 		.rlen   = 32,
33225 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33226 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33227 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33228 			  "\x20\x47\x61\x75\x27\x73\x20\x43",
33229 		.ilen   = 32,
33230 		.input  = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33231 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33232 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33233 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
33234 	}, {
33235 		.klen	= 16,
33236 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33237 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33238 		.rlen   = 47,
33239 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33240 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33241 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33242 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33243 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33244 			  "\x70\x6c\x65\x61\x73\x65\x2c",
33245 		.ilen   = 47,
33246 		.input  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33247 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33248 			  "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
33249 			  "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
33250 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33251 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
33252 	}, {
33253 		.klen	= 16,
33254 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33255 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33256 		.rlen   = 48,
33257 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33258 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33259 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33260 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33261 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33262 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20",
33263 		.ilen   = 48,
33264 		.input  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33265 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33266 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33267 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
33268 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33269 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
33270 	}, {
33271 		.klen	= 16,
33272 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33273 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33274 		.rlen   = 64,
33275 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33276 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33277 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33278 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33279 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33280 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20"
33281 			  "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
33282 			  "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
33283 		.ilen   = 64,
33284 		.input  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33285 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33286 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33287 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33288 			  "\x48\x07\xef\xe8\x36\xee\x89\xa5"
33289 			  "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
33290 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33291 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
33292 	}
33293 };
33294 
33295 /*
33296  * Compression stuff.
33297  */
33298 #define COMP_BUF_SIZE           512
33299 
33300 struct comp_testvec {
33301 	int inlen, outlen;
33302 	char input[COMP_BUF_SIZE];
33303 	char output[COMP_BUF_SIZE];
33304 };
33305 
33306 /*
33307  * Deflate test vectors (null-terminated strings).
33308  * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
33309  */
33310 
33311 #define DEFLATE_COMP_TEST_VECTORS 2
33312 #define DEFLATE_DECOMP_TEST_VECTORS 2
33313 
33314 static struct comp_testvec deflate_comp_tv_template[] = {
33315 	{
33316 		.inlen	= 70,
33317 		.outlen	= 38,
33318 		.input	= "Join us now and share the software "
33319 			"Join us now and share the software ",
33320 		.output	= "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33321 			  "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33322 			  "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33323 			  "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33324 			  "\x71\xbc\x08\x2b\x01\x00",
33325 	}, {
33326 		.inlen	= 191,
33327 		.outlen	= 122,
33328 		.input	= "This document describes a compression method based on the DEFLATE"
33329 			"compression algorithm.  This document defines the application of "
33330 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33331 		.output	= "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33332 			  "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33333 			  "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33334 			  "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33335 			  "\x68\x12\x51\xae\x76\x67\xd6\x27"
33336 			  "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33337 			  "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33338 			  "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33339 			  "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33340 			  "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33341 			  "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33342 			  "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33343 			  "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33344 			  "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33345 			  "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33346 			  "\xfa\x02",
33347 	},
33348 };
33349 
33350 static struct comp_testvec deflate_decomp_tv_template[] = {
33351 	{
33352 		.inlen	= 122,
33353 		.outlen	= 191,
33354 		.input	= "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33355 			  "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33356 			  "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33357 			  "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33358 			  "\x68\x12\x51\xae\x76\x67\xd6\x27"
33359 			  "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33360 			  "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33361 			  "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33362 			  "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33363 			  "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33364 			  "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33365 			  "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33366 			  "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33367 			  "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33368 			  "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33369 			  "\xfa\x02",
33370 		.output	= "This document describes a compression method based on the DEFLATE"
33371 			"compression algorithm.  This document defines the application of "
33372 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33373 	}, {
33374 		.inlen	= 38,
33375 		.outlen	= 70,
33376 		.input	= "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33377 			  "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33378 			  "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33379 			  "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33380 			  "\x71\xbc\x08\x2b\x01\x00",
33381 		.output	= "Join us now and share the software "
33382 			"Join us now and share the software ",
33383 	},
33384 };
33385 
33386 /*
33387  * LZO test vectors (null-terminated strings).
33388  */
33389 #define LZO_COMP_TEST_VECTORS 2
33390 #define LZO_DECOMP_TEST_VECTORS 2
33391 
33392 static struct comp_testvec lzo_comp_tv_template[] = {
33393 	{
33394 		.inlen	= 70,
33395 		.outlen	= 57,
33396 		.input	= "Join us now and share the software "
33397 			"Join us now and share the software ",
33398 		.output	= "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
33399 			  "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
33400 			  "\x64\x20\x73\x68\x61\x72\x65\x20"
33401 			  "\x74\x68\x65\x20\x73\x6f\x66\x74"
33402 			  "\x77\x70\x01\x32\x88\x00\x0c\x65"
33403 			  "\x20\x74\x68\x65\x20\x73\x6f\x66"
33404 			  "\x74\x77\x61\x72\x65\x20\x11\x00"
33405 			  "\x00",
33406 	}, {
33407 		.inlen	= 159,
33408 		.outlen	= 131,
33409 		.input	= "This document describes a compression method based on the LZO "
33410 			"compression algorithm.  This document defines the application of "
33411 			"the LZO algorithm used in UBIFS.",
33412 		.output	= "\x00\x2c\x54\x68\x69\x73\x20\x64"
33413 			  "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33414 			  "\x64\x65\x73\x63\x72\x69\x62\x65"
33415 			  "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33416 			  "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33417 			  "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33418 			  "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33419 			  "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
33420 			  "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
33421 			  "\x72\x69\x74\x68\x6d\x2e\x20\x20"
33422 			  "\x2e\x54\x01\x03\x66\x69\x6e\x65"
33423 			  "\x73\x20\x74\x06\x05\x61\x70\x70"
33424 			  "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
33425 			  "\x66\x88\x02\x60\x09\x27\xf0\x00"
33426 			  "\x0c\x20\x75\x73\x65\x64\x20\x69"
33427 			  "\x6e\x20\x55\x42\x49\x46\x53\x2e"
33428 			  "\x11\x00\x00",
33429 	},
33430 };
33431 
33432 static struct comp_testvec lzo_decomp_tv_template[] = {
33433 	{
33434 		.inlen	= 133,
33435 		.outlen	= 159,
33436 		.input	= "\x00\x2b\x54\x68\x69\x73\x20\x64"
33437 			  "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33438 			  "\x64\x65\x73\x63\x72\x69\x62\x65"
33439 			  "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33440 			  "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33441 			  "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33442 			  "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33443 			  "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
33444 			  "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
33445 			  "\x69\x74\x68\x6d\x2e\x20\x20\x54"
33446 			  "\x68\x69\x73\x2a\x54\x01\x02\x66"
33447 			  "\x69\x6e\x65\x73\x94\x06\x05\x61"
33448 			  "\x70\x70\x6c\x69\x63\x61\x74\x76"
33449 			  "\x0a\x6f\x66\x88\x02\x60\x09\x27"
33450 			  "\xf0\x00\x0c\x20\x75\x73\x65\x64"
33451 			  "\x20\x69\x6e\x20\x55\x42\x49\x46"
33452 			  "\x53\x2e\x11\x00\x00",
33453 		.output	= "This document describes a compression method based on the LZO "
33454 			"compression algorithm.  This document defines the application of "
33455 			"the LZO algorithm used in UBIFS.",
33456 	}, {
33457 		.inlen	= 46,
33458 		.outlen	= 70,
33459 		.input	= "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
33460 			  "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
33461 			  "\x64\x20\x73\x68\x61\x72\x65\x20"
33462 			  "\x74\x68\x65\x20\x73\x6f\x66\x74"
33463 			  "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
33464 			  "\x3d\x88\x00\x11\x00\x00",
33465 		.output	= "Join us now and share the software "
33466 			"Join us now and share the software ",
33467 	},
33468 };
33469 
33470 /*
33471  * Michael MIC test vectors from IEEE 802.11i
33472  */
33473 #define MICHAEL_MIC_TEST_VECTORS 6
33474 
33475 static struct hash_testvec michael_mic_tv_template[] = {
33476 	{
33477 		.key = "\x00\x00\x00\x00\x00\x00\x00\x00",
33478 		.ksize = 8,
33479 		.plaintext = zeroed_string,
33480 		.psize = 0,
33481 		.digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
33482 	},
33483 	{
33484 		.key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
33485 		.ksize = 8,
33486 		.plaintext = "M",
33487 		.psize = 1,
33488 		.digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
33489 	},
33490 	{
33491 		.key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
33492 		.ksize = 8,
33493 		.plaintext = "Mi",
33494 		.psize = 2,
33495 		.digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
33496 	},
33497 	{
33498 		.key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
33499 		.ksize = 8,
33500 		.plaintext = "Mic",
33501 		.psize = 3,
33502 		.digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
33503 	},
33504 	{
33505 		.key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
33506 		.ksize = 8,
33507 		.plaintext = "Mich",
33508 		.psize = 4,
33509 		.digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
33510 	},
33511 	{
33512 		.key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
33513 		.ksize = 8,
33514 		.plaintext = "Michael",
33515 		.psize = 7,
33516 		.digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
33517 	}
33518 };
33519 
33520 /*
33521  * CRC32 test vectors
33522  */
33523 #define CRC32_TEST_VECTORS 14
33524 
33525 static struct hash_testvec crc32_tv_template[] = {
33526 	{
33527 		.key = "\x87\xa9\xcb\xed",
33528 		.ksize = 4,
33529 		.psize = 0,
33530 		.digest = "\x87\xa9\xcb\xed",
33531 	},
33532 	{
33533 		.key = "\xff\xff\xff\xff",
33534 		.ksize = 4,
33535 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33536 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33537 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
33538 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33539 			     "\x21\x22\x23\x24\x25\x26\x27\x28",
33540 		.psize = 40,
33541 		.digest = "\x3a\xdf\x4b\xb0",
33542 	},
33543 	{
33544 		.key = "\xff\xff\xff\xff",
33545 		.ksize = 4,
33546 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33547 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33548 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33549 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33550 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33551 		.psize = 40,
33552 		.digest = "\xa9\x7a\x7f\x7b",
33553 	},
33554 	{
33555 		.key = "\xff\xff\xff\xff",
33556 		.ksize = 4,
33557 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33558 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33559 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
33560 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33561 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
33562 		.psize = 40,
33563 		.digest = "\xba\xd3\xf8\x1c",
33564 	},
33565 	{
33566 		.key = "\xff\xff\xff\xff",
33567 		.ksize = 4,
33568 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33569 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
33570 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33571 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
33572 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33573 		.psize = 40,
33574 		.digest = "\xa8\xa9\xc2\x02",
33575 	},
33576 	{
33577 		.key = "\xff\xff\xff\xff",
33578 		.ksize = 4,
33579 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33580 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33581 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33582 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33583 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33584 		.psize = 40,
33585 		.digest = "\x27\xf0\x57\xe2",
33586 	},
33587 	{
33588 		.key = "\xff\xff\xff\xff",
33589 		.ksize = 4,
33590 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33591 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33592 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33593 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33594 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33595 		.psize = 40,
33596 		.digest = "\x49\x78\x10\x08",
33597 	},
33598 	{
33599 		.key = "\x80\xea\xd3\xf1",
33600 		.ksize = 4,
33601 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33602 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33603 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33604 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33605 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33606 		.psize = 40,
33607 		.digest = "\x9a\xb1\xdc\xf0",
33608 	},
33609 	{
33610 		.key = "\xf3\x4a\x1d\x5d",
33611 		.ksize = 4,
33612 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33613 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33614 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
33615 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33616 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
33617 		.psize = 40,
33618 		.digest = "\xb4\x97\xcc\xd4",
33619 	},
33620 	{
33621 		.key = "\x2e\x80\x04\x59",
33622 		.ksize = 4,
33623 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33624 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
33625 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33626 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
33627 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33628 		.psize = 40,
33629 		.digest = "\x67\x9b\xfa\x79",
33630 	},
33631 	{
33632 		.key = "\xa6\xcc\x19\x85",
33633 		.ksize = 4,
33634 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33635 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33636 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33637 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33638 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33639 		.psize = 40,
33640 		.digest = "\x24\xb5\x16\xef",
33641 	},
33642 	{
33643 		.key = "\x41\xfc\xfe\x2d",
33644 		.ksize = 4,
33645 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33646 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33647 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33648 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33649 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33650 		.psize = 40,
33651 		.digest = "\x15\x94\x80\x39",
33652 	},
33653 	{
33654 		.key = "\xff\xff\xff\xff",
33655 		.ksize = 4,
33656 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33657 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33658 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
33659 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33660 			     "\x21\x22\x23\x24\x25\x26\x27\x28"
33661 			     "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33662 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33663 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33664 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33665 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
33666 			     "\x51\x52\x53\x54\x55\x56\x57\x58"
33667 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33668 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
33669 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33670 			     "\x71\x72\x73\x74\x75\x76\x77\x78"
33671 			     "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33672 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
33673 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33674 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
33675 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
33676 			     "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33677 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33678 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33679 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33680 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
33681 			     "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33682 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33683 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33684 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33685 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33686 		.psize = 240,
33687 		.digest = "\x6c\xc6\x56\xde",
33688 		.np = 2,
33689 		.tap = { 31, 209 }
33690 	}, {
33691 		.key = "\xff\xff\xff\xff",
33692 		.ksize = 4,
33693 		.plaintext =	"\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
33694 				"\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
33695 				"\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
33696 				"\xa1\x38\xcf\x43\xda\x71\x08\x7c"
33697 				"\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
33698 				"\x85\x1c\x90\x27\xbe\x32\xc9\x60"
33699 				"\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
33700 				"\x46\xdd\x74\x0b\x7f\x16\xad\x21"
33701 				"\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
33702 				"\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
33703 				"\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
33704 				"\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
33705 				"\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
33706 				"\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
33707 				"\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
33708 				"\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
33709 				"\x02\x99\x30\xc7\x3b\xd2\x69\x00"
33710 				"\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
33711 				"\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
33712 				"\x58\xef\x63\xfa\x91\x05\x9c\x33"
33713 				"\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
33714 				"\x19\xb0\x47\xde\x52\xe9\x80\x17"
33715 				"\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
33716 				"\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
33717 				"\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
33718 				"\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
33719 				"\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
33720 				"\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
33721 				"\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
33722 				"\x86\x1d\x91\x28\xbf\x33\xca\x61"
33723 				"\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
33724 				"\x47\xde\x75\x0c\x80\x17\xae\x22"
33725 				"\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
33726 				"\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
33727 				"\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
33728 				"\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
33729 				"\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
33730 				"\xd0\x67\xfe\x72\x09\xa0\x14\xab"
33731 				"\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
33732 				"\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
33733 				"\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
33734 				"\x75\x0c\xa3\x17\xae\x45\xdc\x50"
33735 				"\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
33736 				"\x59\xf0\x64\xfb\x92\x06\x9d\x34"
33737 				"\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
33738 				"\x1a\xb1\x48\xdf\x53\xea\x81\x18"
33739 				"\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
33740 				"\xfe\x95\x09\xa0\x37\xce\x42\xd9"
33741 				"\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
33742 				"\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
33743 				"\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
33744 				"\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
33745 				"\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
33746 				"\x87\x1e\x92\x29\xc0\x34\xcb\x62"
33747 				"\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
33748 				"\x48\xdf\x76\x0d\x81\x18\xaf\x23"
33749 				"\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
33750 				"\x2c\xc3\x37\xce\x65\xfc\x70\x07"
33751 				"\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
33752 				"\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
33753 				"\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
33754 				"\xd1\x68\xff\x73\x0a\xa1\x15\xac"
33755 				"\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
33756 				"\xb5\x29\xc0\x57\xee\x62\xf9\x90"
33757 				"\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
33758 				"\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
33759 				"\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
33760 				"\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
33761 				"\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
33762 				"\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
33763 				"\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
33764 				"\xff\x96\x0a\xa1\x38\xcf\x43\xda"
33765 				"\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
33766 				"\xe3\x57\xee\x85\x1c\x90\x27\xbe"
33767 				"\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
33768 				"\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
33769 				"\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
33770 				"\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
33771 				"\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
33772 				"\x49\xe0\x77\x0e\x82\x19\xb0\x24"
33773 				"\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
33774 				"\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
33775 				"\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
33776 				"\x11\x85\x1c\xb3\x27\xbe\x55\xec"
33777 				"\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
33778 				"\xd2\x69\x00\x74\x0b\xa2\x16\xad"
33779 				"\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
33780 				"\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
33781 				"\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
33782 				"\x77\x0e\xa5\x19\xb0\x47\xde\x52"
33783 				"\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
33784 				"\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
33785 				"\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
33786 				"\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
33787 				"\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
33788 				"\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
33789 				"\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
33790 				"\xe4\x58\xef\x86\x1d\x91\x28\xbf"
33791 				"\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
33792 				"\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
33793 				"\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
33794 				"\x89\x20\x94\x2b\xc2\x36\xcd\x64"
33795 				"\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
33796 				"\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
33797 				"\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
33798 				"\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
33799 				"\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
33800 				"\x12\x86\x1d\xb4\x28\xbf\x56\xed"
33801 				"\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
33802 				"\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
33803 				"\x45\xdc\x50\xe7\x7e\x15\x89\x20"
33804 				"\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
33805 				"\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
33806 				"\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
33807 				"\xea\x81\x18\x8c\x23\xba\x2e\xc5"
33808 				"\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
33809 				"\xce\x42\xd9\x70\x07\x7b\x12\xa9"
33810 				"\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
33811 				"\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
33812 				"\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
33813 				"\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
33814 				"\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
33815 				"\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
33816 				"\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
33817 				"\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
33818 				"\x8a\x21\x95\x2c\xc3\x37\xce\x65"
33819 				"\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
33820 				"\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
33821 				"\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
33822 				"\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
33823 				"\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
33824 				"\x13\x87\x1e\xb5\x29\xc0\x57\xee"
33825 				"\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
33826 				"\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
33827 				"\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
33828 				"\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
33829 				"\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
33830 				"\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
33831 				"\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
33832 				"\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
33833 				"\xcf\x43\xda\x71\x08\x7c\x13\xaa"
33834 				"\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
33835 				"\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
33836 				"\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
33837 				"\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
33838 				"\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
33839 				"\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
33840 				"\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
33841 				"\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
33842 				"\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
33843 				"\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
33844 				"\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
33845 				"\xbe\x55\xec\x60\xf7\x8e\x02\x99"
33846 				"\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
33847 				"\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
33848 				"\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
33849 				"\x63\xfa\x91\x05\x9c\x33\xca\x3e"
33850 				"\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
33851 				"\x47\xde\x52\xe9\x80\x17\x8b\x22"
33852 				"\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
33853 				"\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
33854 				"\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
33855 				"\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
33856 				"\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
33857 				"\xd0\x44\xdb\x72\x09\x7d\x14\xab"
33858 				"\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
33859 				"\x91\x28\xbf\x33\xca\x61\xf8\x6c"
33860 				"\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
33861 				"\x75\x0c\x80\x17\xae\x22\xb9\x50"
33862 				"\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
33863 				"\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
33864 				"\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
33865 				"\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
33866 				"\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
33867 				"\xfe\x72\x09\xa0\x14\xab\x42\xd9"
33868 				"\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
33869 				"\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
33870 				"\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
33871 				"\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
33872 				"\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
33873 				"\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
33874 				"\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
33875 				"\x48\xdf\x53\xea\x81\x18\x8c\x23"
33876 				"\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
33877 				"\x09\xa0\x37\xce\x42\xd9\x70\x07"
33878 				"\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
33879 				"\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
33880 				"\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
33881 				"\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
33882 				"\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
33883 				"\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
33884 				"\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
33885 				"\x76\x0d\x81\x18\xaf\x23\xba\x51"
33886 				"\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
33887 				"\x37\xce\x65\xfc\x70\x07\x9e\x12"
33888 				"\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
33889 				"\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
33890 				"\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
33891 				"\xff\x73\x0a\xa1\x15\xac\x43\xda"
33892 				"\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
33893 				"\xc0\x57\xee\x62\xf9\x90\x04\x9b"
33894 				"\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
33895 				"\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
33896 				"\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
33897 				"\x65\xfc\x93\x07\x9e\x35\xcc\x40"
33898 				"\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
33899 				"\x49\xe0\x54\xeb\x82\x19\x8d\x24"
33900 				"\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
33901 				"\x0a\xa1\x38\xcf\x43\xda\x71\x08"
33902 				"\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
33903 				"\xee\x85\x1c\x90\x27\xbe\x32\xc9"
33904 				"\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
33905 				"\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
33906 				"\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
33907 				"\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
33908 				"\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
33909 				"\x77\x0e\x82\x19\xb0\x24\xbb\x52"
33910 				"\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
33911 				"\x38\xcf\x66\xfd\x71\x08\x9f\x13"
33912 				"\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
33913 				"\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
33914 				"\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
33915 				"\x00\x74\x0b\xa2\x16\xad\x44\xdb"
33916 				"\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
33917 				"\xc1\x58\xef\x63\xfa\x91\x05\x9c"
33918 				"\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
33919 				"\xa5\x19\xb0\x47\xde\x52\xe9\x80"
33920 				"\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
33921 				"\x66\xfd\x94\x08\x9f\x36\xcd\x41"
33922 				"\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
33923 				"\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
33924 				"\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
33925 				"\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
33926 				"\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
33927 				"\xef\x86\x1d\x91\x28\xbf\x33\xca"
33928 				"\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
33929 				"\xd3\x47\xde\x75\x0c\x80\x17\xae"
33930 				"\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
33931 				"\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
33932 				"\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
33933 				"\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
33934 				"\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
33935 				"\x39\xd0\x67\xfe\x72\x09\xa0\x14"
33936 				"\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
33937 				"\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
33938 				"\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
33939 				"\x01\x75\x0c\xa3\x17\xae\x45\xdc"
33940 				"\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
33941 				"\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
33942 				"\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
33943 				"\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
33944 				"\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
33945 				"\x67\xfe\x95\x09\xa0\x37\xce\x42"
33946 				"\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
33947 				"\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
33948 				"\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
33949 		.psize = 2048,
33950 		.digest = "\xfb\x3a\x7a\xda",
33951 	}
33952 };
33953 
33954 /*
33955  * CRC32C test vectors
33956  */
33957 #define CRC32C_TEST_VECTORS 15
33958 
33959 static struct hash_testvec crc32c_tv_template[] = {
33960 	{
33961 		.psize = 0,
33962 		.digest = "\x00\x00\x00\x00",
33963 	},
33964 	{
33965 		.key = "\x87\xa9\xcb\xed",
33966 		.ksize = 4,
33967 		.psize = 0,
33968 		.digest = "\x78\x56\x34\x12",
33969 	},
33970 	{
33971 		.key = "\xff\xff\xff\xff",
33972 		.ksize = 4,
33973 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33974 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33975 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
33976 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33977 			     "\x21\x22\x23\x24\x25\x26\x27\x28",
33978 		.psize = 40,
33979 		.digest = "\x7f\x15\x2c\x0e",
33980 	},
33981 	{
33982 		.key = "\xff\xff\xff\xff",
33983 		.ksize = 4,
33984 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33985 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33986 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33987 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33988 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33989 		.psize = 40,
33990 		.digest = "\xf6\xeb\x80\xe9",
33991 	},
33992 	{
33993 		.key = "\xff\xff\xff\xff",
33994 		.ksize = 4,
33995 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33996 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33997 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
33998 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33999 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
34000 		.psize = 40,
34001 		.digest = "\xed\xbd\x74\xde",
34002 	},
34003 	{
34004 		.key = "\xff\xff\xff\xff",
34005 		.ksize = 4,
34006 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34007 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34008 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34009 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34010 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34011 		.psize = 40,
34012 		.digest = "\x62\xc8\x79\xd5",
34013 	},
34014 	{
34015 		.key = "\xff\xff\xff\xff",
34016 		.ksize = 4,
34017 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34018 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34019 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34020 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34021 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34022 		.psize = 40,
34023 		.digest = "\xd0\x9a\x97\xba",
34024 	},
34025 	{
34026 		.key = "\xff\xff\xff\xff",
34027 		.ksize = 4,
34028 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34029 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34030 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34031 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34032 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34033 		.psize = 40,
34034 		.digest = "\x13\xd9\x29\x2b",
34035 	},
34036 	{
34037 		.key = "\x80\xea\xd3\xf1",
34038 		.ksize = 4,
34039 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34040 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34041 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34042 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34043 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34044 		.psize = 40,
34045 		.digest = "\x0c\xb5\xe2\xa2",
34046 	},
34047 	{
34048 		.key = "\xf3\x4a\x1d\x5d",
34049 		.ksize = 4,
34050 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34051 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34052 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34053 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34054 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
34055 		.psize = 40,
34056 		.digest = "\xd1\x7f\xfb\xa6",
34057 	},
34058 	{
34059 		.key = "\x2e\x80\x04\x59",
34060 		.ksize = 4,
34061 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34062 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34063 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34064 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34065 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34066 		.psize = 40,
34067 		.digest = "\x59\x33\xe6\x7a",
34068 	},
34069 	{
34070 		.key = "\xa6\xcc\x19\x85",
34071 		.ksize = 4,
34072 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34073 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34074 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34075 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34076 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34077 		.psize = 40,
34078 		.digest = "\xbe\x03\x01\xd2",
34079 	},
34080 	{
34081 		.key = "\x41\xfc\xfe\x2d",
34082 		.ksize = 4,
34083 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34084 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34085 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34086 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34087 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34088 		.psize = 40,
34089 		.digest = "\x75\xd3\xc5\x24",
34090 	},
34091 	{
34092 		.key = "\xff\xff\xff\xff",
34093 		.ksize = 4,
34094 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34095 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34096 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34097 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34098 			     "\x21\x22\x23\x24\x25\x26\x27\x28"
34099 			     "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34100 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34101 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34102 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34103 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
34104 			     "\x51\x52\x53\x54\x55\x56\x57\x58"
34105 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34106 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34107 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34108 			     "\x71\x72\x73\x74\x75\x76\x77\x78"
34109 			     "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34110 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34111 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34112 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34113 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34114 			     "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34115 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34116 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34117 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34118 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34119 			     "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34120 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34121 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34122 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34123 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34124 		.psize = 240,
34125 		.digest = "\x75\xd3\xc5\x24",
34126 		.np = 2,
34127 		.tap = { 31, 209 }
34128 	}, {
34129 		.key = "\xff\xff\xff\xff",
34130 		.ksize = 4,
34131 		.plaintext =	"\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
34132 				"\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
34133 				"\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
34134 				"\xa1\x38\xcf\x43\xda\x71\x08\x7c"
34135 				"\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
34136 				"\x85\x1c\x90\x27\xbe\x32\xc9\x60"
34137 				"\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
34138 				"\x46\xdd\x74\x0b\x7f\x16\xad\x21"
34139 				"\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
34140 				"\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
34141 				"\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
34142 				"\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
34143 				"\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
34144 				"\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
34145 				"\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
34146 				"\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
34147 				"\x02\x99\x30\xc7\x3b\xd2\x69\x00"
34148 				"\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
34149 				"\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
34150 				"\x58\xef\x63\xfa\x91\x05\x9c\x33"
34151 				"\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
34152 				"\x19\xb0\x47\xde\x52\xe9\x80\x17"
34153 				"\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
34154 				"\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
34155 				"\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
34156 				"\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
34157 				"\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
34158 				"\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
34159 				"\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
34160 				"\x86\x1d\x91\x28\xbf\x33\xca\x61"
34161 				"\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
34162 				"\x47\xde\x75\x0c\x80\x17\xae\x22"
34163 				"\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
34164 				"\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
34165 				"\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
34166 				"\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
34167 				"\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
34168 				"\xd0\x67\xfe\x72\x09\xa0\x14\xab"
34169 				"\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
34170 				"\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
34171 				"\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
34172 				"\x75\x0c\xa3\x17\xae\x45\xdc\x50"
34173 				"\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
34174 				"\x59\xf0\x64\xfb\x92\x06\x9d\x34"
34175 				"\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
34176 				"\x1a\xb1\x48\xdf\x53\xea\x81\x18"
34177 				"\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
34178 				"\xfe\x95\x09\xa0\x37\xce\x42\xd9"
34179 				"\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
34180 				"\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
34181 				"\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
34182 				"\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
34183 				"\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
34184 				"\x87\x1e\x92\x29\xc0\x34\xcb\x62"
34185 				"\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
34186 				"\x48\xdf\x76\x0d\x81\x18\xaf\x23"
34187 				"\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
34188 				"\x2c\xc3\x37\xce\x65\xfc\x70\x07"
34189 				"\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
34190 				"\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
34191 				"\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
34192 				"\xd1\x68\xff\x73\x0a\xa1\x15\xac"
34193 				"\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
34194 				"\xb5\x29\xc0\x57\xee\x62\xf9\x90"
34195 				"\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
34196 				"\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
34197 				"\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
34198 				"\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
34199 				"\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
34200 				"\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
34201 				"\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
34202 				"\xff\x96\x0a\xa1\x38\xcf\x43\xda"
34203 				"\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
34204 				"\xe3\x57\xee\x85\x1c\x90\x27\xbe"
34205 				"\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
34206 				"\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
34207 				"\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
34208 				"\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
34209 				"\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
34210 				"\x49\xe0\x77\x0e\x82\x19\xb0\x24"
34211 				"\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
34212 				"\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
34213 				"\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
34214 				"\x11\x85\x1c\xb3\x27\xbe\x55\xec"
34215 				"\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
34216 				"\xd2\x69\x00\x74\x0b\xa2\x16\xad"
34217 				"\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
34218 				"\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
34219 				"\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
34220 				"\x77\x0e\xa5\x19\xb0\x47\xde\x52"
34221 				"\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
34222 				"\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
34223 				"\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
34224 				"\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
34225 				"\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
34226 				"\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
34227 				"\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
34228 				"\xe4\x58\xef\x86\x1d\x91\x28\xbf"
34229 				"\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
34230 				"\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
34231 				"\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
34232 				"\x89\x20\x94\x2b\xc2\x36\xcd\x64"
34233 				"\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
34234 				"\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
34235 				"\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
34236 				"\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
34237 				"\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
34238 				"\x12\x86\x1d\xb4\x28\xbf\x56\xed"
34239 				"\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
34240 				"\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
34241 				"\x45\xdc\x50\xe7\x7e\x15\x89\x20"
34242 				"\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
34243 				"\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
34244 				"\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
34245 				"\xea\x81\x18\x8c\x23\xba\x2e\xc5"
34246 				"\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
34247 				"\xce\x42\xd9\x70\x07\x7b\x12\xa9"
34248 				"\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
34249 				"\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
34250 				"\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
34251 				"\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
34252 				"\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
34253 				"\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
34254 				"\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
34255 				"\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
34256 				"\x8a\x21\x95\x2c\xc3\x37\xce\x65"
34257 				"\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
34258 				"\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
34259 				"\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
34260 				"\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
34261 				"\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
34262 				"\x13\x87\x1e\xb5\x29\xc0\x57\xee"
34263 				"\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
34264 				"\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
34265 				"\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
34266 				"\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
34267 				"\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
34268 				"\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
34269 				"\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
34270 				"\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
34271 				"\xcf\x43\xda\x71\x08\x7c\x13\xaa"
34272 				"\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
34273 				"\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
34274 				"\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
34275 				"\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
34276 				"\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
34277 				"\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
34278 				"\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
34279 				"\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
34280 				"\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
34281 				"\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
34282 				"\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
34283 				"\xbe\x55\xec\x60\xf7\x8e\x02\x99"
34284 				"\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
34285 				"\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
34286 				"\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
34287 				"\x63\xfa\x91\x05\x9c\x33\xca\x3e"
34288 				"\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
34289 				"\x47\xde\x52\xe9\x80\x17\x8b\x22"
34290 				"\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
34291 				"\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
34292 				"\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
34293 				"\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
34294 				"\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
34295 				"\xd0\x44\xdb\x72\x09\x7d\x14\xab"
34296 				"\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
34297 				"\x91\x28\xbf\x33\xca\x61\xf8\x6c"
34298 				"\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
34299 				"\x75\x0c\x80\x17\xae\x22\xb9\x50"
34300 				"\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
34301 				"\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
34302 				"\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
34303 				"\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
34304 				"\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
34305 				"\xfe\x72\x09\xa0\x14\xab\x42\xd9"
34306 				"\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
34307 				"\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
34308 				"\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
34309 				"\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
34310 				"\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
34311 				"\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
34312 				"\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
34313 				"\x48\xdf\x53\xea\x81\x18\x8c\x23"
34314 				"\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
34315 				"\x09\xa0\x37\xce\x42\xd9\x70\x07"
34316 				"\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
34317 				"\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
34318 				"\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
34319 				"\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
34320 				"\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
34321 				"\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
34322 				"\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
34323 				"\x76\x0d\x81\x18\xaf\x23\xba\x51"
34324 				"\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
34325 				"\x37\xce\x65\xfc\x70\x07\x9e\x12"
34326 				"\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
34327 				"\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
34328 				"\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
34329 				"\xff\x73\x0a\xa1\x15\xac\x43\xda"
34330 				"\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
34331 				"\xc0\x57\xee\x62\xf9\x90\x04\x9b"
34332 				"\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
34333 				"\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
34334 				"\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
34335 				"\x65\xfc\x93\x07\x9e\x35\xcc\x40"
34336 				"\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
34337 				"\x49\xe0\x54\xeb\x82\x19\x8d\x24"
34338 				"\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
34339 				"\x0a\xa1\x38\xcf\x43\xda\x71\x08"
34340 				"\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
34341 				"\xee\x85\x1c\x90\x27\xbe\x32\xc9"
34342 				"\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
34343 				"\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
34344 				"\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
34345 				"\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
34346 				"\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
34347 				"\x77\x0e\x82\x19\xb0\x24\xbb\x52"
34348 				"\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
34349 				"\x38\xcf\x66\xfd\x71\x08\x9f\x13"
34350 				"\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
34351 				"\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
34352 				"\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
34353 				"\x00\x74\x0b\xa2\x16\xad\x44\xdb"
34354 				"\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
34355 				"\xc1\x58\xef\x63\xfa\x91\x05\x9c"
34356 				"\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
34357 				"\xa5\x19\xb0\x47\xde\x52\xe9\x80"
34358 				"\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
34359 				"\x66\xfd\x94\x08\x9f\x36\xcd\x41"
34360 				"\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
34361 				"\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
34362 				"\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
34363 				"\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
34364 				"\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
34365 				"\xef\x86\x1d\x91\x28\xbf\x33\xca"
34366 				"\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
34367 				"\xd3\x47\xde\x75\x0c\x80\x17\xae"
34368 				"\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
34369 				"\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
34370 				"\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
34371 				"\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
34372 				"\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
34373 				"\x39\xd0\x67\xfe\x72\x09\xa0\x14"
34374 				"\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
34375 				"\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
34376 				"\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
34377 				"\x01\x75\x0c\xa3\x17\xae\x45\xdc"
34378 				"\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
34379 				"\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
34380 				"\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
34381 				"\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
34382 				"\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
34383 				"\x67\xfe\x95\x09\xa0\x37\xce\x42"
34384 				"\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
34385 				"\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
34386 				"\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
34387 		.psize = 2048,
34388 		.digest = "\xec\x26\x4d\x95",
34389 	}
34390 };
34391 
34392 /*
34393  * Blakcifn CRC test vectors
34394  */
34395 #define BFIN_CRC_TEST_VECTORS 6
34396 
34397 static struct hash_testvec bfin_crc_tv_template[] = {
34398 	{
34399 		.psize = 0,
34400 		.digest = "\x00\x00\x00\x00",
34401 	},
34402 	{
34403 		.key = "\x87\xa9\xcb\xed",
34404 		.ksize = 4,
34405 		.psize = 0,
34406 		.digest = "\x87\xa9\xcb\xed",
34407 	},
34408 	{
34409 		.key = "\xff\xff\xff\xff",
34410 		.ksize = 4,
34411 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34412 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34413 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34414 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34415 			     "\x21\x22\x23\x24\x25\x26\x27\x28",
34416 		.psize = 40,
34417 		.digest = "\x84\x0c\x8d\xa2",
34418 	},
34419 	{
34420 		.key = "\xff\xff\xff\xff",
34421 		.ksize = 4,
34422 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34423 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34424 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34425 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34426 			     "\x21\x22\x23\x24\x25\x26",
34427 		.psize = 38,
34428 		.digest = "\x8c\x58\xec\xb7",
34429 	},
34430 	{
34431 		.key = "\xff\xff\xff\xff",
34432 		.ksize = 4,
34433 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34434 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34435 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34436 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34437 			     "\x21\x22\x23\x24\x25\x26\x27",
34438 		.psize = 39,
34439 		.digest = "\xdc\x50\x28\x7b",
34440 	},
34441 	{
34442 		.key = "\xff\xff\xff\xff",
34443 		.ksize = 4,
34444 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34445 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34446 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34447 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34448 			     "\x21\x22\x23\x24\x25\x26\x27\x28"
34449 			     "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34450 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34451 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34452 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34453 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
34454 			     "\x51\x52\x53\x54\x55\x56\x57\x58"
34455 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34456 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34457 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34458 			     "\x71\x72\x73\x74\x75\x76\x77\x78"
34459 			     "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34460 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34461 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34462 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34463 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34464 			     "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34465 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34466 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34467 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34468 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34469 			     "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34470 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34471 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34472 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34473 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34474 		.psize = 240,
34475 		.digest = "\x10\x19\x4a\x5c",
34476 		.np = 2,
34477 		.tap = { 31, 209 }
34478 	},
34479 
34480 };
34481 
34482 #define LZ4_COMP_TEST_VECTORS 1
34483 #define LZ4_DECOMP_TEST_VECTORS 1
34484 
34485 static struct comp_testvec lz4_comp_tv_template[] = {
34486 	{
34487 		.inlen	= 70,
34488 		.outlen	= 45,
34489 		.input	= "Join us now and share the software "
34490 			  "Join us now and share the software ",
34491 		.output = "\xf0\x10\x4a\x6f\x69\x6e\x20\x75"
34492 			  "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
34493 			  "\x64\x20\x73\x68\x61\x72\x65\x20"
34494 			  "\x74\x68\x65\x20\x73\x6f\x66\x74"
34495 			  "\x77\x0d\x00\x0f\x23\x00\x0b\x50"
34496 			  "\x77\x61\x72\x65\x20",
34497 	},
34498 };
34499 
34500 static struct comp_testvec lz4_decomp_tv_template[] = {
34501 	{
34502 		.inlen	= 45,
34503 		.outlen	= 70,
34504 		.input  = "\xf0\x10\x4a\x6f\x69\x6e\x20\x75"
34505 			  "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
34506 			  "\x64\x20\x73\x68\x61\x72\x65\x20"
34507 			  "\x74\x68\x65\x20\x73\x6f\x66\x74"
34508 			  "\x77\x0d\x00\x0f\x23\x00\x0b\x50"
34509 			  "\x77\x61\x72\x65\x20",
34510 		.output	= "Join us now and share the software "
34511 			  "Join us now and share the software ",
34512 	},
34513 };
34514 
34515 #define LZ4HC_COMP_TEST_VECTORS 1
34516 #define LZ4HC_DECOMP_TEST_VECTORS 1
34517 
34518 static struct comp_testvec lz4hc_comp_tv_template[] = {
34519 	{
34520 		.inlen	= 70,
34521 		.outlen	= 45,
34522 		.input	= "Join us now and share the software "
34523 			  "Join us now and share the software ",
34524 		.output = "\xf0\x10\x4a\x6f\x69\x6e\x20\x75"
34525 			  "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
34526 			  "\x64\x20\x73\x68\x61\x72\x65\x20"
34527 			  "\x74\x68\x65\x20\x73\x6f\x66\x74"
34528 			  "\x77\x0d\x00\x0f\x23\x00\x0b\x50"
34529 			  "\x77\x61\x72\x65\x20",
34530 	},
34531 };
34532 
34533 static struct comp_testvec lz4hc_decomp_tv_template[] = {
34534 	{
34535 		.inlen	= 45,
34536 		.outlen	= 70,
34537 		.input  = "\xf0\x10\x4a\x6f\x69\x6e\x20\x75"
34538 			  "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
34539 			  "\x64\x20\x73\x68\x61\x72\x65\x20"
34540 			  "\x74\x68\x65\x20\x73\x6f\x66\x74"
34541 			  "\x77\x0d\x00\x0f\x23\x00\x0b\x50"
34542 			  "\x77\x61\x72\x65\x20",
34543 		.output	= "Join us now and share the software "
34544 			  "Join us now and share the software ",
34545 	},
34546 };
34547 
34548 #endif	/* _CRYPTO_TESTMGR_H */
34549