xref: /openbmc/linux/crypto/testmgr.h (revision 239480ab)
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 	const char *key;
38 	const char *plaintext;
39 	const 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 	const char *key;
67 	const char *iv;
68 	const char *iv_out;
69 	const char *input;
70 	const 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 	const char *key;
84 	const char *iv;
85 	const char *input;
86 	const char *assoc;
87 	const 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 	const char *key;
103 	const char *dt;
104 	const char *v;
105 	const 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 	const unsigned char *entropy;
115 	size_t entropylen;
116 	const unsigned char *entpra;
117 	const unsigned char *entprb;
118 	size_t entprlen;
119 	const unsigned char *addtla;
120 	const unsigned char *addtlb;
121 	size_t addtllen;
122 	const unsigned char *pers;
123 	size_t perslen;
124 	const unsigned char *expected;
125 	size_t expectedlen;
126 };
127 
128 struct akcipher_testvec {
129 	const unsigned char *key;
130 	const unsigned char *m;
131 	const 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 	const unsigned char *secret;
140 	const unsigned char *b_public;
141 	const unsigned char *expected_a_public;
142 	const 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 const char zeroed_string[48];
150 
151 /*
152  * RSA test vectors. Borrowed from openSSL.
153  */
154 static const struct akcipher_testvec rsa_tv_template[] = {
155 	{
156 #ifndef CONFIG_CRYPTO_FIPS
157 	.key =
158 	"\x30\x81\x9A" /* sequence of 154 bytes */
159 	"\x02\x01\x01" /* version - integer of 1 byte */
160 	"\x02\x41" /* modulus - integer of 65 bytes */
161 	"\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
162 	"\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5"
163 	"\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93"
164 	"\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1"
165 	"\xF5"
166 	"\x02\x01\x11" /* public key - integer of 1 byte */
167 	"\x02\x40" /* private key - integer of 64 bytes */
168 	"\x0A\x03\x37\x48\x62\x64\x87\x69\x5F\x5F\x30\xBC\x38\xB9\x8B\x44"
169 	"\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64"
170 	"\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9"
171 	"\xDF\x8E\x8A\xE5\x9D\x73\x3D\x9F\x33\xB3\x01\x62\x4A\xFD\x1D\x51"
172 	"\x02\x01\x00" /* prime1 - integer of 1 byte */
173 	"\x02\x01\x00" /* prime2 - integer of 1 byte */
174 	"\x02\x01\x00" /* exponent1 - integer of 1 byte */
175 	"\x02\x01\x00" /* exponent2 - integer of 1 byte */
176 	"\x02\x01\x00", /* coefficient - integer of 1 byte */
177 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
178 	.c =
179 	"\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63"
180 	"\x7d\x24\xec\x83\xc3\x15\xe4\x7f\x73\x05\x34\xd1\xec\x22\xbb\x8a"
181 	"\x5e\x32\x39\x6d\xc1\x1d\x7d\x50\x3b\x9f\x7a\xad\xf0\x2e\x25\x53"
182 	"\x9f\x6e\xbd\x4c\x55\x84\x0c\x9b\xcf\x1a\x4b\x51\x1e\x9e\x0c\x06",
183 	.key_len = 157,
184 	.m_size = 8,
185 	.c_size = 64,
186 	}, {
187 	.key =
188 	"\x30\x82\x01\x1D" /* sequence of 285 bytes */
189 	"\x02\x01\x01" /* version - integer of 1 byte */
190 	"\x02\x81\x81" /* modulus - integer of 129 bytes */
191 	"\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
192 	"\xF7\x36\x8D\x07\xEE\xD4\x10\x43\xA4\x40\xD6\xB6\xF0\x74\x54\xF5"
193 	"\x1F\xB8\xDF\xBA\xAF\x03\x5C\x02\xAB\x61\xEA\x48\xCE\xEB\x6F\xCD"
194 	"\x48\x76\xED\x52\x0D\x60\xE1\xEC\x46\x19\x71\x9D\x8A\x5B\x8B\x80"
195 	"\x7F\xAF\xB8\xE0\xA3\xDF\xC7\x37\x72\x3E\xE6\xB4\xB7\xD9\x3A\x25"
196 	"\x84\xEE\x6A\x64\x9D\x06\x09\x53\x74\x88\x34\xB2\x45\x45\x98\x39"
197 	"\x4E\xE0\xAA\xB1\x2D\x7B\x61\xA5\x1F\x52\x7A\x9A\x41\xF6\xC1\x68"
198 	"\x7F\xE2\x53\x72\x98\xCA\x2A\x8F\x59\x46\xF8\xE5\xFD\x09\x1D\xBD"
199 	"\xCB"
200 	"\x02\x01\x11" /* public key - integer of 1 byte */
201 	"\x02\x81\x81"  /* private key - integer of 129 bytes */
202 	"\x00\xA5\xDA\xFC\x53\x41\xFA\xF2\x89\xC4\xB9\x88\xDB\x30\xC1\xCD"
203 	"\xF8\x3F\x31\x25\x1E\x06\x68\xB4\x27\x84\x81\x38\x01\x57\x96\x41"
204 	"\xB2\x94\x10\xB3\xC7\x99\x8D\x6B\xC4\x65\x74\x5E\x5C\x39\x26\x69"
205 	"\xD6\x87\x0D\xA2\xC0\x82\xA9\x39\xE3\x7F\xDC\xB8\x2E\xC9\x3E\xDA"
206 	"\xC9\x7F\xF3\xAD\x59\x50\xAC\xCF\xBC\x11\x1C\x76\xF1\xA9\x52\x94"
207 	"\x44\xE5\x6A\xAF\x68\xC5\x6C\x09\x2C\xD3\x8D\xC3\xBE\xF5\xD2\x0A"
208 	"\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94"
209 	"\xAF\x94\x28\xC2\xB7\xB8\x88\x3F\xE4\x46\x3A\x4B\xC8\x5B\x1C\xB3"
210 	"\xC1"
211 	"\x02\x01\x00" /* prime1 - integer of 1 byte */
212 	"\x02\x01\x00" /* prime2 - integer of 1 byte */
213 	"\x02\x01\x00" /* exponent1 - integer of 1 byte */
214 	"\x02\x01\x00" /* exponent2 - integer of 1 byte */
215 	"\x02\x01\x00", /* coefficient - integer of 1 byte */
216 	.key_len = 289,
217 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
218 	.c =
219 	"\x74\x1b\x55\xac\x47\xb5\x08\x0a\x6e\x2b\x2d\xf7\x94\xb8\x8a\x95"
220 	"\xed\xa3\x6b\xc9\x29\xee\xb2\x2c\x80\xc3\x39\x3b\x8c\x62\x45\x72"
221 	"\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f"
222 	"\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34"
223 	"\x59\x89\xaf\xf0\xba\x44\xd7\xf1\x1a\x50\x72\xef\x5e\x4a\xb6\xb7"
224 	"\x54\x34\xd1\xc4\x83\x09\xdf\x0f\x91\x5f\x7d\x91\x70\x2f\xd4\x13"
225 	"\xcc\x5e\xa4\x6c\xc3\x4d\x28\xef\xda\xaf\xec\x14\x92\xfc\xa3\x75"
226 	"\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b",
227 	.m_size = 8,
228 	.c_size = 128,
229 	}, {
230 #endif
231 	.key =
232 	"\x30\x82\x02\x1F" /* sequence of 543 bytes */
233 	"\x02\x01\x01" /* version - integer of 1 byte */
234 	"\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
235 	"\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
236 	"\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
237 	"\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
238 	"\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
239 	"\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
240 	"\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
241 	"\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
242 	"\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
243 	"\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
244 	"\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
245 	"\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
246 	"\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
247 	"\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
248 	"\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
249 	"\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
250 	"\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
251 	"\x02\x03\x01\x00\x01" /* public key - integer of 3 bytes */
252 	"\x02\x82\x01\x00" /* private key - integer of 256 bytes */
253 	"\x52\x41\xF4\xDA\x7B\xB7\x59\x55\xCA\xD4\x2F\x0F\x3A\xCB\xA4\x0D"
254 	"\x93\x6C\xCC\x9D\xC1\xB2\xFB\xFD\xAE\x40\x31\xAC\x69\x52\x21\x92"
255 	"\xB3\x27\xDF\xEA\xEE\x2C\x82\xBB\xF7\x40\x32\xD5\x14\xC4\x94\x12"
256 	"\xEC\xB8\x1F\xCA\x59\xE3\xC1\x78\xF3\x85\xD8\x47\xA5\xD7\x02\x1A"
257 	"\x65\x79\x97\x0D\x24\xF4\xF0\x67\x6E\x75\x2D\xBF\x10\x3D\xA8\x7D"
258 	"\xEF\x7F\x60\xE4\xE6\x05\x82\x89\x5D\xDF\xC6\xD2\x6C\x07\x91\x33"
259 	"\x98\x42\xF0\x02\x00\x25\x38\xC5\x85\x69\x8A\x7D\x2F\x95\x6C\x43"
260 	"\x9A\xB8\x81\xE2\xD0\x07\x35\xAA\x05\x41\xC9\x1E\xAF\xE4\x04\x3B"
261 	"\x19\xB8\x73\xA2\xAC\x4B\x1E\x66\x48\xD8\x72\x1F\xAC\xF6\xCB\xBC"
262 	"\x90\x09\xCA\xEC\x0C\xDC\xF9\x2C\xD7\xEB\xAE\xA3\xA4\x47\xD7\x33"
263 	"\x2F\x8A\xCA\xBC\x5E\xF0\x77\xE4\x97\x98\x97\xC7\x10\x91\x7D\x2A"
264 	"\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D"
265 	"\x77\xAF\x51\x27\x5B\x5E\x69\xB8\x81\xE6\x11\xC5\x43\x23\x81\x04"
266 	"\x62\xFF\xE9\x46\xB8\xD8\x44\xDB\xA5\xCC\x31\x54\x34\xCE\x3E\x82"
267 	"\xD6\xBF\x7A\x0B\x64\x21\x6D\x88\x7E\x5B\x45\x12\x1E\x63\x8D\x49"
268 	"\xA7\x1D\xD9\x1E\x06\xCD\xE8\xBA\x2C\x8C\x69\x32\xEA\xBE\x60\x71"
269 	"\x02\x01\x00" /* prime1 - integer of 1 byte */
270 	"\x02\x01\x00" /* prime2 - integer of 1 byte */
271 	"\x02\x01\x00" /* exponent1 - integer of 1 byte */
272 	"\x02\x01\x00" /* exponent2 - integer of 1 byte */
273 	"\x02\x01\x00", /* coefficient - integer of 1 byte */
274 	.key_len = 547,
275 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
276 	.c =
277 	"\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
278 	"\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
279 	"\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
280 	"\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
281 	"\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
282 	"\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
283 	"\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
284 	"\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
285 	"\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
286 	"\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
287 	"\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
288 	"\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
289 	"\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
290 	"\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
291 	"\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
292 	"\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
293 	.m_size = 8,
294 	.c_size = 256,
295 	}, {
296 	.key =
297 	"\x30\x82\x01\x09" /* sequence of 265 bytes */
298 	"\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
299 	"\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
300 	"\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
301 	"\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
302 	"\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
303 	"\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
304 	"\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
305 	"\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
306 	"\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
307 	"\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
308 	"\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
309 	"\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
310 	"\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
311 	"\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
312 	"\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
313 	"\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
314 	"\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
315 	"\x02\x03\x01\x00\x01", /* public key - integer of 3 bytes */
316 	.key_len = 269,
317 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
318 	.c =
319 	"\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
320 	"\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
321 	"\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
322 	"\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
323 	"\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
324 	"\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
325 	"\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
326 	"\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
327 	"\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
328 	"\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
329 	"\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
330 	"\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
331 	"\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
332 	"\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
333 	"\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
334 	"\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
335 	.m_size = 8,
336 	.c_size = 256,
337 	.public_key_vec = true,
338 #ifndef CONFIG_CRYPTO_FIPS
339 	}, {
340 	.key =
341 	"\x30\x82\x09\x29" /* sequence of 2345 bytes */
342 	"\x02\x01\x00" /* version integer of 1 byte */
343 	"\x02\x82\x02\x01" /* modulus - integer of 513 bytes */
344 	"\x00\xC3\x8B\x55\x7B\x73\x4D\xFF\xE9\x9B\xC6\xDC\x67\x3C\xB4\x8E"
345 	"\xA0\x86\xED\xF2\xB9\x50\x5C\x54\x5C\xBA\xE4\xA1\xB2\xA7\xAE\x2F"
346 	"\x1B\x7D\xF1\xFB\xAC\x79\xC5\xDF\x1A\x00\xC9\xB2\xC1\x61\x25\x33"
347 	"\xE6\x9C\xE9\xCF\xD6\x27\xC4\x4E\x44\x30\x44\x5E\x08\xA1\x87\x52"
348 	"\xCC\x6B\x97\x70\x8C\xBC\xA5\x06\x31\x0C\xD4\x2F\xD5\x7D\x26\x24"
349 	"\xA2\xE2\xAC\x78\xF4\x53\x14\xCE\xF7\x19\x2E\xD7\xF7\xE6\x0C\xB9"
350 	"\x56\x7F\x0B\xF1\xB1\xE2\x43\x70\xBD\x86\x1D\xA1\xCC\x2B\x19\x08"
351 	"\x76\xEF\x91\xAC\xBF\x20\x24\x0D\x38\xC0\x89\xB8\x9A\x70\xB3\x64"
352 	"\xD9\x8F\x80\x41\x10\x5B\x9F\xB1\xCB\x76\x43\x00\x21\x25\x36\xD4"
353 	"\x19\xFC\x55\x95\x10\xE4\x26\x74\x98\x2C\xD9\xBD\x0B\x2B\x04\xC2"
354 	"\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25"
355 	"\xDD\x4B\xB2\xE7\x20\x0A\x57\xF9\xB4\x94\xC3\x08\x33\x22\x6F\x8B"
356 	"\x48\xDB\x03\x68\x5A\x5B\xBA\xAE\xF3\xAD\xCF\xC3\x6D\xBA\xF1\x28"
357 	"\x67\x7E\x6C\x79\x07\xDE\xFC\xED\xE7\x96\xE3\x6C\xE0\x2C\x87\xF8"
358 	"\x02\x01\x28\x38\x43\x21\x53\x84\x69\x75\x78\x15\x7E\xEE\xD2\x1B"
359 	"\xB9\x23\x40\xA8\x86\x1E\x38\x83\xB2\x73\x1D\x53\xFB\x9E\x2A\x8A"
360 	"\xB2\x75\x35\x01\xC3\xC3\xC4\x94\xE8\x84\x86\x64\x81\xF4\x42\xAA"
361 	"\x3C\x0E\xD6\x4F\xBC\x0A\x09\x2D\xE7\x1B\xD4\x10\xA8\x54\xEA\x89"
362 	"\x84\x8A\xCB\xF7\x5A\x3C\xCA\x76\x08\x29\x62\xB4\x6A\x22\xDF\x14"
363 	"\x95\x71\xFD\xB6\x86\x39\xB8\x8B\xF8\x91\x7F\x38\xAA\x14\xCD\xE5"
364 	"\xF5\x1D\xC2\x6D\x53\x69\x52\x84\x7F\xA3\x1A\x5E\x26\x04\x83\x06"
365 	"\x73\x52\x56\xCF\x76\x26\xC9\xDD\x75\xD7\xFC\xF4\x69\xD8\x7B\x55"
366 	"\xB7\x68\x13\x53\xB9\xE7\x89\xC3\xE8\xD6\x6E\xA7\x6D\xEA\x81\xFD"
367 	"\xC4\xB7\x05\x5A\xB7\x41\x0A\x23\x8E\x03\x8A\x1C\xAE\xD3\x1E\xCE"
368 	"\xE3\x5E\xFC\x19\x4A\xEE\x61\x9B\x8E\xE5\xE5\xDD\x85\xF9\x41\xEC"
369 	"\x14\x53\x92\xF7\xDD\x06\x85\x02\x91\xE3\xEB\x6C\x43\x03\xB1\x36"
370 	"\x7B\x89\x5A\xA8\xEB\xFC\xD5\xA8\x35\xDC\x81\xD9\x5C\xBD\xCA\xDC"
371 	"\x9B\x98\x0B\x06\x5D\x0C\x5B\xEE\xF3\xD5\xCC\x57\xC9\x71\x2F\x90"
372 	"\x3B\x3C\xF0\x8E\x4E\x35\x48\xAE\x63\x74\xA9\xFC\x72\x75\x8E\x34"
373 	"\xA8\xF2\x1F\xEA\xDF\x3A\x37\x2D\xE5\x39\x39\xF8\x57\x58\x3C\x04"
374 	"\xFE\x87\x06\x98\xBC\x7B\xD3\x21\x36\x60\x25\x54\xA7\x3D\xFA\x91"
375 	"\xCC\xA8\x0B\x92\x8E\xB4\xF7\x06\xFF\x1E\x95\xCB\x07\x76\x97\x3B"
376 	"\x9D"
377 	"\x02\x03\x01\x00\x01" /* public key integer of 3 bytes */
378 	"\x02\x82\x02\x00" /* private key integer of 512 bytes */
379 	"\x74\xA9\xE0\x6A\x32\xB4\xCA\x85\xD9\x86\x9F\x60\x88\x7B\x40\xCC"
380 	"\xCD\x33\x91\xA8\xB6\x25\x1F\xBF\xE3\x51\x1C\x97\xB6\x2A\xD9\xB8"
381 	"\x11\x40\x19\xE3\x21\x13\xC8\xB3\x7E\xDC\xD7\x65\x40\x4C\x2D\xD6"
382 	"\xDC\xAF\x32\x6C\x96\x75\x2C\x2C\xCA\x8F\x3F\x7A\xEE\xC4\x09\xC6"
383 	"\x24\x3A\xC9\xCF\x6D\x8D\x17\x50\x94\x52\xD3\xE7\x0F\x2F\x7E\x94"
384 	"\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38"
385 	"\xEF\xBB\x74\x8B\xA8\x6E\x8C\x08\xC6\xC7\x4F\x0C\xBC\x79\xC6\xEF"
386 	"\x0E\xA7\x5E\xE4\xF8\x8C\x09\xC7\x5E\x37\xCC\x87\x77\xCD\xCF\xD1"
387 	"\x6D\x28\x1B\xA9\x62\xC0\xB8\x16\xA7\x8B\xF9\xBB\xCC\xB4\x15\x7F"
388 	"\x1B\x69\x03\xF2\x7B\xEB\xE5\x8C\x14\xD6\x23\x4F\x52\x6F\x18\xA6"
389 	"\x4B\x5B\x01\xAD\x35\xF9\x48\x53\xB3\x86\x35\x66\xD7\xE7\x29\xC0"
390 	"\x09\xB5\xC6\xE6\xFA\xC4\xDA\x19\xBE\xD7\x4D\x41\x14\xBE\x6F\xDF"
391 	"\x1B\xAB\xC0\xCA\x88\x07\xAC\xF1\x7D\x35\x83\x67\x28\x2D\x50\xE9"
392 	"\xCE\x27\x71\x5E\x1C\xCF\xD2\x30\x65\x79\x72\x2F\x9C\xE1\xD2\x39"
393 	"\x7F\xEF\x3B\x01\xF2\x14\x1D\xDF\xBD\x51\xD3\xA1\x53\x62\xCF\x5F"
394 	"\x79\x84\xCE\x06\x96\x69\x29\x49\x82\x1C\x71\x4A\xA1\x66\xC8\x2F"
395 	"\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83"
396 	"\x87\xCB\x46\xDE\x97\xA7\xB3\xA2\x54\x5B\xD7\xAF\xAB\xEB\xC8\xF3"
397 	"\x55\x9D\x48\x2B\x30\x9C\xDC\x26\x4B\xC2\x89\x45\x13\xB2\x01\x9A"
398 	"\xA4\x65\xC3\xEC\x24\x2D\x26\x97\xEB\x80\x8A\x9D\x03\xBC\x59\x66"
399 	"\x9E\xE2\xBB\xBB\x63\x19\x64\x93\x11\x7B\x25\x65\x30\xCD\x5B\x4B"
400 	"\x2C\xFF\xDC\x2D\x30\x87\x1F\x3C\x88\x07\xD0\xFC\x48\xCC\x05\x8A"
401 	"\xA2\xC8\x39\x3E\xD5\x51\xBC\x0A\xBE\x6D\xA8\xA0\xF6\x88\x06\x79"
402 	"\x13\xFF\x1B\x45\xDA\x54\xC9\x24\x25\x8A\x75\x0A\x26\xD1\x69\x81"
403 	"\x14\x14\xD1\x79\x7D\x8E\x76\xF2\xE0\xEB\xDD\x0F\xDE\xC2\xEC\x80"
404 	"\xD7\xDC\x16\x99\x92\xBE\xCB\x40\x0C\xCE\x7C\x3B\x46\xA2\x5B\x5D"
405 	"\x0C\x45\xEB\xE1\x00\xDE\x72\x50\xB1\xA6\x0B\x76\xC5\x8D\xFC\x82"
406 	"\x38\x6D\x99\x14\x1D\x1A\x4A\xD3\x7C\x53\xB8\x12\x46\xA2\x30\x38"
407 	"\x82\xF4\x96\x6E\x8C\xCE\x47\x0D\xAF\x0A\x3B\x45\xB7\x43\x95\x43"
408 	"\x9E\x02\x2C\x44\x07\x6D\x1F\x3C\x66\x89\x09\xB6\x1F\x06\x30\xCC"
409 	"\xAD\xCE\x7D\x9A\xDE\x3E\xFB\x6C\xE4\x58\x43\xD2\x4F\xA5\x9E\x5E"
410 	"\xA7\x7B\xAE\x3A\xF6\x7E\xD9\xDB\xD3\xF5\xC5\x41\xAF\xE6\x9C\x91"
411 	"\x02\x82\x01\x01" /* prime1 - integer of 257 bytes */
412 	"\x00\xE0\xA6\x6C\xF0\xA2\xF8\x81\x85\x36\x43\xD0\x13\x0B\x33\x8B"
413 	"\x8F\x78\x3D\xAC\xC7\x5E\x46\x6A\x7F\x05\xAE\x3E\x26\x0A\xA6\xD0"
414 	"\x51\xF3\xC8\x61\xF5\x77\x22\x48\x10\x87\x4C\xD5\xA4\xD5\xAE\x2D"
415 	"\x4E\x7A\xFE\x1C\x31\xE7\x6B\xFF\xA4\x69\x20\xF9\x2A\x0B\x99\xBE"
416 	"\x7C\x32\x68\xAD\xB0\xC6\x94\x81\x41\x75\xDC\x06\x78\x0A\xB4\xCF"
417 	"\xCD\x1B\x2D\x31\xE4\x7B\xEA\xA8\x35\x99\x75\x57\xC6\x0E\xF6\x78"
418 	"\x4F\xA0\x92\x4A\x00\x1B\xE7\x96\xF2\x5B\xFD\x2C\x0A\x0A\x13\x81"
419 	"\xAF\xCB\x59\x87\x31\xD9\x83\x65\xF2\x22\x48\xD0\x03\x67\x39\xF6"
420 	"\xFF\xA8\x36\x07\x3A\x68\xE3\x7B\xA9\x64\xFD\x9C\xF7\xB1\x3D\xBF"
421 	"\x26\x5C\xCC\x7A\xFC\xA2\x8F\x51\xD1\xE1\xE2\x3C\xEC\x06\x75\x7C"
422 	"\x34\xF9\xA9\x33\x70\x11\xAD\x5A\xDC\x5F\xCF\x50\xF6\x23\x2F\x39"
423 	"\xAC\x92\x48\x53\x4D\x01\x96\x3C\xD8\xDC\x1F\x23\x23\x78\x80\x34"
424 	"\x54\x14\x76\x8B\xB6\xBB\xFB\x88\x78\x31\x59\x28\xD2\xB1\x75\x17"
425 	"\x88\x04\x4A\x78\x62\x18\x2E\xF5\xFB\x9B\xEF\x15\xD8\x16\x47\xC6"
426 	"\x42\xB1\x02\xDA\x9E\xE3\x84\x90\xB4\x2D\xC3\xCE\x13\xC9\x12\x7D"
427 	"\x3E\xCD\x39\x39\xC9\xAD\xA1\x1A\xE6\xD5\xAD\x5A\x09\x4D\x1B\x0C"
428 	"\xAB"
429 	"\x02\x82\x01\x01" /* prime 2 - integer of 257 bytes */
430 	"\x00\xDE\xD5\x1B\xF6\xCD\x83\xB1\xC6\x47\x7E\xB9\xC0\x6B\xA9\xB8"
431 	"\x02\xF3\xAE\x40\x5D\xFC\xD3\xE5\x4E\xF1\xE3\x39\x04\x52\x84\x89"
432 	"\x40\x37\xBB\xC2\xCD\x7F\x71\x77\x17\xDF\x6A\x4C\x31\x24\x7F\xB9"
433 	"\x7E\x7F\xC8\x43\x4A\x3C\xEB\x8D\x1B\x7F\x21\x51\x67\x45\x8F\xA0"
434 	"\x36\x29\x3A\x18\x45\xA5\x32\xEC\x74\x88\x3C\x98\x5D\x67\x3B\xD7"
435 	"\x51\x1F\xE9\xAE\x09\x01\xDE\xDE\x7C\xFB\x60\xD1\xA5\x6C\xE9\x6A"
436 	"\x93\x04\x02\x3A\xBB\x67\x02\xB9\xFD\x23\xF0\x02\x2B\x49\x85\xC9"
437 	"\x5B\xE7\x4B\xDF\xA3\xF4\xEE\x59\x4C\x45\xEF\x8B\xC1\x6B\xDE\xDE"
438 	"\xBC\x1A\xFC\xD2\x76\x3F\x33\x74\xA9\x8E\xA3\x7E\x0C\xC6\xCE\x70"
439 	"\xA1\x5B\xA6\x77\xEA\x76\xEB\x18\xCE\xB9\xD7\x78\x8D\xAE\x06\xBB"
440 	"\xD3\x1F\x16\x0D\x05\xAB\x4F\xC6\x52\xC8\x6B\x36\x51\x7D\x1D\x27"
441 	"\xAF\x88\x9A\x6F\xCC\x25\x2E\x74\x06\x72\xCE\x9E\xDB\xE0\x9D\x30"
442 	"\xEF\x55\xA5\x58\x21\xA7\x42\x12\x2C\x2C\x23\x87\xC1\x0F\xE8\x51"
443 	"\xDA\x53\xDA\xFC\x05\x36\xDF\x08\x0E\x08\x36\xBE\x5C\x86\x9E\xCA"
444 	"\x68\x90\x33\x12\x0B\x14\x82\xAB\x90\x1A\xD4\x49\x32\x9C\xBD\xAA"
445 	"\xAB\x4E\x38\xF1\xEE\xED\x3D\x3F\xE8\xBD\x48\x56\xA6\x64\xEE\xC8"
446 	"\xD7"
447 	"\x02\x82\x01\x01" /* exponent 1 - integer of 257 bytes */
448 	"\x00\x96\x5E\x6F\x8F\x06\xD6\xE6\x03\x1F\x96\x76\x81\x38\xBF\x30"
449 	"\xCC\x40\x84\xAF\xD0\xE7\x06\xA5\x24\x0E\xCE\x59\xA5\x26\xFE\x0F"
450 	"\x74\xBB\x83\xC6\x26\x02\xAF\x3C\xA3\x6B\x9C\xFF\x68\x0C\xEB\x40"
451 	"\x42\x46\xCB\x2E\x5E\x2C\xF4\x3A\x32\x77\x77\xED\xAF\xBA\x02\x17"
452 	"\xE1\x93\xF0\x43\x4A\x8F\x31\x39\xEF\x72\x0F\x6B\x79\x10\x59\x84"
453 	"\xBA\x5A\x55\x7F\x0E\xDB\xEE\xEE\xD6\xA9\xB8\x44\x9F\x3A\xC6\xB9"
454 	"\x33\x3B\x5C\x90\x11\xD0\x9B\xCC\x8A\xBF\x0E\x10\x5B\x4B\xF1\x50"
455 	"\x9E\x35\xB3\xE0\x6D\x7A\x95\x9C\x38\x5D\xC0\x75\x13\xC2\x15\xA7"
456 	"\x81\xEA\xBA\xF7\x4D\x9E\x85\x9D\xF1\x7D\xBA\xD0\x45\x6F\x2A\xD0"
457 	"\x76\xC2\x28\xD0\xAD\xA7\xB5\xDC\xE3\x6A\x99\xFF\x83\x50\xB3\x75"
458 	"\x07\x14\x91\xAF\xEF\x74\xB5\x9F\x9A\xE0\xBA\xA9\x0B\x87\xF3\x85"
459 	"\x5C\x40\xB2\x0E\xA7\xFD\xC6\xED\x45\x8E\xD9\x7C\xB0\xB2\x68\xC6"
460 	"\x1D\xFD\x70\x78\x06\x41\x7F\x95\x12\x36\x9D\xE2\x58\x5D\x15\xEE"
461 	"\x41\x49\xF5\xFA\xEC\x56\x19\xA0\xE6\xE0\xB2\x40\xE1\xD9\xD0\x03"
462 	"\x22\x02\xCF\xD1\x3C\x07\x38\x65\x8F\x65\x0E\xAA\x32\xCE\x25\x05"
463 	"\x16\x73\x51\xB9\x9F\x88\x0B\xCD\x30\xF3\x97\xCC\x2B\x6B\xA4\x0E"
464 	"\x6F"
465 	"\x02\x82\x01\x00" /* exponent 2 - integer of 256 bytes */
466 	"\x2A\x5F\x3F\xB8\x08\x90\x58\x47\xA9\xE4\xB1\x11\xA3\xE7\x5B\xF4"
467 	"\x43\xBE\x08\xC3\x56\x86\x3C\x7E\x6C\x84\x96\x9C\xF9\xCB\xF6\x05"
468 	"\x5E\x13\xB8\x11\x37\x80\xAD\xF2\xBE\x2B\x0A\x5D\xF5\xE0\xCB\xB7"
469 	"\x00\x39\x66\x82\x41\x5F\x51\x2F\xBF\x56\xE8\x91\xC8\xAA\x6C\xFE"
470 	"\x9F\x8C\x4A\x7D\x43\xD2\x91\x1F\xFF\x9F\xF6\x21\x1C\xB6\x46\x55"
471 	"\x48\xCA\x38\xAB\xC1\xCD\x4D\x65\x5A\xAF\xA8\x6D\xDA\x6D\xF0\x34"
472 	"\x10\x79\x14\x0D\xFA\xA2\x8C\x17\x54\xB4\x18\xD5\x7E\x5F\x90\x50"
473 	"\x87\x84\xE7\xFB\xD7\x61\x53\x5D\xAB\x96\xC7\x6E\x7A\x42\xA0\xFC"
474 	"\x07\xED\xB7\x5F\x80\xD9\x19\xFF\xFB\xFD\x9E\xC4\x73\x31\x62\x3D"
475 	"\x6C\x9E\x15\x03\x62\xA5\x85\xCC\x19\x8E\x9D\x7F\xE3\x6D\xA8\x5D"
476 	"\x96\xF5\xAC\x78\x3D\x81\x27\xE7\x29\xF1\x29\x1D\x09\xBB\x77\x86"
477 	"\x6B\x65\x62\x88\xE1\x31\x1A\x22\xF7\xC5\xCE\x73\x65\x1C\xBE\xE7"
478 	"\x63\xD3\xD3\x14\x63\x27\xAF\x28\xF3\x23\xB6\x76\xC1\xBD\x9D\x82"
479 	"\xF4\x9B\x19\x7D\x2C\x57\xF0\xC2\x2A\x51\xAE\x95\x0D\x8C\x38\x54"
480 	"\xF5\xC6\xA0\x51\xB7\x0E\xB9\xEC\xE7\x0D\x22\xF6\x1A\xD3\xFE\x16"
481 	"\x21\x03\xB7\x0D\x85\xD3\x35\xC9\xDD\xE4\x59\x85\xBE\x7F\xA1\x75"
482 	"\x02\x82\x01\x01" /* coefficient - integer of 257 bytes */
483 	"\x00\xB9\x48\xD2\x54\x2F\x19\x54\x64\xAE\x62\x80\x61\x89\x80\xB4"
484 	"\x48\x0B\x8D\x7E\x1B\x0F\x50\x08\x82\x3F\xED\x75\x84\xB7\x13\xE4"
485 	"\xF8\x8D\xA8\xBB\x54\x21\x4C\x5A\x54\x07\x16\x4B\xB4\xA4\x9E\x30"
486 	"\xBF\x7A\x30\x1B\x39\x60\xA3\x21\x53\xFB\xB0\xDC\x0F\x7C\x2C\xFB"
487 	"\xAA\x95\x7D\x51\x39\x28\x33\x1F\x25\x31\x53\xF5\xD2\x64\x2B\xF2"
488 	"\x1E\xB3\xC0\x6A\x0B\xC9\xA4\x42\x64\x5C\xFB\x15\xA3\xE8\x4C\x3A"
489 	"\x9C\x3C\xBE\xA3\x39\x83\x23\xE3\x6D\x18\xCC\xC2\xDC\x63\x8D\xBA"
490 	"\x98\xE0\xE0\x31\x4A\x2B\x37\x9C\x4D\x6B\xF3\x9F\x51\xE4\x43\x5C"
491 	"\x83\x5F\xBF\x5C\xFE\x92\x45\x01\xAF\xF5\xC2\xF4\xB7\x56\x93\xA5"
492 	"\xF4\xAA\x67\x3C\x48\x37\xBD\x9A\x3C\xFE\xA5\x9A\xB0\xD1\x6B\x85"
493 	"\xDD\x81\xD4\xFA\xAD\x31\x83\xA8\x22\x9B\xFD\xB4\x61\xDC\x7A\x51"
494 	"\x59\x62\x10\x1B\x7E\x44\xA3\xFE\x90\x51\x5A\x3E\x02\x87\xAD\xFA"
495 	"\xDD\x0B\x1F\x3D\x35\xAF\xEE\x13\x85\x51\xA7\x42\xC0\xEE\x9E\x20"
496 	"\xE9\xD0\x29\xB2\xE4\x21\xE4\x6D\x62\xB9\xF4\x48\x4A\xD8\x46\x8E"
497 	"\x61\xA6\x2C\x5D\xDF\x8F\x97\x2B\x3A\x75\x1D\x83\x17\x6F\xC6\xB0"
498 	"\xDE\xFC\x14\x25\x06\x5A\x60\xBB\xB8\x21\x89\xD1\xEF\x57\xF1\x71"
499 	"\x3D",
500 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
501 	.c =
502 	"\x5c\xce\x9c\xd7\x9a\x9e\xa1\xfe\x7a\x82\x3c\x68\x27\x98\xe3\x5d"
503 	"\xd5\xd7\x07\x29\xf5\xfb\xc3\x1a\x7f\x63\x1e\x62\x31\x3b\x19\x87"
504 	"\x79\x4f\xec\x7b\xf3\xcb\xea\x9b\x95\x52\x3a\x40\xe5\x87\x7b\x72"
505 	"\xd1\x72\xc9\xfb\x54\x63\xd8\xc9\xd7\x2c\xfc\x7b\xc3\x14\x1e\xbc"
506 	"\x18\xb4\x34\xa1\xbf\x14\xb1\x37\x31\x6e\xf0\x1b\x35\x19\x54\x07"
507 	"\xf7\x99\xec\x3e\x63\xe2\xcd\x61\x28\x65\xc3\xcd\xb1\x38\x36\xa5"
508 	"\xb2\xd7\xb0\xdc\x1f\xf5\xef\x19\xc7\x53\x32\x2d\x1c\x26\xda\xe4"
509 	"\x0d\xd6\x90\x7e\x28\xd8\xdc\xe4\x61\x05\xd2\x25\x90\x01\xd3\x96"
510 	"\x6d\xa6\xcf\x58\x20\xbb\x03\xf4\x01\xbc\x79\xb9\x18\xd8\xb8\xba"
511 	"\xbd\x93\xfc\xf2\x62\x5d\x8c\x66\x1e\x0e\x84\x59\x93\xdd\xe2\x93"
512 	"\xa2\x62\x7d\x08\x82\x7a\xdd\xfc\xb8\xbc\xc5\x4f\x9c\x4e\xbf\xb4"
513 	"\xfc\xf4\xc5\x01\xe8\x00\x70\x4d\x28\x26\xcc\x2e\xfe\x0e\x58\x41"
514 	"\x8b\xec\xaf\x7c\x4b\x54\xd0\xa0\x64\xf9\x32\xf4\x2e\x47\x65\x0a"
515 	"\x67\x88\x39\x3a\xdb\xb2\xdb\x7b\xb5\xf6\x17\xa8\xd9\xc6\x5e\x28"
516 	"\x13\x82\x8a\x99\xdb\x60\x08\xa5\x23\x37\xfa\x88\x90\x31\xc8\x9d"
517 	"\x8f\xec\xfb\x85\x9f\xb1\xce\xa6\x24\x50\x46\x44\x47\xcb\x65\xd1"
518 	"\xdf\xc0\xb1\x6c\x90\x1f\x99\x8e\x4d\xd5\x9e\x31\x07\x66\x87\xdf"
519 	"\x01\xaa\x56\x3c\x71\xe0\x2b\x6f\x67\x3b\x23\xed\xc2\xbd\x03\x30"
520 	"\x79\x76\x02\x10\x10\x98\x85\x8a\xff\xfd\x0b\xda\xa5\xd9\x32\x48"
521 	"\x02\xa0\x0b\xb9\x2a\x8a\x18\xca\xc6\x8f\x3f\xbb\x16\xb2\xaa\x98"
522 	"\x27\xe3\x60\x43\xed\x15\x70\xd4\x57\x15\xfe\x19\xd4\x9b\x13\x78"
523 	"\x8a\xf7\x21\xf1\xa2\xa2\x2d\xb3\x09\xcf\x44\x91\x6e\x08\x3a\x30"
524 	"\x81\x3e\x90\x93\x8a\x67\x33\x00\x59\x54\x9a\x25\xd3\x49\x8e\x9f"
525 	"\xc1\x4b\xe5\x86\xf3\x50\x4c\xbc\xc5\xd3\xf5\x3a\x54\xe1\x36\x3f"
526 	"\xe2\x5a\xb4\x37\xc0\xeb\x70\x35\xec\xf6\xb7\xe8\x44\x3b\x7b\xf3"
527 	"\xf1\xf2\x1e\xdb\x60\x7d\xd5\xbe\xf0\x71\x34\x90\x4c\xcb\xd4\x35"
528 	"\x51\xc7\xdd\xd8\xc9\x81\xf5\x5d\x57\x46\x2c\xb1\x7b\x9b\xaa\xcb"
529 	"\xd1\x22\x25\x49\x44\xa3\xd4\x6b\x29\x7b\xd8\xb2\x07\x93\xbf\x3d"
530 	"\x52\x49\x84\x79\xef\xb8\xe5\xc4\xad\xca\xa8\xc6\xf6\xa6\x76\x70"
531 	"\x5b\x0b\xe5\x83\xc6\x0e\xef\x55\xf2\xe7\xff\x04\xea\xe6\x13\xbe"
532 	"\x40\xe1\x40\x45\x48\x66\x75\x31\xae\x35\x64\x91\x11\x6f\xda\xee"
533 	"\x26\x86\x45\x6f\x0b\xd5\x9f\x03\xb1\x65\x5b\xdb\xa4\xe4\xf9\x45",
534 	.key_len = 2349,
535 	.m_size = 8,
536 	.c_size = 512,
537 #endif
538 	}
539 };
540 
541 static const struct kpp_testvec dh_tv_template[] = {
542 	{
543 	.secret =
544 #ifdef __LITTLE_ENDIAN
545 	"\x01\x00" /* type */
546 	"\x11\x02" /* len */
547 	"\x00\x01\x00\x00" /* key_size */
548 	"\x00\x01\x00\x00" /* p_size */
549 	"\x01\x00\x00\x00" /* g_size */
550 #else
551 	"\x00\x01" /* type */
552 	"\x02\x11" /* len */
553 	"\x00\x00\x01\x00" /* key_size */
554 	"\x00\x00\x01\x00" /* p_size */
555 	"\x00\x00\x00\x01" /* g_size */
556 #endif
557 	/* xa */
558 	"\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
559 	"\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
560 	"\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
561 	"\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
562 	"\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
563 	"\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
564 	"\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
565 	"\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
566 	"\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
567 	"\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
568 	"\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
569 	"\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
570 	"\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
571 	"\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
572 	"\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
573 	"\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
574 	/* p */
575 	"\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
576 	"\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
577 	"\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
578 	"\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
579 	"\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
580 	"\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
581 	"\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
582 	"\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
583 	"\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
584 	"\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
585 	"\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
586 	"\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
587 	"\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
588 	"\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
589 	"\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
590 	"\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
591 	/* g */
592 	"\x02",
593 	.b_public =
594 	"\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
595 	"\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
596 	"\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
597 	"\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
598 	"\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
599 	"\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
600 	"\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
601 	"\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
602 	"\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
603 	"\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
604 	"\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
605 	"\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
606 	"\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
607 	"\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
608 	"\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
609 	"\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
610 	.expected_a_public =
611 	"\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
612 	"\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
613 	"\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
614 	"\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
615 	"\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
616 	"\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
617 	"\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
618 	"\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
619 	"\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
620 	"\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
621 	"\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
622 	"\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
623 	"\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
624 	"\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
625 	"\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
626 	"\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
627 	.expected_ss =
628 	"\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
629 	"\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
630 	"\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
631 	"\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
632 	"\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
633 	"\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
634 	"\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
635 	"\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
636 	"\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
637 	"\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
638 	"\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
639 	"\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
640 	"\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
641 	"\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
642 	"\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
643 	"\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
644 	.secret_size = 529,
645 	.b_public_size = 256,
646 	.expected_a_public_size = 256,
647 	.expected_ss_size = 256,
648 	},
649 	{
650 	.secret =
651 #ifdef __LITTLE_ENDIAN
652 	"\x01\x00" /* type */
653 	"\x11\x02" /* len */
654 	"\x00\x01\x00\x00" /* key_size */
655 	"\x00\x01\x00\x00" /* p_size */
656 	"\x01\x00\x00\x00" /* g_size */
657 #else
658 	"\x00\x01" /* type */
659 	"\x02\x11" /* len */
660 	"\x00\x00\x01\x00" /* key_size */
661 	"\x00\x00\x01\x00" /* p_size */
662 	"\x00\x00\x00\x01" /* g_size */
663 #endif
664 	/* xa */
665 	"\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
666 	"\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
667 	"\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
668 	"\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
669 	"\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
670 	"\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
671 	"\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
672 	"\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
673 	"\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
674 	"\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
675 	"\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
676 	"\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
677 	"\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
678 	"\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
679 	"\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
680 	"\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
681 	/* p */
682 	"\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
683 	"\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
684 	"\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
685 	"\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
686 	"\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
687 	"\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
688 	"\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
689 	"\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
690 	"\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
691 	"\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
692 	"\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
693 	"\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
694 	"\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
695 	"\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
696 	"\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
697 	"\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
698 	/* g */
699 	"\x02",
700 	.b_public =
701 	"\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
702 	"\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
703 	"\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
704 	"\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
705 	"\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
706 	"\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
707 	"\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
708 	"\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
709 	"\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
710 	"\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
711 	"\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
712 	"\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
713 	"\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
714 	"\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
715 	"\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
716 	"\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
717 	.expected_a_public =
718 	"\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
719 	"\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
720 	"\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
721 	"\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
722 	"\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
723 	"\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
724 	"\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
725 	"\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
726 	"\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
727 	"\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
728 	"\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
729 	"\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
730 	"\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
731 	"\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
732 	"\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
733 	"\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
734 	.expected_ss =
735 	"\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
736 	"\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
737 	"\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
738 	"\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
739 	"\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
740 	"\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
741 	"\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
742 	"\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
743 	"\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
744 	"\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
745 	"\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
746 	"\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
747 	"\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
748 	"\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
749 	"\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
750 	"\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
751 	.secret_size = 529,
752 	.b_public_size = 256,
753 	.expected_a_public_size = 256,
754 	.expected_ss_size = 256,
755 	}
756 };
757 
758 static const struct kpp_testvec ecdh_tv_template[] = {
759 	{
760 #ifndef CONFIG_CRYPTO_FIPS
761 	.secret =
762 #ifdef __LITTLE_ENDIAN
763 	"\x02\x00" /* type */
764 	"\x20\x00" /* len */
765 	"\x01\x00" /* curve_id */
766 	"\x18\x00" /* key_size */
767 #else
768 	"\x00\x02" /* type */
769 	"\x00\x20" /* len */
770 	"\x00\x01" /* curve_id */
771 	"\x00\x18" /* key_size */
772 #endif
773 	"\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
774 	"\x4e\x19\x1e\x62\x1f\x23\x23\x31"
775 	"\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
776 	.b_public =
777 	"\xc3\xba\x67\x4b\x71\xec\xd0\x76"
778 	"\x7a\x99\x75\x64\x36\x13\x9a\x94"
779 	"\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
780 	"\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
781 	"\x83\x87\xdd\x67\x09\xf8\x8d\x96"
782 	"\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
783 	.expected_a_public =
784 	"\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
785 	"\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
786 	"\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
787 	"\x22\x90\x21\x02\xf9\x1b\x81\x5d"
788 	"\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
789 	"\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
790 	.expected_ss =
791 	"\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
792 	"\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
793 	"\x99\x80\x81\x28\xaf\xc5\x51\x74",
794 	.secret_size = 32,
795 	.b_public_size = 48,
796 	.expected_a_public_size = 48,
797 	.expected_ss_size = 24
798 	}, {
799 #endif
800 	.secret =
801 #ifdef __LITTLE_ENDIAN
802 	"\x02\x00" /* type */
803 	"\x28\x00" /* len */
804 	"\x02\x00" /* curve_id */
805 	"\x20\x00" /* key_size */
806 #else
807 	"\x00\x02" /* type */
808 	"\x00\x28" /* len */
809 	"\x00\x02" /* curve_id */
810 	"\x00\x20" /* key_size */
811 #endif
812 	"\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
813 	"\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
814 	"\x8b\xe0\x86\xc3\x20\x19\xda\x92"
815 	"\x50\x53\x03\xe1\xc0\xea\xb8\x82",
816 	.expected_a_public =
817 	"\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
818 	"\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
819 	"\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
820 	"\xb6\x63\x82\x77\x33\x24\xa1\x5f"
821 	"\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
822 	"\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
823 	"\x6a\x02\x6e\x41\x87\x68\x38\x77"
824 	"\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
825 	.expected_ss =
826 	"\xea\x17\x6f\x7e\x6e\x57\x26\x38"
827 	"\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
828 	"\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
829 	"\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
830 	.b_public =
831 	"\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
832 	"\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
833 	"\x29\xb2\x47\x03\x19\xab\xdd\x34"
834 	"\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
835 	"\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
836 	"\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
837 	"\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
838 	"\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
839 	.secret_size = 40,
840 	.b_public_size = 64,
841 	.expected_a_public_size = 64,
842 	.expected_ss_size = 32
843 	}
844 };
845 
846 /*
847  * MD4 test vectors from RFC1320
848  */
849 static const struct hash_testvec md4_tv_template[] = {
850 	{
851 		.plaintext = "",
852 		.digest	= "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
853 			  "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
854 	}, {
855 		.plaintext = "a",
856 		.psize	= 1,
857 		.digest	= "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
858 			  "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
859 	}, {
860 		.plaintext = "abc",
861 		.psize	= 3,
862 		.digest	= "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
863 			  "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
864 	}, {
865 		.plaintext = "message digest",
866 		.psize	= 14,
867 		.digest	= "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
868 			"\x18\x87\x48\x06\xe1\xc7\x01\x4b",
869 	}, {
870 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
871 		.psize	= 26,
872 		.digest	= "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
873 			  "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
874 		.np	= 2,
875 		.tap	= { 13, 13 },
876 	}, {
877 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
878 		.psize	= 62,
879 		.digest	= "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
880 			  "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
881 	}, {
882 		.plaintext = "123456789012345678901234567890123456789012345678901234567890123"
883 			   "45678901234567890",
884 		.psize	= 80,
885 		.digest	= "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
886 			  "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
887 	},
888 };
889 
890 static const struct hash_testvec sha3_224_tv_template[] = {
891 	{
892 		.plaintext = "",
893 		.digest	= "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
894 				"\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
895 				"\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
896 				"\x5b\x5a\x6b\xc7",
897 	}, {
898 		.plaintext = "a",
899 		.psize	= 1,
900 		.digest	= "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
901 				"\x40\x5f\x08\x12\x69\x68\x5b\x38"
902 				"\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
903 				"\x48\x2b\x6a\x8b",
904 	}, {
905 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
906 				"jklmklmnlmnomnopnopq",
907 		.psize	= 56,
908 		.digest	= "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
909 				"\xc9\xfd\x55\x74\x49\x44\x79\xba"
910 				"\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
911 				"\xd0\xfc\xce\x33",
912 	},
913 };
914 
915 static const struct hash_testvec sha3_256_tv_template[] = {
916 	{
917 		.plaintext = "",
918 		.digest	= "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
919 				"\x51\xc1\x47\x56\xa0\x61\xd6\x62"
920 				"\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
921 				"\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
922 	}, {
923 		.plaintext = "a",
924 		.psize	= 1,
925 		.digest	= "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
926 				"\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
927 				"\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
928 				"\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
929 	}, {
930 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
931 			     "jklmklmnlmnomnopnopq",
932 		.psize	= 56,
933 		.digest	= "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
934 				"\x49\x10\x03\x76\xa8\x23\x5e\x2c"
935 				"\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
936 				"\xdb\x32\xdd\x97\x49\x6d\x33\x76",
937 	},
938 };
939 
940 
941 static const struct hash_testvec sha3_384_tv_template[] = {
942 	{
943 		.plaintext = "",
944 		.digest	= "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
945 				"\x01\x10\x7d\x85\x2e\x4c\x24\x85"
946 				"\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
947 				"\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
948 				"\xc3\x71\x38\x31\x26\x4a\xdb\x47"
949 				"\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
950 	}, {
951 		.plaintext = "a",
952 		.psize	= 1,
953 		.digest	= "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
954 				"\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
955 				"\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
956 				"\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
957 				"\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
958 				"\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
959 	}, {
960 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
961 			     "jklmklmnlmnomnopnopq",
962 		.psize	= 56,
963 		.digest	= "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
964 				"\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
965 				"\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
966 				"\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
967 				"\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
968 				"\x9e\xef\x51\xac\xd0\x65\x7c\x22",
969 	},
970 };
971 
972 
973 static const struct hash_testvec sha3_512_tv_template[] = {
974 	{
975 		.plaintext = "",
976 		.digest	= "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
977 				"\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
978 				"\x97\xc9\x82\x16\x4f\xe2\x58\x59"
979 				"\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
980 				"\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
981 				"\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
982 				"\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
983 				"\x01\x75\x85\x86\x28\x1d\xcd\x26",
984 	}, {
985 		.plaintext = "a",
986 		.psize	= 1,
987 		.digest	= "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
988 				"\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
989 				"\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
990 				"\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
991 				"\x3f\x4f\x93\xff\x24\x39\x35\x86"
992 				"\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
993 				"\x69\x42\x0c\xe5\x33\x32\x71\x2f"
994 				"\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
995 	}, {
996 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
997 			     "jklmklmnlmnomnopnopq",
998 		.psize	= 56,
999 		.digest	= "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
1000 				"\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
1001 				"\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
1002 				"\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
1003 				"\xee\x69\x1f\xbe\x0c\x98\x53\x02"
1004 				"\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
1005 				"\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
1006 				"\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
1007 	},
1008 };
1009 
1010 
1011 /*
1012  * MD5 test vectors from RFC1321
1013  */
1014 static const struct hash_testvec md5_tv_template[] = {
1015 	{
1016 		.digest	= "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
1017 			  "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
1018 	}, {
1019 		.plaintext = "a",
1020 		.psize	= 1,
1021 		.digest	= "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
1022 			  "\x31\xc3\x99\xe2\x69\x77\x26\x61",
1023 	}, {
1024 		.plaintext = "abc",
1025 		.psize	= 3,
1026 		.digest	= "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
1027 			  "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
1028 	}, {
1029 		.plaintext = "message digest",
1030 		.psize	= 14,
1031 		.digest	= "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
1032 			  "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
1033 	}, {
1034 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1035 		.psize	= 26,
1036 		.digest	= "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
1037 			  "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
1038 		.np	= 2,
1039 		.tap	= {13, 13}
1040 	}, {
1041 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
1042 		.psize	= 62,
1043 		.digest	= "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
1044 			  "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
1045 	}, {
1046 		.plaintext = "12345678901234567890123456789012345678901234567890123456789012"
1047 			   "345678901234567890",
1048 		.psize	= 80,
1049 		.digest	= "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
1050 			  "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
1051 	}
1052 
1053 };
1054 
1055 /*
1056  * RIPEMD-128 test vectors from ISO/IEC 10118-3:2004(E)
1057  */
1058 static const struct hash_testvec rmd128_tv_template[] = {
1059 	{
1060 		.digest	= "\xcd\xf2\x62\x13\xa1\x50\xdc\x3e"
1061 			  "\xcb\x61\x0f\x18\xf6\xb3\x8b\x46",
1062 	}, {
1063 		.plaintext = "a",
1064 		.psize	= 1,
1065 		.digest	= "\x86\xbe\x7a\xfa\x33\x9d\x0f\xc7"
1066 			  "\xcf\xc7\x85\xe7\x2f\x57\x8d\x33",
1067 	}, {
1068 		.plaintext = "abc",
1069 		.psize	= 3,
1070 		.digest	= "\xc1\x4a\x12\x19\x9c\x66\xe4\xba"
1071 			  "\x84\x63\x6b\x0f\x69\x14\x4c\x77",
1072 	}, {
1073 		.plaintext = "message digest",
1074 		.psize	= 14,
1075 		.digest	= "\x9e\x32\x7b\x3d\x6e\x52\x30\x62"
1076 			  "\xaf\xc1\x13\x2d\x7d\xf9\xd1\xb8",
1077 	}, {
1078 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1079 		.psize	= 26,
1080 		.digest	= "\xfd\x2a\xa6\x07\xf7\x1d\xc8\xf5"
1081 			  "\x10\x71\x49\x22\xb3\x71\x83\x4e",
1082 	}, {
1083 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1084 			     "fghijklmnopqrstuvwxyz0123456789",
1085 		.psize	= 62,
1086 		.digest	= "\xd1\xe9\x59\xeb\x17\x9c\x91\x1f"
1087 			  "\xae\xa4\x62\x4c\x60\xc5\xc7\x02",
1088 	}, {
1089 		.plaintext = "1234567890123456789012345678901234567890"
1090 			     "1234567890123456789012345678901234567890",
1091 		.psize	= 80,
1092 		.digest	= "\x3f\x45\xef\x19\x47\x32\xc2\xdb"
1093 			  "\xb2\xc4\xa2\xc7\x69\x79\x5f\xa3",
1094 	}, {
1095 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1096 			     "hijkijkljklmklmnlmnomnopnopq",
1097 		.psize	= 56,
1098 		.digest	= "\xa1\xaa\x06\x89\xd0\xfa\xfa\x2d"
1099 			  "\xdc\x22\xe8\x8b\x49\x13\x3a\x06",
1100 		.np	= 2,
1101 		.tap	= { 28, 28 },
1102 	}, {
1103 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1104 			     "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1105 			     "lmnopqrsmnopqrstnopqrstu",
1106 		.psize	= 112,
1107 		.digest	= "\xd4\xec\xc9\x13\xe1\xdf\x77\x6b"
1108 			  "\xf4\x8d\xe9\xd5\x5b\x1f\x25\x46",
1109 	}, {
1110 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1111 		.psize	= 32,
1112 		.digest	= "\x13\xfc\x13\xe8\xef\xff\x34\x7d"
1113 			  "\xe1\x93\xff\x46\xdb\xac\xcf\xd4",
1114 	}
1115 };
1116 
1117 /*
1118  * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
1119  */
1120 static const struct hash_testvec rmd160_tv_template[] = {
1121 	{
1122 		.digest	= "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
1123 			  "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
1124 	}, {
1125 		.plaintext = "a",
1126 		.psize	= 1,
1127 		.digest	= "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
1128 			  "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
1129 	}, {
1130 		.plaintext = "abc",
1131 		.psize	= 3,
1132 		.digest	= "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
1133 			  "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
1134 	}, {
1135 		.plaintext = "message digest",
1136 		.psize	= 14,
1137 		.digest	= "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
1138 			  "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
1139 	}, {
1140 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1141 		.psize	= 26,
1142 		.digest	= "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
1143 			  "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
1144 	}, {
1145 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1146 			     "fghijklmnopqrstuvwxyz0123456789",
1147 		.psize	= 62,
1148 		.digest	= "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
1149 			  "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
1150 	}, {
1151 		.plaintext = "1234567890123456789012345678901234567890"
1152 			     "1234567890123456789012345678901234567890",
1153 		.psize	= 80,
1154 		.digest	= "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
1155 			  "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
1156 	}, {
1157 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1158 			     "hijkijkljklmklmnlmnomnopnopq",
1159 		.psize	= 56,
1160 		.digest	= "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
1161 			  "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
1162 		.np	= 2,
1163 		.tap	= { 28, 28 },
1164 	}, {
1165 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1166 			     "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1167 			     "lmnopqrsmnopqrstnopqrstu",
1168 		.psize	= 112,
1169 		.digest	= "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
1170 			  "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
1171 	}, {
1172 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1173 		.psize	= 32,
1174 		.digest	= "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
1175 			  "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
1176 	}
1177 };
1178 
1179 /*
1180  * RIPEMD-256 test vectors
1181  */
1182 static const struct hash_testvec rmd256_tv_template[] = {
1183 	{
1184 		.digest	= "\x02\xba\x4c\x4e\x5f\x8e\xcd\x18"
1185 			  "\x77\xfc\x52\xd6\x4d\x30\xe3\x7a"
1186 			  "\x2d\x97\x74\xfb\x1e\x5d\x02\x63"
1187 			  "\x80\xae\x01\x68\xe3\xc5\x52\x2d",
1188 	}, {
1189 		.plaintext = "a",
1190 		.psize	= 1,
1191 		.digest	= "\xf9\x33\x3e\x45\xd8\x57\xf5\xd9"
1192 			  "\x0a\x91\xba\xb7\x0a\x1e\xba\x0c"
1193 			  "\xfb\x1b\xe4\xb0\x78\x3c\x9a\xcf"
1194 			  "\xcd\x88\x3a\x91\x34\x69\x29\x25",
1195 	}, {
1196 		.plaintext = "abc",
1197 		.psize	= 3,
1198 		.digest	= "\xaf\xbd\x6e\x22\x8b\x9d\x8c\xbb"
1199 			  "\xce\xf5\xca\x2d\x03\xe6\xdb\xa1"
1200 			  "\x0a\xc0\xbc\x7d\xcb\xe4\x68\x0e"
1201 			  "\x1e\x42\xd2\xe9\x75\x45\x9b\x65",
1202 	}, {
1203 		.plaintext = "message digest",
1204 		.psize	= 14,
1205 		.digest	= "\x87\xe9\x71\x75\x9a\x1c\xe4\x7a"
1206 			  "\x51\x4d\x5c\x91\x4c\x39\x2c\x90"
1207 			  "\x18\xc7\xc4\x6b\xc1\x44\x65\x55"
1208 			  "\x4a\xfc\xdf\x54\xa5\x07\x0c\x0e",
1209 	}, {
1210 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1211 		.psize	= 26,
1212 		.digest	= "\x64\x9d\x30\x34\x75\x1e\xa2\x16"
1213 			  "\x77\x6b\xf9\xa1\x8a\xcc\x81\xbc"
1214 			  "\x78\x96\x11\x8a\x51\x97\x96\x87"
1215 			  "\x82\xdd\x1f\xd9\x7d\x8d\x51\x33",
1216 	}, {
1217 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1218 			     "fghijklmnopqrstuvwxyz0123456789",
1219 		.psize	= 62,
1220 		.digest	= "\x57\x40\xa4\x08\xac\x16\xb7\x20"
1221 			  "\xb8\x44\x24\xae\x93\x1c\xbb\x1f"
1222 			  "\xe3\x63\xd1\xd0\xbf\x40\x17\xf1"
1223 			  "\xa8\x9f\x7e\xa6\xde\x77\xa0\xb8",
1224 	}, {
1225 		.plaintext = "1234567890123456789012345678901234567890"
1226 			     "1234567890123456789012345678901234567890",
1227 		.psize	= 80,
1228 		.digest	= "\x06\xfd\xcc\x7a\x40\x95\x48\xaa"
1229 			  "\xf9\x13\x68\xc0\x6a\x62\x75\xb5"
1230 			  "\x53\xe3\xf0\x99\xbf\x0e\xa4\xed"
1231 			  "\xfd\x67\x78\xdf\x89\xa8\x90\xdd",
1232 	}, {
1233 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1234 			     "hijkijkljklmklmnlmnomnopnopq",
1235 		.psize	= 56,
1236 		.digest	= "\x38\x43\x04\x55\x83\xaa\xc6\xc8"
1237 			  "\xc8\xd9\x12\x85\x73\xe7\xa9\x80"
1238 			  "\x9a\xfb\x2a\x0f\x34\xcc\xc3\x6e"
1239 			  "\xa9\xe7\x2f\x16\xf6\x36\x8e\x3f",
1240 		.np	= 2,
1241 		.tap	= { 28, 28 },
1242 	}
1243 };
1244 
1245 /*
1246  * RIPEMD-320 test vectors
1247  */
1248 static const struct hash_testvec rmd320_tv_template[] = {
1249 	{
1250 		.digest	= "\x22\xd6\x5d\x56\x61\x53\x6c\xdc\x75\xc1"
1251 			  "\xfd\xf5\xc6\xde\x7b\x41\xb9\xf2\x73\x25"
1252 			  "\xeb\xc6\x1e\x85\x57\x17\x7d\x70\x5a\x0e"
1253 			  "\xc8\x80\x15\x1c\x3a\x32\xa0\x08\x99\xb8",
1254 	}, {
1255 		.plaintext = "a",
1256 		.psize	= 1,
1257 		.digest	= "\xce\x78\x85\x06\x38\xf9\x26\x58\xa5\xa5"
1258 			  "\x85\x09\x75\x79\x92\x6d\xda\x66\x7a\x57"
1259 			  "\x16\x56\x2c\xfc\xf6\xfb\xe7\x7f\x63\x54"
1260 			  "\x2f\x99\xb0\x47\x05\xd6\x97\x0d\xff\x5d",
1261 	}, {
1262 		.plaintext = "abc",
1263 		.psize	= 3,
1264 		.digest	= "\xde\x4c\x01\xb3\x05\x4f\x89\x30\xa7\x9d"
1265 			  "\x09\xae\x73\x8e\x92\x30\x1e\x5a\x17\x08"
1266 			  "\x5b\xef\xfd\xc1\xb8\xd1\x16\x71\x3e\x74"
1267 			  "\xf8\x2f\xa9\x42\xd6\x4c\xdb\xc4\x68\x2d",
1268 	}, {
1269 		.plaintext = "message digest",
1270 		.psize	= 14,
1271 		.digest	= "\x3a\x8e\x28\x50\x2e\xd4\x5d\x42\x2f\x68"
1272 			  "\x84\x4f\x9d\xd3\x16\xe7\xb9\x85\x33\xfa"
1273 			  "\x3f\x2a\x91\xd2\x9f\x84\xd4\x25\xc8\x8d"
1274 			  "\x6b\x4e\xff\x72\x7d\xf6\x6a\x7c\x01\x97",
1275 	}, {
1276 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1277 		.psize	= 26,
1278 		.digest	= "\xca\xbd\xb1\x81\x0b\x92\x47\x0a\x20\x93"
1279 			  "\xaa\x6b\xce\x05\x95\x2c\x28\x34\x8c\xf4"
1280 			  "\x3f\xf6\x08\x41\x97\x51\x66\xbb\x40\xed"
1281 			  "\x23\x40\x04\xb8\x82\x44\x63\xe6\xb0\x09",
1282 	}, {
1283 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1284 			     "fghijklmnopqrstuvwxyz0123456789",
1285 		.psize	= 62,
1286 		.digest	= "\xed\x54\x49\x40\xc8\x6d\x67\xf2\x50\xd2"
1287 			  "\x32\xc3\x0b\x7b\x3e\x57\x70\xe0\xc6\x0c"
1288 			  "\x8c\xb9\xa4\xca\xfe\x3b\x11\x38\x8a\xf9"
1289 			  "\x92\x0e\x1b\x99\x23\x0b\x84\x3c\x86\xa4",
1290 	}, {
1291 		.plaintext = "1234567890123456789012345678901234567890"
1292 			     "1234567890123456789012345678901234567890",
1293 		.psize	= 80,
1294 		.digest	= "\x55\x78\x88\xaf\x5f\x6d\x8e\xd6\x2a\xb6"
1295 			  "\x69\x45\xc6\xd2\xa0\xa4\x7e\xcd\x53\x41"
1296 			  "\xe9\x15\xeb\x8f\xea\x1d\x05\x24\x95\x5f"
1297 			  "\x82\x5d\xc7\x17\xe4\xa0\x08\xab\x2d\x42",
1298 	}, {
1299 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1300 			     "hijkijkljklmklmnlmnomnopnopq",
1301 		.psize	= 56,
1302 		.digest	= "\xd0\x34\xa7\x95\x0c\xf7\x22\x02\x1b\xa4"
1303 			  "\xb8\x4d\xf7\x69\xa5\xde\x20\x60\xe2\x59"
1304 			  "\xdf\x4c\x9b\xb4\xa4\x26\x8c\x0e\x93\x5b"
1305 			  "\xbc\x74\x70\xa9\x69\xc9\xd0\x72\xa1\xac",
1306 		.np	= 2,
1307 		.tap	= { 28, 28 },
1308 	}
1309 };
1310 
1311 static const struct hash_testvec crct10dif_tv_template[] = {
1312 	{
1313 		.plaintext	= "abc",
1314 		.psize		= 3,
1315 		.digest		= (u8 *)(u16 []){ 0x443b },
1316 	}, {
1317 		.plaintext 	= "1234567890123456789012345678901234567890"
1318 				  "123456789012345678901234567890123456789",
1319 		.psize		= 79,
1320 		.digest 	= (u8 *)(u16 []){ 0x4b70 },
1321 		.np		= 2,
1322 		.tap		= { 63, 16 },
1323 	}, {
1324 		.plaintext	= "abcdddddddddddddddddddddddddddddddddddddddd"
1325 				  "ddddddddddddd",
1326 		.psize		= 56,
1327 		.digest		= (u8 *)(u16 []){ 0x9ce3 },
1328 		.np		= 8,
1329 		.tap		= { 1, 2, 28, 7, 6, 5, 4, 3 },
1330 	}, {
1331 		.plaintext 	= "1234567890123456789012345678901234567890"
1332 				  "1234567890123456789012345678901234567890"
1333 				  "1234567890123456789012345678901234567890"
1334 				  "1234567890123456789012345678901234567890"
1335 				  "1234567890123456789012345678901234567890"
1336 				  "1234567890123456789012345678901234567890"
1337 				  "1234567890123456789012345678901234567890"
1338 				  "123456789012345678901234567890123456789",
1339 		.psize		= 319,
1340 		.digest		= (u8 *)(u16 []){ 0x44c6 },
1341 	}, {
1342 		.plaintext 	= "1234567890123456789012345678901234567890"
1343 				  "1234567890123456789012345678901234567890"
1344 				  "1234567890123456789012345678901234567890"
1345 				  "1234567890123456789012345678901234567890"
1346 				  "1234567890123456789012345678901234567890"
1347 				  "1234567890123456789012345678901234567890"
1348 				  "1234567890123456789012345678901234567890"
1349 				  "123456789012345678901234567890123456789",
1350 		.psize		= 319,
1351 		.digest		= (u8 *)(u16 []){ 0x44c6 },
1352 		.np		= 4,
1353 		.tap		= { 1, 255, 57, 6 },
1354 	}
1355 };
1356 
1357 /*
1358  * SHA1 test vectors  from from FIPS PUB 180-1
1359  * Long vector from CAVS 5.0
1360  */
1361 static const struct hash_testvec sha1_tv_template[] = {
1362 	{
1363 		.plaintext = "",
1364 		.psize	= 0,
1365 		.digest	= "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
1366 			  "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
1367 	}, {
1368 		.plaintext = "abc",
1369 		.psize	= 3,
1370 		.digest	= "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
1371 			  "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
1372 	}, {
1373 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1374 		.psize	= 56,
1375 		.digest	= "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
1376 			  "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
1377 		.np	= 2,
1378 		.tap	= { 28, 28 }
1379 	}, {
1380 		.plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
1381 			     "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
1382 			     "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
1383 			     "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
1384 			     "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
1385 			     "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
1386 			     "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
1387 			     "\x72\x28\x26\xc0\x66\x86\x9e\xda"
1388 			     "\xcd\x73\xb2\x54\x80\x35\x18\x58"
1389 			     "\x13\xe2\x26\x34\xa9\xda\x44\x00"
1390 			     "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
1391 			     "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
1392 			     "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
1393 			     "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
1394 			     "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
1395 			     "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
1396 			     "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
1397 			     "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
1398 			     "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
1399 			     "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
1400 			     "\x5a\x90\x11",
1401 		.psize	= 163,
1402 		.digest	= "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
1403 			  "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
1404 		.np	= 4,
1405 		.tap	= { 63, 64, 31, 5 }
1406 	}, {
1407 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1408 		.psize	= 64,
1409 		.digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
1410 			  "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
1411 	}, {
1412 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1413 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1414 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1415 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1416 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1417 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1418 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1419 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1420 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1421 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1422 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1423 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1424 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1425 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1426 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1427 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1428 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1429 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1430 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1431 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1432 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1433 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1434 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1435 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1436 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1437 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1438 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1439 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1440 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1441 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1442 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1443 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1444 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1445 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1446 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1447 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1448 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1449 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1450 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1451 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1452 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1453 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1454 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1455 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1456 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1457 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1458 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1459 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1460 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1461 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1462 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1463 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1464 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1465 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1466 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1467 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1468 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1469 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1470 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1471 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1472 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1473 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1474 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1475 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1476 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1477 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1478 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1479 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1480 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1481 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1482 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1483 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1484 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1485 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1486 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1487 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1488 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1489 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1490 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1491 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1492 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1493 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1494 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1495 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1496 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1497 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1498 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1499 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1500 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1501 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1502 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1503 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1504 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1505 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1506 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1507 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1508 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1509 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1510 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1511 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1512 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1513 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1514 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1515 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1516 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1517 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1518 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1519 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1520 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1521 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1522 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1523 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1524 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1525 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1526 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1527 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1528 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1529 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1530 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1531 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1532 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1533 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1534 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1535 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1536 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1537 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1538 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1539 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1540 		.psize     = 1023,
1541 		.digest    = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
1542 			     "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
1543 			     "\x30\xd6\xc9\x85",
1544 	}
1545 };
1546 
1547 
1548 /*
1549  * SHA224 test vectors from from FIPS PUB 180-2
1550  */
1551 static const struct hash_testvec sha224_tv_template[] = {
1552 	{
1553 		.plaintext = "",
1554 		.psize	= 0,
1555 		.digest	= "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
1556 			  "\x47\x61\x02\xbb\x28\x82\x34\xc4"
1557 			  "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
1558 			  "\xc5\xb3\xe4\x2f",
1559 	}, {
1560 		.plaintext = "abc",
1561 		.psize  = 3,
1562 		.digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
1563 			  "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
1564 			  "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
1565 			  "\xE3\x6C\x9D\xA7",
1566 	}, {
1567 		.plaintext =
1568 		"abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1569 		.psize  = 56,
1570 		.digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
1571 			  "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
1572 			  "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
1573 			  "\x52\x52\x25\x25",
1574 		.np     = 2,
1575 		.tap    = { 28, 28 }
1576 	}, {
1577 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1578 		.psize	= 64,
1579 		.digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
1580 			  "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
1581 			  "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
1582 			  "\xef\x3b\xcb\x0e",
1583 	}, {
1584 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1585 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1586 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1587 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1588 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1589 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1590 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1591 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1592 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1593 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1594 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1595 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1596 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1597 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1598 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1599 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1600 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1601 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1602 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1603 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1604 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1605 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1606 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1607 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1608 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1609 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1610 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1611 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1612 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1613 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1614 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1615 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1616 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1617 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1618 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1619 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1620 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1621 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1622 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1623 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1624 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1625 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1626 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1627 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1628 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1629 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1630 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1631 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1632 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1633 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1634 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1635 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1636 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1637 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1638 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1639 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1640 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1641 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1642 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1643 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1644 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1645 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1646 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1647 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1648 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1649 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1650 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1651 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1652 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1653 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1654 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1655 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1656 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1657 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1658 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1659 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1660 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1661 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1662 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1663 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1664 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1665 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1666 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1667 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1668 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1669 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1670 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1671 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1672 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1673 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1674 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1675 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1676 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1677 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1678 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1679 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1680 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1681 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1682 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1683 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1684 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1685 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1686 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1687 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1688 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1689 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1690 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1691 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1692 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1693 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1694 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1695 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1696 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1697 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1698 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1699 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1700 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1701 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1702 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1703 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1704 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1705 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1706 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1707 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1708 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1709 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1710 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1711 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1712 		.psize     = 1023,
1713 		.digest    = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
1714 			     "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
1715 			     "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
1716 			     "\xe6\xf9\x4f\xcc",
1717 	}
1718 };
1719 
1720 /*
1721  * SHA256 test vectors from from NIST
1722  */
1723 static const struct hash_testvec sha256_tv_template[] = {
1724 	{
1725 		.plaintext = "",
1726 		.psize	= 0,
1727 		.digest	= "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
1728 			  "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
1729 			  "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
1730 			  "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
1731 	}, {
1732 		.plaintext = "abc",
1733 		.psize	= 3,
1734 		.digest	= "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
1735 			  "\x41\x41\x40\xde\x5d\xae\x22\x23"
1736 			  "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
1737 			  "\xb4\x10\xff\x61\xf2\x00\x15\xad",
1738 	}, {
1739 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1740 		.psize	= 56,
1741 		.digest	= "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
1742 			  "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
1743 			  "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
1744 			  "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
1745 		.np	= 2,
1746 		.tap	= { 28, 28 }
1747 	}, {
1748 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1749 		.psize	= 64,
1750 		.digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
1751 			  "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
1752 			  "\xd6\xff\x94\xa3\x72\x91\x85\x66"
1753 			  "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
1754 	}, {
1755 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1756 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1757 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1758 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1759 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1760 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1761 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1762 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1763 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1764 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1765 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1766 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1767 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1768 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1769 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1770 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1771 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1772 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1773 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1774 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1775 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1776 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1777 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1778 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1779 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1780 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1781 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1782 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1783 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1784 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1785 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1786 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1787 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1788 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1789 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1790 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1791 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1792 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1793 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1794 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1795 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1796 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1797 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1798 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1799 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1800 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1801 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1802 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1803 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1804 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1805 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1806 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1807 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1808 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1809 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1810 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1811 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1812 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1813 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1814 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1815 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1816 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1817 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1818 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1819 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1820 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1821 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1822 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1823 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1824 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1825 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1826 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1827 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1828 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1829 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1830 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1831 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1832 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1833 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1834 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1835 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1836 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1837 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1838 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1839 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1840 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1841 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1842 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1843 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1844 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1845 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1846 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1847 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1848 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1849 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1850 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1851 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1852 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1853 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1854 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1855 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1856 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1857 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1858 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1859 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1860 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1861 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1862 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1863 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1864 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1865 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1866 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1867 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1868 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1869 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1870 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1871 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1872 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1873 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1874 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1875 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1876 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1877 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1878 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1879 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1880 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1881 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1882 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1883 		.psize     = 1023,
1884 		.digest    = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
1885 			     "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
1886 			     "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
1887 			     "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
1888 	}
1889 };
1890 
1891 /*
1892  * SHA384 test vectors from from NIST and kerneli
1893  */
1894 static const struct hash_testvec sha384_tv_template[] = {
1895 	{
1896 		.plaintext = "",
1897 		.psize	= 0,
1898 		.digest	= "\x38\xb0\x60\xa7\x51\xac\x96\x38"
1899 			  "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
1900 			  "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
1901 			  "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
1902 			  "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
1903 			  "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
1904 	}, {
1905 		.plaintext= "abc",
1906 		.psize	= 3,
1907 		.digest	= "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
1908 			  "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
1909 			  "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
1910 			  "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
1911 			  "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
1912 			  "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
1913 	}, {
1914 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1915 		.psize	= 56,
1916 		.digest	= "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
1917 			  "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
1918 			  "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
1919 			  "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
1920 			  "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
1921 			  "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
1922 	}, {
1923 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
1924 			   "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
1925 		.psize	= 112,
1926 		.digest	= "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
1927 			  "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
1928 			  "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
1929 			  "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
1930 			  "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
1931 			  "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
1932 	}, {
1933 		.plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
1934 			   "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
1935 		.psize	= 104,
1936 		.digest	= "\x3d\x20\x89\x73\xab\x35\x08\xdb"
1937 			  "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
1938 			  "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
1939 			  "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
1940 			  "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
1941 			  "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
1942 		.np	= 4,
1943 		.tap	= { 26, 26, 26, 26 }
1944 	}, {
1945 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1946 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1947 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1948 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1949 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1950 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1951 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1952 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1953 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1954 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1955 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1956 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1957 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1958 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1959 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1960 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1961 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1962 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1963 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1964 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1965 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1966 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1967 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1968 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1969 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1970 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1971 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1972 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1973 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1974 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1975 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1976 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1977 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1978 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1979 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1980 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1981 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1982 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1983 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1984 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1985 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1986 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1987 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1988 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1989 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1990 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1991 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1992 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1993 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1994 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1995 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1996 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1997 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1998 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1999 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2000 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2001 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2002 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2003 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2004 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2005 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2006 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2007 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2008 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2009 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2010 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2011 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2012 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2013 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2014 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2015 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2016 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2017 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2018 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2019 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2020 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2021 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2022 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2023 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2024 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2025 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2026 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2027 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2028 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2029 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2030 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2031 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2032 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2033 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2034 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2035 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2036 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2037 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2038 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2039 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2040 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2041 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2042 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2043 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2044 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2045 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2046 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2047 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2048 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2049 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2050 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2051 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2052 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2053 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2054 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2055 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2056 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2057 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2058 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2059 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2060 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2061 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2062 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2063 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2064 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2065 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2066 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2067 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2068 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2069 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2070 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2071 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2072 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2073 		.psize     = 1023,
2074 		.digest    = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
2075 			     "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
2076 			     "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
2077 			     "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
2078 			     "\x75\x29\x62\x83\xae\x3f\x17\xab"
2079 			     "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
2080 	}
2081 };
2082 
2083 /*
2084  * SHA512 test vectors from from NIST and kerneli
2085  */
2086 static const struct hash_testvec sha512_tv_template[] = {
2087 	{
2088 		.plaintext = "",
2089 		.psize	= 0,
2090 		.digest	= "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
2091 			  "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
2092 			  "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
2093 			  "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
2094 			  "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
2095 			  "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
2096 			  "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
2097 			  "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
2098 	}, {
2099 		.plaintext = "abc",
2100 		.psize	= 3,
2101 		.digest	= "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
2102 			  "\xcc\x41\x73\x49\xae\x20\x41\x31"
2103 			  "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
2104 			  "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
2105 			  "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
2106 			  "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
2107 			  "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
2108 			  "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
2109 	}, {
2110 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2111 		.psize	= 56,
2112 		.digest	= "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
2113 			  "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
2114 			  "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
2115 			  "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
2116 			  "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
2117 			  "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
2118 			  "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
2119 			  "\x54\xec\x63\x12\x38\xca\x34\x45",
2120 	}, {
2121 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
2122 			   "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
2123 		.psize	= 112,
2124 		.digest	= "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
2125 			  "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
2126 			  "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
2127 			  "\x72\x99\xae\xad\xb6\x88\x90\x18"
2128 			  "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
2129 			  "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
2130 			  "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
2131 			  "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
2132 	}, {
2133 		.plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
2134 			   "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
2135 		.psize	= 104,
2136 		.digest	= "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
2137 			  "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
2138 			  "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
2139 			  "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
2140 			  "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
2141 			  "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
2142 			  "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
2143 			  "\xed\xb4\x19\x87\x23\x28\x50\xc9",
2144 		.np	= 4,
2145 		.tap	= { 26, 26, 26, 26 }
2146 	}, {
2147 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2148 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2149 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2150 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2151 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2152 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2153 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2154 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2155 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2156 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2157 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2158 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2159 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2160 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2161 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2162 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2163 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2164 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2165 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2166 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2167 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2168 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2169 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2170 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2171 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2172 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2173 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2174 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2175 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2176 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2177 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2178 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2179 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2180 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2181 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2182 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2183 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2184 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2185 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2186 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2187 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2188 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2189 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2190 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2191 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2192 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2193 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2194 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2195 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2196 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2197 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2198 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2199 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2200 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2201 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2202 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2203 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2204 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2205 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2206 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2207 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2208 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2209 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2210 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2211 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2212 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2213 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2214 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2215 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2216 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2217 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2218 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2219 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2220 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2221 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2222 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2223 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2224 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2225 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2226 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2227 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2228 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2229 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2230 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2231 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2232 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2233 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2234 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2235 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2236 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2237 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2238 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2239 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2240 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2241 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2242 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2243 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2244 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2245 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2246 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2247 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2248 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2249 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2250 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2251 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2252 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2253 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2254 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2255 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2256 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2257 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2258 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2259 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2260 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2261 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2262 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2263 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2264 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2265 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2266 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2267 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2268 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2269 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2270 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2271 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2272 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2273 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2274 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2275 		.psize     = 1023,
2276 		.digest    = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
2277 			     "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
2278 			     "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
2279 			     "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
2280 			     "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
2281 			     "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
2282 			     "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
2283 			     "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
2284 	}
2285 };
2286 
2287 
2288 /*
2289  * WHIRLPOOL test vectors from Whirlpool package
2290  * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
2291  * submission
2292  */
2293 static const struct hash_testvec wp512_tv_template[] = {
2294 	{
2295 		.plaintext = "",
2296 		.psize	= 0,
2297 		.digest	= "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
2298 			  "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
2299 			  "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
2300 			  "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
2301 			  "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
2302 			  "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
2303 			  "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
2304 			  "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
2305 
2306 
2307 	}, {
2308 		.plaintext = "a",
2309 		.psize	= 1,
2310 		.digest	= "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
2311 			  "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
2312 			  "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
2313 			  "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
2314 			  "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
2315 			  "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
2316 			  "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
2317 			  "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
2318 	}, {
2319 		.plaintext = "abc",
2320 		.psize	= 3,
2321 		.digest	= "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
2322 			  "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
2323 			  "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
2324 			  "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
2325 			  "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
2326 			  "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
2327 			  "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
2328 			  "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
2329 	}, {
2330 		.plaintext = "message digest",
2331 		.psize	= 14,
2332 		.digest	= "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
2333 			  "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
2334 			  "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
2335 			  "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
2336 			  "\x84\x21\x55\x76\x59\xEF\x55\xC1"
2337 			  "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
2338 			  "\x92\xED\x92\x00\x52\x83\x8F\x33"
2339 			  "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
2340 	}, {
2341 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
2342 		.psize	= 26,
2343 		.digest	= "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
2344 			  "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
2345 			  "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
2346 			  "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
2347 			  "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
2348 			  "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
2349 			  "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
2350 			  "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
2351 	}, {
2352 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2353 			   "abcdefghijklmnopqrstuvwxyz0123456789",
2354 		.psize	= 62,
2355 		.digest	= "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
2356 			  "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
2357 			  "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
2358 			  "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
2359 			  "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
2360 			  "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
2361 			  "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
2362 			  "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
2363 	}, {
2364 		.plaintext = "1234567890123456789012345678901234567890"
2365 			   "1234567890123456789012345678901234567890",
2366 		.psize	= 80,
2367 		.digest	= "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
2368 			  "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
2369 			  "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
2370 			  "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
2371 			  "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
2372 			  "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
2373 			  "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
2374 			  "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
2375 	}, {
2376 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2377 		.psize	= 32,
2378 		.digest	= "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
2379 			  "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
2380 			  "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
2381 			  "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
2382 			  "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
2383 			  "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
2384 			  "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
2385 			  "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
2386 	},
2387 };
2388 
2389 static const struct hash_testvec wp384_tv_template[] = {
2390 	{
2391 		.plaintext = "",
2392 		.psize	= 0,
2393 		.digest	= "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
2394 			  "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
2395 			  "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
2396 			  "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
2397 			  "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
2398 			  "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
2399 
2400 
2401 	}, {
2402 		.plaintext = "a",
2403 		.psize	= 1,
2404 		.digest	= "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
2405 			  "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
2406 			  "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
2407 			  "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
2408 			  "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
2409 			  "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
2410 	}, {
2411 		.plaintext = "abc",
2412 		.psize	= 3,
2413 		.digest	= "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
2414 			  "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
2415 			  "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
2416 			  "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
2417 			  "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
2418 			  "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
2419 	}, {
2420 		.plaintext = "message digest",
2421 		.psize	= 14,
2422 		.digest	= "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
2423 			  "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
2424 			  "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
2425 			  "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
2426 			  "\x84\x21\x55\x76\x59\xEF\x55\xC1"
2427 			  "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
2428 	}, {
2429 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
2430 		.psize	= 26,
2431 		.digest	= "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
2432 			  "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
2433 			  "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
2434 			  "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
2435 			  "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
2436 			  "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
2437 	}, {
2438 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2439 			   "abcdefghijklmnopqrstuvwxyz0123456789",
2440 		.psize	= 62,
2441 		.digest	= "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
2442 			  "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
2443 			  "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
2444 			  "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
2445 			  "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
2446 			  "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
2447 	}, {
2448 		.plaintext = "1234567890123456789012345678901234567890"
2449 			   "1234567890123456789012345678901234567890",
2450 		.psize	= 80,
2451 		.digest	= "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
2452 			  "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
2453 			  "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
2454 			  "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
2455 			  "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
2456 			  "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
2457 	}, {
2458 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2459 		.psize	= 32,
2460 		.digest	= "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
2461 			  "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
2462 			  "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
2463 			  "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
2464 			  "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
2465 			  "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
2466 	},
2467 };
2468 
2469 static const struct hash_testvec wp256_tv_template[] = {
2470 	{
2471 		.plaintext = "",
2472 		.psize	= 0,
2473 		.digest	= "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
2474 			  "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
2475 			  "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
2476 			  "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
2477 
2478 
2479 	}, {
2480 		.plaintext = "a",
2481 		.psize	= 1,
2482 		.digest	= "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
2483 			  "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
2484 			  "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
2485 			  "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
2486 	}, {
2487 		.plaintext = "abc",
2488 		.psize	= 3,
2489 		.digest	= "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
2490 			  "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
2491 			  "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
2492 			  "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
2493 	}, {
2494 		.plaintext = "message digest",
2495 		.psize	= 14,
2496 		.digest	= "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
2497 			  "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
2498 			  "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
2499 			  "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
2500 	}, {
2501 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
2502 		.psize	= 26,
2503 		.digest	= "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
2504 			  "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
2505 			  "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
2506 			  "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
2507 	}, {
2508 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2509 			   "abcdefghijklmnopqrstuvwxyz0123456789",
2510 		.psize	= 62,
2511 		.digest	= "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
2512 			  "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
2513 			  "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
2514 			  "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
2515 	}, {
2516 		.plaintext = "1234567890123456789012345678901234567890"
2517 			   "1234567890123456789012345678901234567890",
2518 		.psize	= 80,
2519 		.digest	= "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
2520 			  "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
2521 			  "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
2522 			  "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
2523 	}, {
2524 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2525 		.psize	= 32,
2526 		.digest	= "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
2527 			  "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
2528 			  "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
2529 			  "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
2530 	},
2531 };
2532 
2533 /*
2534  * TIGER test vectors from Tiger website
2535  */
2536 static const struct hash_testvec tgr192_tv_template[] = {
2537 	{
2538 		.plaintext = "",
2539 		.psize	= 0,
2540 		.digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
2541 			  "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
2542 			  "\xf3\x73\xde\x2d\x49\x58\x4e\x7a",
2543 	}, {
2544 		.plaintext = "abc",
2545 		.psize	= 3,
2546 		.digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
2547 			  "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
2548 			  "\x93\x5f\x7b\x95\x1c\x13\x29\x51",
2549 	}, {
2550 		.plaintext = "Tiger",
2551 		.psize	= 5,
2552 		.digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
2553 			  "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
2554 			  "\x37\x79\x0c\x11\x6f\x9d\x2b\xdf",
2555 	}, {
2556 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2557 		.psize	= 64,
2558 		.digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
2559 			  "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
2560 			  "\xb5\x86\x44\x50\x34\xa5\xa3\x86",
2561 	}, {
2562 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
2563 		.psize	= 64,
2564 		.digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
2565 			  "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
2566 			  "\x57\x89\x65\x65\x97\x5f\x91\x97",
2567 	}, {
2568 		.plaintext = "Tiger - A Fast New Hash Function, "
2569 			   "by Ross Anderson and Eli Biham, "
2570 			   "proceedings of Fast Software Encryption 3, "
2571 			   "Cambridge, 1996.",
2572 		.psize  = 125,
2573 		.digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
2574 			  "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
2575 			  "\xdd\x68\x15\x1d\x50\x39\x74\xfc",
2576 	},
2577 };
2578 
2579 static const struct hash_testvec tgr160_tv_template[] = {
2580 	{
2581 		.plaintext = "",
2582 		.psize	= 0,
2583 		.digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
2584 			  "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
2585 			  "\xf3\x73\xde\x2d",
2586 	}, {
2587 		.plaintext = "abc",
2588 		.psize	= 3,
2589 		.digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
2590 			  "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
2591 			  "\x93\x5f\x7b\x95",
2592 	}, {
2593 		.plaintext = "Tiger",
2594 		.psize	= 5,
2595 		.digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
2596 			  "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
2597 			  "\x37\x79\x0c\x11",
2598 	}, {
2599 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2600 		.psize	= 64,
2601 		.digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
2602 			  "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
2603 			  "\xb5\x86\x44\x50",
2604 	}, {
2605 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
2606 		.psize	= 64,
2607 		.digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
2608 			  "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
2609 			  "\x57\x89\x65\x65",
2610 	}, {
2611 		.plaintext = "Tiger - A Fast New Hash Function, "
2612 			   "by Ross Anderson and Eli Biham, "
2613 			   "proceedings of Fast Software Encryption 3, "
2614 			   "Cambridge, 1996.",
2615 		.psize  = 125,
2616 		.digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
2617 			  "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
2618 			  "\xdd\x68\x15\x1d",
2619 	},
2620 };
2621 
2622 static const struct hash_testvec tgr128_tv_template[] = {
2623 	{
2624 		.plaintext = "",
2625 		.psize	= 0,
2626 		.digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
2627 			  "\x16\x16\x6e\x76\xb1\xbb\x92\x5f",
2628 	}, {
2629 		.plaintext = "abc",
2630 		.psize	= 3,
2631 		.digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
2632 			  "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf",
2633 	}, {
2634 		.plaintext = "Tiger",
2635 		.psize	= 5,
2636 		.digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
2637 			  "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec",
2638 	}, {
2639 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2640 		.psize	= 64,
2641 		.digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
2642 			  "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e",
2643 	}, {
2644 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
2645 		.psize	= 64,
2646 		.digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
2647 			  "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9",
2648 	}, {
2649 		.plaintext = "Tiger - A Fast New Hash Function, "
2650 			   "by Ross Anderson and Eli Biham, "
2651 			   "proceedings of Fast Software Encryption 3, "
2652 			   "Cambridge, 1996.",
2653 		.psize  = 125,
2654 		.digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
2655 			  "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24",
2656 	},
2657 };
2658 
2659 static const struct hash_testvec ghash_tv_template[] =
2660 {
2661 	{
2662 		.key	= "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
2663 			  "\xff\xca\xff\x95\xf8\x30\xf0\x61",
2664 		.ksize	= 16,
2665 		.plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
2666 			     "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
2667 		.psize	= 16,
2668 		.digest	= "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
2669 			  "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
2670 	}, {
2671 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
2672 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
2673 		.ksize	= 16,
2674 		.plaintext = "what do ya want for nothing?",
2675 		.psize	= 28,
2676 		.digest	= "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
2677 			  "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
2678 		.np	= 2,
2679 		.tap	= {14, 14}
2680 	}, {
2681 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2682 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
2683 		.ksize	= 16,
2684 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2685 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2686 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2687 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
2688 		.psize	= 50,
2689 		.digest	= "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
2690 			  "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
2691 	}, {
2692 		.key	= "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
2693 			  "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
2694 		.ksize	= 16,
2695 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2696 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2697 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2698 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
2699 		.psize	= 50,
2700 		.digest	= "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
2701 			  "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
2702 	}, {
2703 		.key	= "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
2704 			  "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
2705 		.ksize	= 16,
2706 		.plaintext = "Test With Truncation",
2707 		.psize	= 20,
2708 		.digest	= "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
2709 			  "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
2710 	}, {
2711 		.key	= "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
2712 			"\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
2713 		.ksize	= 16,
2714 		.plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
2715 			"\x65\x72\x20\x4c\x61\x75\x73\x63"
2716 			"\x68\x65\x6e\x20\x75\x6e\x64\x20"
2717 			"\x53\x74\x61\x75\x6e\x65\x6e\x20"
2718 			"\x73\x65\x69\x20\x73\x74\x69\x6c"
2719 			"\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
2720 			"\x69\x6e\x20\x74\x69\x65\x66\x74"
2721 			"\x69\x65\x66\x65\x73\x20\x4c\x65"
2722 			"\x62\x65\x6e\x3b\x0a\x64\x61\x73"
2723 			"\x73\x20\x64\x75\x20\x77\x65\x69"
2724 			"\xc3\x9f\x74\x20\x77\x61\x73\x20"
2725 			"\x64\x65\x72\x20\x57\x69\x6e\x64"
2726 			"\x20\x64\x69\x72\x20\x77\x69\x6c"
2727 			"\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
2728 			"\x63\x68\x20\x64\x69\x65\x20\x42"
2729 			"\x69\x72\x6b\x65\x6e\x20\x62\x65"
2730 			"\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
2731 			"\x64\x20\x77\x65\x6e\x6e\x20\x64"
2732 			"\x69\x72\x20\x65\x69\x6e\x6d\x61"
2733 			"\x6c\x20\x64\x61\x73\x20\x53\x63"
2734 			"\x68\x77\x65\x69\x67\x65\x6e\x20"
2735 			"\x73\x70\x72\x61\x63\x68\x2c\x0a"
2736 			"\x6c\x61\x73\x73\x20\x64\x65\x69"
2737 			"\x6e\x65\x20\x53\x69\x6e\x6e\x65"
2738 			"\x20\x62\x65\x73\x69\x65\x67\x65"
2739 			"\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
2740 			"\x20\x48\x61\x75\x63\x68\x65\x20"
2741 			"\x67\x69\x62\x74\x20\x64\x69\x63"
2742 			"\x68\x2c\x20\x67\x69\x62\x20\x6e"
2743 			"\x61\x63\x68\x2c\x0a\x65\x72\x20"
2744 			"\x77\x69\x72\x64\x20\x64\x69\x63"
2745 			"\x68\x20\x6c\x69\x65\x62\x65\x6e"
2746 			"\x20\x75\x6e\x64\x20\x77\x69\x65"
2747 			"\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
2748 			"\x64\x20\x64\x61\x6e\x6e\x20\x6d"
2749 			"\x65\x69\x6e\x65\x20\x53\x65\x65"
2750 			"\x6c\x65\x20\x73\x65\x69\x74\x20"
2751 			"\x77\x65\x69\x74\x2c\x20\x73\x65"
2752 			"\x69\x20\x77\x65\x69\x74\x2c\x0a"
2753 			"\x64\x61\x73\x73\x20\x64\x69\x72"
2754 			"\x20\x64\x61\x73\x20\x4c\x65\x62"
2755 			"\x65\x6e\x20\x67\x65\x6c\x69\x6e"
2756 			"\x67\x65\x2c\x0a\x62\x72\x65\x69"
2757 			"\x74\x65\x20\x64\x69\x63\x68\x20"
2758 			"\x77\x69\x65\x20\x65\x69\x6e\x20"
2759 			"\x46\x65\x69\x65\x72\x6b\x6c\x65"
2760 			"\x69\x64\x0a\xc3\xbc\x62\x65\x72"
2761 			"\x20\x64\x69\x65\x20\x73\x69\x6e"
2762 			"\x6e\x65\x6e\x64\x65\x6e\x20\x44"
2763 			"\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
2764 		.psize	= 400,
2765 		.digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
2766 			"\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
2767 	},
2768 };
2769 
2770 /*
2771  * HMAC-MD5 test vectors from RFC2202
2772  * (These need to be fixed to not use strlen).
2773  */
2774 static const struct hash_testvec hmac_md5_tv_template[] =
2775 {
2776 	{
2777 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
2778 		.ksize	= 16,
2779 		.plaintext = "Hi There",
2780 		.psize	= 8,
2781 		.digest	= "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
2782 			  "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
2783 	}, {
2784 		.key	= "Jefe",
2785 		.ksize	= 4,
2786 		.plaintext = "what do ya want for nothing?",
2787 		.psize	= 28,
2788 		.digest	= "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
2789 			  "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
2790 		.np	= 2,
2791 		.tap	= {14, 14}
2792 	}, {
2793 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
2794 		.ksize	= 16,
2795 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2796 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2797 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2798 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
2799 		.psize	= 50,
2800 		.digest	= "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
2801 			  "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
2802 	}, {
2803 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
2804 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
2805 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
2806 		.ksize	= 25,
2807 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2808 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2809 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2810 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
2811 		.psize	= 50,
2812 		.digest	= "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
2813 			  "\x3a\x75\x16\x47\x46\xff\xaa\x79",
2814 	}, {
2815 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
2816 		.ksize	= 16,
2817 		.plaintext = "Test With Truncation",
2818 		.psize	= 20,
2819 		.digest	= "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
2820 			  "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
2821 	}, {
2822 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2823 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2824 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2825 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2826 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2827 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2828 			"\xaa\xaa",
2829 		.ksize	= 80,
2830 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
2831 		.psize	= 54,
2832 		.digest	= "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
2833 			  "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
2834 	}, {
2835 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2836 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2837 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2838 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2839 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2840 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2841 			"\xaa\xaa",
2842 		.ksize	= 80,
2843 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
2844 			   "Block-Size Data",
2845 		.psize	= 73,
2846 		.digest	= "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
2847 			  "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
2848 	},
2849 };
2850 
2851 /*
2852  * HMAC-RIPEMD128 test vectors from RFC2286
2853  */
2854 static const struct hash_testvec hmac_rmd128_tv_template[] = {
2855 	{
2856 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
2857 		.ksize	= 16,
2858 		.plaintext = "Hi There",
2859 		.psize	= 8,
2860 		.digest	= "\xfb\xf6\x1f\x94\x92\xaa\x4b\xbf"
2861 			  "\x81\xc1\x72\xe8\x4e\x07\x34\xdb",
2862 	}, {
2863 		.key	= "Jefe",
2864 		.ksize	= 4,
2865 		.plaintext = "what do ya want for nothing?",
2866 		.psize	= 28,
2867 		.digest	= "\x87\x5f\x82\x88\x62\xb6\xb3\x34"
2868 			  "\xb4\x27\xc5\x5f\x9f\x7f\xf0\x9b",
2869 		.np	= 2,
2870 		.tap	= { 14, 14 },
2871 	}, {
2872 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
2873 		.ksize	= 16,
2874 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2875 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2876 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2877 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
2878 		.psize	= 50,
2879 		.digest	= "\x09\xf0\xb2\x84\x6d\x2f\x54\x3d"
2880 			  "\xa3\x63\xcb\xec\x8d\x62\xa3\x8d",
2881 	}, {
2882 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
2883 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
2884 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
2885 		.ksize	= 25,
2886 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2887 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2888 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2889 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
2890 		.psize	= 50,
2891 		.digest	= "\xbd\xbb\xd7\xcf\x03\xe4\x4b\x5a"
2892 			  "\xa6\x0a\xf8\x15\xbe\x4d\x22\x94",
2893 	}, {
2894 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
2895 		.ksize	= 16,
2896 		.plaintext = "Test With Truncation",
2897 		.psize	= 20,
2898 		.digest	= "\xe7\x98\x08\xf2\x4b\x25\xfd\x03"
2899 			  "\x1c\x15\x5f\x0d\x55\x1d\x9a\x3a",
2900 	}, {
2901 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2902 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2903 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2904 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2905 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2906 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2907 			"\xaa\xaa",
2908 		.ksize	= 80,
2909 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
2910 		.psize	= 54,
2911 		.digest	= "\xdc\x73\x29\x28\xde\x98\x10\x4a"
2912 			  "\x1f\x59\xd3\x73\xc1\x50\xac\xbb",
2913 	}, {
2914 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2915 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2916 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2917 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2918 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2919 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2920 			"\xaa\xaa",
2921 		.ksize	= 80,
2922 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
2923 			   "Block-Size Data",
2924 		.psize	= 73,
2925 		.digest	= "\x5c\x6b\xec\x96\x79\x3e\x16\xd4"
2926 			  "\x06\x90\xc2\x37\x63\x5f\x30\xc5",
2927 	},
2928 };
2929 
2930 /*
2931  * HMAC-RIPEMD160 test vectors from RFC2286
2932  */
2933 static const struct hash_testvec hmac_rmd160_tv_template[] = {
2934 	{
2935 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
2936 		.ksize	= 20,
2937 		.plaintext = "Hi There",
2938 		.psize	= 8,
2939 		.digest	= "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
2940 			  "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
2941 	}, {
2942 		.key	= "Jefe",
2943 		.ksize	= 4,
2944 		.plaintext = "what do ya want for nothing?",
2945 		.psize	= 28,
2946 		.digest	= "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
2947 			  "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
2948 		.np	= 2,
2949 		.tap	= { 14, 14 },
2950 	}, {
2951 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
2952 		.ksize	= 20,
2953 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2954 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2955 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2956 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
2957 		.psize	= 50,
2958 		.digest	= "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
2959 			  "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
2960 	}, {
2961 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
2962 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
2963 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
2964 		.ksize	= 25,
2965 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2966 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2967 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2968 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
2969 		.psize	= 50,
2970 		.digest	= "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
2971 			  "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
2972 	}, {
2973 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
2974 		.ksize	= 20,
2975 		.plaintext = "Test With Truncation",
2976 		.psize	= 20,
2977 		.digest	= "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
2978 			  "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
2979 	}, {
2980 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2981 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2982 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2983 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2984 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2985 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2986 			"\xaa\xaa",
2987 		.ksize	= 80,
2988 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
2989 		.psize	= 54,
2990 		.digest	= "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
2991 			  "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
2992 	}, {
2993 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2994 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2995 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2996 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2997 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2998 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2999 			"\xaa\xaa",
3000 		.ksize	= 80,
3001 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3002 			   "Block-Size Data",
3003 		.psize	= 73,
3004 		.digest	= "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
3005 			  "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
3006 	},
3007 };
3008 
3009 /*
3010  * HMAC-SHA1 test vectors from RFC2202
3011  */
3012 static const struct hash_testvec hmac_sha1_tv_template[] = {
3013 	{
3014 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3015 		.ksize	= 20,
3016 		.plaintext = "Hi There",
3017 		.psize	= 8,
3018 		.digest	= "\xb6\x17\x31\x86\x55\x05\x72\x64"
3019 			  "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
3020 			  "\x46\xbe",
3021 	}, {
3022 		.key	= "Jefe",
3023 		.ksize	= 4,
3024 		.plaintext = "what do ya want for nothing?",
3025 		.psize	= 28,
3026 		.digest	= "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
3027 			  "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
3028 		.np	= 2,
3029 		.tap	= { 14, 14 }
3030 	}, {
3031 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3032 		.ksize	= 20,
3033 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3034 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3035 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3036 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3037 		.psize	= 50,
3038 		.digest	= "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
3039 			  "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
3040 	}, {
3041 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3042 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3043 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3044 		.ksize	= 25,
3045 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3046 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3047 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3048 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3049 		.psize	= 50,
3050 		.digest	= "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
3051 			  "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
3052 	}, {
3053 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3054 		.ksize	= 20,
3055 		.plaintext = "Test With Truncation",
3056 		.psize	= 20,
3057 		.digest	= "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
3058 			  "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
3059 	}, {
3060 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3061 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3062 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3063 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3064 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3065 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3066 			"\xaa\xaa",
3067 		.ksize	= 80,
3068 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3069 		.psize	= 54,
3070 		.digest	= "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
3071 			  "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
3072 	}, {
3073 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3074 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3075 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3076 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3077 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3078 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3079 			"\xaa\xaa",
3080 		.ksize	= 80,
3081 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3082 			   "Block-Size Data",
3083 		.psize	= 73,
3084 		.digest	= "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
3085 			  "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
3086 	},
3087 };
3088 
3089 
3090 /*
3091  * SHA224 HMAC test vectors from RFC4231
3092  */
3093 static const struct hash_testvec hmac_sha224_tv_template[] = {
3094 	{
3095 		.key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3096 			"\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3097 			"\x0b\x0b\x0b\x0b",
3098 		.ksize  = 20,
3099 		/*  ("Hi There") */
3100 		.plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
3101 		.psize  = 8,
3102 		.digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
3103 			"\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
3104 			"\x47\xb4\xb1\x16\x99\x12\xba\x4f"
3105 			"\x53\x68\x4b\x22",
3106 	}, {
3107 		.key    = "Jefe",
3108 		.ksize  = 4,
3109 		/* ("what do ya want for nothing?") */
3110 		.plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
3111 			"\x79\x61\x20\x77\x61\x6e\x74\x20"
3112 			"\x66\x6f\x72\x20\x6e\x6f\x74\x68"
3113 			"\x69\x6e\x67\x3f",
3114 		.psize  = 28,
3115 		.digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
3116 			"\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
3117 			"\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
3118 			"\x8f\xd0\x5e\x44",
3119 		.np = 4,
3120 		.tap    = { 7, 7, 7, 7 }
3121 	}, {
3122 		.key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3123 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3124 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3125 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3126 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3127 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3128 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3129 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3130 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3131 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3132 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3133 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3134 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3135 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3136 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3137 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3138 			"\xaa\xaa\xaa",
3139 		.ksize  = 131,
3140 		/* ("Test Using Larger Than Block-Size Key - Hash Key First") */
3141 		.plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
3142 			"\x6e\x67\x20\x4c\x61\x72\x67\x65"
3143 			"\x72\x20\x54\x68\x61\x6e\x20\x42"
3144 			"\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
3145 			"\x65\x20\x4b\x65\x79\x20\x2d\x20"
3146 			"\x48\x61\x73\x68\x20\x4b\x65\x79"
3147 			"\x20\x46\x69\x72\x73\x74",
3148 		.psize  = 54,
3149 		.digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
3150 			"\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
3151 			"\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
3152 			"\x3f\xa6\x87\x0e",
3153 	}, {
3154 		.key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3155 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3156 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3157 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3158 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3159 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3160 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3161 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3162 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3163 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3164 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3165 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3166 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3167 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3168 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3169 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3170 			"\xaa\xaa\xaa",
3171 		.ksize  = 131,
3172 		/* ("This is a test using a larger than block-size key and a")
3173 		(" larger than block-size data. The key needs to be")
3174 			(" hashed before being used by the HMAC algorithm.") */
3175 		.plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
3176 			"\x61\x20\x74\x65\x73\x74\x20\x75"
3177 			"\x73\x69\x6e\x67\x20\x61\x20\x6c"
3178 			"\x61\x72\x67\x65\x72\x20\x74\x68"
3179 			"\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
3180 			"\x2d\x73\x69\x7a\x65\x20\x6b\x65"
3181 			"\x79\x20\x61\x6e\x64\x20\x61\x20"
3182 			"\x6c\x61\x72\x67\x65\x72\x20\x74"
3183 			"\x68\x61\x6e\x20\x62\x6c\x6f\x63"
3184 			"\x6b\x2d\x73\x69\x7a\x65\x20\x64"
3185 			"\x61\x74\x61\x2e\x20\x54\x68\x65"
3186 			"\x20\x6b\x65\x79\x20\x6e\x65\x65"
3187 			"\x64\x73\x20\x74\x6f\x20\x62\x65"
3188 			"\x20\x68\x61\x73\x68\x65\x64\x20"
3189 			"\x62\x65\x66\x6f\x72\x65\x20\x62"
3190 			"\x65\x69\x6e\x67\x20\x75\x73\x65"
3191 			"\x64\x20\x62\x79\x20\x74\x68\x65"
3192 			"\x20\x48\x4d\x41\x43\x20\x61\x6c"
3193 			"\x67\x6f\x72\x69\x74\x68\x6d\x2e",
3194 		.psize  = 152,
3195 		.digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
3196 			"\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
3197 			"\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
3198 			"\xf6\xf5\x65\xd1",
3199 	},
3200 };
3201 
3202 /*
3203  * HMAC-SHA256 test vectors from
3204  * draft-ietf-ipsec-ciph-sha-256-01.txt
3205  */
3206 static const struct hash_testvec hmac_sha256_tv_template[] = {
3207 	{
3208 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3209 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3210 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3211 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3212 		.ksize	= 32,
3213 		.plaintext = "abc",
3214 		.psize	= 3,
3215 		.digest	= "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
3216 			  "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
3217 			  "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
3218 			  "\x92\x75\x90\x21\xcf\xab\x81\x81",
3219 	}, {
3220 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3221 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3222 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3223 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3224 		.ksize	= 32,
3225 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3226 		.psize	= 56,
3227 		.digest	= "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
3228 			  "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
3229 			  "\xe6\x98\xe3\x61\x19\x42\x11\x49"
3230 			  "\xea\x8c\x71\x24\x56\x69\x7d\x30",
3231 	}, {
3232 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3233 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3234 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3235 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3236 		.ksize	= 32,
3237 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
3238 			   "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3239 		.psize	= 112,
3240 		.digest	= "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
3241 			  "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
3242 			  "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
3243 			  "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
3244 	}, {
3245 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3246 			"\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3247 			"\x0b\x0b\x0b\x0b\x0b\x0b",
3248 		.ksize	= 32,
3249 		.plaintext = "Hi There",
3250 		.psize	= 8,
3251 		.digest	= "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
3252 			  "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
3253 			  "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
3254 			  "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
3255 	}, {
3256 		.key	= "Jefe",
3257 		.ksize	= 4,
3258 		.plaintext = "what do ya want for nothing?",
3259 		.psize	= 28,
3260 		.digest	= "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
3261 			  "\x6a\x04\x24\x26\x08\x95\x75\xc7"
3262 			  "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
3263 			  "\x9d\xec\x58\xb9\x64\xec\x38\x43",
3264 		.np	= 2,
3265 		.tap	= { 14, 14 }
3266 	}, {
3267 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3268 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3269 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3270 		.ksize	= 32,
3271 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3272 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3273 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3274 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3275 		.psize	= 50,
3276 		.digest	= "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
3277 			  "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
3278 			  "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
3279 			  "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
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 			  "\x21\x22\x23\x24\x25",
3286 		.ksize	= 37,
3287 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3288 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3289 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3290 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3291 		.psize	= 50,
3292 		.digest	= "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
3293 			  "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
3294 			  "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
3295 			  "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
3296 	}, {
3297 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
3298 			"\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
3299 			"\x0c\x0c\x0c\x0c\x0c\x0c",
3300 		.ksize	= 32,
3301 		.plaintext = "Test With Truncation",
3302 		.psize	= 20,
3303 		.digest	= "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
3304 			  "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
3305 			  "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
3306 			  "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
3307 	}, {
3308 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3309 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3310 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3311 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3312 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3313 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3314 			"\xaa\xaa",
3315 		.ksize	= 80,
3316 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3317 		.psize	= 54,
3318 		.digest	= "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
3319 			  "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
3320 			  "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
3321 			  "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
3322 	}, {
3323 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3324 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3325 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3326 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3327 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3328 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3329 			"\xaa\xaa",
3330 		.ksize	= 80,
3331 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
3332 			   "One Block-Size Data",
3333 		.psize	= 73,
3334 		.digest	= "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
3335 			  "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
3336 			  "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
3337 			  "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
3338 	},
3339 };
3340 
3341 static const struct hash_testvec aes_cmac128_tv_template[] = {
3342 	{ /* From NIST Special Publication 800-38B, AES-128 */
3343 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3344 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3345 		.plaintext	= zeroed_string,
3346 		.digest		= "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
3347 				  "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
3348 		.psize		= 0,
3349 		.ksize		= 16,
3350 	}, {
3351 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3352 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3353 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3354 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
3355 		.digest		= "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
3356 				  "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
3357 		.psize		= 16,
3358 		.ksize		= 16,
3359 	}, {
3360 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3361 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3362 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3363 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3364 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3365 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3366 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
3367 		.digest		= "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
3368 				  "\x30\xca\x32\x61\x14\x97\xc8\x27",
3369 		.psize		= 40,
3370 		.ksize		= 16,
3371 	}, {
3372 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3373 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3374 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3375 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3376 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3377 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3378 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3379 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3380 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3381 				  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
3382 		.digest		= "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
3383 				  "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
3384 		.psize		= 64,
3385 		.ksize		= 16,
3386 	}, { /* From NIST Special Publication 800-38B, AES-256 */
3387 		.key		= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
3388 				  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
3389 				  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
3390 				  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
3391 		.plaintext	= zeroed_string,
3392 		.digest		= "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
3393 				  "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
3394 		.psize		= 0,
3395 		.ksize		= 32,
3396 	}, {
3397 		.key		= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
3398 				  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
3399 				  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
3400 				  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
3401 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3402 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3403 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3404 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3405 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3406 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3407 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3408 				  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
3409 		.digest		= "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
3410 				  "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
3411 		.psize		= 64,
3412 		.ksize		= 32,
3413 	}
3414 };
3415 
3416 static const struct hash_testvec aes_cbcmac_tv_template[] = {
3417 	{
3418 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3419 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3420 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3421 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
3422 		.digest		= "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
3423 				  "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
3424 		.psize		= 16,
3425 		.ksize		= 16,
3426 	}, {
3427 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3428 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3429 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3430 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3431 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3432 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3433 				  "\x30",
3434 		.digest		= "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
3435 				  "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
3436 		.psize		= 33,
3437 		.ksize		= 16,
3438 		.np		= 2,
3439 		.tap		= { 7, 26 },
3440 	}, {
3441 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3442 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3443 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3444 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3445 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3446 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3447 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3448 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3449 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3450 				  "\xad\x2b\x41\x7b\xe6\x6c\x37",
3451 		.digest		= "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
3452 				  "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
3453 		.psize		= 63,
3454 		.ksize		= 16,
3455 	}, {
3456 		.key		= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
3457 				  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
3458 				  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
3459 				  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
3460 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3461 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3462 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3463 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3464 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3465 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3466 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3467 				  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
3468 				  "\x1c",
3469 		.digest		= "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
3470 				  "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
3471 		.psize		= 65,
3472 		.ksize		= 32,
3473 	}
3474 };
3475 
3476 static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
3477 /*
3478  * From NIST Special Publication 800-38B, Three Key TDEA
3479  * Corrected test vectors from:
3480  *  http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
3481  */
3482 	{
3483 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3484 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3485 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3486 		.plaintext	= zeroed_string,
3487 		.digest		= "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
3488 		.psize		= 0,
3489 		.ksize		= 24,
3490 	}, {
3491 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3492 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3493 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3494 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
3495 		.digest		= "\x8e\x8f\x29\x31\x36\x28\x37\x97",
3496 		.psize		= 8,
3497 		.ksize		= 24,
3498 	}, {
3499 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3500 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3501 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3502 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3503 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3504 				  "\xae\x2d\x8a\x57",
3505 		.digest		= "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
3506 		.psize		= 20,
3507 		.ksize		= 24,
3508 	}, {
3509 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3510 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3511 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3512 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3513 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3514 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3515 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
3516 		.digest		= "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
3517 		.psize		= 32,
3518 		.ksize		= 24,
3519 	}
3520 };
3521 
3522 static const struct hash_testvec aes_xcbc128_tv_template[] = {
3523 	{
3524 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3525 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3526 		.plaintext = zeroed_string,
3527 		.digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
3528 			  "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
3529 		.psize	= 0,
3530 		.ksize	= 16,
3531 	}, {
3532 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3533 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3534 		.plaintext = "\x00\x01\x02",
3535 		.digest	= "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
3536 			  "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
3537 		.psize	= 3,
3538 		.ksize	= 16,
3539 	} , {
3540 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3541 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3542 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3543 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3544 		.digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
3545 			  "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
3546 		.psize	= 16,
3547 		.ksize	= 16,
3548 	}, {
3549 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3550 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3551 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3552 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3553 			     "\x10\x11\x12\x13",
3554 		.digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
3555 			  "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
3556 		.tap	= { 10, 10 },
3557 		.psize	= 20,
3558 		.np	= 2,
3559 		.ksize	= 16,
3560 	}, {
3561 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3562 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3563 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3564 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3565 			     "\x10\x11\x12\x13\x14\x15\x16\x17"
3566 			     "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
3567 		.digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
3568 			  "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
3569 		.psize	= 32,
3570 		.ksize	= 16,
3571 	}, {
3572 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3573 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3574 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3575 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3576 			     "\x10\x11\x12\x13\x14\x15\x16\x17"
3577 			     "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
3578 			     "\x20\x21",
3579 		.digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
3580 			  "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
3581 		.tap	= { 17, 17 },
3582 		.psize	= 34,
3583 		.np	= 2,
3584 		.ksize	= 16,
3585 	}
3586 };
3587 
3588 static const char vmac_string1[128] = {'\x01', '\x01', '\x01', '\x01',
3589 				       '\x02', '\x03', '\x02', '\x02',
3590 				       '\x02', '\x04', '\x01', '\x07',
3591 				       '\x04', '\x01', '\x04', '\x03',};
3592 static const char vmac_string2[128] = {'a', 'b', 'c',};
3593 static const char vmac_string3[128] = {'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 				       'a', 'b', 'c', 'a', 'b', 'c',
3598 				       'a', 'b', 'c', 'a', 'b', 'c',
3599 				       'a', 'b', 'c', 'a', 'b', 'c',
3600 				       'a', 'b', 'c', 'a', 'b', 'c',
3601 				      };
3602 
3603 static const char vmac_string4[17] = {'b', 'c', 'e', 'f',
3604 				      'i', 'j', 'l', 'm',
3605 				      'o', 'p', 'r', 's',
3606 				      't', 'u', 'w', 'x', 'z'};
3607 
3608 static const char vmac_string5[127] = {'r', 'm', 'b', 't', 'c',
3609 				       'o', 'l', 'k', ']', '%',
3610 				       '9', '2', '7', '!', 'A'};
3611 
3612 static const char vmac_string6[129] = {'p', 't', '*', '7', 'l',
3613 				       'i', '!', '#', 'w', '0',
3614 				       'z', '/', '4', 'A', 'n'};
3615 
3616 static const struct hash_testvec aes_vmac128_tv_template[] = {
3617 	{
3618 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3619 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3620 		.plaintext = NULL,
3621 		.digest	= "\x07\x58\x80\x35\x77\xa4\x7b\x54",
3622 		.psize	= 0,
3623 		.ksize	= 16,
3624 	}, {
3625 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
3626 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3627 		.plaintext = vmac_string1,
3628 		.digest = "\xce\xf5\x3c\xd3\xae\x68\x8c\xa1",
3629 		.psize  = 128,
3630 		.ksize  = 16,
3631 	}, {
3632 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
3633 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3634 		.plaintext = vmac_string2,
3635 		.digest = "\xc9\x27\xb0\x73\x81\xbd\x14\x2d",
3636 		.psize  = 128,
3637 		.ksize  = 16,
3638 	}, {
3639 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
3640 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3641 		.plaintext = vmac_string3,
3642 		.digest = "\x8d\x1a\x95\x8c\x98\x47\x0b\x19",
3643 		.psize  = 128,
3644 		.ksize  = 16,
3645 	}, {
3646 		.key	= "abcdefghijklmnop",
3647 		.plaintext = NULL,
3648 		.digest	= "\x3b\x89\xa1\x26\x9e\x55\x8f\x84",
3649 		.psize	= 0,
3650 		.ksize	= 16,
3651 	}, {
3652 		.key    = "abcdefghijklmnop",
3653 		.plaintext = vmac_string1,
3654 		.digest = "\xab\x5e\xab\xb0\xf6\x8d\x74\xc2",
3655 		.psize  = 128,
3656 		.ksize  = 16,
3657 	}, {
3658 		.key    = "abcdefghijklmnop",
3659 		.plaintext = vmac_string2,
3660 		.digest = "\x11\x15\x68\x42\x3d\x7b\x09\xdf",
3661 		.psize  = 128,
3662 		.ksize  = 16,
3663 	}, {
3664 		.key    = "abcdefghijklmnop",
3665 		.plaintext = vmac_string3,
3666 		.digest = "\x8b\x32\x8f\xe1\xed\x8f\xfa\xd4",
3667 		.psize  = 128,
3668 		.ksize  = 16,
3669 	}, {
3670 		.key = "a09b5cd!f#07K\x00\x00\x00",
3671 		.plaintext = vmac_string4,
3672 		.digest = "\xab\xa5\x0f\xea\x42\x4e\xa1\x5f",
3673 		.psize = sizeof(vmac_string4),
3674 		.ksize = 16,
3675 	}, {
3676 		.key = "a09b5cd!f#07K\x00\x00\x00",
3677 		.plaintext = vmac_string5,
3678 		.digest = "\x25\x31\x98\xbc\x1d\xe8\x67\x60",
3679 		.psize = sizeof(vmac_string5),
3680 		.ksize = 16,
3681 	}, {
3682 		.key = "a09b5cd!f#07K\x00\x00\x00",
3683 		.plaintext = vmac_string6,
3684 		.digest = "\xc4\xae\x9b\x47\x95\x65\xeb\x41",
3685 		.psize = sizeof(vmac_string6),
3686 		.ksize = 16,
3687 	},
3688 };
3689 
3690 /*
3691  * SHA384 HMAC test vectors from RFC4231
3692  */
3693 
3694 static const struct hash_testvec hmac_sha384_tv_template[] = {
3695 	{
3696 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3697 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3698 			  "\x0b\x0b\x0b\x0b",
3699 		.ksize	= 20,
3700 		.plaintext = "Hi There",
3701 		.psize	= 8,
3702 		.digest	= "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
3703 			  "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
3704 			  "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
3705 			  "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
3706 			  "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
3707 			  "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
3708 	}, {
3709 		.key	= "Jefe",
3710 		.ksize	= 4,
3711 		.plaintext = "what do ya want for nothing?",
3712 		.psize	= 28,
3713 		.digest	= "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
3714 			  "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
3715 			  "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
3716 			  "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
3717 			  "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
3718 			  "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
3719 		.np	= 4,
3720 		.tap	= { 7, 7, 7, 7 }
3721 	}, {
3722 		.key	= "\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\xaa\xaa\xaa\xaa\xaa"
3737 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3738 			  "\xaa\xaa\xaa",
3739 		.ksize	= 131,
3740 		.plaintext = "Test Using Larger Than Block-Siz"
3741 			   "e Key - Hash Key First",
3742 		.psize	= 54,
3743 		.digest	= "\x4e\xce\x08\x44\x85\x81\x3e\x90"
3744 			  "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
3745 			  "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
3746 			  "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
3747 			  "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
3748 			  "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
3749 	}, {
3750 		.key	= "\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\xaa\xaa\xaa\xaa\xaa"
3765 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3766 			  "\xaa\xaa\xaa",
3767 		.ksize	= 131,
3768 		.plaintext = "This is a test u"
3769 			   "sing a larger th"
3770 			   "an block-size ke"
3771 			   "y and a larger t"
3772 			   "han block-size d"
3773 			   "ata. The key nee"
3774 			   "ds to be hashed "
3775 			   "before being use"
3776 			   "d by the HMAC al"
3777 			   "gorithm.",
3778 		.psize	= 152,
3779 		.digest	= "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
3780 			  "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
3781 			  "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
3782 			  "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
3783 			  "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
3784 			  "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
3785 	},
3786 };
3787 
3788 /*
3789  * SHA512 HMAC test vectors from RFC4231
3790  */
3791 
3792 static const 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 static const struct hash_testvec hmac_sha3_224_tv_template[] = {
3898 	{
3899 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3900 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3901 			  "\x0b\x0b\x0b\x0b",
3902 		.ksize	= 20,
3903 		.plaintext = "Hi There",
3904 		.psize	= 8,
3905 		.digest	= "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
3906 			  "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
3907 			  "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
3908 			  "\xf3\xc8\x60\xf7",
3909 	}, {
3910 		.key	= "Jefe",
3911 		.ksize	= 4,
3912 		.plaintext = "what do ya want for nothing?",
3913 		.psize	= 28,
3914 		.digest	= "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
3915 			  "\x1b\x79\x86\x34\xad\x38\x68\x11"
3916 			  "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
3917 			  "\xba\xce\x5e\x66",
3918 		.np	= 4,
3919 		.tap	= { 7, 7, 7, 7 }
3920 	}, {
3921 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3922 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3923 			  "\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",
3938 		.ksize	= 131,
3939 		.plaintext = "Test Using Large"
3940 			   "r Than Block-Siz"
3941 			   "e Key - Hash Key"
3942 			   " First",
3943 		.psize	= 54,
3944 		.digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
3945 			  "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
3946 			  "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
3947 			  "\x5f\xb9\x99\x5f",
3948 	}, {
3949 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3950 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3951 			  "\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",
3966 		.ksize	= 131,
3967 		.plaintext =
3968 			  "This is a test u"
3969 			  "sing a larger th"
3970 			  "an block-size ke"
3971 			  "y and a larger t"
3972 			  "han block-size d"
3973 			  "ata. The key nee"
3974 			  "ds to be hashed "
3975 			  "before being use"
3976 			  "d by the HMAC al"
3977 			  "gorithm.",
3978 		.psize	= 152,
3979 		.digest	= "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
3980 			  "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
3981 			  "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
3982 			  "\x29\xcd\x62\xa0",
3983 	},
3984 };
3985 
3986 static const struct hash_testvec hmac_sha3_256_tv_template[] = {
3987 	{
3988 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3989 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3990 			  "\x0b\x0b\x0b\x0b",
3991 		.ksize	= 20,
3992 		.plaintext = "Hi There",
3993 		.psize	= 8,
3994 		.digest	= "\xba\x85\x19\x23\x10\xdf\xfa\x96"
3995 			  "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
3996 			  "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
3997 			  "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
3998 	}, {
3999 		.key	= "Jefe",
4000 		.ksize	= 4,
4001 		.plaintext = "what do ya want for nothing?",
4002 		.psize	= 28,
4003 		.digest	= "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
4004 			  "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
4005 			  "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
4006 			  "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
4007 		.np	= 4,
4008 		.tap	= { 7, 7, 7, 7 }
4009 	}, {
4010 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4011 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4012 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4013 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4014 			  "\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",
4027 		.ksize	= 131,
4028 		.plaintext = "Test Using Large"
4029 			   "r Than Block-Siz"
4030 			   "e Key - Hash Key"
4031 			   " First",
4032 		.psize	= 54,
4033 		.digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
4034 			  "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
4035 			  "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
4036 			  "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
4037 	}, {
4038 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4039 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4040 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4041 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4042 			  "\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",
4055 		.ksize	= 131,
4056 		.plaintext =
4057 			  "This is a test u"
4058 			  "sing a larger th"
4059 			  "an block-size ke"
4060 			  "y and a larger t"
4061 			  "han block-size d"
4062 			  "ata. The key nee"
4063 			  "ds to be hashed "
4064 			  "before being use"
4065 			  "d by the HMAC al"
4066 			  "gorithm.",
4067 		.psize	= 152,
4068 		.digest	= "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
4069 			  "\x7a\xef\x87\x63\x26\x1e\x49\xad"
4070 			  "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
4071 			  "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
4072 	},
4073 };
4074 
4075 static const struct hash_testvec hmac_sha3_384_tv_template[] = {
4076 	{
4077 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4078 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4079 			  "\x0b\x0b\x0b\x0b",
4080 		.ksize	= 20,
4081 		.plaintext = "Hi There",
4082 		.psize	= 8,
4083 		.digest	= "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
4084 			  "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
4085 			  "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
4086 			  "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
4087 			  "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
4088 			  "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
4089 	}, {
4090 		.key	= "Jefe",
4091 		.ksize	= 4,
4092 		.plaintext = "what do ya want for nothing?",
4093 		.psize	= 28,
4094 		.digest	= "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
4095 			  "\x67\x64\xd2\xed\x61\x90\x3f\x21"
4096 			  "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
4097 			  "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
4098 			  "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
4099 			  "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
4100 		.np	= 4,
4101 		.tap	= { 7, 7, 7, 7 }
4102 	}, {
4103 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4104 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4105 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4106 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4107 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4108 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4109 			  "\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",
4120 		.ksize	= 131,
4121 		.plaintext = "Test Using Large"
4122 			   "r Than Block-Siz"
4123 			   "e Key - Hash Key"
4124 			   " First",
4125 		.psize	= 54,
4126 		.digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
4127 			  "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
4128 			  "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
4129 			  "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
4130 			  "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
4131 			  "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
4132 	}, {
4133 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4134 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4135 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4136 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4137 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4138 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4139 			  "\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",
4150 		.ksize	= 131,
4151 		.plaintext =
4152 			  "This is a test u"
4153 			  "sing a larger th"
4154 			  "an block-size ke"
4155 			  "y and a larger t"
4156 			  "han block-size d"
4157 			  "ata. The key nee"
4158 			  "ds to be hashed "
4159 			  "before being use"
4160 			  "d by the HMAC al"
4161 			  "gorithm.",
4162 		.psize	= 152,
4163 		.digest	= "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
4164 			  "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
4165 			  "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
4166 			  "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
4167 			  "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
4168 			  "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
4169 	},
4170 };
4171 
4172 static const struct hash_testvec hmac_sha3_512_tv_template[] = {
4173 	{
4174 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4175 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4176 			  "\x0b\x0b\x0b\x0b",
4177 		.ksize	= 20,
4178 		.plaintext = "Hi There",
4179 		.psize	= 8,
4180 		.digest	= "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
4181 			  "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
4182 			  "\xec\x15\x77\x0a\x7c\xab\xac\x53"
4183 			  "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
4184 			  "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
4185 			  "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
4186 			  "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
4187 			  "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
4188 	}, {
4189 		.key	= "Jefe",
4190 		.ksize	= 4,
4191 		.plaintext = "what do ya want for nothing?",
4192 		.psize	= 28,
4193 		.digest	= "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
4194 			  "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
4195 			  "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
4196 			  "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
4197 			  "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
4198 			  "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
4199 			  "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
4200 			  "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
4201 		.np	= 4,
4202 		.tap	= { 7, 7, 7, 7 }
4203 	}, {
4204 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4205 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4206 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4207 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4208 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4209 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4210 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4211 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4212 			  "\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",
4221 		.ksize	= 131,
4222 		.plaintext = "Test Using Large"
4223 			   "r Than Block-Siz"
4224 			   "e Key - Hash Key"
4225 			   " First",
4226 		.psize	= 54,
4227 		.digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
4228 			  "\x90\xed\x69\x11\xa4\xb6\x55\x24"
4229 			  "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
4230 			  "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
4231 			  "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
4232 			  "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
4233 			  "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
4234 			  "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
4235 	}, {
4236 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4237 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4238 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4239 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4240 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4241 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4242 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4243 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4244 			  "\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",
4253 		.ksize	= 131,
4254 		.plaintext =
4255 			  "This is a test u"
4256 			  "sing a larger th"
4257 			  "an block-size ke"
4258 			  "y and a larger t"
4259 			  "han block-size d"
4260 			  "ata. The key nee"
4261 			  "ds to be hashed "
4262 			  "before being use"
4263 			  "d by the HMAC al"
4264 			  "gorithm.",
4265 		.psize	= 152,
4266 		.digest	= "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
4267 			  "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
4268 			  "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
4269 			  "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
4270 			  "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
4271 			  "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
4272 			  "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
4273 			  "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
4274 	},
4275 };
4276 
4277 /*
4278  * Poly1305 test vectors from RFC7539 A.3.
4279  */
4280 
4281 static const struct hash_testvec poly1305_tv_template[] = {
4282 	{ /* Test Vector #1 */
4283 		.plaintext	= "\x00\x00\x00\x00\x00\x00\x00\x00"
4284 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4285 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4286 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4287 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4288 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4289 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4290 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4291 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4292 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4293 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4294 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4295 		.psize		= 96,
4296 		.digest		= "\x00\x00\x00\x00\x00\x00\x00\x00"
4297 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4298 	}, { /* Test Vector #2 */
4299 		.plaintext	= "\x00\x00\x00\x00\x00\x00\x00\x00"
4300 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4301 				  "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
4302 				  "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
4303 				  "\x41\x6e\x79\x20\x73\x75\x62\x6d"
4304 				  "\x69\x73\x73\x69\x6f\x6e\x20\x74"
4305 				  "\x6f\x20\x74\x68\x65\x20\x49\x45"
4306 				  "\x54\x46\x20\x69\x6e\x74\x65\x6e"
4307 				  "\x64\x65\x64\x20\x62\x79\x20\x74"
4308 				  "\x68\x65\x20\x43\x6f\x6e\x74\x72"
4309 				  "\x69\x62\x75\x74\x6f\x72\x20\x66"
4310 				  "\x6f\x72\x20\x70\x75\x62\x6c\x69"
4311 				  "\x63\x61\x74\x69\x6f\x6e\x20\x61"
4312 				  "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
4313 				  "\x20\x70\x61\x72\x74\x20\x6f\x66"
4314 				  "\x20\x61\x6e\x20\x49\x45\x54\x46"
4315 				  "\x20\x49\x6e\x74\x65\x72\x6e\x65"
4316 				  "\x74\x2d\x44\x72\x61\x66\x74\x20"
4317 				  "\x6f\x72\x20\x52\x46\x43\x20\x61"
4318 				  "\x6e\x64\x20\x61\x6e\x79\x20\x73"
4319 				  "\x74\x61\x74\x65\x6d\x65\x6e\x74"
4320 				  "\x20\x6d\x61\x64\x65\x20\x77\x69"
4321 				  "\x74\x68\x69\x6e\x20\x74\x68\x65"
4322 				  "\x20\x63\x6f\x6e\x74\x65\x78\x74"
4323 				  "\x20\x6f\x66\x20\x61\x6e\x20\x49"
4324 				  "\x45\x54\x46\x20\x61\x63\x74\x69"
4325 				  "\x76\x69\x74\x79\x20\x69\x73\x20"
4326 				  "\x63\x6f\x6e\x73\x69\x64\x65\x72"
4327 				  "\x65\x64\x20\x61\x6e\x20\x22\x49"
4328 				  "\x45\x54\x46\x20\x43\x6f\x6e\x74"
4329 				  "\x72\x69\x62\x75\x74\x69\x6f\x6e"
4330 				  "\x22\x2e\x20\x53\x75\x63\x68\x20"
4331 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4332 				  "\x74\x73\x20\x69\x6e\x63\x6c\x75"
4333 				  "\x64\x65\x20\x6f\x72\x61\x6c\x20"
4334 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4335 				  "\x74\x73\x20\x69\x6e\x20\x49\x45"
4336 				  "\x54\x46\x20\x73\x65\x73\x73\x69"
4337 				  "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
4338 				  "\x77\x65\x6c\x6c\x20\x61\x73\x20"
4339 				  "\x77\x72\x69\x74\x74\x65\x6e\x20"
4340 				  "\x61\x6e\x64\x20\x65\x6c\x65\x63"
4341 				  "\x74\x72\x6f\x6e\x69\x63\x20\x63"
4342 				  "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
4343 				  "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
4344 				  "\x64\x65\x20\x61\x74\x20\x61\x6e"
4345 				  "\x79\x20\x74\x69\x6d\x65\x20\x6f"
4346 				  "\x72\x20\x70\x6c\x61\x63\x65\x2c"
4347 				  "\x20\x77\x68\x69\x63\x68\x20\x61"
4348 				  "\x72\x65\x20\x61\x64\x64\x72\x65"
4349 				  "\x73\x73\x65\x64\x20\x74\x6f",
4350 		.psize		= 407,
4351 		.digest		= "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
4352 				  "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
4353 	}, { /* Test Vector #3 */
4354 		.plaintext	= "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
4355 				  "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
4356 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4357 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4358 				  "\x41\x6e\x79\x20\x73\x75\x62\x6d"
4359 				  "\x69\x73\x73\x69\x6f\x6e\x20\x74"
4360 				  "\x6f\x20\x74\x68\x65\x20\x49\x45"
4361 				  "\x54\x46\x20\x69\x6e\x74\x65\x6e"
4362 				  "\x64\x65\x64\x20\x62\x79\x20\x74"
4363 				  "\x68\x65\x20\x43\x6f\x6e\x74\x72"
4364 				  "\x69\x62\x75\x74\x6f\x72\x20\x66"
4365 				  "\x6f\x72\x20\x70\x75\x62\x6c\x69"
4366 				  "\x63\x61\x74\x69\x6f\x6e\x20\x61"
4367 				  "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
4368 				  "\x20\x70\x61\x72\x74\x20\x6f\x66"
4369 				  "\x20\x61\x6e\x20\x49\x45\x54\x46"
4370 				  "\x20\x49\x6e\x74\x65\x72\x6e\x65"
4371 				  "\x74\x2d\x44\x72\x61\x66\x74\x20"
4372 				  "\x6f\x72\x20\x52\x46\x43\x20\x61"
4373 				  "\x6e\x64\x20\x61\x6e\x79\x20\x73"
4374 				  "\x74\x61\x74\x65\x6d\x65\x6e\x74"
4375 				  "\x20\x6d\x61\x64\x65\x20\x77\x69"
4376 				  "\x74\x68\x69\x6e\x20\x74\x68\x65"
4377 				  "\x20\x63\x6f\x6e\x74\x65\x78\x74"
4378 				  "\x20\x6f\x66\x20\x61\x6e\x20\x49"
4379 				  "\x45\x54\x46\x20\x61\x63\x74\x69"
4380 				  "\x76\x69\x74\x79\x20\x69\x73\x20"
4381 				  "\x63\x6f\x6e\x73\x69\x64\x65\x72"
4382 				  "\x65\x64\x20\x61\x6e\x20\x22\x49"
4383 				  "\x45\x54\x46\x20\x43\x6f\x6e\x74"
4384 				  "\x72\x69\x62\x75\x74\x69\x6f\x6e"
4385 				  "\x22\x2e\x20\x53\x75\x63\x68\x20"
4386 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4387 				  "\x74\x73\x20\x69\x6e\x63\x6c\x75"
4388 				  "\x64\x65\x20\x6f\x72\x61\x6c\x20"
4389 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4390 				  "\x74\x73\x20\x69\x6e\x20\x49\x45"
4391 				  "\x54\x46\x20\x73\x65\x73\x73\x69"
4392 				  "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
4393 				  "\x77\x65\x6c\x6c\x20\x61\x73\x20"
4394 				  "\x77\x72\x69\x74\x74\x65\x6e\x20"
4395 				  "\x61\x6e\x64\x20\x65\x6c\x65\x63"
4396 				  "\x74\x72\x6f\x6e\x69\x63\x20\x63"
4397 				  "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
4398 				  "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
4399 				  "\x64\x65\x20\x61\x74\x20\x61\x6e"
4400 				  "\x79\x20\x74\x69\x6d\x65\x20\x6f"
4401 				  "\x72\x20\x70\x6c\x61\x63\x65\x2c"
4402 				  "\x20\x77\x68\x69\x63\x68\x20\x61"
4403 				  "\x72\x65\x20\x61\x64\x64\x72\x65"
4404 				  "\x73\x73\x65\x64\x20\x74\x6f",
4405 		.psize		= 407,
4406 		.digest		= "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
4407 				  "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
4408 	}, { /* Test Vector #4 */
4409 		.plaintext	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
4410 				  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
4411 				  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
4412 				  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
4413 				  "\x27\x54\x77\x61\x73\x20\x62\x72"
4414 				  "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
4415 				  "\x6e\x64\x20\x74\x68\x65\x20\x73"
4416 				  "\x6c\x69\x74\x68\x79\x20\x74\x6f"
4417 				  "\x76\x65\x73\x0a\x44\x69\x64\x20"
4418 				  "\x67\x79\x72\x65\x20\x61\x6e\x64"
4419 				  "\x20\x67\x69\x6d\x62\x6c\x65\x20"
4420 				  "\x69\x6e\x20\x74\x68\x65\x20\x77"
4421 				  "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
4422 				  "\x20\x6d\x69\x6d\x73\x79\x20\x77"
4423 				  "\x65\x72\x65\x20\x74\x68\x65\x20"
4424 				  "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
4425 				  "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
4426 				  "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
4427 				  "\x72\x61\x74\x68\x73\x20\x6f\x75"
4428 				  "\x74\x67\x72\x61\x62\x65\x2e",
4429 		.psize		= 159,
4430 		.digest		= "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
4431 				  "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
4432 	}, { /* Test Vector #5 */
4433 		.plaintext	= "\x02\x00\x00\x00\x00\x00\x00\x00"
4434 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4435 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4436 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4437 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4438 				  "\xff\xff\xff\xff\xff\xff\xff\xff",
4439 		.psize		= 48,
4440 		.digest		= "\x03\x00\x00\x00\x00\x00\x00\x00"
4441 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4442 	}, { /* Test Vector #6 */
4443 		.plaintext	= "\x02\x00\x00\x00\x00\x00\x00\x00"
4444 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4445 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4446 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4447 				  "\x02\x00\x00\x00\x00\x00\x00\x00"
4448 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
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 #7 */
4453 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
4454 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4455 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4456 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4457 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4458 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4459 				  "\xf0\xff\xff\xff\xff\xff\xff\xff"
4460 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4461 				  "\x11\x00\x00\x00\x00\x00\x00\x00"
4462 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4463 		.psize		= 80,
4464 		.digest		= "\x05\x00\x00\x00\x00\x00\x00\x00"
4465 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4466 	}, { /* Test Vector #8 */
4467 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
4468 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4469 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4470 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4471 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4472 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4473 				  "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
4474 				  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
4475 				  "\x01\x01\x01\x01\x01\x01\x01\x01"
4476 				  "\x01\x01\x01\x01\x01\x01\x01\x01",
4477 		.psize		= 80,
4478 		.digest		= "\x00\x00\x00\x00\x00\x00\x00\x00"
4479 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4480 	}, { /* Test Vector #9 */
4481 		.plaintext	= "\x02\x00\x00\x00\x00\x00\x00\x00"
4482 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4483 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4484 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4485 				  "\xfd\xff\xff\xff\xff\xff\xff\xff"
4486 				  "\xff\xff\xff\xff\xff\xff\xff\xff",
4487 		.psize		= 48,
4488 		.digest		= "\xfa\xff\xff\xff\xff\xff\xff\xff"
4489 				  "\xff\xff\xff\xff\xff\xff\xff\xff",
4490 	}, { /* Test Vector #10 */
4491 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
4492 				  "\x04\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 				  "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
4496 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4497 				  "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
4498 				  "\x01\x00\x00\x00\x00\x00\x00\x00"
4499 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4500 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4501 				  "\x01\x00\x00\x00\x00\x00\x00\x00"
4502 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4503 		.psize		= 96,
4504 		.digest		= "\x14\x00\x00\x00\x00\x00\x00\x00"
4505 				  "\x55\x00\x00\x00\x00\x00\x00\x00",
4506 	}, { /* Test Vector #11 */
4507 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
4508 				  "\x04\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 				  "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
4512 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4513 				  "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
4514 				  "\x01\x00\x00\x00\x00\x00\x00\x00"
4515 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4516 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4517 		.psize		= 80,
4518 		.digest		= "\x13\x00\x00\x00\x00\x00\x00\x00"
4519 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4520 	},
4521 };
4522 
4523 /*
4524  * DES test vectors.
4525  */
4526 static const struct cipher_testvec des_enc_tv_template[] = {
4527 	{ /* From Applied Cryptography */
4528 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4529 		.klen	= 8,
4530 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4531 		.ilen	= 8,
4532 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4533 		.rlen	= 8,
4534 	}, { /* Same key, different plaintext block */
4535 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4536 		.klen	= 8,
4537 		.input	= "\x22\x33\x44\x55\x66\x77\x88\x99",
4538 		.ilen	= 8,
4539 		.result	= "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4540 		.rlen	= 8,
4541 	}, { /* Sbox test from NBS */
4542 		.key	= "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
4543 		.klen	= 8,
4544 		.input	= "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
4545 		.ilen	= 8,
4546 		.result	= "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4547 		.rlen	= 8,
4548 	}, { /* Three blocks */
4549 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4550 		.klen	= 8,
4551 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4552 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
4553 			  "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
4554 		.ilen	= 24,
4555 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4556 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
4557 			  "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
4558 		.rlen	= 24,
4559 	}, { /* Weak key */
4560 		.fail	= true,
4561 		.wk	= 1,
4562 		.key	= "\x01\x01\x01\x01\x01\x01\x01\x01",
4563 		.klen	= 8,
4564 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4565 		.ilen	= 8,
4566 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4567 		.rlen	= 8,
4568 	}, { /* Two blocks -- for testing encryption across pages */
4569 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4570 		.klen	= 8,
4571 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4572 			  "\x22\x33\x44\x55\x66\x77\x88\x99",
4573 		.ilen	= 16,
4574 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4575 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4576 		.rlen	= 16,
4577 		.np	= 2,
4578 		.tap	= { 8, 8 }
4579 	}, { /* Four blocks -- for testing encryption with chunking */
4580 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4581 		.klen	= 8,
4582 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4583 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
4584 			  "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
4585 			  "\x22\x33\x44\x55\x66\x77\x88\x99",
4586 		.ilen	= 32,
4587 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4588 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
4589 			  "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
4590 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4591 		.rlen	= 32,
4592 		.np	= 3,
4593 		.tap	= { 14, 10, 8 }
4594 	}, {
4595 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4596 		.klen	= 8,
4597 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4598 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
4599 			  "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
4600 		.ilen	= 24,
4601 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4602 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
4603 			  "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
4604 		.rlen	= 24,
4605 		.np	= 4,
4606 		.tap	= { 2, 1, 3, 18 }
4607 	}, {
4608 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4609 		.klen	= 8,
4610 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4611 			  "\x22\x33\x44\x55\x66\x77\x88\x99",
4612 		.ilen	= 16,
4613 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4614 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4615 		.rlen	= 16,
4616 		.np	= 5,
4617 		.tap	= { 2, 2, 2, 2, 8 }
4618 	}, {
4619 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4620 		.klen	= 8,
4621 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4622 		.ilen	= 8,
4623 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4624 		.rlen	= 8,
4625 		.np	= 8,
4626 		.tap	= { 1, 1, 1, 1, 1, 1, 1, 1 }
4627 	}, { /* Generated with Crypto++ */
4628 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
4629 		.klen	= 8,
4630 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
4631 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
4632 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
4633 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
4634 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
4635 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
4636 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
4637 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
4638 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
4639 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
4640 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
4641 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
4642 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
4643 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
4644 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
4645 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
4646 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
4647 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
4648 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
4649 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
4650 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
4651 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
4652 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
4653 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
4654 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
4655 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
4656 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
4657 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
4658 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
4659 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
4660 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
4661 		.ilen	= 248,
4662 		.result	= "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
4663 			  "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
4664 			  "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
4665 			  "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
4666 			  "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
4667 			  "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
4668 			  "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
4669 			  "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
4670 			  "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
4671 			  "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
4672 			  "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
4673 			  "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
4674 			  "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
4675 			  "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
4676 			  "\x2E\x51\x16\xCA\x09\x89\x54\x62"
4677 			  "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
4678 			  "\x62\xF0\x02\x58\x83\xAF\x30\x87"
4679 			  "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
4680 			  "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
4681 			  "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
4682 			  "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
4683 			  "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
4684 			  "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
4685 			  "\xE9\x95\x61\x74\x12\xED\x07\xD7"
4686 			  "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
4687 			  "\x51\x96\x16\xF7\x94\x61\xB8\x87"
4688 			  "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
4689 			  "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
4690 			  "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
4691 			  "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
4692 			  "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
4693 		.rlen	= 248,
4694 		.also_non_np = 1,
4695 		.np	= 3,
4696 		.tap	= { 248 - 10, 2, 8 },
4697 	},
4698 };
4699 
4700 static const struct cipher_testvec des_dec_tv_template[] = {
4701 	{ /* From Applied Cryptography */
4702 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4703 		.klen	= 8,
4704 		.input	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4705 		.ilen	= 8,
4706 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4707 		.rlen	= 8,
4708 	}, { /* Sbox test from NBS */
4709 		.key	= "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
4710 		.klen	= 8,
4711 		.input	= "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4712 		.ilen	= 8,
4713 		.result	= "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
4714 		.rlen	= 8,
4715 	}, { /* Two blocks, for chunking test */
4716 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4717 		.klen	= 8,
4718 		.input	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4719 			  "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4720 		.ilen	= 16,
4721 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4722 			  "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
4723 		.rlen	= 16,
4724 		.np	= 2,
4725 		.tap	= { 8, 8 }
4726 	}, {
4727 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4728 		.klen	= 8,
4729 		.input	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4730 			  "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4731 		.ilen	= 16,
4732 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4733 			  "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
4734 		.rlen	= 16,
4735 		.np	= 3,
4736 		.tap	= { 3, 12, 1 }
4737 	}, { /* Generated with Crypto++ */
4738 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
4739 		.klen	= 8,
4740 		.input	= "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
4741 			  "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
4742 			  "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
4743 			  "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
4744 			  "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
4745 			  "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
4746 			  "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
4747 			  "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
4748 			  "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
4749 			  "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
4750 			  "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
4751 			  "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
4752 			  "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
4753 			  "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
4754 			  "\x2E\x51\x16\xCA\x09\x89\x54\x62"
4755 			  "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
4756 			  "\x62\xF0\x02\x58\x83\xAF\x30\x87"
4757 			  "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
4758 			  "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
4759 			  "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
4760 			  "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
4761 			  "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
4762 			  "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
4763 			  "\xE9\x95\x61\x74\x12\xED\x07\xD7"
4764 			  "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
4765 			  "\x51\x96\x16\xF7\x94\x61\xB8\x87"
4766 			  "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
4767 			  "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
4768 			  "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
4769 			  "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
4770 			  "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
4771 		.ilen	= 248,
4772 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
4773 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
4774 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
4775 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
4776 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
4777 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
4778 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
4779 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
4780 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
4781 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
4782 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
4783 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
4784 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
4785 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
4786 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
4787 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
4788 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
4789 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
4790 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
4791 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
4792 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
4793 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
4794 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
4795 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
4796 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
4797 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
4798 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
4799 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
4800 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
4801 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
4802 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
4803 		.rlen	= 248,
4804 		.also_non_np = 1,
4805 		.np	= 3,
4806 		.tap	= { 248 - 10, 2, 8 },
4807 	},
4808 };
4809 
4810 static const struct cipher_testvec des_cbc_enc_tv_template[] = {
4811 	{ /* From OpenSSL */
4812 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4813 		.klen	= 8,
4814 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4815 		.input	= "\x37\x36\x35\x34\x33\x32\x31\x20"
4816 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
4817 			  "\x68\x65\x20\x74\x69\x6d\x65\x20",
4818 		.ilen	= 24,
4819 		.result	= "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
4820 			  "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
4821 			  "\x46\x8e\x91\x15\x78\x88\xba\x68",
4822 		.rlen	= 24,
4823 	}, { /* FIPS Pub 81 */
4824 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4825 		.klen	= 8,
4826 		.iv	= "\x12\x34\x56\x78\x90\xab\xcd\xef",
4827 		.input	= "\x4e\x6f\x77\x20\x69\x73\x20\x74",
4828 		.ilen	= 8,
4829 		.result	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
4830 		.rlen	= 8,
4831 	}, {
4832 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4833 		.klen	= 8,
4834 		.iv	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
4835 		.input	= "\x68\x65\x20\x74\x69\x6d\x65\x20",
4836 		.ilen	= 8,
4837 		.result	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
4838 		.rlen	= 8,
4839 	}, {
4840 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4841 		.klen	= 8,
4842 		.iv	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
4843 		.input	= "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
4844 		.ilen	= 8,
4845 		.result	= "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
4846 		.rlen	= 8,
4847 	}, { /* Copy of openssl vector for chunk testing */
4848 	     /* From OpenSSL */
4849 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4850 		.klen	= 8,
4851 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4852 		.input	= "\x37\x36\x35\x34\x33\x32\x31\x20"
4853 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
4854 			  "\x68\x65\x20\x74\x69\x6d\x65\x20",
4855 		.ilen	= 24,
4856 		.result	= "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
4857 			  "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
4858 			  "\x46\x8e\x91\x15\x78\x88\xba\x68",
4859 		.rlen	= 24,
4860 		.np	= 2,
4861 		.tap	= { 13, 11 }
4862 	}, { /* Generated with Crypto++ */
4863 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
4864 		.klen	= 8,
4865 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
4866 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
4867 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
4868 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
4869 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
4870 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
4871 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
4872 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
4873 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
4874 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
4875 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
4876 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
4877 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
4878 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
4879 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
4880 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
4881 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
4882 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
4883 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
4884 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
4885 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
4886 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
4887 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
4888 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
4889 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
4890 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
4891 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
4892 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
4893 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
4894 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
4895 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
4896 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
4897 		.ilen	= 248,
4898 		.result	= "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
4899 			  "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
4900 			  "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
4901 			  "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
4902 			  "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
4903 			  "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
4904 			  "\x81\x72\x74\xDE\x30\x19\x69\x49"
4905 			  "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
4906 			  "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
4907 			  "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
4908 			  "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
4909 			  "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
4910 			  "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
4911 			  "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
4912 			  "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
4913 			  "\x49\x90\x88\x6A\x09\x8F\x76\x59"
4914 			  "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
4915 			  "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
4916 			  "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
4917 			  "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
4918 			  "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
4919 			  "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
4920 			  "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
4921 			  "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
4922 			  "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
4923 			  "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
4924 			  "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
4925 			  "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
4926 			  "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
4927 			  "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
4928 			  "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
4929 		.rlen	= 248,
4930 		.also_non_np = 1,
4931 		.np	= 3,
4932 		.tap	= { 248 - 10, 2, 8 },
4933 	},
4934 };
4935 
4936 static const struct cipher_testvec des_cbc_dec_tv_template[] = {
4937 	{ /* FIPS Pub 81 */
4938 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4939 		.klen	= 8,
4940 		.iv	= "\x12\x34\x56\x78\x90\xab\xcd\xef",
4941 		.input	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
4942 		.ilen	= 8,
4943 		.result	= "\x4e\x6f\x77\x20\x69\x73\x20\x74",
4944 		.rlen	= 8,
4945 	}, {
4946 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4947 		.klen	= 8,
4948 		.iv	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
4949 		.input	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
4950 		.ilen	= 8,
4951 		.result	= "\x68\x65\x20\x74\x69\x6d\x65\x20",
4952 		.rlen	= 8,
4953 	}, {
4954 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4955 		.klen	= 8,
4956 		.iv	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
4957 		.input	= "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
4958 		.ilen	= 8,
4959 		.result	= "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
4960 		.rlen	= 8,
4961 	}, { /* Copy of above, for chunk testing */
4962 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4963 		.klen	= 8,
4964 		.iv	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
4965 		.input	= "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
4966 		.ilen	= 8,
4967 		.result	= "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
4968 		.rlen	= 8,
4969 		.np	= 2,
4970 		.tap	= { 4, 4 }
4971 	}, { /* Generated with Crypto++ */
4972 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
4973 		.klen	= 8,
4974 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
4975 		.input	= "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
4976 			  "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
4977 			  "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
4978 			  "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
4979 			  "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
4980 			  "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
4981 			  "\x81\x72\x74\xDE\x30\x19\x69\x49"
4982 			  "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
4983 			  "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
4984 			  "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
4985 			  "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
4986 			  "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
4987 			  "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
4988 			  "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
4989 			  "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
4990 			  "\x49\x90\x88\x6A\x09\x8F\x76\x59"
4991 			  "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
4992 			  "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
4993 			  "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
4994 			  "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
4995 			  "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
4996 			  "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
4997 			  "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
4998 			  "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
4999 			  "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
5000 			  "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
5001 			  "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
5002 			  "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
5003 			  "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
5004 			  "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
5005 			  "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
5006 		.ilen	= 248,
5007 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5008 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5009 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5010 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5011 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5012 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5013 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5014 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5015 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5016 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5017 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5018 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5019 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5020 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5021 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5022 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5023 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5024 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5025 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5026 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5027 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5028 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5029 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5030 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5031 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5032 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5033 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5034 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5035 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5036 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5037 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5038 		.rlen	= 248,
5039 		.also_non_np = 1,
5040 		.np	= 3,
5041 		.tap	= { 248 - 10, 2, 8 },
5042 	},
5043 };
5044 
5045 static const struct cipher_testvec des_ctr_enc_tv_template[] = {
5046 	{ /* Generated with Crypto++ */
5047 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5048 		.klen	= 8,
5049 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5050 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5051 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5052 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5053 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5054 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5055 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5056 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5057 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5058 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5059 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5060 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5061 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5062 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5063 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5064 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5065 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5066 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5067 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5068 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5069 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5070 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5071 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5072 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5073 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5074 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5075 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5076 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5077 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5078 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5079 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5080 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5081 		.ilen	= 248,
5082 		.result	= "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
5083 			  "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
5084 			  "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
5085 			  "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
5086 			  "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
5087 			  "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
5088 			  "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
5089 			  "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
5090 			  "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
5091 			  "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
5092 			  "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
5093 			  "\xBE\x4C\x91\x43\x22\x65\x72\x48"
5094 			  "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
5095 			  "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
5096 			  "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
5097 			  "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
5098 			  "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
5099 			  "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
5100 			  "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
5101 			  "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
5102 			  "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
5103 			  "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
5104 			  "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
5105 			  "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
5106 			  "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
5107 			  "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
5108 			  "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
5109 			  "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
5110 			  "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
5111 			  "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
5112 			  "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
5113 		.rlen	= 248,
5114 		.also_non_np = 1,
5115 		.np	= 3,
5116 		.tap	= { 248 - 10, 2, 8 },
5117 	}, { /* Generated with Crypto++ */
5118 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5119 		.klen	= 8,
5120 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5121 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5122 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5123 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5124 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5125 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5126 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5127 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5128 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5129 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5130 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5131 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5132 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5133 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5134 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5135 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5136 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5137 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5138 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5139 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5140 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5141 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5142 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5143 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5144 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5145 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5146 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5147 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5148 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5149 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5150 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5151 			  "\xC6\x2F\xBB\x24\x8D\x19\x82",
5152 		.ilen	= 247,
5153 		.result	= "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
5154 			  "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
5155 			  "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
5156 			  "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
5157 			  "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
5158 			  "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
5159 			  "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
5160 			  "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
5161 			  "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
5162 			  "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
5163 			  "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
5164 			  "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
5165 			  "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
5166 			  "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
5167 			  "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
5168 			  "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
5169 			  "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
5170 			  "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
5171 			  "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
5172 			  "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
5173 			  "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
5174 			  "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
5175 			  "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
5176 			  "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
5177 			  "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
5178 			  "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
5179 			  "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
5180 			  "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
5181 			  "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
5182 			  "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
5183 			  "\x91\x45\x05\x3E\x58\xBF\x32",
5184 		.rlen	= 247,
5185 		.also_non_np = 1,
5186 		.np	= 2,
5187 		.tap	= { 247 - 8, 8 },
5188 	},
5189 };
5190 
5191 static const struct cipher_testvec des_ctr_dec_tv_template[] = {
5192 	{ /* Generated with Crypto++ */
5193 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5194 		.klen	= 8,
5195 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5196 		.input	= "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
5197 			  "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
5198 			  "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
5199 			  "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
5200 			  "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
5201 			  "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
5202 			  "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
5203 			  "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
5204 			  "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
5205 			  "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
5206 			  "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
5207 			  "\xBE\x4C\x91\x43\x22\x65\x72\x48"
5208 			  "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
5209 			  "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
5210 			  "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
5211 			  "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
5212 			  "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
5213 			  "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
5214 			  "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
5215 			  "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
5216 			  "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
5217 			  "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
5218 			  "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
5219 			  "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
5220 			  "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
5221 			  "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
5222 			  "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
5223 			  "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
5224 			  "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
5225 			  "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
5226 			  "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
5227 		.ilen	= 248,
5228 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5229 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5230 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5231 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5232 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5233 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5234 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5235 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5236 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5237 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5238 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5239 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5240 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5241 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5242 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5243 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5244 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5245 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5246 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5247 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5248 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5249 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5250 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5251 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5252 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5253 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5254 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5255 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5256 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5257 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5258 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5259 		.rlen	= 248,
5260 		.also_non_np = 1,
5261 		.np	= 3,
5262 		.tap	= { 248 - 10, 2, 8 },
5263 	}, { /* Generated with Crypto++ */
5264 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5265 		.klen	= 8,
5266 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5267 		.input	= "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
5268 			  "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
5269 			  "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
5270 			  "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
5271 			  "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
5272 			  "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
5273 			  "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
5274 			  "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
5275 			  "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
5276 			  "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
5277 			  "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
5278 			  "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
5279 			  "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
5280 			  "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
5281 			  "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
5282 			  "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
5283 			  "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
5284 			  "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
5285 			  "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
5286 			  "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
5287 			  "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
5288 			  "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
5289 			  "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
5290 			  "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
5291 			  "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
5292 			  "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
5293 			  "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
5294 			  "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
5295 			  "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
5296 			  "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
5297 			  "\x91\x45\x05\x3E\x58\xBF\x32",
5298 		.ilen	= 247,
5299 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5300 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5301 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5302 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5303 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5304 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5305 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5306 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5307 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5308 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5309 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5310 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5311 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5312 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5313 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5314 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5315 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5316 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5317 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5318 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5319 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5320 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5321 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5322 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5323 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5324 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5325 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5326 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5327 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5328 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5329 			  "\xC6\x2F\xBB\x24\x8D\x19\x82",
5330 		.rlen	= 247,
5331 		.also_non_np = 1,
5332 		.np	= 2,
5333 		.tap	= { 247 - 8, 8 },
5334 	},
5335 };
5336 
5337 static const struct cipher_testvec des3_ede_enc_tv_template[] = {
5338 	{ /* These are from openssl */
5339 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
5340 			  "\x55\x55\x55\x55\x55\x55\x55\x55"
5341 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5342 		.klen	= 24,
5343 		.input	= "\x73\x6f\x6d\x65\x64\x61\x74\x61",
5344 		.ilen	= 8,
5345 		.result	= "\x18\xd7\x48\xe5\x63\x62\x05\x72",
5346 		.rlen	= 8,
5347 	}, {
5348 		.key	= "\x03\x52\x02\x07\x67\x20\x82\x17"
5349 			  "\x86\x02\x87\x66\x59\x08\x21\x98"
5350 			  "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
5351 		.klen	= 24,
5352 		.input	= "\x73\x71\x75\x69\x67\x67\x6c\x65",
5353 		.ilen	= 8,
5354 		.result	= "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
5355 		.rlen	= 8,
5356 	}, {
5357 		.key	= "\x10\x46\x10\x34\x89\x98\x80\x20"
5358 			  "\x91\x07\xd0\x15\x89\x19\x01\x01"
5359 			  "\x19\x07\x92\x10\x98\x1a\x01\x01",
5360 		.klen	= 24,
5361 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
5362 		.ilen	= 8,
5363 		.result	= "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
5364 		.rlen	= 8,
5365 	}, { /* Generated with Crypto++ */
5366 		.key	= "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
5367 			  "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
5368 			  "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
5369 		.klen	= 24,
5370 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5371 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5372 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5373 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5374 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5375 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5376 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5377 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5378 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5379 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5380 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5381 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5382 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5383 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5384 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5385 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5386 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5387 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5388 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5389 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5390 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5391 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5392 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5393 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5394 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5395 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5396 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5397 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5398 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5399 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5400 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5401 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5402 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5403 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5404 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5405 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5406 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5407 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5408 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5409 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5410 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5411 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
5412 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
5413 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
5414 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
5415 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
5416 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
5417 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
5418 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
5419 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
5420 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
5421 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
5422 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
5423 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
5424 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
5425 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
5426 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
5427 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
5428 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
5429 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
5430 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
5431 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
5432 		.ilen	= 496,
5433 		.result	= "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
5434 			  "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
5435 			  "\x81\x01\x04\x00\x76\xFA\xED\xD3"
5436 			  "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
5437 			  "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
5438 			  "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
5439 			  "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
5440 			  "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
5441 			  "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
5442 			  "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
5443 			  "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
5444 			  "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
5445 			  "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
5446 			  "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
5447 			  "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
5448 			  "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
5449 			  "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
5450 			  "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
5451 			  "\x45\x86\x50\x01\x70\x35\x99\x92"
5452 			  "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
5453 			  "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
5454 			  "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
5455 			  "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
5456 			  "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
5457 			  "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
5458 			  "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
5459 			  "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
5460 			  "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
5461 			  "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
5462 			  "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
5463 			  "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
5464 			  "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
5465 			  "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
5466 			  "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
5467 			  "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
5468 			  "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
5469 			  "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
5470 			  "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
5471 			  "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
5472 			  "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
5473 			  "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
5474 			  "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
5475 			  "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
5476 			  "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
5477 			  "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
5478 			  "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
5479 			  "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
5480 			  "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
5481 			  "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
5482 			  "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
5483 			  "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
5484 			  "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
5485 			  "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
5486 			  "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
5487 			  "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
5488 			  "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
5489 			  "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
5490 			  "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
5491 			  "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
5492 			  "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
5493 			  "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
5494 			  "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
5495 		.rlen	= 496,
5496 		.also_non_np = 1,
5497 		.np	= 3,
5498 		.tap	= { 496 - 20, 4, 16 },
5499 	},
5500 };
5501 
5502 static const struct cipher_testvec des3_ede_dec_tv_template[] = {
5503 	{ /* These are from openssl */
5504 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
5505 			  "\x55\x55\x55\x55\x55\x55\x55\x55"
5506 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5507 		.klen	= 24,
5508 		.input	= "\x18\xd7\x48\xe5\x63\x62\x05\x72",
5509 		.ilen	= 8,
5510 		.result	= "\x73\x6f\x6d\x65\x64\x61\x74\x61",
5511 		.rlen	= 8,
5512 	}, {
5513 		.key	= "\x03\x52\x02\x07\x67\x20\x82\x17"
5514 			  "\x86\x02\x87\x66\x59\x08\x21\x98"
5515 			  "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
5516 		.klen	= 24,
5517 		.input	= "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
5518 		.ilen	= 8,
5519 		.result	= "\x73\x71\x75\x69\x67\x67\x6c\x65",
5520 		.rlen	= 8,
5521 	}, {
5522 		.key	= "\x10\x46\x10\x34\x89\x98\x80\x20"
5523 			  "\x91\x07\xd0\x15\x89\x19\x01\x01"
5524 			  "\x19\x07\x92\x10\x98\x1a\x01\x01",
5525 		.klen	= 24,
5526 		.input	= "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
5527 		.ilen	= 8,
5528 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
5529 		.rlen	= 8,
5530 	}, { /* Generated with Crypto++ */
5531 		.key	= "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
5532 			  "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
5533 			  "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
5534 		.klen	= 24,
5535 		.input	= "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
5536 			  "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
5537 			  "\x81\x01\x04\x00\x76\xFA\xED\xD3"
5538 			  "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
5539 			  "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
5540 			  "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
5541 			  "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
5542 			  "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
5543 			  "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
5544 			  "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
5545 			  "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
5546 			  "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
5547 			  "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
5548 			  "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
5549 			  "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
5550 			  "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
5551 			  "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
5552 			  "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
5553 			  "\x45\x86\x50\x01\x70\x35\x99\x92"
5554 			  "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
5555 			  "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
5556 			  "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
5557 			  "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
5558 			  "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
5559 			  "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
5560 			  "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
5561 			  "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
5562 			  "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
5563 			  "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
5564 			  "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
5565 			  "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
5566 			  "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
5567 			  "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
5568 			  "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
5569 			  "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
5570 			  "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
5571 			  "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
5572 			  "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
5573 			  "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
5574 			  "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
5575 			  "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
5576 			  "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
5577 			  "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
5578 			  "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
5579 			  "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
5580 			  "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
5581 			  "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
5582 			  "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
5583 			  "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
5584 			  "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
5585 			  "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
5586 			  "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
5587 			  "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
5588 			  "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
5589 			  "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
5590 			  "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
5591 			  "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
5592 			  "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
5593 			  "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
5594 			  "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
5595 			  "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
5596 			  "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
5597 		.ilen	= 496,
5598 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5599 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5600 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5601 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5602 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5603 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5604 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5605 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5606 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5607 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5608 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5609 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5610 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5611 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5612 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5613 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5614 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5615 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5616 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5617 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5618 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5619 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5620 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5621 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5622 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5623 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5624 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5625 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5626 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5627 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5628 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5629 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5630 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5631 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5632 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5633 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5634 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5635 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5636 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5637 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5638 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5639 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
5640 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
5641 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
5642 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
5643 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
5644 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
5645 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
5646 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
5647 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
5648 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
5649 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
5650 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
5651 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
5652 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
5653 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
5654 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
5655 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
5656 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
5657 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
5658 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
5659 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
5660 		.rlen	= 496,
5661 		.also_non_np = 1,
5662 		.np	= 3,
5663 		.tap	= { 496 - 20, 4, 16 },
5664 	},
5665 };
5666 
5667 static const struct cipher_testvec des3_ede_cbc_enc_tv_template[] = {
5668 	{ /* Generated from openssl */
5669 		.key	= "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
5670 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
5671 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
5672 		.klen	= 24,
5673 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
5674 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
5675 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
5676 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
5677 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
5678 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
5679 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
5680 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
5681 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
5682 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
5683 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
5684 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
5685 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
5686 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
5687 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
5688 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
5689 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
5690 		.ilen	= 128,
5691 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
5692 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
5693 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
5694 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
5695 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
5696 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
5697 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
5698 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
5699 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
5700 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
5701 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
5702 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
5703 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
5704 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
5705 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
5706 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
5707 		.rlen	= 128,
5708 	}, { /* Generated with Crypto++ */
5709 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
5710 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
5711 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
5712 		.klen	= 24,
5713 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
5714 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
5715 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5716 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5717 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5718 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5719 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5720 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5721 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5722 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5723 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5724 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5725 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5726 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5727 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5728 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5729 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5730 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5731 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5732 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5733 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5734 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5735 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5736 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5737 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5738 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5739 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5740 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5741 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5742 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5743 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5744 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5745 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5746 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5747 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5748 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5749 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5750 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5751 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5752 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5753 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5754 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5755 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5756 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
5757 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
5758 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
5759 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
5760 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
5761 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
5762 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
5763 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
5764 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
5765 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
5766 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
5767 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
5768 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
5769 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
5770 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
5771 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
5772 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
5773 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
5774 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
5775 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
5776 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
5777 		.ilen	= 496,
5778 		.result	= "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
5779 			  "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
5780 			  "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
5781 			  "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
5782 			  "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
5783 			  "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
5784 			  "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
5785 			  "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
5786 			  "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
5787 			  "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
5788 			  "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
5789 			  "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
5790 			  "\x11\x35\x61\x94\x88\x7B\x1C\x48"
5791 			  "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
5792 			  "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
5793 			  "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
5794 			  "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
5795 			  "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
5796 			  "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
5797 			  "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
5798 			  "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
5799 			  "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
5800 			  "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
5801 			  "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
5802 			  "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
5803 			  "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
5804 			  "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
5805 			  "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
5806 			  "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
5807 			  "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
5808 			  "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
5809 			  "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
5810 			  "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
5811 			  "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
5812 			  "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
5813 			  "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
5814 			  "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
5815 			  "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
5816 			  "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
5817 			  "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
5818 			  "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
5819 			  "\x73\x50\x08\x56\x20\x9B\x94\x23"
5820 			  "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
5821 			  "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
5822 			  "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
5823 			  "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
5824 			  "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
5825 			  "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
5826 			  "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
5827 			  "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
5828 			  "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
5829 			  "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
5830 			  "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
5831 			  "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
5832 			  "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
5833 			  "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
5834 			  "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
5835 			  "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
5836 			  "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
5837 			  "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
5838 			  "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
5839 			  "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
5840 		.rlen	= 496,
5841 		.also_non_np = 1,
5842 		.np	= 3,
5843 		.tap	= { 496 - 20, 4, 16 },
5844 	},
5845 };
5846 
5847 static const struct cipher_testvec des3_ede_cbc_dec_tv_template[] = {
5848 	{ /* Generated from openssl */
5849 		.key	= "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
5850 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
5851 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
5852 		.klen	= 24,
5853 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
5854 		.input	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
5855 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
5856 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
5857 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
5858 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
5859 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
5860 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
5861 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
5862 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
5863 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
5864 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
5865 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
5866 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
5867 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
5868 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
5869 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
5870 		.ilen	= 128,
5871 		.result	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
5872 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
5873 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
5874 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
5875 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
5876 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
5877 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
5878 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
5879 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
5880 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
5881 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
5882 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
5883 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
5884 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
5885 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
5886 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
5887 		.rlen	= 128,
5888 	}, { /* Generated with Crypto++ */
5889 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
5890 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
5891 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
5892 		.klen	= 24,
5893 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
5894 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
5895 		.input	= "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
5896 			  "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
5897 			  "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
5898 			  "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
5899 			  "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
5900 			  "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
5901 			  "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
5902 			  "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
5903 			  "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
5904 			  "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
5905 			  "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
5906 			  "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
5907 			  "\x11\x35\x61\x94\x88\x7B\x1C\x48"
5908 			  "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
5909 			  "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
5910 			  "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
5911 			  "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
5912 			  "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
5913 			  "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
5914 			  "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
5915 			  "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
5916 			  "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
5917 			  "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
5918 			  "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
5919 			  "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
5920 			  "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
5921 			  "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
5922 			  "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
5923 			  "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
5924 			  "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
5925 			  "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
5926 			  "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
5927 			  "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
5928 			  "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
5929 			  "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
5930 			  "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
5931 			  "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
5932 			  "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
5933 			  "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
5934 			  "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
5935 			  "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
5936 			  "\x73\x50\x08\x56\x20\x9B\x94\x23"
5937 			  "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
5938 			  "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
5939 			  "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
5940 			  "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
5941 			  "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
5942 			  "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
5943 			  "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
5944 			  "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
5945 			  "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
5946 			  "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
5947 			  "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
5948 			  "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
5949 			  "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
5950 			  "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
5951 			  "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
5952 			  "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
5953 			  "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
5954 			  "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
5955 			  "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
5956 			  "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
5957 		.ilen	= 496,
5958 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5959 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5960 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5961 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5962 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5963 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5964 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5965 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5966 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5967 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5968 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5969 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5970 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5971 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5972 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5973 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5974 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5975 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5976 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5977 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5978 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5979 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5980 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5981 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5982 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5983 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5984 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5985 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5986 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5987 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5988 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5989 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5990 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5991 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5992 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5993 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5994 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5995 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5996 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5997 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5998 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5999 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6000 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6001 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6002 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6003 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6004 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6005 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6006 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6007 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6008 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6009 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6010 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6011 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6012 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6013 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6014 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6015 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6016 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6017 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6018 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6019 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6020 		.rlen	= 496,
6021 		.also_non_np = 1,
6022 		.np	= 3,
6023 		.tap	= { 496 - 20, 4, 16 },
6024 	},
6025 };
6026 
6027 static const struct cipher_testvec des3_ede_ctr_enc_tv_template[] = {
6028 	{ /* Generated with Crypto++ */
6029 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6030 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6031 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6032 		.klen	= 24,
6033 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
6034 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
6035 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6036 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6037 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6038 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6039 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6040 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6041 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6042 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6043 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6044 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6045 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6046 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6047 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6048 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6049 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6050 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6051 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6052 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6053 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6054 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6055 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6056 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6057 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6058 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6059 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6060 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6061 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6062 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6063 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6064 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6065 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6066 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6067 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6068 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6069 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6070 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6071 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6072 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6073 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6074 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6075 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6076 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6077 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6078 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6079 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6080 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6081 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6082 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6083 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6084 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6085 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6086 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6087 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6088 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6089 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6090 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6091 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6092 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6093 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6094 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6095 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6096 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6097 		.ilen	= 496,
6098 		.result	= "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
6099 			  "\x19\xCD\x6F\x32\x53\x05\x22\x15"
6100 			  "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
6101 			  "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
6102 			  "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
6103 			  "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
6104 			  "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
6105 			  "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
6106 			  "\x13\x78\xDC\x89\x12\x12\x43\xFA"
6107 			  "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
6108 			  "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
6109 			  "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
6110 			  "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
6111 			  "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
6112 			  "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
6113 			  "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
6114 			  "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
6115 			  "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
6116 			  "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
6117 			  "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
6118 			  "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
6119 			  "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
6120 			  "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
6121 			  "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
6122 			  "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
6123 			  "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
6124 			  "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
6125 			  "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
6126 			  "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
6127 			  "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
6128 			  "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
6129 			  "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
6130 			  "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
6131 			  "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
6132 			  "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
6133 			  "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
6134 			  "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
6135 			  "\x83\x37\x4F\x1F\x48\x30\xED\x04"
6136 			  "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
6137 			  "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
6138 			  "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
6139 			  "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
6140 			  "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
6141 			  "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
6142 			  "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
6143 			  "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
6144 			  "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
6145 			  "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
6146 			  "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
6147 			  "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
6148 			  "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
6149 			  "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
6150 			  "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
6151 			  "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
6152 			  "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
6153 			  "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
6154 			  "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
6155 			  "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
6156 			  "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
6157 			  "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
6158 			  "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
6159 			  "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
6160 		.rlen	= 496,
6161 		.also_non_np = 1,
6162 		.np	= 3,
6163 		.tap	= { 496 - 20, 4, 16 },
6164 	}, { /* Generated with Crypto++ */
6165 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6166 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6167 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6168 		.klen	= 24,
6169 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6170 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6171 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6172 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6173 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6174 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6175 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6176 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6177 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6178 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6179 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6180 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6181 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6182 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6183 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6184 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6185 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6186 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6187 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6188 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6189 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6190 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6191 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6192 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6193 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6194 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6195 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6196 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6197 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6198 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6199 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6200 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6201 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6202 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6203 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6204 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6205 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6206 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6207 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6208 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6209 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6210 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6211 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6212 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6213 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6214 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6215 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6216 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6217 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6218 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6219 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6220 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6221 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6222 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6223 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6224 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6225 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6226 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6227 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6228 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6229 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6230 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6231 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6232 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
6233 			  "\x2E\xB1\x18",
6234 		.ilen	= 499,
6235 		.result	= "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
6236 			  "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
6237 			  "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
6238 			  "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
6239 			  "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
6240 			  "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
6241 			  "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
6242 			  "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
6243 			  "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
6244 			  "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
6245 			  "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
6246 			  "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
6247 			  "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
6248 			  "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
6249 			  "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
6250 			  "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
6251 			  "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
6252 			  "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
6253 			  "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
6254 			  "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
6255 			  "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
6256 			  "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
6257 			  "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
6258 			  "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
6259 			  "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
6260 			  "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
6261 			  "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
6262 			  "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
6263 			  "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
6264 			  "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
6265 			  "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
6266 			  "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
6267 			  "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
6268 			  "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
6269 			  "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
6270 			  "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
6271 			  "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
6272 			  "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
6273 			  "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
6274 			  "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
6275 			  "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
6276 			  "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
6277 			  "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
6278 			  "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
6279 			  "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
6280 			  "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
6281 			  "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
6282 			  "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
6283 			  "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
6284 			  "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
6285 			  "\x8A\x19\x08\xE1\x08\x48\x59\x51"
6286 			  "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
6287 			  "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
6288 			  "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
6289 			  "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
6290 			  "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
6291 			  "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
6292 			  "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
6293 			  "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
6294 			  "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
6295 			  "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
6296 			  "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
6297 			  "\xF2\x79\xD9",
6298 		.rlen	= 499,
6299 		.also_non_np = 1,
6300 		.np	= 2,
6301 		.tap	= { 499 - 16, 16 },
6302 	},
6303 };
6304 
6305 static const struct cipher_testvec des3_ede_ctr_dec_tv_template[] = {
6306 	{ /* Generated with Crypto++ */
6307 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6308 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6309 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6310 		.klen	= 24,
6311 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
6312 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
6313 		.input	= "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
6314 			  "\x19\xCD\x6F\x32\x53\x05\x22\x15"
6315 			  "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
6316 			  "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
6317 			  "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
6318 			  "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
6319 			  "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
6320 			  "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
6321 			  "\x13\x78\xDC\x89\x12\x12\x43\xFA"
6322 			  "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
6323 			  "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
6324 			  "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
6325 			  "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
6326 			  "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
6327 			  "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
6328 			  "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
6329 			  "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
6330 			  "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
6331 			  "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
6332 			  "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
6333 			  "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
6334 			  "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
6335 			  "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
6336 			  "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
6337 			  "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
6338 			  "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
6339 			  "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
6340 			  "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
6341 			  "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
6342 			  "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
6343 			  "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
6344 			  "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
6345 			  "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
6346 			  "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
6347 			  "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
6348 			  "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
6349 			  "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
6350 			  "\x83\x37\x4F\x1F\x48\x30\xED\x04"
6351 			  "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
6352 			  "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
6353 			  "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
6354 			  "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
6355 			  "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
6356 			  "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
6357 			  "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
6358 			  "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
6359 			  "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
6360 			  "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
6361 			  "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
6362 			  "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
6363 			  "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
6364 			  "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
6365 			  "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
6366 			  "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
6367 			  "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
6368 			  "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
6369 			  "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
6370 			  "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
6371 			  "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
6372 			  "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
6373 			  "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
6374 			  "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
6375 		.ilen	= 496,
6376 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6377 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6378 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6379 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6380 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6381 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6382 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6383 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6384 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6385 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6386 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6387 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6388 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6389 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6390 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6391 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6392 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6393 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6394 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6395 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6396 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6397 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6398 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6399 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6400 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6401 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6402 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6403 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6404 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6405 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6406 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6407 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6408 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6409 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6410 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6411 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6412 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6413 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6414 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6415 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6416 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6417 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6418 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6419 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6420 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6421 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6422 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6423 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6424 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6425 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6426 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6427 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6428 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6429 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6430 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6431 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6432 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6433 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6434 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6435 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6436 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6437 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6438 		.rlen	= 496,
6439 		.also_non_np = 1,
6440 		.np	= 3,
6441 		.tap	= { 496 - 20, 4, 16 },
6442 	}, { /* Generated with Crypto++ */
6443 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6444 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6445 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6446 		.klen	= 24,
6447 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6448 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6449 		.input	= "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
6450 			  "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
6451 			  "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
6452 			  "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
6453 			  "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
6454 			  "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
6455 			  "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
6456 			  "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
6457 			  "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
6458 			  "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
6459 			  "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
6460 			  "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
6461 			  "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
6462 			  "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
6463 			  "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
6464 			  "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
6465 			  "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
6466 			  "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
6467 			  "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
6468 			  "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
6469 			  "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
6470 			  "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
6471 			  "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
6472 			  "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
6473 			  "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
6474 			  "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
6475 			  "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
6476 			  "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
6477 			  "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
6478 			  "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
6479 			  "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
6480 			  "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
6481 			  "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
6482 			  "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
6483 			  "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
6484 			  "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
6485 			  "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
6486 			  "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
6487 			  "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
6488 			  "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
6489 			  "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
6490 			  "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
6491 			  "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
6492 			  "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
6493 			  "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
6494 			  "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
6495 			  "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
6496 			  "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
6497 			  "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
6498 			  "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
6499 			  "\x8A\x19\x08\xE1\x08\x48\x59\x51"
6500 			  "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
6501 			  "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
6502 			  "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
6503 			  "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
6504 			  "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
6505 			  "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
6506 			  "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
6507 			  "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
6508 			  "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
6509 			  "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
6510 			  "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
6511 			  "\xF2\x79\xD9",
6512 		.ilen	= 499,
6513 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6514 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6515 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6516 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6517 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6518 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6519 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6520 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6521 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6522 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6523 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6524 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6525 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6526 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6527 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6528 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6529 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6530 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6531 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6532 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6533 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6534 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6535 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6536 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6537 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6538 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6539 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6540 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6541 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6542 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6543 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6544 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6545 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6546 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6547 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6548 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6549 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6550 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6551 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6552 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6553 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6554 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6555 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6556 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6557 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6558 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6559 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6560 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6561 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6562 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6563 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6564 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6565 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6566 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6567 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6568 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6569 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6570 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6571 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6572 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6573 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6574 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
6575 			  "\x2E\xB1\x18",
6576 		.rlen	= 499,
6577 		.also_non_np = 1,
6578 		.np	= 2,
6579 		.tap	= { 499 - 16, 16 },
6580 	},
6581 };
6582 
6583 /*
6584  * Blowfish test vectors.
6585  */
6586 static const struct cipher_testvec bf_enc_tv_template[] = {
6587 	{ /* DES test vectors from OpenSSL */
6588 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6589 		.klen	= 8,
6590 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6591 		.ilen	= 8,
6592 		.result	= "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
6593 		.rlen	= 8,
6594 	}, {
6595 		.key	= "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
6596 		.klen	= 8,
6597 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
6598 		.ilen	= 8,
6599 		.result	= "\xa7\x90\x79\x51\x08\xea\x3c\xae",
6600 		.rlen	= 8,
6601 	}, {
6602 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
6603 		.klen	= 8,
6604 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6605 		.ilen	= 8,
6606 		.result	= "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
6607 		.rlen	= 8,
6608 	}, { /* Vary the keylength... */
6609 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6610 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
6611 		.klen	= 16,
6612 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6613 		.ilen	= 8,
6614 		.result	= "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
6615 		.rlen	= 8,
6616 	}, {
6617 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6618 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6619 			  "\x00\x11\x22\x33\x44",
6620 		.klen	= 21,
6621 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6622 		.ilen	= 8,
6623 		.result	= "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
6624 		.rlen	= 8,
6625 	}, { /* Generated with bf488 */
6626 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6627 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6628 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
6629 			  "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
6630 			  "\x58\x40\x23\x64\x1a\xba\x61\x76"
6631 			  "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
6632 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
6633 		.klen	= 56,
6634 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6635 		.ilen	= 8,
6636 		.result	= "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
6637 		.rlen	= 8,
6638 	}, { /* Generated with Crypto++ */
6639 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6640 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6641 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6642 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6643 		.klen	= 32,
6644 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6645 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6646 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6647 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6648 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6649 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6650 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6651 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6652 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6653 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6654 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6655 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6656 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6657 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6658 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6659 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6660 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6661 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6662 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6663 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6664 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6665 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6666 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6667 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6668 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6669 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6670 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6671 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6672 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6673 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6674 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6675 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6676 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6677 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6678 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6679 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6680 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6681 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6682 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6683 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6684 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6685 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6686 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6687 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6688 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6689 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6690 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6691 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6692 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6693 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6694 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6695 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6696 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6697 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6698 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6699 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6700 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6701 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6702 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6703 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6704 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6705 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
6706 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
6707 		.ilen	= 504,
6708 		.result	= "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
6709 			  "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
6710 			  "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
6711 			  "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
6712 			  "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
6713 			  "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
6714 			  "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
6715 			  "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
6716 			  "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
6717 			  "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
6718 			  "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
6719 			  "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
6720 			  "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
6721 			  "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
6722 			  "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
6723 			  "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
6724 			  "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
6725 			  "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
6726 			  "\x47\x82\x98\x23\x33\x36\xBC\x1B"
6727 			  "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
6728 			  "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
6729 			  "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
6730 			  "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
6731 			  "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
6732 			  "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
6733 			  "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
6734 			  "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
6735 			  "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
6736 			  "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
6737 			  "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
6738 			  "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
6739 			  "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
6740 			  "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
6741 			  "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
6742 			  "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
6743 			  "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
6744 			  "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
6745 			  "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
6746 			  "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
6747 			  "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
6748 			  "\x3E\x42\x14\x49\x88\x51\xBF\x68"
6749 			  "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
6750 			  "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
6751 			  "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
6752 			  "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
6753 			  "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
6754 			  "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
6755 			  "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
6756 			  "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
6757 			  "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
6758 			  "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
6759 			  "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
6760 			  "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
6761 			  "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
6762 			  "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
6763 			  "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
6764 			  "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
6765 			  "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
6766 			  "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
6767 			  "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
6768 			  "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
6769 			  "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
6770 			  "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
6771 		.rlen	= 504,
6772 		.also_non_np = 1,
6773 		.np	= 3,
6774 		.tap	= { 504 - 10, 2, 8 },
6775 	},
6776 };
6777 
6778 static const struct cipher_testvec bf_dec_tv_template[] = {
6779 	{ /* DES test vectors from OpenSSL */
6780 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6781 		.klen	= 8,
6782 		.input	= "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
6783 		.ilen	= 8,
6784 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6785 		.rlen	= 8,
6786 	}, {
6787 		.key	= "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
6788 		.klen	= 8,
6789 		.input	= "\xa7\x90\x79\x51\x08\xea\x3c\xae",
6790 		.ilen	= 8,
6791 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
6792 		.rlen	= 8,
6793 	}, {
6794 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
6795 		.klen	= 8,
6796 		.input	= "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
6797 		.ilen	= 8,
6798 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6799 		.rlen	= 8,
6800 	}, { /* Vary the keylength... */
6801 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6802 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
6803 		.klen	= 16,
6804 		.input	= "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
6805 		.ilen	= 8,
6806 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6807 		.rlen	= 8,
6808 	}, {
6809 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6810 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6811 			  "\x00\x11\x22\x33\x44",
6812 		.klen	= 21,
6813 		.input	= "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
6814 		.ilen	= 8,
6815 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6816 		.rlen	= 8,
6817 	}, { /* Generated with bf488, using OpenSSL, Libgcrypt and Nettle */
6818 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6819 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6820 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
6821 			  "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
6822 			  "\x58\x40\x23\x64\x1a\xba\x61\x76"
6823 			  "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
6824 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
6825 		.klen	= 56,
6826 		.input	= "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
6827 		.ilen	= 8,
6828 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6829 		.rlen	= 8,
6830 	}, { /* Generated with Crypto++ */
6831 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6832 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6833 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6834 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6835 		.klen	= 32,
6836 		.input	= "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
6837 			  "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
6838 			  "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
6839 			  "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
6840 			  "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
6841 			  "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
6842 			  "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
6843 			  "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
6844 			  "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
6845 			  "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
6846 			  "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
6847 			  "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
6848 			  "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
6849 			  "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
6850 			  "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
6851 			  "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
6852 			  "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
6853 			  "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
6854 			  "\x47\x82\x98\x23\x33\x36\xBC\x1B"
6855 			  "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
6856 			  "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
6857 			  "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
6858 			  "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
6859 			  "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
6860 			  "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
6861 			  "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
6862 			  "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
6863 			  "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
6864 			  "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
6865 			  "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
6866 			  "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
6867 			  "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
6868 			  "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
6869 			  "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
6870 			  "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
6871 			  "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
6872 			  "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
6873 			  "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
6874 			  "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
6875 			  "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
6876 			  "\x3E\x42\x14\x49\x88\x51\xBF\x68"
6877 			  "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
6878 			  "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
6879 			  "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
6880 			  "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
6881 			  "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
6882 			  "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
6883 			  "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
6884 			  "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
6885 			  "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
6886 			  "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
6887 			  "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
6888 			  "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
6889 			  "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
6890 			  "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
6891 			  "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
6892 			  "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
6893 			  "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
6894 			  "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
6895 			  "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
6896 			  "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
6897 			  "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
6898 			  "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
6899 		.ilen	= 504,
6900 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6901 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6902 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6903 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6904 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6905 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6906 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6907 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6908 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6909 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6910 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6911 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6912 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6913 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6914 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6915 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6916 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6917 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6918 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6919 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6920 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6921 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6922 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6923 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6924 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6925 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6926 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6927 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6928 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6929 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6930 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6931 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6932 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6933 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6934 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6935 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6936 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6937 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6938 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6939 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6940 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6941 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6942 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6943 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6944 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6945 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6946 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6947 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6948 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6949 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6950 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6951 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6952 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6953 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6954 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6955 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6956 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6957 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6958 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6959 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6960 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6961 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
6962 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
6963 		.rlen	= 504,
6964 		.also_non_np = 1,
6965 		.np	= 3,
6966 		.tap	= { 504 - 10, 2, 8 },
6967 	},
6968 };
6969 
6970 static const struct cipher_testvec bf_cbc_enc_tv_template[] = {
6971 	{ /* From OpenSSL */
6972 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
6973 			  "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
6974 		.klen	= 16,
6975 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6976 		.input	= "\x37\x36\x35\x34\x33\x32\x31\x20"
6977 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
6978 			  "\x68\x65\x20\x74\x69\x6d\x65\x20"
6979 			  "\x66\x6f\x72\x20\x00\x00\x00\x00",
6980 		.ilen	= 32,
6981 		.result	= "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
6982 			  "\x05\xb1\x56\xe2\x74\x03\x97\x93"
6983 			  "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
6984 			  "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
6985 		.rlen	= 32,
6986 	}, { /* Generated with Crypto++ */
6987 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6988 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6989 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6990 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6991 		.klen	= 32,
6992 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
6993 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6994 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6995 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6996 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6997 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6998 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6999 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7000 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7001 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7002 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7003 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7004 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7005 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7006 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7007 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7008 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7009 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7010 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7011 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7012 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7013 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7014 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7015 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7016 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7017 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7018 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7019 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7020 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7021 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7022 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7023 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7024 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7025 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7026 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7027 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7028 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7029 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7030 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7031 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7032 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7033 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7034 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7035 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7036 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7037 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7038 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7039 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7040 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7041 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7042 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7043 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7044 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7045 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7046 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7047 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7048 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7049 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7050 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7051 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7052 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7053 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7054 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7055 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7056 		.ilen	= 504,
7057 		.result	= "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
7058 			  "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
7059 			  "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
7060 			  "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
7061 			  "\x01\x9C\x93\x63\x51\x60\x82\xD2"
7062 			  "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
7063 			  "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
7064 			  "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
7065 			  "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
7066 			  "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
7067 			  "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
7068 			  "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
7069 			  "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
7070 			  "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
7071 			  "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
7072 			  "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
7073 			  "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
7074 			  "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
7075 			  "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
7076 			  "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
7077 			  "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
7078 			  "\x65\xFE\x15\x40\xD0\x62\x41\x02"
7079 			  "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
7080 			  "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
7081 			  "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
7082 			  "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
7083 			  "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
7084 			  "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
7085 			  "\x04\xF0\x86\x08\x78\x18\x42\xE0"
7086 			  "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
7087 			  "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
7088 			  "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
7089 			  "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
7090 			  "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
7091 			  "\x97\x18\x92\xFF\x15\x11\xCE\xED"
7092 			  "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
7093 			  "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
7094 			  "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
7095 			  "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
7096 			  "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
7097 			  "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
7098 			  "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
7099 			  "\x43\x12\x73\x77\xDB\x91\x83\x5B"
7100 			  "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
7101 			  "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
7102 			  "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
7103 			  "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
7104 			  "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
7105 			  "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
7106 			  "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
7107 			  "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
7108 			  "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
7109 			  "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
7110 			  "\xC5\xF8\x69\x83\x28\x84\x87\x56"
7111 			  "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
7112 			  "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
7113 			  "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
7114 			  "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
7115 			  "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
7116 			  "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
7117 			  "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
7118 			  "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
7119 			  "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
7120 		.rlen	= 504,
7121 		.also_non_np = 1,
7122 		.np	= 3,
7123 		.tap	= { 504 - 10, 2, 8 },
7124 	},
7125 };
7126 
7127 static const struct cipher_testvec bf_cbc_dec_tv_template[] = {
7128 	{ /* From OpenSSL */
7129 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
7130 			  "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
7131 		.klen	= 16,
7132 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7133 		.input	= "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
7134 			  "\x05\xb1\x56\xe2\x74\x03\x97\x93"
7135 			  "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
7136 			  "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
7137 		.ilen	= 32,
7138 		.result	= "\x37\x36\x35\x34\x33\x32\x31\x20"
7139 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
7140 			  "\x68\x65\x20\x74\x69\x6d\x65\x20"
7141 			  "\x66\x6f\x72\x20\x00\x00\x00\x00",
7142 		.rlen	= 32,
7143 	}, { /* Generated with Crypto++ */
7144 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7145 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7146 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7147 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7148 		.klen	= 32,
7149 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7150 		.input	= "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
7151 			  "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
7152 			  "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
7153 			  "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
7154 			  "\x01\x9C\x93\x63\x51\x60\x82\xD2"
7155 			  "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
7156 			  "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
7157 			  "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
7158 			  "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
7159 			  "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
7160 			  "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
7161 			  "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
7162 			  "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
7163 			  "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
7164 			  "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
7165 			  "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
7166 			  "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
7167 			  "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
7168 			  "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
7169 			  "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
7170 			  "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
7171 			  "\x65\xFE\x15\x40\xD0\x62\x41\x02"
7172 			  "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
7173 			  "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
7174 			  "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
7175 			  "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
7176 			  "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
7177 			  "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
7178 			  "\x04\xF0\x86\x08\x78\x18\x42\xE0"
7179 			  "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
7180 			  "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
7181 			  "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
7182 			  "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
7183 			  "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
7184 			  "\x97\x18\x92\xFF\x15\x11\xCE\xED"
7185 			  "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
7186 			  "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
7187 			  "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
7188 			  "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
7189 			  "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
7190 			  "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
7191 			  "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
7192 			  "\x43\x12\x73\x77\xDB\x91\x83\x5B"
7193 			  "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
7194 			  "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
7195 			  "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
7196 			  "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
7197 			  "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
7198 			  "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
7199 			  "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
7200 			  "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
7201 			  "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
7202 			  "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
7203 			  "\xC5\xF8\x69\x83\x28\x84\x87\x56"
7204 			  "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
7205 			  "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
7206 			  "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
7207 			  "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
7208 			  "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
7209 			  "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
7210 			  "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
7211 			  "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
7212 			  "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
7213 		.ilen	= 504,
7214 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7215 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7216 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7217 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7218 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7219 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7220 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7221 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7222 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7223 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7224 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7225 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7226 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7227 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7228 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7229 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7230 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7231 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7232 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7233 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7234 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7235 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7236 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7237 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7238 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7239 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7240 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7241 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7242 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7243 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7244 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7245 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7246 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7247 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7248 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7249 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7250 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7251 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7252 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7253 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7254 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7255 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7256 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7257 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7258 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7259 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7260 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7261 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7262 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7263 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7264 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7265 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7266 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7267 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7268 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7269 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7270 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7271 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7272 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7273 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7274 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7275 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7276 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7277 		.rlen	= 504,
7278 		.also_non_np = 1,
7279 		.np	= 3,
7280 		.tap	= { 504 - 10, 2, 8 },
7281 	},
7282 };
7283 
7284 static const struct cipher_testvec bf_ctr_enc_tv_template[] = {
7285 	{ /* Generated with Crypto++ */
7286 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7287 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7288 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7289 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7290 		.klen	= 32,
7291 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7292 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7293 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7294 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7295 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7296 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7297 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7298 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7299 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7300 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7301 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7302 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7303 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7304 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7305 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7306 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7307 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7308 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7309 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7310 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7311 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7312 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7313 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7314 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7315 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7316 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7317 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7318 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7319 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7320 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7321 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7322 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7323 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7324 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7325 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7326 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7327 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7328 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7329 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7330 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7331 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7332 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7333 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7334 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7335 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7336 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7337 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7338 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7339 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7340 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7341 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7342 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7343 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7344 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7345 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7346 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7347 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7348 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7349 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7350 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7351 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7352 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7353 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7354 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7355 		.ilen	= 504,
7356 		.result	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7357 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7358 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7359 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7360 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7361 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7362 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7363 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7364 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7365 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7366 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7367 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7368 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7369 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7370 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7371 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7372 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7373 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7374 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7375 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7376 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7377 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7378 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7379 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7380 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7381 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7382 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7383 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7384 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7385 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7386 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7387 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7388 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7389 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7390 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7391 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7392 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7393 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7394 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7395 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7396 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7397 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7398 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7399 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7400 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
7401 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7402 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7403 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7404 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7405 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7406 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7407 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7408 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7409 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7410 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7411 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7412 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7413 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7414 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7415 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7416 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7417 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7418 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
7419 		.rlen	= 504,
7420 	}, { /* Generated with Crypto++ */
7421 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7422 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7423 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7424 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7425 		.klen	= 32,
7426 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7427 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7428 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7429 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7430 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7431 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7432 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7433 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7434 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7435 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7436 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7437 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7438 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7439 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7440 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7441 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7442 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7443 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7444 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7445 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7446 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7447 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7448 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7449 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7450 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7451 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7452 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7453 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7454 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7455 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7456 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7457 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7458 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7459 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7460 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7461 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7462 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7463 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7464 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7465 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7466 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7467 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7468 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7469 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7470 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7471 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7472 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7473 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7474 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7475 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7476 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7477 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7478 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7479 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7480 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7481 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7482 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7483 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7484 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7485 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7486 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7487 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7488 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7489 			  "\x2B\xC2\x59\xF0\x64\xFB\x92",
7490 		.ilen	= 503,
7491 		.result	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7492 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7493 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7494 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7495 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7496 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7497 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7498 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7499 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7500 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7501 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7502 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7503 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7504 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7505 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7506 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7507 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7508 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7509 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7510 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7511 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7512 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7513 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7514 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7515 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7516 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7517 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7518 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7519 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7520 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7521 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7522 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7523 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7524 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7525 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7526 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7527 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7528 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7529 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7530 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7531 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7532 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7533 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7534 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7535 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
7536 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7537 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7538 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7539 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7540 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7541 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7542 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7543 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7544 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7545 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7546 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7547 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7548 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7549 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7550 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7551 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7552 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7553 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
7554 		.rlen	= 503,
7555 		.also_non_np = 1,
7556 		.np	= 2,
7557 		.tap	= { 503 - 8, 8 },
7558 	}, { /* Generated with Crypto++ */
7559 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7560 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7561 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7562 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7563 		.klen	= 32,
7564 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
7565 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7566 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7567 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7568 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7569 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7570 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7571 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7572 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7573 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7574 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7575 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7576 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7577 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7578 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7579 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7580 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7581 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7582 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7583 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7584 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7585 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7586 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7587 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7588 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7589 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7590 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7591 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7592 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7593 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7594 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7595 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7596 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7597 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7598 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7599 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7600 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7601 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7602 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7603 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7604 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7605 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7606 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7607 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7608 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7609 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7610 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7611 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7612 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7613 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7614 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7615 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7616 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7617 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7618 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7619 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7620 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7621 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7622 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7623 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7624 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7625 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7626 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7627 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7628 		.ilen	= 504,
7629 		.result	= "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
7630 			  "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
7631 			  "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
7632 			  "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
7633 			  "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
7634 			  "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
7635 			  "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
7636 			  "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
7637 			  "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
7638 			  "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
7639 			  "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
7640 			  "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
7641 			  "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
7642 			  "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
7643 			  "\x0B\x82\x59\x14\x26\x67\x08\x09"
7644 			  "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
7645 			  "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
7646 			  "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
7647 			  "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
7648 			  "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
7649 			  "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
7650 			  "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
7651 			  "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
7652 			  "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
7653 			  "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
7654 			  "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
7655 			  "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
7656 			  "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
7657 			  "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
7658 			  "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
7659 			  "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
7660 			  "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
7661 			  "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
7662 			  "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
7663 			  "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
7664 			  "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
7665 			  "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
7666 			  "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
7667 			  "\xB4\x19\xD8\x19\x45\x66\x27\x02"
7668 			  "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
7669 			  "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
7670 			  "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
7671 			  "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
7672 			  "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
7673 			  "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
7674 			  "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
7675 			  "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
7676 			  "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
7677 			  "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
7678 			  "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
7679 			  "\x91\x51\x4E\x71\xF2\x98\x85\x16"
7680 			  "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
7681 			  "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
7682 			  "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
7683 			  "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
7684 			  "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
7685 			  "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
7686 			  "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
7687 			  "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
7688 			  "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
7689 			  "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
7690 			  "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
7691 			  "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
7692 		.rlen	= 504,
7693 	},
7694 };
7695 
7696 static const struct cipher_testvec bf_ctr_dec_tv_template[] = {
7697 	{ /* Generated with Crypto++ */
7698 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7699 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7700 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7701 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7702 		.klen	= 32,
7703 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7704 		.input	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7705 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7706 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7707 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7708 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7709 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7710 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7711 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7712 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7713 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7714 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7715 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7716 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7717 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7718 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7719 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7720 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7721 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7722 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7723 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7724 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7725 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7726 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7727 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7728 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7729 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7730 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7731 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7732 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7733 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7734 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7735 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7736 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7737 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7738 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7739 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7740 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7741 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7742 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7743 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7744 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7745 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7746 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7747 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7748 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
7749 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7750 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7751 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7752 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7753 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7754 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7755 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7756 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7757 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7758 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7759 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7760 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7761 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7762 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7763 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7764 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7765 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7766 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
7767 		.ilen	= 504,
7768 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7769 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7770 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7771 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7772 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7773 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7774 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7775 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7776 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7777 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7778 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7779 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7780 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7781 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7782 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7783 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7784 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7785 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7786 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7787 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7788 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7789 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7790 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7791 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7792 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7793 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7794 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7795 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7796 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7797 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7798 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7799 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7800 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7801 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7802 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7803 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7804 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7805 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7806 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7807 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7808 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7809 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7810 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7811 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7812 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7813 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7814 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7815 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7816 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7817 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7818 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7819 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7820 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7821 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7822 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7823 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7824 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7825 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7826 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7827 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7828 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7829 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7830 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7831 		.rlen	= 504,
7832 	}, { /* Generated with Crypto++ */
7833 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7834 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7835 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7836 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7837 		.klen	= 32,
7838 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7839 		.input	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7840 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7841 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7842 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7843 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7844 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7845 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7846 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7847 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7848 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7849 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7850 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7851 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7852 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7853 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7854 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7855 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7856 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7857 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7858 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7859 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7860 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7861 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7862 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7863 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7864 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7865 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7866 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7867 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7868 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7869 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7870 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7871 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7872 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7873 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7874 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7875 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7876 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7877 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7878 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7879 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7880 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7881 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7882 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7883 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
7884 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7885 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7886 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7887 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7888 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7889 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7890 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7891 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7892 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7893 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7894 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7895 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7896 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7897 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7898 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7899 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7900 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7901 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
7902 		.ilen	= 503,
7903 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7904 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7905 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7906 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7907 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7908 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7909 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7910 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7911 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7912 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7913 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7914 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7915 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7916 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7917 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7918 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7919 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7920 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7921 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7922 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7923 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7924 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7925 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7926 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7927 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7928 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7929 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7930 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7931 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7932 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7933 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7934 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7935 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7936 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7937 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7938 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7939 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7940 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7941 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7942 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7943 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7944 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7945 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7946 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7947 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7948 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7949 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7950 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7951 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7952 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7953 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7954 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7955 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7956 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7957 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7958 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7959 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7960 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7961 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7962 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7963 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7964 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7965 			  "\x2B\xC2\x59\xF0\x64\xFB\x92",
7966 		.rlen	= 503,
7967 		.also_non_np = 1,
7968 		.np	= 2,
7969 		.tap	= { 503 - 8, 8 },
7970 	}, { /* Generated with Crypto++ */
7971 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7972 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7973 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7974 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7975 		.klen	= 32,
7976 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
7977 		.input	= "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
7978 			  "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
7979 			  "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
7980 			  "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
7981 			  "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
7982 			  "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
7983 			  "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
7984 			  "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
7985 			  "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
7986 			  "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
7987 			  "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
7988 			  "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
7989 			  "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
7990 			  "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
7991 			  "\x0B\x82\x59\x14\x26\x67\x08\x09"
7992 			  "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
7993 			  "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
7994 			  "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
7995 			  "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
7996 			  "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
7997 			  "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
7998 			  "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
7999 			  "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
8000 			  "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
8001 			  "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
8002 			  "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
8003 			  "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
8004 			  "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
8005 			  "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
8006 			  "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
8007 			  "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
8008 			  "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
8009 			  "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
8010 			  "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
8011 			  "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
8012 			  "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
8013 			  "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
8014 			  "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
8015 			  "\xB4\x19\xD8\x19\x45\x66\x27\x02"
8016 			  "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
8017 			  "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
8018 			  "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
8019 			  "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
8020 			  "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
8021 			  "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
8022 			  "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
8023 			  "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
8024 			  "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
8025 			  "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
8026 			  "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
8027 			  "\x91\x51\x4E\x71\xF2\x98\x85\x16"
8028 			  "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
8029 			  "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
8030 			  "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
8031 			  "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
8032 			  "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
8033 			  "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
8034 			  "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
8035 			  "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
8036 			  "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
8037 			  "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
8038 			  "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
8039 			  "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
8040 		.ilen	= 504,
8041 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8042 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8043 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8044 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8045 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8046 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8047 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8048 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8049 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8050 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8051 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8052 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8053 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8054 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8055 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8056 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8057 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8058 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8059 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8060 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8061 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8062 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8063 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8064 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8065 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8066 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8067 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8068 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8069 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8070 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8071 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8072 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8073 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8074 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8075 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8076 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8077 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8078 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8079 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8080 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8081 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8082 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8083 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8084 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8085 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8086 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8087 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8088 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8089 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8090 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8091 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8092 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8093 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8094 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8095 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8096 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8097 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8098 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8099 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8100 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8101 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8102 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8103 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
8104 		.rlen	= 504,
8105 	},
8106 };
8107 
8108 /*
8109  * Twofish test vectors.
8110  */
8111 static const struct cipher_testvec tf_enc_tv_template[] = {
8112 	{
8113 		.key	= zeroed_string,
8114 		.klen	= 16,
8115 		.input	= zeroed_string,
8116 		.ilen	= 16,
8117 		.result	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8118 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8119 		.rlen	= 16,
8120 	}, {
8121 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8122 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8123 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
8124 		.klen	= 24,
8125 		.input	= zeroed_string,
8126 		.ilen	= 16,
8127 		.result	= "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
8128 			  "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
8129 		.rlen	= 16,
8130 	}, {
8131 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8132 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8133 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
8134 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
8135 		.klen	= 32,
8136 		.input	= zeroed_string,
8137 		.ilen	= 16,
8138 		.result	= "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
8139 			  "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
8140 		.rlen	= 16,
8141 	}, { /* Generated with Crypto++ */
8142 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
8143 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
8144 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
8145 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
8146 		.klen	= 32,
8147 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8148 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8149 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8150 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8151 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8152 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8153 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8154 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8155 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8156 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8157 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8158 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8159 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8160 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8161 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8162 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8163 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8164 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8165 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8166 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8167 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8168 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8169 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8170 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8171 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8172 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8173 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8174 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8175 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8176 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8177 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8178 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8179 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8180 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8181 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8182 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8183 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8184 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8185 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8186 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8187 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8188 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8189 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8190 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8191 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8192 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8193 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8194 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8195 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8196 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8197 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8198 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8199 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8200 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8201 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8202 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8203 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8204 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8205 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8206 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8207 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8208 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8209 		.ilen	= 496,
8210 		.result	= "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
8211 			  "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
8212 			  "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
8213 			  "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
8214 			  "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
8215 			  "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
8216 			  "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
8217 			  "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
8218 			  "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
8219 			  "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
8220 			  "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
8221 			  "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
8222 			  "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
8223 			  "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
8224 			  "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
8225 			  "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
8226 			  "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
8227 			  "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
8228 			  "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
8229 			  "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
8230 			  "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
8231 			  "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
8232 			  "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
8233 			  "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
8234 			  "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
8235 			  "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
8236 			  "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
8237 			  "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
8238 			  "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
8239 			  "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
8240 			  "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
8241 			  "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
8242 			  "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
8243 			  "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
8244 			  "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
8245 			  "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
8246 			  "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
8247 			  "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
8248 			  "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
8249 			  "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
8250 			  "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
8251 			  "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
8252 			  "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
8253 			  "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
8254 			  "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
8255 			  "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
8256 			  "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
8257 			  "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
8258 			  "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
8259 			  "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
8260 			  "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
8261 			  "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
8262 			  "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
8263 			  "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
8264 			  "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
8265 			  "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
8266 			  "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
8267 			  "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
8268 			  "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
8269 			  "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
8270 			  "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
8271 			  "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
8272 		.rlen	= 496,
8273 		.also_non_np = 1,
8274 		.np	= 3,
8275 		.tap	= { 496 - 20, 4, 16 },
8276 	},
8277 };
8278 
8279 static const struct cipher_testvec tf_dec_tv_template[] = {
8280 	{
8281 		.key	= zeroed_string,
8282 		.klen	= 16,
8283 		.input	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8284 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8285 		.ilen	= 16,
8286 		.result	= zeroed_string,
8287 		.rlen	= 16,
8288 	}, {
8289 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8290 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8291 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
8292 		.klen	= 24,
8293 		.input	= "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
8294 			  "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
8295 		.ilen	= 16,
8296 		.result	= zeroed_string,
8297 		.rlen	= 16,
8298 	}, {
8299 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8300 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8301 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
8302 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
8303 		.klen	= 32,
8304 		.input	= "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
8305 			  "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
8306 		.ilen	= 16,
8307 		.result	= zeroed_string,
8308 		.rlen	= 16,
8309 	}, { /* Generated with Crypto++ */
8310 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
8311 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
8312 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
8313 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
8314 		.klen	= 32,
8315 		.input	= "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
8316 			  "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
8317 			  "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
8318 			  "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
8319 			  "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
8320 			  "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
8321 			  "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
8322 			  "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
8323 			  "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
8324 			  "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
8325 			  "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
8326 			  "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
8327 			  "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
8328 			  "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
8329 			  "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
8330 			  "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
8331 			  "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
8332 			  "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
8333 			  "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
8334 			  "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
8335 			  "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
8336 			  "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
8337 			  "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
8338 			  "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
8339 			  "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
8340 			  "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
8341 			  "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
8342 			  "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
8343 			  "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
8344 			  "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
8345 			  "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
8346 			  "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
8347 			  "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
8348 			  "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
8349 			  "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
8350 			  "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
8351 			  "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
8352 			  "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
8353 			  "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
8354 			  "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
8355 			  "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
8356 			  "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
8357 			  "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
8358 			  "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
8359 			  "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
8360 			  "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
8361 			  "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
8362 			  "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
8363 			  "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
8364 			  "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
8365 			  "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
8366 			  "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
8367 			  "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
8368 			  "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
8369 			  "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
8370 			  "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
8371 			  "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
8372 			  "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
8373 			  "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
8374 			  "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
8375 			  "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
8376 			  "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
8377 		.ilen	= 496,
8378 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8379 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8380 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8381 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8382 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8383 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8384 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8385 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8386 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8387 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8388 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8389 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8390 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8391 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8392 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8393 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8394 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8395 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8396 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8397 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8398 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8399 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8400 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8401 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8402 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8403 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8404 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8405 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8406 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8407 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8408 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8409 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8410 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8411 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8412 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8413 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8414 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8415 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8416 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8417 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8418 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8419 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8420 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8421 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8422 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8423 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8424 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8425 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8426 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8427 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8428 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8429 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8430 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8431 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8432 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8433 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8434 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8435 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8436 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8437 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8438 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8439 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8440 		.rlen	= 496,
8441 		.also_non_np = 1,
8442 		.np	= 3,
8443 		.tap	= { 496 - 20, 4, 16 },
8444 	},
8445 };
8446 
8447 static const struct cipher_testvec tf_cbc_enc_tv_template[] = {
8448 	{ /* Generated with Nettle */
8449 		.key	= zeroed_string,
8450 		.klen	= 16,
8451 		.iv	= zeroed_string,
8452 		.input	= zeroed_string,
8453 		.ilen	= 16,
8454 		.result	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8455 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8456 		.rlen	= 16,
8457 	}, {
8458 		.key	= zeroed_string,
8459 		.klen	= 16,
8460 		.iv	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8461 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8462 		.input	= zeroed_string,
8463 		.ilen	= 16,
8464 		.result	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8465 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8466 		.rlen	= 16,
8467 	}, {
8468 		.key	= zeroed_string,
8469 		.klen	= 16,
8470 		.iv	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8471 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8472 		.input	= zeroed_string,
8473 		.ilen	= 16,
8474 		.result	= "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8475 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8476 		.rlen	= 16,
8477 	}, {
8478 		.key	= zeroed_string,
8479 		.klen	= 16,
8480 		.iv	= zeroed_string,
8481 		.input	= zeroed_string,
8482 		.ilen	= 48,
8483 		.result	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8484 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
8485 			  "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8486 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
8487 			  "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8488 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8489 		.rlen	= 48,
8490 	}, { /* Generated with Crypto++ */
8491 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8492 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8493 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8494 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8495 		.klen	= 32,
8496 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8497 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8498 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8499 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8500 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8501 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8502 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8503 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8504 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8505 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8506 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8507 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8508 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8509 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8510 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8511 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8512 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8513 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8514 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8515 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8516 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8517 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8518 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8519 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8520 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8521 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8522 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8523 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8524 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8525 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8526 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8527 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8528 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8529 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8530 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8531 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8532 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8533 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8534 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8535 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8536 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8537 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8538 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8539 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8540 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8541 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8542 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8543 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8544 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8545 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8546 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8547 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8548 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8549 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8550 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8551 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8552 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8553 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8554 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8555 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8556 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8557 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8558 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8559 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8560 		.ilen	= 496,
8561 		.result	= "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
8562 			  "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
8563 			  "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
8564 			  "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
8565 			  "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
8566 			  "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
8567 			  "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
8568 			  "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
8569 			  "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
8570 			  "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
8571 			  "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
8572 			  "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
8573 			  "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
8574 			  "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
8575 			  "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
8576 			  "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
8577 			  "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
8578 			  "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
8579 			  "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
8580 			  "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
8581 			  "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
8582 			  "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
8583 			  "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
8584 			  "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
8585 			  "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
8586 			  "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
8587 			  "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
8588 			  "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
8589 			  "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
8590 			  "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
8591 			  "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
8592 			  "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
8593 			  "\x75\x42\x62\x04\x31\x1F\x95\x7C"
8594 			  "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
8595 			  "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
8596 			  "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
8597 			  "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
8598 			  "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
8599 			  "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
8600 			  "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
8601 			  "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
8602 			  "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
8603 			  "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
8604 			  "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
8605 			  "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
8606 			  "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
8607 			  "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
8608 			  "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
8609 			  "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
8610 			  "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
8611 			  "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
8612 			  "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
8613 			  "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
8614 			  "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
8615 			  "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
8616 			  "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
8617 			  "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
8618 			  "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
8619 			  "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
8620 			  "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
8621 			  "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
8622 			  "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
8623 		.rlen	= 496,
8624 		.also_non_np = 1,
8625 		.np	= 3,
8626 		.tap	= { 496 - 20, 4, 16 },
8627 	},
8628 };
8629 
8630 static const struct cipher_testvec tf_cbc_dec_tv_template[] = {
8631 	{ /* Reverse of the first four above */
8632 		.key	= zeroed_string,
8633 		.klen	= 16,
8634 		.iv	= zeroed_string,
8635 		.input	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8636 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8637 		.ilen	= 16,
8638 		.result	= zeroed_string,
8639 		.rlen	= 16,
8640 	}, {
8641 		.key	= zeroed_string,
8642 		.klen	= 16,
8643 		.iv	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8644 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8645 		.input	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8646 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8647 		.ilen	= 16,
8648 		.result	= zeroed_string,
8649 		.rlen	= 16,
8650 	}, {
8651 		.key	= zeroed_string,
8652 		.klen	= 16,
8653 		.iv	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8654 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8655 		.input	= "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8656 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8657 		.ilen	= 16,
8658 		.result	= zeroed_string,
8659 		.rlen	= 16,
8660 	}, {
8661 		.key	= zeroed_string,
8662 		.klen	= 16,
8663 		.iv	= zeroed_string,
8664 		.input	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8665 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
8666 			  "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8667 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
8668 			  "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8669 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8670 		.ilen	= 48,
8671 		.result	= zeroed_string,
8672 		.rlen	= 48,
8673 	}, { /* Generated with Crypto++ */
8674 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8675 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8676 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8677 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8678 		.klen	= 32,
8679 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8680 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8681 		.input	= "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
8682 			  "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
8683 			  "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
8684 			  "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
8685 			  "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
8686 			  "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
8687 			  "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
8688 			  "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
8689 			  "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
8690 			  "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
8691 			  "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
8692 			  "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
8693 			  "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
8694 			  "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
8695 			  "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
8696 			  "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
8697 			  "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
8698 			  "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
8699 			  "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
8700 			  "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
8701 			  "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
8702 			  "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
8703 			  "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
8704 			  "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
8705 			  "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
8706 			  "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
8707 			  "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
8708 			  "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
8709 			  "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
8710 			  "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
8711 			  "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
8712 			  "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
8713 			  "\x75\x42\x62\x04\x31\x1F\x95\x7C"
8714 			  "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
8715 			  "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
8716 			  "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
8717 			  "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
8718 			  "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
8719 			  "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
8720 			  "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
8721 			  "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
8722 			  "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
8723 			  "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
8724 			  "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
8725 			  "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
8726 			  "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
8727 			  "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
8728 			  "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
8729 			  "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
8730 			  "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
8731 			  "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
8732 			  "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
8733 			  "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
8734 			  "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
8735 			  "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
8736 			  "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
8737 			  "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
8738 			  "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
8739 			  "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
8740 			  "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
8741 			  "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
8742 			  "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
8743 		.ilen	= 496,
8744 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8745 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8746 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8747 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8748 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8749 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8750 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8751 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8752 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8753 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8754 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8755 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8756 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8757 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8758 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8759 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8760 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8761 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8762 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8763 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8764 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8765 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8766 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8767 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8768 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8769 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8770 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8771 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8772 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8773 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8774 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8775 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8776 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8777 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8778 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8779 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8780 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8781 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8782 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8783 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8784 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8785 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8786 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8787 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8788 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8789 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8790 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8791 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8792 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8793 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8794 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8795 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8796 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8797 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8798 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8799 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8800 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8801 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8802 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8803 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8804 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8805 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8806 		.rlen	= 496,
8807 		.also_non_np = 1,
8808 		.np	= 3,
8809 		.tap	= { 496 - 20, 4, 16 },
8810 	},
8811 };
8812 
8813 static const struct cipher_testvec tf_ctr_enc_tv_template[] = {
8814 	{ /* Generated with Crypto++ */
8815 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8816 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8817 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8818 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8819 		.klen	= 32,
8820 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8821 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8822 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8823 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8824 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8825 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8826 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8827 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8828 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8829 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8830 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8831 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8832 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8833 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8834 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8835 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8836 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8837 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8838 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8839 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8840 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8841 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8842 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8843 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8844 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8845 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8846 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8847 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8848 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8849 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8850 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8851 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8852 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8853 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8854 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8855 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8856 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8857 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8858 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8859 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8860 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8861 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8862 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8863 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8864 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8865 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8866 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8867 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8868 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8869 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8870 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8871 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8872 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8873 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8874 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8875 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8876 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8877 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8878 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8879 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8880 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8881 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8882 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8883 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8884 		.ilen	= 496,
8885 		.result	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
8886 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
8887 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
8888 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
8889 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
8890 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
8891 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
8892 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
8893 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
8894 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
8895 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
8896 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
8897 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
8898 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
8899 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
8900 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
8901 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
8902 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
8903 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
8904 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
8905 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
8906 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
8907 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
8908 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
8909 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
8910 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
8911 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
8912 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
8913 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
8914 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
8915 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
8916 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
8917 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
8918 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
8919 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
8920 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
8921 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
8922 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
8923 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
8924 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
8925 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
8926 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
8927 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
8928 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
8929 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
8930 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
8931 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
8932 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
8933 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
8934 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
8935 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
8936 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
8937 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
8938 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
8939 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
8940 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
8941 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
8942 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
8943 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
8944 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
8945 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
8946 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
8947 		.rlen	= 496,
8948 	}, { /* Generated with Crypto++ */
8949 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8950 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8951 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8952 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8953 		.klen	= 32,
8954 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
8955 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
8956 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8957 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8958 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8959 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8960 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8961 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8962 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8963 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8964 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8965 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8966 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8967 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8968 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8969 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8970 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8971 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8972 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8973 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8974 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8975 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8976 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8977 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8978 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8979 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8980 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8981 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8982 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8983 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8984 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8985 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8986 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8987 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8988 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8989 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8990 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8991 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8992 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8993 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8994 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8995 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8996 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8997 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8998 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8999 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9000 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9001 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9002 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9003 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9004 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9005 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9006 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9007 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9008 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9009 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9010 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9011 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9012 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9013 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9014 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9015 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9016 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9017 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9018 		.ilen	= 496,
9019 		.result	= "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
9020 			  "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
9021 			  "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
9022 			  "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
9023 			  "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
9024 			  "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
9025 			  "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
9026 			  "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
9027 			  "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
9028 			  "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
9029 			  "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
9030 			  "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
9031 			  "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
9032 			  "\x39\x18\x09\xA4\x82\x59\x78\xE7"
9033 			  "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
9034 			  "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
9035 			  "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
9036 			  "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
9037 			  "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
9038 			  "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
9039 			  "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
9040 			  "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
9041 			  "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
9042 			  "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
9043 			  "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
9044 			  "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
9045 			  "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
9046 			  "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
9047 			  "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
9048 			  "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
9049 			  "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
9050 			  "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
9051 			  "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
9052 			  "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
9053 			  "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
9054 			  "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
9055 			  "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
9056 			  "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
9057 			  "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
9058 			  "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
9059 			  "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
9060 			  "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
9061 			  "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
9062 			  "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
9063 			  "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
9064 			  "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
9065 			  "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
9066 			  "\xDE\x55\x1B\x50\x14\x53\x44\x17"
9067 			  "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
9068 			  "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
9069 			  "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
9070 			  "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
9071 			  "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
9072 			  "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
9073 			  "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
9074 			  "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
9075 			  "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
9076 			  "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
9077 			  "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
9078 			  "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
9079 			  "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
9080 			  "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
9081 		.rlen	= 496,
9082 	}, { /* Generated with Crypto++ */
9083 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9084 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9085 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9086 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9087 		.klen	= 32,
9088 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9089 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9090 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9091 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9092 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9093 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9094 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9095 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9096 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9097 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9098 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9099 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9100 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9101 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9102 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9103 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9104 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9105 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9106 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9107 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9108 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9109 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9110 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9111 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9112 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9113 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9114 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9115 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9116 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9117 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9118 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9119 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9120 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9121 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9122 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9123 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9124 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9125 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9126 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9127 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9128 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9129 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9130 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9131 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9132 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9133 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9134 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9135 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9136 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9137 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9138 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9139 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9140 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9141 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9142 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9143 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9144 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9145 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9146 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9147 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9148 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9149 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9150 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9151 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9152 			  "\x2B\xC2\x59",
9153 		.ilen	= 499,
9154 		.result	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9155 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9156 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9157 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9158 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9159 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9160 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9161 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9162 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9163 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9164 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9165 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9166 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9167 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9168 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9169 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9170 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9171 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9172 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9173 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9174 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9175 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9176 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9177 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9178 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9179 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9180 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9181 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9182 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9183 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9184 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9185 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9186 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9187 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9188 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9189 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9190 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9191 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9192 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9193 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9194 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9195 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9196 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9197 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9198 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9199 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9200 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9201 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9202 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9203 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9204 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9205 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9206 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9207 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9208 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9209 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9210 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9211 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9212 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9213 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9214 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9215 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
9216 			  "\x6C\x82\x9D",
9217 		.rlen	= 499,
9218 		.also_non_np = 1,
9219 		.np	= 2,
9220 		.tap	= { 499 - 16, 16 },
9221 	},
9222 };
9223 
9224 static const struct cipher_testvec tf_ctr_dec_tv_template[] = {
9225 	{ /* Generated with Crypto++ */
9226 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9227 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9228 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9229 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9230 		.klen	= 32,
9231 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9232 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9233 		.input	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9234 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9235 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9236 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9237 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9238 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9239 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9240 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9241 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9242 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9243 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9244 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9245 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9246 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9247 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9248 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9249 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9250 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9251 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9252 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9253 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9254 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9255 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9256 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9257 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9258 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9259 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9260 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9261 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9262 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9263 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9264 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9265 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9266 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9267 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9268 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9269 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9270 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9271 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9272 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9273 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9274 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9275 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9276 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9277 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9278 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9279 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9280 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9281 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9282 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9283 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9284 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9285 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9286 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9287 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9288 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9289 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9290 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9291 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9292 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9293 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9294 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
9295 		.ilen	= 496,
9296 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9297 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9298 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9299 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9300 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9301 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9302 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9303 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9304 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9305 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9306 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9307 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9308 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9309 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9310 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9311 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9312 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9313 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9314 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9315 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9316 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9317 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9318 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9319 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9320 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9321 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9322 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9323 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9324 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9325 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9326 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9327 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9328 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9329 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9330 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9331 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9332 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9333 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9334 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9335 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9336 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9337 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9338 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9339 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9340 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9341 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9342 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9343 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9344 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9345 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9346 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9347 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9348 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9349 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9350 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9351 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9352 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9353 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9354 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9355 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9356 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9357 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9358 		.rlen	= 496,
9359 	}, { /* Generated with Crypto++ */
9360 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9361 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9362 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9363 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9364 		.klen	= 32,
9365 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
9366 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9367 		.input	= "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
9368 			  "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
9369 			  "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
9370 			  "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
9371 			  "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
9372 			  "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
9373 			  "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
9374 			  "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
9375 			  "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
9376 			  "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
9377 			  "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
9378 			  "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
9379 			  "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
9380 			  "\x39\x18\x09\xA4\x82\x59\x78\xE7"
9381 			  "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
9382 			  "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
9383 			  "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
9384 			  "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
9385 			  "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
9386 			  "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
9387 			  "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
9388 			  "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
9389 			  "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
9390 			  "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
9391 			  "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
9392 			  "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
9393 			  "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
9394 			  "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
9395 			  "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
9396 			  "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
9397 			  "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
9398 			  "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
9399 			  "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
9400 			  "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
9401 			  "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
9402 			  "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
9403 			  "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
9404 			  "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
9405 			  "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
9406 			  "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
9407 			  "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
9408 			  "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
9409 			  "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
9410 			  "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
9411 			  "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
9412 			  "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
9413 			  "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
9414 			  "\xDE\x55\x1B\x50\x14\x53\x44\x17"
9415 			  "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
9416 			  "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
9417 			  "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
9418 			  "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
9419 			  "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
9420 			  "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
9421 			  "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
9422 			  "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
9423 			  "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
9424 			  "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
9425 			  "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
9426 			  "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
9427 			  "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
9428 			  "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
9429 		.ilen	= 496,
9430 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9431 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9432 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9433 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9434 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9435 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9436 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9437 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9438 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9439 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9440 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9441 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9442 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9443 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9444 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9445 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9446 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9447 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9448 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9449 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9450 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9451 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9452 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9453 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9454 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9455 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9456 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9457 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9458 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9459 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9460 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9461 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9462 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9463 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9464 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9465 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9466 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9467 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9468 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9469 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9470 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9471 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9472 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9473 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9474 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9475 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9476 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9477 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9478 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9479 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9480 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9481 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9482 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9483 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9484 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9485 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9486 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9487 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9488 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9489 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9490 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9491 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9492 		.rlen	= 496,
9493 	}, { /* Generated with Crypto++ */
9494 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9495 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9496 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9497 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9498 		.klen	= 32,
9499 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9500 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9501 		.input	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9502 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9503 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9504 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9505 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9506 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9507 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9508 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9509 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9510 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9511 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9512 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9513 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9514 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9515 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9516 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9517 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9518 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9519 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9520 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9521 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9522 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9523 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9524 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9525 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9526 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9527 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9528 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9529 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9530 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9531 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9532 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9533 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9534 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9535 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9536 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9537 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9538 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9539 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9540 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9541 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9542 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9543 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9544 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9545 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9546 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9547 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9548 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9549 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9550 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9551 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9552 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9553 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9554 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9555 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9556 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9557 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9558 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9559 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9560 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9561 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9562 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
9563 			  "\x6C\x82\x9D",
9564 		.ilen	= 499,
9565 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9566 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9567 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9568 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9569 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9570 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9571 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9572 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9573 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9574 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9575 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9576 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9577 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9578 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9579 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9580 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9581 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9582 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9583 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9584 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9585 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9586 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9587 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9588 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9589 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9590 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9591 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9592 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9593 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9594 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9595 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9596 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9597 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9598 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9599 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9600 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9601 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9602 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9603 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9604 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9605 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9606 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9607 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9608 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9609 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9610 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9611 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9612 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9613 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9614 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9615 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9616 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9617 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9618 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9619 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9620 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9621 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9622 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9623 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9624 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9625 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9626 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9627 			  "\x2B\xC2\x59",
9628 		.rlen	= 499,
9629 		.also_non_np = 1,
9630 		.np	= 2,
9631 		.tap	= { 499 - 16, 16 },
9632 	},
9633 };
9634 
9635 static const struct cipher_testvec tf_lrw_enc_tv_template[] = {
9636 	/* Generated from AES-LRW test vectors */
9637 	{
9638 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
9639 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
9640 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
9641 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
9642 		.klen	= 32,
9643 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9644 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9645 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9646 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9647 		.ilen	= 16,
9648 		.result	= "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
9649 			  "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
9650 		.rlen	= 16,
9651 	}, {
9652 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
9653 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
9654 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
9655 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
9656 		.klen	= 32,
9657 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9658 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
9659 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9660 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9661 		.ilen	= 16,
9662 		.result	= "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
9663 			  "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
9664 		.rlen	= 16,
9665 	}, {
9666 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
9667 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
9668 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
9669 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
9670 		.klen	= 32,
9671 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9672 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9673 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9674 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9675 		.ilen	= 16,
9676 		.result	= "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
9677 			  "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
9678 		.rlen	= 16,
9679 	}, {
9680 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
9681 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
9682 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
9683 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
9684 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
9685 		.klen	= 40,
9686 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9687 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9688 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9689 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9690 		.ilen	= 16,
9691 		.result	= "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
9692 			  "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
9693 		.rlen	= 16,
9694 	}, {
9695 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
9696 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
9697 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
9698 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
9699 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
9700 		.klen	= 40,
9701 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9702 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9703 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9704 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9705 		.ilen	= 16,
9706 		.result	= "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
9707 			  "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
9708 		.rlen	= 16,
9709 	}, {
9710 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9711 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9712 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9713 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9714 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9715 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9716 		.klen	= 48,
9717 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9718 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9719 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9720 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9721 		.ilen	= 16,
9722 		.result	= "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
9723 			  "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
9724 		.rlen	= 16,
9725 	}, {
9726 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
9727 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
9728 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
9729 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
9730 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
9731 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
9732 		.klen	= 48,
9733 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9734 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9735 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9736 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9737 		.ilen	= 16,
9738 		.result	= "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
9739 			  "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
9740 		.rlen	= 16,
9741 	}, {
9742 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9743 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9744 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9745 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9746 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9747 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9748 		.klen	= 48,
9749 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9750 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9751 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
9752 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
9753 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
9754 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
9755 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
9756 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
9757 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
9758 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
9759 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
9760 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
9761 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
9762 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
9763 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
9764 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
9765 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
9766 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
9767 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
9768 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
9769 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
9770 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
9771 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
9772 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
9773 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
9774 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
9775 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
9776 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
9777 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
9778 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
9779 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
9780 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
9781 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
9782 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
9783 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
9784 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
9785 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
9786 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
9787 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
9788 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
9789 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
9790 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
9791 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
9792 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
9793 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
9794 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
9795 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
9796 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
9797 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
9798 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
9799 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
9800 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
9801 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
9802 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
9803 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
9804 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
9805 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
9806 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
9807 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
9808 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
9809 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
9810 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
9811 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
9812 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
9813 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
9814 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
9815 		.ilen	= 512,
9816 		.result	= "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
9817 			  "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
9818 			  "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
9819 			  "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
9820 			  "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
9821 			  "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
9822 			  "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
9823 			  "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
9824 			  "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
9825 			  "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
9826 			  "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
9827 			  "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
9828 			  "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
9829 			  "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
9830 			  "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
9831 			  "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
9832 			  "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
9833 			  "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
9834 			  "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
9835 			  "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
9836 			  "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
9837 			  "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
9838 			  "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
9839 			  "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
9840 			  "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
9841 			  "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
9842 			  "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
9843 			  "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
9844 			  "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
9845 			  "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
9846 			  "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
9847 			  "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
9848 			  "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
9849 			  "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
9850 			  "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
9851 			  "\x3e\xae\x71\x90\x07\x70\x1c\x38"
9852 			  "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
9853 			  "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
9854 			  "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
9855 			  "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
9856 			  "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
9857 			  "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
9858 			  "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
9859 			  "\x93\x51\x1d\x3d\x62\x59\x83\x82"
9860 			  "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
9861 			  "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
9862 			  "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
9863 			  "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
9864 			  "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
9865 			  "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
9866 			  "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
9867 			  "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
9868 			  "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
9869 			  "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
9870 			  "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
9871 			  "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
9872 			  "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
9873 			  "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
9874 			  "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
9875 			  "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
9876 			  "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
9877 			  "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
9878 			  "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
9879 			  "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
9880 		.rlen	= 512,
9881 		.also_non_np = 1,
9882 		.np	= 3,
9883 		.tap	= { 512 - 20, 4, 16 },
9884 	},
9885 };
9886 
9887 static const struct cipher_testvec tf_lrw_dec_tv_template[] = {
9888 	/* Generated from AES-LRW test vectors */
9889 	/* same as enc vectors with input and result reversed */
9890 	{
9891 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
9892 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
9893 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
9894 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
9895 		.klen	= 32,
9896 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9897 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9898 		.input	= "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
9899 			  "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
9900 		.ilen	= 16,
9901 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9902 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9903 		.rlen	= 16,
9904 	}, {
9905 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
9906 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
9907 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
9908 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
9909 		.klen	= 32,
9910 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9911 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
9912 		.input	= "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
9913 			  "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
9914 		.ilen	= 16,
9915 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9916 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9917 		.rlen	= 16,
9918 	}, {
9919 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
9920 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
9921 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
9922 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
9923 		.klen	= 32,
9924 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9925 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9926 		.input	= "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
9927 			  "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
9928 		.ilen	= 16,
9929 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9930 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9931 		.rlen	= 16,
9932 	}, {
9933 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
9934 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
9935 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
9936 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
9937 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
9938 		.klen	= 40,
9939 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9940 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9941 		.input	= "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
9942 			  "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
9943 		.ilen	= 16,
9944 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9945 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9946 		.rlen	= 16,
9947 	}, {
9948 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
9949 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
9950 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
9951 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
9952 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
9953 		.klen	= 40,
9954 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9955 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9956 		.input	= "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
9957 			  "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
9958 		.ilen	= 16,
9959 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9960 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9961 		.rlen	= 16,
9962 	}, {
9963 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9964 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9965 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9966 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9967 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9968 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9969 		.klen	= 48,
9970 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9971 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9972 		.input	= "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
9973 			  "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
9974 		.ilen	= 16,
9975 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9976 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9977 		.rlen	= 16,
9978 	}, {
9979 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
9980 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
9981 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
9982 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
9983 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
9984 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
9985 		.klen	= 48,
9986 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9987 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9988 		.input	= "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
9989 			  "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
9990 		.ilen	= 16,
9991 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9992 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9993 		.rlen	= 16,
9994 	}, {
9995 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9996 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9997 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9998 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9999 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10000 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10001 		.klen	= 48,
10002 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10003 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10004 		.input	= "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
10005 			  "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
10006 			  "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
10007 			  "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
10008 			  "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
10009 			  "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
10010 			  "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
10011 			  "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
10012 			  "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
10013 			  "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
10014 			  "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
10015 			  "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
10016 			  "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
10017 			  "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
10018 			  "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
10019 			  "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
10020 			  "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
10021 			  "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
10022 			  "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
10023 			  "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
10024 			  "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
10025 			  "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
10026 			  "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
10027 			  "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
10028 			  "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
10029 			  "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
10030 			  "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
10031 			  "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
10032 			  "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
10033 			  "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
10034 			  "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
10035 			  "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
10036 			  "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
10037 			  "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
10038 			  "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
10039 			  "\x3e\xae\x71\x90\x07\x70\x1c\x38"
10040 			  "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
10041 			  "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
10042 			  "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
10043 			  "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
10044 			  "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
10045 			  "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
10046 			  "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
10047 			  "\x93\x51\x1d\x3d\x62\x59\x83\x82"
10048 			  "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
10049 			  "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
10050 			  "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
10051 			  "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
10052 			  "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
10053 			  "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
10054 			  "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
10055 			  "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
10056 			  "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
10057 			  "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
10058 			  "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
10059 			  "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
10060 			  "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
10061 			  "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
10062 			  "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
10063 			  "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
10064 			  "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
10065 			  "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
10066 			  "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
10067 			  "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
10068 		.ilen	= 512,
10069 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
10070 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
10071 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
10072 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
10073 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
10074 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
10075 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
10076 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
10077 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
10078 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
10079 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
10080 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
10081 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
10082 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
10083 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
10084 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
10085 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
10086 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
10087 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
10088 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
10089 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
10090 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
10091 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
10092 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
10093 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
10094 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
10095 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
10096 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
10097 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
10098 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
10099 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
10100 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
10101 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
10102 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
10103 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
10104 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
10105 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
10106 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
10107 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
10108 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
10109 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
10110 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
10111 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
10112 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
10113 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
10114 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
10115 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
10116 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
10117 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
10118 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
10119 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
10120 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
10121 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
10122 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
10123 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
10124 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
10125 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
10126 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
10127 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
10128 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
10129 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
10130 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
10131 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
10132 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
10133 		.rlen	= 512,
10134 		.also_non_np = 1,
10135 		.np	= 3,
10136 		.tap	= { 512 - 20, 4, 16 },
10137 	},
10138 };
10139 
10140 static const struct cipher_testvec tf_xts_enc_tv_template[] = {
10141 	/* Generated from AES-XTS test vectors */
10142 {
10143 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10144 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10145 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10146 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10147 		.klen	= 32,
10148 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10149 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10150 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10151 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10152 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10153 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10154 		.ilen	= 32,
10155 		.result	= "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
10156 			  "\x30\x74\xe4\x44\x52\x77\x97\x43"
10157 			  "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
10158 			  "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
10159 		.rlen	= 32,
10160 	}, {
10161 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
10162 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
10163 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10164 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10165 		.klen	= 32,
10166 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10167 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10168 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10169 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10170 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10171 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10172 		.ilen	= 32,
10173 		.result	= "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
10174 			  "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
10175 			  "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
10176 			  "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
10177 		.rlen	= 32,
10178 	}, {
10179 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
10180 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
10181 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10182 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10183 		.klen	= 32,
10184 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10185 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10186 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10187 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10188 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10189 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10190 		.ilen	= 32,
10191 		.result	= "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
10192 			  "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
10193 			  "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
10194 			  "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
10195 		.rlen	= 32,
10196 	}, {
10197 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10198 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10199 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10200 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
10201 		.klen	= 32,
10202 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10203 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10204 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10205 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10206 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10207 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10208 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10209 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10210 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10211 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10212 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10213 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10214 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10215 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10216 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10217 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10218 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10219 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10220 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10221 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10222 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10223 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10224 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10225 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10226 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10227 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10228 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10229 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10230 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10231 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10232 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10233 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10234 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10235 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10236 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10237 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10238 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10239 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10240 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10241 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10242 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10243 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10244 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10245 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10246 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10247 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10248 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10249 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10250 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10251 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10252 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10253 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10254 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10255 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10256 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10257 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10258 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10259 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10260 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10261 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10262 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10263 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10264 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10265 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10266 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10267 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10268 		.ilen	= 512,
10269 		.result	= "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
10270 			  "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
10271 			  "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
10272 			  "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
10273 			  "\xea\x35\x35\x8c\xb2\x46\x61\x06"
10274 			  "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
10275 			  "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
10276 			  "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
10277 			  "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
10278 			  "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
10279 			  "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
10280 			  "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
10281 			  "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
10282 			  "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
10283 			  "\x01\x73\x68\x32\x25\x19\xfa\xfb"
10284 			  "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
10285 			  "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
10286 			  "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
10287 			  "\x39\x80\x39\x09\x97\x65\xf2\x83"
10288 			  "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
10289 			  "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
10290 			  "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
10291 			  "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
10292 			  "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
10293 			  "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
10294 			  "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
10295 			  "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
10296 			  "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
10297 			  "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
10298 			  "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
10299 			  "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
10300 			  "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
10301 			  "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
10302 			  "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
10303 			  "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
10304 			  "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
10305 			  "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
10306 			  "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
10307 			  "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
10308 			  "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
10309 			  "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
10310 			  "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
10311 			  "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
10312 			  "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
10313 			  "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
10314 			  "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
10315 			  "\x04\x39\x73\x32\xb2\x86\x79\xe7"
10316 			  "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
10317 			  "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
10318 			  "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
10319 			  "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
10320 			  "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
10321 			  "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
10322 			  "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
10323 			  "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
10324 			  "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
10325 			  "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
10326 			  "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
10327 			  "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
10328 			  "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
10329 			  "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
10330 			  "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
10331 			  "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
10332 			  "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
10333 		.rlen	= 512,
10334 	}, {
10335 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10336 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10337 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
10338 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
10339 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10340 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
10341 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
10342 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
10343 		.klen	= 64,
10344 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
10345 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10346 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10347 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10348 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10349 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10350 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10351 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10352 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10353 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10354 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10355 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10356 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10357 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10358 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10359 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10360 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10361 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10362 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10363 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10364 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10365 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10366 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10367 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10368 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10369 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10370 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10371 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10372 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10373 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10374 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10375 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10376 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10377 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10378 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10379 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10380 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10381 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10382 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10383 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10384 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10385 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10386 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10387 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10388 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10389 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10390 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10391 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10392 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10393 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10394 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10395 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10396 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10397 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10398 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10399 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10400 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10401 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10402 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10403 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10404 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10405 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10406 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10407 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10408 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10409 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10410 		.ilen	= 512,
10411 		.result	= "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
10412 			  "\x35\x39\x71\x88\x76\x1e\xc9\xea"
10413 			  "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
10414 			  "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
10415 			  "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
10416 			  "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
10417 			  "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
10418 			  "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
10419 			  "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
10420 			  "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
10421 			  "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
10422 			  "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
10423 			  "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
10424 			  "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
10425 			  "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
10426 			  "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
10427 			  "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
10428 			  "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
10429 			  "\x69\x35\x61\x86\xf8\x86\xb9\x89"
10430 			  "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
10431 			  "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
10432 			  "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
10433 			  "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
10434 			  "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
10435 			  "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
10436 			  "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
10437 			  "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
10438 			  "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
10439 			  "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
10440 			  "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
10441 			  "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
10442 			  "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
10443 			  "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
10444 			  "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
10445 			  "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
10446 			  "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
10447 			  "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
10448 			  "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
10449 			  "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
10450 			  "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
10451 			  "\xad\x12\x32\x31\x03\xf7\x21\xbe"
10452 			  "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
10453 			  "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
10454 			  "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
10455 			  "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
10456 			  "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
10457 			  "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
10458 			  "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
10459 			  "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
10460 			  "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
10461 			  "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
10462 			  "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
10463 			  "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
10464 			  "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
10465 			  "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
10466 			  "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
10467 			  "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
10468 			  "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
10469 			  "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
10470 			  "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
10471 			  "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
10472 			  "\xf3\xea\x67\x52\x78\xc2\xce\x70"
10473 			  "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
10474 			  "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
10475 		.rlen	= 512,
10476 		.also_non_np = 1,
10477 		.np	= 3,
10478 		.tap	= { 512 - 20, 4, 16 },
10479 	},
10480 };
10481 
10482 static const struct cipher_testvec tf_xts_dec_tv_template[] = {
10483 	/* Generated from AES-XTS test vectors */
10484 	/* same as enc vectors with input and result reversed */
10485 	{
10486 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10487 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10488 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10489 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10490 		.klen	= 32,
10491 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10492 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10493 		.input	= "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
10494 			  "\x30\x74\xe4\x44\x52\x77\x97\x43"
10495 			  "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
10496 			  "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
10497 		.ilen	= 32,
10498 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10499 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10500 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10501 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10502 		.rlen	= 32,
10503 	}, {
10504 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
10505 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
10506 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10507 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10508 		.klen	= 32,
10509 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10510 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10511 		.input	= "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
10512 			  "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
10513 			  "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
10514 			  "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
10515 		.ilen	= 32,
10516 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10517 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10518 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10519 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10520 		.rlen	= 32,
10521 	}, {
10522 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
10523 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
10524 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10525 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10526 		.klen	= 32,
10527 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10528 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10529 		.input	= "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
10530 			  "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
10531 			  "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
10532 			  "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
10533 		.ilen	= 32,
10534 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10535 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10536 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10537 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10538 		.rlen	= 32,
10539 	}, {
10540 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10541 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10542 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10543 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
10544 		.klen	= 32,
10545 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10546 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10547 		.input	= "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
10548 			  "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
10549 			  "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
10550 			  "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
10551 			  "\xea\x35\x35\x8c\xb2\x46\x61\x06"
10552 			  "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
10553 			  "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
10554 			  "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
10555 			  "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
10556 			  "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
10557 			  "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
10558 			  "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
10559 			  "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
10560 			  "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
10561 			  "\x01\x73\x68\x32\x25\x19\xfa\xfb"
10562 			  "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
10563 			  "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
10564 			  "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
10565 			  "\x39\x80\x39\x09\x97\x65\xf2\x83"
10566 			  "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
10567 			  "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
10568 			  "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
10569 			  "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
10570 			  "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
10571 			  "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
10572 			  "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
10573 			  "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
10574 			  "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
10575 			  "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
10576 			  "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
10577 			  "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
10578 			  "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
10579 			  "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
10580 			  "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
10581 			  "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
10582 			  "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
10583 			  "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
10584 			  "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
10585 			  "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
10586 			  "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
10587 			  "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
10588 			  "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
10589 			  "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
10590 			  "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
10591 			  "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
10592 			  "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
10593 			  "\x04\x39\x73\x32\xb2\x86\x79\xe7"
10594 			  "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
10595 			  "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
10596 			  "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
10597 			  "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
10598 			  "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
10599 			  "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
10600 			  "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
10601 			  "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
10602 			  "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
10603 			  "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
10604 			  "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
10605 			  "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
10606 			  "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
10607 			  "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
10608 			  "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
10609 			  "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
10610 			  "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
10611 		.ilen	= 512,
10612 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10613 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10614 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10615 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10616 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10617 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10618 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10619 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10620 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10621 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10622 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10623 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10624 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10625 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10626 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10627 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10628 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10629 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10630 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10631 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10632 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10633 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10634 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10635 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10636 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10637 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10638 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10639 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10640 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10641 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10642 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10643 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10644 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10645 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10646 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10647 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10648 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10649 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10650 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10651 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10652 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10653 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10654 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10655 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10656 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10657 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10658 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10659 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10660 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10661 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10662 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10663 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10664 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10665 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10666 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10667 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10668 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10669 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10670 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10671 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10672 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10673 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10674 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10675 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10676 		.rlen	= 512,
10677 	}, {
10678 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10679 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10680 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
10681 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
10682 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10683 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
10684 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
10685 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
10686 		.klen	= 64,
10687 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
10688 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10689 		.input	= "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
10690 			  "\x35\x39\x71\x88\x76\x1e\xc9\xea"
10691 			  "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
10692 			  "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
10693 			  "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
10694 			  "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
10695 			  "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
10696 			  "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
10697 			  "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
10698 			  "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
10699 			  "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
10700 			  "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
10701 			  "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
10702 			  "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
10703 			  "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
10704 			  "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
10705 			  "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
10706 			  "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
10707 			  "\x69\x35\x61\x86\xf8\x86\xb9\x89"
10708 			  "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
10709 			  "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
10710 			  "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
10711 			  "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
10712 			  "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
10713 			  "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
10714 			  "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
10715 			  "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
10716 			  "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
10717 			  "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
10718 			  "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
10719 			  "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
10720 			  "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
10721 			  "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
10722 			  "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
10723 			  "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
10724 			  "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
10725 			  "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
10726 			  "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
10727 			  "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
10728 			  "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
10729 			  "\xad\x12\x32\x31\x03\xf7\x21\xbe"
10730 			  "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
10731 			  "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
10732 			  "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
10733 			  "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
10734 			  "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
10735 			  "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
10736 			  "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
10737 			  "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
10738 			  "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
10739 			  "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
10740 			  "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
10741 			  "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
10742 			  "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
10743 			  "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
10744 			  "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
10745 			  "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
10746 			  "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
10747 			  "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
10748 			  "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
10749 			  "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
10750 			  "\xf3\xea\x67\x52\x78\xc2\xce\x70"
10751 			  "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
10752 			  "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
10753 		.ilen	= 512,
10754 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10755 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10756 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10757 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10758 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10759 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10760 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10761 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10762 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10763 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10764 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10765 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10766 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10767 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10768 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10769 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10770 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10771 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10772 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10773 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10774 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10775 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10776 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10777 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10778 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10779 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10780 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10781 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10782 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10783 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10784 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10785 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10786 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10787 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10788 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10789 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10790 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10791 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10792 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10793 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10794 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10795 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10796 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10797 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10798 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10799 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10800 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10801 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10802 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10803 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10804 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10805 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10806 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10807 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10808 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10809 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10810 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10811 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10812 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10813 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10814 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10815 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10816 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10817 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10818 		.rlen	= 512,
10819 		.also_non_np = 1,
10820 		.np	= 3,
10821 		.tap	= { 512 - 20, 4, 16 },
10822 	},
10823 };
10824 
10825 /*
10826  * Serpent test vectors.  These are backwards because Serpent writes
10827  * octet sequences in right-to-left mode.
10828  */
10829 static const struct cipher_testvec serpent_enc_tv_template[] = {
10830 	{
10831 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10832 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10833 		.ilen	= 16,
10834 		.result	= "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
10835 			  "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
10836 		.rlen	= 16,
10837 	}, {
10838 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10839 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10840 		.klen	= 16,
10841 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10842 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10843 		.ilen	= 16,
10844 		.result	= "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
10845 			  "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
10846 		.rlen	= 16,
10847 	}, {
10848 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10849 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10850 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10851 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
10852 		.klen	= 32,
10853 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10854 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10855 		.ilen	= 16,
10856 		.result	= "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
10857 			  "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
10858 		.rlen	= 16,
10859 	}, {
10860 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
10861 		.klen	= 16,
10862 		.input	= zeroed_string,
10863 		.ilen	= 16,
10864 		.result	= "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
10865 			  "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
10866 		.rlen	= 16,
10867 	}, { /* Generated with Crypto++ */
10868 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
10869 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
10870 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
10871 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
10872 		.klen	= 32,
10873 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
10874 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
10875 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
10876 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
10877 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
10878 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
10879 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
10880 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
10881 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
10882 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
10883 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
10884 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
10885 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
10886 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
10887 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
10888 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
10889 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
10890 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
10891 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
10892 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
10893 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
10894 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
10895 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
10896 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
10897 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
10898 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
10899 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
10900 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
10901 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
10902 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
10903 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
10904 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
10905 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
10906 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
10907 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
10908 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
10909 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
10910 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
10911 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
10912 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
10913 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
10914 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
10915 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
10916 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
10917 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
10918 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
10919 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
10920 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
10921 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
10922 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
10923 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
10924 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
10925 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
10926 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
10927 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
10928 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
10929 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
10930 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
10931 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
10932 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
10933 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
10934 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
10935 		.ilen	= 496,
10936 		.result	= "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
10937 			  "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
10938 			  "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
10939 			  "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
10940 			  "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
10941 			  "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
10942 			  "\x99\x34\x89\x5B\x54\xE9\x12\x13"
10943 			  "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
10944 			  "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
10945 			  "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
10946 			  "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
10947 			  "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
10948 			  "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
10949 			  "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
10950 			  "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
10951 			  "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
10952 			  "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
10953 			  "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
10954 			  "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
10955 			  "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
10956 			  "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
10957 			  "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
10958 			  "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
10959 			  "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
10960 			  "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
10961 			  "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
10962 			  "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
10963 			  "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
10964 			  "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
10965 			  "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
10966 			  "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
10967 			  "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
10968 			  "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
10969 			  "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
10970 			  "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
10971 			  "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
10972 			  "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
10973 			  "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
10974 			  "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
10975 			  "\x87\x70\x14\xD0\x01\x57\xCB\x42"
10976 			  "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
10977 			  "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
10978 			  "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
10979 			  "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
10980 			  "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
10981 			  "\x71\x80\x05\x35\x3F\x40\x0B\x21"
10982 			  "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
10983 			  "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
10984 			  "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
10985 			  "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
10986 			  "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
10987 			  "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
10988 			  "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
10989 			  "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
10990 			  "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
10991 			  "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
10992 			  "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
10993 			  "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
10994 			  "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
10995 			  "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
10996 			  "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
10997 			  "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
10998 		.rlen	= 496,
10999 		.also_non_np = 1,
11000 		.np	= 3,
11001 		.tap	= { 496 - 20, 4, 16 },
11002 	},
11003 };
11004 
11005 static const struct cipher_testvec tnepres_enc_tv_template[] = {
11006 	{ /* KeySize=128, PT=0, I=1 */
11007 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11008 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11009 		.key    = "\x80\x00\x00\x00\x00\x00\x00\x00"
11010 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11011 		.klen   = 16,
11012 		.ilen	= 16,
11013 		.result	= "\x49\xaf\xbf\xad\x9d\x5a\x34\x05"
11014 			  "\x2c\xd8\xff\xa5\x98\x6b\xd2\xdd",
11015 		.rlen	= 16,
11016 	}, { /* KeySize=192, PT=0, I=1 */
11017 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
11018 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11019 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11020 		.klen	= 24,
11021 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11022 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11023 		.ilen	= 16,
11024 		.result	= "\xe7\x8e\x54\x02\xc7\x19\x55\x68"
11025 			  "\xac\x36\x78\xf7\xa3\xf6\x0c\x66",
11026 		.rlen	= 16,
11027 	}, { /* KeySize=256, PT=0, I=1 */
11028 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
11029 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11030 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11031 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11032 		.klen	= 32,
11033 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11034 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11035 		.ilen	= 16,
11036 		.result	= "\xab\xed\x96\xe7\x66\xbf\x28\xcb"
11037 			  "\xc0\xeb\xd2\x1a\x82\xef\x08\x19",
11038 		.rlen	= 16,
11039 	}, { /* KeySize=256, I=257 */
11040 		.key	= "\x1f\x1e\x1d\x1c\x1b\x1a\x19\x18"
11041 			  "\x17\x16\x15\x14\x13\x12\x11\x10"
11042 			  "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
11043 			  "\x07\x06\x05\x04\x03\x02\x01\x00",
11044 		.klen	= 32,
11045 		.input	= "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
11046 			  "\x07\x06\x05\x04\x03\x02\x01\x00",
11047 		.ilen	= 16,
11048 		.result	= "\x5c\xe7\x1c\x70\xd2\x88\x2e\x5b"
11049 			  "\xb8\x32\xe4\x33\xf8\x9f\x26\xde",
11050 		.rlen	= 16,
11051 	},
11052 };
11053 
11054 
11055 static const struct cipher_testvec serpent_dec_tv_template[] = {
11056 	{
11057 		.input	= "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
11058 			  "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
11059 		.ilen	= 16,
11060 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11061 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11062 		.rlen	= 16,
11063 	}, {
11064 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11065 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11066 		.klen	= 16,
11067 		.input	= "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
11068 			  "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
11069 		.ilen	= 16,
11070 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11071 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11072 		.rlen	= 16,
11073 	}, {
11074 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11075 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11076 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11077 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11078 		.klen	= 32,
11079 		.input	= "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
11080 			  "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
11081 		.ilen	= 16,
11082 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11083 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11084 		.rlen	= 16,
11085 	}, {
11086 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11087 		.klen	= 16,
11088 		.input	= "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
11089 			  "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
11090 		.ilen	= 16,
11091 		.result	= zeroed_string,
11092 		.rlen	= 16,
11093 	}, { /* Generated with Crypto++ */
11094 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11095 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11096 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11097 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11098 		.klen	= 32,
11099 		.input	= "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
11100 			  "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
11101 			  "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
11102 			  "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
11103 			  "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
11104 			  "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
11105 			  "\x99\x34\x89\x5B\x54\xE9\x12\x13"
11106 			  "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
11107 			  "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
11108 			  "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
11109 			  "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
11110 			  "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
11111 			  "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
11112 			  "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
11113 			  "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
11114 			  "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
11115 			  "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
11116 			  "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
11117 			  "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
11118 			  "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
11119 			  "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
11120 			  "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
11121 			  "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
11122 			  "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
11123 			  "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
11124 			  "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
11125 			  "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
11126 			  "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
11127 			  "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
11128 			  "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
11129 			  "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
11130 			  "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
11131 			  "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
11132 			  "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
11133 			  "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
11134 			  "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
11135 			  "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
11136 			  "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
11137 			  "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
11138 			  "\x87\x70\x14\xD0\x01\x57\xCB\x42"
11139 			  "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
11140 			  "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
11141 			  "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
11142 			  "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
11143 			  "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
11144 			  "\x71\x80\x05\x35\x3F\x40\x0B\x21"
11145 			  "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
11146 			  "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
11147 			  "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
11148 			  "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
11149 			  "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
11150 			  "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
11151 			  "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
11152 			  "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
11153 			  "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
11154 			  "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
11155 			  "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
11156 			  "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
11157 			  "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
11158 			  "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
11159 			  "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
11160 			  "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
11161 		.ilen	= 496,
11162 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11163 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11164 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11165 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11166 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11167 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11168 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11169 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11170 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11171 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11172 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11173 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11174 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11175 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11176 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11177 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11178 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11179 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11180 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11181 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11182 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11183 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11184 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11185 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11186 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11187 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11188 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11189 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11190 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11191 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11192 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11193 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11194 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11195 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11196 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11197 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11198 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11199 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11200 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11201 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11202 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11203 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11204 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11205 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11206 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11207 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11208 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11209 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11210 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11211 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11212 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11213 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11214 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11215 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11216 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11217 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11218 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11219 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11220 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11221 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11222 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11223 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11224 		.rlen	= 496,
11225 		.also_non_np = 1,
11226 		.np	= 3,
11227 		.tap	= { 496 - 20, 4, 16 },
11228 	},
11229 };
11230 
11231 static const struct cipher_testvec tnepres_dec_tv_template[] = {
11232 	{
11233 		.input	= "\x41\xcc\x6b\x31\x59\x31\x45\x97"
11234 			  "\x6d\x6f\xbb\x38\x4b\x37\x21\x28",
11235 		.ilen	= 16,
11236 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11237 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11238 		.rlen	= 16,
11239 	}, {
11240 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11241 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11242 		.klen	= 16,
11243 		.input	= "\xea\xf4\xd7\xfc\xd8\x01\x34\x47"
11244 			  "\x81\x45\x0b\xfa\x0c\xd6\xad\x6e",
11245 		.ilen	= 16,
11246 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11247 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11248 		.rlen	= 16,
11249 	}, {
11250 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11251 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11252 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11253 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11254 		.klen	= 32,
11255 		.input	= "\x64\xa9\x1a\x37\xed\x9f\xe7\x49"
11256 			  "\xa8\x4e\x76\xd6\xf5\x0d\x78\xee",
11257 		.ilen	= 16,
11258 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11259 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11260 		.rlen	= 16,
11261 	}, { /* KeySize=128, I=121 */
11262 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11263 		.klen	= 16,
11264 		.input	= "\x3d\xda\xbf\xc0\x06\xda\xab\x06"
11265 			  "\x46\x2a\xf4\xef\x81\x54\x4e\x26",
11266 		.ilen	= 16,
11267 		.result	= zeroed_string,
11268 		.rlen	= 16,
11269 	},
11270 };
11271 
11272 static const struct cipher_testvec serpent_cbc_enc_tv_template[] = {
11273 	{ /* Generated with Crypto++ */
11274 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11275 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11276 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11277 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11278 		.klen	= 32,
11279 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11280 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11281 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11282 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11283 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11284 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11285 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11286 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11287 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11288 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11289 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11290 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11291 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11292 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11293 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11294 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11295 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11296 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11297 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11298 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11299 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11300 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11301 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11302 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11303 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11304 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11305 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11306 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11307 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11308 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11309 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11310 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11311 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11312 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11313 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11314 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11315 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11316 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11317 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11318 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11319 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11320 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11321 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11322 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11323 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11324 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11325 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11326 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11327 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11328 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11329 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11330 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11331 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11332 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11333 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11334 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11335 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11336 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11337 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11338 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11339 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11340 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11341 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11342 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11343 		.ilen	= 496,
11344 		.result	= "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
11345 			  "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
11346 			  "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
11347 			  "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
11348 			  "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
11349 			  "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
11350 			  "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
11351 			  "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
11352 			  "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
11353 			  "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
11354 			  "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
11355 			  "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
11356 			  "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
11357 			  "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
11358 			  "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
11359 			  "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
11360 			  "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
11361 			  "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
11362 			  "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
11363 			  "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
11364 			  "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
11365 			  "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
11366 			  "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
11367 			  "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
11368 			  "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
11369 			  "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
11370 			  "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
11371 			  "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
11372 			  "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
11373 			  "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
11374 			  "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
11375 			  "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
11376 			  "\x81\x92\x66\x67\x15\x1E\x39\x98"
11377 			  "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
11378 			  "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
11379 			  "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
11380 			  "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
11381 			  "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
11382 			  "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
11383 			  "\x04\x05\x46\xD3\x90\x0F\x64\x64"
11384 			  "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
11385 			  "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
11386 			  "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
11387 			  "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
11388 			  "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
11389 			  "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
11390 			  "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
11391 			  "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
11392 			  "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
11393 			  "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
11394 			  "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
11395 			  "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
11396 			  "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
11397 			  "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
11398 			  "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
11399 			  "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
11400 			  "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
11401 			  "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
11402 			  "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
11403 			  "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
11404 			  "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
11405 			  "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
11406 		.rlen	= 496,
11407 		.also_non_np = 1,
11408 		.np	= 3,
11409 		.tap	= { 496 - 20, 4, 16 },
11410 	},
11411 };
11412 
11413 static const struct cipher_testvec serpent_cbc_dec_tv_template[] = {
11414 	{ /* Generated with Crypto++ */
11415 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11416 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11417 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11418 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11419 		.klen	= 32,
11420 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11421 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11422 		.input	= "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
11423 			  "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
11424 			  "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
11425 			  "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
11426 			  "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
11427 			  "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
11428 			  "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
11429 			  "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
11430 			  "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
11431 			  "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
11432 			  "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
11433 			  "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
11434 			  "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
11435 			  "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
11436 			  "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
11437 			  "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
11438 			  "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
11439 			  "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
11440 			  "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
11441 			  "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
11442 			  "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
11443 			  "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
11444 			  "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
11445 			  "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
11446 			  "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
11447 			  "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
11448 			  "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
11449 			  "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
11450 			  "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
11451 			  "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
11452 			  "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
11453 			  "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
11454 			  "\x81\x92\x66\x67\x15\x1E\x39\x98"
11455 			  "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
11456 			  "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
11457 			  "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
11458 			  "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
11459 			  "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
11460 			  "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
11461 			  "\x04\x05\x46\xD3\x90\x0F\x64\x64"
11462 			  "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
11463 			  "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
11464 			  "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
11465 			  "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
11466 			  "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
11467 			  "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
11468 			  "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
11469 			  "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
11470 			  "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
11471 			  "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
11472 			  "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
11473 			  "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
11474 			  "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
11475 			  "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
11476 			  "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
11477 			  "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
11478 			  "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
11479 			  "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
11480 			  "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
11481 			  "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
11482 			  "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
11483 			  "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
11484 		.ilen	= 496,
11485 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11486 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11487 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11488 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11489 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11490 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11491 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11492 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11493 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11494 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11495 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11496 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11497 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11498 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11499 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11500 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11501 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11502 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11503 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11504 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11505 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11506 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11507 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11508 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11509 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11510 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11511 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11512 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11513 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11514 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11515 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11516 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11517 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11518 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11519 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11520 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11521 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11522 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11523 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11524 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11525 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11526 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11527 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11528 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11529 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11530 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11531 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11532 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11533 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11534 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11535 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11536 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11537 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11538 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11539 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11540 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11541 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11542 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11543 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11544 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11545 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11546 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11547 		.rlen	= 496,
11548 		.also_non_np = 1,
11549 		.np	= 3,
11550 		.tap	= { 496 - 20, 4, 16 },
11551 	},
11552 };
11553 
11554 static const struct cipher_testvec serpent_ctr_enc_tv_template[] = {
11555 	{ /* Generated with Crypto++ */
11556 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11557 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11558 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11559 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11560 		.klen	= 32,
11561 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11562 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11563 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11564 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11565 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11566 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11567 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11568 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11569 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11570 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11571 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11572 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11573 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11574 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11575 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11576 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11577 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11578 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11579 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11580 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11581 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11582 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11583 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11584 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11585 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11586 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11587 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11588 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11589 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11590 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11591 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11592 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11593 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11594 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11595 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11596 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11597 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11598 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11599 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11600 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11601 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11602 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11603 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11604 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11605 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11606 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11607 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11608 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11609 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11610 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11611 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11612 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11613 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11614 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11615 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11616 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11617 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11618 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11619 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11620 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11621 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11622 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11623 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11624 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11625 		.ilen	= 496,
11626 		.result	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
11627 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
11628 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
11629 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
11630 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
11631 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
11632 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
11633 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
11634 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
11635 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
11636 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
11637 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
11638 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
11639 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
11640 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
11641 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
11642 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
11643 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
11644 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
11645 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
11646 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
11647 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
11648 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
11649 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
11650 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
11651 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
11652 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
11653 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
11654 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
11655 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
11656 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
11657 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
11658 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
11659 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
11660 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
11661 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
11662 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
11663 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
11664 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
11665 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
11666 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
11667 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
11668 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
11669 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
11670 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
11671 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
11672 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
11673 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
11674 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
11675 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
11676 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
11677 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
11678 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
11679 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
11680 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
11681 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
11682 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
11683 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
11684 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
11685 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
11686 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
11687 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
11688 		.rlen	= 496,
11689 	}, { /* Generated with Crypto++ */
11690 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11691 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11692 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11693 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11694 		.klen	= 32,
11695 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11696 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11697 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11698 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11699 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11700 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11701 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11702 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11703 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11704 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11705 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11706 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11707 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11708 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11709 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11710 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11711 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11712 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11713 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11714 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11715 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11716 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11717 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11718 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11719 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11720 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11721 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11722 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11723 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11724 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11725 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11726 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11727 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11728 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11729 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11730 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11731 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11732 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11733 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11734 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11735 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11736 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11737 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11738 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11739 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11740 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11741 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11742 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11743 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11744 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11745 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11746 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11747 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11748 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11749 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11750 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11751 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11752 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11753 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11754 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11755 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11756 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11757 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11758 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11759 			  "\x2B\xC2\x59",
11760 		.ilen	= 499,
11761 		.result	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
11762 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
11763 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
11764 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
11765 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
11766 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
11767 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
11768 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
11769 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
11770 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
11771 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
11772 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
11773 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
11774 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
11775 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
11776 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
11777 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
11778 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
11779 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
11780 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
11781 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
11782 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
11783 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
11784 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
11785 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
11786 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
11787 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
11788 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
11789 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
11790 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
11791 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
11792 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
11793 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
11794 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
11795 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
11796 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
11797 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
11798 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
11799 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
11800 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
11801 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
11802 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
11803 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
11804 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
11805 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
11806 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
11807 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
11808 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
11809 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
11810 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
11811 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
11812 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
11813 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
11814 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
11815 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
11816 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
11817 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
11818 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
11819 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
11820 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
11821 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
11822 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
11823 			  "\x38\xE2\xE5",
11824 		.rlen	= 499,
11825 		.also_non_np = 1,
11826 		.np	= 2,
11827 		.tap	= { 499 - 16, 16 },
11828 	}, { /* Generated with Crypto++ */
11829 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11830 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11831 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11832 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11833 		.klen	= 32,
11834 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
11835 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
11836 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11837 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11838 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11839 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11840 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11841 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11842 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11843 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11844 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11845 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11846 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11847 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11848 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11849 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11850 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11851 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11852 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11853 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11854 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11855 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11856 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11857 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11858 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11859 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11860 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11861 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11862 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11863 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11864 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11865 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11866 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11867 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11868 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11869 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11870 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11871 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11872 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11873 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11874 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11875 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11876 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11877 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11878 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11879 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11880 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11881 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11882 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11883 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11884 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11885 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11886 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11887 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11888 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11889 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11890 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11891 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11892 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11893 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11894 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11895 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11896 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11897 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11898 		.ilen	= 496,
11899 		.result	= "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
11900 			  "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
11901 			  "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
11902 			  "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
11903 			  "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
11904 			  "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
11905 			  "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
11906 			  "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
11907 			  "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
11908 			  "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
11909 			  "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
11910 			  "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
11911 			  "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
11912 			  "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
11913 			  "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
11914 			  "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
11915 			  "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
11916 			  "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
11917 			  "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
11918 			  "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
11919 			  "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
11920 			  "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
11921 			  "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
11922 			  "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
11923 			  "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
11924 			  "\x29\x5E\x01\x47\x13\x32\x78\xBE"
11925 			  "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
11926 			  "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
11927 			  "\x38\x35\x11\x26\x4A\xB4\x06\x32"
11928 			  "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
11929 			  "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
11930 			  "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
11931 			  "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
11932 			  "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
11933 			  "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
11934 			  "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
11935 			  "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
11936 			  "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
11937 			  "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
11938 			  "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
11939 			  "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
11940 			  "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
11941 			  "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
11942 			  "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
11943 			  "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
11944 			  "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
11945 			  "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
11946 			  "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
11947 			  "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
11948 			  "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
11949 			  "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
11950 			  "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
11951 			  "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
11952 			  "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
11953 			  "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
11954 			  "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
11955 			  "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
11956 			  "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
11957 			  "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
11958 			  "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
11959 			  "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
11960 			  "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
11961 		.rlen	= 496,
11962 	},
11963 };
11964 
11965 static const struct cipher_testvec serpent_ctr_dec_tv_template[] = {
11966 	{ /* Generated with Crypto++ */
11967 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11968 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11969 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11970 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11971 		.klen	= 32,
11972 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11973 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11974 		.input	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
11975 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
11976 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
11977 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
11978 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
11979 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
11980 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
11981 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
11982 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
11983 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
11984 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
11985 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
11986 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
11987 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
11988 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
11989 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
11990 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
11991 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
11992 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
11993 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
11994 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
11995 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
11996 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
11997 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
11998 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
11999 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12000 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12001 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12002 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12003 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12004 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12005 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12006 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12007 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12008 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12009 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12010 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12011 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12012 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12013 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12014 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12015 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12016 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12017 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12018 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12019 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12020 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12021 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12022 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12023 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12024 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12025 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12026 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12027 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12028 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12029 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12030 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12031 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12032 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12033 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12034 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12035 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
12036 		.ilen	= 496,
12037 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12038 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12039 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12040 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12041 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12042 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12043 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12044 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12045 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12046 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12047 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12048 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12049 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12050 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12051 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12052 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12053 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12054 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12055 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12056 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12057 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12058 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12059 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12060 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12061 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12062 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12063 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12064 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12065 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12066 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12067 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12068 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12069 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12070 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12071 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12072 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12073 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12074 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12075 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12076 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12077 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12078 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12079 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12080 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12081 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12082 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12083 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12084 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12085 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12086 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12087 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12088 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12089 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12090 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12091 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12092 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12093 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12094 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12095 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12096 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12097 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12098 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12099 		.rlen	= 496,
12100 	}, { /* Generated with Crypto++ */
12101 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12102 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12103 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12104 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12105 		.klen	= 32,
12106 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12107 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12108 		.input	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12109 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12110 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12111 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12112 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12113 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12114 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12115 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12116 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12117 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12118 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12119 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12120 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12121 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12122 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12123 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12124 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12125 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12126 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12127 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12128 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12129 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12130 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12131 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12132 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12133 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12134 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12135 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12136 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12137 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12138 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12139 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12140 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12141 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12142 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12143 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12144 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12145 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12146 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12147 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12148 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12149 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12150 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12151 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12152 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12153 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12154 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12155 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12156 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12157 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12158 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12159 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12160 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12161 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12162 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12163 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12164 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12165 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12166 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12167 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12168 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12169 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
12170 			  "\x38\xE2\xE5",
12171 		.ilen	= 499,
12172 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12173 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12174 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12175 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12176 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12177 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12178 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12179 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12180 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12181 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12182 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12183 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12184 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12185 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12186 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12187 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12188 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12189 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12190 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12191 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12192 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12193 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12194 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12195 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12196 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12197 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12198 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12199 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12200 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12201 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12202 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12203 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12204 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12205 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12206 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12207 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12208 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12209 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12210 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12211 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12212 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12213 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12214 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12215 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12216 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12217 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12218 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12219 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12220 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12221 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12222 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12223 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12224 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12225 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12226 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12227 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12228 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12229 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12230 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12231 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12232 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12233 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12234 			  "\x2B\xC2\x59",
12235 		.rlen	= 499,
12236 		.also_non_np = 1,
12237 		.np	= 2,
12238 		.tap	= { 499 - 16, 16 },
12239 	}, { /* Generated with Crypto++ */
12240 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12241 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12242 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12243 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12244 		.klen	= 32,
12245 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
12246 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
12247 		.input	= "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
12248 			  "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
12249 			  "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
12250 			  "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
12251 			  "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
12252 			  "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
12253 			  "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
12254 			  "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
12255 			  "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
12256 			  "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
12257 			  "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
12258 			  "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
12259 			  "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
12260 			  "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
12261 			  "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
12262 			  "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
12263 			  "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
12264 			  "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
12265 			  "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
12266 			  "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
12267 			  "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
12268 			  "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
12269 			  "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
12270 			  "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
12271 			  "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
12272 			  "\x29\x5E\x01\x47\x13\x32\x78\xBE"
12273 			  "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
12274 			  "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
12275 			  "\x38\x35\x11\x26\x4A\xB4\x06\x32"
12276 			  "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
12277 			  "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
12278 			  "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
12279 			  "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
12280 			  "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
12281 			  "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
12282 			  "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
12283 			  "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
12284 			  "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
12285 			  "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
12286 			  "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
12287 			  "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
12288 			  "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
12289 			  "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
12290 			  "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
12291 			  "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
12292 			  "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
12293 			  "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
12294 			  "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
12295 			  "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
12296 			  "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
12297 			  "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
12298 			  "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
12299 			  "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
12300 			  "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
12301 			  "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
12302 			  "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
12303 			  "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
12304 			  "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
12305 			  "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
12306 			  "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
12307 			  "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
12308 			  "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
12309 		.ilen	= 496,
12310 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12311 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12312 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12313 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12314 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12315 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12316 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12317 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12318 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12319 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12320 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12321 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12322 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12323 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12324 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12325 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12326 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12327 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12328 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12329 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12330 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12331 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12332 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12333 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12334 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12335 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12336 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12337 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12338 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12339 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12340 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12341 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12342 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12343 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12344 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12345 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12346 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12347 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12348 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12349 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12350 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12351 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12352 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12353 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12354 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12355 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12356 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12357 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12358 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12359 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12360 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12361 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12362 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12363 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12364 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12365 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12366 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12367 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12368 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12369 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12370 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12371 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12372 		.rlen	= 496,
12373 	},
12374 };
12375 
12376 static const struct cipher_testvec serpent_lrw_enc_tv_template[] = {
12377 	/* Generated from AES-LRW test vectors */
12378 	{
12379 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
12380 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
12381 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
12382 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
12383 		.klen	= 32,
12384 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12385 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12386 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12387 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12388 		.ilen	= 16,
12389 		.result	= "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
12390 			  "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
12391 		.rlen	= 16,
12392 	}, {
12393 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
12394 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
12395 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
12396 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
12397 		.klen	= 32,
12398 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12399 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
12400 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12401 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12402 		.ilen	= 16,
12403 		.result	= "\xfd\xb2\x66\x98\x80\x96\x55\xad"
12404 			  "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
12405 		.rlen	= 16,
12406 	}, {
12407 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
12408 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
12409 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
12410 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
12411 		.klen	= 32,
12412 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12413 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12414 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12415 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12416 		.ilen	= 16,
12417 		.result	= "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
12418 			  "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
12419 		.rlen	= 16,
12420 	}, {
12421 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
12422 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
12423 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
12424 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
12425 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
12426 		.klen	= 40,
12427 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12428 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12429 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12430 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12431 		.ilen	= 16,
12432 		.result	= "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
12433 			  "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
12434 		.rlen	= 16,
12435 	}, {
12436 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
12437 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
12438 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
12439 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
12440 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
12441 		.klen	= 40,
12442 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12443 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12444 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12445 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12446 		.ilen	= 16,
12447 		.result	= "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
12448 			  "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
12449 		.rlen	= 16,
12450 	}, {
12451 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12452 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12453 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12454 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12455 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12456 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12457 		.klen	= 48,
12458 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12459 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12460 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12461 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12462 		.ilen	= 16,
12463 		.result	= "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
12464 			  "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
12465 		.rlen	= 16,
12466 	}, {
12467 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
12468 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
12469 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
12470 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
12471 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
12472 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
12473 		.klen	= 48,
12474 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12475 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12476 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12477 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12478 		.ilen	= 16,
12479 		.result	= "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
12480 			  "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
12481 		.rlen	= 16,
12482 	}, {
12483 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12484 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12485 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12486 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12487 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12488 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12489 		.klen	= 48,
12490 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12491 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12492 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12493 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12494 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12495 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12496 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12497 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12498 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12499 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12500 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12501 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12502 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12503 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12504 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12505 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12506 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12507 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12508 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12509 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12510 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12511 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12512 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12513 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12514 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12515 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12516 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12517 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12518 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12519 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12520 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12521 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12522 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12523 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12524 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12525 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12526 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12527 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12528 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12529 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12530 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12531 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12532 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12533 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12534 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12535 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12536 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12537 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12538 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
12539 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
12540 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
12541 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
12542 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
12543 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
12544 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
12545 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
12546 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
12547 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
12548 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
12549 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
12550 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
12551 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
12552 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
12553 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
12554 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
12555 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
12556 		.ilen	= 512,
12557 		.result	= "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
12558 			  "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
12559 			  "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
12560 			  "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
12561 			  "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
12562 			  "\xce\xab\xda\x33\x30\x20\x12\xfa"
12563 			  "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
12564 			  "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
12565 			  "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
12566 			  "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
12567 			  "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
12568 			  "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
12569 			  "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
12570 			  "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
12571 			  "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
12572 			  "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
12573 			  "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
12574 			  "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
12575 			  "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
12576 			  "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
12577 			  "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
12578 			  "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
12579 			  "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
12580 			  "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
12581 			  "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
12582 			  "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
12583 			  "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
12584 			  "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
12585 			  "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
12586 			  "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
12587 			  "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
12588 			  "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
12589 			  "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
12590 			  "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
12591 			  "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
12592 			  "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
12593 			  "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
12594 			  "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
12595 			  "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
12596 			  "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
12597 			  "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
12598 			  "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
12599 			  "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
12600 			  "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
12601 			  "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
12602 			  "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
12603 			  "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
12604 			  "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
12605 			  "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
12606 			  "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
12607 			  "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
12608 			  "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
12609 			  "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
12610 			  "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
12611 			  "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
12612 			  "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
12613 			  "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
12614 			  "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
12615 			  "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
12616 			  "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
12617 			  "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
12618 			  "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
12619 			  "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
12620 			  "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
12621 		.rlen	= 512,
12622 		.also_non_np = 1,
12623 		.np	= 3,
12624 		.tap	= { 512 - 20, 4, 16 },
12625 	},
12626 };
12627 
12628 static const struct cipher_testvec serpent_lrw_dec_tv_template[] = {
12629 	/* Generated from AES-LRW test vectors */
12630 	/* same as enc vectors with input and result reversed */
12631 	{
12632 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
12633 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
12634 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
12635 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
12636 		.klen	= 32,
12637 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12638 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12639 		.input	= "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
12640 			  "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
12641 		.ilen	= 16,
12642 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12643 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12644 		.rlen	= 16,
12645 	}, {
12646 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
12647 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
12648 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
12649 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
12650 		.klen	= 32,
12651 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12652 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
12653 		.input	= "\xfd\xb2\x66\x98\x80\x96\x55\xad"
12654 			  "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
12655 		.ilen	= 16,
12656 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12657 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12658 		.rlen	= 16,
12659 	}, {
12660 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
12661 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
12662 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
12663 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
12664 		.klen	= 32,
12665 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12666 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12667 		.input	= "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
12668 			  "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
12669 		.ilen	= 16,
12670 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12671 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12672 		.rlen	= 16,
12673 	}, {
12674 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
12675 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
12676 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
12677 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
12678 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
12679 		.klen	= 40,
12680 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12681 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12682 		.input	= "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
12683 			  "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
12684 		.ilen	= 16,
12685 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12686 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12687 		.rlen	= 16,
12688 	}, {
12689 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
12690 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
12691 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
12692 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
12693 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
12694 		.klen	= 40,
12695 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12696 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12697 		.input	= "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
12698 			  "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
12699 		.ilen	= 16,
12700 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12701 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12702 		.rlen	= 16,
12703 	}, {
12704 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12705 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12706 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12707 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12708 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12709 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12710 		.klen	= 48,
12711 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12712 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12713 		.input	= "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
12714 			  "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
12715 		.ilen	= 16,
12716 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12717 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12718 		.rlen	= 16,
12719 	}, {
12720 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
12721 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
12722 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
12723 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
12724 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
12725 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
12726 		.klen	= 48,
12727 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12728 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12729 		.input	= "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
12730 			  "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
12731 		.ilen	= 16,
12732 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12733 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12734 		.rlen	= 16,
12735 	}, {
12736 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12737 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12738 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12739 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12740 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12741 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12742 		.klen	= 48,
12743 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12744 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12745 		.input	= "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
12746 			  "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
12747 			  "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
12748 			  "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
12749 			  "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
12750 			  "\xce\xab\xda\x33\x30\x20\x12\xfa"
12751 			  "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
12752 			  "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
12753 			  "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
12754 			  "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
12755 			  "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
12756 			  "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
12757 			  "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
12758 			  "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
12759 			  "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
12760 			  "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
12761 			  "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
12762 			  "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
12763 			  "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
12764 			  "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
12765 			  "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
12766 			  "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
12767 			  "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
12768 			  "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
12769 			  "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
12770 			  "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
12771 			  "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
12772 			  "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
12773 			  "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
12774 			  "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
12775 			  "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
12776 			  "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
12777 			  "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
12778 			  "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
12779 			  "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
12780 			  "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
12781 			  "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
12782 			  "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
12783 			  "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
12784 			  "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
12785 			  "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
12786 			  "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
12787 			  "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
12788 			  "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
12789 			  "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
12790 			  "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
12791 			  "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
12792 			  "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
12793 			  "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
12794 			  "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
12795 			  "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
12796 			  "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
12797 			  "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
12798 			  "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
12799 			  "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
12800 			  "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
12801 			  "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
12802 			  "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
12803 			  "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
12804 			  "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
12805 			  "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
12806 			  "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
12807 			  "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
12808 			  "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
12809 		.ilen	= 512,
12810 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12811 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12812 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12813 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12814 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12815 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12816 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12817 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12818 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12819 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12820 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12821 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12822 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12823 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12824 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12825 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12826 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12827 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12828 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12829 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12830 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12831 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12832 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12833 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12834 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12835 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12836 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12837 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12838 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12839 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12840 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12841 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12842 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12843 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12844 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12845 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12846 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12847 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12848 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12849 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12850 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12851 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12852 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12853 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12854 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12855 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12856 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
12857 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
12858 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
12859 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
12860 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
12861 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
12862 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
12863 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
12864 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
12865 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
12866 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
12867 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
12868 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
12869 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
12870 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
12871 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
12872 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
12873 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
12874 		.rlen	= 512,
12875 		.also_non_np = 1,
12876 		.np	= 3,
12877 		.tap	= { 512 - 20, 4, 16 },
12878 	},
12879 };
12880 
12881 static const struct cipher_testvec serpent_xts_enc_tv_template[] = {
12882 	/* Generated from AES-XTS test vectors */
12883 	{
12884 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12885 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
12886 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
12887 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
12888 		.klen	= 32,
12889 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12890 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
12891 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12892 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
12893 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
12894 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
12895 		.ilen	= 32,
12896 		.result	= "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
12897 			  "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
12898 			  "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
12899 			  "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
12900 		.rlen	= 32,
12901 	}, {
12902 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
12903 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
12904 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
12905 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
12906 		.klen	= 32,
12907 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
12908 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
12909 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
12910 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
12911 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
12912 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
12913 		.ilen	= 32,
12914 		.result	= "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
12915 			  "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
12916 			  "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
12917 			  "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
12918 		.rlen	= 32,
12919 	}, {
12920 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
12921 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
12922 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
12923 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
12924 		.klen	= 32,
12925 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
12926 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
12927 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
12928 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
12929 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
12930 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
12931 		.ilen	= 32,
12932 		.result	= "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
12933 			  "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
12934 			  "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
12935 			  "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
12936 		.rlen	= 32,
12937 	}, {
12938 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
12939 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
12940 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
12941 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
12942 		.klen	= 32,
12943 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12944 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
12945 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
12946 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12947 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
12948 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12949 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
12950 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12951 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
12952 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12953 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
12954 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12955 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
12956 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12957 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
12958 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12959 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
12960 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12961 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
12962 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12963 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
12964 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12965 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12966 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12967 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
12968 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
12969 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
12970 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
12971 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
12972 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
12973 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
12974 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
12975 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
12976 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
12977 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
12978 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
12979 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
12980 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
12981 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
12982 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
12983 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
12984 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
12985 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
12986 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
12987 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
12988 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
12989 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
12990 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
12991 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
12992 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
12993 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
12994 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
12995 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
12996 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
12997 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
12998 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
12999 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13000 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13001 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13002 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13003 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13004 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13005 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13006 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13007 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13008 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13009 		.ilen	= 512,
13010 		.result	= "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
13011 			  "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
13012 			  "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
13013 			  "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
13014 			  "\x00\x5c\x75\x14\x06\xd6\x25\x82"
13015 			  "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
13016 			  "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
13017 			  "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
13018 			  "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
13019 			  "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
13020 			  "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
13021 			  "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
13022 			  "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
13023 			  "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
13024 			  "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
13025 			  "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
13026 			  "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
13027 			  "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
13028 			  "\x58\xfa\x43\x91\x16\x85\x40\xbb"
13029 			  "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
13030 			  "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
13031 			  "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
13032 			  "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
13033 			  "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
13034 			  "\x6e\x29\x60\xbd\x10\x14\x84\x82"
13035 			  "\x83\x82\x0c\x63\x73\x92\x02\x7c"
13036 			  "\x55\x37\x20\x80\x17\x51\xc8\xbc"
13037 			  "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
13038 			  "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
13039 			  "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
13040 			  "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
13041 			  "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
13042 			  "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
13043 			  "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
13044 			  "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
13045 			  "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
13046 			  "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
13047 			  "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
13048 			  "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
13049 			  "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
13050 			  "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
13051 			  "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
13052 			  "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
13053 			  "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
13054 			  "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
13055 			  "\x43\x42\x35\xd0\xcf\xec\x77\x67"
13056 			  "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
13057 			  "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
13058 			  "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
13059 			  "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
13060 			  "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
13061 			  "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
13062 			  "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
13063 			  "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
13064 			  "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
13065 			  "\x03\x57\xe6\x98\x52\x2f\x61\x62"
13066 			  "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
13067 			  "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
13068 			  "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
13069 			  "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
13070 			  "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
13071 			  "\xef\x91\x64\x1d\x18\x07\x4e\x31"
13072 			  "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
13073 			  "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
13074 		.rlen	= 512,
13075 	}, {
13076 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
13077 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
13078 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
13079 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
13080 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13081 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
13082 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
13083 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
13084 		.klen	= 64,
13085 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
13086 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13087 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13088 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13089 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13090 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13091 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13092 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13093 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13094 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13095 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13096 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13097 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13098 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13099 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13100 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13101 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13102 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13103 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13104 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13105 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13106 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13107 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13108 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13109 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13110 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13111 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13112 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13113 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13114 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13115 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13116 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13117 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13118 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13119 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13120 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13121 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13122 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13123 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13124 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13125 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13126 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13127 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13128 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13129 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13130 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13131 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13132 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13133 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13134 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13135 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13136 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13137 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13138 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13139 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13140 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13141 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13142 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13143 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13144 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13145 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13146 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13147 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13148 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13149 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13150 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13151 		.ilen	= 512,
13152 		.result	= "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
13153 			  "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
13154 			  "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
13155 			  "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
13156 			  "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
13157 			  "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
13158 			  "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
13159 			  "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
13160 			  "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
13161 			  "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
13162 			  "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
13163 			  "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
13164 			  "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
13165 			  "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
13166 			  "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
13167 			  "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
13168 			  "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
13169 			  "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
13170 			  "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
13171 			  "\xec\x9a\xda\x64\x96\xb5\x61\xff"
13172 			  "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
13173 			  "\x81\x85\x14\xa8\x59\xac\x8c\x94"
13174 			  "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
13175 			  "\x82\xc6\x4d\xca\x86\xea\x53\x28"
13176 			  "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
13177 			  "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
13178 			  "\x05\xca\x81\x7b\xda\xa2\xde\x63"
13179 			  "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
13180 			  "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
13181 			  "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
13182 			  "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
13183 			  "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
13184 			  "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
13185 			  "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
13186 			  "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
13187 			  "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
13188 			  "\xfd\x43\x7d\xda\x42\x51\x87\x43"
13189 			  "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
13190 			  "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
13191 			  "\x27\x5f\x11\xac\x71\xc7\x48\x46"
13192 			  "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
13193 			  "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
13194 			  "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
13195 			  "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
13196 			  "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
13197 			  "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
13198 			  "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
13199 			  "\x50\x88\x97\x40\x69\xb1\x37\xf5"
13200 			  "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
13201 			  "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
13202 			  "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
13203 			  "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
13204 			  "\xc1\x16\x73\x50\x77\xba\xa6\x65"
13205 			  "\x20\x2d\xb0\x02\x27\x89\xda\x99"
13206 			  "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
13207 			  "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
13208 			  "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
13209 			  "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
13210 			  "\xa3\x0e\x33\x74\x40\x18\x39\x72"
13211 			  "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
13212 			  "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
13213 			  "\x30\x05\xc8\x92\x98\x80\xff\x7a"
13214 			  "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
13215 			  "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
13216 		.rlen	= 512,
13217 		.also_non_np = 1,
13218 		.np	= 3,
13219 		.tap	= { 512 - 20, 4, 16 },
13220 	},
13221 };
13222 
13223 static const struct cipher_testvec serpent_xts_dec_tv_template[] = {
13224 	/* Generated from AES-XTS test vectors */
13225 	/* same as enc vectors with input and result reversed */
13226 	{
13227 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13228 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13229 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13230 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13231 		.klen	= 32,
13232 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13233 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13234 		.input	= "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
13235 			  "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
13236 			  "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
13237 			  "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
13238 		.ilen	= 32,
13239 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13240 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13241 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13242 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13243 		.rlen	= 32,
13244 	}, {
13245 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
13246 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
13247 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
13248 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
13249 		.klen	= 32,
13250 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
13251 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13252 		.input	= "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
13253 			  "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
13254 			  "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
13255 			  "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
13256 		.ilen	= 32,
13257 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
13258 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13259 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13260 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
13261 		.rlen	= 32,
13262 	}, {
13263 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
13264 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
13265 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
13266 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
13267 		.klen	= 32,
13268 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
13269 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13270 		.input	= "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
13271 			  "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
13272 			  "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
13273 			  "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
13274 		.ilen	= 32,
13275 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
13276 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13277 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13278 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
13279 		.rlen	= 32,
13280 	}, {
13281 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
13282 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
13283 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13284 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
13285 		.klen	= 32,
13286 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13287 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13288 		.input	= "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
13289 			  "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
13290 			  "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
13291 			  "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
13292 			  "\x00\x5c\x75\x14\x06\xd6\x25\x82"
13293 			  "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
13294 			  "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
13295 			  "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
13296 			  "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
13297 			  "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
13298 			  "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
13299 			  "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
13300 			  "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
13301 			  "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
13302 			  "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
13303 			  "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
13304 			  "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
13305 			  "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
13306 			  "\x58\xfa\x43\x91\x16\x85\x40\xbb"
13307 			  "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
13308 			  "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
13309 			  "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
13310 			  "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
13311 			  "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
13312 			  "\x6e\x29\x60\xbd\x10\x14\x84\x82"
13313 			  "\x83\x82\x0c\x63\x73\x92\x02\x7c"
13314 			  "\x55\x37\x20\x80\x17\x51\xc8\xbc"
13315 			  "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
13316 			  "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
13317 			  "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
13318 			  "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
13319 			  "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
13320 			  "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
13321 			  "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
13322 			  "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
13323 			  "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
13324 			  "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
13325 			  "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
13326 			  "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
13327 			  "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
13328 			  "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
13329 			  "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
13330 			  "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
13331 			  "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
13332 			  "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
13333 			  "\x43\x42\x35\xd0\xcf\xec\x77\x67"
13334 			  "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
13335 			  "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
13336 			  "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
13337 			  "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
13338 			  "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
13339 			  "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
13340 			  "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
13341 			  "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
13342 			  "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
13343 			  "\x03\x57\xe6\x98\x52\x2f\x61\x62"
13344 			  "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
13345 			  "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
13346 			  "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
13347 			  "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
13348 			  "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
13349 			  "\xef\x91\x64\x1d\x18\x07\x4e\x31"
13350 			  "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
13351 			  "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
13352 		.ilen	= 512,
13353 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13354 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13355 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13356 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13357 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13358 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13359 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13360 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13361 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13362 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13363 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13364 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13365 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13366 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13367 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13368 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13369 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13370 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13371 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13372 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13373 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13374 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13375 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13376 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13377 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13378 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13379 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13380 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13381 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13382 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13383 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13384 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13385 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13386 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13387 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13388 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13389 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13390 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13391 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13392 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13393 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13394 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13395 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13396 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13397 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13398 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13399 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13400 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13401 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13402 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13403 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13404 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13405 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13406 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13407 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13408 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13409 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13410 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13411 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13412 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13413 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13414 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13415 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13416 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13417 		.rlen	= 512,
13418 	}, {
13419 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
13420 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
13421 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
13422 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
13423 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13424 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
13425 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
13426 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
13427 		.klen	= 64,
13428 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
13429 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13430 		.input	= "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
13431 			  "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
13432 			  "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
13433 			  "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
13434 			  "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
13435 			  "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
13436 			  "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
13437 			  "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
13438 			  "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
13439 			  "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
13440 			  "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
13441 			  "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
13442 			  "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
13443 			  "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
13444 			  "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
13445 			  "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
13446 			  "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
13447 			  "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
13448 			  "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
13449 			  "\xec\x9a\xda\x64\x96\xb5\x61\xff"
13450 			  "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
13451 			  "\x81\x85\x14\xa8\x59\xac\x8c\x94"
13452 			  "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
13453 			  "\x82\xc6\x4d\xca\x86\xea\x53\x28"
13454 			  "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
13455 			  "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
13456 			  "\x05\xca\x81\x7b\xda\xa2\xde\x63"
13457 			  "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
13458 			  "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
13459 			  "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
13460 			  "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
13461 			  "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
13462 			  "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
13463 			  "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
13464 			  "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
13465 			  "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
13466 			  "\xfd\x43\x7d\xda\x42\x51\x87\x43"
13467 			  "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
13468 			  "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
13469 			  "\x27\x5f\x11\xac\x71\xc7\x48\x46"
13470 			  "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
13471 			  "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
13472 			  "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
13473 			  "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
13474 			  "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
13475 			  "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
13476 			  "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
13477 			  "\x50\x88\x97\x40\x69\xb1\x37\xf5"
13478 			  "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
13479 			  "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
13480 			  "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
13481 			  "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
13482 			  "\xc1\x16\x73\x50\x77\xba\xa6\x65"
13483 			  "\x20\x2d\xb0\x02\x27\x89\xda\x99"
13484 			  "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
13485 			  "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
13486 			  "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
13487 			  "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
13488 			  "\xa3\x0e\x33\x74\x40\x18\x39\x72"
13489 			  "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
13490 			  "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
13491 			  "\x30\x05\xc8\x92\x98\x80\xff\x7a"
13492 			  "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
13493 			  "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
13494 		.ilen	= 512,
13495 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13496 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13497 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13498 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13499 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13500 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13501 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13502 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13503 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13504 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13505 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13506 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13507 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13508 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13509 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13510 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13511 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13512 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13513 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13514 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13515 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13516 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13517 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13518 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13519 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13520 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13521 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13522 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13523 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13524 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13525 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13526 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13527 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13528 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13529 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13530 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13531 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13532 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13533 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13534 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13535 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13536 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13537 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13538 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13539 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13540 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13541 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13542 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13543 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13544 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13545 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13546 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13547 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13548 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13549 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13550 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13551 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13552 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13553 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13554 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13555 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13556 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13557 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13558 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13559 		.rlen	= 512,
13560 		.also_non_np = 1,
13561 		.np	= 3,
13562 		.tap	= { 512 - 20, 4, 16 },
13563 	},
13564 };
13565 
13566 /* Cast6 test vectors from RFC 2612 */
13567 static const struct cipher_testvec cast6_enc_tv_template[] = {
13568 	{
13569 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13570 			  "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
13571 		.klen	= 16,
13572 		.input	= zeroed_string,
13573 		.ilen	= 16,
13574 		.result	= "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
13575 			  "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
13576 		.rlen	= 16,
13577 	}, {
13578 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13579 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13580 			  "\xba\xc7\x7a\x77\x17\x94\x28\x63",
13581 		.klen	= 24,
13582 		.input	= zeroed_string,
13583 		.ilen	= 16,
13584 		.result	= "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
13585 			  "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
13586 		.rlen	= 16,
13587 	}, {
13588 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13589 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13590 			  "\x8d\x7c\x47\xce\x26\x49\x08\x46"
13591 			  "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
13592 		.klen	= 32,
13593 		.input	= zeroed_string,
13594 		.ilen	= 16,
13595 		.result	= "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
13596 			  "\xc9\x87\x01\x36\x55\x33\x17\xfa",
13597 		.rlen	= 16,
13598 	}, { /* Generated from TF test vectors */
13599 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13600 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13601 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13602 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13603 		.klen	= 32,
13604 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13605 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13606 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13607 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13608 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13609 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13610 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13611 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13612 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13613 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13614 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13615 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13616 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13617 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13618 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13619 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13620 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13621 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13622 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13623 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13624 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13625 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13626 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13627 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13628 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13629 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13630 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13631 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13632 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13633 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13634 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13635 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13636 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13637 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13638 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13639 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13640 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13641 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13642 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13643 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13644 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13645 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13646 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13647 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13648 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13649 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13650 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13651 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13652 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13653 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13654 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13655 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13656 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13657 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13658 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13659 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13660 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13661 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13662 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13663 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13664 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13665 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13666 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13667 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13668 		.ilen	= 496,
13669 		.result	= "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
13670 			  "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
13671 			  "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
13672 			  "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
13673 			  "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
13674 			  "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
13675 			  "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
13676 			  "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
13677 			  "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
13678 			  "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
13679 			  "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
13680 			  "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
13681 			  "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
13682 			  "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
13683 			  "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
13684 			  "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
13685 			  "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
13686 			  "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
13687 			  "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
13688 			  "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
13689 			  "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
13690 			  "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
13691 			  "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
13692 			  "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
13693 			  "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
13694 			  "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
13695 			  "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
13696 			  "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
13697 			  "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
13698 			  "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
13699 			  "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
13700 			  "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
13701 			  "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
13702 			  "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
13703 			  "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
13704 			  "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
13705 			  "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
13706 			  "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
13707 			  "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
13708 			  "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
13709 			  "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
13710 			  "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
13711 			  "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
13712 			  "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
13713 			  "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
13714 			  "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
13715 			  "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
13716 			  "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
13717 			  "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
13718 			  "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
13719 			  "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
13720 			  "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
13721 			  "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
13722 			  "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
13723 			  "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
13724 			  "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
13725 			  "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
13726 			  "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
13727 			  "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
13728 			  "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
13729 			  "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
13730 			  "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
13731 		.rlen	= 496,
13732 		.also_non_np = 1,
13733 		.np	= 3,
13734 		.tap	= { 496 - 20, 4, 16 },
13735 	},
13736 };
13737 
13738 static const struct cipher_testvec cast6_dec_tv_template[] = {
13739 	{
13740 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13741 			  "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
13742 		.klen	= 16,
13743 		.input	= "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
13744 			  "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
13745 		.ilen	= 16,
13746 		.result	= zeroed_string,
13747 		.rlen	= 16,
13748 	}, {
13749 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13750 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13751 			  "\xba\xc7\x7a\x77\x17\x94\x28\x63",
13752 		.klen	= 24,
13753 		.input	= "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
13754 			  "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
13755 		.ilen	= 16,
13756 		.result	= zeroed_string,
13757 		.rlen	= 16,
13758 	}, {
13759 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13760 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13761 			  "\x8d\x7c\x47\xce\x26\x49\x08\x46"
13762 			  "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
13763 		.klen	= 32,
13764 		.input	= "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
13765 			  "\xc9\x87\x01\x36\x55\x33\x17\xfa",
13766 		.ilen	= 16,
13767 		.result	= zeroed_string,
13768 		.rlen	= 16,
13769 	}, { /* Generated from TF test vectors */
13770 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13771 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13772 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13773 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13774 		.klen	= 32,
13775 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13776 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13777 		.input	= "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
13778 			  "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
13779 			  "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
13780 			  "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
13781 			  "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
13782 			  "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
13783 			  "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
13784 			  "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
13785 			  "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
13786 			  "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
13787 			  "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
13788 			  "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
13789 			  "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
13790 			  "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
13791 			  "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
13792 			  "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
13793 			  "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
13794 			  "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
13795 			  "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
13796 			  "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
13797 			  "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
13798 			  "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
13799 			  "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
13800 			  "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
13801 			  "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
13802 			  "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
13803 			  "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
13804 			  "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
13805 			  "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
13806 			  "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
13807 			  "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
13808 			  "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
13809 			  "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
13810 			  "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
13811 			  "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
13812 			  "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
13813 			  "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
13814 			  "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
13815 			  "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
13816 			  "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
13817 			  "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
13818 			  "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
13819 			  "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
13820 			  "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
13821 			  "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
13822 			  "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
13823 			  "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
13824 			  "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
13825 			  "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
13826 			  "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
13827 			  "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
13828 			  "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
13829 			  "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
13830 			  "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
13831 			  "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
13832 			  "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
13833 			  "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
13834 			  "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
13835 			  "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
13836 			  "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
13837 			  "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
13838 			  "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
13839 		.ilen	= 496,
13840 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13841 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13842 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13843 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13844 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13845 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13846 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13847 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13848 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13849 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13850 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13851 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13852 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13853 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13854 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13855 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13856 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13857 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13858 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13859 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13860 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13861 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13862 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13863 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13864 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13865 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13866 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13867 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13868 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13869 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13870 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13871 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13872 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13873 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13874 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13875 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13876 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13877 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13878 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13879 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13880 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13881 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13882 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13883 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13884 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13885 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13886 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13887 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13888 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13889 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13890 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13891 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13892 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13893 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13894 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13895 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13896 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13897 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13898 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13899 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13900 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13901 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13902 		.rlen	= 496,
13903 		.also_non_np = 1,
13904 		.np	= 3,
13905 		.tap	= { 496 - 20, 4, 16 },
13906 	},
13907 };
13908 
13909 static const struct cipher_testvec cast6_cbc_enc_tv_template[] = {
13910 	{ /* Generated from TF test vectors */
13911 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13912 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13913 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13914 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13915 		.klen	= 32,
13916 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13917 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13918 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13919 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13920 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13921 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13922 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13923 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13924 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13925 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13926 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13927 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13928 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13929 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13930 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13931 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13932 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13933 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13934 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13935 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13936 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13937 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13938 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13939 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13940 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13941 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13942 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13943 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13944 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13945 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13946 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13947 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13948 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13949 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13950 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13951 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13952 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13953 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13954 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13955 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13956 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13957 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13958 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13959 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13960 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13961 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13962 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13963 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13964 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13965 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13966 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13967 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13968 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13969 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13970 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13971 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13972 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13973 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13974 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13975 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13976 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13977 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13978 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13979 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13980 		.ilen	= 496,
13981 		.result	= "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
13982 			  "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
13983 			  "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
13984 			  "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
13985 			  "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
13986 			  "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
13987 			  "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
13988 			  "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
13989 			  "\x57\x95\xE1\x21\x26\x10\x9A\x21"
13990 			  "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
13991 			  "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
13992 			  "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
13993 			  "\x23\x16\x47\x72\x81\x13\x3A\x72"
13994 			  "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
13995 			  "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
13996 			  "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
13997 			  "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
13998 			  "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
13999 			  "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
14000 			  "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
14001 			  "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
14002 			  "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
14003 			  "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
14004 			  "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
14005 			  "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
14006 			  "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
14007 			  "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
14008 			  "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
14009 			  "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
14010 			  "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
14011 			  "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
14012 			  "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
14013 			  "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
14014 			  "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
14015 			  "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
14016 			  "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
14017 			  "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
14018 			  "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
14019 			  "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
14020 			  "\x73\x3F\x12\x91\x47\x54\xBA\x39"
14021 			  "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
14022 			  "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
14023 			  "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
14024 			  "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
14025 			  "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
14026 			  "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
14027 			  "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
14028 			  "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
14029 			  "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
14030 			  "\x80\x21\x83\x58\x3C\x76\xFD\x28"
14031 			  "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
14032 			  "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
14033 			  "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
14034 			  "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
14035 			  "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
14036 			  "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
14037 			  "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
14038 			  "\x56\x4D\x82\x62\x37\xA3\x48\x01"
14039 			  "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
14040 			  "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
14041 			  "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
14042 			  "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
14043 		.rlen	= 496,
14044 		.also_non_np = 1,
14045 		.np	= 3,
14046 		.tap	= { 496 - 20, 4, 16 },
14047 	},
14048 };
14049 
14050 static const struct cipher_testvec cast6_cbc_dec_tv_template[] = {
14051 	{ /* Generated from TF test vectors */
14052 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14053 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14054 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14055 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14056 		.klen	= 32,
14057 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14058 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14059 		.input	= "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
14060 			  "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
14061 			  "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
14062 			  "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
14063 			  "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
14064 			  "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
14065 			  "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
14066 			  "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
14067 			  "\x57\x95\xE1\x21\x26\x10\x9A\x21"
14068 			  "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
14069 			  "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
14070 			  "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
14071 			  "\x23\x16\x47\x72\x81\x13\x3A\x72"
14072 			  "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
14073 			  "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
14074 			  "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
14075 			  "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
14076 			  "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
14077 			  "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
14078 			  "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
14079 			  "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
14080 			  "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
14081 			  "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
14082 			  "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
14083 			  "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
14084 			  "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
14085 			  "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
14086 			  "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
14087 			  "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
14088 			  "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
14089 			  "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
14090 			  "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
14091 			  "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
14092 			  "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
14093 			  "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
14094 			  "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
14095 			  "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
14096 			  "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
14097 			  "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
14098 			  "\x73\x3F\x12\x91\x47\x54\xBA\x39"
14099 			  "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
14100 			  "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
14101 			  "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
14102 			  "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
14103 			  "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
14104 			  "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
14105 			  "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
14106 			  "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
14107 			  "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
14108 			  "\x80\x21\x83\x58\x3C\x76\xFD\x28"
14109 			  "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
14110 			  "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
14111 			  "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
14112 			  "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
14113 			  "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
14114 			  "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
14115 			  "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
14116 			  "\x56\x4D\x82\x62\x37\xA3\x48\x01"
14117 			  "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
14118 			  "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
14119 			  "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
14120 			  "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
14121 		.ilen	= 496,
14122 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14123 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14124 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14125 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14126 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14127 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14128 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14129 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14130 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14131 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14132 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14133 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14134 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14135 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14136 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14137 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14138 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14139 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14140 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14141 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14142 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14143 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14144 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14145 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14146 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14147 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14148 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14149 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14150 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14151 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14152 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14153 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14154 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14155 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14156 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14157 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14158 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14159 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14160 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14161 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14162 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14163 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14164 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14165 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14166 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14167 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14168 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14169 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14170 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14171 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14172 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14173 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14174 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14175 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14176 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14177 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14178 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14179 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14180 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14181 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14182 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14183 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14184 		.rlen	= 496,
14185 		.also_non_np = 1,
14186 		.np	= 3,
14187 		.tap	= { 496 - 20, 4, 16 },
14188 	},
14189 };
14190 
14191 static const struct cipher_testvec cast6_ctr_enc_tv_template[] = {
14192 	{ /* Generated from TF test vectors */
14193 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14194 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14195 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14196 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14197 		.klen	= 32,
14198 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14199 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14200 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14201 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14202 			  "\x3A",
14203 		.ilen	= 17,
14204 		.result	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14205 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14206 			  "\x57",
14207 		.rlen	= 17,
14208 	}, { /* Generated from TF test vectors */
14209 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14210 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14211 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14212 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14213 		.klen	= 32,
14214 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14215 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14216 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14217 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14218 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14219 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14220 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14221 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14222 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14223 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14224 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14225 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14226 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14227 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14228 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14229 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14230 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14231 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14232 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14233 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14234 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14235 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14236 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14237 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14238 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14239 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14240 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14241 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14242 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14243 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14244 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14245 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14246 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14247 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14248 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14249 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14250 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14251 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14252 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14253 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14254 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14255 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14256 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14257 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14258 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14259 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14260 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14261 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14262 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14263 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14264 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14265 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14266 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14267 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14268 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14269 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14270 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14271 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14272 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14273 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14274 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14275 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14276 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14277 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14278 		.ilen	= 496,
14279 		.result	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14280 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14281 			  "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
14282 			  "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
14283 			  "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
14284 			  "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
14285 			  "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
14286 			  "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
14287 			  "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
14288 			  "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
14289 			  "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
14290 			  "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
14291 			  "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
14292 			  "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
14293 			  "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
14294 			  "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
14295 			  "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
14296 			  "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
14297 			  "\x49\x61\x22\x52\x64\x8C\x46\x41"
14298 			  "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
14299 			  "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
14300 			  "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
14301 			  "\x00\x14\x15\x59\xC1\x30\x64\xAF"
14302 			  "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
14303 			  "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
14304 			  "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
14305 			  "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
14306 			  "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
14307 			  "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
14308 			  "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
14309 			  "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
14310 			  "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
14311 			  "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
14312 			  "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
14313 			  "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
14314 			  "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
14315 			  "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
14316 			  "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
14317 			  "\x60\x40\x38\x90\x20\x46\xC7\xB3"
14318 			  "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
14319 			  "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
14320 			  "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
14321 			  "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
14322 			  "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
14323 			  "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
14324 			  "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
14325 			  "\x73\xFC\x91\xAB\x79\x41\x23\x14"
14326 			  "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
14327 			  "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
14328 			  "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
14329 			  "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
14330 			  "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
14331 			  "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
14332 			  "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
14333 			  "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
14334 			  "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
14335 			  "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
14336 			  "\x19\x35\x88\x22\x45\x59\x0E\x8F"
14337 			  "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
14338 			  "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
14339 			  "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
14340 			  "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
14341 		.rlen	= 496,
14342 		.also_non_np = 1,
14343 		.np	= 3,
14344 		.tap	= { 496 - 20, 4, 16 },
14345 	},
14346 };
14347 
14348 static const struct cipher_testvec cast6_ctr_dec_tv_template[] = {
14349 	{ /* Generated from TF test vectors */
14350 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14351 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14352 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14353 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14354 		.klen	= 32,
14355 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14356 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14357 		.input	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14358 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14359 			  "\x57",
14360 		.ilen	= 17,
14361 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14362 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14363 			  "\x3A",
14364 		.rlen	= 17,
14365 	}, { /* Generated from TF test vectors */
14366 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14367 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14368 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14369 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14370 		.klen	= 32,
14371 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14372 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14373 		.input	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14374 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14375 			  "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
14376 			  "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
14377 			  "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
14378 			  "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
14379 			  "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
14380 			  "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
14381 			  "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
14382 			  "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
14383 			  "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
14384 			  "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
14385 			  "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
14386 			  "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
14387 			  "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
14388 			  "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
14389 			  "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
14390 			  "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
14391 			  "\x49\x61\x22\x52\x64\x8C\x46\x41"
14392 			  "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
14393 			  "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
14394 			  "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
14395 			  "\x00\x14\x15\x59\xC1\x30\x64\xAF"
14396 			  "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
14397 			  "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
14398 			  "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
14399 			  "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
14400 			  "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
14401 			  "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
14402 			  "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
14403 			  "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
14404 			  "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
14405 			  "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
14406 			  "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
14407 			  "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
14408 			  "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
14409 			  "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
14410 			  "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
14411 			  "\x60\x40\x38\x90\x20\x46\xC7\xB3"
14412 			  "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
14413 			  "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
14414 			  "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
14415 			  "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
14416 			  "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
14417 			  "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
14418 			  "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
14419 			  "\x73\xFC\x91\xAB\x79\x41\x23\x14"
14420 			  "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
14421 			  "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
14422 			  "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
14423 			  "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
14424 			  "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
14425 			  "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
14426 			  "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
14427 			  "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
14428 			  "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
14429 			  "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
14430 			  "\x19\x35\x88\x22\x45\x59\x0E\x8F"
14431 			  "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
14432 			  "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
14433 			  "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
14434 			  "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
14435 		.ilen	= 496,
14436 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14437 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14438 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14439 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14440 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14441 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14442 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14443 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14444 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14445 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14446 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14447 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14448 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14449 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14450 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14451 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14452 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14453 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14454 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14455 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14456 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14457 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14458 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14459 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14460 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14461 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14462 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14463 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14464 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14465 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14466 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14467 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14468 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14469 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14470 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14471 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14472 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14473 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14474 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14475 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14476 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14477 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14478 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14479 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14480 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14481 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14482 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14483 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14484 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14485 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14486 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14487 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14488 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14489 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14490 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14491 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14492 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14493 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14494 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14495 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14496 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14497 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14498 		.rlen	= 496,
14499 		.also_non_np = 1,
14500 		.np	= 3,
14501 		.tap	= { 496 - 20, 4, 16 },
14502 	},
14503 };
14504 
14505 static const struct cipher_testvec cast6_lrw_enc_tv_template[] = {
14506 	{ /* Generated from TF test vectors */
14507 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14508 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14509 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14510 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14511 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14512 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14513 		.klen	= 48,
14514 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
14515 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
14516 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14517 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14518 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14519 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14520 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14521 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14522 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14523 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14524 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14525 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14526 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14527 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14528 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14529 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14530 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14531 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14532 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14533 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14534 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14535 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14536 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14537 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14538 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14539 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14540 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14541 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14542 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14543 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14544 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14545 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14546 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14547 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14548 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14549 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14550 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14551 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14552 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14553 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14554 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14555 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14556 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14557 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14558 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14559 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14560 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14561 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14562 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14563 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14564 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14565 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14566 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14567 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14568 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14569 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14570 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14571 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14572 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14573 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14574 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14575 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14576 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14577 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14578 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14579 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14580 		.ilen	= 512,
14581 		.result	= "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
14582 			  "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
14583 			  "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
14584 			  "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
14585 			  "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
14586 			  "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
14587 			  "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
14588 			  "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
14589 			  "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
14590 			  "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
14591 			  "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
14592 			  "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
14593 			  "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
14594 			  "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
14595 			  "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
14596 			  "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
14597 			  "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
14598 			  "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
14599 			  "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
14600 			  "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
14601 			  "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
14602 			  "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
14603 			  "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
14604 			  "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
14605 			  "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
14606 			  "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
14607 			  "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
14608 			  "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
14609 			  "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
14610 			  "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
14611 			  "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
14612 			  "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
14613 			  "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
14614 			  "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
14615 			  "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
14616 			  "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
14617 			  "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
14618 			  "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
14619 			  "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
14620 			  "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
14621 			  "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
14622 			  "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
14623 			  "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
14624 			  "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
14625 			  "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
14626 			  "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
14627 			  "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
14628 			  "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
14629 			  "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
14630 			  "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
14631 			  "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
14632 			  "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
14633 			  "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
14634 			  "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
14635 			  "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
14636 			  "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
14637 			  "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
14638 			  "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
14639 			  "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
14640 			  "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
14641 			  "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
14642 			  "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
14643 			  "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
14644 			  "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
14645 		.rlen	= 512,
14646 		.also_non_np = 1,
14647 		.np	= 3,
14648 		.tap	= { 512 - 20, 4, 16 },
14649 	},
14650 };
14651 
14652 static const struct cipher_testvec cast6_lrw_dec_tv_template[] = {
14653 	{ /* Generated from TF test vectors */
14654 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14655 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14656 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14657 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14658 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14659 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14660 		.klen	= 48,
14661 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
14662 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
14663 		.input	= "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
14664 			  "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
14665 			  "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
14666 			  "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
14667 			  "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
14668 			  "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
14669 			  "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
14670 			  "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
14671 			  "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
14672 			  "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
14673 			  "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
14674 			  "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
14675 			  "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
14676 			  "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
14677 			  "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
14678 			  "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
14679 			  "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
14680 			  "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
14681 			  "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
14682 			  "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
14683 			  "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
14684 			  "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
14685 			  "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
14686 			  "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
14687 			  "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
14688 			  "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
14689 			  "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
14690 			  "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
14691 			  "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
14692 			  "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
14693 			  "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
14694 			  "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
14695 			  "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
14696 			  "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
14697 			  "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
14698 			  "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
14699 			  "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
14700 			  "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
14701 			  "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
14702 			  "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
14703 			  "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
14704 			  "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
14705 			  "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
14706 			  "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
14707 			  "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
14708 			  "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
14709 			  "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
14710 			  "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
14711 			  "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
14712 			  "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
14713 			  "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
14714 			  "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
14715 			  "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
14716 			  "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
14717 			  "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
14718 			  "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
14719 			  "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
14720 			  "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
14721 			  "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
14722 			  "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
14723 			  "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
14724 			  "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
14725 			  "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
14726 			  "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
14727 		.ilen	= 512,
14728 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14729 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14730 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14731 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14732 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14733 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14734 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14735 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14736 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14737 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14738 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14739 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14740 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14741 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14742 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14743 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14744 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14745 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14746 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14747 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14748 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14749 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14750 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14751 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14752 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14753 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14754 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14755 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14756 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14757 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14758 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14759 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14760 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14761 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14762 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14763 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14764 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14765 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14766 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14767 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14768 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14769 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14770 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14771 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14772 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14773 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14774 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14775 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14776 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14777 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14778 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14779 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14780 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14781 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14782 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14783 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14784 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14785 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14786 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14787 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14788 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14789 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14790 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14791 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14792 		.rlen	= 512,
14793 		.also_non_np = 1,
14794 		.np	= 3,
14795 		.tap	= { 512 - 20, 4, 16 },
14796 	},
14797 };
14798 
14799 static const struct cipher_testvec cast6_xts_enc_tv_template[] = {
14800 	{ /* Generated from TF test vectors */
14801 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
14802 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
14803 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
14804 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
14805 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
14806 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
14807 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
14808 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
14809 		.klen	= 64,
14810 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
14811 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
14812 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
14813 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14814 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
14815 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14816 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
14817 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14818 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
14819 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14820 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
14821 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14822 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
14823 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14824 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
14825 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14826 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
14827 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14828 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
14829 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14830 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
14831 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14832 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14833 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14834 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14835 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14836 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14837 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14838 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14839 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14840 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14841 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14842 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14843 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
14844 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
14845 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14846 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
14847 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14848 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
14849 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14850 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
14851 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14852 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
14853 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14854 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
14855 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14856 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
14857 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14858 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
14859 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14860 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
14861 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14862 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
14863 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14864 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14865 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14866 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14867 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14868 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14869 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14870 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14871 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14872 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14873 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14874 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14875 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
14876 		.ilen	= 512,
14877 		.result	= "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
14878 			  "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
14879 			  "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
14880 			  "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
14881 			  "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
14882 			  "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
14883 			  "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
14884 			  "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
14885 			  "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
14886 			  "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
14887 			  "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
14888 			  "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
14889 			  "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
14890 			  "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
14891 			  "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
14892 			  "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
14893 			  "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
14894 			  "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
14895 			  "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
14896 			  "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
14897 			  "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
14898 			  "\x71\x38\x17\x91\x44\xE8\xFC\x65"
14899 			  "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
14900 			  "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
14901 			  "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
14902 			  "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
14903 			  "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
14904 			  "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
14905 			  "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
14906 			  "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
14907 			  "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
14908 			  "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
14909 			  "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
14910 			  "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
14911 			  "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
14912 			  "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
14913 			  "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
14914 			  "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
14915 			  "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
14916 			  "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
14917 			  "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
14918 			  "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
14919 			  "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
14920 			  "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
14921 			  "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
14922 			  "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
14923 			  "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
14924 			  "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
14925 			  "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
14926 			  "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
14927 			  "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
14928 			  "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
14929 			  "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
14930 			  "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
14931 			  "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
14932 			  "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
14933 			  "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
14934 			  "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
14935 			  "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
14936 			  "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
14937 			  "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
14938 			  "\x45\x72\x80\x17\x81\xBD\x9D\x62"
14939 			  "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
14940 			  "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
14941 		.rlen	= 512,
14942 		.also_non_np = 1,
14943 		.np	= 3,
14944 		.tap	= { 512 - 20, 4, 16 },
14945 	},
14946 };
14947 
14948 static const struct cipher_testvec cast6_xts_dec_tv_template[] = {
14949 	{ /* Generated from TF test vectors */
14950 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
14951 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
14952 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
14953 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
14954 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
14955 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
14956 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
14957 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
14958 		.klen	= 64,
14959 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
14960 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
14961 		.input	= "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
14962 			  "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
14963 			  "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
14964 			  "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
14965 			  "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
14966 			  "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
14967 			  "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
14968 			  "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
14969 			  "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
14970 			  "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
14971 			  "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
14972 			  "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
14973 			  "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
14974 			  "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
14975 			  "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
14976 			  "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
14977 			  "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
14978 			  "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
14979 			  "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
14980 			  "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
14981 			  "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
14982 			  "\x71\x38\x17\x91\x44\xE8\xFC\x65"
14983 			  "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
14984 			  "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
14985 			  "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
14986 			  "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
14987 			  "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
14988 			  "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
14989 			  "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
14990 			  "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
14991 			  "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
14992 			  "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
14993 			  "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
14994 			  "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
14995 			  "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
14996 			  "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
14997 			  "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
14998 			  "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
14999 			  "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
15000 			  "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
15001 			  "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
15002 			  "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
15003 			  "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
15004 			  "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
15005 			  "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
15006 			  "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
15007 			  "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
15008 			  "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
15009 			  "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
15010 			  "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
15011 			  "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
15012 			  "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
15013 			  "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
15014 			  "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
15015 			  "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
15016 			  "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
15017 			  "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
15018 			  "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
15019 			  "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
15020 			  "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
15021 			  "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
15022 			  "\x45\x72\x80\x17\x81\xBD\x9D\x62"
15023 			  "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
15024 			  "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
15025 		.ilen	= 512,
15026 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15027 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15028 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15029 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15030 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
15031 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15032 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
15033 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15034 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
15035 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15036 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
15037 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15038 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
15039 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15040 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
15041 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15042 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
15043 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15044 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
15045 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15046 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15047 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15048 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15049 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15050 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15051 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15052 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15053 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15054 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15055 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15056 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15057 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15058 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
15059 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15060 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15061 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15062 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
15063 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15064 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
15065 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15066 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
15067 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15068 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
15069 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15070 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
15071 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15072 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
15073 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15074 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
15075 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15076 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
15077 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15078 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15079 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15080 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15081 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15082 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15083 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15084 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15085 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15086 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15087 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15088 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15089 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15090 		.rlen	= 512,
15091 		.also_non_np = 1,
15092 		.np	= 3,
15093 		.tap	= { 512 - 20, 4, 16 },
15094 	},
15095 };
15096 
15097 
15098 /*
15099  * AES test vectors.
15100  */
15101 static const struct cipher_testvec aes_enc_tv_template[] = {
15102 	{ /* From FIPS-197 */
15103 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15104 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15105 		.klen	= 16,
15106 		.input	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15107 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15108 		.ilen	= 16,
15109 		.result	= "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
15110 			  "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
15111 		.rlen	= 16,
15112 	}, {
15113 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15114 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15115 			  "\x10\x11\x12\x13\x14\x15\x16\x17",
15116 		.klen	= 24,
15117 		.input	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15118 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15119 		.ilen	= 16,
15120 		.result	= "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
15121 			  "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
15122 		.rlen	= 16,
15123 	}, {
15124 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15125 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15126 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15127 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15128 		.klen	= 32,
15129 		.input	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15130 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15131 		.ilen	= 16,
15132 		.result	= "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
15133 			  "\xea\xfc\x49\x90\x4b\x49\x60\x89",
15134 		.rlen	= 16,
15135 	}, { /* Generated with Crypto++ */
15136 		.key	= "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
15137 			  "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
15138 			  "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
15139 			  "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
15140 		.klen	= 32,
15141 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15142 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15143 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15144 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15145 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15146 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15147 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15148 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15149 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15150 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15151 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15152 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15153 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15154 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15155 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15156 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15157 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15158 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15159 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15160 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15161 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15162 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15163 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15164 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15165 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15166 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15167 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15168 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15169 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15170 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15171 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15172 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15173 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15174 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15175 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15176 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15177 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15178 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15179 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15180 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15181 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15182 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15183 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15184 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15185 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15186 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15187 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15188 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15189 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15190 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15191 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15192 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15193 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15194 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15195 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15196 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15197 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15198 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15199 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15200 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15201 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15202 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15203 		.ilen	= 496,
15204 		.result	= "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
15205 			  "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
15206 			  "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
15207 			  "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
15208 			  "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
15209 			  "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
15210 			  "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
15211 			  "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
15212 			  "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
15213 			  "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
15214 			  "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
15215 			  "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
15216 			  "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
15217 			  "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
15218 			  "\x41\x72\x51\x97\x1D\x07\x49\xA0"
15219 			  "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
15220 			  "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
15221 			  "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
15222 			  "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
15223 			  "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
15224 			  "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
15225 			  "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
15226 			  "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
15227 			  "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
15228 			  "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
15229 			  "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
15230 			  "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
15231 			  "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
15232 			  "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
15233 			  "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
15234 			  "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
15235 			  "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
15236 			  "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
15237 			  "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
15238 			  "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
15239 			  "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
15240 			  "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
15241 			  "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
15242 			  "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
15243 			  "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
15244 			  "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
15245 			  "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
15246 			  "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
15247 			  "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
15248 			  "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
15249 			  "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
15250 			  "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
15251 			  "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
15252 			  "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
15253 			  "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
15254 			  "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
15255 			  "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
15256 			  "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
15257 			  "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
15258 			  "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
15259 			  "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
15260 			  "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
15261 			  "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
15262 			  "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
15263 			  "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
15264 			  "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
15265 			  "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
15266 		.rlen	= 496,
15267 		.also_non_np = 1,
15268 		.np	= 3,
15269 		.tap	= { 496 - 20, 4, 16 },
15270 	},
15271 };
15272 
15273 static const struct cipher_testvec aes_dec_tv_template[] = {
15274 	{ /* From FIPS-197 */
15275 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15276 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15277 		.klen	= 16,
15278 		.input	= "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
15279 			  "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
15280 		.ilen	= 16,
15281 		.result	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15282 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15283 		.rlen	= 16,
15284 	}, {
15285 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15286 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15287 			  "\x10\x11\x12\x13\x14\x15\x16\x17",
15288 		.klen	= 24,
15289 		.input	= "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
15290 			  "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
15291 		.ilen	= 16,
15292 		.result	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15293 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15294 		.rlen	= 16,
15295 	}, {
15296 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15297 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15298 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15299 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15300 		.klen	= 32,
15301 		.input	= "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
15302 			  "\xea\xfc\x49\x90\x4b\x49\x60\x89",
15303 		.ilen	= 16,
15304 		.result	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15305 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15306 		.rlen	= 16,
15307 	}, { /* Generated with Crypto++ */
15308 		.key	= "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
15309 			  "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
15310 			  "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
15311 			  "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
15312 		.klen	= 32,
15313 		.input	= "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
15314 			  "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
15315 			  "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
15316 			  "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
15317 			  "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
15318 			  "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
15319 			  "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
15320 			  "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
15321 			  "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
15322 			  "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
15323 			  "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
15324 			  "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
15325 			  "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
15326 			  "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
15327 			  "\x41\x72\x51\x97\x1D\x07\x49\xA0"
15328 			  "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
15329 			  "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
15330 			  "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
15331 			  "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
15332 			  "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
15333 			  "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
15334 			  "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
15335 			  "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
15336 			  "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
15337 			  "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
15338 			  "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
15339 			  "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
15340 			  "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
15341 			  "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
15342 			  "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
15343 			  "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
15344 			  "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
15345 			  "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
15346 			  "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
15347 			  "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
15348 			  "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
15349 			  "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
15350 			  "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
15351 			  "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
15352 			  "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
15353 			  "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
15354 			  "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
15355 			  "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
15356 			  "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
15357 			  "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
15358 			  "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
15359 			  "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
15360 			  "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
15361 			  "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
15362 			  "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
15363 			  "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
15364 			  "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
15365 			  "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
15366 			  "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
15367 			  "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
15368 			  "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
15369 			  "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
15370 			  "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
15371 			  "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
15372 			  "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
15373 			  "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
15374 			  "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
15375 		.ilen	= 496,
15376 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15377 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15378 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15379 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15380 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15381 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15382 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15383 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15384 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15385 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15386 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15387 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15388 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15389 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15390 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15391 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15392 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15393 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15394 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15395 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15396 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15397 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15398 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15399 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15400 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15401 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15402 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15403 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15404 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15405 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15406 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15407 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15408 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15409 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15410 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15411 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15412 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15413 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15414 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15415 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15416 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15417 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15418 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15419 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15420 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15421 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15422 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15423 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15424 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15425 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15426 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15427 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15428 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15429 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15430 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15431 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15432 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15433 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15434 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15435 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15436 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15437 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15438 		.rlen	= 496,
15439 		.also_non_np = 1,
15440 		.np	= 3,
15441 		.tap	= { 496 - 20, 4, 16 },
15442 	},
15443 };
15444 
15445 static const struct cipher_testvec aes_cbc_enc_tv_template[] = {
15446 	{ /* From RFC 3602 */
15447 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15448 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15449 		.klen   = 16,
15450 		.iv	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15451 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15452 		.input	= "Single block msg",
15453 		.ilen   = 16,
15454 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15455 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
15456 		.rlen   = 16,
15457 		.also_non_np = 1,
15458 		.np	= 8,
15459 		.tap	= { 3, 2, 3, 2, 3, 1, 1, 1 },
15460 	}, {
15461 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15462 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15463 		.klen   = 16,
15464 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15465 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15466 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15467 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15468 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15469 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15470 		.ilen   = 32,
15471 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15472 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15473 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15474 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
15475 		.rlen   = 32,
15476 	}, { /* From NIST SP800-38A */
15477 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15478 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15479 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15480 		.klen	= 24,
15481 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15482 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15483 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15484 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15485 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15486 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15487 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15488 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15489 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15490 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15491 		.ilen	= 64,
15492 		.result	= "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15493 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15494 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15495 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
15496 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
15497 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
15498 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15499 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
15500 		.rlen	= 64,
15501 	}, {
15502 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15503 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15504 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15505 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15506 		.klen	= 32,
15507 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15508 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15509 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15510 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15511 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15512 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15513 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15514 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15515 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15516 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15517 		.ilen	= 64,
15518 		.result	= "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15519 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15520 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15521 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15522 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15523 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15524 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15525 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
15526 		.rlen	= 64,
15527 	}, { /* Generated with Crypto++ */
15528 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15529 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15530 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15531 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
15532 		.klen	= 32,
15533 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
15534 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
15535 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15536 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15537 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15538 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15539 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15540 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15541 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15542 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15543 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15544 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15545 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15546 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15547 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15548 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15549 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15550 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15551 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15552 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15553 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15554 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15555 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15556 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15557 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15558 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15559 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15560 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15561 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15562 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15563 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15564 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15565 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15566 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15567 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15568 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15569 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15570 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15571 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15572 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15573 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15574 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15575 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15576 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15577 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15578 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15579 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15580 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15581 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15582 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15583 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15584 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15585 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15586 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15587 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15588 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15589 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15590 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15591 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15592 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15593 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15594 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15595 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15596 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15597 		.ilen	= 496,
15598 		.result	= "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
15599 			  "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
15600 			  "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
15601 			  "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
15602 			  "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
15603 			  "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
15604 			  "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
15605 			  "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
15606 			  "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
15607 			  "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
15608 			  "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
15609 			  "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
15610 			  "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
15611 			  "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
15612 			  "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
15613 			  "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
15614 			  "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
15615 			  "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
15616 			  "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
15617 			  "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
15618 			  "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
15619 			  "\x16\x24\x02\x07\x48\xAE\xF2\x31"
15620 			  "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
15621 			  "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
15622 			  "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
15623 			  "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
15624 			  "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
15625 			  "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
15626 			  "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
15627 			  "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
15628 			  "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
15629 			  "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
15630 			  "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
15631 			  "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
15632 			  "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
15633 			  "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
15634 			  "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
15635 			  "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
15636 			  "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
15637 			  "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
15638 			  "\x22\x39\x7B\x16\x03\x01\x69\xAF"
15639 			  "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
15640 			  "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
15641 			  "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
15642 			  "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
15643 			  "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
15644 			  "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
15645 			  "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
15646 			  "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
15647 			  "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
15648 			  "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
15649 			  "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
15650 			  "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
15651 			  "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
15652 			  "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
15653 			  "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
15654 			  "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
15655 			  "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
15656 			  "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
15657 			  "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
15658 			  "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
15659 			  "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
15660 		.rlen	= 496,
15661 		.also_non_np = 1,
15662 		.np	= 3,
15663 		.tap	= { 496 - 20, 4, 16 },
15664 	},
15665 };
15666 
15667 static const struct cipher_testvec aes_cbc_dec_tv_template[] = {
15668 	{ /* From RFC 3602 */
15669 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15670 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15671 		.klen   = 16,
15672 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15673 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15674 		.input  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15675 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
15676 		.ilen   = 16,
15677 		.result = "Single block msg",
15678 		.rlen   = 16,
15679 		.also_non_np = 1,
15680 		.np	= 8,
15681 		.tap	= { 3, 2, 3, 2, 3, 1, 1, 1 },
15682 	}, {
15683 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15684 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15685 		.klen   = 16,
15686 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15687 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15688 		.input  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15689 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15690 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15691 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
15692 		.ilen   = 32,
15693 		.result = "\x00\x01\x02\x03\x04\x05\x06\x07"
15694 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15695 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15696 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15697 		.rlen   = 32,
15698 	}, { /* From NIST SP800-38A */
15699 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15700 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15701 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15702 		.klen	= 24,
15703 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15704 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15705 		.input	= "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15706 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15707 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15708 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
15709 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
15710 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
15711 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15712 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
15713 		.ilen	= 64,
15714 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15715 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15716 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15717 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15718 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15719 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15720 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15721 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15722 		.rlen	= 64,
15723 	}, {
15724 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15725 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15726 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15727 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15728 		.klen	= 32,
15729 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15730 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15731 		.input	= "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15732 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15733 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15734 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15735 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15736 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15737 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15738 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
15739 		.ilen	= 64,
15740 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15741 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15742 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15743 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15744 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15745 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15746 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15747 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15748 		.rlen	= 64,
15749 	}, { /* Generated with Crypto++ */
15750 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15751 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15752 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15753 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
15754 		.klen	= 32,
15755 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
15756 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
15757 		.input	= "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
15758 			  "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
15759 			  "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
15760 			  "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
15761 			  "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
15762 			  "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
15763 			  "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
15764 			  "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
15765 			  "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
15766 			  "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
15767 			  "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
15768 			  "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
15769 			  "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
15770 			  "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
15771 			  "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
15772 			  "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
15773 			  "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
15774 			  "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
15775 			  "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
15776 			  "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
15777 			  "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
15778 			  "\x16\x24\x02\x07\x48\xAE\xF2\x31"
15779 			  "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
15780 			  "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
15781 			  "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
15782 			  "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
15783 			  "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
15784 			  "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
15785 			  "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
15786 			  "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
15787 			  "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
15788 			  "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
15789 			  "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
15790 			  "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
15791 			  "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
15792 			  "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
15793 			  "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
15794 			  "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
15795 			  "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
15796 			  "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
15797 			  "\x22\x39\x7B\x16\x03\x01\x69\xAF"
15798 			  "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
15799 			  "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
15800 			  "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
15801 			  "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
15802 			  "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
15803 			  "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
15804 			  "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
15805 			  "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
15806 			  "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
15807 			  "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
15808 			  "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
15809 			  "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
15810 			  "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
15811 			  "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
15812 			  "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
15813 			  "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
15814 			  "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
15815 			  "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
15816 			  "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
15817 			  "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
15818 			  "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
15819 		.ilen	= 496,
15820 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15821 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15822 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15823 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15824 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15825 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15826 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15827 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15828 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15829 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15830 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15831 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15832 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15833 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15834 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15835 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15836 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15837 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15838 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15839 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15840 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15841 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15842 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15843 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15844 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15845 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15846 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15847 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15848 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15849 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15850 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15851 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15852 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15853 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15854 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15855 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15856 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15857 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15858 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15859 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15860 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15861 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15862 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15863 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15864 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15865 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15866 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15867 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15868 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15869 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15870 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15871 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15872 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15873 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15874 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15875 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15876 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15877 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15878 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15879 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15880 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15881 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15882 		.rlen	= 496,
15883 		.also_non_np = 1,
15884 		.np	= 3,
15885 		.tap	= { 496 - 20, 4, 16 },
15886 	},
15887 };
15888 
15889 static const struct aead_testvec hmac_md5_ecb_cipher_null_enc_tv_template[] = {
15890 	{ /* Input data from RFC 2410 Case 1 */
15891 #ifdef __LITTLE_ENDIAN
15892 		.key    = "\x08\x00"		/* rta length */
15893 			  "\x01\x00"		/* rta type */
15894 #else
15895 		.key    = "\x00\x08"		/* rta length */
15896 			  "\x00\x01"		/* rta type */
15897 #endif
15898 			  "\x00\x00\x00\x00"	/* enc key length */
15899 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
15900 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
15901 		.klen   = 8 + 16 + 0,
15902 		.iv     = "",
15903 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
15904 		.ilen   = 8,
15905 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
15906 			  "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
15907 			  "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
15908 		.rlen   = 8 + 16,
15909 	}, { /* Input data from RFC 2410 Case 2 */
15910 #ifdef __LITTLE_ENDIAN
15911 		.key    = "\x08\x00"		/* rta length */
15912 			  "\x01\x00"		/* rta type */
15913 #else
15914 		.key    = "\x00\x08"		/* rta length */
15915 			  "\x00\x01"		/* rta type */
15916 #endif
15917 			  "\x00\x00\x00\x00"	/* enc key length */
15918 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
15919 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
15920 		.klen   = 8 + 16 + 0,
15921 		.iv     = "",
15922 		.input  = "Network Security People Have A Strange Sense Of Humor",
15923 		.ilen   = 53,
15924 		.result = "Network Security People Have A Strange Sense Of Humor"
15925 			  "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
15926 			  "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
15927 		.rlen   = 53 + 16,
15928 	},
15929 };
15930 
15931 static const struct aead_testvec hmac_md5_ecb_cipher_null_dec_tv_template[] = {
15932 	{
15933 #ifdef __LITTLE_ENDIAN
15934 		.key    = "\x08\x00"		/* rta length */
15935 			  "\x01\x00"		/* rta type */
15936 #else
15937 		.key    = "\x00\x08"		/* rta length */
15938 			  "\x00\x01"		/* rta type */
15939 #endif
15940 			  "\x00\x00\x00\x00"	/* enc key length */
15941 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
15942 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
15943 		.klen   = 8 + 16 + 0,
15944 		.iv     = "",
15945 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
15946 			  "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
15947 			  "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
15948 		.ilen   = 8 + 16,
15949 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
15950 		.rlen   = 8,
15951 	}, {
15952 #ifdef __LITTLE_ENDIAN
15953 		.key    = "\x08\x00"		/* rta length */
15954 			  "\x01\x00"		/* rta type */
15955 #else
15956 		.key    = "\x00\x08"		/* rta length */
15957 			  "\x00\x01"		/* rta type */
15958 #endif
15959 			  "\x00\x00\x00\x00"	/* enc key length */
15960 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
15961 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
15962 		.klen   = 8 + 16 + 0,
15963 		.iv     = "",
15964 		.input  = "Network Security People Have A Strange Sense Of Humor"
15965 			  "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
15966 			  "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
15967 		.ilen   = 53 + 16,
15968 		.result = "Network Security People Have A Strange Sense Of Humor",
15969 		.rlen   = 53,
15970 	},
15971 };
15972 
15973 static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
15974 	{ /* RFC 3602 Case 1 */
15975 #ifdef __LITTLE_ENDIAN
15976 		.key    = "\x08\x00"		/* rta length */
15977 			  "\x01\x00"		/* rta type */
15978 #else
15979 		.key    = "\x00\x08"		/* rta length */
15980 			  "\x00\x01"		/* rta type */
15981 #endif
15982 			  "\x00\x00\x00\x10"	/* enc key length */
15983 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
15984 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
15985 			  "\x00\x00\x00\x00"
15986 			  "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15987 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15988 		.klen   = 8 + 20 + 16,
15989 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15990 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15991 		.assoc	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15992 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15993 		.alen	= 16,
15994 		.input  = "Single block msg",
15995 		.ilen   = 16,
15996 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15997 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
15998 			  "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
15999 			  "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
16000 			  "\x03\x71\xa2\x06",
16001 		.rlen   = 16 + 20,
16002 	}, { /* RFC 3602 Case 2 */
16003 #ifdef __LITTLE_ENDIAN
16004 		.key    = "\x08\x00"		/* rta length */
16005 			  "\x01\x00"		/* rta type */
16006 #else
16007 		.key    = "\x00\x08"		/* rta length */
16008 			  "\x00\x01"		/* rta type */
16009 #endif
16010 			  "\x00\x00\x00\x10"	/* enc key length */
16011 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16012 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16013 			  "\x30\x31\x32\x33"
16014 			  "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16015 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16016 		.klen   = 8 + 20 + 16,
16017 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16018 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16019 		.assoc	= "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16020 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16021 		.alen	= 16,
16022 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16023 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16024 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16025 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16026 		.ilen   = 32,
16027 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16028 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16029 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16030 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16031 			  "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
16032 			  "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
16033 			  "\x65\x39\xf8\xde",
16034 		.rlen   = 32 + 20,
16035 	}, { /* RFC 3602 Case 3 */
16036 #ifdef __LITTLE_ENDIAN
16037 		.key    = "\x08\x00"		/* rta length */
16038 			  "\x01\x00"            /* rta type */
16039 #else
16040 		.key    = "\x00\x08"		/* rta length */
16041 			  "\x00\x01"		/* rta type */
16042 #endif
16043 			  "\x00\x00\x00\x10"	/* enc key length */
16044 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16045 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16046 			  "\x22\x33\x44\x55"
16047 			  "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16048 			  "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16049 		.klen   = 8 + 20 + 16,
16050 		.iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16051 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16052 		.assoc	= "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16053 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16054 		.alen	= 16,
16055 		.input  = "This is a 48-byte message (exactly 3 AES blocks)",
16056 		.ilen   = 48,
16057 		.result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16058 			  "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16059 			  "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16060 			  "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16061 			  "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16062 			  "\x85\x79\x69\x5d\x83\xba\x26\x84"
16063 			  "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
16064 			  "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
16065 			  "\x8d\x62\xf2\x1e",
16066 		.rlen   = 48 + 20,
16067 	}, { /* RFC 3602 Case 4 */
16068 #ifdef __LITTLE_ENDIAN
16069 		.key    = "\x08\x00"		/* rta length */
16070 			  "\x01\x00"		/* rta type */
16071 #else
16072 		.key    = "\x00\x08"		/* rta length */
16073 			  "\x00\x01"            /* rta type */
16074 #endif
16075 			  "\x00\x00\x00\x10"	/* enc key length */
16076 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16077 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16078 			  "\x22\x33\x44\x55"
16079 			  "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16080 			  "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16081 		.klen   = 8 + 20 + 16,
16082 		.iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16083 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16084 		.assoc	= "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16085 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16086 		.alen	= 16,
16087 		.input  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16088 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16089 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16090 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16091 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16092 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16093 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16094 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16095 		.ilen   = 64,
16096 		.result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16097 			  "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16098 			  "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16099 			  "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16100 			  "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16101 			  "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16102 			  "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16103 			  "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16104 			  "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
16105 			  "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
16106 			  "\x1d\xbe\xc6\xe9",
16107 		.rlen   = 64 + 20,
16108 	}, { /* RFC 3602 Case 5 */
16109 #ifdef __LITTLE_ENDIAN
16110 		.key    = "\x08\x00"		/* rta length */
16111 			  "\x01\x00"            /* rta type */
16112 #else
16113 		.key    = "\x00\x08"		/* rta length */
16114 			  "\x00\x01"            /* rta type */
16115 #endif
16116 			  "\x00\x00\x00\x10"	/* enc key length */
16117 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16118 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16119 			  "\x22\x33\x44\x55"
16120 			  "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16121 			  "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16122 		.klen   = 8 + 20 + 16,
16123 		.iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16124 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16125 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16126 			  "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16127 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16128 		.alen   = 24,
16129 		.input  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16130 			  "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16131 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16132 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16133 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16134 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16135 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16136 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16137 			  "\x01\x02\x03\x04\x05\x06\x07\x08"
16138 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16139 		.ilen   = 80,
16140 		.result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16141 			  "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16142 			  "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16143 			  "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16144 			  "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16145 			  "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16146 			  "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16147 			  "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16148 			  "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16149 			  "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16150 			  "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
16151 			  "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
16152 			  "\x85\xe1\x59\xf7",
16153 		.rlen   = 80 + 20,
16154        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16155 #ifdef __LITTLE_ENDIAN
16156 		.key    = "\x08\x00"            /* rta length */
16157 			  "\x01\x00"		/* rta type */
16158 #else
16159 		.key    = "\x00\x08"		/* rta length */
16160 			  "\x00\x01"            /* rta type */
16161 #endif
16162 			  "\x00\x00\x00\x18"	/* enc key length */
16163 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16164 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16165 			  "\x22\x33\x44\x55"
16166 			  "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16167 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16168 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16169 		.klen   = 8 + 20 + 24,
16170 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16171 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16172 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16173 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16174 		.alen	= 16,
16175 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16176 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16177 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16178 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16179 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16180 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16181 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16182 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16183 		.ilen   = 64,
16184 		.result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16185 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16186 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16187 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16188 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16189 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16190 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16191 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16192 			  "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
16193 			  "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
16194 			  "\x47\x4c\xfc\x36",
16195 		.rlen   = 64 + 20,
16196 	}, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16197 #ifdef __LITTLE_ENDIAN
16198 		.key    = "\x08\x00"		/* rta length */
16199 			  "\x01\x00"		/* rta type */
16200 #else
16201 		.key    = "\x00\x08"		/* rta length */
16202 			  "\x00\x01"            /* rta type */
16203 #endif
16204 			  "\x00\x00\x00\x20"	/* enc key length */
16205 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16206 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16207 			  "\x22\x33\x44\x55"
16208 			  "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16209 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16210 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16211 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16212 		.klen   = 8 + 20 + 32,
16213 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16214 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16215 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16216 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16217 		.alen	= 16,
16218 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16219 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16220 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16221 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16222 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16223 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16224 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16225 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16226 		.ilen   = 64,
16227 		.result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16228 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16229 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16230 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16231 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16232 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16233 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16234 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16235 			  "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
16236 			  "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
16237 			  "\x51\xee\xd6\x4e",
16238 		.rlen   = 64 + 20,
16239 	},
16240 };
16241 
16242 static const struct aead_testvec hmac_sha1_ecb_cipher_null_enc_tv_temp[] = {
16243 	{ /* Input data from RFC 2410 Case 1 */
16244 #ifdef __LITTLE_ENDIAN
16245 		.key    = "\x08\x00"		/* rta length */
16246 			  "\x01\x00"		/* rta type */
16247 #else
16248 		.key    = "\x00\x08"		/* rta length */
16249 			  "\x00\x01"		/* rta type */
16250 #endif
16251 			  "\x00\x00\x00\x00"	/* enc key length */
16252 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16253 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16254 			  "\x00\x00\x00\x00",
16255 		.klen   = 8 + 20 + 0,
16256 		.iv     = "",
16257 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16258 		.ilen   = 8,
16259 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16260 			  "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
16261 			  "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
16262 			  "\x8c\x5e\xe4\x08",
16263 		.rlen   = 8 + 20,
16264 	}, { /* Input data from RFC 2410 Case 2 */
16265 #ifdef __LITTLE_ENDIAN
16266 		.key    = "\x08\x00"		/* rta length */
16267 			  "\x01\x00"		/* rta type */
16268 #else
16269 		.key    = "\x00\x08"		/* rta length */
16270 			  "\x00\x01"		/* rta type */
16271 #endif
16272 			  "\x00\x00\x00\x00"	/* enc key length */
16273 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16274 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16275 			  "\x00\x00\x00\x00",
16276 		.klen   = 8 + 20 + 0,
16277 		.iv     = "",
16278 		.input  = "Network Security People Have A Strange Sense Of Humor",
16279 		.ilen   = 53,
16280 		.result = "Network Security People Have A Strange Sense Of Humor"
16281 			  "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
16282 			  "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
16283 			  "\x91\x56\xe4\xd6",
16284 		.rlen   = 53 + 20,
16285 	},
16286 };
16287 
16288 static const struct aead_testvec hmac_sha1_ecb_cipher_null_dec_tv_temp[] = {
16289 	{
16290 #ifdef __LITTLE_ENDIAN
16291 		.key    = "\x08\x00"		/* rta length */
16292 			  "\x01\x00"		/* rta type */
16293 #else
16294 		.key    = "\x00\x08"		/* rta length */
16295 			  "\x00\x01"		/* rta type */
16296 #endif
16297 			  "\x00\x00\x00\x00"	/* enc key length */
16298 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16299 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16300 			  "\x00\x00\x00\x00",
16301 		.klen   = 8 + 20 + 0,
16302 		.iv     = "",
16303 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16304 			  "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
16305 			  "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
16306 			  "\x8c\x5e\xe4\x08",
16307 		.ilen   = 8 + 20,
16308 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16309 		.rlen   = 8,
16310 	}, {
16311 #ifdef __LITTLE_ENDIAN
16312 		.key    = "\x08\x00"		/* rta length */
16313 			  "\x01\x00"		/* rta type */
16314 #else
16315 		.key    = "\x00\x08"		/* rta length */
16316 			  "\x00\x01"		/* rta type */
16317 #endif
16318 			  "\x00\x00\x00\x00"	/* enc key length */
16319 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16320 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16321 			  "\x00\x00\x00\x00",
16322 		.klen   = 8 + 20 + 0,
16323 		.iv     = "",
16324 		.input  = "Network Security People Have A Strange Sense Of Humor"
16325 			  "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
16326 			  "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
16327 			  "\x91\x56\xe4\xd6",
16328 		.ilen   = 53 + 20,
16329 		.result = "Network Security People Have A Strange Sense Of Humor",
16330 		.rlen   = 53,
16331 	},
16332 };
16333 
16334 static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
16335 	{ /* RFC 3602 Case 1 */
16336 #ifdef __LITTLE_ENDIAN
16337 		.key    = "\x08\x00"		/* rta length */
16338 			  "\x01\x00"		/* rta type */
16339 #else
16340 		.key    = "\x00\x08"		/* rta length */
16341 			  "\x00\x01"		/* rta type */
16342 #endif
16343 			  "\x00\x00\x00\x10"	/* enc key length */
16344 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16345 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16346 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16347 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16348 			  "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16349 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16350 		.klen   = 8 + 32 + 16,
16351 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16352 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16353 		.assoc	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16354 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16355 		.alen	= 16,
16356 		.input  = "Single block msg",
16357 		.ilen   = 16,
16358 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16359 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16360 			  "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
16361 			  "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
16362 			  "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
16363 			  "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
16364 		.rlen   = 16 + 32,
16365 	}, { /* RFC 3602 Case 2 */
16366 #ifdef __LITTLE_ENDIAN
16367 		.key    = "\x08\x00"		/* rta length */
16368 			  "\x01\x00"		/* rta type */
16369 #else
16370 		.key    = "\x00\x08"		/* rta length */
16371 			  "\x00\x01"		/* rta type */
16372 #endif
16373 			  "\x00\x00\x00\x10"	/* enc key length */
16374 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16375 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16376 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16377 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16378 			  "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16379 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16380 		.klen   = 8 + 32 + 16,
16381 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16382 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16383 		.assoc	= "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16384 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16385 		.alen	= 16,
16386 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16387 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16388 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16389 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16390 		.ilen   = 32,
16391 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16392 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16393 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16394 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16395 			  "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
16396 			  "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
16397 			  "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
16398 			  "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
16399 		.rlen   = 32 + 32,
16400 	}, { /* RFC 3602 Case 3 */
16401 #ifdef __LITTLE_ENDIAN
16402 		.key    = "\x08\x00"		/* rta length */
16403 			  "\x01\x00"            /* rta type */
16404 #else
16405 		.key    = "\x00\x08"		/* rta length */
16406 			  "\x00\x01"		/* rta type */
16407 #endif
16408 			  "\x00\x00\x00\x10"	/* enc key length */
16409 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16410 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16411 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16412 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16413 			  "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16414 			  "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16415 		.klen   = 8 + 32 + 16,
16416 		.iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16417 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16418 		.assoc	= "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16419 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16420 		.alen	= 16,
16421 		.input  = "This is a 48-byte message (exactly 3 AES blocks)",
16422 		.ilen   = 48,
16423 		.result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16424 			  "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16425 			  "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16426 			  "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16427 			  "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16428 			  "\x85\x79\x69\x5d\x83\xba\x26\x84"
16429 			  "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
16430 			  "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
16431 			  "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
16432 			  "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
16433 		.rlen   = 48 + 32,
16434 	}, { /* RFC 3602 Case 4 */
16435 #ifdef __LITTLE_ENDIAN
16436 		.key    = "\x08\x00"		/* rta length */
16437 			  "\x01\x00"		/* rta type */
16438 #else
16439 		.key    = "\x00\x08"		/* rta length */
16440 			  "\x00\x01"            /* rta type */
16441 #endif
16442 			  "\x00\x00\x00\x10"	/* enc key length */
16443 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16444 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16445 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16446 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16447 			  "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16448 			  "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16449 		.klen   = 8 + 32 + 16,
16450 		.iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16451 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16452 		.assoc	= "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16453 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16454 		.alen	= 16,
16455 		.input  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16456 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16457 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16458 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16459 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16460 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16461 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16462 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16463 		.ilen   = 64,
16464 		.result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16465 			  "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16466 			  "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16467 			  "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16468 			  "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16469 			  "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16470 			  "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16471 			  "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16472 			  "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
16473 			  "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
16474 			  "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
16475 			  "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
16476 		.rlen   = 64 + 32,
16477 	}, { /* RFC 3602 Case 5 */
16478 #ifdef __LITTLE_ENDIAN
16479 		.key    = "\x08\x00"		/* rta length */
16480 			  "\x01\x00"            /* rta type */
16481 #else
16482 		.key    = "\x00\x08"		/* rta length */
16483 			  "\x00\x01"            /* rta type */
16484 #endif
16485 			  "\x00\x00\x00\x10"	/* enc key length */
16486 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16487 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16488 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16489 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16490 			  "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16491 			  "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16492 		.klen   = 8 + 32 + 16,
16493 		.iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16494 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16495 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16496 			  "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16497 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16498 		.alen   = 24,
16499 		.input  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16500 			  "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16501 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16502 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16503 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16504 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16505 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16506 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16507 			  "\x01\x02\x03\x04\x05\x06\x07\x08"
16508 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16509 		.ilen   = 80,
16510 		.result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16511 			  "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16512 			  "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16513 			  "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16514 			  "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16515 			  "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16516 			  "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16517 			  "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16518 			  "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16519 			  "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16520 			  "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
16521 			  "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
16522 			  "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
16523 			  "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
16524 		.rlen   = 80 + 32,
16525        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16526 #ifdef __LITTLE_ENDIAN
16527 		.key    = "\x08\x00"            /* rta length */
16528 			  "\x01\x00"		/* rta type */
16529 #else
16530 		.key    = "\x00\x08"		/* rta length */
16531 			  "\x00\x01"            /* rta type */
16532 #endif
16533 			  "\x00\x00\x00\x18"	/* enc key length */
16534 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16535 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16536 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16537 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16538 			  "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16539 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16540 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16541 		.klen   = 8 + 32 + 24,
16542 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16543 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16544 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16545 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16546 		.alen   = 16,
16547 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16548 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16549 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16550 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16551 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16552 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16553 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16554 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16555 		.ilen   = 64,
16556 		.result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16557 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16558 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16559 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16560 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16561 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16562 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16563 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16564 			  "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
16565 			  "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
16566 			  "\xca\x71\x85\x93\xf7\x85\x55\x8b"
16567 			  "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
16568 		.rlen   = 64 + 32,
16569 	}, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16570 #ifdef __LITTLE_ENDIAN
16571 		.key    = "\x08\x00"		/* rta length */
16572 			  "\x01\x00"		/* rta type */
16573 #else
16574 		.key    = "\x00\x08"		/* rta length */
16575 			  "\x00\x01"            /* rta type */
16576 #endif
16577 			  "\x00\x00\x00\x20"	/* enc key length */
16578 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16579 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16580 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16581 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16582 			  "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16583 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16584 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16585 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16586 		.klen   = 8 + 32 + 32,
16587 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16588 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16589 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16590 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16591 		.alen   = 16,
16592 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16593 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16594 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16595 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16596 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16597 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16598 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16599 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16600 		.ilen   = 64,
16601 		.result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16602 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16603 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16604 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16605 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16606 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16607 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16608 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16609 			  "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
16610 			  "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
16611 			  "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
16612 			  "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
16613 		.rlen   = 64 + 32,
16614 	},
16615 };
16616 
16617 static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
16618 	{ /* RFC 3602 Case 1 */
16619 #ifdef __LITTLE_ENDIAN
16620 		.key    = "\x08\x00"		/* rta length */
16621 			  "\x01\x00"		/* rta type */
16622 #else
16623 		.key    = "\x00\x08"		/* rta length */
16624 			  "\x00\x01"		/* rta type */
16625 #endif
16626 			  "\x00\x00\x00\x10"	/* enc key length */
16627 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16628 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16629 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16630 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16631 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16632 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16633 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16634 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16635 			  "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16636 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16637 		.klen   = 8 + 64 + 16,
16638 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16639 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16640 		.assoc	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16641 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16642 		.alen   = 16,
16643 		.input  = "Single block msg",
16644 		.ilen   = 16,
16645 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16646 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16647 			  "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
16648 			  "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
16649 			  "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
16650 			  "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
16651 			  "\xec\xbd\x50\x08\x07\x64\x1a\x49"
16652 			  "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
16653 			  "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
16654 			  "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
16655 		.rlen   = 16 + 64,
16656 	}, { /* RFC 3602 Case 2 */
16657 #ifdef __LITTLE_ENDIAN
16658 		.key    = "\x08\x00"		/* rta length */
16659 			  "\x01\x00"		/* rta type */
16660 #else
16661 		.key    = "\x00\x08"		/* rta length */
16662 			  "\x00\x01"		/* rta type */
16663 #endif
16664 			  "\x00\x00\x00\x10"	/* enc key length */
16665 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16666 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16667 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16668 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16669 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
16670 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16671 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
16672 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16673 			  "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16674 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16675 		.klen   = 8 + 64 + 16,
16676 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16677 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16678 		.assoc	= "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16679 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16680 		.alen   = 16,
16681 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16682 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16683 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16684 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16685 		.ilen   = 32,
16686 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16687 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16688 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16689 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16690 			  "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
16691 			  "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
16692 			  "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
16693 			  "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
16694 			  "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
16695 			  "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
16696 			  "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
16697 			  "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
16698 		.rlen   = 32 + 64,
16699 	}, { /* RFC 3602 Case 3 */
16700 #ifdef __LITTLE_ENDIAN
16701 		.key    = "\x08\x00"		/* rta length */
16702 			  "\x01\x00"            /* rta type */
16703 #else
16704 		.key    = "\x00\x08"		/* rta length */
16705 			  "\x00\x01"		/* rta type */
16706 #endif
16707 			  "\x00\x00\x00\x10"	/* enc key length */
16708 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16709 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16710 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16711 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16712 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
16713 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16714 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16715 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16716 			  "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16717 			  "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16718 		.klen   = 8 + 64 + 16,
16719 		.iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16720 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16721 		.assoc	= "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16722 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16723 		.alen   = 16,
16724 		.input  = "This is a 48-byte message (exactly 3 AES blocks)",
16725 		.ilen   = 48,
16726 		.result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16727 			  "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16728 			  "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16729 			  "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16730 			  "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16731 			  "\x85\x79\x69\x5d\x83\xba\x26\x84"
16732 			  "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
16733 			  "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
16734 			  "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
16735 			  "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
16736 			  "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
16737 			  "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
16738 			  "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
16739 			  "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
16740 		.rlen   = 48 + 64,
16741 	}, { /* RFC 3602 Case 4 */
16742 #ifdef __LITTLE_ENDIAN
16743 		.key    = "\x08\x00"		/* rta length */
16744 			  "\x01\x00"		/* rta type */
16745 #else
16746 		.key    = "\x00\x08"		/* rta length */
16747 			  "\x00\x01"            /* rta type */
16748 #endif
16749 			  "\x00\x00\x00\x10"	/* enc key length */
16750 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16751 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16752 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16753 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16754 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
16755 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16756 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16757 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16758 			  "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16759 			  "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16760 		.klen   = 8 + 64 + 16,
16761 		.iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16762 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16763 		.assoc	= "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16764 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16765 		.alen   = 16,
16766 		.input  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16767 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16768 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16769 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16770 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16771 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16772 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16773 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16774 		.ilen   = 64,
16775 		.result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16776 			  "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16777 			  "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16778 			  "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16779 			  "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16780 			  "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16781 			  "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16782 			  "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16783 			  "\x82\xcd\x42\x28\x21\x20\x15\xcc"
16784 			  "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
16785 			  "\x61\x32\x82\x85\xcf\x27\xed\xb4"
16786 			  "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
16787 			  "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
16788 			  "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
16789 			  "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
16790 			  "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
16791 		.rlen   = 64 + 64,
16792 	}, { /* RFC 3602 Case 5 */
16793 #ifdef __LITTLE_ENDIAN
16794 		.key    = "\x08\x00"		/* rta length */
16795 			  "\x01\x00"            /* rta type */
16796 #else
16797 		.key    = "\x00\x08"		/* rta length */
16798 			  "\x00\x01"            /* rta type */
16799 #endif
16800 			  "\x00\x00\x00\x10"	/* enc key length */
16801 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16802 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16803 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16804 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16805 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
16806 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16807 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16808 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16809 			  "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16810 			  "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16811 		.klen   = 8 + 64 + 16,
16812 		.iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16813 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16814 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16815 			  "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16816 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16817 		.alen   = 24,
16818 		.input  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16819 			  "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16820 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16821 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16822 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16823 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16824 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16825 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16826 			  "\x01\x02\x03\x04\x05\x06\x07\x08"
16827 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16828 		.ilen   = 80,
16829 		.result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16830 			  "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16831 			  "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16832 			  "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16833 			  "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16834 			  "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16835 			  "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16836 			  "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16837 			  "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16838 			  "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16839 			  "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
16840 			  "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
16841 			  "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
16842 			  "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
16843 			  "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
16844 			  "\x92\x26\xc1\x76\x20\x11\xeb\xba"
16845 			  "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
16846 			  "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
16847 		.rlen   = 80 + 64,
16848        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16849 #ifdef __LITTLE_ENDIAN
16850 		.key    = "\x08\x00"            /* rta length */
16851 			  "\x01\x00"		/* rta type */
16852 #else
16853 		.key    = "\x00\x08"		/* rta length */
16854 			  "\x00\x01"            /* rta type */
16855 #endif
16856 			  "\x00\x00\x00\x18"	/* enc key length */
16857 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16858 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16859 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16860 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16861 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
16862 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16863 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16864 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16865 			  "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16866 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16867 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16868 		.klen   = 8 + 64 + 24,
16869 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16870 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16871 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16872 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16873 		.alen   = 16,
16874 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16875 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16876 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16877 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16878 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16879 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16880 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16881 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16882 		.ilen   = 64,
16883 		.result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16884 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16885 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16886 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16887 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16888 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16889 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16890 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16891 			  "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
16892 			  "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
16893 			  "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
16894 			  "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
16895 			  "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
16896 			  "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
16897 			  "\x8d\x43\x98\xa7\x94\x16\x07\x02"
16898 			  "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
16899 		.rlen   = 64 + 64,
16900 	}, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16901 #ifdef __LITTLE_ENDIAN
16902 		.key    = "\x08\x00"		/* rta length */
16903 			  "\x01\x00"		/* rta type */
16904 #else
16905 		.key    = "\x00\x08"		/* rta length */
16906 			  "\x00\x01"            /* rta type */
16907 #endif
16908 			  "\x00\x00\x00\x20"	/* enc key length */
16909 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16910 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16911 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16912 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16913 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
16914 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16915 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16916 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16917 			  "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16918 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16919 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16920 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16921 		.klen   = 8 + 64 + 32,
16922 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16923 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16924 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16925 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16926 		.alen   = 16,
16927 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16928 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16929 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16930 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16931 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16932 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16933 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16934 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16935 		.ilen   = 64,
16936 		.result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16937 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16938 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16939 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16940 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16941 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16942 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16943 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16944 			  "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
16945 			  "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
16946 			  "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
16947 			  "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
16948 			  "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
16949 			  "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
16950 			  "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
16951 			  "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
16952 		.rlen   = 64 + 64,
16953 	},
16954 };
16955 
16956 static const struct aead_testvec hmac_sha1_des_cbc_enc_tv_temp[] = {
16957 	{ /*Generated with cryptopp*/
16958 #ifdef __LITTLE_ENDIAN
16959 		.key    = "\x08\x00"		/* rta length */
16960 			  "\x01\x00"		/* rta type */
16961 #else
16962 	.key    = "\x00\x08"		/* rta length */
16963 			  "\x00\x01"		/* rta type */
16964 #endif
16965 			  "\x00\x00\x00\x08"	/* enc key length */
16966 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16967 		  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16968 			  "\x22\x33\x44\x55"
16969 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
16970 		.klen	= 8 + 20 + 8,
16971 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
16972 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16973 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
16974 		.alen   = 16,
16975 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
16976 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
16977 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
16978 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
16979 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
16980 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
16981 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
16982 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
16983 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
16984 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
16985 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
16986 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
16987 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
16988 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
16989 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
16990 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
16991 		.ilen	= 128,
16992 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
16993 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
16994 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
16995 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
16996 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
16997 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
16998 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
16999 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17000 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17001 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17002 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17003 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17004 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17005 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17006 			  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17007 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17008 			  "\x95\x16\x20\x09\xf5\x95\x19\xfd"
17009 			  "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
17010 			  "\x5c\x44\xa9\x37",
17011 			  .rlen	= 128 + 20,
17012 	},
17013 };
17014 
17015 static const struct aead_testvec hmac_sha224_des_cbc_enc_tv_temp[] = {
17016 	{ /*Generated with cryptopp*/
17017 #ifdef __LITTLE_ENDIAN
17018 		.key    = "\x08\x00"		/* rta length */
17019 			  "\x01\x00"		/* rta type */
17020 #else
17021 		.key    = "\x00\x08"		/* rta length */
17022 			  "\x00\x01"		/* rta type */
17023 #endif
17024 			  "\x00\x00\x00\x08"	/* enc key length */
17025 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17026 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17027 		  "\x22\x33\x44\x55\x66\x77\x88\x99"
17028 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17029 		.klen	= 8 + 24 + 8,
17030 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17031 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17032 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17033 		.alen   = 16,
17034 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17035 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17036 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17037 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17038 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17039 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17040 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17041 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17042 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17043 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17044 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17045 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17046 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17047 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17048 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17049 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17050 		.ilen	= 128,
17051 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17052 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17053 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17054 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17055 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17056 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17057 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17058 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17059 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17060 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17061 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17062 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17063 		  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17064 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17065 			  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17066 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17067 			  "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
17068 			  "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
17069 			  "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
17070 		.rlen	= 128 + 24,
17071 	},
17072 };
17073 
17074 static const struct aead_testvec hmac_sha256_des_cbc_enc_tv_temp[] = {
17075 	{ /*Generated with cryptopp*/
17076 #ifdef __LITTLE_ENDIAN
17077 		.key    = "\x08\x00"		/* rta length */
17078 			  "\x01\x00"		/* rta type */
17079 #else
17080 		.key    = "\x00\x08"		/* rta length */
17081 			  "\x00\x01"		/* rta type */
17082 #endif
17083 			  "\x00\x00\x00\x08"	/* enc key length */
17084 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17085 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17086 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17087 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17088 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17089 		.klen	= 8 + 32 + 8,
17090 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17091 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17092 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17093 		.alen   = 16,
17094 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17095 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17096 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17097 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17098 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17099 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17100 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17101 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17102 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17103 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17104 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17105 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17106 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17107 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17108 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17109 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17110 		.ilen	= 128,
17111 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17112 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17113 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17114 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17115 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17116 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17117 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17118 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17119 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17120 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17121 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17122 		  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17123 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17124 		  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17125 		  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17126 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17127 			  "\xc6\x58\xa1\x60\x70\x91\x39\x36"
17128 			  "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
17129 			  "\xde\x63\xde\x76\x52\xde\x9f\xba"
17130 			  "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
17131 		.rlen	= 128 + 32,
17132 	},
17133 };
17134 
17135 static const struct aead_testvec hmac_sha384_des_cbc_enc_tv_temp[] = {
17136 	{ /*Generated with cryptopp*/
17137 #ifdef __LITTLE_ENDIAN
17138 		.key    = "\x08\x00"		/* rta length */
17139 			  "\x01\x00"		/* rta type */
17140 #else
17141 		.key    = "\x00\x08"		/* rta length */
17142 			  "\x00\x01"		/* rta type */
17143 #endif
17144 			  "\x00\x00\x00\x08"	/* enc key length */
17145 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17146 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17147 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17148 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17149 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17150 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17151 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17152 		.klen	= 8 + 48 + 8,
17153 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17154 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17155 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17156 		.alen   = 16,
17157 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17158 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17159 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17160 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17161 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17162 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17163 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17164 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17165 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17166 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17167 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17168 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17169 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17170 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17171 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17172 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17173 		.ilen	= 128,
17174 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17175 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17176 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17177 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17178 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17179 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17180 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17181 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17182 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17183 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17184 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17185 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17186 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17187 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17188 			  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17189 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17190 			  "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
17191 			  "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
17192 			  "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
17193 			  "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
17194 			  "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
17195 			  "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
17196 		.rlen	= 128 + 48,
17197 	},
17198 };
17199 
17200 static const struct aead_testvec hmac_sha512_des_cbc_enc_tv_temp[] = {
17201 	{ /*Generated with cryptopp*/
17202 #ifdef __LITTLE_ENDIAN
17203 		.key    = "\x08\x00"		/* rta length */
17204 		  "\x01\x00"		/* rta type */
17205 #else
17206 		.key    = "\x00\x08"		/* rta length */
17207 			  "\x00\x01"		/* rta type */
17208 #endif
17209 			  "\x00\x00\x00\x08"	/* enc key length */
17210 		  "\x11\x22\x33\x44\x55\x66\x77\x88"
17211 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17212 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17213 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17214 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17215 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17216 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17217 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17218 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17219 		.klen	= 8 + 64 + 8,
17220 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17221 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17222 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17223 		.alen   = 16,
17224 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17225 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17226 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17227 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17228 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17229 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17230 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17231 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17232 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17233 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17234 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17235 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17236 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17237 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17238 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17239 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17240 		.ilen	= 128,
17241 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17242 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17243 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17244 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17245 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17246 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17247 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17248 		  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17249 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17250 		  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17251 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17252 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17253 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17254 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17255 		  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17256 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17257 			  "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
17258 			  "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
17259 			  "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
17260 			  "\x58\x83\xda\x67\xfb\x21\x24\xa2"
17261 			  "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
17262 			  "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
17263 			  "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
17264 			  "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
17265 		.rlen	= 128 + 64,
17266 	},
17267 };
17268 
17269 static const struct aead_testvec hmac_sha1_des3_ede_cbc_enc_tv_temp[] = {
17270 	{ /*Generated with cryptopp*/
17271 #ifdef __LITTLE_ENDIAN
17272 		.key    = "\x08\x00"		/* rta length */
17273 			  "\x01\x00"		/* rta type */
17274 #else
17275 		.key    = "\x00\x08"		/* rta length */
17276 			  "\x00\x01"		/* rta type */
17277 #endif
17278 			  "\x00\x00\x00\x18"	/* enc key length */
17279 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17280 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17281 			  "\x22\x33\x44\x55"
17282 		  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17283 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17284 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17285 		.klen	= 8 + 20 + 24,
17286 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17287 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17288 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17289 		.alen   = 16,
17290 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17291 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17292 		  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17293 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17294 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17295 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17296 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17297 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17298 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17299 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17300 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17301 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17302 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17303 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17304 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17305 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17306 		.ilen	= 128,
17307 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17308 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17309 		  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17310 		  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17311 		  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17312 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17313 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17314 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17315 		  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17316 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17317 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17318 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17319 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17320 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17321 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17322 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17323 			  "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
17324 			  "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
17325 			  "\xd1\x60\x91\xb3",
17326 			  .rlen	= 128 + 20,
17327 	},
17328 };
17329 
17330 static const struct aead_testvec hmac_sha224_des3_ede_cbc_enc_tv_temp[] = {
17331 	{ /*Generated with cryptopp*/
17332 #ifdef __LITTLE_ENDIAN
17333 		.key    = "\x08\x00"		/* rta length */
17334 			  "\x01\x00"		/* rta type */
17335 #else
17336 		.key    = "\x00\x08"		/* rta length */
17337 			  "\x00\x01"		/* rta type */
17338 #endif
17339 			  "\x00\x00\x00\x18"	/* enc key length */
17340 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17341 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17342 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17343 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17344 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17345 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17346 		.klen	= 8 + 24 + 24,
17347 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17348 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17349 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17350 		.alen   = 16,
17351 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17352 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17353 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17354 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17355 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17356 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17357 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17358 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17359 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17360 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17361 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17362 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17363 		  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17364 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17365 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17366 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17367 		.ilen	= 128,
17368 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17369 		  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17370 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17371 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17372 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17373 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17374 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17375 		  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17376 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17377 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17378 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17379 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17380 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17381 		  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17382 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17383 		  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17384 			  "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
17385 			  "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
17386 			  "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
17387 			  .rlen	= 128 + 24,
17388 	},
17389 };
17390 
17391 static const struct aead_testvec hmac_sha256_des3_ede_cbc_enc_tv_temp[] = {
17392 	{ /*Generated with cryptopp*/
17393 #ifdef __LITTLE_ENDIAN
17394 		.key    = "\x08\x00"		/* rta length */
17395 			  "\x01\x00"		/* rta type */
17396 #else
17397 		.key    = "\x00\x08"		/* rta length */
17398 			  "\x00\x01"		/* rta type */
17399 #endif
17400 			  "\x00\x00\x00\x18"	/* enc key length */
17401 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17402 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17403 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17404 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17405 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17406 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17407 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17408 		.klen	= 8 + 32 + 24,
17409 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17410 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17411 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17412 		.alen   = 16,
17413 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17414 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17415 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17416 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17417 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17418 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17419 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17420 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17421 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17422 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17423 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17424 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17425 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17426 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17427 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17428 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17429 		.ilen	= 128,
17430 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17431 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17432 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17433 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17434 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17435 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17436 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17437 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17438 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17439 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17440 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17441 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17442 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17443 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17444 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17445 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17446 			  "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
17447 			  "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
17448 			  "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
17449 			  "\xca\x43\x95\xdf\x80\x61\x81\xa9",
17450 		.rlen	= 128 + 32,
17451 	},
17452 };
17453 
17454 static const struct aead_testvec hmac_sha384_des3_ede_cbc_enc_tv_temp[] = {
17455 	{ /*Generated with cryptopp*/
17456 #ifdef __LITTLE_ENDIAN
17457 		.key    = "\x08\x00"		/* rta length */
17458 			  "\x01\x00"		/* rta type */
17459 #else
17460 		.key    = "\x00\x08"		/* rta length */
17461 			  "\x00\x01"		/* rta type */
17462 #endif
17463 			  "\x00\x00\x00\x18"	/* enc key length */
17464 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17465 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17466 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17467 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17468 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17469 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17470 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17471 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17472 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17473 		.klen	= 8 + 48 + 24,
17474 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17475 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17476 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17477 		.alen   = 16,
17478 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17479 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17480 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17481 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17482 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17483 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17484 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17485 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17486 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17487 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17488 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17489 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17490 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17491 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17492 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17493 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17494 		.ilen	= 128,
17495 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17496 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17497 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17498 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17499 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17500 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17501 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17502 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17503 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17504 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17505 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17506 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17507 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17508 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17509 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17510 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17511 			  "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
17512 		  "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
17513 			  "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
17514 			  "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
17515 			  "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
17516 			  "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
17517 		.rlen	= 128 + 48,
17518 	},
17519 };
17520 
17521 static const struct aead_testvec hmac_sha512_des3_ede_cbc_enc_tv_temp[] = {
17522 	{ /*Generated with cryptopp*/
17523 #ifdef __LITTLE_ENDIAN
17524 		.key    = "\x08\x00"		/* rta length */
17525 			  "\x01\x00"		/* rta type */
17526 #else
17527 		.key    = "\x00\x08"		/* rta length */
17528 			  "\x00\x01"		/* rta type */
17529 #endif
17530 			  "\x00\x00\x00\x18"	/* enc key length */
17531 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17532 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17533 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17534 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17535 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17536 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17537 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17538 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17539 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17540 		  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17541 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17542 		.klen	= 8 + 64 + 24,
17543 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17544 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17545 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17546 		.alen   = 16,
17547 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17548 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17549 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17550 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17551 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17552 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17553 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17554 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17555 		  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17556 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17557 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17558 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17559 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17560 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17561 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17562 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17563 		.ilen	= 128,
17564 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17565 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17566 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17567 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17568 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17569 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17570 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17571 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17572 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17573 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17574 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17575 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17576 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17577 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17578 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17579 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17580 			  "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
17581 			  "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
17582 			  "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
17583 			  "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
17584 			  "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
17585 			  "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
17586 			  "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
17587 			  "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
17588 		.rlen	= 128 + 64,
17589 	},
17590 };
17591 
17592 static const struct cipher_testvec aes_lrw_enc_tv_template[] = {
17593 	/* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
17594 	{ /* LRW-32-AES 1 */
17595 		.key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
17596 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
17597 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
17598 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
17599 		.klen   = 32,
17600 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17601 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17602 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17603 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17604 		.ilen   = 16,
17605 		.result = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
17606 			  "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
17607 		.rlen   = 16,
17608 	}, { /* LRW-32-AES 2 */
17609 		.key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
17610 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
17611 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
17612 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
17613 		.klen   = 32,
17614 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17615 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
17616 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17617 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17618 		.ilen   = 16,
17619 		.result = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
17620 			  "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
17621 		.rlen   = 16,
17622 	}, { /* LRW-32-AES 3 */
17623 		.key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
17624 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
17625 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
17626 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
17627 		.klen   = 32,
17628 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17629 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
17630 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17631 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17632 		.ilen   = 16,
17633 		.result = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
17634 			  "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
17635 		.rlen   = 16,
17636 	}, { /* LRW-32-AES 4 */
17637 		.key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
17638 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
17639 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
17640 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
17641 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
17642 		.klen   = 40,
17643 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17644 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17645 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17646 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17647 		.ilen   = 16,
17648 		.result = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
17649 			  "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
17650 		.rlen   = 16,
17651 	}, { /* LRW-32-AES 5 */
17652 		.key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
17653 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
17654 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
17655 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
17656 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
17657 		.klen   = 40,
17658 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17659 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
17660 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17661 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17662 		.ilen   = 16,
17663 		.result = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
17664 			  "\xc8\x60\x48\x02\x87\xe3\x34\x06",
17665 		.rlen   = 16,
17666 	}, { /* LRW-32-AES 6 */
17667 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17668 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17669 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17670 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17671 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17672 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17673 		.klen   = 48,
17674 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17675 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17676 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17677 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17678 		.ilen   = 16,
17679 		.result = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
17680 			  "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
17681 		.rlen   = 16,
17682 	}, { /* LRW-32-AES 7 */
17683 		.key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
17684 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
17685 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
17686 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
17687 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
17688 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
17689 		.klen   = 48,
17690 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17691 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
17692 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17693 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17694 		.ilen   = 16,
17695 		.result = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
17696 			  "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
17697 		.rlen   = 16,
17698 	}, {
17699 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
17700 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17701 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17702 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17703 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17704 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17705 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17706 		.klen   = 48,
17707 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17708 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17709 		.input  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
17710 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
17711 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
17712 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
17713 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
17714 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
17715 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
17716 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
17717 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
17718 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
17719 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
17720 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
17721 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
17722 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
17723 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
17724 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
17725 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
17726 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
17727 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
17728 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
17729 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
17730 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
17731 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
17732 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
17733 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
17734 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
17735 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
17736 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
17737 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
17738 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
17739 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
17740 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
17741 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
17742 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
17743 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
17744 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
17745 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
17746 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
17747 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
17748 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
17749 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
17750 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
17751 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
17752 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
17753 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
17754 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
17755 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
17756 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
17757 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
17758 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
17759 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
17760 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
17761 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
17762 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
17763 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
17764 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
17765 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
17766 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
17767 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
17768 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
17769 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
17770 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
17771 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
17772 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
17773 		.ilen   = 512,
17774 		.result = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
17775 			  "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
17776 			  "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
17777 			  "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
17778 			  "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
17779 			  "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
17780 			  "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
17781 			  "\xe8\x58\x46\x97\x39\x51\x07\xde"
17782 			  "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
17783 			  "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
17784 			  "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
17785 			  "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
17786 			  "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
17787 			  "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
17788 			  "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
17789 			  "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
17790 			  "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
17791 			  "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
17792 			  "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
17793 			  "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
17794 			  "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
17795 			  "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
17796 			  "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
17797 			  "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
17798 			  "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
17799 			  "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
17800 			  "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
17801 			  "\x41\x30\x58\xc5\x62\x74\x52\x1d"
17802 			  "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
17803 			  "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
17804 			  "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
17805 			  "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
17806 			  "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
17807 			  "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
17808 			  "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
17809 			  "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
17810 			  "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
17811 			  "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
17812 			  "\xb8\x79\x78\x97\x94\xff\x72\x13"
17813 			  "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
17814 			  "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
17815 			  "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
17816 			  "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
17817 			  "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
17818 			  "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
17819 			  "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
17820 			  "\x1e\x86\x53\x11\x53\x94\x00\xee"
17821 			  "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
17822 			  "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
17823 			  "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
17824 			  "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
17825 			  "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
17826 			  "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
17827 			  "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
17828 			  "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
17829 			  "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
17830 			  "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
17831 			  "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
17832 			  "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
17833 			  "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
17834 			  "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
17835 			  "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
17836 			  "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
17837 			  "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
17838 		.rlen   = 512,
17839 		.also_non_np = 1,
17840 		.np	= 3,
17841 		.tap	= { 512 - 20, 4, 16 },
17842 	}
17843 };
17844 
17845 static const struct cipher_testvec aes_lrw_dec_tv_template[] = {
17846 	/* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
17847 	/* same as enc vectors with input and result reversed */
17848 	{ /* LRW-32-AES 1 */
17849 		.key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
17850 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
17851 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
17852 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
17853 		.klen   = 32,
17854 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17855 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17856 		.input  = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
17857 			  "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
17858 		.ilen   = 16,
17859 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
17860 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17861 		.rlen   = 16,
17862 	}, { /* LRW-32-AES 2 */
17863 		.key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
17864 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
17865 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
17866 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
17867 		.klen   = 32,
17868 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17869 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
17870 		.input  = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
17871 			  "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
17872 		.ilen   = 16,
17873 		.result  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17874 			   "\x38\x39\x41\x42\x43\x44\x45\x46",
17875 		.rlen   = 16,
17876 	}, { /* LRW-32-AES 3 */
17877 		.key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
17878 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
17879 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
17880 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
17881 		.klen   = 32,
17882 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17883 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
17884 		.input  = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
17885 			  "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
17886 		.ilen   = 16,
17887 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
17888 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17889 		.rlen   = 16,
17890 	}, { /* LRW-32-AES 4 */
17891 		.key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
17892 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
17893 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
17894 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
17895 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
17896 		.klen   = 40,
17897 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17898 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17899 		.input  = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
17900 			  "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
17901 		.ilen   = 16,
17902 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
17903 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17904 		.rlen   = 16,
17905 	}, { /* LRW-32-AES 5 */
17906 		.key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
17907 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
17908 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
17909 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
17910 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
17911 		.klen   = 40,
17912 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17913 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
17914 		.input  = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
17915 			  "\xc8\x60\x48\x02\x87\xe3\x34\x06",
17916 		.ilen   = 16,
17917 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
17918 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17919 		.rlen   = 16,
17920 	}, { /* LRW-32-AES 6 */
17921 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17922 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17923 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17924 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17925 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17926 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17927 		.klen   = 48,
17928 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17929 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17930 		.input  = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
17931 			  "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
17932 		.ilen   = 16,
17933 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
17934 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17935 		.rlen   = 16,
17936 	}, { /* LRW-32-AES 7 */
17937 		.key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
17938 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
17939 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
17940 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
17941 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
17942 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
17943 		.klen   = 48,
17944 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17945 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
17946 		.input  = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
17947 			  "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
17948 		.ilen   = 16,
17949 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
17950 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17951 		.rlen   = 16,
17952 	}, {
17953 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
17954 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17955 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17956 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17957 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17958 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17959 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17960 		.klen   = 48,
17961 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17962 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17963 		.input	= "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
17964 			  "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
17965 			  "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
17966 			  "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
17967 			  "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
17968 			  "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
17969 			  "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
17970 			  "\xe8\x58\x46\x97\x39\x51\x07\xde"
17971 			  "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
17972 			  "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
17973 			  "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
17974 			  "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
17975 			  "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
17976 			  "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
17977 			  "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
17978 			  "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
17979 			  "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
17980 			  "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
17981 			  "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
17982 			  "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
17983 			  "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
17984 			  "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
17985 			  "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
17986 			  "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
17987 			  "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
17988 			  "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
17989 			  "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
17990 			  "\x41\x30\x58\xc5\x62\x74\x52\x1d"
17991 			  "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
17992 			  "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
17993 			  "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
17994 			  "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
17995 			  "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
17996 			  "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
17997 			  "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
17998 			  "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
17999 			  "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
18000 			  "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
18001 			  "\xb8\x79\x78\x97\x94\xff\x72\x13"
18002 			  "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
18003 			  "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
18004 			  "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
18005 			  "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
18006 			  "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
18007 			  "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
18008 			  "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
18009 			  "\x1e\x86\x53\x11\x53\x94\x00\xee"
18010 			  "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
18011 			  "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
18012 			  "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
18013 			  "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
18014 			  "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
18015 			  "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
18016 			  "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
18017 			  "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
18018 			  "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
18019 			  "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
18020 			  "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
18021 			  "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
18022 			  "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
18023 			  "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
18024 			  "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
18025 			  "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
18026 			  "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
18027 		.ilen   = 512,
18028 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
18029 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
18030 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
18031 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
18032 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
18033 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
18034 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
18035 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
18036 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
18037 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
18038 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
18039 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
18040 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
18041 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
18042 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
18043 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
18044 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
18045 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
18046 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
18047 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
18048 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
18049 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
18050 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
18051 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
18052 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
18053 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
18054 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
18055 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
18056 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
18057 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
18058 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
18059 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
18060 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
18061 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
18062 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
18063 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
18064 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
18065 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
18066 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
18067 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
18068 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
18069 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
18070 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
18071 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
18072 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
18073 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
18074 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
18075 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
18076 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
18077 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
18078 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
18079 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
18080 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
18081 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
18082 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
18083 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
18084 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
18085 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
18086 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
18087 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
18088 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
18089 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
18090 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
18091 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
18092 		.rlen   = 512,
18093 		.also_non_np = 1,
18094 		.np	= 3,
18095 		.tap	= { 512 - 20, 4, 16 },
18096 	}
18097 };
18098 
18099 static const struct cipher_testvec aes_xts_enc_tv_template[] = {
18100 	/* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
18101 	{ /* XTS-AES 1 */
18102 		.key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
18103 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18104 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18105 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18106 		.klen   = 32,
18107 		.fips_skip = 1,
18108 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18109 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18110 		.input  = "\x00\x00\x00\x00\x00\x00\x00\x00"
18111 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18112 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18113 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18114 		.ilen   = 32,
18115 		.result = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
18116 			  "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
18117 			  "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
18118 			  "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
18119 		.rlen   = 32,
18120 	}, { /* XTS-AES 2 */
18121 		.key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
18122 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
18123 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18124 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18125 		.klen   = 32,
18126 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18127 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18128 		.input  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18129 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18130 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18131 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18132 		.ilen   = 32,
18133 		.result = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
18134 			  "\x39\x33\x40\x38\xac\xef\x83\x8b"
18135 			  "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
18136 			  "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
18137 		.rlen   = 32,
18138 	}, { /* XTS-AES 3 */
18139 		.key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
18140 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
18141 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18142 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18143 		.klen   = 32,
18144 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18145 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18146 		.input  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18147 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18148 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18149 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18150 		.ilen   = 32,
18151 		.result = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
18152 			  "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
18153 			  "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
18154 			  "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
18155 		.rlen   = 32,
18156 	}, { /* XTS-AES 4 */
18157 		.key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
18158 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18159 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18160 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
18161 		.klen   = 32,
18162 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18163 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18164 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18165 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18166 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18167 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18168 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18169 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18170 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18171 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18172 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18173 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18174 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18175 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18176 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18177 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18178 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18179 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18180 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18181 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18182 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18183 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18184 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18185 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18186 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18187 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18188 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18189 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18190 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18191 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18192 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18193 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18194 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18195 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18196 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18197 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18198 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18199 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18200 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18201 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18202 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18203 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18204 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18205 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18206 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18207 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18208 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18209 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18210 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18211 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18212 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18213 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18214 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18215 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18216 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18217 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18218 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18219 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18220 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18221 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18222 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18223 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18224 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18225 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18226 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18227 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18228 		.ilen   = 512,
18229 		.result = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
18230 			  "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
18231 			  "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
18232 			  "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
18233 			  "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
18234 			  "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
18235 			  "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
18236 			  "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
18237 			  "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
18238 			  "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
18239 			  "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
18240 			  "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
18241 			  "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
18242 			  "\x22\x97\x61\x46\xae\x20\xce\x84"
18243 			  "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
18244 			  "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
18245 			  "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
18246 			  "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
18247 			  "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
18248 			  "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
18249 			  "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
18250 			  "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
18251 			  "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
18252 			  "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
18253 			  "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
18254 			  "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
18255 			  "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
18256 			  "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
18257 			  "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
18258 			  "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
18259 			  "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
18260 			  "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
18261 			  "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
18262 			  "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
18263 			  "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
18264 			  "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
18265 			  "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
18266 			  "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
18267 			  "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
18268 			  "\x55\xef\x52\x97\xca\x67\xe9\xf3"
18269 			  "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
18270 			  "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
18271 			  "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
18272 			  "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
18273 			  "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
18274 			  "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
18275 			  "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
18276 			  "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
18277 			  "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
18278 			  "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
18279 			  "\x18\x84\x69\x77\xae\x11\x9f\x7a"
18280 			  "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
18281 			  "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
18282 			  "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
18283 			  "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
18284 			  "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
18285 			  "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
18286 			  "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
18287 			  "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
18288 			  "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
18289 			  "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
18290 			  "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
18291 			  "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
18292 			  "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
18293 		.rlen   = 512,
18294 	}, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
18295 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
18296 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18297 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
18298 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
18299 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18300 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
18301 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
18302 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
18303 		.klen	= 64,
18304 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
18305 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18306 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
18307 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18308 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18309 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18310 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18311 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18312 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18313 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18314 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18315 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18316 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18317 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18318 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18319 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18320 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18321 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18322 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18323 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18324 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18325 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18326 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18327 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18328 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18329 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18330 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18331 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18332 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18333 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18334 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18335 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18336 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18337 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18338 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18339 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18340 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18341 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18342 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18343 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18344 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18345 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18346 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18347 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18348 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18349 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18350 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18351 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18352 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18353 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18354 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18355 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18356 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18357 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18358 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18359 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18360 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18361 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18362 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18363 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18364 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18365 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18366 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18367 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18368 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18369 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18370 		.ilen	= 512,
18371 		.result	= "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
18372 			  "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
18373 			  "\xea\x00\x80\x3f\x5e\x48\x23\x57"
18374 			  "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
18375 			  "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
18376 			  "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
18377 			  "\x68\x0a\x86\xac\x35\xad\xfc\x33"
18378 			  "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
18379 			  "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
18380 			  "\xb1\x08\xfd\x10\x98\xba\xec\x70"
18381 			  "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
18382 			  "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
18383 			  "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
18384 			  "\xae\xba\x12\x29\x61\xd0\x3a\x75"
18385 			  "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
18386 			  "\x00\x02\x08\x87\x89\x14\x29\xca"
18387 			  "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
18388 			  "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
18389 			  "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
18390 			  "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
18391 			  "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
18392 			  "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
18393 			  "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
18394 			  "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
18395 			  "\x93\xec\x05\xc5\x2e\x04\x93\xef"
18396 			  "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
18397 			  "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
18398 			  "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
18399 			  "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
18400 			  "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
18401 			  "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
18402 			  "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
18403 			  "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
18404 			  "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
18405 			  "\xbc\x48\x14\x57\x77\x8f\x61\x60"
18406 			  "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
18407 			  "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
18408 			  "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
18409 			  "\xf4\xc3\x33\xec\x44\x23\x88\x51"
18410 			  "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
18411 			  "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
18412 			  "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
18413 			  "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
18414 			  "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
18415 			  "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
18416 			  "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
18417 			  "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
18418 			  "\x92\x5f\xed\xc4\xae\x74\xff\xac"
18419 			  "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
18420 			  "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
18421 			  "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
18422 			  "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
18423 			  "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
18424 			  "\x94\x30\x54\xff\x84\x01\x14\x93"
18425 			  "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
18426 			  "\x53\x76\x44\x1a\x77\xed\x43\x85"
18427 			  "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
18428 			  "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
18429 			  "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
18430 			  "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
18431 			  "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
18432 			  "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
18433 			  "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
18434 			  "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
18435 		.rlen	= 512,
18436 		.also_non_np = 1,
18437 		.np	= 3,
18438 		.tap	= { 512 - 20, 4, 16 },
18439 	}
18440 };
18441 
18442 static const struct cipher_testvec aes_xts_dec_tv_template[] = {
18443 	/* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
18444 	{ /* XTS-AES 1 */
18445 		.key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
18446 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18447 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18448 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18449 		.klen   = 32,
18450 		.fips_skip = 1,
18451 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18452 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18453 		.input = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
18454 			 "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
18455 			 "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
18456 			 "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
18457 		.ilen   = 32,
18458 		.result  = "\x00\x00\x00\x00\x00\x00\x00\x00"
18459 			   "\x00\x00\x00\x00\x00\x00\x00\x00"
18460 			   "\x00\x00\x00\x00\x00\x00\x00\x00"
18461 			   "\x00\x00\x00\x00\x00\x00\x00\x00",
18462 		.rlen   = 32,
18463 	}, { /* XTS-AES 2 */
18464 		.key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
18465 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
18466 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18467 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18468 		.klen   = 32,
18469 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18470 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18471 		.input  = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
18472 			  "\x39\x33\x40\x38\xac\xef\x83\x8b"
18473 			  "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
18474 			  "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
18475 		.ilen   = 32,
18476 		.result = "\x44\x44\x44\x44\x44\x44\x44\x44"
18477 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18478 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18479 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18480 		.rlen   = 32,
18481 	}, { /* XTS-AES 3 */
18482 		.key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
18483 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
18484 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18485 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18486 		.klen   = 32,
18487 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18488 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18489 		.input = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
18490 			  "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
18491 			  "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
18492 			  "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
18493 		.ilen   = 32,
18494 		.result  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18495 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18496 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18497 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18498 		.rlen   = 32,
18499 	}, { /* XTS-AES 4 */
18500 		.key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
18501 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18502 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18503 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
18504 		.klen   = 32,
18505 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18506 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18507 		.input  = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
18508 			  "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
18509 			  "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
18510 			  "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
18511 			  "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
18512 			  "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
18513 			  "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
18514 			  "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
18515 			  "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
18516 			  "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
18517 			  "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
18518 			  "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
18519 			  "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
18520 			  "\x22\x97\x61\x46\xae\x20\xce\x84"
18521 			  "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
18522 			  "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
18523 			  "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
18524 			  "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
18525 			  "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
18526 			  "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
18527 			  "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
18528 			  "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
18529 			  "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
18530 			  "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
18531 			  "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
18532 			  "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
18533 			  "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
18534 			  "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
18535 			  "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
18536 			  "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
18537 			  "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
18538 			  "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
18539 			  "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
18540 			  "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
18541 			  "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
18542 			  "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
18543 			  "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
18544 			  "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
18545 			  "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
18546 			  "\x55\xef\x52\x97\xca\x67\xe9\xf3"
18547 			  "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
18548 			  "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
18549 			  "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
18550 			  "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
18551 			  "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
18552 			  "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
18553 			  "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
18554 			  "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
18555 			  "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
18556 			  "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
18557 			  "\x18\x84\x69\x77\xae\x11\x9f\x7a"
18558 			  "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
18559 			  "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
18560 			  "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
18561 			  "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
18562 			  "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
18563 			  "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
18564 			  "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
18565 			  "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
18566 			  "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
18567 			  "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
18568 			  "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
18569 			  "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
18570 			  "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
18571 		.ilen   = 512,
18572 		.result = "\x00\x01\x02\x03\x04\x05\x06\x07"
18573 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18574 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18575 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18576 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18577 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18578 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18579 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18580 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18581 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18582 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18583 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18584 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18585 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18586 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18587 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18588 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18589 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18590 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18591 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18592 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18593 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18594 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18595 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18596 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18597 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18598 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18599 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18600 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18601 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18602 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18603 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18604 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18605 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18606 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18607 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18608 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18609 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18610 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18611 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18612 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18613 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18614 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18615 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18616 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18617 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18618 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18619 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18620 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18621 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18622 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18623 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18624 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18625 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18626 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18627 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18628 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18629 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18630 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18631 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18632 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18633 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18634 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18635 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18636 		.rlen   = 512,
18637 	}, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
18638 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
18639 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18640 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
18641 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
18642 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18643 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
18644 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
18645 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
18646 		.klen	= 64,
18647 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
18648 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18649 		.input	= "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
18650 			  "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
18651 			  "\xea\x00\x80\x3f\x5e\x48\x23\x57"
18652 			  "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
18653 			  "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
18654 			  "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
18655 			  "\x68\x0a\x86\xac\x35\xad\xfc\x33"
18656 			  "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
18657 			  "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
18658 			  "\xb1\x08\xfd\x10\x98\xba\xec\x70"
18659 			  "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
18660 			  "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
18661 			  "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
18662 			  "\xae\xba\x12\x29\x61\xd0\x3a\x75"
18663 			  "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
18664 			  "\x00\x02\x08\x87\x89\x14\x29\xca"
18665 			  "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
18666 			  "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
18667 			  "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
18668 			  "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
18669 			  "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
18670 			  "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
18671 			  "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
18672 			  "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
18673 			  "\x93\xec\x05\xc5\x2e\x04\x93\xef"
18674 			  "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
18675 			  "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
18676 			  "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
18677 			  "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
18678 			  "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
18679 			  "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
18680 			  "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
18681 			  "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
18682 			  "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
18683 			  "\xbc\x48\x14\x57\x77\x8f\x61\x60"
18684 			  "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
18685 			  "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
18686 			  "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
18687 			  "\xf4\xc3\x33\xec\x44\x23\x88\x51"
18688 			  "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
18689 			  "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
18690 			  "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
18691 			  "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
18692 			  "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
18693 			  "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
18694 			  "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
18695 			  "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
18696 			  "\x92\x5f\xed\xc4\xae\x74\xff\xac"
18697 			  "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
18698 			  "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
18699 			  "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
18700 			  "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
18701 			  "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
18702 			  "\x94\x30\x54\xff\x84\x01\x14\x93"
18703 			  "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
18704 			  "\x53\x76\x44\x1a\x77\xed\x43\x85"
18705 			  "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
18706 			  "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
18707 			  "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
18708 			  "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
18709 			  "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
18710 			  "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
18711 			  "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
18712 			  "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
18713 		.ilen	= 512,
18714 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
18715 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18716 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18717 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18718 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18719 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18720 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18721 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18722 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18723 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18724 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18725 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18726 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18727 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18728 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18729 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18730 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18731 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18732 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18733 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18734 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18735 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18736 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18737 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18738 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18739 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18740 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18741 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18742 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18743 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18744 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18745 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18746 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18747 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18748 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18749 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18750 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18751 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18752 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18753 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18754 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18755 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18756 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18757 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18758 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18759 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18760 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18761 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18762 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18763 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18764 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18765 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18766 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18767 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18768 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18769 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18770 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18771 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18772 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18773 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18774 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18775 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18776 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18777 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18778 		.rlen	= 512,
18779 		.also_non_np = 1,
18780 		.np	= 3,
18781 		.tap	= { 512 - 20, 4, 16 },
18782 	}
18783 };
18784 
18785 
18786 static const struct cipher_testvec aes_ctr_enc_tv_template[] = {
18787 	{ /* From NIST Special Publication 800-38A, Appendix F.5 */
18788 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
18789 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
18790 		.klen	= 16,
18791 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18792 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18793 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18794 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18795 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18796 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18797 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18798 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18799 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18800 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18801 		.ilen	= 64,
18802 		.result	= "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
18803 			  "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
18804 			  "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
18805 			  "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
18806 			  "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
18807 			  "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
18808 			  "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
18809 			  "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
18810 		.rlen	= 64,
18811 	}, {
18812 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
18813 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
18814 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
18815 		.klen	= 24,
18816 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18817 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18818 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18819 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18820 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18821 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18822 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18823 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18824 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18825 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18826 		.ilen	= 64,
18827 		.result	= "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
18828 			  "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
18829 			  "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
18830 			  "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
18831 			  "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
18832 			  "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
18833 			  "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
18834 			  "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
18835 		.rlen	= 64,
18836 	}, {
18837 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
18838 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
18839 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
18840 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
18841 		.klen	= 32,
18842 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18843 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18844 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18845 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18846 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18847 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18848 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18849 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18850 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18851 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18852 		.ilen	= 64,
18853 		.result	= "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
18854 			  "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
18855 			  "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
18856 			  "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
18857 			  "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
18858 			  "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
18859 			  "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
18860 			  "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
18861 		.rlen	= 64,
18862 	}, { /* Generated with Crypto++ */
18863 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
18864 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
18865 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
18866 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
18867 		.klen	= 32,
18868 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
18869 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
18870 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
18871 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
18872 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
18873 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
18874 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
18875 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
18876 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
18877 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
18878 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
18879 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
18880 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
18881 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
18882 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
18883 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
18884 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
18885 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
18886 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
18887 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
18888 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
18889 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
18890 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
18891 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
18892 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
18893 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
18894 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
18895 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
18896 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
18897 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
18898 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
18899 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
18900 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
18901 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
18902 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
18903 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
18904 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
18905 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
18906 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
18907 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
18908 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
18909 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
18910 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
18911 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
18912 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
18913 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
18914 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
18915 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
18916 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
18917 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
18918 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
18919 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
18920 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
18921 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
18922 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
18923 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
18924 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
18925 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
18926 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
18927 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
18928 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
18929 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
18930 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
18931 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
18932 		.ilen	= 496,
18933 		.result	= "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
18934 			  "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
18935 			  "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
18936 			  "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
18937 			  "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
18938 			  "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
18939 			  "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
18940 			  "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
18941 			  "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
18942 			  "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
18943 			  "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
18944 			  "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
18945 			  "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
18946 			  "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
18947 			  "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
18948 			  "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
18949 			  "\x34\x4B\x31\x69\x84\x66\x96\x44"
18950 			  "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
18951 			  "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
18952 			  "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
18953 			  "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
18954 			  "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
18955 			  "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
18956 			  "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
18957 			  "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
18958 			  "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
18959 			  "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
18960 			  "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
18961 			  "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
18962 			  "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
18963 			  "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
18964 			  "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
18965 			  "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
18966 			  "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
18967 			  "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
18968 			  "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
18969 			  "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
18970 			  "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
18971 			  "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
18972 			  "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
18973 			  "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
18974 			  "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
18975 			  "\x85\x99\x22\xE8\x91\x38\x70\x83"
18976 			  "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
18977 			  "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
18978 			  "\x2F\x69\xEE\x84\x36\x44\x76\x98"
18979 			  "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
18980 			  "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
18981 			  "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
18982 			  "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
18983 			  "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
18984 			  "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
18985 			  "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
18986 			  "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
18987 			  "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
18988 			  "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
18989 			  "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
18990 			  "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
18991 			  "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
18992 			  "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
18993 			  "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
18994 			  "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
18995 		.rlen	= 496,
18996 		.also_non_np = 1,
18997 		.np	= 3,
18998 		.tap	= { 496 - 20, 4, 16 },
18999 	}, { /* Generated with Crypto++ */
19000 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19001 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19002 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19003 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19004 		.klen	= 32,
19005 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19006 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
19007 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19008 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19009 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19010 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19011 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19012 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19013 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19014 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19015 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19016 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19017 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19018 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19019 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19020 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19021 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19022 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19023 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19024 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19025 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19026 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19027 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19028 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19029 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19030 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19031 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19032 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19033 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19034 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19035 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19036 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19037 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19038 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19039 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19040 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19041 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19042 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19043 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19044 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19045 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19046 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19047 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19048 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19049 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19050 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19051 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19052 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19053 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19054 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19055 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19056 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19057 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19058 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19059 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19060 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19061 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19062 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19063 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19064 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19065 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19066 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19067 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19068 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
19069 			  "\x7B\xE4\x4D",
19070 		.ilen	= 499,
19071 		.result	= "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
19072 			  "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
19073 			  "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
19074 			  "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
19075 			  "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
19076 			  "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
19077 			  "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
19078 			  "\x75\xDE\x71\x86\x3C\x98\x23\x44"
19079 			  "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
19080 			  "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
19081 			  "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
19082 			  "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
19083 			  "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
19084 			  "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
19085 			  "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
19086 			  "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
19087 			  "\xA8\x28\x69\x65\x31\xE1\x45\x83"
19088 			  "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
19089 			  "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
19090 			  "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
19091 			  "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
19092 			  "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
19093 			  "\x45\x18\x18\x74\x19\xAD\x71\x01"
19094 			  "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
19095 			  "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
19096 			  "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
19097 			  "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
19098 			  "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
19099 			  "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
19100 			  "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
19101 			  "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
19102 			  "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
19103 			  "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
19104 			  "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
19105 			  "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
19106 			  "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
19107 			  "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
19108 			  "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
19109 			  "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
19110 			  "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
19111 			  "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
19112 			  "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
19113 			  "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
19114 			  "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
19115 			  "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
19116 			  "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
19117 			  "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
19118 			  "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
19119 			  "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
19120 			  "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
19121 			  "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
19122 			  "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
19123 			  "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
19124 			  "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
19125 			  "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
19126 			  "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
19127 			  "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
19128 			  "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
19129 			  "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
19130 			  "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
19131 			  "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
19132 			  "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
19133 			  "\xFB\xF2\x3F",
19134 		.rlen	= 499,
19135 		.also_non_np = 1,
19136 		.np	= 2,
19137 		.tap	= { 499 - 16, 16 },
19138 	},
19139 };
19140 
19141 static const struct cipher_testvec aes_ctr_dec_tv_template[] = {
19142 	{ /* From NIST Special Publication 800-38A, Appendix F.5 */
19143 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
19144 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
19145 		.klen	= 16,
19146 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19147 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19148 		.input	= "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
19149 			  "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
19150 			  "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
19151 			  "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
19152 			  "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
19153 			  "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
19154 			  "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
19155 			  "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
19156 		.ilen	= 64,
19157 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19158 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19159 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19160 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19161 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19162 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19163 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19164 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19165 		.rlen	= 64,
19166 	}, {
19167 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
19168 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
19169 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
19170 		.klen	= 24,
19171 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19172 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19173 		.input	= "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
19174 			  "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
19175 			  "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
19176 			  "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
19177 			  "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
19178 			  "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
19179 			  "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
19180 			  "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
19181 		.ilen	= 64,
19182 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19183 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19184 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19185 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19186 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19187 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19188 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19189 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19190 		.rlen	= 64,
19191 	}, {
19192 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
19193 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
19194 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
19195 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
19196 		.klen	= 32,
19197 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19198 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19199 		.input	= "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
19200 			  "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
19201 			  "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
19202 			  "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
19203 			  "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
19204 			  "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
19205 			  "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
19206 			  "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
19207 		.ilen	= 64,
19208 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19209 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19210 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19211 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19212 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19213 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19214 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19215 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19216 		.rlen	= 64,
19217 	}, { /* Generated with Crypto++ */
19218 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19219 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19220 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19221 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19222 		.klen	= 32,
19223 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
19224 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
19225 		.input	= "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
19226 			  "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
19227 			  "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
19228 			  "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
19229 			  "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
19230 			  "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
19231 			  "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
19232 			  "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
19233 			  "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
19234 			  "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
19235 			  "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
19236 			  "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
19237 			  "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
19238 			  "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
19239 			  "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
19240 			  "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
19241 			  "\x34\x4B\x31\x69\x84\x66\x96\x44"
19242 			  "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
19243 			  "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
19244 			  "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
19245 			  "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
19246 			  "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
19247 			  "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
19248 			  "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
19249 			  "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
19250 			  "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
19251 			  "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
19252 			  "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
19253 			  "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
19254 			  "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
19255 			  "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
19256 			  "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
19257 			  "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
19258 			  "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
19259 			  "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
19260 			  "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
19261 			  "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
19262 			  "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
19263 			  "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
19264 			  "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
19265 			  "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
19266 			  "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
19267 			  "\x85\x99\x22\xE8\x91\x38\x70\x83"
19268 			  "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
19269 			  "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
19270 			  "\x2F\x69\xEE\x84\x36\x44\x76\x98"
19271 			  "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
19272 			  "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
19273 			  "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
19274 			  "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
19275 			  "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
19276 			  "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
19277 			  "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
19278 			  "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
19279 			  "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
19280 			  "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
19281 			  "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
19282 			  "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
19283 			  "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
19284 			  "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
19285 			  "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
19286 			  "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
19287 		.ilen	= 496,
19288 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19289 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19290 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19291 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19292 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19293 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19294 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19295 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19296 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19297 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19298 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19299 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19300 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19301 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19302 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19303 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19304 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19305 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19306 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19307 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19308 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19309 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19310 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19311 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19312 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19313 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19314 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19315 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19316 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19317 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19318 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19319 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19320 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19321 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19322 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19323 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19324 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19325 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19326 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19327 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19328 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19329 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19330 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19331 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19332 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19333 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19334 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19335 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19336 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19337 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19338 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19339 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19340 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19341 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19342 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19343 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19344 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19345 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19346 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19347 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19348 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19349 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
19350 		.rlen	= 496,
19351 		.also_non_np = 1,
19352 		.np	= 3,
19353 		.tap	= { 496 - 20, 4, 16 },
19354 	}, { /* Generated with Crypto++ */
19355 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19356 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19357 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19358 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19359 		.klen	= 32,
19360 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19361 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
19362 		.input	= "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
19363 			  "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
19364 			  "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
19365 			  "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
19366 			  "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
19367 			  "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
19368 			  "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
19369 			  "\x75\xDE\x71\x86\x3C\x98\x23\x44"
19370 			  "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
19371 			  "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
19372 			  "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
19373 			  "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
19374 			  "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
19375 			  "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
19376 			  "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
19377 			  "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
19378 			  "\xA8\x28\x69\x65\x31\xE1\x45\x83"
19379 			  "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
19380 			  "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
19381 			  "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
19382 			  "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
19383 			  "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
19384 			  "\x45\x18\x18\x74\x19\xAD\x71\x01"
19385 			  "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
19386 			  "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
19387 			  "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
19388 			  "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
19389 			  "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
19390 			  "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
19391 			  "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
19392 			  "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
19393 			  "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
19394 			  "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
19395 			  "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
19396 			  "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
19397 			  "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
19398 			  "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
19399 			  "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
19400 			  "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
19401 			  "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
19402 			  "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
19403 			  "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
19404 			  "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
19405 			  "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
19406 			  "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
19407 			  "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
19408 			  "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
19409 			  "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
19410 			  "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
19411 			  "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
19412 			  "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
19413 			  "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
19414 			  "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
19415 			  "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
19416 			  "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
19417 			  "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
19418 			  "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
19419 			  "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
19420 			  "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
19421 			  "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
19422 			  "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
19423 			  "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
19424 			  "\xFB\xF2\x3F",
19425 		.ilen	= 499,
19426 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19427 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19428 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19429 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19430 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19431 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19432 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19433 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19434 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19435 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19436 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19437 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19438 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19439 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19440 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19441 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19442 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19443 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19444 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19445 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19446 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19447 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19448 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19449 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19450 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19451 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19452 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19453 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19454 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19455 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19456 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19457 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19458 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19459 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19460 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19461 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19462 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19463 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19464 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19465 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19466 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19467 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19468 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19469 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19470 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19471 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19472 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19473 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19474 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19475 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19476 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19477 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19478 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19479 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19480 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19481 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19482 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19483 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19484 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19485 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19486 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19487 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
19488 			  "\x7B\xE4\x4D",
19489 		.rlen	= 499,
19490 		.also_non_np = 1,
19491 		.np	= 2,
19492 		.tap	= { 499 - 16, 16 },
19493 	},
19494 };
19495 
19496 static const struct cipher_testvec aes_ctr_rfc3686_enc_tv_template[] = {
19497 	{ /* From RFC 3686 */
19498 		.key	= "\xae\x68\x52\xf8\x12\x10\x67\xcc"
19499 			  "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
19500 			  "\x00\x00\x00\x30",
19501 		.klen	= 20,
19502 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
19503 		.input	= "Single block msg",
19504 		.ilen	= 16,
19505 		.result = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
19506 			  "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
19507 		.rlen	= 16,
19508 	}, {
19509 		.key	= "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
19510 			  "\x43\xd6\xce\x1f\x32\x53\x91\x63"
19511 			  "\x00\x6c\xb6\xdb",
19512 		.klen	= 20,
19513 		.iv	= "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
19514 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
19515 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19516 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19517 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19518 		.ilen	= 32,
19519 		.result = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
19520 			  "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
19521 			  "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
19522 			  "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
19523 		.rlen	= 32,
19524 	}, {
19525 		.key	= "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
19526 			  "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
19527 			  "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
19528 			  "\x00\x00\x00\x48",
19529 		.klen	= 28,
19530 		.iv	= "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
19531 		.input	= "Single block msg",
19532 		.ilen	= 16,
19533 		.result	= "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
19534 			  "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
19535 		.rlen	= 16,
19536 	}, {
19537 		.key	= "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
19538 			  "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
19539 			  "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
19540 			  "\x00\x96\xb0\x3b",
19541 		.klen	= 28,
19542 		.iv	= "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
19543 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
19544 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19545 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19546 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19547 		.ilen	= 32,
19548 		.result	= "\x45\x32\x43\xfc\x60\x9b\x23\x32"
19549 			  "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
19550 			  "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
19551 			  "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
19552 		.rlen	= 32,
19553 	}, {
19554 		.key	= "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
19555 			  "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
19556 			  "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
19557 			  "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
19558 			  "\x00\x00\x00\x60",
19559 		.klen	= 36,
19560 		.iv	= "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
19561 		.input	= "Single block msg",
19562 		.ilen	= 16,
19563 		.result = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
19564 			  "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
19565 		.rlen	= 16,
19566 	}, {
19567 		.key	= "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
19568 			  "\x07\x96\x36\x58\x79\xef\xf8\x86"
19569 			  "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
19570 			  "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
19571 			  "\x00\xfa\xac\x24",
19572 		.klen	= 36,
19573 		.iv	= "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
19574 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
19575 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19576 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19577 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19578 		.ilen	= 32,
19579 		.result = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
19580 			  "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
19581 			  "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
19582 			  "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
19583 		.rlen	= 32,
19584 	}, {
19585 	// generated using Crypto++
19586 		.key = "\x00\x01\x02\x03\x04\x05\x06\x07"
19587 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19588 			"\x10\x11\x12\x13\x14\x15\x16\x17"
19589 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19590 			"\x00\x00\x00\x00",
19591 		.klen = 32 + 4,
19592 		.iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
19593 		.input =
19594 			"\x00\x01\x02\x03\x04\x05\x06\x07"
19595 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19596 			"\x10\x11\x12\x13\x14\x15\x16\x17"
19597 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19598 			"\x20\x21\x22\x23\x24\x25\x26\x27"
19599 			"\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19600 			"\x30\x31\x32\x33\x34\x35\x36\x37"
19601 			"\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19602 			"\x40\x41\x42\x43\x44\x45\x46\x47"
19603 			"\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19604 			"\x50\x51\x52\x53\x54\x55\x56\x57"
19605 			"\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19606 			"\x60\x61\x62\x63\x64\x65\x66\x67"
19607 			"\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19608 			"\x70\x71\x72\x73\x74\x75\x76\x77"
19609 			"\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19610 			"\x80\x81\x82\x83\x84\x85\x86\x87"
19611 			"\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19612 			"\x90\x91\x92\x93\x94\x95\x96\x97"
19613 			"\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19614 			"\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19615 			"\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19616 			"\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19617 			"\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19618 			"\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19619 			"\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19620 			"\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19621 			"\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19622 			"\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19623 			"\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19624 			"\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19625 			"\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
19626 			"\x00\x03\x06\x09\x0c\x0f\x12\x15"
19627 			"\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
19628 			"\x30\x33\x36\x39\x3c\x3f\x42\x45"
19629 			"\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
19630 			"\x60\x63\x66\x69\x6c\x6f\x72\x75"
19631 			"\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
19632 			"\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
19633 			"\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
19634 			"\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
19635 			"\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
19636 			"\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
19637 			"\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
19638 			"\x20\x23\x26\x29\x2c\x2f\x32\x35"
19639 			"\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
19640 			"\x50\x53\x56\x59\x5c\x5f\x62\x65"
19641 			"\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
19642 			"\x80\x83\x86\x89\x8c\x8f\x92\x95"
19643 			"\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
19644 			"\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
19645 			"\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
19646 			"\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
19647 			"\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
19648 			"\x10\x13\x16\x19\x1c\x1f\x22\x25"
19649 			"\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
19650 			"\x40\x43\x46\x49\x4c\x4f\x52\x55"
19651 			"\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
19652 			"\x70\x73\x76\x79\x7c\x7f\x82\x85"
19653 			"\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
19654 			"\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
19655 			"\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
19656 			"\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
19657 			"\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
19658 			"\x00\x05\x0a\x0f\x14\x19\x1e\x23"
19659 			"\x28\x2d\x32\x37\x3c\x41\x46\x4b"
19660 			"\x50\x55\x5a\x5f\x64\x69\x6e\x73"
19661 			"\x78\x7d\x82\x87\x8c\x91\x96\x9b"
19662 			"\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
19663 			"\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
19664 			"\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
19665 			"\x18\x1d\x22\x27\x2c\x31\x36\x3b"
19666 			"\x40\x45\x4a\x4f\x54\x59\x5e\x63"
19667 			"\x68\x6d\x72\x77\x7c\x81\x86\x8b"
19668 			"\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
19669 			"\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
19670 			"\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
19671 			"\x08\x0d\x12\x17\x1c\x21\x26\x2b"
19672 			"\x30\x35\x3a\x3f\x44\x49\x4e\x53"
19673 			"\x58\x5d\x62\x67\x6c\x71\x76\x7b"
19674 			"\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
19675 			"\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
19676 			"\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
19677 			"\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
19678 			"\x20\x25\x2a\x2f\x34\x39\x3e\x43"
19679 			"\x48\x4d\x52\x57\x5c\x61\x66\x6b"
19680 			"\x70\x75\x7a\x7f\x84\x89\x8e\x93"
19681 			"\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
19682 			"\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
19683 			"\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
19684 			"\x10\x15\x1a\x1f\x24\x29\x2e\x33"
19685 			"\x38\x3d\x42\x47\x4c\x51\x56\x5b"
19686 			"\x60\x65\x6a\x6f\x74\x79\x7e\x83"
19687 			"\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
19688 			"\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
19689 			"\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
19690 			"\x00\x07\x0e\x15\x1c\x23\x2a\x31"
19691 			"\x38\x3f\x46\x4d\x54\x5b\x62\x69"
19692 			"\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
19693 			"\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
19694 			"\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
19695 			"\x18\x1f\x26\x2d\x34\x3b\x42\x49"
19696 			"\x50\x57\x5e\x65\x6c\x73\x7a\x81"
19697 			"\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
19698 			"\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
19699 			"\xf8\xff\x06\x0d\x14\x1b\x22\x29"
19700 			"\x30\x37\x3e\x45\x4c\x53\x5a\x61"
19701 			"\x68\x6f\x76\x7d\x84\x8b\x92\x99"
19702 			"\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
19703 			"\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
19704 			"\x10\x17\x1e\x25\x2c\x33\x3a\x41"
19705 			"\x48\x4f\x56\x5d\x64\x6b\x72\x79"
19706 			"\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
19707 			"\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
19708 			"\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
19709 			"\x28\x2f\x36\x3d\x44\x4b\x52\x59"
19710 			"\x60\x67\x6e\x75\x7c\x83\x8a\x91"
19711 			"\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
19712 			"\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
19713 			"\x08\x0f\x16\x1d\x24\x2b\x32\x39"
19714 			"\x40\x47\x4e\x55\x5c\x63\x6a\x71"
19715 			"\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
19716 			"\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
19717 			"\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
19718 			"\x20\x27\x2e\x35\x3c\x43\x4a\x51"
19719 			"\x58\x5f\x66\x6d\x74\x7b\x82\x89"
19720 			"\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
19721 			"\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
19722 			"\x00\x09\x12\x1b\x24\x2d\x36\x3f"
19723 			"\x48\x51\x5a\x63\x6c\x75\x7e\x87"
19724 			"\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
19725 			"\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
19726 			"\x20\x29\x32\x3b\x44\x4d\x56\x5f"
19727 			"\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
19728 			"\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
19729 			"\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
19730 			"\x40\x49\x52\x5b\x64\x6d\x76\x7f"
19731 			"\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
19732 			"\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
19733 			"\x18\x21\x2a\x33\x3c\x45\x4e\x57"
19734 			"\x60\x69\x72\x7b\x84\x8d\x96\x9f"
19735 			"\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
19736 			"\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
19737 			"\x38\x41\x4a\x53\x5c\x65\x6e\x77"
19738 			"\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
19739 			"\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
19740 			"\x10\x19\x22\x2b\x34\x3d\x46\x4f"
19741 			"\x58\x61\x6a\x73\x7c\x85\x8e\x97"
19742 			"\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
19743 			"\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
19744 			"\x30\x39\x42\x4b\x54\x5d\x66\x6f"
19745 			"\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
19746 			"\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
19747 			"\x08\x11\x1a\x23\x2c\x35\x3e\x47"
19748 			"\x50\x59\x62\x6b\x74\x7d\x86\x8f"
19749 			"\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
19750 			"\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
19751 			"\x28\x31\x3a\x43\x4c\x55\x5e\x67"
19752 			"\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
19753 			"\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
19754 			"\x00\x0b\x16\x21\x2c\x37\x42\x4d"
19755 			"\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
19756 			"\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
19757 			"\x08\x13\x1e\x29\x34\x3f\x4a\x55"
19758 			"\x60\x6b\x76\x81\x8c\x97\xa2\xad"
19759 			"\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
19760 			"\x10\x1b\x26\x31\x3c\x47\x52\x5d"
19761 			"\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
19762 			"\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
19763 			"\x18\x23\x2e\x39\x44\x4f\x5a\x65"
19764 			"\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
19765 			"\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
19766 			"\x20\x2b\x36\x41\x4c\x57\x62\x6d"
19767 			"\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
19768 			"\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
19769 			"\x28\x33\x3e\x49\x54\x5f\x6a\x75"
19770 			"\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
19771 			"\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
19772 			"\x30\x3b\x46\x51\x5c\x67\x72\x7d"
19773 			"\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
19774 			"\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
19775 			"\x38\x43\x4e\x59\x64\x6f\x7a\x85"
19776 			"\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
19777 			"\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
19778 			"\x40\x4b\x56\x61\x6c\x77\x82\x8d"
19779 			"\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
19780 			"\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
19781 			"\x48\x53\x5e\x69\x74\x7f\x8a\x95"
19782 			"\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
19783 			"\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
19784 			"\x50\x5b\x66\x71\x7c\x87\x92\x9d"
19785 			"\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
19786 			"\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
19787 			"\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
19788 			"\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
19789 			"\x38\x45\x52\x5f\x6c\x79\x86\x93"
19790 			"\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
19791 			"\x08\x15\x22\x2f\x3c\x49\x56\x63"
19792 			"\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
19793 			"\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
19794 			"\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
19795 			"\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
19796 			"\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
19797 			"\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
19798 			"\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
19799 			"\x48\x55\x62\x6f\x7c\x89\x96\xa3"
19800 			"\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
19801 			"\x18\x25\x32\x3f\x4c\x59\x66\x73"
19802 			"\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
19803 			"\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
19804 			"\x50\x5d\x6a\x77\x84\x91\x9e\xab"
19805 			"\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
19806 			"\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
19807 			"\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
19808 			"\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
19809 			"\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
19810 			"\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
19811 			"\x28\x35\x42\x4f\x5c\x69\x76\x83"
19812 			"\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
19813 			"\xf8\x05\x12\x1f\x2c\x39\x46\x53"
19814 			"\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
19815 			"\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
19816 			"\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
19817 			"\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
19818 			"\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
19819 			"\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
19820 			"\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
19821 			"\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
19822 			"\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
19823 			"\x58\x67\x76\x85\x94\xa3\xb2\xc1"
19824 			"\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
19825 			"\x48\x57\x66\x75\x84\x93\xa2\xb1"
19826 			"\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
19827 			"\x38\x47\x56\x65\x74\x83\x92\xa1"
19828 			"\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
19829 			"\x28\x37\x46\x55\x64\x73\x82\x91"
19830 			"\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
19831 			"\x18\x27\x36\x45\x54\x63\x72\x81"
19832 			"\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
19833 			"\x08\x17\x26\x35\x44\x53\x62\x71"
19834 			"\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
19835 			"\xf8\x07\x16\x25\x34\x43\x52\x61"
19836 			"\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
19837 			"\xe8\xf7\x06\x15\x24\x33\x42\x51"
19838 			"\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
19839 			"\xd8\xe7\xf6\x05\x14\x23\x32\x41"
19840 			"\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
19841 			"\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
19842 			"\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
19843 			"\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
19844 			"\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
19845 			"\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
19846 			"\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
19847 			"\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
19848 			"\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
19849 			"\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
19850 			"\x00\x11\x22\x33\x44\x55\x66\x77"
19851 			"\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
19852 			"\x10\x21\x32\x43\x54\x65\x76\x87"
19853 			"\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
19854 			"\x20\x31\x42\x53\x64\x75\x86\x97"
19855 			"\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
19856 			"\x30\x41\x52\x63\x74\x85\x96\xa7"
19857 			"\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
19858 			"\x40\x51\x62\x73\x84\x95\xa6\xb7"
19859 			"\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
19860 			"\x50\x61\x72\x83\x94\xa5\xb6\xc7"
19861 			"\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
19862 			"\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
19863 			"\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
19864 			"\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
19865 			"\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
19866 			"\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
19867 			"\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
19868 			"\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
19869 			"\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
19870 			"\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
19871 			"\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
19872 			"\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
19873 			"\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
19874 			"\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
19875 			"\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
19876 			"\xd0\xe1\xf2\x03\x14\x25\x36\x47"
19877 			"\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
19878 			"\xe0\xf1\x02\x13\x24\x35\x46\x57"
19879 			"\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
19880 			"\xf0\x01\x12\x23\x34\x45\x56\x67"
19881 			"\x78\x89\x9a\xab\xbc\xcd\xde\xef"
19882 			"\x00\x13\x26\x39\x4c\x5f\x72\x85"
19883 			"\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
19884 			"\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
19885 			"\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
19886 			"\x60\x73\x86\x99\xac\xbf\xd2\xe5"
19887 			"\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
19888 			"\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
19889 			"\x28\x3b\x4e\x61\x74\x87\x9a\xad"
19890 			"\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
19891 			"\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
19892 			"\xf0\x03\x16\x29\x3c\x4f\x62\x75"
19893 			"\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
19894 			"\x20\x33\x46\x59\x6c\x7f\x92\xa5"
19895 			"\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
19896 			"\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
19897 			"\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
19898 			"\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
19899 			"\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
19900 			"\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
19901 			"\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
19902 			"\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
19903 			"\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
19904 			"\x10\x23\x36\x49\x5c\x6f\x82\x95"
19905 			"\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
19906 			"\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
19907 			"\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
19908 			"\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
19909 			"\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
19910 			"\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
19911 			"\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
19912 			"\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
19913 			"\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
19914 			"\x00\x15\x2a\x3f\x54\x69\x7e\x93"
19915 			"\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
19916 			"\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
19917 			"\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
19918 			"\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
19919 			"\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
19920 			"\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
19921 			"\x98\xad\xc2\xd7\xec\x01\x16\x2b"
19922 			"\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
19923 			"\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
19924 			"\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
19925 			"\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
19926 			"\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
19927 			"\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
19928 			"\x30\x45\x5a\x6f\x84\x99\xae\xc3"
19929 			"\xd8\xed\x02\x17\x2c\x41\x56\x6b"
19930 			"\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
19931 			"\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
19932 			"\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
19933 			"\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
19934 			"\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
19935 			"\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
19936 			"\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
19937 			"\x18\x2d\x42\x57\x6c\x81\x96\xab"
19938 			"\xc0\xd5\xea\xff\x14\x29\x3e\x53"
19939 			"\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
19940 			"\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
19941 			"\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
19942 			"\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
19943 			"\x08\x1d\x32\x47\x5c\x71\x86\x9b"
19944 			"\xb0\xc5\xda\xef\x04\x19\x2e\x43"
19945 			"\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
19946 			"\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
19947 			"\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
19948 			"\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
19949 			"\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
19950 			"\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
19951 			"\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
19952 			"\x50\x67\x7e\x95\xac\xc3\xda\xf1"
19953 			"\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
19954 			"\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
19955 			"\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
19956 			"\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
19957 			"\xe8\xff\x16\x2d\x44\x5b\x72\x89"
19958 			"\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
19959 			"\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
19960 			"\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
19961 			"\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
19962 			"\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
19963 			"\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
19964 			"\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
19965 			"\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
19966 			"\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
19967 			"\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
19968 			"\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
19969 			"\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
19970 			"\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
19971 			"\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
19972 			"\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
19973 			"\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
19974 			"\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
19975 			"\xd8\xef\x06\x1d\x34\x4b\x62\x79"
19976 			"\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
19977 			"\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
19978 			"\x00\x19\x32\x4b\x64\x7d\x96\xaf"
19979 			"\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
19980 			"\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
19981 			"\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
19982 			"\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
19983 			"\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
19984 			"\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
19985 			"\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
19986 			"\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
19987 			"\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
19988 			"\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
19989 			"\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
19990 			"\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
19991 			"\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
19992 			"\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
19993 			"\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
19994 			"\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
19995 			"\x48\x61\x7a\x93\xac\xc5\xde\xf7"
19996 			"\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
19997 			"\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
19998 			"\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
19999 			"\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
20000 			"\x30\x49\x62\x7b\x94\xad\xc6\xdf"
20001 			"\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
20002 			"\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
20003 			"\x88\xa1\xba\xd3\xec\x05\x1e\x37"
20004 			"\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
20005 			"\x18\x31\x4a\x63\x7c\x95\xae\xc7"
20006 			"\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
20007 			"\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
20008 			"\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
20009 			"\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
20010 			"\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
20011 			"\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
20012 			"\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
20013 			"\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
20014 			"\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
20015 			"\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
20016 			"\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
20017 			"\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
20018 			"\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
20019 			"\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
20020 			"\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
20021 			"\x48\x63\x7e\x99\xb4\xcf\xea\x05"
20022 			"\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
20023 			"\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
20024 			"\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
20025 			"\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
20026 			"\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
20027 			"\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
20028 			"\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
20029 			"\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
20030 			"\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
20031 			"\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
20032 			"\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
20033 			"\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
20034 			"\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
20035 			"\x18\x33\x4e\x69\x84\x9f\xba\xd5"
20036 			"\xf0\x0b\x26\x41\x5c\x77\x92\xad"
20037 			"\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
20038 			"\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
20039 			"\x78\x93\xae\xc9\xe4\xff\x1a\x35"
20040 			"\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
20041 			"\x28\x43\x5e\x79\x94\xaf\xca\xe5"
20042 			"\x00\x1d\x3a\x57\x74\x91\xae\xcb"
20043 			"\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
20044 			"\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
20045 			"\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
20046 			"\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
20047 			"\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
20048 			"\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
20049 			"\x58\x75\x92\xaf\xcc\xe9\x06\x23"
20050 			"\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
20051 			"\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
20052 			"\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
20053 			"\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
20054 			"\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
20055 			"\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
20056 			"\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
20057 			"\x98\xb5\xd2\xef\x0c\x29\x46\x63"
20058 			"\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
20059 			"\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
20060 			"\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
20061 			"\x38\x55\x72\x8f\xac\xc9\xe6\x03"
20062 			"\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
20063 			"\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
20064 			"\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
20065 			"\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
20066 			"\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
20067 			"\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
20068 			"\x90\xad\xca\xe7\x04\x21\x3e\x5b"
20069 			"\x78\x95\xb2\xcf\xec\x09\x26\x43"
20070 			"\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
20071 			"\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
20072 			"\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
20073 			"\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
20074 			"\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
20075 			"\xf8\x17\x36\x55\x74\x93\xb2\xd1"
20076 			"\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
20077 			"\xe8\x07\x26\x45\x64\x83\xa2\xc1"
20078 			"\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
20079 			"\xd8\xf7\x16\x35\x54\x73\x92\xb1"
20080 			"\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
20081 			"\xc8\xe7\x06\x25\x44\x63\x82\xa1"
20082 			"\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
20083 			"\xb8\xd7\xf6\x15\x34\x53\x72\x91"
20084 			"\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
20085 			"\xa8\xc7\xe6\x05\x24\x43\x62\x81"
20086 			"\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
20087 			"\x98\xb7\xd6\xf5\x14\x33\x52\x71"
20088 			"\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
20089 			"\x88\xa7\xc6\xe5\x04\x23\x42\x61"
20090 			"\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
20091 			"\x78\x97\xb6\xd5\xf4\x13\x32\x51"
20092 			"\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
20093 			"\x68\x87\xa6\xc5\xe4\x03\x22\x41"
20094 			"\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
20095 			"\x58\x77\x96\xb5\xd4\xf3\x12\x31"
20096 			"\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
20097 			"\x48\x67\x86\xa5\xc4\xe3\x02\x21"
20098 			"\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
20099 			"\x38\x57\x76\x95\xb4\xd3\xf2\x11"
20100 			"\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
20101 			"\x28\x47\x66\x85\xa4\xc3\xe2\x01"
20102 			"\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
20103 			"\x18\x37\x56\x75\x94\xb3\xd2\xf1"
20104 			"\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
20105 			"\x08\x27\x46\x65\x84\xa3\xc2\xe1"
20106 			"\x00\x21\x42\x63",
20107 		.ilen = 4100,
20108 		.result =
20109 			"\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
20110 			"\xae\xff\x91\x3a\x44\xcf\x38\x32"
20111 			"\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
20112 			"\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
20113 			"\xf2\x62\x74\x70\x0c\xa4\x46\x08"
20114 			"\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
20115 			"\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
20116 			"\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
20117 			"\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
20118 			"\x18\xff\x75\x6d\x06\x2d\x00\xab"
20119 			"\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
20120 			"\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
20121 			"\x3d\x74\x54\xfa\x44\xcd\x23\x26"
20122 			"\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
20123 			"\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
20124 			"\x61\x00\x1c\x4f\xff\x59\xc4\x22"
20125 			"\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
20126 			"\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
20127 			"\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
20128 			"\x84\xff\x42\x60\xdc\x3a\x18\xa5"
20129 			"\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
20130 			"\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
20131 			"\x8f\xd3\x76\x96\xad\x49\x6d\x38"
20132 			"\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
20133 			"\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
20134 			"\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
20135 			"\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
20136 			"\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
20137 			"\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
20138 			"\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
20139 			"\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
20140 			"\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
20141 			"\x78\x6b\x01\xc9\xc7\x83\xba\x21"
20142 			"\x6a\x25\x15\x33\x4e\x45\x08\xec"
20143 			"\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
20144 			"\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
20145 			"\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
20146 			"\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
20147 			"\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
20148 			"\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
20149 			"\xc8\x53\x07\xaf\x80\x84\xec\xfd"
20150 			"\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
20151 			"\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
20152 			"\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
20153 			"\x06\x51\x48\x4e\xf6\x59\x87\xd2"
20154 			"\x04\x02\xef\xd3\x44\xde\x76\x31"
20155 			"\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
20156 			"\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
20157 			"\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
20158 			"\x65\x83\xd0\x3b\xe3\x30\xea\x94"
20159 			"\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
20160 			"\xb4\x01\xab\x36\x2c\x77\x13\xaf"
20161 			"\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
20162 			"\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
20163 			"\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
20164 			"\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
20165 			"\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
20166 			"\x93\x97\xc6\x48\x45\x1d\x9f\x83"
20167 			"\xdf\x4b\x40\x3e\x42\x25\x87\x80"
20168 			"\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
20169 			"\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
20170 			"\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
20171 			"\x32\x03\xed\xf0\x50\x1c\x56\x39"
20172 			"\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
20173 			"\x53\xfc\x2a\x38\x23\x15\x75\xcd"
20174 			"\x45\xe5\x5a\x82\x55\xba\x21\xfa"
20175 			"\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
20176 			"\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
20177 			"\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
20178 			"\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
20179 			"\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
20180 			"\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
20181 			"\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
20182 			"\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
20183 			"\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
20184 			"\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
20185 			"\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
20186 			"\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
20187 			"\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
20188 			"\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
20189 			"\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
20190 			"\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
20191 			"\x69\x3a\x29\x23\xac\x86\x32\xa5"
20192 			"\x48\x9c\x9e\xf3\x47\x77\x81\x70"
20193 			"\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
20194 			"\x59\x6a\xd3\x50\x59\x43\x59\xde"
20195 			"\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
20196 			"\x18\x34\x0d\x1a\x63\x33\xed\x10"
20197 			"\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
20198 			"\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
20199 			"\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
20200 			"\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
20201 			"\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
20202 			"\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
20203 			"\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
20204 			"\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
20205 			"\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
20206 			"\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
20207 			"\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
20208 			"\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
20209 			"\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
20210 			"\xe8\x99\x57\x8c\x11\xed\x66\xd9"
20211 			"\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
20212 			"\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
20213 			"\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
20214 			"\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
20215 			"\x64\x76\x38\x49\x4d\xfe\x30\x6d"
20216 			"\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
20217 			"\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
20218 			"\x28\xa2\x82\x1f\x61\x69\xad\xc1"
20219 			"\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
20220 			"\x51\xb5\x17\x7f\x12\x69\x8c\x24"
20221 			"\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
20222 			"\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
20223 			"\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
20224 			"\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
20225 			"\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
20226 			"\x4d\x29\x77\x53\x35\x6a\x00\x8d"
20227 			"\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
20228 			"\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
20229 			"\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
20230 			"\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
20231 			"\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
20232 			"\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
20233 			"\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
20234 			"\x26\x39\x83\x94\xef\x27\xd8\x53"
20235 			"\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
20236 			"\x43\x7c\x95\x0a\x53\xef\x66\xda"
20237 			"\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
20238 			"\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
20239 			"\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
20240 			"\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
20241 			"\x88\xee\x73\xcf\x66\x2f\x52\x56"
20242 			"\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
20243 			"\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
20244 			"\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
20245 			"\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
20246 			"\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
20247 			"\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
20248 			"\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
20249 			"\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
20250 			"\xba\x61\x34\x38\x7c\xda\x48\x3e"
20251 			"\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
20252 			"\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
20253 			"\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
20254 			"\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
20255 			"\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
20256 			"\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
20257 			"\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
20258 			"\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
20259 			"\x35\x12\xe3\x36\x28\x27\x36\x58"
20260 			"\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
20261 			"\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
20262 			"\x2b\x9f\x96\x00\x86\x60\xf0\x21"
20263 			"\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
20264 			"\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
20265 			"\x9d\x62\x79\x58\x52\xe6\x65\xb7"
20266 			"\xab\x55\x67\x9c\x89\x7c\x03\xb0"
20267 			"\x73\x59\xc5\x81\xf5\x18\x17\x5c"
20268 			"\x89\xf3\x78\x35\x44\x62\x78\x72"
20269 			"\xd0\x96\xeb\x31\xe7\x87\x77\x14"
20270 			"\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
20271 			"\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
20272 			"\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
20273 			"\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
20274 			"\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
20275 			"\xfb\x79\x2e\x04\x2d\x50\x28\x83"
20276 			"\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
20277 			"\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
20278 			"\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
20279 			"\xd2\x49\x77\x81\x6d\x90\x70\xae"
20280 			"\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
20281 			"\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
20282 			"\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
20283 			"\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
20284 			"\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
20285 			"\x45\x42\x27\x75\x50\xe5\xee\xb8"
20286 			"\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
20287 			"\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
20288 			"\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
20289 			"\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
20290 			"\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
20291 			"\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
20292 			"\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
20293 			"\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
20294 			"\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
20295 			"\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
20296 			"\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
20297 			"\xa9\x21\x2b\x92\x94\x87\x62\x57"
20298 			"\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
20299 			"\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
20300 			"\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
20301 			"\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
20302 			"\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
20303 			"\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
20304 			"\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
20305 			"\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
20306 			"\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
20307 			"\x69\x34\x78\x61\x24\x21\x9c\x8a"
20308 			"\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
20309 			"\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
20310 			"\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
20311 			"\x8a\x59\x94\x3c\xcf\x36\x27\x82"
20312 			"\xc2\x45\xee\x58\xcd\x88\xb4\xec"
20313 			"\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
20314 			"\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
20315 			"\xb1\x95\x28\x86\x20\xe9\x17\x49"
20316 			"\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
20317 			"\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
20318 			"\xdb\x7c\x73\x10\xb9\xba\x89\x76"
20319 			"\x54\xae\x7d\x71\xb3\x93\xf6\x32"
20320 			"\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
20321 			"\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
20322 			"\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
20323 			"\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
20324 			"\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
20325 			"\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
20326 			"\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
20327 			"\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
20328 			"\x79\x00\xa8\x6c\x29\xd9\x18\x24"
20329 			"\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
20330 			"\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
20331 			"\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
20332 			"\x26\x2c\x39\x52\x89\x98\xe7\x2c"
20333 			"\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
20334 			"\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
20335 			"\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
20336 			"\x32\x4d\xed\xab\xfa\x98\x14\x4e"
20337 			"\xc3\x15\x45\x53\x61\xc4\x93\xbd"
20338 			"\x90\xf4\x99\x95\x4c\xe6\x76\x92"
20339 			"\x29\x90\x46\x30\x92\x69\x7d\x13"
20340 			"\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
20341 			"\x63\x40\x36\x5f\x09\xe2\x78\xf8"
20342 			"\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
20343 			"\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
20344 			"\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
20345 			"\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
20346 			"\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
20347 			"\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
20348 			"\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
20349 			"\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
20350 			"\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
20351 			"\x05\xc4\xa6\x96\xec\x05\x98\x4f"
20352 			"\x96\x67\x57\x1f\x20\x86\x1b\x2d"
20353 			"\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
20354 			"\x88\x26\x2c\x67\x02\x4b\x52\xd0"
20355 			"\x83\x7a\x43\x1f\xc0\x71\x15\x25"
20356 			"\x77\x65\x08\x60\x11\x76\x4c\x8d"
20357 			"\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
20358 			"\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
20359 			"\x03\xd1\x24\x95\xec\x6d\xab\x38"
20360 			"\x72\xce\xe2\x8b\x33\xd7\x51\x09"
20361 			"\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
20362 			"\x84\xdc\x73\x73\x2d\x1b\x11\x98"
20363 			"\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
20364 			"\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
20365 			"\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
20366 			"\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
20367 			"\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
20368 			"\x62\x8f\x7a\x73\x32\xab\xc8\x18"
20369 			"\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
20370 			"\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
20371 			"\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
20372 			"\xde\x39\xa4\x01\x72\x63\xf3\xd1"
20373 			"\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
20374 			"\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
20375 			"\x16\xf7\xcd\x92\x9a\x99\x30\x14"
20376 			"\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
20377 			"\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
20378 			"\xe5\x79\x81\x73\xcd\x43\x59\x68"
20379 			"\x73\x02\x3b\x78\x21\x72\x43\x00"
20380 			"\x49\x17\xf7\x00\xaf\x68\x24\x53"
20381 			"\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
20382 			"\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
20383 			"\x11\x94\x13\x69\x51\x09\x28\xde"
20384 			"\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
20385 			"\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
20386 			"\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
20387 			"\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
20388 			"\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
20389 			"\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
20390 			"\x62\x03\x43\xf1\x87\xb4\xb0\x85"
20391 			"\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
20392 			"\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
20393 			"\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
20394 			"\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
20395 			"\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
20396 			"\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
20397 			"\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
20398 			"\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
20399 			"\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
20400 			"\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
20401 			"\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
20402 			"\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
20403 			"\x69\xdc\xab\x24\x57\x60\x47\xc1"
20404 			"\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
20405 			"\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
20406 			"\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
20407 			"\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
20408 			"\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
20409 			"\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
20410 			"\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
20411 			"\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
20412 			"\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
20413 			"\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
20414 			"\x63\x19\x3d\xd5\xec\x1b\x77\x69"
20415 			"\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
20416 			"\x85\x62\x82\x70\x18\xe2\x9a\x78"
20417 			"\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
20418 			"\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
20419 			"\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
20420 			"\x35\xf3\x61\x06\x72\x84\xc4\x32"
20421 			"\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
20422 			"\x04\xc2\xde\x57\x64\x60\x8d\xcf"
20423 			"\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
20424 			"\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
20425 			"\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
20426 			"\xb3\x71\xa0\xde\xca\x96\xf1\x78"
20427 			"\x49\xa2\x99\x81\x80\x5c\x01\xf5"
20428 			"\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
20429 			"\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
20430 			"\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
20431 			"\x4f\x73\x38\x09\x75\x64\x48\xe0"
20432 			"\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
20433 			"\xfe\x16\x26\x62\x49\x74\xf4\xb0"
20434 			"\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
20435 			"\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
20436 			"\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
20437 			"\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
20438 			"\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
20439 			"\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
20440 			"\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
20441 			"\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
20442 			"\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
20443 			"\xef\xa0\x54\xe4\x5e\x16\x53\x81"
20444 			"\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
20445 			"\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
20446 			"\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
20447 			"\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
20448 			"\x53\x5d\x86\xd6\xde\x65\xca\xe3"
20449 			"\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
20450 			"\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
20451 			"\x37\x7a\x93\x7a\x50\x11\x9f\x96"
20452 			"\x86\x25\xfd\xac\xdc\xbe\x18\x93"
20453 			"\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
20454 			"\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
20455 			"\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
20456 			"\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
20457 			"\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
20458 			"\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
20459 			"\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
20460 			"\xce\x4d\x5f\x18\x60\xce\x87\x22"
20461 			"\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
20462 			"\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
20463 			"\x32\xd8\xaf\x1e\x07\x77\x51\x96"
20464 			"\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
20465 			"\xea\x17\x0b\x10\xd2\x3f\x28\x25"
20466 			"\x4f\x05\x77\x02\x14\x69\xf0\x2c"
20467 			"\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
20468 			"\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
20469 			"\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
20470 			"\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
20471 			"\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
20472 			"\x64\xc0\x64\xda\xb1\xae\xdd\x60"
20473 			"\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
20474 			"\x92\x61\xd0\x48\x81\xed\x5e\x1d"
20475 			"\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
20476 			"\x7f\x83\x73\xb6\x70\x18\x65\x3e"
20477 			"\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
20478 			"\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
20479 			"\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
20480 			"\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
20481 			"\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
20482 			"\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
20483 			"\xa7\x22\xec\xe2\x7e\x29\x09\x53"
20484 			"\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
20485 			"\xce\x54\xf9\x18\x58\xb5\xff\x44"
20486 			"\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
20487 			"\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
20488 			"\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
20489 			"\xff\xfd\xb0\x21\x6e\x57\x05\x75"
20490 			"\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
20491 			"\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
20492 			"\x80\x8c\xc8\x78\x40\x24\x4b\x89"
20493 			"\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
20494 			"\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
20495 			"\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
20496 			"\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
20497 			"\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
20498 			"\x0c\xd6\x04\x14\xde\x51\x74\x75"
20499 			"\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
20500 			"\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
20501 			"\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
20502 			"\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
20503 			"\x75\x46\x65\x4e\x07\x34\x37\xa3"
20504 			"\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
20505 			"\x69\x24\x0e\x38\x67\x43\x8c\xde"
20506 			"\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
20507 			"\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
20508 			"\x64\xb1\xdb\xee\x00\x50\x77\xe1"
20509 			"\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
20510 			"\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
20511 			"\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
20512 			"\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
20513 			"\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
20514 			"\x91\x7d\x62\x64\x96\x72\xde\xfc"
20515 			"\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
20516 			"\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
20517 			"\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
20518 			"\x98\x81\x84\x4f\x15\x5c\x76\xe7"
20519 			"\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
20520 			"\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
20521 			"\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
20522 			"\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
20523 			"\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
20524 			"\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
20525 			"\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
20526 			"\xb1\xb2\x52\x94\x75\x2c\x29\x59"
20527 			"\x06\xc2\x25\xe8\x71\x65\x4e\xed"
20528 			"\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
20529 			"\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
20530 			"\xe0\x50\x40\x96\x35\x63\xe4\x0b"
20531 			"\x76\xbd\xa4\x65\x00\x1b\x57\x88"
20532 			"\xae\xed\x39\x88\x42\x11\x3c\xed"
20533 			"\x85\x67\x7d\xb9\x68\x82\xe9\x43"
20534 			"\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
20535 			"\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
20536 			"\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
20537 			"\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
20538 			"\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
20539 			"\xce\x20\x56\x32\xc6\xc5\x99\x1f"
20540 			"\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
20541 			"\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
20542 			"\x66\xf8\x3d\x18\x74\x70\x66\x7a"
20543 			"\x34\x17\xde\xba\x47\xf1\x06\x18"
20544 			"\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
20545 			"\xe0\x3b\x78\x62\x66\xc9\x10\xea"
20546 			"\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
20547 			"\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
20548 			"\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
20549 			"\x63\x4f\x20\x0c\x07\x17\x33\x5e"
20550 			"\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
20551 			"\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
20552 			"\x58\xef\x15\xa9\x83\xd9\x46\xb1"
20553 			"\x42\xaa\xf5\x02\x6c\xce\x92\x06"
20554 			"\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
20555 			"\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
20556 			"\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
20557 			"\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
20558 			"\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
20559 			"\xb6\x67\xc7\x77\xed\x23\xef\x4c"
20560 			"\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
20561 			"\x34\x37\x08\xab\xd9\x1f\x09\xb1"
20562 			"\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
20563 			"\x2c\x56\x39\x79\x0f\x69\x44\x75"
20564 			"\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
20565 			"\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
20566 			"\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
20567 			"\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
20568 			"\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
20569 			"\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
20570 			"\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
20571 			"\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
20572 			"\x63\x9b\xce\x61\x24\x79\xc0\x70"
20573 			"\x52\xd0\xb6\xd4\x28\x95\x24\x87"
20574 			"\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
20575 			"\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
20576 			"\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
20577 			"\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
20578 			"\x74\x56\x58\x40\x02\x37\x52\x2c"
20579 			"\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
20580 			"\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
20581 			"\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
20582 			"\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
20583 			"\x24\x90\xec\x58\xd2\x09\xc7\x2d"
20584 			"\xed\x38\x80\x36\x72\x43\x27\x49"
20585 			"\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
20586 			"\x7d\xb6\x82\x37\x86\x92\x86\x3e"
20587 			"\x08\xb2\x28\x5a\x55\x44\x24\x7d"
20588 			"\x40\x48\x8a\xb6\x89\x58\x08\xa0"
20589 			"\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
20590 			"\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
20591 			"\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
20592 			"\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
20593 			"\x14\x32\x45\x05\xe0\xdb\x9f\x75"
20594 			"\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
20595 			"\x12\xee\x30\xfe\xd8\x30\xef\x34"
20596 			"\x50\xab\x46\x30\x98\x2f\xb7\xc0"
20597 			"\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
20598 			"\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
20599 			"\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
20600 			"\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
20601 			"\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
20602 			"\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
20603 			"\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
20604 			"\x02\x9d\x27\x1f\xef\x85\x05\x8d"
20605 			"\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
20606 			"\xa1\x75\xa0\xd8\x06\x47\x14\xef"
20607 			"\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
20608 			"\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
20609 			"\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
20610 			"\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
20611 			"\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
20612 			"\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
20613 			"\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
20614 			"\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
20615 			"\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
20616 			"\x44\x12\xfb\x73\x77\xd4\x13\x39"
20617 			"\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
20618 			"\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
20619 			"\x41\x01\x18\x5d\x5d\x07\x97\xa6"
20620 			"\x4b\xef\x31\x18\xea\xac\xb1\x84"
20621 			"\x21\xed\xda\x86",
20622 		.rlen = 4100,
20623 		.np	= 2,
20624 		.tap	= { 4064, 36 },
20625 	},
20626 };
20627 
20628 static const struct cipher_testvec aes_ctr_rfc3686_dec_tv_template[] = {
20629 	{ /* From RFC 3686 */
20630 		.key	= "\xae\x68\x52\xf8\x12\x10\x67\xcc"
20631 			  "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
20632 			  "\x00\x00\x00\x30",
20633 		.klen	= 20,
20634 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
20635 		.input	= "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
20636 			  "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
20637 		.ilen	= 16,
20638 		.result	= "Single block msg",
20639 		.rlen	= 16,
20640 	}, {
20641 		.key	= "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
20642 			  "\x43\xd6\xce\x1f\x32\x53\x91\x63"
20643 			  "\x00\x6c\xb6\xdb",
20644 		.klen	= 20,
20645 		.iv	= "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
20646 		.input	= "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
20647 			  "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
20648 			  "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
20649 			  "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
20650 		.ilen	= 32,
20651 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
20652 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20653 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
20654 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20655 		.rlen	= 32,
20656 	}, {
20657 		.key	= "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
20658 			  "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
20659 			  "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
20660 			  "\x00\x00\x00\x48",
20661 		.klen	= 28,
20662 		.iv	= "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
20663 		.input	= "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
20664 			  "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
20665 		.ilen	= 16,
20666 		.result	= "Single block msg",
20667 		.rlen	= 16,
20668 	}, {
20669 		.key	= "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
20670 			  "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
20671 			  "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
20672 			  "\x00\x96\xb0\x3b",
20673 		.klen	= 28,
20674 		.iv	= "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
20675 		.input	= "\x45\x32\x43\xfc\x60\x9b\x23\x32"
20676 			  "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
20677 			  "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
20678 			  "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
20679 		.ilen	= 32,
20680 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
20681 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20682 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
20683 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20684 		.rlen	= 32,
20685 	}, {
20686 		.key	= "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
20687 			  "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
20688 			  "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
20689 			  "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
20690 			  "\x00\x00\x00\x60",
20691 		.klen	= 36,
20692 		.iv	= "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
20693 		.input	= "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
20694 			  "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
20695 		.ilen	= 16,
20696 		.result	= "Single block msg",
20697 		.rlen	= 16,
20698 	}, {
20699 		.key	= "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
20700 			  "\x07\x96\x36\x58\x79\xef\xf8\x86"
20701 			  "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
20702 			  "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
20703 			  "\x00\xfa\xac\x24",
20704 		.klen	= 36,
20705 		.iv	= "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
20706 		.input	= "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
20707 			  "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
20708 			  "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
20709 			  "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
20710 		.ilen	= 32,
20711 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
20712 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20713 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
20714 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20715 		.rlen	= 32,
20716 	},
20717 };
20718 
20719 static const struct cipher_testvec aes_ofb_enc_tv_template[] = {
20720 	 /* From NIST Special Publication 800-38A, Appendix F.5 */
20721 	{
20722 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
20723 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
20724 		.klen	= 16,
20725 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
20726 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
20727 		.input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
20728 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
20729 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
20730 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
20731 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
20732 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
20733 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
20734 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
20735 		.ilen	= 64,
20736 		.result = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
20737 			  "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
20738 			  "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
20739 			  "\x3c\x52\xda\xc5\x4e\xd8\x25"
20740 			  "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
20741 			  "\x44\xf7\xa8\x22\x60\xed\xcc"
20742 			  "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
20743 			  "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
20744 		.rlen	= 64,
20745 	}
20746 };
20747 
20748 static const struct cipher_testvec aes_ofb_dec_tv_template[] = {
20749 	 /* From NIST Special Publication 800-38A, Appendix F.5 */
20750 	{
20751 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
20752 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
20753 		.klen	= 16,
20754 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
20755 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
20756 		.input = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
20757 			  "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
20758 			  "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
20759 			  "\x3c\x52\xda\xc5\x4e\xd8\x25"
20760 			  "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
20761 			  "\x44\xf7\xa8\x22\x60\xed\xcc"
20762 			  "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
20763 			  "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
20764 		.ilen	= 64,
20765 		.result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
20766 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
20767 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
20768 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
20769 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
20770 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
20771 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
20772 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
20773 		.rlen	= 64,
20774 	}
20775 };
20776 
20777 static const struct aead_testvec aes_gcm_enc_tv_template[] = {
20778 	{ /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
20779 		.key    = zeroed_string,
20780 		.klen	= 16,
20781 		.result	= "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
20782 			  "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
20783 		.rlen	= 16,
20784 	}, {
20785 		.key    = zeroed_string,
20786 		.klen	= 16,
20787 		.input  = zeroed_string,
20788 		.ilen	= 16,
20789 		.result = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
20790 			  "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
20791 			  "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
20792 			  "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
20793 		.rlen	= 32,
20794 	}, {
20795 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20796 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20797 		.klen	= 16,
20798 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20799 			  "\xde\xca\xf8\x88",
20800 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20801 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20802 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20803 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20804 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20805 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20806 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20807 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20808 		.ilen	= 64,
20809 		.result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20810 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20811 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20812 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20813 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20814 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
20815 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
20816 			  "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
20817 			  "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
20818 			  "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
20819 		.rlen	= 80,
20820 	}, {
20821 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20822 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20823 		.klen	= 16,
20824 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20825 			  "\xde\xca\xf8\x88",
20826 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20827 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20828 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20829 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20830 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20831 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20832 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20833 			  "\xba\x63\x7b\x39",
20834 		.ilen	= 60,
20835 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20836 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20837 			  "\xab\xad\xda\xd2",
20838 		.alen	= 20,
20839 		.result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20840 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20841 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20842 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20843 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20844 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
20845 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
20846 			  "\x3d\x58\xe0\x91"
20847 			  "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
20848 			  "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
20849 		.rlen	= 76,
20850 	}, {
20851 		.key    = zeroed_string,
20852 		.klen	= 24,
20853 		.result	= "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
20854 			  "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
20855 		.rlen	= 16,
20856 	}, {
20857 		.key    = zeroed_string,
20858 		.klen	= 24,
20859 		.input  = zeroed_string,
20860 		.ilen	= 16,
20861 		.result = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
20862 			  "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
20863 			  "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
20864 			  "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
20865 		.rlen	= 32,
20866 	}, {
20867 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20868 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20869 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
20870 		.klen	= 24,
20871 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20872 			  "\xde\xca\xf8\x88",
20873 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20874 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20875 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20876 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20877 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20878 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20879 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20880 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20881 		.ilen	= 64,
20882 		.result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
20883 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
20884 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
20885 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
20886 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
20887 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
20888 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
20889 			  "\xcc\xda\x27\x10\xac\xad\xe2\x56"
20890 			  "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
20891 			  "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
20892 		.rlen	= 80,
20893 	}, {
20894 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20895 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20896 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
20897 		.klen	= 24,
20898 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20899 			  "\xde\xca\xf8\x88",
20900 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20901 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20902 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20903 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20904 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20905 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20906 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20907 			  "\xba\x63\x7b\x39",
20908 		.ilen	= 60,
20909 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20910 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20911 			  "\xab\xad\xda\xd2",
20912 		.alen	= 20,
20913 		.result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
20914 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
20915 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
20916 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
20917 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
20918 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
20919 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
20920 			  "\xcc\xda\x27\x10"
20921 			  "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
20922 			  "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
20923 		.rlen	= 76,
20924 		.np	= 2,
20925 		.tap	= { 32, 28 },
20926 		.anp	= 2,
20927 		.atap	= { 8, 12 }
20928 	}, {
20929 		.key    = zeroed_string,
20930 		.klen	= 32,
20931 		.result	= "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
20932 			  "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
20933 		.rlen	= 16,
20934 	}
20935 };
20936 
20937 static const struct aead_testvec aes_gcm_dec_tv_template[] = {
20938 	{ /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
20939 		.key    = zeroed_string,
20940 		.klen	= 32,
20941 		.input	= "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
20942 			  "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
20943 			  "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
20944 			  "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
20945 		.ilen	= 32,
20946 		.result  = zeroed_string,
20947 		.rlen	= 16,
20948 	}, {
20949 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20950 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20951 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20952 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20953 		.klen	= 32,
20954 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20955 			  "\xde\xca\xf8\x88",
20956 		.input	= "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
20957 			  "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
20958 			  "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
20959 			  "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
20960 			  "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
20961 			  "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
20962 			  "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
20963 			  "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
20964 			  "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
20965 			  "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
20966 		.ilen	= 80,
20967 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20968 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20969 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20970 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20971 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20972 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20973 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20974 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20975 		.rlen	= 64,
20976 	}, {
20977 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20978 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
20979 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20980 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20981 		.klen	= 32,
20982 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20983 			  "\xde\xca\xf8\x88",
20984 		.input	= "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
20985 			  "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
20986 			  "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
20987 			  "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
20988 			  "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
20989 			  "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
20990 			  "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
20991 			  "\xbc\xc9\xf6\x62"
20992 			  "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
20993 			  "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
20994 		.ilen	= 76,
20995 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20996 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20997 			  "\xab\xad\xda\xd2",
20998 		.alen	= 20,
20999 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21000 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21001 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21002 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21003 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21004 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21005 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21006 			  "\xba\x63\x7b\x39",
21007 		.rlen	= 60,
21008 		.np     = 2,
21009 		.tap    = { 48, 28 },
21010 		.anp	= 3,
21011 		.atap	= { 8, 8, 4 }
21012 	}, {
21013 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21014 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21015 		.klen	= 16,
21016 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21017 			  "\xde\xca\xf8\x88",
21018 		.input	= "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21019 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21020 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21021 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21022 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21023 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21024 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21025 			  "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
21026 			  "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
21027 			  "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
21028 		.ilen	= 80,
21029 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21030 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21031 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21032 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21033 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21034 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21035 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21036 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21037 		.rlen	= 64,
21038 	}, {
21039 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21040 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21041 		.klen	= 16,
21042 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21043 			  "\xde\xca\xf8\x88",
21044 		.input	= "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21045 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21046 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21047 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21048 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21049 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21050 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21051 			  "\x3d\x58\xe0\x91"
21052 			  "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
21053 			  "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
21054 		.ilen	= 76,
21055 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21056 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21057 			  "\xab\xad\xda\xd2",
21058 		.alen	= 20,
21059 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21060 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21061 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21062 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21063 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21064 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21065 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21066 			  "\xba\x63\x7b\x39",
21067 		.rlen	= 60,
21068 	}, {
21069 		.key    = zeroed_string,
21070 		.klen	= 24,
21071 		.input	= "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
21072 			  "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
21073 			  "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
21074 			  "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
21075 		.ilen	= 32,
21076 		.result  = zeroed_string,
21077 		.rlen	= 16,
21078 	}, {
21079 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21080 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21081 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21082 		.klen	= 24,
21083 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21084 			  "\xde\xca\xf8\x88",
21085 		.input	= "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21086 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21087 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21088 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21089 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21090 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21091 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21092 			  "\xcc\xda\x27\x10\xac\xad\xe2\x56"
21093 			  "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
21094 			  "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
21095 		.ilen	= 80,
21096 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21097 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21098 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21099 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21100 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21101 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21102 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21103 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21104 		.rlen	= 64,
21105 	}, {
21106 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21107 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21108 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21109 		.klen	= 24,
21110 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21111 			  "\xde\xca\xf8\x88",
21112 		.input	= "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21113 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21114 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21115 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21116 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21117 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21118 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21119 			  "\xcc\xda\x27\x10"
21120 			  "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
21121 			  "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
21122 		.ilen	= 76,
21123 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21124 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21125 			  "\xab\xad\xda\xd2",
21126 		.alen	= 20,
21127 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21128 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21129 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21130 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21131 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21132 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21133 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21134 			  "\xba\x63\x7b\x39",
21135 		.rlen	= 60,
21136 	}
21137 };
21138 
21139 static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
21140 	{ /* Generated using Crypto++ */
21141 		.key    = zeroed_string,
21142 		.klen	= 20,
21143 		.iv	= zeroed_string,
21144 		.input  = zeroed_string,
21145 		.ilen   = 16,
21146 		.assoc  = zeroed_string,
21147 		.alen   = 16,
21148 		.result	= "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
21149 			  "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
21150 			  "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
21151 			  "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
21152 		.rlen	= 32,
21153 	},{
21154 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21155 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21156 			  "\x00\x00\x00\x00",
21157 		.klen	= 20,
21158 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21159 		.input  = zeroed_string,
21160 		.ilen   = 16,
21161 		.assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
21162 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21163 		.alen   = 16,
21164 		.result	= "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
21165 			  "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
21166 			  "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
21167 			  "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
21168 		.rlen	= 32,
21169 
21170 	}, {
21171 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21172 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21173 			  "\x00\x00\x00\x00",
21174 		.klen	= 20,
21175 		.iv     = zeroed_string,
21176 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21177 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21178 		.ilen   = 16,
21179 		.assoc  = zeroed_string,
21180 		.alen   = 16,
21181 		.result	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21182 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21183 			  "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
21184 			  "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
21185 		.rlen	= 32,
21186 	}, {
21187 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21188 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21189 			  "\x00\x00\x00\x00",
21190 		.klen	= 20,
21191 		.iv     = zeroed_string,
21192 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21193 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21194 		.ilen   = 16,
21195 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21196 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
21197 		.alen   = 16,
21198 		.result	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21199 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21200 			  "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
21201 			  "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
21202 		.rlen	= 32,
21203 	}, {
21204 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21205 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21206 			  "\x00\x00\x00\x00",
21207 		.klen	= 20,
21208 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21209 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21210 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21211 		.ilen   = 16,
21212 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21213 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21214 		.alen   = 16,
21215 		.result	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21216 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21217 			  "\x64\x50\xF9\x32\x13\xFB\x74\x61"
21218 			  "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
21219 		.rlen	= 32,
21220 	}, {
21221 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21222 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21223 			  "\x00\x00\x00\x00",
21224 		.klen	= 20,
21225 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21226 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21227 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21228 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21229 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21230 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21231 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21232 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21233 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21234 		.ilen   = 64,
21235 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21236 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21237 		.alen   = 16,
21238 		.result	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21239 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21240 			  "\x98\x14\xA1\x42\x37\x80\xFD\x90"
21241 			  "\x68\x12\x01\xA8\x91\x89\xB9\x83"
21242 			  "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
21243 			  "\x94\x5F\x18\x12\xBA\x27\x09\x39"
21244 			  "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
21245 			  "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
21246 			  "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
21247 			  "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
21248 		.rlen	= 80,
21249 	}, {
21250 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
21251 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21252 			  "\x00\x00\x00\x00",
21253 		.klen	= 20,
21254 		.iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
21255 		.input  = "\xff\xff\xff\xff\xff\xff\xff\xff"
21256 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21257 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21258 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21259 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21260 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21261 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21262 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21263 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21264 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21265 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21266 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21267 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21268 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21269 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21270 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21271 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21272 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21273 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21274 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21275 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21276 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21277 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21278 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
21279 		.ilen   = 192,
21280 		.assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
21281 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
21282 			  "\x89\xab\xcd\xef",
21283 		.alen   = 20,
21284 		.result	= "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
21285 			  "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
21286 			  "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
21287 			  "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
21288 			  "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
21289 			  "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
21290 			  "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
21291 			  "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
21292 			  "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
21293 			  "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
21294 			  "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
21295 			  "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
21296 			  "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
21297 			  "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
21298 			  "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
21299 			  "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
21300 			  "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
21301 			  "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
21302 			  "\x7E\x13\x06\x82\x08\x17\xA4\x35"
21303 			  "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
21304 			  "\xA3\x05\x38\x95\x20\x1A\x47\x04"
21305 			  "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
21306 			  "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
21307 			  "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
21308 			  "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
21309 			  "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
21310 		.rlen	= 208,
21311 	}, { /* From draft-mcgrew-gcm-test-01 */
21312 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21313 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21314 			  "\x2E\x44\x3B\x68",
21315 		.klen	= 20,
21316 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
21317 		.input	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
21318 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
21319 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
21320 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
21321 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
21322 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
21323 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
21324 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
21325 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
21326 		.ilen	= 72,
21327 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
21328 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
21329 			  "\x3B\x24\x4C\xFE",
21330 		.alen	= 20,
21331 		.result	= "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
21332 			  "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
21333 			  "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
21334 			  "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
21335 			  "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
21336 			  "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
21337 			  "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
21338 			  "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
21339 			  "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
21340 			  "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
21341 			  "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
21342 		.rlen	= 88,
21343 	}, {
21344 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21345 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21346 			  "\xCA\xFE\xBA\xBE",
21347 		.klen	= 20,
21348 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21349 		.input	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
21350 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
21351 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
21352 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
21353 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
21354 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
21355 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
21356 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
21357 		.ilen	= 64,
21358 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21359 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21360 		.alen	= 16,
21361 		.result	= "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
21362 			  "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
21363 			  "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
21364 			  "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
21365 			  "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
21366 			  "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
21367 			  "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
21368 			  "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
21369 			  "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
21370 			  "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
21371 		.rlen	= 80,
21372 	}, {
21373 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21374 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21375 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21376 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21377 			  "\x11\x22\x33\x44",
21378 		.klen	= 36,
21379 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
21380 		.input	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
21381 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
21382 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
21383 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
21384 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
21385 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
21386 			  "\x01\x02\x02\x01",
21387 		.ilen	= 52,
21388 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
21389 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
21390 		.alen	= 16,
21391 		.result	= "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
21392 			  "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
21393 			  "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
21394 			  "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
21395 			  "\x74\x8A\x63\x79\x85\x77\x1D\x34"
21396 			  "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
21397 			  "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
21398 			  "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
21399 			  "\x15\x95\x6C\x96",
21400 		.rlen	= 68,
21401 	}, {
21402 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
21403 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
21404 			  "\x00\x00\x00\x00",
21405 		.klen	= 20,
21406 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
21407 		.input	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
21408 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
21409 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
21410 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
21411 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21412 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21413 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
21414 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
21415 		.ilen	= 64,
21416 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
21417 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
21418 		.alen	= 16,
21419 		.result	= "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
21420 			  "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
21421 			  "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
21422 			  "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
21423 			  "\x45\x64\x76\x49\x27\x19\xFF\xB6"
21424 			  "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
21425 			  "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
21426 			  "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
21427 			  "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
21428 			  "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
21429 		.rlen	= 80,
21430 	}, {
21431 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21432 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21433 			  "\x57\x69\x0E\x43",
21434 		.klen	= 20,
21435 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21436 		.input	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
21437 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
21438 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
21439 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
21440 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21441 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21442 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
21443 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
21444 		.ilen	= 64,
21445 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21446 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
21447 			  "\xA2\xFC\xA1\xA3",
21448 		.alen	= 20,
21449 		.result	= "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
21450 			  "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
21451 			  "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
21452 			  "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
21453 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21454 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21455 			  "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
21456 			  "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
21457 			  "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
21458 			  "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
21459 		.rlen	= 80,
21460 	}, {
21461 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21462 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21463 			  "\x57\x69\x0E\x43",
21464 		.klen	= 20,
21465 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21466 		.input	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
21467 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
21468 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
21469 			  "\x01\x02\x02\x01",
21470 		.ilen	= 28,
21471 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21472 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
21473 			  "\xA2\xFC\xA1\xA3",
21474 		.alen	= 20,
21475 		.result	= "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
21476 			  "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
21477 			  "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
21478 			  "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
21479 			  "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
21480 			  "\xE7\xD0\x5D\x35",
21481 		.rlen	= 44,
21482 	}, {
21483 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21484 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21485 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21486 			  "\xCA\xFE\xBA\xBE",
21487 		.klen	= 28,
21488 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21489 		.input	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
21490 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
21491 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
21492 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
21493 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
21494 		.ilen	= 40,
21495 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21496 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21497 		.alen	= 16,
21498 		.result	= "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
21499 			  "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
21500 			  "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
21501 			  "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
21502 			  "\x31\x5B\x27\x45\x21\x44\xCC\x77"
21503 			  "\x95\x45\x7B\x96\x52\x03\x7F\x53"
21504 			  "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
21505 		.rlen	= 56,
21506 	}, {
21507 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21508 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21509 			  "\xDE\xCA\xF8\x88",
21510 		.klen	= 20,
21511 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21512 		.input	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
21513 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
21514 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21515 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
21516 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
21517 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
21518 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
21519 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
21520 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
21521 			  "\x23\x01\x01\x01",
21522 		.ilen	= 76,
21523 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
21524 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21525 			  "\xCE\xFA\xCE\x74",
21526 		.alen	= 20,
21527 		.result	= "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
21528 			  "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
21529 			  "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
21530 			  "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
21531 			  "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
21532 			  "\x84\xE6\x58\x63\x96\x5D\x74\x72"
21533 			  "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
21534 			  "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
21535 			  "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
21536 			  "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
21537 			  "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
21538 			  "\x69\x62\x34\x36",
21539 		.rlen	= 92,
21540 	}, {
21541 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21542 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21543 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21544 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21545 			  "\x73\x61\x6C\x74",
21546 		.klen	= 36,
21547 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
21548 		.input	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
21549 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
21550 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
21551 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
21552 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
21553 		.ilen	= 40,
21554 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21555 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21556 			  "\x69\x76\x65\x63",
21557 		.alen	= 20,
21558 		.result	= "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
21559 			  "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
21560 			  "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
21561 			  "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
21562 			  "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
21563 			  "\x45\x16\x26\xC2\x41\x57\x71\xE3"
21564 			  "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
21565 		.rlen	= 56,
21566 	}, {
21567 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21568 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21569 			  "\x57\x69\x0E\x43",
21570 		.klen	= 20,
21571 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21572 		.input	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
21573 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
21574 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21575 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
21576 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
21577 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
21578 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
21579 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
21580 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
21581 			  "\x15\x01\x01\x01",
21582 		.ilen	= 76,
21583 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21584 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
21585 			  "\xA2\xFC\xA1\xA3",
21586 		.alen	= 20,
21587 		.result	= "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
21588 			  "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
21589 			  "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
21590 			  "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
21591 			  "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
21592 			  "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
21593 			  "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
21594 			  "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
21595 			  "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
21596 			  "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
21597 			  "\x76\x91\x89\x60\x97\x63\xB8\xE1"
21598 			  "\x8C\xAA\x81\xE2",
21599 		.rlen	= 92,
21600 	}, {
21601 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21602 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21603 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21604 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21605 			  "\x73\x61\x6C\x74",
21606 		.klen	= 36,
21607 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
21608 		.input	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
21609 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
21610 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
21611 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
21612 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
21613 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
21614 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
21615 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
21616 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
21617 		.ilen	= 72,
21618 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21619 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21620 			  "\x69\x76\x65\x63",
21621 		.alen	= 20,
21622 		.result	= "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
21623 			  "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
21624 			  "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
21625 			  "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
21626 			  "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
21627 			  "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
21628 			  "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
21629 			  "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
21630 			  "\x12\xA4\x93\x63\x41\x23\x64\xF8"
21631 			  "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
21632 			  "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
21633 		.rlen	= 88,
21634 	}, {
21635 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
21636 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
21637 			  "\xD9\x66\x42\x67",
21638 		.klen	= 20,
21639 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21640 		.input	= "\x01\x02\x02\x01",
21641 		.ilen	= 4,
21642 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
21643 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21644 		.alen	= 16,
21645 		.result	= "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
21646 			  "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
21647 			  "\x04\xBE\xF2\x70",
21648 		.rlen	= 20,
21649 	}, {
21650 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21651 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21652 			  "\xDE\xCA\xF8\x88",
21653 		.klen	= 20,
21654 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21655 		.input	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
21656 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
21657 			  "\x62\x65\x00\x01",
21658 		.ilen	= 20,
21659 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
21660 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21661 			  "\xCE\xFA\xCE\x74",
21662 		.alen	= 20,
21663 		.result	= "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
21664 			  "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
21665 			  "\x43\x33\x21\x64\x41\x25\x03\x52"
21666 			  "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
21667 			  "\x43\xAF\x8C\x3E",
21668 		.rlen	= 36,
21669 	}, {
21670 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
21671 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
21672 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
21673 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
21674 			  "\x74\x75\x72\x6E",
21675 		.klen	= 36,
21676 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
21677 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21678 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21679 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21680 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
21681 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21682 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21683 			  "\x01\x02\x02\x01",
21684 		.ilen	= 52,
21685 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
21686 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
21687 			  "\x67\x65\x74\x6D",
21688 		.alen	= 20,
21689 		.result	= "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
21690 			  "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
21691 			  "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
21692 			  "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
21693 			  "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
21694 			  "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
21695 			  "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
21696 			  "\x94\x5F\x66\x93\x68\x66\x1A\x32"
21697 			  "\x9F\xB4\xC0\x53",
21698 		.rlen	= 68,
21699 	}, {
21700 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21701 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21702 			  "\x57\x69\x0E\x43",
21703 		.klen	= 20,
21704 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21705 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21706 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21707 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21708 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
21709 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21710 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21711 			  "\x01\x02\x02\x01",
21712 		.ilen	= 52,
21713 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
21714 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
21715 			  "\xA2\xFC\xA1\xA3",
21716 		.alen	= 20,
21717 		.result	= "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
21718 			  "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
21719 			  "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
21720 			  "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
21721 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21722 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21723 			  "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
21724 			  "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
21725 			  "\x40\xD7\xCB\x05",
21726 		.rlen	= 68,
21727 	}, {
21728 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21729 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21730 			  "\x22\x43\x3C\x64",
21731 		.klen	= 20,
21732 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
21733 		.input	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
21734 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
21735 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
21736 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
21737 		.ilen	= 32,
21738 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
21739 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
21740 			  "\x3A\x23\x4B\xFD",
21741 		.alen	= 20,
21742 		.result	= "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
21743 			  "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
21744 			  "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
21745 			  "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
21746 			  "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
21747 			  "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
21748 		.rlen	= 48,
21749 	}
21750 };
21751 
21752 static const struct aead_testvec aes_gcm_rfc4106_dec_tv_template[] = {
21753 	{ /* Generated using Crypto++ */
21754 		.key    = zeroed_string,
21755 		.klen	= 20,
21756 		.iv     = zeroed_string,
21757 		.input	= "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
21758 			  "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
21759 			  "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
21760 			  "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
21761 		.ilen	= 32,
21762 		.assoc  = zeroed_string,
21763 		.alen   = 16,
21764 		.result = zeroed_string,
21765 		.rlen   = 16,
21766 
21767 	},{
21768 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21769 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21770 			  "\x00\x00\x00\x00",
21771 		.klen	= 20,
21772 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21773 		.input	= "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
21774 			  "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
21775 			  "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
21776 			  "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
21777 		.ilen	= 32,
21778 		.assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
21779 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21780 		.alen   = 16,
21781 		.result = zeroed_string,
21782 		.rlen   = 16,
21783 	}, {
21784 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21785 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21786 			  "\x00\x00\x00\x00",
21787 		.klen	= 20,
21788 		.iv     = zeroed_string,
21789 		.input	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21790 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21791 			  "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
21792 			  "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
21793 		.ilen	= 32,
21794 		.assoc  = zeroed_string,
21795 		.alen   = 16,
21796 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21797 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21798 		.rlen   = 16,
21799 	}, {
21800 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21801 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21802 			  "\x00\x00\x00\x00",
21803 		.klen	= 20,
21804 		.iv     = zeroed_string,
21805 		.input	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21806 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21807 			  "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
21808 			  "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
21809 		.ilen	= 32,
21810 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21811 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
21812 		.alen   = 16,
21813 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21814 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21815 		.rlen   = 16,
21816 
21817 	}, {
21818 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21819 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21820 			  "\x00\x00\x00\x00",
21821 		.klen	= 20,
21822 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21823 		.input	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21824 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21825 			  "\x64\x50\xF9\x32\x13\xFB\x74\x61"
21826 			  "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
21827 		.ilen	= 32,
21828 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21829 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21830 		.alen   = 16,
21831 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21832 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21833 		.rlen   = 16,
21834 	}, {
21835 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21836 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21837 			  "\x00\x00\x00\x00",
21838 		.klen	= 20,
21839 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21840 		.input	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21841 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21842 			  "\x98\x14\xA1\x42\x37\x80\xFD\x90"
21843 			  "\x68\x12\x01\xA8\x91\x89\xB9\x83"
21844 			  "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
21845 			  "\x94\x5F\x18\x12\xBA\x27\x09\x39"
21846 			  "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
21847 			  "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
21848 			  "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
21849 			  "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
21850 		.ilen	= 80,
21851 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21852 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21853 		.alen   = 16,
21854 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21855 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21856 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21857 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21858 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21859 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21860 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21861 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21862 		.rlen   = 64,
21863 	}, {
21864 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
21865 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21866 			  "\x00\x00\x00\x00",
21867 		.klen	= 20,
21868 		.iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
21869 		.input	= "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
21870 			  "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
21871 			  "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
21872 			  "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
21873 			  "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
21874 			  "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
21875 			  "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
21876 			  "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
21877 			  "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
21878 			  "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
21879 			  "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
21880 			  "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
21881 			  "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
21882 			  "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
21883 			  "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
21884 			  "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
21885 			  "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
21886 			  "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
21887 			  "\x7E\x13\x06\x82\x08\x17\xA4\x35"
21888 			  "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
21889 			  "\xA3\x05\x38\x95\x20\x1A\x47\x04"
21890 			  "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
21891 			  "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
21892 			  "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
21893 			  "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
21894 			  "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
21895 		.ilen	= 208,
21896 		.assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
21897 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
21898 			  "\x89\xab\xcd\xef",
21899 		.alen   = 20,
21900 		.result = "\xff\xff\xff\xff\xff\xff\xff\xff"
21901 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21902 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21903 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21904 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21905 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21906 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21907 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21908 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21909 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21910 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21911 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21912 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21913 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21914 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21915 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21916 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21917 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21918 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21919 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21920 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21921 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21922 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21923 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
21924 		.rlen   = 192,
21925 	}, {
21926 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21927 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21928 			  "\x2E\x44\x3B\x68",
21929 		.klen	= 20,
21930 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
21931 		.result	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
21932 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
21933 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
21934 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
21935 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
21936 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
21937 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
21938 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
21939 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
21940 		.rlen	= 72,
21941 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
21942 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
21943 			  "\x3B\x24\x4C\xFE",
21944 		.alen	= 20,
21945 		.input	= "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
21946 			  "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
21947 			  "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
21948 			  "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
21949 			  "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
21950 			  "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
21951 			  "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
21952 			  "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
21953 			  "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
21954 			  "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
21955 			  "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
21956 		.ilen	= 88,
21957 	}, {
21958 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21959 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21960 			  "\xCA\xFE\xBA\xBE",
21961 		.klen	= 20,
21962 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21963 		.result	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
21964 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
21965 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
21966 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
21967 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
21968 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
21969 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
21970 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
21971 		.rlen	= 64,
21972 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21973 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21974 		.alen	= 16,
21975 		.input	= "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
21976 			  "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
21977 			  "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
21978 			  "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
21979 			  "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
21980 			  "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
21981 			  "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
21982 			  "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
21983 			  "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
21984 			  "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
21985 		.ilen	= 80,
21986 	}, {
21987 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21988 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21989 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21990 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21991 			  "\x11\x22\x33\x44",
21992 		.klen	= 36,
21993 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
21994 		.result	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
21995 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
21996 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
21997 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
21998 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
21999 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
22000 			  "\x01\x02\x02\x01",
22001 		.rlen	= 52,
22002 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
22003 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
22004 		.alen	= 16,
22005 		.input	= "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
22006 			  "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
22007 			  "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
22008 			  "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
22009 			  "\x74\x8A\x63\x79\x85\x77\x1D\x34"
22010 			  "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
22011 			  "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
22012 			  "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
22013 			  "\x15\x95\x6C\x96",
22014 		.ilen	= 68,
22015 	}, {
22016 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
22017 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
22018 			  "\x00\x00\x00\x00",
22019 		.klen	= 20,
22020 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
22021 		.result	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
22022 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
22023 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
22024 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
22025 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22026 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22027 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
22028 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
22029 		.rlen	= 64,
22030 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
22031 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22032 		.alen	= 16,
22033 		.input	= "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
22034 			  "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
22035 			  "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
22036 			  "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
22037 			  "\x45\x64\x76\x49\x27\x19\xFF\xB6"
22038 			  "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
22039 			  "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
22040 			  "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
22041 			  "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
22042 			  "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
22043 		.ilen	= 80,
22044 	}, {
22045 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22046 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22047 			  "\x57\x69\x0E\x43",
22048 		.klen	= 20,
22049 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22050 		.result	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
22051 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
22052 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
22053 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
22054 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22055 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22056 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
22057 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
22058 		.rlen	= 64,
22059 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22060 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22061 			  "\xA2\xFC\xA1\xA3",
22062 		.alen	= 20,
22063 		.input	= "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
22064 			  "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
22065 			  "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
22066 			  "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
22067 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22068 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22069 			  "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
22070 			  "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
22071 			  "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
22072 			  "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
22073 		.ilen	= 80,
22074 	}, {
22075 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22076 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22077 			  "\x57\x69\x0E\x43",
22078 		.klen	= 20,
22079 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22080 		.result	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
22081 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
22082 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
22083 			  "\x01\x02\x02\x01",
22084 		.rlen	= 28,
22085 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22086 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22087 			  "\xA2\xFC\xA1\xA3",
22088 		.alen	= 20,
22089 		.input	= "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
22090 			  "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
22091 			  "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
22092 			  "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
22093 			  "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
22094 			  "\xE7\xD0\x5D\x35",
22095 		.ilen	= 44,
22096 	}, {
22097 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22098 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22099 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22100 			  "\xCA\xFE\xBA\xBE",
22101 		.klen	= 28,
22102 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22103 		.result	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
22104 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
22105 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
22106 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
22107 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
22108 		.rlen	= 40,
22109 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22110 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22111 		.alen	= 16,
22112 		.input	= "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
22113 			  "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
22114 			  "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
22115 			  "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
22116 			  "\x31\x5B\x27\x45\x21\x44\xCC\x77"
22117 			  "\x95\x45\x7B\x96\x52\x03\x7F\x53"
22118 			  "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
22119 		.ilen	= 56,
22120 	}, {
22121 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22122 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22123 			  "\xDE\xCA\xF8\x88",
22124 		.klen	= 20,
22125 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22126 		.result	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
22127 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
22128 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22129 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
22130 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
22131 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
22132 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
22133 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
22134 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
22135 			  "\x23\x01\x01\x01",
22136 		.rlen	= 76,
22137 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
22138 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22139 			  "\xCE\xFA\xCE\x74",
22140 		.alen	= 20,
22141 		.input	= "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
22142 			  "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
22143 			  "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
22144 			  "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
22145 			  "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
22146 			  "\x84\xE6\x58\x63\x96\x5D\x74\x72"
22147 			  "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
22148 			  "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
22149 			  "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
22150 			  "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
22151 			  "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
22152 			  "\x69\x62\x34\x36",
22153 		.ilen	= 92,
22154 	}, {
22155 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22156 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22157 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22158 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22159 			  "\x73\x61\x6C\x74",
22160 		.klen	= 36,
22161 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
22162 		.result	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
22163 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
22164 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
22165 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
22166 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
22167 		.rlen	= 40,
22168 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22169 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22170 			  "\x69\x76\x65\x63",
22171 		.alen	= 20,
22172 		.input	= "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
22173 			  "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
22174 			  "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
22175 			  "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
22176 			  "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
22177 			  "\x45\x16\x26\xC2\x41\x57\x71\xE3"
22178 			  "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
22179 		.ilen	= 56,
22180 	}, {
22181 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22182 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22183 			  "\x57\x69\x0E\x43",
22184 		.klen	= 20,
22185 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22186 		.result	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
22187 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
22188 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22189 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
22190 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
22191 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
22192 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
22193 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
22194 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
22195 			  "\x15\x01\x01\x01",
22196 		.rlen	= 76,
22197 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22198 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22199 			  "\xA2\xFC\xA1\xA3",
22200 		.alen	= 20,
22201 		.input	= "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
22202 			  "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
22203 			  "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
22204 			  "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
22205 			  "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
22206 			  "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
22207 			  "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
22208 			  "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
22209 			  "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
22210 			  "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
22211 			  "\x76\x91\x89\x60\x97\x63\xB8\xE1"
22212 			  "\x8C\xAA\x81\xE2",
22213 		.ilen	= 92,
22214 	}, {
22215 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22216 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22217 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22218 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22219 			  "\x73\x61\x6C\x74",
22220 		.klen	= 36,
22221 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
22222 		.result	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
22223 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
22224 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
22225 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
22226 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
22227 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
22228 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
22229 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
22230 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
22231 		.rlen	= 72,
22232 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22233 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22234 			  "\x69\x76\x65\x63",
22235 		.alen	= 20,
22236 		.input	= "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
22237 			  "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
22238 			  "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
22239 			  "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
22240 			  "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
22241 			  "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
22242 			  "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
22243 			  "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
22244 			  "\x12\xA4\x93\x63\x41\x23\x64\xF8"
22245 			  "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
22246 			  "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
22247 		.ilen	= 88,
22248 	}, {
22249 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
22250 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
22251 			  "\xD9\x66\x42\x67",
22252 		.klen	= 20,
22253 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22254 		.result	= "\x01\x02\x02\x01",
22255 		.rlen	= 4,
22256 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
22257 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22258 		.alen	= 16,
22259 		.input	= "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
22260 			  "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
22261 			  "\x04\xBE\xF2\x70",
22262 		.ilen	= 20,
22263 	}, {
22264 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22265 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22266 			  "\xDE\xCA\xF8\x88",
22267 		.klen	= 20,
22268 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22269 		.result	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
22270 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
22271 			  "\x62\x65\x00\x01",
22272 		.rlen	= 20,
22273 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
22274 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22275 			  "\xCE\xFA\xCE\x74",
22276 		.alen	= 20,
22277 		.input	= "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
22278 			  "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
22279 			  "\x43\x33\x21\x64\x41\x25\x03\x52"
22280 			  "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
22281 			  "\x43\xAF\x8C\x3E",
22282 		.ilen	= 36,
22283 	}, {
22284 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
22285 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
22286 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
22287 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
22288 			  "\x74\x75\x72\x6E",
22289 		.klen	= 36,
22290 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
22291 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22292 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22293 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22294 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22295 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22296 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22297 			  "\x01\x02\x02\x01",
22298 		.rlen	= 52,
22299 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
22300 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
22301 			  "\x67\x65\x74\x6D",
22302 		.alen	= 20,
22303 		.input	= "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
22304 			  "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
22305 			  "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
22306 			  "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
22307 			  "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
22308 			  "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
22309 			  "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
22310 			  "\x94\x5F\x66\x93\x68\x66\x1A\x32"
22311 			  "\x9F\xB4\xC0\x53",
22312 		.ilen	= 68,
22313 	}, {
22314 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22315 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22316 			  "\x57\x69\x0E\x43",
22317 		.klen	= 20,
22318 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22319 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22320 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22321 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22322 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22323 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22324 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22325 			  "\x01\x02\x02\x01",
22326 		.rlen	= 52,
22327 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
22328 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22329 			  "\xA2\xFC\xA1\xA3",
22330 		.alen	= 20,
22331 		.input	= "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
22332 			  "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
22333 			  "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
22334 			  "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
22335 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22336 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22337 			  "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
22338 			  "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
22339 			  "\x40\xD7\xCB\x05",
22340 		.ilen	= 68,
22341 	}, {
22342 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22343 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22344 			  "\x22\x43\x3C\x64",
22345 		.klen	= 20,
22346 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
22347 		.result	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
22348 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
22349 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
22350 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
22351 		.rlen	= 32,
22352 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
22353 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
22354 			  "\x3A\x23\x4B\xFD",
22355 		.alen	= 20,
22356 		.input	= "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
22357 			  "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
22358 			  "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
22359 			  "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
22360 			  "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
22361 			  "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
22362 		.ilen	= 48,
22363 	}
22364 };
22365 
22366 static const struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = {
22367 	{ /* From draft-mcgrew-gcm-test-01 */
22368 		.key	= "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22369 			  "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22370 			  "\x22\x43\x3c\x64",
22371 		.klen	= 20,
22372 		.iv	= zeroed_string,
22373 		.assoc	= "\x00\x00\x43\x21\x00\x00\x00\x07"
22374 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22375 		.alen	= 16,
22376 		.input	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22377 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22378 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22379 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22380 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22381 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22382 			  "\x01\x02\x02\x01",
22383 		.ilen	= 52,
22384 		.result	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22385 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22386 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22387 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22388 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22389 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22390 			  "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22391 			  "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22392 			  "\xe4\x09\x9a\xaa",
22393 		.rlen	= 68,
22394 	}
22395 };
22396 
22397 static const struct aead_testvec aes_gcm_rfc4543_dec_tv_template[] = {
22398 	{ /* From draft-mcgrew-gcm-test-01 */
22399 		.key	= "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22400 			  "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22401 			  "\x22\x43\x3c\x64",
22402 		.klen	= 20,
22403 		.iv	= zeroed_string,
22404 		.assoc	= "\x00\x00\x43\x21\x00\x00\x00\x07"
22405 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22406 		.alen	= 16,
22407 		.input	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22408 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22409 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22410 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22411 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22412 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22413 			  "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22414 			  "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22415 			  "\xe4\x09\x9a\xaa",
22416 		.ilen	= 68,
22417 		.result	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22418 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22419 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22420 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22421 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22422 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22423 			  "\x01\x02\x02\x01",
22424 		.rlen	= 52,
22425 	}, { /* nearly same as previous, but should fail */
22426 		.key	= "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22427 			  "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22428 			  "\x22\x43\x3c\x64",
22429 		.klen	= 20,
22430 		.iv	= zeroed_string,
22431 		.assoc	= "\x00\x00\x43\x21\x00\x00\x00\x07"
22432 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22433 		.alen	= 16,
22434 		.input	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22435 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22436 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22437 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22438 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22439 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22440 			  "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22441 			  "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22442 			  "\x00\x00\x00\x00",
22443 		.ilen	= 68,
22444 		.novrfy = 1,
22445 		.result	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22446 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22447 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22448 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22449 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22450 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22451 			  "\x01\x02\x02\x01",
22452 		.rlen	= 52,
22453 	},
22454 };
22455 
22456 static const struct aead_testvec aes_ccm_enc_tv_template[] = {
22457 	{ /* From RFC 3610 */
22458 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22459 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22460 		.klen	= 16,
22461 		.iv	= "\x01\x00\x00\x00\x03\x02\x01\x00"
22462 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22463 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
22464 		.alen	= 8,
22465 		.input	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22466 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
22467 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e",
22468 		.ilen	= 23,
22469 		.result	= "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
22470 			  "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
22471 			  "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
22472 			  "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
22473 		.rlen	= 31,
22474 	}, {
22475 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22476 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22477 		.klen	= 16,
22478 		.iv	= "\x01\x00\x00\x00\x07\x06\x05\x04"
22479 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22480 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
22481 			  "\x08\x09\x0a\x0b",
22482 		.alen	= 12,
22483 		.input	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22484 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22485 			  "\x1c\x1d\x1e\x1f",
22486 		.ilen	= 20,
22487 		.result	= "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
22488 			  "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
22489 			  "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
22490 			  "\x7d\x9c\x2d\x93",
22491 		.rlen	= 28,
22492 	}, {
22493 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22494 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22495 		.klen	= 16,
22496 		.iv	= "\x01\x00\x00\x00\x0b\x0a\x09\x08"
22497 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22498 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
22499 		.alen	= 8,
22500 		.input	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22501 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
22502 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
22503 			  "\x20",
22504 		.ilen	= 25,
22505 		.result	= "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
22506 			  "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
22507 			  "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
22508 			  "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
22509 			  "\x7e\x5f\x4e",
22510 		.rlen	= 35,
22511 	}, {
22512 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22513 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22514 		.klen	= 16,
22515 		.iv	= "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
22516 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22517 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
22518 			  "\x08\x09\x0a\x0b",
22519 		.alen	= 12,
22520 		.input	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22521 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22522 			  "\x1c\x1d\x1e",
22523 		.ilen	= 19,
22524 		.result	= "\x07\x34\x25\x94\x15\x77\x85\x15"
22525 			  "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
22526 			  "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
22527 			  "\x4d\x99\x99\x88\xdd",
22528 		.rlen	= 29,
22529 	}, {
22530 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22531 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22532 		.klen	= 16,
22533 		.iv	= "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
22534 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22535 		.assoc	= "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
22536 		.alen	= 8,
22537 		.input	= "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
22538 			  "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
22539 			  "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
22540 		.ilen	= 24,
22541 		.result	= "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
22542 			  "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
22543 			  "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
22544 			  "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
22545 		.rlen	= 32,
22546 	}, {
22547 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22548 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22549 		.klen	= 16,
22550 		.iv	= "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
22551 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22552 		.assoc	= "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
22553 			  "\x20\xea\x60\xc0",
22554 		.alen	= 12,
22555 		.input	= "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
22556 			  "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
22557 			  "\x3a\x80\x3b\xa8\x7f",
22558 		.ilen	= 21,
22559 		.result	= "\x00\x97\x69\xec\xab\xdf\x48\x62"
22560 			  "\x55\x94\xc5\x92\x51\xe6\x03\x57"
22561 			  "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
22562 			  "\x5a\xe0\x70\x45\x51",
22563 		.rlen	= 29,
22564 	}, {
22565 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22566 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22567 		.klen	= 16,
22568 		.iv	= "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
22569 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22570 		.assoc	= "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
22571 		.alen	= 8,
22572 		.input	= "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
22573 			  "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
22574 			  "\x98\x09\xd6\x7d\xbe\xdd\x18",
22575 		.ilen	= 23,
22576 		.result	= "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
22577 			  "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
22578 			  "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
22579 			  "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
22580 			  "\xba",
22581 		.rlen	= 33,
22582 	}, {
22583 		/* This is taken from FIPS CAVS. */
22584 		.key	= "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
22585 			  "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
22586 		.klen	= 16,
22587 		.iv	= "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
22588 		.alen	= 0,
22589 		.input	= "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
22590 			  "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
22591 			  "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
22592 			  "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
22593 		.ilen	= 32,
22594 		.result	= "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
22595 			  "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
22596 			  "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
22597 			  "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
22598 			  "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
22599 			  "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
22600 		.rlen	= 48,
22601 	}, {
22602 		.key	= "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
22603 			  "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
22604 		.klen	= 16,
22605 		.iv	= "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
22606 			  "\x30\x60\x15\x56\x00\x00\x00\x00",
22607 		.assoc	= "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
22608 			  "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
22609 			  "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
22610 			  "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
22611 		.alen	= 32,
22612 		.input	= "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
22613 			  "\xa9\x28\x63\xba\x12\xa3\x14\x85"
22614 			  "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
22615 			  "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
22616 		.ilen	= 32,
22617 		.result	= "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
22618 			  "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
22619 			  "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
22620 			  "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
22621 			  "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
22622 			  "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
22623 		.rlen	= 48,
22624 	}, {
22625 		.key	= "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
22626 			  "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
22627 			  "\x53\x14\x73\x66\x8d\x88\xf6\x80",
22628 		.klen	= 24,
22629 		.iv	= "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
22630 			  "\x50\x20\xda\xe2\x00\x00\x00\x00",
22631 		.assoc	= "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
22632 			  "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
22633 			  "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
22634 			  "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
22635 		.alen	= 32,
22636 		.result	= "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
22637 			  "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
22638 		.rlen	= 16,
22639 	}, {
22640 		.key	= "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
22641 			  "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
22642 			  "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
22643 		.klen	= 24,
22644 		.iv	= "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
22645 			  "\xef\x09\x2e\x94\x00\x00\x00\x00",
22646 		.assoc	= "\x02\x65\x78\x3c\xe9\x21\x30\x91"
22647 			  "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
22648 			  "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
22649 			  "\xe3\x00\x73\x69\x84\x69\x87\x79",
22650 		.alen	= 32,
22651 		.input	= "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
22652 			  "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
22653 			  "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
22654 			  "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
22655 		.ilen	= 32,
22656 		.result	= "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
22657 			  "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
22658 			  "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
22659 			  "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
22660 			  "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
22661 			  "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
22662 		.rlen	= 48,
22663 	}, {
22664 		.key	= "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
22665 			  "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
22666 			  "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
22667 			  "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
22668 		.klen	= 32,
22669 		.iv	= "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
22670 			  "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
22671 		.assoc	= "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
22672 			  "\x78\x2b\x94\x02\x29\x0f\x42\x27"
22673 			  "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
22674 			  "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
22675 		.alen	= 32,
22676 		.input	= "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
22677 			  "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
22678 			  "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
22679 			  "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
22680 		.ilen	= 32,
22681 		.result	= "\x19\xb8\x61\x33\x45\x2b\x43\x96"
22682 			  "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
22683 			  "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
22684 			  "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
22685 			  "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
22686 		.rlen	= 40,
22687 	}, {
22688 		.key	= "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
22689 			  "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
22690 			  "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
22691 			  "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
22692 		.klen	= 32,
22693 		.iv	= "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
22694 			  "\x43\xf6\x1e\x50\0\0\0\0",
22695 		.assoc	= "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
22696 			  "\x13\x02\x01\x0c\x83\x4c\x96\x35"
22697 			  "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
22698 			  "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
22699 		.alen	= 32,
22700 		.input	= "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
22701 			  "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
22702 			  "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
22703 			  "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
22704 		.ilen	= 32,
22705 		.result	= "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
22706 			  "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
22707 			  "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
22708 			  "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
22709 			  "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
22710 			  "\x7b\x72\x8a\xf7",
22711 		.rlen	= 44,
22712 	}, {
22713 		.key	= "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
22714 			  "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
22715 			  "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
22716 			  "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
22717 		.klen	= 32,
22718 		.iv	= "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
22719 			  "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
22720 		.assoc	= "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
22721 			  "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
22722 			  "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
22723 			  "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
22724 		.alen	= 32,
22725 		.input	= "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
22726 			  "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
22727 			  "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
22728 			  "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
22729 		.ilen	= 32,
22730 		.result	= "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
22731 			  "\xef\xbb\x80\x21\x04\x6c\x58\x09"
22732 			  "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
22733 			  "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
22734 			  "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
22735 			  "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
22736 		.rlen	= 48,
22737 	}
22738 };
22739 
22740 static const struct aead_testvec aes_ccm_dec_tv_template[] = {
22741 	{ /* From RFC 3610 */
22742 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22743 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22744 		.klen	= 16,
22745 		.iv	= "\x01\x00\x00\x00\x03\x02\x01\x00"
22746 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22747 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
22748 		.alen	= 8,
22749 		.input	= "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
22750 			  "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
22751 			  "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
22752 			  "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
22753 		.ilen	= 31,
22754 		.result	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22755 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
22756 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e",
22757 		.rlen	= 23,
22758 	}, {
22759 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22760 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22761 		.klen	= 16,
22762 		.iv	= "\x01\x00\x00\x00\x07\x06\x05\x04"
22763 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22764 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
22765 			  "\x08\x09\x0a\x0b",
22766 		.alen	= 12,
22767 		.input	= "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
22768 			  "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
22769 			  "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
22770 			  "\x7d\x9c\x2d\x93",
22771 		.ilen	= 28,
22772 		.result	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22773 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22774 			  "\x1c\x1d\x1e\x1f",
22775 		.rlen	= 20,
22776 	}, {
22777 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22778 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22779 		.klen	= 16,
22780 		.iv	= "\x01\x00\x00\x00\x0b\x0a\x09\x08"
22781 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22782 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
22783 		.alen	= 8,
22784 		.input	= "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
22785 			  "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
22786 			  "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
22787 			  "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
22788 			  "\x7e\x5f\x4e",
22789 		.ilen	= 35,
22790 		.result	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22791 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
22792 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
22793 			  "\x20",
22794 		.rlen	= 25,
22795 	}, {
22796 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22797 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22798 		.klen	= 16,
22799 		.iv	= "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
22800 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22801 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
22802 			  "\x08\x09\x0a\x0b",
22803 		.alen	= 12,
22804 		.input	= "\x07\x34\x25\x94\x15\x77\x85\x15"
22805 			  "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
22806 			  "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
22807 			  "\x4d\x99\x99\x88\xdd",
22808 		.ilen	= 29,
22809 		.result	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22810 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22811 			  "\x1c\x1d\x1e",
22812 		.rlen	= 19,
22813 	}, {
22814 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22815 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22816 		.klen	= 16,
22817 		.iv	= "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
22818 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22819 		.assoc	= "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
22820 		.alen	= 8,
22821 		.input	= "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
22822 			  "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
22823 			  "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
22824 			  "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
22825 		.ilen	= 32,
22826 		.result	= "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
22827 			  "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
22828 			  "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
22829 		.rlen	= 24,
22830 	}, {
22831 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22832 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22833 		.klen	= 16,
22834 		.iv	= "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
22835 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22836 		.assoc	= "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
22837 			  "\x20\xea\x60\xc0",
22838 		.alen	= 12,
22839 		.input	= "\x00\x97\x69\xec\xab\xdf\x48\x62"
22840 			  "\x55\x94\xc5\x92\x51\xe6\x03\x57"
22841 			  "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
22842 			  "\x5a\xe0\x70\x45\x51",
22843 		.ilen	= 29,
22844 		.result	= "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
22845 			  "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
22846 			  "\x3a\x80\x3b\xa8\x7f",
22847 		.rlen	= 21,
22848 	}, {
22849 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22850 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22851 		.klen	= 16,
22852 		.iv	= "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
22853 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22854 		.assoc	= "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
22855 		.alen	= 8,
22856 		.input	= "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
22857 			  "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
22858 			  "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
22859 			  "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
22860 			  "\xba",
22861 		.ilen	= 33,
22862 		.result	= "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
22863 			  "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
22864 			  "\x98\x09\xd6\x7d\xbe\xdd\x18",
22865 		.rlen	= 23,
22866 	}, {
22867 		/* This is taken from FIPS CAVS. */
22868 		.key	= "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
22869 			  "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
22870 		.klen	= 16,
22871 		.iv	= "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
22872 			  "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
22873 		.alen	= 0,
22874 		.input	= "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
22875 		.ilen	= 8,
22876 		.result	= "\x00",
22877 		.rlen	= 0,
22878 		.novrfy	= 1,
22879 	}, {
22880 		.key	= "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
22881 			  "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
22882 		.klen	= 16,
22883 		.iv	= "\x03\xaf\x94\x87\x78\x35\x82\x81"
22884 			  "\x7f\x88\x94\x68\x00\x00\x00\x00",
22885 		.alen	= 0,
22886 		.input	= "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
22887 		.ilen	= 8,
22888 		.result	= "\x00",
22889 		.rlen	= 0,
22890 	}, {
22891 		.key	= "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
22892 			  "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
22893 		.klen	= 16,
22894 		.iv	= "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
22895 			  "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
22896 		.assoc	= "\xf3\x94\x87\x78\x35\x82\x81\x7f"
22897 			  "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
22898 			  "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
22899 			  "\xd8\x94\x99\x91\x81\x54\x62\x57",
22900 		.alen	= 32,
22901 		.input	= "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
22902 			  "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
22903 			  "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
22904 			  "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
22905 			  "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
22906 			  "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
22907 		.ilen	= 48,
22908 		.result	= "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
22909 			  "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
22910 			  "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
22911 			  "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
22912 		.rlen	= 32,
22913 		.novrfy	= 1,
22914 	}, {
22915 		.key	= "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
22916 			  "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
22917 		.klen	= 16,
22918 		.iv	= "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
22919 			  "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
22920 		.assoc	= "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
22921 			  "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
22922 			  "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
22923 			  "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
22924 		.alen	= 32,
22925 		.input	= "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
22926 			  "\xad\x83\x52\x6d\x71\x03\x25\x1c"
22927 			  "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
22928 			  "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
22929 			  "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
22930 			  "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
22931 		.ilen	= 48,
22932 		.result	= "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
22933 			  "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
22934 			  "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
22935 			  "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
22936 		.rlen	= 32,
22937 	}, {
22938 		.key	= "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
22939 			  "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
22940 			  "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
22941 		.klen	= 24,
22942 		.iv	= "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
22943 			  "\x57\xba\xfd\x9e\x00\x00\x00\x00",
22944 		.assoc	= "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
22945 			  "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
22946 			  "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
22947 			  "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
22948 		.alen	= 32,
22949 		.input	= "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
22950 		.ilen	= 8,
22951 		.result	= "\x00",
22952 		.rlen	= 0,
22953 	}, {
22954 		.key	= "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
22955 			  "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
22956 			  "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
22957 		.klen	= 24,
22958 		.iv	= "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
22959 			  "\x57\xba\xfd\x9e\x00\x00\x00\x00",
22960 		.assoc	= "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
22961 			  "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
22962 			  "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
22963 			  "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
22964 		.alen	= 32,
22965 		.input	= "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
22966 			  "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
22967 			  "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
22968 			  "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
22969 			  "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
22970 		.ilen	= 40,
22971 		.result	= "\x85\x34\x66\x42\xc8\x92\x0f\x36"
22972 			  "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
22973 			  "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
22974 			  "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
22975 		.rlen	= 32,
22976 	}, {
22977 		.key	= "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
22978 			  "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
22979 			  "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
22980 		.klen	= 24,
22981 		.iv	= "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
22982 			  "\xad\x71\xaa\x1f\x00\x00\x00\x00",
22983 		.assoc	= "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
22984 			  "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
22985 			  "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
22986 			  "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
22987 		.alen	= 32,
22988 		.input	= "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
22989 			  "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
22990 			  "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
22991 			  "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
22992 			  "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
22993 			  "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
22994 		.ilen	= 48,
22995 		.result	= "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
22996 			  "\x99\x2a\xa8\xca\x04\x25\x45\x90"
22997 			  "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
22998 			  "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
22999 		.rlen	= 32,
23000 		.novrfy	= 1,
23001 	}, {
23002 		.key	= "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
23003 			  "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
23004 			  "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
23005 			  "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
23006 		.klen	= 32,
23007 		.iv	= "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23008 			  "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23009 		.alen	= 0,
23010 		.input	= "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
23011 		.ilen	= 8,
23012 		.result	= "\x00",
23013 		.rlen	= 0,
23014 	}, {
23015 		.key	= "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
23016 			  "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
23017 			  "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
23018 			  "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
23019 		.klen	= 32,
23020 		.iv	= "\x03\x85\x34\x66\x42\xc8\x92\x0f"
23021 			  "\x36\x58\xe0\x6b\x00\x00\x00\x00",
23022 		.alen	= 0,
23023 		.input	= "\x48\x01\x5e\x02\x24\x04\x66\x47"
23024 			  "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
23025 			  "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
23026 			  "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
23027 			  "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
23028 			  "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
23029 		.ilen	= 48,
23030 		.result	= "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
23031 			  "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
23032 			  "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
23033 			  "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
23034 		.rlen	= 32,
23035 		.novrfy	= 1,
23036 	}, {
23037 		.key	= "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23038 			  "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23039 			  "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
23040 			  "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
23041 		.klen	= 32,
23042 		.iv	= "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
23043 			  "\x44\x89\x40\x7b\x00\x00\x00\x00",
23044 		.assoc	= "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
23045 			  "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
23046 			  "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
23047 			  "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
23048 		.alen	= 32,
23049 		.input	= "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
23050 			  "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
23051 			  "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
23052 			  "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
23053 			  "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
23054 			  "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
23055 		.ilen	= 48,
23056 		.result	= "\xc2\x54\xc8\xde\x78\x87\x77\x40"
23057 			  "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
23058 			  "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
23059 			  "\x04\x49\x3b\x19\x93\x57\x25\x5d",
23060 		.rlen	= 32,
23061 	},
23062 };
23063 
23064 /*
23065  * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
23066  * use a 13-byte nonce, we only support an 11-byte nonce.  Worse,
23067  * they use AD lengths which are not valid ESP header lengths.
23068  *
23069  * These vectors are copied/generated from the ones for rfc4106 with
23070  * the key truncated by one byte..
23071  */
23072 static const struct aead_testvec aes_ccm_rfc4309_enc_tv_template[] = {
23073 	{ /* Generated using Crypto++ */
23074 		.key	= zeroed_string,
23075 		.klen	= 19,
23076 		.iv	= zeroed_string,
23077 		.input	= zeroed_string,
23078 		.ilen	= 16,
23079 		.assoc	= zeroed_string,
23080 		.alen	= 16,
23081 		.result	= "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
23082 			  "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
23083 			  "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
23084 			  "\x27\x50\x01\xAC\x03\x33\x39\xFB",
23085 		.rlen	= 32,
23086 	},{
23087 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23088 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23089 			  "\x00\x00\x00",
23090 		.klen	= 19,
23091 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23092 		.input	= zeroed_string,
23093 		.ilen	= 16,
23094 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x00"
23095 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23096 		.alen	= 16,
23097 		.result	= "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
23098 			  "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
23099 			  "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
23100 			  "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
23101 		.rlen	= 32,
23102 
23103 	}, {
23104 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23105 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23106 			  "\x00\x00\x00",
23107 		.klen	= 19,
23108 		.iv	= zeroed_string,
23109 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23110 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23111 		.ilen	= 16,
23112 		.assoc	= zeroed_string,
23113 		.alen	= 16,
23114 		.result	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23115 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23116 			  "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
23117 			  "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
23118 		.rlen	= 32,
23119 	}, {
23120 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23121 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23122 			  "\x00\x00\x00",
23123 		.klen	= 19,
23124 		.iv	= zeroed_string,
23125 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23126 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23127 		.ilen	= 16,
23128 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23129 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23130 		.alen	= 16,
23131 		.result	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23132 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23133 			  "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
23134 			  "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
23135 		.rlen	= 32,
23136 	}, {
23137 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23138 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23139 			  "\x00\x00\x00",
23140 		.klen	= 19,
23141 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23142 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23143 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23144 		.ilen	= 16,
23145 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23146 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23147 		.alen	= 16,
23148 		.result	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23149 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23150 			  "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
23151 			  "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
23152 		.rlen	= 32,
23153 	}, {
23154 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23155 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23156 			  "\x00\x00\x00",
23157 		.klen	= 19,
23158 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23159 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23160 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23161 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23162 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23163 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23164 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23165 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23166 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23167 		.ilen	= 64,
23168 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23169 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23170 		.alen	= 16,
23171 		.result	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23172 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23173 			  "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
23174 			  "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
23175 			  "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
23176 			  "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
23177 			  "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
23178 			  "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
23179 			  "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
23180 			  "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
23181 		.rlen	= 80,
23182 	}, {
23183 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
23184 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23185 			  "\x00\x00\x00",
23186 		.klen	= 19,
23187 		.iv	= "\x00\x00\x45\x67\x89\xab\xcd\xef",
23188 		.input	= "\xff\xff\xff\xff\xff\xff\xff\xff"
23189 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23190 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23191 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23192 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23193 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23194 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23195 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23196 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23197 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23198 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23199 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23200 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23201 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23202 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23203 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23204 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23205 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23206 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23207 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23208 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23209 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23210 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23211 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
23212 		.ilen	= 192,
23213 		.assoc	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
23214 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
23215 			  "\x89\xab\xcd\xef",
23216 		.alen	= 20,
23217 		.result	= "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
23218 			  "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
23219 			  "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
23220 			  "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
23221 			  "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
23222 			  "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
23223 			  "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
23224 			  "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
23225 			  "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
23226 			  "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
23227 			  "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
23228 			  "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
23229 			  "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
23230 			  "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
23231 			  "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
23232 			  "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
23233 			  "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
23234 			  "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
23235 			  "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
23236 			  "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
23237 			  "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
23238 			  "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
23239 			  "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
23240 			  "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
23241 			  "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
23242 			  "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
23243 		.rlen	= 208,
23244 	}, { /* From draft-mcgrew-gcm-test-01 */
23245 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23246 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23247 			  "\x2E\x44\x3B",
23248 		.klen	= 19,
23249 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
23250 		.input	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
23251 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
23252 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
23253 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
23254 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
23255 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
23256 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
23257 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
23258 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
23259 		.ilen	= 72,
23260 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
23261 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
23262 			  "\x3B\x24\x4C\xFE",
23263 		.alen	= 20,
23264 		.result	= "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
23265 			  "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
23266 			  "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
23267 			  "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
23268 			  "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
23269 			  "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
23270 			  "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
23271 			  "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
23272 			  "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
23273 			  "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
23274 			  "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
23275 		.rlen	= 88,
23276 	}, {
23277 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23278 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
23279 			  "\xCA\xFE\xBA",
23280 		.klen	= 19,
23281 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23282 		.input	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
23283 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
23284 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
23285 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
23286 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
23287 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
23288 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
23289 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
23290 		.ilen	= 64,
23291 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
23292 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23293 		.alen	= 16,
23294 		.result	= "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
23295 			  "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
23296 			  "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
23297 			  "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
23298 			  "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
23299 			  "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
23300 			  "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
23301 			  "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
23302 			  "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
23303 			  "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
23304 		.rlen	= 80,
23305 	}, {
23306 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23307 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23308 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23309 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23310 			  "\x11\x22\x33",
23311 		.klen	= 35,
23312 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
23313 		.input	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
23314 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
23315 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
23316 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
23317 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
23318 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
23319 			  "\x01\x02\x02\x01",
23320 		.ilen	= 52,
23321 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
23322 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
23323 		.alen	= 16,
23324 		.result	= "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
23325 			  "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
23326 			  "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
23327 			  "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
23328 			  "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
23329 			  "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
23330 			  "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
23331 			  "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
23332 			  "\x5A\x48\x6A\x3E",
23333 		.rlen	= 68,
23334 	}, {
23335 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
23336 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
23337 			  "\x00\x00\x00",
23338 		.klen	= 19,
23339 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
23340 		.input	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
23341 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
23342 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
23343 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
23344 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23345 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23346 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
23347 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
23348 		.ilen	= 64,
23349 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
23350 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23351 		.alen	= 16,
23352 		.result	= "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
23353 			  "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
23354 			  "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
23355 			  "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
23356 			  "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
23357 			  "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
23358 			  "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
23359 			  "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
23360 			  "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
23361 			  "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
23362 		.rlen	= 80,
23363 	}, {
23364 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23365 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23366 			  "\x57\x69\x0E",
23367 		.klen	= 19,
23368 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23369 		.input	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
23370 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
23371 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
23372 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
23373 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23374 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23375 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
23376 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
23377 		.ilen	= 64,
23378 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23379 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23380 			  "\xA2\xFC\xA1\xA3",
23381 		.alen	= 20,
23382 		.result	= "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
23383 			  "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
23384 			  "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
23385 			  "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
23386 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
23387 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
23388 			  "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
23389 			  "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
23390 			  "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
23391 			  "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
23392 		.rlen	= 80,
23393 	}, {
23394 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23395 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23396 			  "\x57\x69\x0E",
23397 		.klen	= 19,
23398 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23399 		.input	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
23400 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
23401 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
23402 			  "\x01\x02\x02\x01",
23403 		.ilen	= 28,
23404 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23405 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23406 			  "\xA2\xFC\xA1\xA3",
23407 		.alen	= 20,
23408 		.result	= "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
23409 			  "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
23410 			  "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
23411 			  "\xA1\xE5\x90\x40\x05\x37\x45\x70"
23412 			  "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
23413 			  "\x08\xB4\x22\xE4",
23414 		.rlen	= 44,
23415 	}, {
23416 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23417 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
23418 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23419 			  "\xCA\xFE\xBA",
23420 		.klen	= 27,
23421 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23422 		.input	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
23423 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
23424 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
23425 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
23426 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
23427 		.ilen	= 40,
23428 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
23429 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23430 		.alen	= 16,
23431 		.result	= "\x05\x22\x15\xD1\x52\x56\x85\x04"
23432 			  "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
23433 			  "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
23434 			  "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
23435 			  "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
23436 			  "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
23437 			  "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
23438 		.rlen	= 56,
23439 	}, {
23440 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23441 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23442 			  "\xDE\xCA\xF8",
23443 		.klen	= 19,
23444 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
23445 		.input	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
23446 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
23447 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
23448 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
23449 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
23450 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
23451 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
23452 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
23453 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
23454 			  "\x23\x01\x01\x01",
23455 		.ilen	= 76,
23456 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
23457 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
23458 			  "\xCE\xFA\xCE\x74",
23459 		.alen	= 20,
23460 		.result	= "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
23461 			  "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
23462 			  "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
23463 			  "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
23464 			  "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
23465 			  "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
23466 			  "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
23467 			  "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
23468 			  "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
23469 			  "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
23470 			  "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
23471 			  "\x12\x25\x0B\xF9",
23472 		.rlen	= 92,
23473 	}, {
23474 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23475 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23476 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23477 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23478 			  "\x73\x61\x6C",
23479 		.klen	= 35,
23480 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
23481 		.input	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
23482 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
23483 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
23484 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
23485 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
23486 		.ilen	= 40,
23487 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
23488 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
23489 			  "\x69\x76\x65\x63",
23490 		.alen	= 20,
23491 		.result	= "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
23492 			  "\x2C\x64\x87\x46\x1E\x34\x10\x05"
23493 			  "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
23494 			  "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
23495 			  "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
23496 			  "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
23497 			  "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
23498 		.rlen	= 56,
23499 	}, {
23500 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23501 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23502 			  "\x57\x69\x0E",
23503 		.klen	= 19,
23504 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23505 		.input	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
23506 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
23507 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
23508 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
23509 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
23510 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
23511 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
23512 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
23513 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
23514 			  "\x15\x01\x01\x01",
23515 		.ilen	= 76,
23516 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23517 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23518 			  "\xA2\xFC\xA1\xA3",
23519 		.alen	= 20,
23520 		.result	= "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
23521 			  "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
23522 			  "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
23523 			  "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
23524 			  "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
23525 			  "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
23526 			  "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
23527 			  "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
23528 			  "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
23529 			  "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
23530 			  "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
23531 			  "\xCC\xF7\x46\x6F",
23532 		.rlen	= 92,
23533 	}, {
23534 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23535 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23536 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23537 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23538 			  "\x73\x61\x6C",
23539 		.klen	= 35,
23540 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
23541 		.input	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
23542 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
23543 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
23544 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
23545 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
23546 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
23547 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
23548 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
23549 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
23550 		.ilen	= 72,
23551 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
23552 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
23553 			  "\x69\x76\x65\x63",
23554 		.alen	= 20,
23555 		.result	= "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
23556 			  "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
23557 			  "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
23558 			  "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
23559 			  "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
23560 			  "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
23561 			  "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
23562 			  "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
23563 			  "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
23564 			  "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
23565 			  "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
23566 		.rlen	= 88,
23567 	}, {
23568 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
23569 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
23570 			  "\xD9\x66\x42",
23571 		.klen	= 19,
23572 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
23573 		.input	= "\x01\x02\x02\x01",
23574 		.ilen	= 4,
23575 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
23576 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
23577 		.alen	= 16,
23578 		.result	= "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
23579 			  "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
23580 			  "\xF7\x61\x24\x62",
23581 		.rlen	= 20,
23582 	}, {
23583 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23584 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23585 			  "\xDE\xCA\xF8",
23586 		.klen	= 19,
23587 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
23588 		.input	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
23589 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
23590 			  "\x62\x65\x00\x01",
23591 		.ilen	= 20,
23592 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
23593 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
23594 			  "\xCE\xFA\xCE\x74",
23595 		.alen	= 20,
23596 		.result	= "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
23597 			  "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
23598 			  "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
23599 			  "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
23600 			  "\x17\x17\x65\xAD",
23601 		.rlen	= 36,
23602 	}, {
23603 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
23604 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
23605 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
23606 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
23607 			  "\x74\x75\x72",
23608 		.klen	= 35,
23609 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
23610 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
23611 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
23612 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
23613 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23614 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23615 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23616 			  "\x01\x02\x02\x01",
23617 		.ilen	= 52,
23618 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
23619 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
23620 			  "\x67\x65\x74\x6D",
23621 		.alen	= 20,
23622 		.result	= "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
23623 			  "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
23624 			  "\x48\x59\x80\x18\x1A\x18\x1A\x04"
23625 			  "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
23626 			  "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
23627 			  "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
23628 			  "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
23629 			  "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
23630 			  "\x39\xDB\xC8\xDC",
23631 		.rlen	= 68,
23632 	}, {
23633 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23634 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23635 			  "\x57\x69\x0E",
23636 		.klen	= 19,
23637 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23638 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
23639 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
23640 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
23641 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23642 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23643 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23644 			  "\x01\x02\x02\x01",
23645 		.ilen	= 52,
23646 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
23647 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23648 			  "\xA2\xFC\xA1\xA3",
23649 		.alen	= 20,
23650 		.result	= "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
23651 			  "\x10\x60\x54\x25\xEB\x80\x04\x93"
23652 			  "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
23653 			  "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
23654 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
23655 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
23656 			  "\x44\xCC\x90\xBF\x00\x94\x94\x92"
23657 			  "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
23658 			  "\xF4\x95\x5D\x4F",
23659 		.rlen	= 68,
23660 	}, {
23661 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23662 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23663 			  "\x22\x43\x3C",
23664 		.klen	= 19,
23665 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
23666 		.input	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
23667 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
23668 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
23669 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
23670 		.ilen	= 32,
23671 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
23672 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
23673 			  "\x3A\x23\x4B\xFD",
23674 		.alen	= 20,
23675 		.result	= "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
23676 			  "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
23677 			  "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
23678 			  "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
23679 			  "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
23680 			  "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
23681 		.rlen	= 48,
23682 	}
23683 };
23684 
23685 static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[]	= {
23686 	{ /* Generated using Crypto++ */
23687 		.key	= zeroed_string,
23688 		.klen	= 19,
23689 		.iv	= zeroed_string,
23690 		.result	= zeroed_string,
23691 		.rlen	= 16,
23692 		.assoc	= zeroed_string,
23693 		.alen	= 16,
23694 		.input	= "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
23695 			  "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
23696 			  "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
23697 			  "\x27\x50\x01\xAC\x03\x33\x39\xFB",
23698 		.ilen	= 32,
23699 	},{
23700 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23701 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23702 			  "\x00\x00\x00",
23703 		.klen	= 19,
23704 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23705 		.result	= zeroed_string,
23706 		.rlen	= 16,
23707 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x00"
23708 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23709 		.alen	= 16,
23710 		.input	= "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
23711 			  "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
23712 			  "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
23713 			  "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
23714 		.ilen	= 32,
23715 
23716 	}, {
23717 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23718 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23719 			  "\x00\x00\x00",
23720 		.klen	= 19,
23721 		.iv	= zeroed_string,
23722 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23723 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23724 		.rlen	= 16,
23725 		.assoc	= zeroed_string,
23726 		.alen	= 16,
23727 		.input	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23728 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23729 			  "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
23730 			  "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
23731 		.ilen	= 32,
23732 	}, {
23733 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23734 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23735 			  "\x00\x00\x00",
23736 		.klen	= 19,
23737 		.iv	= zeroed_string,
23738 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23739 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23740 		.rlen	= 16,
23741 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23742 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23743 		.alen	= 16,
23744 		.input	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23745 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23746 			  "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
23747 			  "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
23748 		.ilen	= 32,
23749 	}, {
23750 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23751 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23752 			  "\x00\x00\x00",
23753 		.klen	= 19,
23754 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23755 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23756 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23757 		.rlen	= 16,
23758 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23759 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23760 		.alen	= 16,
23761 		.input	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23762 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23763 			  "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
23764 			  "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
23765 		.ilen	= 32,
23766 	}, {
23767 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23768 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23769 			  "\x00\x00\x00",
23770 		.klen	= 19,
23771 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23772 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23773 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23774 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23775 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23776 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23777 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23778 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23779 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23780 		.rlen	= 64,
23781 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23782 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23783 		.alen	= 16,
23784 		.input	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23785 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23786 			  "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
23787 			  "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
23788 			  "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
23789 			  "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
23790 			  "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
23791 			  "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
23792 			  "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
23793 			  "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
23794 		.ilen	= 80,
23795 	}, {
23796 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
23797 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23798 			  "\x00\x00\x00",
23799 		.klen	= 19,
23800 		.iv	= "\x00\x00\x45\x67\x89\xab\xcd\xef",
23801 		.result	= "\xff\xff\xff\xff\xff\xff\xff\xff"
23802 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23803 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23804 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23805 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23806 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23807 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23808 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23809 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23810 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23811 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23812 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23813 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23814 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23815 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23816 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23817 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23818 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23819 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23820 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23821 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23822 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23823 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23824 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
23825 		.rlen	= 192,
23826 		.assoc	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
23827 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
23828 			  "\x89\xab\xcd\xef",
23829 		.alen	= 20,
23830 		.input	= "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
23831 			  "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
23832 			  "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
23833 			  "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
23834 			  "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
23835 			  "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
23836 			  "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
23837 			  "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
23838 			  "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
23839 			  "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
23840 			  "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
23841 			  "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
23842 			  "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
23843 			  "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
23844 			  "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
23845 			  "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
23846 			  "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
23847 			  "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
23848 			  "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
23849 			  "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
23850 			  "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
23851 			  "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
23852 			  "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
23853 			  "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
23854 			  "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
23855 			  "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
23856 		.ilen	= 208,
23857 	}, { /* From draft-mcgrew-gcm-test-01 */
23858 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23859 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23860 			  "\x2E\x44\x3B",
23861 		.klen	= 19,
23862 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
23863 		.result	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
23864 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
23865 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
23866 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
23867 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
23868 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
23869 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
23870 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
23871 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
23872 		.rlen	= 72,
23873 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
23874 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
23875 			  "\x3B\x24\x4C\xFE",
23876 		.alen	= 20,
23877 		.input	= "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
23878 			  "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
23879 			  "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
23880 			  "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
23881 			  "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
23882 			  "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
23883 			  "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
23884 			  "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
23885 			  "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
23886 			  "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
23887 			  "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
23888 		.ilen	= 88,
23889 	}, {
23890 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23891 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
23892 			  "\xCA\xFE\xBA",
23893 		.klen	= 19,
23894 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23895 		.result	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
23896 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
23897 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
23898 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
23899 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
23900 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
23901 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
23902 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
23903 		.rlen	= 64,
23904 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
23905 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23906 		.alen	= 16,
23907 		.input	= "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
23908 			  "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
23909 			  "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
23910 			  "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
23911 			  "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
23912 			  "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
23913 			  "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
23914 			  "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
23915 			  "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
23916 			  "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
23917 		.ilen	= 80,
23918 	}, {
23919 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23920 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23921 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23922 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23923 			  "\x11\x22\x33",
23924 		.klen	= 35,
23925 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
23926 		.result	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
23927 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
23928 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
23929 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
23930 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
23931 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
23932 			  "\x01\x02\x02\x01",
23933 		.rlen	= 52,
23934 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
23935 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
23936 		.alen	= 16,
23937 		.input	= "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
23938 			  "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
23939 			  "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
23940 			  "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
23941 			  "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
23942 			  "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
23943 			  "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
23944 			  "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
23945 			  "\x5A\x48\x6A\x3E",
23946 		.ilen	= 68,
23947 	}, {
23948 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
23949 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
23950 			  "\x00\x00\x00",
23951 		.klen	= 19,
23952 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
23953 		.result	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
23954 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
23955 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
23956 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
23957 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23958 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23959 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
23960 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
23961 		.rlen	= 64,
23962 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
23963 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23964 		.alen	= 16,
23965 		.input	= "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
23966 			  "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
23967 			  "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
23968 			  "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
23969 			  "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
23970 			  "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
23971 			  "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
23972 			  "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
23973 			  "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
23974 			  "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
23975 		.ilen	= 80,
23976 	}, {
23977 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23978 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23979 			  "\x57\x69\x0E",
23980 		.klen	= 19,
23981 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23982 		.result	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
23983 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
23984 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
23985 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
23986 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23987 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23988 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
23989 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
23990 		.rlen	= 64,
23991 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23992 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23993 			  "\xA2\xFC\xA1\xA3",
23994 		.alen	= 20,
23995 		.input	= "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
23996 			  "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
23997 			  "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
23998 			  "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
23999 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
24000 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
24001 			  "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
24002 			  "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
24003 			  "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
24004 			  "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
24005 		.ilen	= 80,
24006 	}, {
24007 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24008 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24009 			  "\x57\x69\x0E",
24010 		.klen	= 19,
24011 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24012 		.result	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
24013 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
24014 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
24015 			  "\x01\x02\x02\x01",
24016 		.rlen	= 28,
24017 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24018 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24019 			  "\xA2\xFC\xA1\xA3",
24020 		.alen	= 20,
24021 		.input	= "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
24022 			  "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
24023 			  "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
24024 			  "\xA1\xE5\x90\x40\x05\x37\x45\x70"
24025 			  "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
24026 			  "\x08\xB4\x22\xE4",
24027 		.ilen	= 44,
24028 	}, {
24029 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24030 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
24031 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24032 			  "\xCA\xFE\xBA",
24033 		.klen	= 27,
24034 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24035 		.result	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
24036 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
24037 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
24038 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
24039 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
24040 		.rlen	= 40,
24041 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
24042 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24043 		.alen	= 16,
24044 		.input	= "\x05\x22\x15\xD1\x52\x56\x85\x04"
24045 			  "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
24046 			  "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
24047 			  "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
24048 			  "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
24049 			  "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
24050 			  "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
24051 		.ilen	= 56,
24052 	}, {
24053 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24054 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24055 			  "\xDE\xCA\xF8",
24056 		.klen	= 19,
24057 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
24058 		.result	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
24059 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
24060 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
24061 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
24062 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
24063 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
24064 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
24065 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
24066 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
24067 			  "\x23\x01\x01\x01",
24068 		.rlen	= 76,
24069 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
24070 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
24071 			  "\xCE\xFA\xCE\x74",
24072 		.alen	= 20,
24073 		.input	= "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
24074 			  "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
24075 			  "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
24076 			  "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
24077 			  "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
24078 			  "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
24079 			  "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
24080 			  "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
24081 			  "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
24082 			  "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
24083 			  "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
24084 			  "\x12\x25\x0B\xF9",
24085 		.ilen	= 92,
24086 	}, {
24087 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24088 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24089 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24090 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24091 			  "\x73\x61\x6C",
24092 		.klen	= 35,
24093 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
24094 		.result	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
24095 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
24096 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
24097 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
24098 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
24099 		.rlen	= 40,
24100 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
24101 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
24102 			  "\x69\x76\x65\x63",
24103 		.alen	= 20,
24104 		.input	= "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
24105 			  "\x2C\x64\x87\x46\x1E\x34\x10\x05"
24106 			  "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
24107 			  "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
24108 			  "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
24109 			  "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
24110 			  "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
24111 		.ilen	= 56,
24112 	}, {
24113 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24114 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24115 			  "\x57\x69\x0E",
24116 		.klen	= 19,
24117 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24118 		.result	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
24119 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
24120 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
24121 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
24122 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
24123 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
24124 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
24125 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
24126 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
24127 			  "\x15\x01\x01\x01",
24128 		.rlen	= 76,
24129 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24130 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24131 			  "\xA2\xFC\xA1\xA3",
24132 		.alen	= 20,
24133 		.input	= "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
24134 			  "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
24135 			  "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
24136 			  "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
24137 			  "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
24138 			  "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
24139 			  "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
24140 			  "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
24141 			  "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
24142 			  "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
24143 			  "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
24144 			  "\xCC\xF7\x46\x6F",
24145 		.ilen	= 92,
24146 	}, {
24147 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24148 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24149 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24150 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24151 			  "\x73\x61\x6C",
24152 		.klen	= 35,
24153 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
24154 		.result	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
24155 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
24156 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
24157 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
24158 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
24159 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
24160 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
24161 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
24162 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
24163 		.rlen	= 72,
24164 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
24165 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
24166 			  "\x69\x76\x65\x63",
24167 		.alen	= 20,
24168 		.input	= "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
24169 			  "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
24170 			  "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
24171 			  "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
24172 			  "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
24173 			  "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
24174 			  "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
24175 			  "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
24176 			  "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
24177 			  "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
24178 			  "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
24179 		.ilen	= 88,
24180 	}, {
24181 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
24182 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
24183 			  "\xD9\x66\x42",
24184 		.klen	= 19,
24185 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
24186 		.result	= "\x01\x02\x02\x01",
24187 		.rlen	= 4,
24188 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
24189 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
24190 		.alen	= 16,
24191 		.input	= "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
24192 			  "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
24193 			  "\xF7\x61\x24\x62",
24194 		.ilen	= 20,
24195 	}, {
24196 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24197 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24198 			  "\xDE\xCA\xF8",
24199 		.klen	= 19,
24200 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
24201 		.result	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
24202 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
24203 			  "\x62\x65\x00\x01",
24204 		.rlen	= 20,
24205 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
24206 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
24207 			  "\xCE\xFA\xCE\x74",
24208 		.alen	= 20,
24209 		.input	= "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
24210 			  "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
24211 			  "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
24212 			  "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
24213 			  "\x17\x17\x65\xAD",
24214 		.ilen	= 36,
24215 	}, {
24216 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
24217 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
24218 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
24219 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
24220 			  "\x74\x75\x72",
24221 		.klen	= 35,
24222 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
24223 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
24224 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
24225 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
24226 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
24227 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24228 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24229 			  "\x01\x02\x02\x01",
24230 		.rlen	= 52,
24231 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
24232 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
24233 			  "\x67\x65\x74\x6D",
24234 		.alen	= 20,
24235 		.input	= "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
24236 			  "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
24237 			  "\x48\x59\x80\x18\x1A\x18\x1A\x04"
24238 			  "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
24239 			  "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
24240 			  "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
24241 			  "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
24242 			  "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
24243 			  "\x39\xDB\xC8\xDC",
24244 		.ilen	= 68,
24245 	}, {
24246 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24247 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24248 			  "\x57\x69\x0E",
24249 		.klen	= 19,
24250 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24251 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
24252 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
24253 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
24254 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
24255 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24256 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24257 			  "\x01\x02\x02\x01",
24258 		.rlen	= 52,
24259 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
24260 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24261 			  "\xA2\xFC\xA1\xA3",
24262 		.alen	= 20,
24263 		.input	= "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
24264 			  "\x10\x60\x54\x25\xEB\x80\x04\x93"
24265 			  "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
24266 			  "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
24267 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
24268 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
24269 			  "\x44\xCC\x90\xBF\x00\x94\x94\x92"
24270 			  "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
24271 			  "\xF4\x95\x5D\x4F",
24272 		.ilen	= 68,
24273 	}, {
24274 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
24275 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
24276 			  "\x22\x43\x3C",
24277 		.klen	= 19,
24278 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
24279 		.result	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
24280 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
24281 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
24282 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
24283 		.rlen	= 32,
24284 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
24285 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
24286 			  "\x3A\x23\x4B\xFD",
24287 		.alen	= 20,
24288 		.input	= "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
24289 			  "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
24290 			  "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
24291 			  "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
24292 			  "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
24293 			  "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
24294 		.ilen	= 48,
24295 	}
24296 };
24297 
24298 /*
24299  * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
24300  */
24301 static const struct aead_testvec rfc7539_enc_tv_template[] = {
24302 	{
24303 		.key	= "\x80\x81\x82\x83\x84\x85\x86\x87"
24304 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24305 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
24306 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
24307 		.klen	= 32,
24308 		.iv	= "\x07\x00\x00\x00\x40\x41\x42\x43"
24309 			  "\x44\x45\x46\x47",
24310 		.assoc	= "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
24311 			  "\xc4\xc5\xc6\xc7",
24312 		.alen	= 12,
24313 		.input	= "\x4c\x61\x64\x69\x65\x73\x20\x61"
24314 			  "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
24315 			  "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
24316 			  "\x74\x68\x65\x20\x63\x6c\x61\x73"
24317 			  "\x73\x20\x6f\x66\x20\x27\x39\x39"
24318 			  "\x3a\x20\x49\x66\x20\x49\x20\x63"
24319 			  "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
24320 			  "\x65\x72\x20\x79\x6f\x75\x20\x6f"
24321 			  "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
24322 			  "\x74\x69\x70\x20\x66\x6f\x72\x20"
24323 			  "\x74\x68\x65\x20\x66\x75\x74\x75"
24324 			  "\x72\x65\x2c\x20\x73\x75\x6e\x73"
24325 			  "\x63\x72\x65\x65\x6e\x20\x77\x6f"
24326 			  "\x75\x6c\x64\x20\x62\x65\x20\x69"
24327 			  "\x74\x2e",
24328 		.ilen	= 114,
24329 		.result	= "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
24330 			  "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
24331 			  "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
24332 			  "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
24333 			  "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
24334 			  "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
24335 			  "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
24336 			  "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
24337 			  "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
24338 			  "\x98\x03\xae\xe3\x28\x09\x1b\x58"
24339 			  "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
24340 			  "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
24341 			  "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
24342 			  "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
24343 			  "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
24344 			  "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
24345 			  "\x06\x91",
24346 		.rlen	= 130,
24347 	}, {
24348 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24349 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24350 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24351 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
24352 		.klen	= 32,
24353 		.iv	= "\x00\x00\x00\x00\x01\x02\x03\x04"
24354 			  "\x05\x06\x07\x08",
24355 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
24356 			  "\x00\x00\x4e\x91",
24357 		.alen	= 12,
24358 		.input	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24359 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
24360 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
24361 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24362 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24363 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
24364 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24365 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24366 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24367 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
24368 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
24369 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24370 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24371 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24372 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
24373 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24374 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
24375 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24376 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
24377 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24378 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
24379 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
24380 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24381 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
24382 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
24383 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
24384 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24385 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
24386 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24387 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
24388 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24389 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24390 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24391 			  "\x9d",
24392 		.ilen	= 265,
24393 		.result	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24394 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24395 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24396 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24397 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24398 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24399 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24400 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24401 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24402 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24403 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24404 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24405 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24406 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24407 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24408 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24409 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24410 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24411 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24412 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24413 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24414 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24415 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24416 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24417 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24418 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24419 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24420 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24421 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24422 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24423 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24424 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24425 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24426 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24427 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24428 			  "\x38",
24429 		.rlen	= 281,
24430 	},
24431 };
24432 
24433 static const struct aead_testvec rfc7539_dec_tv_template[] = {
24434 	{
24435 		.key	= "\x80\x81\x82\x83\x84\x85\x86\x87"
24436 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24437 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
24438 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
24439 		.klen	= 32,
24440 		.iv	= "\x07\x00\x00\x00\x40\x41\x42\x43"
24441 			  "\x44\x45\x46\x47",
24442 		.assoc	= "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
24443 			  "\xc4\xc5\xc6\xc7",
24444 		.alen	= 12,
24445 		.input	= "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
24446 			  "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
24447 			  "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
24448 			  "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
24449 			  "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
24450 			  "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
24451 			  "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
24452 			  "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
24453 			  "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
24454 			  "\x98\x03\xae\xe3\x28\x09\x1b\x58"
24455 			  "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
24456 			  "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
24457 			  "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
24458 			  "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
24459 			  "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
24460 			  "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
24461 			  "\x06\x91",
24462 		.ilen	= 130,
24463 		.result	= "\x4c\x61\x64\x69\x65\x73\x20\x61"
24464 			  "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
24465 			  "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
24466 			  "\x74\x68\x65\x20\x63\x6c\x61\x73"
24467 			  "\x73\x20\x6f\x66\x20\x27\x39\x39"
24468 			  "\x3a\x20\x49\x66\x20\x49\x20\x63"
24469 			  "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
24470 			  "\x65\x72\x20\x79\x6f\x75\x20\x6f"
24471 			  "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
24472 			  "\x74\x69\x70\x20\x66\x6f\x72\x20"
24473 			  "\x74\x68\x65\x20\x66\x75\x74\x75"
24474 			  "\x72\x65\x2c\x20\x73\x75\x6e\x73"
24475 			  "\x63\x72\x65\x65\x6e\x20\x77\x6f"
24476 			  "\x75\x6c\x64\x20\x62\x65\x20\x69"
24477 			  "\x74\x2e",
24478 		.rlen	= 114,
24479 	}, {
24480 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24481 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24482 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24483 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
24484 		.klen	= 32,
24485 		.iv	= "\x00\x00\x00\x00\x01\x02\x03\x04"
24486 			  "\x05\x06\x07\x08",
24487 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
24488 			  "\x00\x00\x4e\x91",
24489 		.alen	= 12,
24490 		.input	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24491 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24492 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24493 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24494 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24495 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24496 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24497 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24498 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24499 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24500 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24501 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24502 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24503 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24504 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24505 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24506 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24507 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24508 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24509 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24510 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24511 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24512 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24513 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24514 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24515 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24516 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24517 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24518 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24519 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24520 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24521 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24522 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24523 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24524 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24525 			  "\x38",
24526 		.ilen	= 281,
24527 		.result	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24528 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
24529 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
24530 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24531 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24532 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
24533 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24534 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24535 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24536 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
24537 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
24538 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24539 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24540 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24541 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
24542 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24543 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
24544 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24545 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
24546 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24547 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
24548 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
24549 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24550 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
24551 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
24552 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
24553 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24554 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
24555 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24556 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
24557 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24558 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24559 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24560 			  "\x9d",
24561 		.rlen	= 265,
24562 	},
24563 };
24564 
24565 /*
24566  * draft-irtf-cfrg-chacha20-poly1305
24567  */
24568 static const struct aead_testvec rfc7539esp_enc_tv_template[] = {
24569 	{
24570 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24571 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24572 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24573 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
24574 			  "\x00\x00\x00\x00",
24575 		.klen	= 36,
24576 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
24577 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
24578 			  "\x00\x00\x4e\x91\x01\x02\x03\x04"
24579 			  "\x05\x06\x07\x08",
24580 		.alen	= 20,
24581 		.input	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24582 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
24583 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
24584 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24585 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24586 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
24587 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24588 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24589 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24590 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
24591 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
24592 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24593 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24594 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24595 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
24596 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24597 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
24598 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24599 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
24600 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24601 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
24602 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
24603 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24604 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
24605 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
24606 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
24607 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24608 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
24609 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24610 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
24611 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24612 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24613 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24614 			  "\x9d",
24615 		.ilen	= 265,
24616 		.result	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24617 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24618 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24619 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24620 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24621 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24622 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24623 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24624 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24625 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24626 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24627 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24628 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24629 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24630 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24631 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24632 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24633 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24634 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24635 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24636 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24637 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24638 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24639 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24640 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24641 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24642 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24643 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24644 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24645 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24646 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24647 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24648 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24649 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24650 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24651 			  "\x38",
24652 		.rlen	= 281,
24653 	},
24654 };
24655 
24656 static const struct aead_testvec rfc7539esp_dec_tv_template[] = {
24657 	{
24658 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24659 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24660 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24661 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
24662 			  "\x00\x00\x00\x00",
24663 		.klen	= 36,
24664 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
24665 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
24666 			  "\x00\x00\x4e\x91\x01\x02\x03\x04"
24667 			  "\x05\x06\x07\x08",
24668 		.alen	= 20,
24669 		.input	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24670 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24671 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24672 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24673 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24674 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24675 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24676 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24677 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24678 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24679 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24680 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24681 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24682 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24683 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24684 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24685 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24686 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24687 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24688 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24689 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24690 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24691 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24692 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24693 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24694 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24695 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24696 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24697 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24698 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24699 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24700 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24701 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24702 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24703 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24704 			  "\x38",
24705 		.ilen	= 281,
24706 		.result	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24707 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
24708 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
24709 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24710 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24711 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
24712 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24713 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24714 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24715 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
24716 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
24717 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24718 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24719 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24720 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
24721 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24722 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
24723 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24724 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
24725 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24726 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
24727 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
24728 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24729 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
24730 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
24731 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
24732 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24733 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
24734 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24735 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
24736 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24737 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24738 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24739 			  "\x9d",
24740 		.rlen	= 265,
24741 	},
24742 };
24743 
24744 /*
24745  * All key wrapping test vectors taken from
24746  * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
24747  *
24748  * Note: as documented in keywrap.c, the ivout for encryption is the first
24749  * semiblock of the ciphertext from the test vector. For decryption, iv is
24750  * the first semiblock of the ciphertext.
24751  */
24752 static const struct cipher_testvec aes_kw_enc_tv_template[] = {
24753 	{
24754 		.key	= "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
24755 			  "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
24756 		.klen	= 16,
24757 		.input	= "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
24758 			  "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
24759 		.ilen	= 16,
24760 		.result	= "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
24761 			  "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
24762 		.rlen	= 16,
24763 		.iv_out	= "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
24764 	},
24765 };
24766 
24767 static const struct cipher_testvec aes_kw_dec_tv_template[] = {
24768 	{
24769 		.key	= "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
24770 			  "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
24771 			  "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
24772 			  "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
24773 		.klen	= 32,
24774 		.input	= "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
24775 			  "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
24776 		.ilen	= 16,
24777 		.result	= "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
24778 			  "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
24779 		.rlen	= 16,
24780 		.iv	= "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
24781 	},
24782 };
24783 
24784 /*
24785  * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
24786  * test vectors, taken from Appendix B.2.9 and B.2.10:
24787  *     http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
24788  * Only AES-128 is supported at this time.
24789  */
24790 static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
24791 	{
24792 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24793 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24794 		.klen	= 16,
24795 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24796 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
24797 		.dtlen	= 16,
24798 		.v	= "\x80\x00\x00\x00\x00\x00\x00\x00"
24799 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24800 		.vlen	= 16,
24801 		.result	= "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
24802 			  "\x84\x79\x66\x85\xc1\x2f\x76\x41",
24803 		.rlen	= 16,
24804 		.loops	= 1,
24805 	}, {
24806 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24807 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24808 		.klen	= 16,
24809 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24810 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
24811 		.dtlen	= 16,
24812 		.v	= "\xc0\x00\x00\x00\x00\x00\x00\x00"
24813 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24814 		.vlen	= 16,
24815 		.result	= "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
24816 			  "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
24817 		.rlen	= 16,
24818 		.loops	= 1,
24819 	}, {
24820 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24821 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24822 		.klen	= 16,
24823 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24824 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
24825 		.dtlen	= 16,
24826 		.v	= "\xe0\x00\x00\x00\x00\x00\x00\x00"
24827 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24828 		.vlen	= 16,
24829 		.result	= "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
24830 			  "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
24831 		.rlen	= 16,
24832 		.loops	= 1,
24833 	}, {
24834 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24835 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24836 		.klen	= 16,
24837 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24838 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
24839 		.dtlen	= 16,
24840 		.v	= "\xf0\x00\x00\x00\x00\x00\x00\x00"
24841 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24842 		.vlen	= 16,
24843 		.result	= "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
24844 			  "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
24845 		.rlen	= 16,
24846 		.loops	= 1,
24847 	}, {
24848 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24849 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24850 		.klen	= 16,
24851 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24852 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
24853 		.dtlen	= 16,
24854 		.v	= "\xf8\x00\x00\x00\x00\x00\x00\x00"
24855 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24856 		.vlen	= 16,
24857 		.result	= "\x05\x25\x92\x46\x61\x79\xd2\xcb"
24858 			  "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
24859 		.rlen	= 16,
24860 		.loops	= 1,
24861 	}, {	/* Monte Carlo Test */
24862 		.key	= "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
24863 			  "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
24864 		.klen	= 16,
24865 		.dt	= "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
24866 			  "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
24867 		.dtlen	= 16,
24868 		.v	= "\x57\x2c\x8e\x76\x87\x26\x47\x97"
24869 			  "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
24870 		.vlen	= 16,
24871 		.result	= "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
24872 			  "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
24873 		.rlen	= 16,
24874 		.loops	= 10000,
24875 	},
24876 };
24877 
24878 /*
24879  * SP800-90A DRBG Test vectors from
24880  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
24881  *
24882  * Test vectors for DRBG with prediction resistance. All types of DRBGs
24883  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
24884  * w/o personalization string, w/ and w/o additional input string).
24885  */
24886 static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
24887 	{
24888 		.entropy = (unsigned char *)
24889 			"\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
24890 			"\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
24891 			"\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
24892 			"\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
24893 		.entropylen = 48,
24894 		.entpra = (unsigned char *)
24895 			"\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
24896 			"\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
24897 			"\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
24898 		.entprb = (unsigned char *)
24899 			"\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
24900 			"\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
24901 			"\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
24902 		.entprlen = 32,
24903 		.expected = (unsigned char *)
24904 			"\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
24905 			"\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
24906 			"\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
24907 			"\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
24908 			"\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
24909 			"\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
24910 			"\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
24911 			"\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
24912 			"\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
24913 			"\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
24914 			"\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
24915 		.expectedlen = 128,
24916 		.addtla = NULL,
24917 		.addtlb = NULL,
24918 		.addtllen = 0,
24919 		.pers = NULL,
24920 		.perslen = 0,
24921 	}, {
24922 		.entropy = (unsigned char *)
24923 			"\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
24924 			"\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
24925 			"\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
24926 			"\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
24927 		.entropylen = 48,
24928 		.entpra = (unsigned char *)
24929 			"\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
24930 			"\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
24931 			"\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
24932 		.entprb = (unsigned char *)
24933 			"\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
24934 			"\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
24935 			"\x76\xaa\x55\x04\x8b\x0a\x72\x95",
24936 		.entprlen = 32,
24937 		.expected = (unsigned char *)
24938 			"\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
24939 			"\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
24940 			"\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
24941 			"\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
24942 			"\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
24943 			"\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
24944 			"\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
24945 			"\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
24946 			"\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
24947 			"\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
24948 			"\x50\x47\xa3\x63\x81\x16\xaf\x19",
24949 		.expectedlen = 128,
24950 		.addtla = (unsigned char *)
24951 			"\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
24952 			"\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
24953 			"\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
24954 		.addtlb = (unsigned char *)
24955 			"\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
24956 			"\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
24957 			"\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
24958 		.addtllen = 32,
24959 		.pers = NULL,
24960 		.perslen = 0,
24961 	}, {
24962 		.entropy = (unsigned char *)
24963 			"\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
24964 			"\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
24965 			"\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
24966 			"\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
24967 		.entropylen = 48,
24968 		.entpra = (unsigned char *)
24969 			"\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
24970 			"\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
24971 			"\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
24972 		.entprb = (unsigned char *)
24973 			"\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
24974 			"\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
24975 			"\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
24976 		.entprlen = 32,
24977 		.expected = (unsigned char *)
24978 			"\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
24979 			"\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
24980 			"\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
24981 			"\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
24982 			"\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
24983 			"\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
24984 			"\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
24985 			"\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
24986 			"\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
24987 			"\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
24988 			"\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
24989 		.expectedlen = 128,
24990 		.addtla = NULL,
24991 		.addtlb = NULL,
24992 		.addtllen = 0,
24993 		.pers = (unsigned char *)
24994 			"\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
24995 			"\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
24996 			"\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
24997 		.perslen = 32,
24998 	}, {
24999 		.entropy = (unsigned char *)
25000 			"\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
25001 			"\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
25002 			"\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
25003 			"\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
25004 		.entropylen = 48,
25005 		.entpra = (unsigned char *)
25006 			"\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
25007 			"\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
25008 			"\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
25009 		.entprb = (unsigned char *)
25010 			"\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
25011 			"\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
25012 			"\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
25013 		.entprlen = 32,
25014 		.expected = (unsigned char *)
25015 			"\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
25016 			"\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
25017 			"\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
25018 			"\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
25019 			"\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
25020 			"\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
25021 			"\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
25022 			"\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
25023 			"\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
25024 			"\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
25025 			"\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
25026 		.expectedlen = 128,
25027 		.addtla = (unsigned char *)
25028 			"\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
25029 			"\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
25030 			"\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
25031 		.addtlb = (unsigned char *)
25032 			"\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
25033 			"\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
25034 			"\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
25035 		.addtllen = 32,
25036 		.pers = (unsigned char *)
25037 			"\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
25038 			"\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
25039 			"\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
25040 		.perslen = 32,
25041 	},
25042 };
25043 
25044 static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
25045 	{
25046 		.entropy = (unsigned char *)
25047 			"\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
25048 			"\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
25049 			"\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
25050 			"\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
25051 		.entropylen = 48,
25052 		.entpra = (unsigned char *)
25053 			"\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
25054 			"\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
25055 			"\xe2\x9a\x29\x51\x81\x56\x9f\x54",
25056 		.entprb = (unsigned char *)
25057 			"\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
25058 			"\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
25059 			"\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
25060 		.entprlen = 32,
25061 		.expected = (unsigned char *)
25062 			"\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
25063 			"\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
25064 			"\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
25065 			"\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
25066 			"\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
25067 			"\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
25068 			"\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
25069 			"\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
25070 			"\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
25071 			"\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
25072 			"\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
25073 		.expectedlen = 128,
25074 		.addtla = NULL,
25075 		.addtlb = NULL,
25076 		.addtllen = 0,
25077 		.pers = NULL,
25078 		.perslen = 0,
25079 	}, {
25080 		.entropy = (unsigned char *)
25081 			"\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
25082 			"\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
25083 			"\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
25084 			"\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
25085 		.entropylen = 48,
25086 		.entpra = (unsigned char *)
25087 			"\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
25088 			"\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
25089 			"\x46\xd9\x26\xa2\x19\xd4\x94\x43",
25090 		.entprb = (unsigned char *)
25091 			"\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
25092 			"\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
25093 			"\x51\x78\x72\xb2\x79\xfd\x2c\xff",
25094 		.entprlen = 32,
25095 		.expected = (unsigned char *)
25096 			"\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
25097 			"\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
25098 			"\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
25099 			"\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
25100 			"\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
25101 			"\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
25102 			"\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
25103 			"\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
25104 			"\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
25105 			"\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
25106 			"\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
25107 		.expectedlen = 128,
25108 		.addtla = (unsigned char *)
25109 			"\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
25110 			"\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
25111 			"\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
25112 		.addtlb = (unsigned char *)
25113 			"\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
25114 			"\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
25115 			"\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
25116 		.addtllen = 32,
25117 		.pers = NULL,
25118 		.perslen = 0,
25119 	}, {
25120 		.entropy = (unsigned char *)
25121 			"\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
25122 			"\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
25123 			"\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
25124 			"\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
25125 		.entropylen = 48,
25126 		.entpra = (unsigned char *)
25127 			"\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
25128 			"\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
25129 			"\x20\x28\xad\xf2\x60\xd7\xcd\x45",
25130 		.entprb = (unsigned char *)
25131 			"\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
25132 			"\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
25133 			"\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
25134 		.entprlen = 32,
25135 		.expected = (unsigned char *)
25136 			"\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
25137 			"\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
25138 			"\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
25139 			"\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
25140 			"\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
25141 			"\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
25142 			"\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
25143 			"\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
25144 			"\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
25145 			"\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
25146 			"\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
25147 		.expectedlen = 128,
25148 		.addtla = NULL,
25149 		.addtlb = NULL,
25150 		.addtllen = 0,
25151 		.pers = (unsigned char *)
25152 			"\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
25153 			"\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
25154 			"\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
25155 		.perslen = 32,
25156 	}, {
25157 		.entropy = (unsigned char *)
25158 			"\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
25159 			"\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
25160 			"\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
25161 			"\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
25162 		.entropylen = 48,
25163 		.entpra = (unsigned char *)
25164 			"\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
25165 			"\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
25166 			"\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
25167 		.entprb = (unsigned char *)
25168 			"\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
25169 			"\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
25170 			"\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
25171 		.entprlen = 32,
25172 		.expected = (unsigned char *)
25173 			"\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
25174 			"\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
25175 			"\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
25176 			"\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
25177 			"\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
25178 			"\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
25179 			"\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
25180 			"\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
25181 			"\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
25182 			"\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
25183 			"\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
25184 		.expectedlen = 128,
25185 		.addtla = (unsigned char *)
25186 			"\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
25187 			"\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
25188 			"\x86\x88\x55\x28\xc1\x69\xdd\x76",
25189 		.addtlb = (unsigned char *)
25190 			"\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
25191 			"\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
25192 			"\x00\x99\x2a\xdd\x0a\x00\x50\x82",
25193 		.addtllen = 32,
25194 		.pers = (unsigned char *)
25195 			"\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
25196 			"\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
25197 			"\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
25198 		.perslen = 32,
25199 	},
25200 };
25201 
25202 static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
25203 	{
25204 		.entropy = (unsigned char *)
25205 			"\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
25206 			"\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
25207 		.entropylen = 24,
25208 		.entpra = (unsigned char *)
25209 			"\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
25210 			"\xb4\xec\x80\xb1",
25211 		.entprb = (unsigned char *)
25212 			"\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
25213 			"\x28\x07\xeb\xc2",
25214 		.entprlen = 16,
25215 		.expected = (unsigned char *)
25216 			"\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
25217 			"\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
25218 			"\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
25219 			"\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
25220 			"\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
25221 			"\x8a\xf1\x23\xa8",
25222 		.expectedlen = 64,
25223 		.addtla = NULL,
25224 		.addtlb = NULL,
25225 		.addtllen = 0,
25226 		.pers = NULL,
25227 		.perslen = 0,
25228 	}, {
25229 		.entropy = (unsigned char *)
25230 			"\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
25231 			"\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
25232 		.entropylen = 24,
25233 		.entpra = (unsigned char *)
25234 			"\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
25235 			"\x67\xd1\x08\xf8",
25236 		.entprb = (unsigned char *)
25237 			"\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
25238 			"\xd4\xba\x04\x58",
25239 		.entprlen = 16,
25240 		.expected = (unsigned char *)
25241 			"\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
25242 			"\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
25243 			"\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
25244 			"\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
25245 			"\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
25246 			"\xc1\x02\x41\x82",
25247 		.expectedlen = 64,
25248 		.addtla = (unsigned char *)
25249 			"\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
25250 			"\xeb\xb3\x01\x76",
25251 		.addtlb = (unsigned char *)
25252 			"\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
25253 			"\xd0\x7f\xcc\x43",
25254 		.addtllen = 16,
25255 		.pers = NULL,
25256 		.perslen = 0,
25257 	}, {
25258 		.entropy = (unsigned char *)
25259 			"\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
25260 			"\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
25261 		.entropylen = 24,
25262 		.entpra = (unsigned char *)
25263 			"\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
25264 			"\xc3\x0f\xe3\xb0",
25265 		.entprb = (unsigned char *)
25266 			"\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
25267 			"\xd6\x9c\x9d\xe8",
25268 		.entprlen = 16,
25269 		.expected = (unsigned char *)
25270 			"\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
25271 			"\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
25272 			"\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
25273 			"\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
25274 			"\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
25275 			"\x72\x82\x0c\xcf",
25276 		.expectedlen = 64,
25277 		.addtla = NULL,
25278 		.addtlb = NULL,
25279 		.addtllen = 0,
25280 		.pers = (unsigned char *)
25281 			"\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
25282 			"\x21\x52\xb3\xad",
25283 		.perslen = 16,
25284 	}, {
25285 		.entropy = (unsigned char *)
25286 			"\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
25287 			"\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
25288 		.entropylen = 24,
25289 		.entpra = (unsigned char *)
25290 			"\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
25291 			"\xc4\x2c\xe8\x10",
25292 		.entprb = (unsigned char *)
25293 			"\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
25294 			"\x08\xf7\xa5\x01",
25295 		.entprlen = 16,
25296 		.expected = (unsigned char *)
25297 			"\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
25298 			"\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
25299 			"\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
25300 			"\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
25301 			"\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
25302 			"\x23\xc5\x1f\x68",
25303 		.expectedlen = 64,
25304 		.addtla = (unsigned char *)
25305 			"\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
25306 			"\x23\x6d\xad\x1d",
25307 		.addtlb = (unsigned char *)
25308 			"\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
25309 			"\xbc\x59\x31\x8c",
25310 		.addtllen = 16,
25311 		.pers = (unsigned char *)
25312 			"\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
25313 			"\x37\x3c\x5c\x0b",
25314 		.perslen = 16,
25315 	},
25316 };
25317 
25318 /*
25319  * SP800-90A DRBG Test vectors from
25320  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
25321  *
25322  * Test vectors for DRBG without prediction resistance. All types of DRBGs
25323  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
25324  * w/o personalization string, w/ and w/o additional input string).
25325  */
25326 static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
25327 	{
25328 		.entropy = (unsigned char *)
25329 			"\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
25330 			"\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
25331 			"\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
25332 			"\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
25333 		.entropylen = 48,
25334 		.expected = (unsigned char *)
25335 			"\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
25336 			"\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
25337 			"\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
25338 			"\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
25339 			"\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
25340 			"\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
25341 			"\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
25342 			"\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
25343 			"\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
25344 			"\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
25345 			"\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
25346 		.expectedlen = 128,
25347 		.addtla = NULL,
25348 		.addtlb = NULL,
25349 		.addtllen = 0,
25350 		.pers = NULL,
25351 		.perslen = 0,
25352 	}, {
25353 		.entropy = (unsigned char *)
25354 			"\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
25355 			"\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
25356 			"\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
25357 			"\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
25358 		.entropylen = 48,
25359 		.expected = (unsigned char *)
25360 			"\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
25361 			"\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
25362 			"\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
25363 			"\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
25364 			"\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
25365 			"\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
25366 			"\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
25367 			"\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
25368 			"\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
25369 			"\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
25370 			"\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
25371 		.expectedlen = 128,
25372 		.addtla = (unsigned char *)
25373 			"\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
25374 			"\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
25375 			"\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
25376 		.addtlb = (unsigned char *)
25377 			"\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
25378 			"\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
25379 			"\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
25380 		.addtllen = 32,
25381 		.pers = NULL,
25382 		.perslen = 0,
25383 	}, {
25384 		.entropy = (unsigned char *)
25385 			"\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
25386 			"\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
25387 			"\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
25388 			"\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
25389 		.entropylen = 48,
25390 		.expected = (unsigned char *)
25391 			"\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
25392 			"\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
25393 			"\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
25394 			"\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
25395 			"\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
25396 			"\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
25397 			"\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
25398 			"\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
25399 			"\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
25400 			"\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
25401 			"\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
25402 		.expectedlen = 128,
25403 		.addtla = NULL,
25404 		.addtlb = NULL,
25405 		.addtllen = 0,
25406 		.pers = (unsigned char *)
25407 			"\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
25408 			"\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
25409 			"\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
25410 		.perslen = 32,
25411 	}, {
25412 		.entropy = (unsigned char *)
25413 			"\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
25414 			"\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
25415 			"\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
25416 			"\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
25417 		.entropylen = 48,
25418 		.expected = (unsigned char *)
25419 			"\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
25420 			"\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
25421 			"\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
25422 			"\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
25423 			"\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
25424 			"\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
25425 			"\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
25426 			"\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
25427 			"\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
25428 			"\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
25429 			"\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
25430 		.expectedlen = 128,
25431 		.addtla = (unsigned char *)
25432 			"\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
25433 			"\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
25434 			"\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
25435 		.addtlb = (unsigned char *)
25436 			"\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
25437 			"\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
25438 			"\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
25439 		.addtllen = 32,
25440 		.pers = (unsigned char *)
25441 			"\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
25442 			"\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
25443 			"\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
25444 		.perslen = 32,
25445 	},
25446 };
25447 
25448 static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
25449 	{
25450 		.entropy = (unsigned char *)
25451 			"\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
25452 			"\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
25453 			"\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
25454 			"\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
25455 		.entropylen = 48,
25456 		.expected = (unsigned char *)
25457 			"\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
25458 			"\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
25459 			"\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
25460 			"\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
25461 			"\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
25462 			"\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
25463 			"\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
25464 			"\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
25465 			"\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
25466 			"\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
25467 			"\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
25468 		.expectedlen = 128,
25469 		.addtla = NULL,
25470 		.addtlb = NULL,
25471 		.addtllen = 0,
25472 		.pers = NULL,
25473 		.perslen = 0,
25474 	}, {
25475 		.entropy = (unsigned char *)
25476 			"\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
25477 			"\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
25478 			"\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
25479 			"\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
25480 		.entropylen = 48,
25481 		.expected = (unsigned char *)
25482 			"\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
25483 			"\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
25484 			"\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
25485 			"\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
25486 			"\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
25487 			"\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
25488 			"\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
25489 			"\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
25490 			"\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
25491 			"\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
25492 			"\x50\x9a\x8c\x85\x90\x87\x03\x9c",
25493 		.expectedlen = 128,
25494 		.addtla = (unsigned char *)
25495 			"\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
25496 			"\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
25497 			"\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
25498 		.addtlb = (unsigned char *)
25499 			"\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
25500 			"\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
25501 			"\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
25502 		.addtllen = 32,
25503 		.pers = NULL,
25504 		.perslen = 0,
25505 	}, {
25506 		.entropy = (unsigned char *)
25507 			"\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
25508 			"\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
25509 			"\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
25510 			"\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
25511 		.entropylen = 48,
25512 		.expected = (unsigned char *)
25513 			"\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
25514 			"\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
25515 			"\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
25516 			"\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
25517 			"\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
25518 			"\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
25519 			"\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
25520 			"\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
25521 			"\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
25522 			"\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
25523 			"\x10\x37\x41\x03\x0c\xcc\x3a\x56",
25524 		.expectedlen = 128,
25525 		.addtla = NULL,
25526 		.addtlb = NULL,
25527 		.addtllen = 0,
25528 		.pers = (unsigned char *)
25529 			"\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
25530 			"\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
25531 			"\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
25532 		.perslen = 32,
25533 	}, {
25534 		.entropy = (unsigned char *)
25535 			"\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
25536 			"\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
25537 			"\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
25538 			"\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
25539 		.entropylen = 48,
25540 		.expected = (unsigned char *)
25541 			"\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
25542 			"\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
25543 			"\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
25544 			"\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
25545 			"\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
25546 			"\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
25547 			"\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
25548 			"\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
25549 			"\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
25550 			"\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
25551 			"\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
25552 		.expectedlen = 128,
25553 		.addtla = (unsigned char *)
25554 			"\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
25555 			"\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
25556 			"\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
25557 		.addtlb = (unsigned char *)
25558 			"\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
25559 			"\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
25560 			"\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
25561 		.addtllen = 32,
25562 		.pers = (unsigned char *)
25563 			"\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
25564 			"\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
25565 			"\x36\x60\x3b\xca\x37\xc9\xee\x29",
25566 		.perslen = 32,
25567 	},
25568 };
25569 
25570 static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
25571 	{
25572 		.entropy = (unsigned char *)
25573 			"\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
25574 			"\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
25575 			"\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
25576 			"\xac\x9b\xbb\x00",
25577 		.entropylen = 40,
25578 		.expected = (unsigned char *)
25579 			"\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
25580 			"\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
25581 			"\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
25582 			"\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
25583 			"\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
25584 			"\x9a\x9d\xf1\x0d",
25585 		.expectedlen = 64,
25586 		.addtla = NULL,
25587 		.addtlb = NULL,
25588 		.addtllen = 0,
25589 		.pers = NULL,
25590 		.perslen = 0,
25591 	},
25592 };
25593 
25594 static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
25595 	{
25596 		.entropy = (unsigned char *)
25597 			"\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
25598 			"\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
25599 			"\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
25600 			"\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
25601 		.entropylen = 48,
25602 		.expected = (unsigned char *)
25603 			"\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
25604 			"\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
25605 			"\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
25606 			"\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
25607 			"\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
25608 			"\xb4\xf0\x7e\x1d",
25609 		.expectedlen = 64,
25610 		.addtla = NULL,
25611 		.addtlb = NULL,
25612 		.addtllen = 0,
25613 		.pers = NULL,
25614 		.perslen = 0,
25615 	},
25616 };
25617 
25618 static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
25619 	{
25620 		.entropy = (unsigned char *)
25621 			"\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
25622 			"\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
25623 		.entropylen = 24,
25624 		.expected = (unsigned char *)
25625 			"\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
25626 			"\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
25627 			"\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
25628 			"\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
25629 			"\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
25630 			"\xcb\x2d\xd6\xb0",
25631 		.expectedlen = 64,
25632 		.addtla = NULL,
25633 		.addtlb = NULL,
25634 		.addtllen = 0,
25635 		.pers = NULL,
25636 		.perslen = 0,
25637 	}, {
25638 		.entropy = (unsigned char *)
25639 			"\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
25640 			"\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
25641 		.entropylen = 24,
25642 		.expected = (unsigned char *)
25643 			"\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
25644 			"\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
25645 			"\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
25646 			"\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
25647 			"\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
25648 			"\xc3\xdf\xb3\x81",
25649 		.expectedlen = 64,
25650 		.addtla = (unsigned char *)
25651 			"\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
25652 			"\x91\x4d\x81\x56",
25653 		.addtlb = (unsigned char *)
25654 			"\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
25655 			"\x4a\x55\xd1\xc6",
25656 		.addtllen = 16,
25657 		.pers = NULL,
25658 		.perslen = 0,
25659 	}, {
25660 		.entropy = (unsigned char *)
25661 			"\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
25662 			"\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
25663 		.entropylen = 24,
25664 		.expected = (unsigned char *)
25665 			"\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
25666 			"\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
25667 			"\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
25668 			"\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
25669 			"\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
25670 			"\x34\x30\x0c\x3d",
25671 		.expectedlen = 64,
25672 		.addtla = NULL,
25673 		.addtlb = NULL,
25674 		.addtllen = 0,
25675 		.pers = (unsigned char *)
25676 			"\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
25677 			"\x0b\xc6\x97\x54",
25678 		.perslen = 16,
25679 	}, {
25680 		.entropy = (unsigned char *)
25681 			"\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
25682 			"\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
25683 		.entropylen = 24,
25684 		.expected = (unsigned char *)
25685 			"\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
25686 			"\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
25687 			"\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
25688 			"\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
25689 			"\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
25690 			"\x2b\x49\x1e\x5c",
25691 		.expectedlen = 64,
25692 		.addtla = (unsigned char *)
25693 			"\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
25694 			"\x44\x85\xe7\xfe",
25695 		.addtlb = (unsigned char *)
25696 			"\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
25697 			"\x82\x16\x62\x7f",
25698 		.addtllen = 16,
25699 		.pers = (unsigned char *)
25700 			"\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
25701 			"\x8e\xcf\xe0\x02",
25702 		.perslen = 16,
25703 	},
25704 };
25705 
25706 /* Cast5 test vectors from RFC 2144 */
25707 static const struct cipher_testvec cast5_enc_tv_template[] = {
25708 	{
25709 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
25710 			  "\x23\x45\x67\x89\x34\x56\x78\x9a",
25711 		.klen	= 16,
25712 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
25713 		.ilen	= 8,
25714 		.result	= "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
25715 		.rlen	= 8,
25716 	}, {
25717 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
25718 			  "\x23\x45",
25719 		.klen	= 10,
25720 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
25721 		.ilen	= 8,
25722 		.result	= "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
25723 		.rlen	= 8,
25724 	}, {
25725 		.key	= "\x01\x23\x45\x67\x12",
25726 		.klen	= 5,
25727 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
25728 		.ilen	= 8,
25729 		.result	= "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
25730 		.rlen	= 8,
25731 	}, { /* Generated from TF test vectors */
25732 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25733 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
25734 		.klen	= 16,
25735 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
25736 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25737 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25738 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25739 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25740 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25741 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25742 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25743 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25744 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25745 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25746 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25747 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25748 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25749 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25750 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25751 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25752 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25753 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25754 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25755 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25756 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25757 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25758 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25759 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25760 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25761 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25762 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25763 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25764 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25765 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25766 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25767 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25768 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25769 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25770 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25771 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25772 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25773 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25774 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25775 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25776 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25777 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25778 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25779 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25780 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25781 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25782 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25783 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25784 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25785 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25786 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25787 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25788 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25789 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25790 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25791 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25792 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25793 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25794 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25795 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25796 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25797 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
25798 		.ilen	= 496,
25799 		.result	= "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
25800 			  "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
25801 			  "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
25802 			  "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
25803 			  "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
25804 			  "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
25805 			  "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
25806 			  "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
25807 			  "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
25808 			  "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
25809 			  "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
25810 			  "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
25811 			  "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
25812 			  "\xED\x34\x35\x78\x6B\x91\xC9\x32"
25813 			  "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
25814 			  "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
25815 			  "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
25816 			  "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
25817 			  "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
25818 			  "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
25819 			  "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
25820 			  "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
25821 			  "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
25822 			  "\x78\x75\x37\x55\xC1\xF5\x90\x40"
25823 			  "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
25824 			  "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
25825 			  "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
25826 			  "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
25827 			  "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
25828 			  "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
25829 			  "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
25830 			  "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
25831 			  "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
25832 			  "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
25833 			  "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
25834 			  "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
25835 			  "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
25836 			  "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
25837 			  "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
25838 			  "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
25839 			  "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
25840 			  "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
25841 			  "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
25842 			  "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
25843 			  "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
25844 			  "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
25845 			  "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
25846 			  "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
25847 			  "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
25848 			  "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
25849 			  "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
25850 			  "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
25851 			  "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
25852 			  "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
25853 			  "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
25854 			  "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
25855 			  "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
25856 			  "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
25857 			  "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
25858 			  "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
25859 			  "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
25860 			  "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
25861 		.rlen	= 496,
25862 		.also_non_np = 1,
25863 		.np	= 3,
25864 		.tap	= { 496 - 20, 4, 16 },
25865 	},
25866 };
25867 
25868 static const struct cipher_testvec cast5_dec_tv_template[] = {
25869 	{
25870 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
25871 			  "\x23\x45\x67\x89\x34\x56\x78\x9a",
25872 		.klen	= 16,
25873 		.input	= "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
25874 		.ilen	= 8,
25875 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
25876 		.rlen	= 8,
25877 	}, {
25878 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
25879 			  "\x23\x45",
25880 		.klen	= 10,
25881 		.input	= "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
25882 		.ilen	= 8,
25883 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
25884 		.rlen	= 8,
25885 	}, {
25886 		.key	= "\x01\x23\x45\x67\x12",
25887 		.klen	= 5,
25888 		.input	= "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
25889 		.ilen	= 8,
25890 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
25891 		.rlen	= 8,
25892 	}, { /* Generated from TF test vectors */
25893 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25894 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
25895 		.klen	= 16,
25896 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
25897 		.input	= "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
25898 			  "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
25899 			  "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
25900 			  "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
25901 			  "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
25902 			  "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
25903 			  "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
25904 			  "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
25905 			  "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
25906 			  "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
25907 			  "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
25908 			  "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
25909 			  "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
25910 			  "\xED\x34\x35\x78\x6B\x91\xC9\x32"
25911 			  "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
25912 			  "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
25913 			  "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
25914 			  "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
25915 			  "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
25916 			  "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
25917 			  "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
25918 			  "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
25919 			  "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
25920 			  "\x78\x75\x37\x55\xC1\xF5\x90\x40"
25921 			  "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
25922 			  "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
25923 			  "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
25924 			  "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
25925 			  "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
25926 			  "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
25927 			  "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
25928 			  "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
25929 			  "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
25930 			  "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
25931 			  "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
25932 			  "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
25933 			  "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
25934 			  "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
25935 			  "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
25936 			  "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
25937 			  "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
25938 			  "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
25939 			  "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
25940 			  "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
25941 			  "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
25942 			  "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
25943 			  "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
25944 			  "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
25945 			  "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
25946 			  "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
25947 			  "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
25948 			  "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
25949 			  "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
25950 			  "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
25951 			  "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
25952 			  "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
25953 			  "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
25954 			  "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
25955 			  "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
25956 			  "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
25957 			  "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
25958 			  "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
25959 		.ilen	= 496,
25960 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25961 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25962 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25963 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25964 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25965 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25966 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25967 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25968 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25969 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25970 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25971 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25972 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25973 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25974 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25975 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25976 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25977 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25978 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25979 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25980 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25981 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25982 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25983 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25984 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25985 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25986 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25987 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25988 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25989 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25990 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25991 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25992 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25993 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25994 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25995 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25996 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25997 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25998 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25999 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26000 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26001 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26002 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26003 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26004 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26005 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26006 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26007 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26008 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26009 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26010 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26011 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26012 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26013 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26014 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26015 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26016 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26017 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26018 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26019 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26020 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26021 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26022 		.rlen	= 496,
26023 		.also_non_np = 1,
26024 		.np	= 3,
26025 		.tap	= { 496 - 20, 4, 16 },
26026 	},
26027 };
26028 
26029 static const struct cipher_testvec cast5_cbc_enc_tv_template[] = {
26030 	{ /* Generated from TF test vectors */
26031 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26032 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26033 		.klen	= 16,
26034 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26035 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26036 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26037 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26038 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26039 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26040 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26041 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26042 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26043 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26044 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26045 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26046 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26047 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26048 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26049 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26050 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26051 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26052 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26053 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26054 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26055 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26056 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26057 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26058 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26059 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26060 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26061 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26062 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26063 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26064 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26065 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26066 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26067 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26068 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26069 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26070 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26071 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26072 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26073 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26074 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26075 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26076 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26077 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26078 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26079 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26080 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26081 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26082 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26083 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26084 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26085 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26086 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26087 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26088 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26089 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26090 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26091 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26092 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26093 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26094 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26095 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26096 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26097 		.ilen	= 496,
26098 		.result	= "\x05\x28\xCE\x61\x90\x80\xE1\x78"
26099 			  "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
26100 			  "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
26101 			  "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
26102 			  "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
26103 			  "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
26104 			  "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
26105 			  "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
26106 			  "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
26107 			  "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
26108 			  "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
26109 			  "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
26110 			  "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
26111 			  "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
26112 			  "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
26113 			  "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
26114 			  "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
26115 			  "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
26116 			  "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
26117 			  "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
26118 			  "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
26119 			  "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
26120 			  "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
26121 			  "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
26122 			  "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
26123 			  "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
26124 			  "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
26125 			  "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
26126 			  "\x90\x12\x37\x49\x27\x98\x69\x18"
26127 			  "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
26128 			  "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
26129 			  "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
26130 			  "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
26131 			  "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
26132 			  "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
26133 			  "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
26134 			  "\x03\x55\x0E\x02\x41\x4A\x45\x06"
26135 			  "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
26136 			  "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
26137 			  "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
26138 			  "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
26139 			  "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
26140 			  "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
26141 			  "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
26142 			  "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
26143 			  "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
26144 			  "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
26145 			  "\x11\xB4\x18\x17\x1A\x65\x92\x56"
26146 			  "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
26147 			  "\x1A\x01\x22\x45\x17\x62\x52\x6C"
26148 			  "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
26149 			  "\x32\x66\x6F\x23\x7F\x94\x36\x88"
26150 			  "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
26151 			  "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
26152 			  "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
26153 			  "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
26154 			  "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
26155 			  "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
26156 			  "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
26157 			  "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
26158 			  "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
26159 			  "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
26160 		.rlen	= 496,
26161 		.also_non_np = 1,
26162 		.np	= 3,
26163 		.tap	= { 496 - 20, 4, 16 },
26164 	},
26165 };
26166 
26167 static const struct cipher_testvec cast5_cbc_dec_tv_template[] = {
26168 	{ /* Generated from TF test vectors */
26169 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26170 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26171 		.klen	= 16,
26172 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26173 		.input	= "\x05\x28\xCE\x61\x90\x80\xE1\x78"
26174 			  "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
26175 			  "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
26176 			  "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
26177 			  "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
26178 			  "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
26179 			  "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
26180 			  "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
26181 			  "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
26182 			  "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
26183 			  "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
26184 			  "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
26185 			  "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
26186 			  "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
26187 			  "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
26188 			  "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
26189 			  "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
26190 			  "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
26191 			  "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
26192 			  "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
26193 			  "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
26194 			  "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
26195 			  "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
26196 			  "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
26197 			  "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
26198 			  "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
26199 			  "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
26200 			  "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
26201 			  "\x90\x12\x37\x49\x27\x98\x69\x18"
26202 			  "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
26203 			  "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
26204 			  "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
26205 			  "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
26206 			  "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
26207 			  "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
26208 			  "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
26209 			  "\x03\x55\x0E\x02\x41\x4A\x45\x06"
26210 			  "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
26211 			  "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
26212 			  "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
26213 			  "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
26214 			  "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
26215 			  "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
26216 			  "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
26217 			  "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
26218 			  "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
26219 			  "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
26220 			  "\x11\xB4\x18\x17\x1A\x65\x92\x56"
26221 			  "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
26222 			  "\x1A\x01\x22\x45\x17\x62\x52\x6C"
26223 			  "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
26224 			  "\x32\x66\x6F\x23\x7F\x94\x36\x88"
26225 			  "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
26226 			  "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
26227 			  "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
26228 			  "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
26229 			  "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
26230 			  "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
26231 			  "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
26232 			  "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
26233 			  "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
26234 			  "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
26235 		.ilen	= 496,
26236 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26237 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26238 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26239 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26240 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26241 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26242 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26243 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26244 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26245 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26246 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26247 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26248 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26249 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26250 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26251 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26252 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26253 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26254 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26255 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26256 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26257 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26258 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26259 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26260 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26261 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26262 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26263 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26264 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26265 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26266 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26267 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26268 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26269 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26270 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26271 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26272 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26273 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26274 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26275 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26276 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26277 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26278 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26279 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26280 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26281 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26282 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26283 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26284 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26285 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26286 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26287 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26288 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26289 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26290 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26291 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26292 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26293 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26294 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26295 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26296 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26297 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26298 		.rlen	= 496,
26299 		.also_non_np = 1,
26300 		.np	= 3,
26301 		.tap	= { 496 - 20, 4, 16 },
26302 	},
26303 };
26304 
26305 static const struct cipher_testvec cast5_ctr_enc_tv_template[] = {
26306 	{ /* Generated from TF test vectors */
26307 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26308 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26309 		.klen	= 16,
26310 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26311 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26312 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26313 			  "\x3A",
26314 		.ilen	= 17,
26315 		.result	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26316 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26317 			  "\x0C",
26318 		.rlen	= 17,
26319 	}, { /* Generated from TF test vectors */
26320 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26321 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26322 		.klen	= 16,
26323 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26324 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26325 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26326 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26327 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26328 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26329 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26330 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26331 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26332 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26333 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26334 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26335 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26336 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26337 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26338 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26339 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26340 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26341 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26342 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26343 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26344 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26345 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26346 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26347 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26348 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26349 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26350 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26351 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26352 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26353 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26354 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26355 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26356 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26357 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26358 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26359 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26360 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26361 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26362 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26363 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26364 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26365 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26366 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26367 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26368 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26369 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26370 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26371 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26372 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26373 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26374 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26375 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26376 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26377 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26378 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26379 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26380 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26381 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26382 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26383 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26384 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26385 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26386 		.ilen	= 496,
26387 		.result	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26388 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26389 			  "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
26390 			  "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
26391 			  "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
26392 			  "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
26393 			  "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
26394 			  "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
26395 			  "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
26396 			  "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
26397 			  "\x88\x18\x52\x56\x48\x58\xD1\x6B"
26398 			  "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
26399 			  "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
26400 			  "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
26401 			  "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
26402 			  "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
26403 			  "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
26404 			  "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
26405 			  "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
26406 			  "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
26407 			  "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
26408 			  "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
26409 			  "\x44\x67\x90\x20\xAC\x41\xDF\x43"
26410 			  "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
26411 			  "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
26412 			  "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
26413 			  "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
26414 			  "\xAE\x59\x0F\x07\x88\x79\x53\x26"
26415 			  "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
26416 			  "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
26417 			  "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
26418 			  "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
26419 			  "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
26420 			  "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
26421 			  "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
26422 			  "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
26423 			  "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
26424 			  "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
26425 			  "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
26426 			  "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
26427 			  "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
26428 			  "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
26429 			  "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
26430 			  "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
26431 			  "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
26432 			  "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
26433 			  "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
26434 			  "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
26435 			  "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
26436 			  "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
26437 			  "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
26438 			  "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
26439 			  "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
26440 			  "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
26441 			  "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
26442 			  "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
26443 			  "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
26444 			  "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
26445 			  "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
26446 			  "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
26447 			  "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
26448 			  "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
26449 		.rlen	= 496,
26450 		.also_non_np = 1,
26451 		.np	= 3,
26452 		.tap	= { 496 - 20, 4, 16 },
26453 	},
26454 };
26455 
26456 static const struct cipher_testvec cast5_ctr_dec_tv_template[] = {
26457 	{ /* Generated from TF test vectors */
26458 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26459 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26460 		.klen	= 16,
26461 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26462 		.input	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26463 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26464 			  "\x0C",
26465 		.ilen	= 17,
26466 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26467 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26468 			  "\x3A",
26469 		.rlen	= 17,
26470 	}, { /* Generated from TF test vectors */
26471 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26472 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26473 		.klen	= 16,
26474 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26475 		.input	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26476 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26477 			  "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
26478 			  "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
26479 			  "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
26480 			  "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
26481 			  "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
26482 			  "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
26483 			  "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
26484 			  "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
26485 			  "\x88\x18\x52\x56\x48\x58\xD1\x6B"
26486 			  "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
26487 			  "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
26488 			  "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
26489 			  "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
26490 			  "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
26491 			  "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
26492 			  "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
26493 			  "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
26494 			  "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
26495 			  "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
26496 			  "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
26497 			  "\x44\x67\x90\x20\xAC\x41\xDF\x43"
26498 			  "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
26499 			  "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
26500 			  "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
26501 			  "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
26502 			  "\xAE\x59\x0F\x07\x88\x79\x53\x26"
26503 			  "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
26504 			  "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
26505 			  "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
26506 			  "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
26507 			  "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
26508 			  "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
26509 			  "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
26510 			  "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
26511 			  "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
26512 			  "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
26513 			  "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
26514 			  "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
26515 			  "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
26516 			  "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
26517 			  "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
26518 			  "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
26519 			  "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
26520 			  "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
26521 			  "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
26522 			  "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
26523 			  "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
26524 			  "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
26525 			  "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
26526 			  "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
26527 			  "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
26528 			  "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
26529 			  "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
26530 			  "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
26531 			  "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
26532 			  "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
26533 			  "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
26534 			  "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
26535 			  "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
26536 			  "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
26537 		.ilen	= 496,
26538 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26539 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26540 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26541 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26542 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26543 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26544 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26545 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26546 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26547 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26548 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26549 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26550 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26551 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26552 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26553 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26554 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26555 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26556 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26557 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26558 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26559 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26560 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26561 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26562 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26563 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26564 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26565 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26566 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26567 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26568 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26569 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26570 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26571 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26572 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26573 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26574 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26575 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26576 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26577 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26578 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26579 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26580 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26581 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26582 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26583 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26584 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26585 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26586 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26587 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26588 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26589 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26590 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26591 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26592 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26593 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26594 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26595 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26596 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26597 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26598 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26599 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26600 		.rlen	= 496,
26601 		.also_non_np = 1,
26602 		.np	= 3,
26603 		.tap	= { 496 - 20, 4, 16 },
26604 	},
26605 };
26606 
26607 /*
26608  * ARC4 test vectors from OpenSSL
26609  */
26610 static const struct cipher_testvec arc4_enc_tv_template[] = {
26611 	{
26612 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26613 		.klen	= 8,
26614 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26615 		.ilen	= 8,
26616 		.result	= "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
26617 		.rlen	= 8,
26618 	}, {
26619 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26620 		.klen	= 8,
26621 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26622 		.ilen	= 8,
26623 		.result	= "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
26624 		.rlen	= 8,
26625 	}, {
26626 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26627 		.klen	= 8,
26628 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26629 		.ilen	= 8,
26630 		.result	= "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
26631 		.rlen	= 8,
26632 	}, {
26633 		.key	= "\xef\x01\x23\x45",
26634 		.klen	= 4,
26635 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
26636 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
26637 			  "\x00\x00\x00\x00",
26638 		.ilen	= 20,
26639 		.result	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26640 			  "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
26641 			  "\x36\xb6\x78\x58",
26642 		.rlen	= 20,
26643 	}, {
26644 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26645 		.klen	= 8,
26646 		.input	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26647 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26648 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26649 			  "\x12\x34\x56\x78",
26650 		.ilen	= 28,
26651 		.result	= "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
26652 			  "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
26653 			  "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
26654 			  "\x40\x01\x1e\xcf",
26655 		.rlen	= 28,
26656 	}, {
26657 		.key	= "\xef\x01\x23\x45",
26658 		.klen	= 4,
26659 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
26660 			  "\x00\x00",
26661 		.ilen	= 10,
26662 		.result	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26663 			  "\xbd\x61",
26664 		.rlen	= 10,
26665 	}, {
26666 		.key	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
26667 			"\x00\x00\x00\x00\x00\x00\x00\x00",
26668 		.klen	= 16,
26669 		.input	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
26670 		.ilen	= 8,
26671 		.result	= "\x69\x72\x36\x59\x1B\x52\x42\xB1",
26672 		.rlen	= 8,
26673 	},
26674 };
26675 
26676 static const struct cipher_testvec arc4_dec_tv_template[] = {
26677 	{
26678 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26679 		.klen	= 8,
26680 		.input	= "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
26681 		.ilen	= 8,
26682 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26683 		.rlen	= 8,
26684 	}, {
26685 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26686 		.klen	= 8,
26687 		.input	= "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
26688 		.ilen	= 8,
26689 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26690 		.rlen	= 8,
26691 	}, {
26692 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26693 		.klen	= 8,
26694 		.input	= "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
26695 		.ilen	= 8,
26696 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26697 		.rlen	= 8,
26698 	}, {
26699 		.key	= "\xef\x01\x23\x45",
26700 		.klen	= 4,
26701 		.input	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26702 			  "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
26703 			  "\x36\xb6\x78\x58",
26704 		.ilen	= 20,
26705 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
26706 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
26707 			  "\x00\x00\x00\x00",
26708 		.rlen	= 20,
26709 	}, {
26710 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26711 		.klen	= 8,
26712 		.input	= "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
26713 			  "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
26714 			  "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
26715 			  "\x40\x01\x1e\xcf",
26716 		.ilen	= 28,
26717 		.result	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26718 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26719 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26720 			  "\x12\x34\x56\x78",
26721 		.rlen	= 28,
26722 	}, {
26723 		.key	= "\xef\x01\x23\x45",
26724 		.klen	= 4,
26725 		.input	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26726 			  "\xbd\x61",
26727 		.ilen	= 10,
26728 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
26729 			  "\x00\x00",
26730 		.rlen	= 10,
26731 	}, {
26732 		.key	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
26733 			"\x00\x00\x00\x00\x00\x00\x00\x00",
26734 		.klen	= 16,
26735 		.input	= "\x69\x72\x36\x59\x1B\x52\x42\xB1",
26736 		.ilen	= 8,
26737 		.result	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
26738 		.rlen	= 8,
26739 	},
26740 };
26741 
26742 /*
26743  * TEA test vectors
26744  */
26745 static const struct cipher_testvec tea_enc_tv_template[] = {
26746 	{
26747 		.key    = zeroed_string,
26748 		.klen	= 16,
26749 		.input  = zeroed_string,
26750 		.ilen	= 8,
26751 		.result	= "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
26752 		.rlen	= 8,
26753 	}, {
26754 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
26755 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26756 		.klen	= 16,
26757 		.input	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26758 		.ilen	= 8,
26759 		.result	= "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
26760 		.rlen	= 8,
26761 	}, {
26762 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
26763 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26764 		.klen	= 16,
26765 		.input	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26766 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
26767 		.ilen	= 16,
26768 		.result	= "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
26769 			  "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
26770 		.rlen	= 16,
26771 	}, {
26772 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
26773 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
26774 		.klen	= 16,
26775 		.input	= "\x54\x65\x61\x20\x69\x73\x20\x67"
26776 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
26777 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
26778 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
26779 		.ilen	= 32,
26780 		.result	= "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
26781 			  "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
26782 			  "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
26783 			  "\x07\x89\x73\xc2\x45\x92\xc6\x90",
26784 		.rlen	= 32,
26785 	}
26786 };
26787 
26788 static const struct cipher_testvec tea_dec_tv_template[] = {
26789 	{
26790 		.key    = zeroed_string,
26791 		.klen	= 16,
26792 		.input	= "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
26793 		.ilen	= 8,
26794 		.result = zeroed_string,
26795 		.rlen	= 8,
26796 	}, {
26797 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
26798 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26799 		.klen	= 16,
26800 		.input	= "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
26801 		.ilen	= 8,
26802 		.result	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26803 		.rlen	= 8,
26804 	}, {
26805 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
26806 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26807 		.klen	= 16,
26808 		.input	= "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
26809 			  "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
26810 		.ilen   = 16,
26811 		.result	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26812 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
26813 		.rlen	= 16,
26814 	}, {
26815 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
26816 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
26817 		.klen	= 16,
26818 		.input	= "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
26819 			  "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
26820 			  "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
26821 			  "\x07\x89\x73\xc2\x45\x92\xc6\x90",
26822 		.ilen	= 32,
26823 		.result	= "\x54\x65\x61\x20\x69\x73\x20\x67"
26824 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
26825 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
26826 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
26827 		.rlen	= 32,
26828 	}
26829 };
26830 
26831 /*
26832  * XTEA test vectors
26833  */
26834 static const struct cipher_testvec xtea_enc_tv_template[] = {
26835 	{
26836 		.key    = zeroed_string,
26837 		.klen	= 16,
26838 		.input  = zeroed_string,
26839 		.ilen	= 8,
26840 		.result	= "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
26841 		.rlen	= 8,
26842 	}, {
26843 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
26844 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26845 		.klen	= 16,
26846 		.input	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26847 		.ilen	= 8,
26848 		.result	= "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
26849 		.rlen	= 8,
26850 	}, {
26851 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
26852 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26853 		.klen	= 16,
26854 		.input	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26855 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
26856 		.ilen	= 16,
26857 		.result	= "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
26858 			  "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
26859 		.rlen	= 16,
26860 	}, {
26861 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
26862 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
26863 		.klen	= 16,
26864 		.input	= "\x54\x65\x61\x20\x69\x73\x20\x67"
26865 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
26866 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
26867 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
26868 		.ilen	= 32,
26869 		.result	= "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
26870 			  "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
26871 			  "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
26872 			  "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
26873 		.rlen	= 32,
26874 	}
26875 };
26876 
26877 static const struct cipher_testvec xtea_dec_tv_template[] = {
26878 	{
26879 		.key    = zeroed_string,
26880 		.klen	= 16,
26881 		.input	= "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
26882 		.ilen	= 8,
26883 		.result = zeroed_string,
26884 		.rlen	= 8,
26885 	}, {
26886 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
26887 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26888 		.klen	= 16,
26889 		.input	= "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
26890 		.ilen	= 8,
26891 		.result	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26892 		.rlen	= 8,
26893 	}, {
26894 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
26895 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26896 		.klen	= 16,
26897 		.input	= "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
26898 			  "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
26899 		.ilen	= 16,
26900 		.result	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26901 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
26902 		.rlen	= 16,
26903 	}, {
26904 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
26905 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
26906 		.klen	= 16,
26907 		.input	= "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
26908 			  "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
26909 			  "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
26910 			  "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
26911 		.ilen	= 32,
26912 		.result	= "\x54\x65\x61\x20\x69\x73\x20\x67"
26913 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
26914 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
26915 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
26916 		.rlen	= 32,
26917 	}
26918 };
26919 
26920 /*
26921  * KHAZAD test vectors.
26922  */
26923 static const struct cipher_testvec khazad_enc_tv_template[] = {
26924 	{
26925 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
26926 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
26927 		.klen	= 16,
26928 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26929 		.ilen	= 8,
26930 		.result	= "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
26931 		.rlen	= 8,
26932 	}, {
26933 		.key	= "\x38\x38\x38\x38\x38\x38\x38\x38"
26934 			  "\x38\x38\x38\x38\x38\x38\x38\x38",
26935 		.klen	= 16,
26936 		.input	= "\x38\x38\x38\x38\x38\x38\x38\x38",
26937 		.ilen	= 8,
26938 		.result	= "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
26939 		.rlen	= 8,
26940 	}, {
26941 		.key	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
26942 			"\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
26943 		.klen	= 16,
26944 		.input	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
26945 		.ilen	= 8,
26946 		.result	= "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
26947 		.rlen	= 8,
26948 	}, {
26949 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
26950 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
26951 		.klen	= 16,
26952 		.input	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
26953 		.ilen	= 8,
26954 		.result = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
26955 		.rlen	= 8,
26956 	}, {
26957 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
26958 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
26959 		.klen	= 16,
26960 		.input	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
26961 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
26962 		.ilen	= 16,
26963 		.result = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
26964 			"\x04\x74\xf5\x70\x50\x16\xd3\xb8",
26965 		.rlen	= 16,
26966 	},
26967 };
26968 
26969 static const struct cipher_testvec khazad_dec_tv_template[] = {
26970 	{
26971 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
26972 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
26973 		.klen	= 16,
26974 		.input	= "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
26975 		.ilen	= 8,
26976 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26977 		.rlen	= 8,
26978 	}, {
26979 		.key	= "\x38\x38\x38\x38\x38\x38\x38\x38"
26980 			  "\x38\x38\x38\x38\x38\x38\x38\x38",
26981 		.klen	= 16,
26982 		.input	= "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
26983 		.ilen	= 8,
26984 		.result	= "\x38\x38\x38\x38\x38\x38\x38\x38",
26985 		.rlen	= 8,
26986 	}, {
26987 		.key	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
26988 			"\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
26989 		.klen	= 16,
26990 		.input	= "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
26991 		.ilen	= 8,
26992 		.result	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
26993 		.rlen	= 8,
26994 	}, {
26995 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
26996 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
26997 		.klen	= 16,
26998 		.input  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
26999 		.ilen	= 8,
27000 		.result	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27001 		.rlen	= 8,
27002 	}, {
27003 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27004 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27005 		.klen	= 16,
27006 		.input  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
27007 			"\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27008 		.ilen	= 16,
27009 		.result	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27010 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27011 		.rlen	= 16,
27012 	},
27013 };
27014 
27015 /*
27016  * Anubis test vectors.
27017  */
27018 
27019 static const struct cipher_testvec anubis_enc_tv_template[] = {
27020 	{
27021 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27022 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27023 		.klen	= 16,
27024 		.input	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27025 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27026 		.ilen	= 16,
27027 		.result	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27028 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
27029 		.rlen	= 16,
27030 	}, {
27031 
27032 		.key	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27033 			  "\x03\x03\x03\x03\x03\x03\x03\x03"
27034 			  "\x03\x03\x03\x03",
27035 		.klen	= 20,
27036 		.input	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27037 			  "\x03\x03\x03\x03\x03\x03\x03\x03",
27038 		.ilen	= 16,
27039 		.result	= "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
27040 			  "\x87\x41\x6f\x82\x0a\x98\x64\xae",
27041 		.rlen	= 16,
27042 	}, {
27043 		.key	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27044 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27045 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27046 			  "\x24\x24\x24\x24",
27047 		.klen	= 28,
27048 		.input	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27049 			  "\x24\x24\x24\x24\x24\x24\x24\x24",
27050 		.ilen	= 16,
27051 		.result	= "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
27052 			  "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
27053 		.rlen	= 16,
27054 	}, {
27055 		.key	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27056 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27057 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27058 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27059 		.klen	= 32,
27060 		.input	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27061 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27062 		.ilen	= 16,
27063 		.result	= "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
27064 			"\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
27065 		.rlen	= 16,
27066 	}, {
27067 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27068 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27069 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27070 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27071 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27072 		.klen	= 40,
27073 		.input	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27074 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27075 		.ilen	= 16,
27076 		.result = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27077 			  "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
27078 		.rlen	= 16,
27079 	},
27080 };
27081 
27082 static const struct cipher_testvec anubis_dec_tv_template[] = {
27083 	{
27084 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27085 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27086 		.klen	= 16,
27087 		.input	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27088 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
27089 		.ilen	= 16,
27090 		.result	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27091 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27092 		.rlen	= 16,
27093 	}, {
27094 
27095 		.key	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27096 			  "\x03\x03\x03\x03\x03\x03\x03\x03"
27097 			  "\x03\x03\x03\x03",
27098 		.klen	= 20,
27099 		.input	= "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
27100 			  "\x87\x41\x6f\x82\x0a\x98\x64\xae",
27101 		.ilen	= 16,
27102 		.result	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27103 			  "\x03\x03\x03\x03\x03\x03\x03\x03",
27104 		.rlen	= 16,
27105 	}, {
27106 		.key	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27107 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27108 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27109 			  "\x24\x24\x24\x24",
27110 		.klen	= 28,
27111 		.input	= "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
27112 			  "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
27113 		.ilen	= 16,
27114 		.result	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27115 			  "\x24\x24\x24\x24\x24\x24\x24\x24",
27116 		.rlen	= 16,
27117 	}, {
27118 		.key	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27119 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27120 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27121 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27122 		.klen	= 32,
27123 		.input	= "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
27124 			"\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
27125 		.ilen	= 16,
27126 		.result	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27127 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27128 		.rlen	= 16,
27129 	}, {
27130 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27131 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27132 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27133 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27134 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27135 		.input = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27136 			 "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
27137 		.klen	= 40,
27138 		.ilen	= 16,
27139 		.result	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27140 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27141 		.rlen	= 16,
27142 	},
27143 };
27144 
27145 static const struct cipher_testvec anubis_cbc_enc_tv_template[] = {
27146 	{
27147 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27148 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27149 		.klen	= 16,
27150 		.input	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27151 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27152 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27153 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27154 		.ilen	= 32,
27155 		.result	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27156 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
27157 			  "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
27158 			  "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
27159 		.rlen	= 32,
27160 	}, {
27161 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27162 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27163 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27164 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27165 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27166 		.klen	= 40,
27167 		.input	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27168 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27169 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27170 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27171 		.ilen	= 32,
27172 		.result = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27173 			  "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
27174 			  "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
27175 			  "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
27176 		.rlen	= 32,
27177 	},
27178 };
27179 
27180 static const struct cipher_testvec anubis_cbc_dec_tv_template[] = {
27181 	{
27182 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27183 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27184 		.klen	= 16,
27185 		.input	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27186 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
27187 			  "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
27188 			  "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
27189 		.ilen	= 32,
27190 		.result	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27191 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27192 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27193 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27194 		.rlen	= 32,
27195 	}, {
27196 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27197 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27198 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27199 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27200 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27201 		.klen	= 40,
27202 		.input = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27203 			  "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
27204 			  "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
27205 			  "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
27206 		.ilen	= 32,
27207 		.result	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27208 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27209 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27210 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27211 		.rlen	= 32,
27212 	},
27213 };
27214 
27215 /*
27216  * XETA test vectors
27217  */
27218 static const struct cipher_testvec xeta_enc_tv_template[] = {
27219 	{
27220 		.key    = zeroed_string,
27221 		.klen	= 16,
27222 		.input  = zeroed_string,
27223 		.ilen	= 8,
27224 		.result	= "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
27225 		.rlen	= 8,
27226 	}, {
27227 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27228 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27229 		.klen	= 16,
27230 		.input	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27231 		.ilen	= 8,
27232 		.result	= "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
27233 		.rlen	= 8,
27234 	}, {
27235 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27236 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27237 		.klen	= 16,
27238 		.input	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27239 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27240 		.ilen	= 16,
27241 		.result	= "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
27242 			  "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
27243 		.rlen	= 16,
27244 	}, {
27245 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27246 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27247 		.klen	= 16,
27248 		.input	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27249 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27250 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27251 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27252 		.ilen	= 32,
27253 		.result	= "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
27254 			  "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
27255 			  "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
27256 			  "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
27257 		.rlen	= 32,
27258 	}
27259 };
27260 
27261 static const struct cipher_testvec xeta_dec_tv_template[] = {
27262 	{
27263 		.key    = zeroed_string,
27264 		.klen	= 16,
27265 		.input	= "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
27266 		.ilen	= 8,
27267 		.result = zeroed_string,
27268 		.rlen	= 8,
27269 	}, {
27270 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27271 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27272 		.klen	= 16,
27273 		.input	= "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
27274 		.ilen	= 8,
27275 		.result	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27276 		.rlen	= 8,
27277 	}, {
27278 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27279 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27280 		.klen	= 16,
27281 		.input	= "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
27282 			  "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
27283 		.ilen	= 16,
27284 		.result	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27285 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27286 		.rlen	= 16,
27287 	}, {
27288 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27289 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27290 		.klen	= 16,
27291 		.input	= "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
27292 			  "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
27293 			  "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
27294 			  "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
27295 		.ilen	= 32,
27296 		.result	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27297 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27298 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27299 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27300 		.rlen	= 32,
27301 	}
27302 };
27303 
27304 /*
27305  * FCrypt test vectors
27306  */
27307 static const struct cipher_testvec fcrypt_pcbc_enc_tv_template[] = {
27308 	{ /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
27309 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27310 		.klen	= 8,
27311 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27312 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27313 		.ilen	= 8,
27314 		.result	= "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
27315 		.rlen	= 8,
27316 	}, {
27317 		.key	= "\x11\x44\x77\xAA\xDD\x00\x33\x66",
27318 		.klen	= 8,
27319 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27320 		.input	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
27321 		.ilen	= 8,
27322 		.result	= "\xD8\xED\x78\x74\x77\xEC\x06\x80",
27323 		.rlen	= 8,
27324 	}, { /* From Arla */
27325 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27326 		.klen	= 8,
27327 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27328 		.input	= "The quick brown fox jumps over the lazy dogs.\0\0",
27329 		.ilen	= 48,
27330 		.result	= "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
27331 			  "\xee\xac\x98\x62\x44\x51\xe4\x84"
27332 			  "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
27333 			  "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
27334 			  "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
27335 			  "\xf8\x91\x3c\xac\x44\x22\x92\xef",
27336 		.rlen	= 48,
27337 	}, {
27338 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27339 		.klen	= 8,
27340 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27341 		.input	= "The quick brown fox jumps over the lazy dogs.\0\0",
27342 		.ilen	= 48,
27343 		.result	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27344 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27345 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27346 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27347 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27348 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27349 		.rlen	= 48,
27350 	}, { /* split-page version */
27351 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27352 		.klen	= 8,
27353 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27354 		.input	= "The quick brown fox jumps over the lazy dogs.\0\0",
27355 		.ilen	= 48,
27356 		.result	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27357 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27358 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27359 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27360 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27361 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27362 		.rlen	= 48,
27363 		.np	= 2,
27364 		.tap	= { 20, 28 },
27365 	}
27366 };
27367 
27368 static const struct cipher_testvec fcrypt_pcbc_dec_tv_template[] = {
27369 	{ /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
27370 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27371 		.klen	= 8,
27372 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27373 		.input	= "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
27374 		.ilen	= 8,
27375 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27376 		.rlen	= 8,
27377 	}, {
27378 		.key	= "\x11\x44\x77\xAA\xDD\x00\x33\x66",
27379 		.klen	= 8,
27380 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27381 		.input	= "\xD8\xED\x78\x74\x77\xEC\x06\x80",
27382 		.ilen	= 8,
27383 		.result	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
27384 		.rlen	= 8,
27385 	}, { /* From Arla */
27386 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27387 		.klen	= 8,
27388 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27389 		.input	= "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
27390 			  "\xee\xac\x98\x62\x44\x51\xe4\x84"
27391 			  "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
27392 			  "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
27393 			  "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
27394 			  "\xf8\x91\x3c\xac\x44\x22\x92\xef",
27395 		.ilen	= 48,
27396 		.result	= "The quick brown fox jumps over the lazy dogs.\0\0",
27397 		.rlen	= 48,
27398 	}, {
27399 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27400 		.klen	= 8,
27401 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27402 		.input	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27403 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27404 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27405 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27406 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27407 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27408 		.ilen	= 48,
27409 		.result	= "The quick brown fox jumps over the lazy dogs.\0\0",
27410 		.rlen	= 48,
27411 	}, { /* split-page version */
27412 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27413 		.klen	= 8,
27414 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27415 		.input	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27416 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27417 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27418 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27419 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27420 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27421 		.ilen	= 48,
27422 		.result	= "The quick brown fox jumps over the lazy dogs.\0\0",
27423 		.rlen	= 48,
27424 		.np	= 2,
27425 		.tap	= { 20, 28 },
27426 	}
27427 };
27428 
27429 /*
27430  * CAMELLIA test vectors.
27431  */
27432 static const struct cipher_testvec camellia_enc_tv_template[] = {
27433 	{
27434 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27435 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27436 		.klen	= 16,
27437 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27438 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27439 		.ilen	= 16,
27440 		.result	= "\x67\x67\x31\x38\x54\x96\x69\x73"
27441 			  "\x08\x57\x06\x56\x48\xea\xbe\x43",
27442 		.rlen	= 16,
27443 	}, {
27444 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27445 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27446 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
27447 		.klen	= 24,
27448 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27449 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27450 		.ilen	= 16,
27451 		.result	= "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
27452 			  "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
27453 		.rlen	= 16,
27454 	}, {
27455 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27456 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27457 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
27458 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
27459 		.klen	= 32,
27460 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27461 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27462 		.ilen	= 16,
27463 		.result	= "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
27464 			  "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
27465 		.rlen	= 16,
27466 	}, { /* Generated with Crypto++ */
27467 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
27468 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
27469 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
27470 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
27471 		.klen	= 32,
27472 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27473 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27474 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
27475 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27476 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27477 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27478 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27479 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27480 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27481 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27482 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27483 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27484 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27485 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
27486 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
27487 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
27488 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
27489 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
27490 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
27491 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
27492 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
27493 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
27494 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
27495 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
27496 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
27497 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
27498 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
27499 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
27500 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
27501 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
27502 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
27503 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
27504 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
27505 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
27506 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
27507 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
27508 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
27509 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
27510 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
27511 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
27512 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
27513 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
27514 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27515 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27516 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27517 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27518 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27519 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27520 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27521 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27522 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27523 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27524 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27525 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27526 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27527 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27528 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27529 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27530 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27531 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27532 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27533 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
27534 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
27535 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
27536 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
27537 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
27538 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
27539 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
27540 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
27541 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
27542 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
27543 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
27544 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
27545 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
27546 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
27547 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
27548 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
27549 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
27550 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
27551 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
27552 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
27553 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
27554 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
27555 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
27556 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
27557 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
27558 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
27559 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
27560 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
27561 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
27562 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
27563 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
27564 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
27565 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
27566 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
27567 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
27568 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
27569 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
27570 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
27571 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
27572 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
27573 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
27574 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
27575 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
27576 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
27577 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
27578 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
27579 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
27580 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
27581 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
27582 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
27583 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
27584 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
27585 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
27586 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
27587 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
27588 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
27589 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
27590 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
27591 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
27592 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
27593 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
27594 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
27595 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
27596 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
27597 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
27598 		.ilen	= 1008,
27599 		.result	= "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
27600 			  "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
27601 			  "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
27602 			  "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
27603 			  "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
27604 			  "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
27605 			  "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
27606 			  "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
27607 			  "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
27608 			  "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
27609 			  "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
27610 			  "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
27611 			  "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
27612 			  "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
27613 			  "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
27614 			  "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
27615 			  "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
27616 			  "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
27617 			  "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
27618 			  "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
27619 			  "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
27620 			  "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
27621 			  "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
27622 			  "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
27623 			  "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
27624 			  "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
27625 			  "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
27626 			  "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
27627 			  "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
27628 			  "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
27629 			  "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
27630 			  "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
27631 			  "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
27632 			  "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
27633 			  "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
27634 			  "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
27635 			  "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
27636 			  "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
27637 			  "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
27638 			  "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
27639 			  "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
27640 			  "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
27641 			  "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
27642 			  "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
27643 			  "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
27644 			  "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
27645 			  "\x83\x06\xAB\x82\x99\x01\x16\x1A"
27646 			  "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
27647 			  "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
27648 			  "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
27649 			  "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
27650 			  "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
27651 			  "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
27652 			  "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
27653 			  "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
27654 			  "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
27655 			  "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
27656 			  "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
27657 			  "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
27658 			  "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
27659 			  "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
27660 			  "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
27661 			  "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
27662 			  "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
27663 			  "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
27664 			  "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
27665 			  "\xED\x28\x39\xE9\x63\xED\x41\x70"
27666 			  "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
27667 			  "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
27668 			  "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
27669 			  "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
27670 			  "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
27671 			  "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
27672 			  "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
27673 			  "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
27674 			  "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
27675 			  "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
27676 			  "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
27677 			  "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
27678 			  "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
27679 			  "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
27680 			  "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
27681 			  "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
27682 			  "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
27683 			  "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
27684 			  "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
27685 			  "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
27686 			  "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
27687 			  "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
27688 			  "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
27689 			  "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
27690 			  "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
27691 			  "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
27692 			  "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
27693 			  "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
27694 			  "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
27695 			  "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
27696 			  "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
27697 			  "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
27698 			  "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
27699 			  "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
27700 			  "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
27701 			  "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
27702 			  "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
27703 			  "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
27704 			  "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
27705 			  "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
27706 			  "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
27707 			  "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
27708 			  "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
27709 			  "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
27710 			  "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
27711 			  "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
27712 			  "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
27713 			  "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
27714 			  "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
27715 			  "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
27716 			  "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
27717 			  "\x31\x93\x51\x1C\x63\x97\x70\xB0"
27718 			  "\x99\x78\x83\x13\xFD\xCF\x53\x81"
27719 			  "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
27720 			  "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
27721 			  "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
27722 			  "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
27723 			  "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
27724 			  "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
27725 		.rlen	= 1008,
27726 		.also_non_np = 1,
27727 		.np	= 3,
27728 		.tap	= { 1008 - 20, 4, 16 },
27729 	},
27730 };
27731 
27732 static const struct cipher_testvec camellia_dec_tv_template[] = {
27733 	{
27734 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27735 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27736 		.klen	= 16,
27737 		.input	= "\x67\x67\x31\x38\x54\x96\x69\x73"
27738 			  "\x08\x57\x06\x56\x48\xea\xbe\x43",
27739 		.ilen	= 16,
27740 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27741 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27742 		.rlen	= 16,
27743 	}, {
27744 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27745 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27746 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
27747 		.klen	= 24,
27748 		.input	= "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
27749 			  "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
27750 		.ilen	= 16,
27751 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27752 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27753 		.rlen	= 16,
27754 	}, {
27755 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27756 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27757 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
27758 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
27759 		.klen	= 32,
27760 		.input	= "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
27761 			  "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
27762 		.ilen	= 16,
27763 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27764 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27765 		.rlen	= 16,
27766 	}, { /* Generated with Crypto++ */
27767 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
27768 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
27769 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
27770 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
27771 		.klen	= 32,
27772 		.input	= "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
27773 			  "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
27774 			  "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
27775 			  "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
27776 			  "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
27777 			  "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
27778 			  "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
27779 			  "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
27780 			  "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
27781 			  "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
27782 			  "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
27783 			  "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
27784 			  "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
27785 			  "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
27786 			  "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
27787 			  "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
27788 			  "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
27789 			  "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
27790 			  "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
27791 			  "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
27792 			  "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
27793 			  "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
27794 			  "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
27795 			  "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
27796 			  "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
27797 			  "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
27798 			  "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
27799 			  "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
27800 			  "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
27801 			  "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
27802 			  "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
27803 			  "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
27804 			  "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
27805 			  "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
27806 			  "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
27807 			  "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
27808 			  "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
27809 			  "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
27810 			  "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
27811 			  "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
27812 			  "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
27813 			  "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
27814 			  "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
27815 			  "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
27816 			  "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
27817 			  "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
27818 			  "\x83\x06\xAB\x82\x99\x01\x16\x1A"
27819 			  "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
27820 			  "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
27821 			  "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
27822 			  "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
27823 			  "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
27824 			  "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
27825 			  "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
27826 			  "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
27827 			  "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
27828 			  "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
27829 			  "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
27830 			  "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
27831 			  "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
27832 			  "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
27833 			  "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
27834 			  "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
27835 			  "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
27836 			  "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
27837 			  "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
27838 			  "\xED\x28\x39\xE9\x63\xED\x41\x70"
27839 			  "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
27840 			  "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
27841 			  "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
27842 			  "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
27843 			  "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
27844 			  "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
27845 			  "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
27846 			  "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
27847 			  "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
27848 			  "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
27849 			  "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
27850 			  "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
27851 			  "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
27852 			  "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
27853 			  "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
27854 			  "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
27855 			  "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
27856 			  "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
27857 			  "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
27858 			  "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
27859 			  "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
27860 			  "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
27861 			  "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
27862 			  "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
27863 			  "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
27864 			  "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
27865 			  "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
27866 			  "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
27867 			  "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
27868 			  "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
27869 			  "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
27870 			  "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
27871 			  "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
27872 			  "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
27873 			  "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
27874 			  "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
27875 			  "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
27876 			  "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
27877 			  "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
27878 			  "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
27879 			  "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
27880 			  "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
27881 			  "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
27882 			  "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
27883 			  "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
27884 			  "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
27885 			  "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
27886 			  "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
27887 			  "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
27888 			  "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
27889 			  "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
27890 			  "\x31\x93\x51\x1C\x63\x97\x70\xB0"
27891 			  "\x99\x78\x83\x13\xFD\xCF\x53\x81"
27892 			  "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
27893 			  "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
27894 			  "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
27895 			  "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
27896 			  "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
27897 			  "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
27898 		.ilen	= 1008,
27899 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27900 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27901 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
27902 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27903 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27904 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27905 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27906 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27907 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27908 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27909 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27910 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27911 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27912 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
27913 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
27914 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
27915 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
27916 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
27917 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
27918 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
27919 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
27920 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
27921 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
27922 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
27923 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
27924 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
27925 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
27926 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
27927 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
27928 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
27929 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
27930 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
27931 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
27932 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
27933 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
27934 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
27935 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
27936 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
27937 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
27938 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
27939 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
27940 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
27941 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27942 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27943 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27944 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27945 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27946 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27947 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27948 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27949 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27950 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27951 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27952 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27953 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27954 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27955 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27956 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27957 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27958 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27959 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27960 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
27961 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
27962 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
27963 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
27964 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
27965 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
27966 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
27967 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
27968 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
27969 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
27970 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
27971 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
27972 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
27973 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
27974 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
27975 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
27976 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
27977 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
27978 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
27979 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
27980 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
27981 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
27982 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
27983 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
27984 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
27985 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
27986 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
27987 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
27988 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
27989 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
27990 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
27991 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
27992 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
27993 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
27994 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
27995 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
27996 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
27997 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
27998 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
27999 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28000 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28001 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28002 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28003 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28004 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28005 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28006 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28007 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28008 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28009 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28010 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28011 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28012 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28013 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28014 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28015 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28016 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28017 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28018 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28019 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28020 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28021 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28022 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28023 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28024 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28025 		.rlen	= 1008,
28026 		.also_non_np = 1,
28027 		.np	= 3,
28028 		.tap	= { 1008 - 20, 4, 16 },
28029 	},
28030 };
28031 
28032 static const struct cipher_testvec camellia_cbc_enc_tv_template[] = {
28033 	{
28034 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
28035 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
28036 		.klen   = 16,
28037 		.iv	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
28038 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
28039 		.input	= "Single block msg",
28040 		.ilen   = 16,
28041 		.result = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
28042 			  "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
28043 		.rlen   = 16,
28044 	}, {
28045 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
28046 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
28047 		.klen   = 16,
28048 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
28049 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
28050 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
28051 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28052 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
28053 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
28054 		.ilen   = 32,
28055 		.result = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
28056 			  "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
28057 			  "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
28058 			  "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
28059 		.rlen   = 32,
28060 	}, { /* Generated with Crypto++ */
28061 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28062 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28063 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28064 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28065 		.klen	= 32,
28066 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28067 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28068 		.input	= "\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 		.ilen	= 1008,
28195 		.result	= "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
28196 			  "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
28197 			  "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
28198 			  "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
28199 			  "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
28200 			  "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
28201 			  "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
28202 			  "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
28203 			  "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
28204 			  "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
28205 			  "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
28206 			  "\x37\x49\x88\xA4\xEF\x91\x21\x47"
28207 			  "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
28208 			  "\x28\x90\x77\x46\xD8\xD2\x35\x16"
28209 			  "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
28210 			  "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
28211 			  "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
28212 			  "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
28213 			  "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
28214 			  "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
28215 			  "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
28216 			  "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
28217 			  "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
28218 			  "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
28219 			  "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
28220 			  "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
28221 			  "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
28222 			  "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
28223 			  "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
28224 			  "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
28225 			  "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
28226 			  "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
28227 			  "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
28228 			  "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
28229 			  "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
28230 			  "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
28231 			  "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
28232 			  "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
28233 			  "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
28234 			  "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
28235 			  "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
28236 			  "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
28237 			  "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
28238 			  "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
28239 			  "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
28240 			  "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
28241 			  "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
28242 			  "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
28243 			  "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
28244 			  "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
28245 			  "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
28246 			  "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
28247 			  "\x38\xB8\x48\x36\x66\x4E\x20\x43"
28248 			  "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
28249 			  "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
28250 			  "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
28251 			  "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
28252 			  "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
28253 			  "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
28254 			  "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
28255 			  "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
28256 			  "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
28257 			  "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
28258 			  "\x21\x41\x56\x72\x13\xE1\x86\x07"
28259 			  "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
28260 			  "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
28261 			  "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
28262 			  "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
28263 			  "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
28264 			  "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
28265 			  "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
28266 			  "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
28267 			  "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
28268 			  "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
28269 			  "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
28270 			  "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
28271 			  "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
28272 			  "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
28273 			  "\xBE\x31\x31\x96\x8B\x40\x18\x75"
28274 			  "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
28275 			  "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
28276 			  "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
28277 			  "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
28278 			  "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
28279 			  "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
28280 			  "\x09\xB0\x43\x96\x4A\x64\x80\x40"
28281 			  "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
28282 			  "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
28283 			  "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
28284 			  "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
28285 			  "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
28286 			  "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
28287 			  "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
28288 			  "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
28289 			  "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
28290 			  "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
28291 			  "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
28292 			  "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
28293 			  "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
28294 			  "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
28295 			  "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
28296 			  "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
28297 			  "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
28298 			  "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
28299 			  "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
28300 			  "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
28301 			  "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
28302 			  "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
28303 			  "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
28304 			  "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
28305 			  "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
28306 			  "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
28307 			  "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
28308 			  "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
28309 			  "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
28310 			  "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
28311 			  "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
28312 			  "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
28313 			  "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
28314 			  "\x80\xE7\x29\xDC\x23\x55\x98\x54"
28315 			  "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
28316 			  "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
28317 			  "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
28318 			  "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
28319 			  "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
28320 			  "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
28321 		.rlen	= 1008,
28322 		.also_non_np = 1,
28323 		.np	= 3,
28324 		.tap	= { 1008 - 20, 4, 16 },
28325 	},
28326 };
28327 
28328 static const struct cipher_testvec camellia_cbc_dec_tv_template[] = {
28329 	{
28330 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
28331 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
28332 		.klen   = 16,
28333 		.iv	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
28334 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
28335 		.input	= "\xea\x32\x12\x76\x3b\x50\x10\xe7"
28336 			  "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
28337 		.ilen   = 16,
28338 		.result = "Single block msg",
28339 		.rlen   = 16,
28340 	}, {
28341 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
28342 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
28343 		.klen   = 16,
28344 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
28345 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
28346 		.input = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
28347 			  "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
28348 			  "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
28349 			  "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
28350 		.ilen   = 32,
28351 		.result = "\x00\x01\x02\x03\x04\x05\x06\x07"
28352 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28353 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
28354 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
28355 		.rlen   = 32,
28356 	}, { /* Generated with Crypto++ */
28357 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28358 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28359 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28360 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28361 		.klen	= 32,
28362 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28363 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28364 		.input	= "\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 		.ilen	= 1008,
28491 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28492 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28493 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28494 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28495 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28496 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28497 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28498 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28499 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28500 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28501 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28502 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28503 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28504 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28505 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28506 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28507 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28508 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28509 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28510 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28511 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28512 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28513 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28514 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28515 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28516 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28517 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28518 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28519 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28520 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28521 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28522 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28523 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28524 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28525 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28526 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28527 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28528 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28529 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28530 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28531 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28532 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28533 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28534 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28535 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28536 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28537 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28538 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28539 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28540 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28541 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28542 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28543 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28544 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28545 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28546 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28547 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28548 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28549 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28550 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28551 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28552 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28553 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28554 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28555 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28556 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28557 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28558 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28559 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28560 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28561 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28562 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28563 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28564 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28565 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28566 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28567 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28568 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28569 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28570 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28571 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28572 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28573 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28574 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28575 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28576 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28577 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28578 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28579 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28580 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28581 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28582 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28583 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28584 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28585 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28586 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28587 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28588 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28589 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28590 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28591 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28592 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28593 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28594 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28595 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28596 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28597 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28598 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28599 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28600 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28601 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28602 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28603 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28604 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28605 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28606 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28607 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28608 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28609 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28610 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28611 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28612 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28613 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28614 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28615 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28616 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28617 		.rlen	= 1008,
28618 		.also_non_np = 1,
28619 		.np	= 3,
28620 		.tap	= { 1008 - 20, 4, 16 },
28621 	},
28622 };
28623 
28624 static const struct cipher_testvec camellia_ctr_enc_tv_template[] = {
28625 	{ /* Generated with Crypto++ */
28626 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28627 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28628 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28629 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28630 		.klen	= 32,
28631 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28632 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28633 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28634 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28635 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28636 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28637 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28638 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28639 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28640 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28641 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28642 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28643 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28644 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28645 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28646 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28647 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28648 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28649 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28650 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28651 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28652 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28653 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28654 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28655 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28656 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28657 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28658 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28659 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28660 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28661 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28662 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28663 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28664 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28665 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28666 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28667 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28668 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28669 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28670 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28671 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28672 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28673 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28674 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28675 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28676 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28677 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28678 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28679 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28680 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28681 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28682 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28683 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28684 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28685 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28686 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28687 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28688 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28689 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28690 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28691 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28692 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28693 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28694 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
28695 		.ilen	= 496,
28696 		.result	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
28697 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
28698 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
28699 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
28700 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
28701 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
28702 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
28703 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
28704 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
28705 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
28706 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
28707 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
28708 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
28709 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
28710 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
28711 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
28712 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
28713 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
28714 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
28715 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
28716 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
28717 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
28718 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
28719 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
28720 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
28721 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
28722 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
28723 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
28724 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
28725 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
28726 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
28727 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
28728 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
28729 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
28730 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
28731 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
28732 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
28733 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
28734 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
28735 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
28736 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
28737 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
28738 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
28739 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
28740 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
28741 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
28742 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
28743 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
28744 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
28745 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
28746 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
28747 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
28748 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
28749 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
28750 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
28751 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
28752 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
28753 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
28754 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
28755 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
28756 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
28757 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
28758 		.rlen	= 496,
28759 	}, { /* Generated with Crypto++ */
28760 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28761 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28762 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28763 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28764 		.klen	= 32,
28765 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28766 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28767 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28768 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28769 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28770 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28771 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28772 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28773 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28774 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28775 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28776 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28777 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28778 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28779 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28780 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28781 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28782 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28783 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28784 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28785 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28786 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28787 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28788 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28789 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28790 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28791 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28792 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28793 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28794 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28795 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28796 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28797 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28798 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28799 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28800 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28801 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28802 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28803 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28804 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28805 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28806 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28807 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28808 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28809 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28810 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28811 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28812 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28813 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28814 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28815 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28816 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28817 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28818 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28819 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28820 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28821 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28822 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28823 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28824 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28825 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28826 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28827 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28828 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28829 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28830 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28831 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28832 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28833 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28834 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28835 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28836 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28837 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28838 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28839 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28840 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28841 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28842 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28843 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28844 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28845 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28846 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28847 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28848 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28849 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28850 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28851 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28852 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28853 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28854 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28855 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28856 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28857 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28858 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28859 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28860 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28861 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28862 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28863 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28864 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28865 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28866 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28867 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28868 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28869 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28870 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28871 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28872 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28873 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28874 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28875 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28876 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28877 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28878 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28879 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28880 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28881 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28882 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28883 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28884 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28885 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28886 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28887 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28888 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28889 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28890 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28891 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28892 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
28893 			  "\xE4\x7B\x12",
28894 		.ilen	= 1011,
28895 		.result	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
28896 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
28897 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
28898 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
28899 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
28900 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
28901 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
28902 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
28903 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
28904 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
28905 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
28906 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
28907 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
28908 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
28909 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
28910 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
28911 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
28912 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
28913 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
28914 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
28915 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
28916 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
28917 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
28918 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
28919 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
28920 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
28921 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
28922 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
28923 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
28924 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
28925 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
28926 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
28927 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
28928 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
28929 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
28930 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
28931 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
28932 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
28933 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
28934 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
28935 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
28936 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
28937 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
28938 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
28939 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
28940 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
28941 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
28942 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
28943 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
28944 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
28945 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
28946 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
28947 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
28948 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
28949 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
28950 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
28951 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
28952 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
28953 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
28954 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
28955 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
28956 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
28957 			  "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
28958 			  "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
28959 			  "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
28960 			  "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
28961 			  "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
28962 			  "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
28963 			  "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
28964 			  "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
28965 			  "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
28966 			  "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
28967 			  "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
28968 			  "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
28969 			  "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
28970 			  "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
28971 			  "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
28972 			  "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
28973 			  "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
28974 			  "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
28975 			  "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
28976 			  "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
28977 			  "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
28978 			  "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
28979 			  "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
28980 			  "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
28981 			  "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
28982 			  "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
28983 			  "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
28984 			  "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
28985 			  "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
28986 			  "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
28987 			  "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
28988 			  "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
28989 			  "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
28990 			  "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
28991 			  "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
28992 			  "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
28993 			  "\x00\x70\x12\x56\x56\x50\xAD\x14"
28994 			  "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
28995 			  "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
28996 			  "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
28997 			  "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
28998 			  "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
28999 			  "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
29000 			  "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
29001 			  "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
29002 			  "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
29003 			  "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
29004 			  "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
29005 			  "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
29006 			  "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
29007 			  "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
29008 			  "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
29009 			  "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
29010 			  "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
29011 			  "\x40\x48\x19\x73\x7C\x78\x64\x0B"
29012 			  "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
29013 			  "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
29014 			  "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
29015 			  "\x74\x28\x9D\x05\x30\x20\x62\x41"
29016 			  "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
29017 			  "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
29018 			  "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
29019 			  "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
29020 			  "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
29021 			  "\xF1\x6B\xD9",
29022 		.rlen	= 1011,
29023 		.also_non_np = 1,
29024 		.np	= 2,
29025 		.tap	= { 1011 - 16, 16 },
29026 	}, { /* Generated with Crypto++ */
29027 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29028 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29029 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29030 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29031 		.klen	= 32,
29032 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
29033 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
29034 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29035 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29036 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29037 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29038 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29039 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29040 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29041 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29042 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29043 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29044 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29045 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29046 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29047 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29048 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29049 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29050 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29051 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29052 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29053 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29054 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29055 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29056 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29057 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29058 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29059 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29060 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29061 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29062 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29063 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29064 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29065 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29066 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29067 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29068 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29069 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29070 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29071 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29072 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29073 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29074 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29075 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29076 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29077 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29078 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29079 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29080 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29081 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29082 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29083 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29084 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29085 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29086 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29087 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29088 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29089 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29090 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29091 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29092 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29093 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29094 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29095 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29096 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29097 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29098 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29099 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29100 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29101 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29102 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29103 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29104 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29105 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29106 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29107 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29108 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29109 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29110 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29111 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29112 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29113 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29114 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29115 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29116 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29117 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29118 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29119 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29120 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29121 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29122 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29123 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29124 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29125 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29126 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29127 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29128 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29129 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29130 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29131 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29132 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29133 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29134 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29135 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29136 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29137 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29138 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29139 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29140 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29141 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29142 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29143 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29144 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29145 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29146 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29147 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29148 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29149 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29150 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29151 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29152 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29153 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29154 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29155 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29156 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29157 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29158 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29159 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
29160 		.ilen	= 1008,
29161 		.result	= "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
29162 			  "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
29163 			  "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
29164 			  "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
29165 			  "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
29166 			  "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
29167 			  "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
29168 			  "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
29169 			  "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
29170 			  "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
29171 			  "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
29172 			  "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
29173 			  "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
29174 			  "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
29175 			  "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
29176 			  "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
29177 			  "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
29178 			  "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
29179 			  "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
29180 			  "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
29181 			  "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
29182 			  "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
29183 			  "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
29184 			  "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
29185 			  "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
29186 			  "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
29187 			  "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
29188 			  "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
29189 			  "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
29190 			  "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
29191 			  "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
29192 			  "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
29193 			  "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
29194 			  "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
29195 			  "\x93\x78\x86\x05\x69\x46\xD0\xC5"
29196 			  "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
29197 			  "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
29198 			  "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
29199 			  "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
29200 			  "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
29201 			  "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
29202 			  "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
29203 			  "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
29204 			  "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
29205 			  "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
29206 			  "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
29207 			  "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
29208 			  "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
29209 			  "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
29210 			  "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
29211 			  "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
29212 			  "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
29213 			  "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
29214 			  "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
29215 			  "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
29216 			  "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
29217 			  "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
29218 			  "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
29219 			  "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
29220 			  "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
29221 			  "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
29222 			  "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
29223 			  "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
29224 			  "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
29225 			  "\x3F\x23\x69\x63\x56\x96\x45\xD6"
29226 			  "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
29227 			  "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
29228 			  "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
29229 			  "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
29230 			  "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
29231 			  "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
29232 			  "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
29233 			  "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
29234 			  "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
29235 			  "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
29236 			  "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
29237 			  "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
29238 			  "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
29239 			  "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
29240 			  "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
29241 			  "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
29242 			  "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
29243 			  "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
29244 			  "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
29245 			  "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
29246 			  "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
29247 			  "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
29248 			  "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
29249 			  "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
29250 			  "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
29251 			  "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
29252 			  "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
29253 			  "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
29254 			  "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
29255 			  "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
29256 			  "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
29257 			  "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
29258 			  "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
29259 			  "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
29260 			  "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
29261 			  "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
29262 			  "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
29263 			  "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
29264 			  "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
29265 			  "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
29266 			  "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
29267 			  "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
29268 			  "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
29269 			  "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
29270 			  "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
29271 			  "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
29272 			  "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
29273 			  "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
29274 			  "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
29275 			  "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
29276 			  "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
29277 			  "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
29278 			  "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
29279 			  "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
29280 			  "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
29281 			  "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
29282 			  "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
29283 			  "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
29284 			  "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
29285 			  "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
29286 			  "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
29287 		.rlen	= 1008,
29288 	},
29289 };
29290 
29291 static const struct cipher_testvec camellia_ctr_dec_tv_template[] = {
29292 	{ /* Generated with Crypto++ */
29293 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29294 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29295 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29296 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29297 		.klen	= 32,
29298 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
29299 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
29300 		.input	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29301 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29302 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29303 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29304 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29305 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29306 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29307 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29308 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29309 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29310 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29311 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29312 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29313 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29314 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29315 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29316 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29317 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29318 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29319 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29320 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29321 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29322 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29323 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29324 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29325 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29326 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29327 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29328 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29329 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29330 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29331 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29332 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29333 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29334 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29335 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29336 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29337 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29338 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29339 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29340 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29341 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29342 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29343 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29344 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29345 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29346 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29347 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29348 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29349 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29350 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
29351 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29352 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29353 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29354 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29355 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29356 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29357 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29358 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29359 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29360 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29361 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
29362 		.ilen	= 496,
29363 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29364 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29365 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29366 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29367 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29368 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29369 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29370 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29371 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29372 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29373 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29374 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29375 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29376 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29377 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29378 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29379 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29380 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29381 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29382 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29383 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29384 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29385 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29386 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29387 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29388 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29389 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29390 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29391 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29392 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29393 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29394 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29395 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29396 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29397 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29398 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29399 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29400 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29401 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29402 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29403 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29404 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29405 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29406 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29407 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29408 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29409 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29410 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29411 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29412 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29413 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29414 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29415 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29416 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29417 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29418 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29419 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29420 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29421 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29422 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29423 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29424 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
29425 		.rlen	= 496,
29426 	}, { /* Generated with Crypto++ */
29427 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29428 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29429 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29430 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29431 		.klen	= 32,
29432 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
29433 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
29434 		.input	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29435 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29436 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29437 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29438 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29439 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29440 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29441 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29442 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29443 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29444 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29445 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29446 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29447 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29448 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29449 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29450 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29451 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29452 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29453 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29454 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29455 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29456 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29457 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29458 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29459 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29460 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29461 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29462 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29463 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29464 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29465 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29466 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29467 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29468 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29469 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29470 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29471 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29472 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29473 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29474 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29475 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29476 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29477 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29478 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29479 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29480 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29481 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29482 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29483 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29484 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
29485 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29486 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29487 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29488 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29489 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29490 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29491 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29492 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29493 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29494 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29495 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
29496 			  "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
29497 			  "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
29498 			  "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
29499 			  "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
29500 			  "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
29501 			  "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
29502 			  "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
29503 			  "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
29504 			  "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
29505 			  "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
29506 			  "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
29507 			  "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
29508 			  "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
29509 			  "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
29510 			  "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
29511 			  "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
29512 			  "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
29513 			  "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
29514 			  "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
29515 			  "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
29516 			  "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
29517 			  "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
29518 			  "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
29519 			  "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
29520 			  "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
29521 			  "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
29522 			  "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
29523 			  "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
29524 			  "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
29525 			  "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
29526 			  "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
29527 			  "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
29528 			  "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
29529 			  "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
29530 			  "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
29531 			  "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
29532 			  "\x00\x70\x12\x56\x56\x50\xAD\x14"
29533 			  "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
29534 			  "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
29535 			  "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
29536 			  "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
29537 			  "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
29538 			  "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
29539 			  "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
29540 			  "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
29541 			  "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
29542 			  "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
29543 			  "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
29544 			  "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
29545 			  "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
29546 			  "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
29547 			  "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
29548 			  "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
29549 			  "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
29550 			  "\x40\x48\x19\x73\x7C\x78\x64\x0B"
29551 			  "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
29552 			  "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
29553 			  "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
29554 			  "\x74\x28\x9D\x05\x30\x20\x62\x41"
29555 			  "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
29556 			  "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
29557 			  "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
29558 			  "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
29559 			  "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
29560 			  "\xF1\x6B\xD9",
29561 		.ilen	= 1011,
29562 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29563 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29564 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29565 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29566 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29567 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29568 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29569 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29570 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29571 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29572 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29573 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29574 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29575 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29576 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29577 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29578 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29579 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29580 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29581 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29582 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29583 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29584 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29585 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29586 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29587 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29588 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29589 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29590 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29591 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29592 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29593 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29594 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29595 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29596 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29597 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29598 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29599 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29600 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29601 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29602 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29603 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29604 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29605 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29606 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29607 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29608 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29609 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29610 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29611 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29612 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29613 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29614 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29615 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29616 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29617 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29618 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29619 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29620 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29621 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29622 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29623 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29624 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29625 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29626 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29627 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29628 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29629 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29630 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29631 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29632 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29633 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29634 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29635 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29636 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29637 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29638 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29639 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29640 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29641 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29642 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29643 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29644 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29645 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29646 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29647 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29648 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29649 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29650 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29651 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29652 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29653 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29654 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29655 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29656 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29657 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29658 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29659 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29660 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29661 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29662 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29663 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29664 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29665 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29666 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29667 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29668 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29669 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29670 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29671 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29672 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29673 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29674 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29675 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29676 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29677 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29678 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29679 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29680 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29681 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29682 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29683 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29684 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29685 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29686 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29687 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
29688 			  "\xE4\x7B\x12",
29689 		.rlen	= 1011,
29690 		.also_non_np = 1,
29691 		.np	= 2,
29692 		.tap	= { 1011 - 16, 16 },
29693 	}, { /* Generated with Crypto++ */
29694 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29695 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29696 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29697 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29698 		.klen	= 32,
29699 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
29700 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
29701 		.input	= "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
29702 			  "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
29703 			  "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
29704 			  "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
29705 			  "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
29706 			  "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
29707 			  "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
29708 			  "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
29709 			  "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
29710 			  "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
29711 			  "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
29712 			  "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
29713 			  "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
29714 			  "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
29715 			  "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
29716 			  "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
29717 			  "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
29718 			  "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
29719 			  "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
29720 			  "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
29721 			  "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
29722 			  "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
29723 			  "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
29724 			  "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
29725 			  "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
29726 			  "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
29727 			  "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
29728 			  "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
29729 			  "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
29730 			  "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
29731 			  "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
29732 			  "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
29733 			  "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
29734 			  "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
29735 			  "\x93\x78\x86\x05\x69\x46\xD0\xC5"
29736 			  "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
29737 			  "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
29738 			  "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
29739 			  "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
29740 			  "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
29741 			  "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
29742 			  "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
29743 			  "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
29744 			  "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
29745 			  "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
29746 			  "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
29747 			  "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
29748 			  "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
29749 			  "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
29750 			  "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
29751 			  "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
29752 			  "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
29753 			  "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
29754 			  "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
29755 			  "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
29756 			  "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
29757 			  "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
29758 			  "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
29759 			  "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
29760 			  "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
29761 			  "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
29762 			  "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
29763 			  "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
29764 			  "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
29765 			  "\x3F\x23\x69\x63\x56\x96\x45\xD6"
29766 			  "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
29767 			  "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
29768 			  "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
29769 			  "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
29770 			  "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
29771 			  "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
29772 			  "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
29773 			  "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
29774 			  "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
29775 			  "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
29776 			  "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
29777 			  "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
29778 			  "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
29779 			  "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
29780 			  "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
29781 			  "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
29782 			  "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
29783 			  "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
29784 			  "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
29785 			  "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
29786 			  "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
29787 			  "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
29788 			  "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
29789 			  "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
29790 			  "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
29791 			  "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
29792 			  "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
29793 			  "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
29794 			  "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
29795 			  "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
29796 			  "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
29797 			  "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
29798 			  "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
29799 			  "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
29800 			  "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
29801 			  "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
29802 			  "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
29803 			  "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
29804 			  "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
29805 			  "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
29806 			  "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
29807 			  "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
29808 			  "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
29809 			  "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
29810 			  "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
29811 			  "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
29812 			  "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
29813 			  "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
29814 			  "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
29815 			  "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
29816 			  "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
29817 			  "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
29818 			  "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
29819 			  "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
29820 			  "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
29821 			  "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
29822 			  "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
29823 			  "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
29824 			  "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
29825 			  "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
29826 			  "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
29827 		.ilen	= 1008,
29828 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29829 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29830 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29831 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29832 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29833 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29834 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29835 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29836 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29837 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29838 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29839 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29840 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29841 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29842 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29843 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29844 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29845 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29846 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29847 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29848 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29849 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29850 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29851 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29852 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29853 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29854 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29855 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29856 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29857 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29858 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29859 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29860 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29861 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29862 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29863 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29864 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29865 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29866 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29867 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29868 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29869 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29870 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29871 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29872 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29873 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29874 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29875 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29876 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29877 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29878 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29879 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29880 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29881 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29882 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29883 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29884 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29885 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29886 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29887 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29888 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29889 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29890 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29891 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29892 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29893 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29894 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29895 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29896 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29897 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29898 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29899 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29900 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29901 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29902 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29903 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29904 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29905 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29906 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29907 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29908 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29909 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29910 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29911 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29912 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29913 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29914 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29915 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29916 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29917 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29918 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29919 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29920 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29921 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29922 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29923 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29924 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29925 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29926 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29927 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29928 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29929 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29930 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29931 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29932 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29933 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29934 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29935 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29936 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29937 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29938 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29939 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29940 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29941 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29942 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29943 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29944 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29945 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29946 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29947 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29948 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29949 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29950 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29951 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29952 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29953 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
29954 		.rlen	= 1008,
29955 	},
29956 };
29957 
29958 static const struct cipher_testvec camellia_lrw_enc_tv_template[] = {
29959 	/* Generated from AES-LRW test vectors */
29960 	{
29961 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
29962 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
29963 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
29964 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
29965 		.klen	= 32,
29966 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
29967 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
29968 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
29969 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
29970 		.ilen	= 16,
29971 		.result	= "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
29972 			  "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
29973 		.rlen	= 16,
29974 	}, {
29975 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
29976 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
29977 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
29978 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
29979 		.klen	= 32,
29980 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
29981 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
29982 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
29983 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
29984 		.ilen	= 16,
29985 		.result	= "\x73\x09\xb7\x50\xb6\x77\x30\x50"
29986 			  "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
29987 		.rlen	= 16,
29988 	}, {
29989 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
29990 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
29991 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
29992 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
29993 		.klen	= 32,
29994 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
29995 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
29996 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
29997 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
29998 		.ilen	= 16,
29999 		.result	= "\x90\xae\x83\xe0\x22\xb9\x60\x91"
30000 			  "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
30001 		.rlen	= 16,
30002 	}, {
30003 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
30004 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
30005 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
30006 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
30007 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
30008 		.klen	= 40,
30009 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30010 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30011 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30012 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30013 		.ilen	= 16,
30014 		.result	= "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
30015 			  "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
30016 		.rlen	= 16,
30017 	}, {
30018 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
30019 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
30020 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
30021 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
30022 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
30023 		.klen	= 40,
30024 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30025 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30026 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30027 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30028 		.ilen	= 16,
30029 		.result	= "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
30030 			  "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
30031 		.rlen	= 16,
30032 	}, {
30033 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30034 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30035 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30036 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30037 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30038 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30039 		.klen	= 48,
30040 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30041 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30042 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30043 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30044 		.ilen	= 16,
30045 		.result	= "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
30046 			  "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
30047 		.rlen	= 16,
30048 	}, {
30049 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
30050 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
30051 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
30052 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
30053 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
30054 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
30055 		.klen	= 48,
30056 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30057 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30058 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30059 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30060 		.ilen	= 16,
30061 		.result	= "\x04\xab\x28\x37\x31\x7a\x26\xab"
30062 			  "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
30063 		.rlen	= 16,
30064 	}, {
30065 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30066 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30067 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30068 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30069 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30070 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30071 		.klen	= 48,
30072 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30073 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30074 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
30075 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
30076 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
30077 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
30078 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
30079 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
30080 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
30081 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
30082 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
30083 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
30084 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
30085 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
30086 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
30087 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
30088 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
30089 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
30090 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
30091 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
30092 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
30093 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
30094 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
30095 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
30096 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
30097 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
30098 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
30099 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
30100 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
30101 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
30102 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
30103 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
30104 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
30105 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
30106 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
30107 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
30108 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
30109 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
30110 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
30111 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
30112 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
30113 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
30114 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
30115 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
30116 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
30117 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
30118 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
30119 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
30120 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
30121 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
30122 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
30123 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
30124 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
30125 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
30126 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
30127 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
30128 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
30129 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
30130 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
30131 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
30132 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
30133 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
30134 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
30135 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
30136 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
30137 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
30138 		.ilen	= 512,
30139 		.result	= "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
30140 			  "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
30141 			  "\x67\x76\xac\x2c\xd2\x63\x18\x93"
30142 			  "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
30143 			  "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
30144 			  "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
30145 			  "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
30146 			  "\x62\xdd\x78\x81\xea\x1d\xef\x04"
30147 			  "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
30148 			  "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
30149 			  "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
30150 			  "\x40\x41\x69\xaa\x71\xc0\x37\xec"
30151 			  "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
30152 			  "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
30153 			  "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
30154 			  "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
30155 			  "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
30156 			  "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
30157 			  "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
30158 			  "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
30159 			  "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
30160 			  "\x42\x08\x40\x82\x06\x1c\x2d\x55"
30161 			  "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
30162 			  "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
30163 			  "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
30164 			  "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
30165 			  "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
30166 			  "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
30167 			  "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
30168 			  "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
30169 			  "\xed\x14\xa9\x57\x19\x63\x40\x04"
30170 			  "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
30171 			  "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
30172 			  "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
30173 			  "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
30174 			  "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
30175 			  "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
30176 			  "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
30177 			  "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
30178 			  "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
30179 			  "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
30180 			  "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
30181 			  "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
30182 			  "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
30183 			  "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
30184 			  "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
30185 			  "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
30186 			  "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
30187 			  "\x35\xa5\x83\x04\x84\x01\x99\x56"
30188 			  "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
30189 			  "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
30190 			  "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
30191 			  "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
30192 			  "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
30193 			  "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
30194 			  "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
30195 			  "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
30196 			  "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
30197 			  "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
30198 			  "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
30199 			  "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
30200 			  "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
30201 			  "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
30202 			  "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
30203 		.rlen	= 512,
30204 		.also_non_np = 1,
30205 		.np	= 3,
30206 		.tap	= { 512 - 20, 4, 16 },
30207 	},
30208 };
30209 
30210 static const struct cipher_testvec camellia_lrw_dec_tv_template[] = {
30211 	/* Generated from AES-LRW test vectors */
30212 	/* same as enc vectors with input and result reversed */
30213 	{
30214 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
30215 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
30216 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
30217 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
30218 		.klen	= 32,
30219 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30220 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30221 		.input	= "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
30222 			  "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
30223 		.ilen	= 16,
30224 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30225 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30226 		.rlen	= 16,
30227 	}, {
30228 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
30229 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
30230 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
30231 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
30232 		.klen	= 32,
30233 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30234 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
30235 		.input	= "\x73\x09\xb7\x50\xb6\x77\x30\x50"
30236 			  "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
30237 		.ilen	= 16,
30238 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30239 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30240 		.rlen	= 16,
30241 	}, {
30242 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
30243 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
30244 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
30245 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
30246 		.klen	= 32,
30247 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30248 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30249 		.input	= "\x90\xae\x83\xe0\x22\xb9\x60\x91"
30250 			  "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
30251 		.ilen	= 16,
30252 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30253 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30254 		.rlen	= 16,
30255 	}, {
30256 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
30257 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
30258 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
30259 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
30260 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
30261 		.klen	= 40,
30262 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30263 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30264 		.input	= "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
30265 			  "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
30266 		.ilen	= 16,
30267 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30268 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30269 		.rlen	= 16,
30270 	}, {
30271 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
30272 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
30273 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
30274 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
30275 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
30276 		.klen	= 40,
30277 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30278 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30279 		.input	= "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
30280 			  "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
30281 		.ilen	= 16,
30282 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30283 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30284 		.rlen	= 16,
30285 	}, {
30286 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30287 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30288 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30289 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30290 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30291 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30292 		.klen	= 48,
30293 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30294 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30295 		.input	= "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
30296 			  "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
30297 		.ilen	= 16,
30298 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30299 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30300 		.rlen	= 16,
30301 	}, {
30302 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
30303 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
30304 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
30305 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
30306 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
30307 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
30308 		.klen	= 48,
30309 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30310 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30311 		.input	= "\x04\xab\x28\x37\x31\x7a\x26\xab"
30312 			  "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
30313 		.ilen	= 16,
30314 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30315 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30316 		.rlen	= 16,
30317 	}, {
30318 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30319 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30320 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30321 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30322 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30323 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30324 		.klen	= 48,
30325 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30326 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30327 		.input	= "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
30328 			  "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
30329 			  "\x67\x76\xac\x2c\xd2\x63\x18\x93"
30330 			  "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
30331 			  "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
30332 			  "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
30333 			  "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
30334 			  "\x62\xdd\x78\x81\xea\x1d\xef\x04"
30335 			  "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
30336 			  "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
30337 			  "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
30338 			  "\x40\x41\x69\xaa\x71\xc0\x37\xec"
30339 			  "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
30340 			  "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
30341 			  "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
30342 			  "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
30343 			  "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
30344 			  "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
30345 			  "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
30346 			  "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
30347 			  "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
30348 			  "\x42\x08\x40\x82\x06\x1c\x2d\x55"
30349 			  "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
30350 			  "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
30351 			  "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
30352 			  "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
30353 			  "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
30354 			  "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
30355 			  "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
30356 			  "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
30357 			  "\xed\x14\xa9\x57\x19\x63\x40\x04"
30358 			  "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
30359 			  "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
30360 			  "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
30361 			  "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
30362 			  "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
30363 			  "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
30364 			  "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
30365 			  "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
30366 			  "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
30367 			  "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
30368 			  "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
30369 			  "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
30370 			  "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
30371 			  "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
30372 			  "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
30373 			  "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
30374 			  "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
30375 			  "\x35\xa5\x83\x04\x84\x01\x99\x56"
30376 			  "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
30377 			  "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
30378 			  "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
30379 			  "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
30380 			  "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
30381 			  "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
30382 			  "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
30383 			  "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
30384 			  "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
30385 			  "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
30386 			  "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
30387 			  "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
30388 			  "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
30389 			  "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
30390 			  "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
30391 		.ilen	= 512,
30392 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
30393 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
30394 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
30395 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
30396 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
30397 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
30398 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
30399 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
30400 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
30401 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
30402 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
30403 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
30404 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
30405 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
30406 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
30407 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
30408 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
30409 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
30410 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
30411 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
30412 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
30413 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
30414 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
30415 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
30416 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
30417 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
30418 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
30419 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
30420 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
30421 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
30422 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
30423 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
30424 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
30425 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
30426 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
30427 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
30428 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
30429 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
30430 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
30431 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
30432 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
30433 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
30434 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
30435 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
30436 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
30437 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
30438 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
30439 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
30440 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
30441 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
30442 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
30443 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
30444 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
30445 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
30446 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
30447 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
30448 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
30449 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
30450 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
30451 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
30452 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
30453 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
30454 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
30455 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
30456 		.rlen	= 512,
30457 		.also_non_np = 1,
30458 		.np	= 3,
30459 		.tap	= { 512 - 20, 4, 16 },
30460 	},
30461 };
30462 
30463 static const struct cipher_testvec camellia_xts_enc_tv_template[] = {
30464 	/* Generated from AES-XTS test vectors */
30465 	{
30466 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30467 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30468 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30469 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30470 		.klen	= 32,
30471 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30472 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30473 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30474 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30475 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30476 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30477 		.ilen	= 32,
30478 		.result	= "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
30479 			  "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
30480 			  "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
30481 			  "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
30482 		.rlen	= 32,
30483 	}, {
30484 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
30485 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
30486 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
30487 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
30488 		.klen	= 32,
30489 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
30490 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30491 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
30492 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30493 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30494 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
30495 		.ilen	= 32,
30496 		.result	= "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
30497 			  "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
30498 			  "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
30499 			  "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
30500 		.rlen	= 32,
30501 	}, {
30502 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
30503 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
30504 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
30505 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
30506 		.klen	= 32,
30507 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
30508 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30509 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
30510 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30511 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30512 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
30513 		.ilen	= 32,
30514 		.result	= "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
30515 			  "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
30516 			  "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
30517 			  "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
30518 		.rlen	= 32,
30519 	}, {
30520 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
30521 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
30522 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
30523 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
30524 		.klen	= 32,
30525 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30526 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30527 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
30528 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30529 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30530 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30531 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30532 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30533 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30534 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30535 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30536 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30537 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30538 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30539 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30540 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30541 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30542 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30543 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30544 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30545 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30546 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30547 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30548 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30549 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30550 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30551 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30552 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30553 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30554 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30555 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30556 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30557 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30558 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
30559 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
30560 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30561 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30562 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30563 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30564 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30565 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30566 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30567 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30568 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30569 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30570 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30571 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30572 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30573 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30574 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30575 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30576 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30577 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30578 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30579 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30580 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30581 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30582 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30583 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30584 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30585 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30586 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30587 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30588 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30589 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30590 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
30591 		.ilen	= 512,
30592 		.result	= "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
30593 			  "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
30594 			  "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
30595 			  "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
30596 			  "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
30597 			  "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
30598 			  "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
30599 			  "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
30600 			  "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
30601 			  "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
30602 			  "\x08\xda\x76\x00\x65\xcf\x7b\x31"
30603 			  "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
30604 			  "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
30605 			  "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
30606 			  "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
30607 			  "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
30608 			  "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
30609 			  "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
30610 			  "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
30611 			  "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
30612 			  "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
30613 			  "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
30614 			  "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
30615 			  "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
30616 			  "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
30617 			  "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
30618 			  "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
30619 			  "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
30620 			  "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
30621 			  "\x16\x31\xb2\x47\x91\x67\xaa\x28"
30622 			  "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
30623 			  "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
30624 			  "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
30625 			  "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
30626 			  "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
30627 			  "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
30628 			  "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
30629 			  "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
30630 			  "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
30631 			  "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
30632 			  "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
30633 			  "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
30634 			  "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
30635 			  "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
30636 			  "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
30637 			  "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
30638 			  "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
30639 			  "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
30640 			  "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
30641 			  "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
30642 			  "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
30643 			  "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
30644 			  "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
30645 			  "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
30646 			  "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
30647 			  "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
30648 			  "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
30649 			  "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
30650 			  "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
30651 			  "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
30652 			  "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
30653 			  "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
30654 			  "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
30655 			  "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
30656 		.rlen	= 512,
30657 	}, {
30658 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
30659 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
30660 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
30661 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
30662 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
30663 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
30664 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
30665 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
30666 		.klen	= 64,
30667 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
30668 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30669 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
30670 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30671 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30672 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30673 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30674 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30675 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30676 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30677 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30678 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30679 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30680 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30681 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30682 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30683 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30684 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30685 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30686 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30687 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30688 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30689 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30690 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30691 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30692 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30693 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30694 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30695 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30696 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30697 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30698 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30699 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30700 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
30701 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
30702 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30703 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30704 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30705 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30706 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30707 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30708 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30709 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30710 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30711 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30712 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30713 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30714 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30715 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30716 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30717 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30718 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30719 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30720 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30721 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30722 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30723 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30724 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30725 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30726 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30727 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30728 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30729 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30730 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30731 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30732 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
30733 		.ilen	= 512,
30734 		.result	= "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
30735 			  "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
30736 			  "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
30737 			  "\xf1\x74\xac\x96\x05\x7b\x32\xca"
30738 			  "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
30739 			  "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
30740 			  "\x97\x07\x82\xf0\x07\x12\x38\x0a"
30741 			  "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
30742 			  "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
30743 			  "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
30744 			  "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
30745 			  "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
30746 			  "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
30747 			  "\x41\x82\x0c\x45\x39\x35\xa8\x75"
30748 			  "\x03\x29\x01\x84\x8c\xab\x48\xbe"
30749 			  "\x11\x56\x22\x67\xb7\x67\x1a\x09"
30750 			  "\xa1\x72\x25\x41\x3c\x39\x65\x80"
30751 			  "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
30752 			  "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
30753 			  "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
30754 			  "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
30755 			  "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
30756 			  "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
30757 			  "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
30758 			  "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
30759 			  "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
30760 			  "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
30761 			  "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
30762 			  "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
30763 			  "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
30764 			  "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
30765 			  "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
30766 			  "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
30767 			  "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
30768 			  "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
30769 			  "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
30770 			  "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
30771 			  "\xef\x38\x52\x18\x0e\x29\x7e\xef"
30772 			  "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
30773 			  "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
30774 			  "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
30775 			  "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
30776 			  "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
30777 			  "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
30778 			  "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
30779 			  "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
30780 			  "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
30781 			  "\x21\x17\xf8\x59\x15\x24\x64\x22"
30782 			  "\x57\x48\x80\xd5\x3d\x92\x30\x07"
30783 			  "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
30784 			  "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
30785 			  "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
30786 			  "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
30787 			  "\x6b\x84\xf3\x00\xba\x52\x05\x02"
30788 			  "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
30789 			  "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
30790 			  "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
30791 			  "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
30792 			  "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
30793 			  "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
30794 			  "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
30795 			  "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
30796 			  "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
30797 			  "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
30798 		.rlen	= 512,
30799 		.also_non_np = 1,
30800 		.np	= 3,
30801 		.tap	= { 512 - 20, 4, 16 },
30802 	},
30803 };
30804 
30805 static const struct cipher_testvec camellia_xts_dec_tv_template[] = {
30806 	/* Generated from AES-XTS test vectors */
30807 	/* same as enc vectors with input and result reversed */
30808 	{
30809 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30810 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30811 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30812 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30813 		.klen	= 32,
30814 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30815 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30816 		.input	= "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
30817 			  "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
30818 			  "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
30819 			  "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
30820 		.ilen	= 32,
30821 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30822 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30823 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30824 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30825 		.rlen	= 32,
30826 	}, {
30827 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
30828 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
30829 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
30830 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
30831 		.klen	= 32,
30832 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
30833 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30834 		.input	= "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
30835 			  "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
30836 			  "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
30837 			  "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
30838 		.ilen	= 32,
30839 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
30840 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30841 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30842 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
30843 		.rlen	= 32,
30844 	}, {
30845 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
30846 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
30847 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
30848 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
30849 		.klen	= 32,
30850 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
30851 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30852 		.input	= "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
30853 			  "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
30854 			  "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
30855 			  "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
30856 		.ilen	= 32,
30857 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
30858 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30859 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30860 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
30861 		.rlen	= 32,
30862 	}, {
30863 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
30864 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
30865 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
30866 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
30867 		.klen	= 32,
30868 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30869 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30870 		.input	= "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
30871 			  "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
30872 			  "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
30873 			  "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
30874 			  "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
30875 			  "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
30876 			  "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
30877 			  "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
30878 			  "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
30879 			  "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
30880 			  "\x08\xda\x76\x00\x65\xcf\x7b\x31"
30881 			  "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
30882 			  "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
30883 			  "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
30884 			  "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
30885 			  "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
30886 			  "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
30887 			  "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
30888 			  "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
30889 			  "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
30890 			  "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
30891 			  "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
30892 			  "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
30893 			  "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
30894 			  "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
30895 			  "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
30896 			  "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
30897 			  "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
30898 			  "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
30899 			  "\x16\x31\xb2\x47\x91\x67\xaa\x28"
30900 			  "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
30901 			  "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
30902 			  "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
30903 			  "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
30904 			  "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
30905 			  "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
30906 			  "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
30907 			  "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
30908 			  "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
30909 			  "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
30910 			  "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
30911 			  "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
30912 			  "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
30913 			  "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
30914 			  "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
30915 			  "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
30916 			  "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
30917 			  "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
30918 			  "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
30919 			  "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
30920 			  "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
30921 			  "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
30922 			  "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
30923 			  "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
30924 			  "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
30925 			  "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
30926 			  "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
30927 			  "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
30928 			  "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
30929 			  "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
30930 			  "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
30931 			  "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
30932 			  "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
30933 			  "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
30934 		.ilen	= 512,
30935 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
30936 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30937 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30938 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30939 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30940 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30941 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30942 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30943 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30944 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30945 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30946 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30947 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30948 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30949 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30950 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30951 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30952 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30953 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30954 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30955 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30956 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30957 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30958 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30959 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30960 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30961 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30962 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30963 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30964 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30965 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30966 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
30967 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
30968 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30969 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30970 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30971 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30972 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30973 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30974 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30975 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30976 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30977 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30978 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30979 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30980 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30981 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30982 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30983 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30984 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30985 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30986 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30987 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30988 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30989 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30990 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30991 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30992 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30993 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30994 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30995 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30996 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30997 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30998 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
30999 		.rlen	= 512,
31000 	}, {
31001 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
31002 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
31003 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
31004 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
31005 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
31006 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
31007 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
31008 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
31009 		.klen	= 64,
31010 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
31011 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31012 		.input	= "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
31013 			  "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
31014 			  "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
31015 			  "\xf1\x74\xac\x96\x05\x7b\x32\xca"
31016 			  "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
31017 			  "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
31018 			  "\x97\x07\x82\xf0\x07\x12\x38\x0a"
31019 			  "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
31020 			  "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
31021 			  "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
31022 			  "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
31023 			  "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
31024 			  "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
31025 			  "\x41\x82\x0c\x45\x39\x35\xa8\x75"
31026 			  "\x03\x29\x01\x84\x8c\xab\x48\xbe"
31027 			  "\x11\x56\x22\x67\xb7\x67\x1a\x09"
31028 			  "\xa1\x72\x25\x41\x3c\x39\x65\x80"
31029 			  "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
31030 			  "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
31031 			  "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
31032 			  "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
31033 			  "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
31034 			  "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
31035 			  "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
31036 			  "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
31037 			  "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
31038 			  "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
31039 			  "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
31040 			  "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
31041 			  "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
31042 			  "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
31043 			  "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
31044 			  "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
31045 			  "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
31046 			  "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
31047 			  "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
31048 			  "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
31049 			  "\xef\x38\x52\x18\x0e\x29\x7e\xef"
31050 			  "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
31051 			  "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
31052 			  "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
31053 			  "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
31054 			  "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
31055 			  "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
31056 			  "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
31057 			  "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
31058 			  "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
31059 			  "\x21\x17\xf8\x59\x15\x24\x64\x22"
31060 			  "\x57\x48\x80\xd5\x3d\x92\x30\x07"
31061 			  "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
31062 			  "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
31063 			  "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
31064 			  "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
31065 			  "\x6b\x84\xf3\x00\xba\x52\x05\x02"
31066 			  "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
31067 			  "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
31068 			  "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
31069 			  "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
31070 			  "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
31071 			  "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
31072 			  "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
31073 			  "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
31074 			  "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
31075 			  "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
31076 		.ilen	= 512,
31077 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31078 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31079 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31080 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31081 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31082 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31083 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31084 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31085 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31086 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31087 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31088 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31089 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31090 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31091 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31092 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31093 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31094 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31095 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31096 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31097 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31098 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31099 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31100 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31101 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31102 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31103 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31104 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31105 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31106 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31107 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31108 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31109 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
31110 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31111 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31112 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31113 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31114 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31115 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31116 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31117 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31118 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31119 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31120 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31121 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31122 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31123 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31124 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31125 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31126 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31127 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31128 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31129 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31130 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31131 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31132 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31133 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31134 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31135 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31136 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31137 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31138 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31139 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31140 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
31141 		.rlen	= 512,
31142 		.also_non_np = 1,
31143 		.np	= 3,
31144 		.tap	= { 512 - 20, 4, 16 },
31145 	},
31146 };
31147 
31148 /*
31149  * SEED test vectors
31150  */
31151 static const struct cipher_testvec seed_enc_tv_template[] = {
31152 	{
31153 		.key    = zeroed_string,
31154 		.klen	= 16,
31155 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
31156 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31157 		.ilen	= 16,
31158 		.result	= "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
31159 			  "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
31160 		.rlen	= 16,
31161 	}, {
31162 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31163 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31164 		.klen	= 16,
31165 		.input	= zeroed_string,
31166 		.ilen	= 16,
31167 		.result	= "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
31168 			  "\x84\x48\x35\x97\xe4\x37\x0f\x43",
31169 		.rlen	= 16,
31170 	}, {
31171 		.key	= "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
31172 			  "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
31173 		.klen	= 16,
31174 		.input	= "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
31175 			  "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
31176 		.ilen	= 16,
31177 		.result	= "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
31178 			  "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
31179 		.rlen	= 16,
31180 	}, {
31181 		.key	= "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
31182 			  "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
31183 		.klen	= 16,
31184 		.input	= "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
31185 			  "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
31186 		.ilen	= 16,
31187 		.result	= "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
31188 			  "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
31189 		.rlen	= 16,
31190 	}
31191 };
31192 
31193 static const struct cipher_testvec seed_dec_tv_template[] = {
31194 	{
31195 		.key    = zeroed_string,
31196 		.klen	= 16,
31197 		.input	= "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
31198 			  "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
31199 		.ilen	= 16,
31200 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31201 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31202 		.rlen	= 16,
31203 	}, {
31204 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31205 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31206 		.klen	= 16,
31207 		.input	= "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
31208 			  "\x84\x48\x35\x97\xe4\x37\x0f\x43",
31209 		.ilen	= 16,
31210 		.result	= zeroed_string,
31211 		.rlen	= 16,
31212 	}, {
31213 		.key	= "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
31214 			  "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
31215 		.klen	= 16,
31216 		.input	= "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
31217 			  "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
31218 		.ilen	= 16,
31219 		.result	= "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
31220 			  "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
31221 		.rlen	= 16,
31222 	}, {
31223 		.key	= "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
31224 			  "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
31225 		.klen	= 16,
31226 		.input	= "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
31227 			  "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
31228 		.ilen	= 16,
31229 		.result	= "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
31230 			  "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
31231 		.rlen	= 16,
31232 	}
31233 };
31234 
31235 static const struct cipher_testvec salsa20_stream_enc_tv_template[] = {
31236 	/*
31237 	* Testvectors from verified.test-vectors submitted to ECRYPT.
31238 	* They are truncated to size 39, 64, 111, 129 to test a variety
31239 	* of input length.
31240 	*/
31241 	{ /* Set 3, vector 0 */
31242 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31243 			"\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
31244 		.klen	= 16,
31245 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
31246 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31247 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31248 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31249 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31250 			"\x00\x00\x00\x00\x00\x00\x00",
31251 		.ilen	= 39,
31252 		.result	= "\x2D\xD5\xC3\xF7\xBA\x2B\x20\xF7"
31253 			 "\x68\x02\x41\x0C\x68\x86\x88\x89"
31254 			 "\x5A\xD8\xC1\xBD\x4E\xA6\xC9\xB1"
31255 			 "\x40\xFB\x9B\x90\xE2\x10\x49\xBF"
31256 			 "\x58\x3F\x52\x79\x70\xEB\xC1",
31257 		.rlen	= 39,
31258 	}, { /* Set 5, vector 0 */
31259 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31260 			"\x00\x00\x00\x00\x00\x00\x00\x00",
31261 		.klen	= 16,
31262 		.iv     = "\x80\x00\x00\x00\x00\x00\x00\x00",
31263 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31264 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31265 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31266 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31267 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31268 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31269 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31270 			"\x00\x00\x00\x00\x00\x00\x00\x00",
31271 		.ilen	= 64,
31272 		.result	= "\xB6\x6C\x1E\x44\x46\xDD\x95\x57"
31273 			 "\xE5\x78\xE2\x23\xB0\xB7\x68\x01"
31274 			 "\x7B\x23\xB2\x67\xBB\x02\x34\xAE"
31275 			 "\x46\x26\xBF\x44\x3F\x21\x97\x76"
31276 			 "\x43\x6F\xB1\x9F\xD0\xE8\x86\x6F"
31277 			 "\xCD\x0D\xE9\xA9\x53\x8F\x4A\x09"
31278 			 "\xCA\x9A\xC0\x73\x2E\x30\xBC\xF9"
31279 			 "\x8E\x4F\x13\xE4\xB9\xE2\x01\xD9",
31280 		.rlen	= 64,
31281 	}, { /* Set 3, vector 27 */
31282 		.key	= "\x1B\x1C\x1D\x1E\x1F\x20\x21\x22"
31283 			"\x23\x24\x25\x26\x27\x28\x29\x2A"
31284 			"\x2B\x2C\x2D\x2E\x2F\x30\x31\x32"
31285 			"\x33\x34\x35\x36\x37\x38\x39\x3A",
31286 		.klen	= 32,
31287 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
31288 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31289 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31290 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31291 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31292 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31293 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31294 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31295 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31296 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31297 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31298 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31299 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31300 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31301 			"\x00\x00\x00\x00\x00\x00\x00",
31302 		.ilen	= 111,
31303 		.result	= "\xAE\x39\x50\x8E\xAC\x9A\xEC\xE7"
31304 			 "\xBF\x97\xBB\x20\xB9\xDE\xE4\x1F"
31305 			 "\x87\xD9\x47\xF8\x28\x91\x35\x98"
31306 			 "\xDB\x72\xCC\x23\x29\x48\x56\x5E"
31307 			 "\x83\x7E\x0B\xF3\x7D\x5D\x38\x7B"
31308 			 "\x2D\x71\x02\xB4\x3B\xB5\xD8\x23"
31309 			 "\xB0\x4A\xDF\x3C\xEC\xB6\xD9\x3B"
31310 			 "\x9B\xA7\x52\xBE\xC5\xD4\x50\x59"
31311 			 "\x15\x14\xB4\x0E\x40\xE6\x53\xD1"
31312 			 "\x83\x9C\x5B\xA0\x92\x29\x6B\x5E"
31313 			 "\x96\x5B\x1E\x2F\xD3\xAC\xC1\x92"
31314 			 "\xB1\x41\x3F\x19\x2F\xC4\x3B\xC6"
31315 			 "\x95\x46\x45\x54\xE9\x75\x03\x08"
31316 			 "\x44\xAF\xE5\x8A\x81\x12\x09",
31317 		.rlen	= 111,
31318 	}, { /* Set 5, vector 27 */
31319 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31320 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31321 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31322 			"\x00\x00\x00\x00\x00\x00\x00\x00",
31323 		.klen	= 32,
31324 		.iv     = "\x00\x00\x00\x10\x00\x00\x00\x00",
31325 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31326 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31327 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31328 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31329 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31330 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31331 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31332 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31333 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31334 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31335 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31336 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31337 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31338 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31339 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31340 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31341 			"\x00",
31342 		.ilen	= 129,
31343 		.result	= "\xD2\xDB\x1A\x5C\xF1\xC1\xAC\xDB"
31344 			 "\xE8\x1A\x7A\x43\x40\xEF\x53\x43"
31345 			 "\x5E\x7F\x4B\x1A\x50\x52\x3F\x8D"
31346 			 "\x28\x3D\xCF\x85\x1D\x69\x6E\x60"
31347 			 "\xF2\xDE\x74\x56\x18\x1B\x84\x10"
31348 			 "\xD4\x62\xBA\x60\x50\xF0\x61\xF2"
31349 			 "\x1C\x78\x7F\xC1\x24\x34\xAF\x58"
31350 			 "\xBF\x2C\x59\xCA\x90\x77\xF3\xB0"
31351 			 "\x5B\x4A\xDF\x89\xCE\x2C\x2F\xFC"
31352 			 "\x67\xF0\xE3\x45\xE8\xB3\xB3\x75"
31353 			 "\xA0\x95\x71\xA1\x29\x39\x94\xCA"
31354 			 "\x45\x2F\xBD\xCB\x10\xB6\xBE\x9F"
31355 			 "\x8E\xF9\xB2\x01\x0A\x5A\x0A\xB7"
31356 			 "\x6B\x9D\x70\x8E\x4B\xD6\x2F\xCD"
31357 			 "\x2E\x40\x48\x75\xE9\xE2\x21\x45"
31358 			 "\x0B\xC9\xB6\xB5\x66\xBC\x9A\x59"
31359 			 "\x5A",
31360 		.rlen	= 129,
31361 	}, { /* large test vector generated using Crypto++ */
31362 		.key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
31363 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31364 			"\x10\x11\x12\x13\x14\x15\x16\x17"
31365 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
31366 		.klen = 32,
31367 		.iv =	"\x00\x00\x00\x00\x00\x00\x00\x00"
31368 			"\x00\x00\x00\x00\x00\x00\x00\x00",
31369 		.input =
31370 			"\x00\x01\x02\x03\x04\x05\x06\x07"
31371 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31372 			"\x10\x11\x12\x13\x14\x15\x16\x17"
31373 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31374 			"\x20\x21\x22\x23\x24\x25\x26\x27"
31375 			"\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31376 			"\x30\x31\x32\x33\x34\x35\x36\x37"
31377 			"\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31378 			"\x40\x41\x42\x43\x44\x45\x46\x47"
31379 			"\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31380 			"\x50\x51\x52\x53\x54\x55\x56\x57"
31381 			"\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31382 			"\x60\x61\x62\x63\x64\x65\x66\x67"
31383 			"\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31384 			"\x70\x71\x72\x73\x74\x75\x76\x77"
31385 			"\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31386 			"\x80\x81\x82\x83\x84\x85\x86\x87"
31387 			"\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31388 			"\x90\x91\x92\x93\x94\x95\x96\x97"
31389 			"\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31390 			"\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31391 			"\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31392 			"\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31393 			"\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31394 			"\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31395 			"\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31396 			"\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31397 			"\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31398 			"\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31399 			"\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31400 			"\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31401 			"\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31402 			"\x00\x03\x06\x09\x0c\x0f\x12\x15"
31403 			"\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
31404 			"\x30\x33\x36\x39\x3c\x3f\x42\x45"
31405 			"\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
31406 			"\x60\x63\x66\x69\x6c\x6f\x72\x75"
31407 			"\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
31408 			"\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
31409 			"\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
31410 			"\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
31411 			"\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
31412 			"\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
31413 			"\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
31414 			"\x20\x23\x26\x29\x2c\x2f\x32\x35"
31415 			"\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
31416 			"\x50\x53\x56\x59\x5c\x5f\x62\x65"
31417 			"\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
31418 			"\x80\x83\x86\x89\x8c\x8f\x92\x95"
31419 			"\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
31420 			"\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
31421 			"\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
31422 			"\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
31423 			"\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
31424 			"\x10\x13\x16\x19\x1c\x1f\x22\x25"
31425 			"\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
31426 			"\x40\x43\x46\x49\x4c\x4f\x52\x55"
31427 			"\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
31428 			"\x70\x73\x76\x79\x7c\x7f\x82\x85"
31429 			"\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
31430 			"\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
31431 			"\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
31432 			"\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
31433 			"\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
31434 			"\x00\x05\x0a\x0f\x14\x19\x1e\x23"
31435 			"\x28\x2d\x32\x37\x3c\x41\x46\x4b"
31436 			"\x50\x55\x5a\x5f\x64\x69\x6e\x73"
31437 			"\x78\x7d\x82\x87\x8c\x91\x96\x9b"
31438 			"\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
31439 			"\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
31440 			"\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
31441 			"\x18\x1d\x22\x27\x2c\x31\x36\x3b"
31442 			"\x40\x45\x4a\x4f\x54\x59\x5e\x63"
31443 			"\x68\x6d\x72\x77\x7c\x81\x86\x8b"
31444 			"\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
31445 			"\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
31446 			"\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
31447 			"\x08\x0d\x12\x17\x1c\x21\x26\x2b"
31448 			"\x30\x35\x3a\x3f\x44\x49\x4e\x53"
31449 			"\x58\x5d\x62\x67\x6c\x71\x76\x7b"
31450 			"\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
31451 			"\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
31452 			"\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
31453 			"\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
31454 			"\x20\x25\x2a\x2f\x34\x39\x3e\x43"
31455 			"\x48\x4d\x52\x57\x5c\x61\x66\x6b"
31456 			"\x70\x75\x7a\x7f\x84\x89\x8e\x93"
31457 			"\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
31458 			"\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
31459 			"\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
31460 			"\x10\x15\x1a\x1f\x24\x29\x2e\x33"
31461 			"\x38\x3d\x42\x47\x4c\x51\x56\x5b"
31462 			"\x60\x65\x6a\x6f\x74\x79\x7e\x83"
31463 			"\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
31464 			"\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
31465 			"\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
31466 			"\x00\x07\x0e\x15\x1c\x23\x2a\x31"
31467 			"\x38\x3f\x46\x4d\x54\x5b\x62\x69"
31468 			"\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
31469 			"\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
31470 			"\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
31471 			"\x18\x1f\x26\x2d\x34\x3b\x42\x49"
31472 			"\x50\x57\x5e\x65\x6c\x73\x7a\x81"
31473 			"\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
31474 			"\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
31475 			"\xf8\xff\x06\x0d\x14\x1b\x22\x29"
31476 			"\x30\x37\x3e\x45\x4c\x53\x5a\x61"
31477 			"\x68\x6f\x76\x7d\x84\x8b\x92\x99"
31478 			"\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
31479 			"\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
31480 			"\x10\x17\x1e\x25\x2c\x33\x3a\x41"
31481 			"\x48\x4f\x56\x5d\x64\x6b\x72\x79"
31482 			"\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
31483 			"\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
31484 			"\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
31485 			"\x28\x2f\x36\x3d\x44\x4b\x52\x59"
31486 			"\x60\x67\x6e\x75\x7c\x83\x8a\x91"
31487 			"\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
31488 			"\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
31489 			"\x08\x0f\x16\x1d\x24\x2b\x32\x39"
31490 			"\x40\x47\x4e\x55\x5c\x63\x6a\x71"
31491 			"\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
31492 			"\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
31493 			"\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
31494 			"\x20\x27\x2e\x35\x3c\x43\x4a\x51"
31495 			"\x58\x5f\x66\x6d\x74\x7b\x82\x89"
31496 			"\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
31497 			"\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
31498 			"\x00\x09\x12\x1b\x24\x2d\x36\x3f"
31499 			"\x48\x51\x5a\x63\x6c\x75\x7e\x87"
31500 			"\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
31501 			"\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
31502 			"\x20\x29\x32\x3b\x44\x4d\x56\x5f"
31503 			"\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
31504 			"\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
31505 			"\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
31506 			"\x40\x49\x52\x5b\x64\x6d\x76\x7f"
31507 			"\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
31508 			"\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
31509 			"\x18\x21\x2a\x33\x3c\x45\x4e\x57"
31510 			"\x60\x69\x72\x7b\x84\x8d\x96\x9f"
31511 			"\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
31512 			"\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
31513 			"\x38\x41\x4a\x53\x5c\x65\x6e\x77"
31514 			"\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
31515 			"\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
31516 			"\x10\x19\x22\x2b\x34\x3d\x46\x4f"
31517 			"\x58\x61\x6a\x73\x7c\x85\x8e\x97"
31518 			"\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
31519 			"\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
31520 			"\x30\x39\x42\x4b\x54\x5d\x66\x6f"
31521 			"\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
31522 			"\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
31523 			"\x08\x11\x1a\x23\x2c\x35\x3e\x47"
31524 			"\x50\x59\x62\x6b\x74\x7d\x86\x8f"
31525 			"\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
31526 			"\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
31527 			"\x28\x31\x3a\x43\x4c\x55\x5e\x67"
31528 			"\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
31529 			"\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
31530 			"\x00\x0b\x16\x21\x2c\x37\x42\x4d"
31531 			"\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
31532 			"\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
31533 			"\x08\x13\x1e\x29\x34\x3f\x4a\x55"
31534 			"\x60\x6b\x76\x81\x8c\x97\xa2\xad"
31535 			"\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
31536 			"\x10\x1b\x26\x31\x3c\x47\x52\x5d"
31537 			"\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
31538 			"\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
31539 			"\x18\x23\x2e\x39\x44\x4f\x5a\x65"
31540 			"\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
31541 			"\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
31542 			"\x20\x2b\x36\x41\x4c\x57\x62\x6d"
31543 			"\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
31544 			"\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
31545 			"\x28\x33\x3e\x49\x54\x5f\x6a\x75"
31546 			"\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
31547 			"\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
31548 			"\x30\x3b\x46\x51\x5c\x67\x72\x7d"
31549 			"\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
31550 			"\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
31551 			"\x38\x43\x4e\x59\x64\x6f\x7a\x85"
31552 			"\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
31553 			"\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
31554 			"\x40\x4b\x56\x61\x6c\x77\x82\x8d"
31555 			"\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
31556 			"\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
31557 			"\x48\x53\x5e\x69\x74\x7f\x8a\x95"
31558 			"\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
31559 			"\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
31560 			"\x50\x5b\x66\x71\x7c\x87\x92\x9d"
31561 			"\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
31562 			"\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
31563 			"\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
31564 			"\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
31565 			"\x38\x45\x52\x5f\x6c\x79\x86\x93"
31566 			"\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
31567 			"\x08\x15\x22\x2f\x3c\x49\x56\x63"
31568 			"\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
31569 			"\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
31570 			"\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
31571 			"\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
31572 			"\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
31573 			"\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
31574 			"\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
31575 			"\x48\x55\x62\x6f\x7c\x89\x96\xa3"
31576 			"\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
31577 			"\x18\x25\x32\x3f\x4c\x59\x66\x73"
31578 			"\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
31579 			"\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
31580 			"\x50\x5d\x6a\x77\x84\x91\x9e\xab"
31581 			"\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
31582 			"\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
31583 			"\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
31584 			"\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
31585 			"\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
31586 			"\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
31587 			"\x28\x35\x42\x4f\x5c\x69\x76\x83"
31588 			"\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
31589 			"\xf8\x05\x12\x1f\x2c\x39\x46\x53"
31590 			"\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
31591 			"\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
31592 			"\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
31593 			"\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
31594 			"\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
31595 			"\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
31596 			"\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
31597 			"\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
31598 			"\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
31599 			"\x58\x67\x76\x85\x94\xa3\xb2\xc1"
31600 			"\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
31601 			"\x48\x57\x66\x75\x84\x93\xa2\xb1"
31602 			"\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
31603 			"\x38\x47\x56\x65\x74\x83\x92\xa1"
31604 			"\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
31605 			"\x28\x37\x46\x55\x64\x73\x82\x91"
31606 			"\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
31607 			"\x18\x27\x36\x45\x54\x63\x72\x81"
31608 			"\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
31609 			"\x08\x17\x26\x35\x44\x53\x62\x71"
31610 			"\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
31611 			"\xf8\x07\x16\x25\x34\x43\x52\x61"
31612 			"\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
31613 			"\xe8\xf7\x06\x15\x24\x33\x42\x51"
31614 			"\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
31615 			"\xd8\xe7\xf6\x05\x14\x23\x32\x41"
31616 			"\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
31617 			"\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
31618 			"\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
31619 			"\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
31620 			"\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
31621 			"\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
31622 			"\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
31623 			"\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
31624 			"\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
31625 			"\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
31626 			"\x00\x11\x22\x33\x44\x55\x66\x77"
31627 			"\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
31628 			"\x10\x21\x32\x43\x54\x65\x76\x87"
31629 			"\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
31630 			"\x20\x31\x42\x53\x64\x75\x86\x97"
31631 			"\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
31632 			"\x30\x41\x52\x63\x74\x85\x96\xa7"
31633 			"\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
31634 			"\x40\x51\x62\x73\x84\x95\xa6\xb7"
31635 			"\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
31636 			"\x50\x61\x72\x83\x94\xa5\xb6\xc7"
31637 			"\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
31638 			"\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
31639 			"\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
31640 			"\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
31641 			"\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
31642 			"\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
31643 			"\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
31644 			"\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
31645 			"\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
31646 			"\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
31647 			"\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
31648 			"\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
31649 			"\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
31650 			"\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
31651 			"\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
31652 			"\xd0\xe1\xf2\x03\x14\x25\x36\x47"
31653 			"\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
31654 			"\xe0\xf1\x02\x13\x24\x35\x46\x57"
31655 			"\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
31656 			"\xf0\x01\x12\x23\x34\x45\x56\x67"
31657 			"\x78\x89\x9a\xab\xbc\xcd\xde\xef"
31658 			"\x00\x13\x26\x39\x4c\x5f\x72\x85"
31659 			"\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
31660 			"\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
31661 			"\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
31662 			"\x60\x73\x86\x99\xac\xbf\xd2\xe5"
31663 			"\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
31664 			"\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
31665 			"\x28\x3b\x4e\x61\x74\x87\x9a\xad"
31666 			"\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
31667 			"\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
31668 			"\xf0\x03\x16\x29\x3c\x4f\x62\x75"
31669 			"\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
31670 			"\x20\x33\x46\x59\x6c\x7f\x92\xa5"
31671 			"\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
31672 			"\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
31673 			"\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
31674 			"\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
31675 			"\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
31676 			"\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
31677 			"\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
31678 			"\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
31679 			"\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
31680 			"\x10\x23\x36\x49\x5c\x6f\x82\x95"
31681 			"\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
31682 			"\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
31683 			"\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
31684 			"\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
31685 			"\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
31686 			"\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
31687 			"\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
31688 			"\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
31689 			"\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
31690 			"\x00\x15\x2a\x3f\x54\x69\x7e\x93"
31691 			"\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
31692 			"\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
31693 			"\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
31694 			"\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
31695 			"\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
31696 			"\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
31697 			"\x98\xad\xc2\xd7\xec\x01\x16\x2b"
31698 			"\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
31699 			"\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
31700 			"\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
31701 			"\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
31702 			"\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
31703 			"\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
31704 			"\x30\x45\x5a\x6f\x84\x99\xae\xc3"
31705 			"\xd8\xed\x02\x17\x2c\x41\x56\x6b"
31706 			"\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
31707 			"\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
31708 			"\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
31709 			"\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
31710 			"\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
31711 			"\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
31712 			"\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
31713 			"\x18\x2d\x42\x57\x6c\x81\x96\xab"
31714 			"\xc0\xd5\xea\xff\x14\x29\x3e\x53"
31715 			"\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
31716 			"\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
31717 			"\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
31718 			"\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
31719 			"\x08\x1d\x32\x47\x5c\x71\x86\x9b"
31720 			"\xb0\xc5\xda\xef\x04\x19\x2e\x43"
31721 			"\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
31722 			"\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
31723 			"\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
31724 			"\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
31725 			"\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
31726 			"\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
31727 			"\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
31728 			"\x50\x67\x7e\x95\xac\xc3\xda\xf1"
31729 			"\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
31730 			"\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
31731 			"\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
31732 			"\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
31733 			"\xe8\xff\x16\x2d\x44\x5b\x72\x89"
31734 			"\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
31735 			"\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
31736 			"\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
31737 			"\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
31738 			"\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
31739 			"\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
31740 			"\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
31741 			"\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
31742 			"\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
31743 			"\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
31744 			"\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
31745 			"\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
31746 			"\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
31747 			"\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
31748 			"\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
31749 			"\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
31750 			"\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
31751 			"\xd8\xef\x06\x1d\x34\x4b\x62\x79"
31752 			"\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
31753 			"\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
31754 			"\x00\x19\x32\x4b\x64\x7d\x96\xaf"
31755 			"\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
31756 			"\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
31757 			"\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
31758 			"\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
31759 			"\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
31760 			"\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
31761 			"\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
31762 			"\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
31763 			"\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
31764 			"\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
31765 			"\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
31766 			"\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
31767 			"\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
31768 			"\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
31769 			"\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
31770 			"\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
31771 			"\x48\x61\x7a\x93\xac\xc5\xde\xf7"
31772 			"\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
31773 			"\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
31774 			"\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
31775 			"\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
31776 			"\x30\x49\x62\x7b\x94\xad\xc6\xdf"
31777 			"\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
31778 			"\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
31779 			"\x88\xa1\xba\xd3\xec\x05\x1e\x37"
31780 			"\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
31781 			"\x18\x31\x4a\x63\x7c\x95\xae\xc7"
31782 			"\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
31783 			"\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
31784 			"\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
31785 			"\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
31786 			"\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
31787 			"\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
31788 			"\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
31789 			"\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
31790 			"\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
31791 			"\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
31792 			"\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
31793 			"\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
31794 			"\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
31795 			"\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
31796 			"\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
31797 			"\x48\x63\x7e\x99\xb4\xcf\xea\x05"
31798 			"\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
31799 			"\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
31800 			"\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
31801 			"\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
31802 			"\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
31803 			"\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
31804 			"\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
31805 			"\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
31806 			"\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
31807 			"\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
31808 			"\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
31809 			"\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
31810 			"\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
31811 			"\x18\x33\x4e\x69\x84\x9f\xba\xd5"
31812 			"\xf0\x0b\x26\x41\x5c\x77\x92\xad"
31813 			"\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
31814 			"\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
31815 			"\x78\x93\xae\xc9\xe4\xff\x1a\x35"
31816 			"\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
31817 			"\x28\x43\x5e\x79\x94\xaf\xca\xe5"
31818 			"\x00\x1d\x3a\x57\x74\x91\xae\xcb"
31819 			"\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
31820 			"\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
31821 			"\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
31822 			"\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
31823 			"\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
31824 			"\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
31825 			"\x58\x75\x92\xaf\xcc\xe9\x06\x23"
31826 			"\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
31827 			"\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
31828 			"\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
31829 			"\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
31830 			"\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
31831 			"\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
31832 			"\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
31833 			"\x98\xb5\xd2\xef\x0c\x29\x46\x63"
31834 			"\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
31835 			"\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
31836 			"\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
31837 			"\x38\x55\x72\x8f\xac\xc9\xe6\x03"
31838 			"\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
31839 			"\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
31840 			"\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
31841 			"\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
31842 			"\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
31843 			"\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
31844 			"\x90\xad\xca\xe7\x04\x21\x3e\x5b"
31845 			"\x78\x95\xb2\xcf\xec\x09\x26\x43"
31846 			"\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
31847 			"\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
31848 			"\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
31849 			"\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
31850 			"\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
31851 			"\xf8\x17\x36\x55\x74\x93\xb2\xd1"
31852 			"\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
31853 			"\xe8\x07\x26\x45\x64\x83\xa2\xc1"
31854 			"\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
31855 			"\xd8\xf7\x16\x35\x54\x73\x92\xb1"
31856 			"\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
31857 			"\xc8\xe7\x06\x25\x44\x63\x82\xa1"
31858 			"\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
31859 			"\xb8\xd7\xf6\x15\x34\x53\x72\x91"
31860 			"\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
31861 			"\xa8\xc7\xe6\x05\x24\x43\x62\x81"
31862 			"\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
31863 			"\x98\xb7\xd6\xf5\x14\x33\x52\x71"
31864 			"\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
31865 			"\x88\xa7\xc6\xe5\x04\x23\x42\x61"
31866 			"\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
31867 			"\x78\x97\xb6\xd5\xf4\x13\x32\x51"
31868 			"\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
31869 			"\x68\x87\xa6\xc5\xe4\x03\x22\x41"
31870 			"\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
31871 			"\x58\x77\x96\xb5\xd4\xf3\x12\x31"
31872 			"\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
31873 			"\x48\x67\x86\xa5\xc4\xe3\x02\x21"
31874 			"\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
31875 			"\x38\x57\x76\x95\xb4\xd3\xf2\x11"
31876 			"\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
31877 			"\x28\x47\x66\x85\xa4\xc3\xe2\x01"
31878 			"\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
31879 			"\x18\x37\x56\x75\x94\xb3\xd2\xf1"
31880 			"\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
31881 			"\x08\x27\x46\x65\x84\xa3\xc2\xe1"
31882 			"\x00\x21\x42\x63",
31883 		.ilen = 4100,
31884 		.result =
31885 			"\xb5\x81\xf5\x64\x18\x73\xe3\xf0"
31886 			"\x4c\x13\xf2\x77\x18\x60\x65\x5e"
31887 			"\x29\x01\xce\x98\x55\x53\xf9\x0c"
31888 			"\x2a\x08\xd5\x09\xb3\x57\x55\x56"
31889 			"\xc5\xe9\x56\x90\xcb\x6a\xa3\xc0"
31890 			"\xff\xc4\x79\xb4\xd2\x97\x5d\xc4"
31891 			"\x43\xd1\xfe\x94\x7b\x88\x06\x5a"
31892 			"\xb2\x9e\x2c\xfc\x44\x03\xb7\x90"
31893 			"\xa0\xc1\xba\x6a\x33\xb8\xc7\xb2"
31894 			"\x9d\xe1\x12\x4f\xc0\x64\xd4\x01"
31895 			"\xfe\x8c\x7a\x66\xf7\xe6\x5a\x91"
31896 			"\xbb\xde\x56\x86\xab\x65\x21\x30"
31897 			"\x00\x84\x65\x24\xa5\x7d\x85\xb4"
31898 			"\xe3\x17\xed\x3a\xb7\x6f\xb4\x0b"
31899 			"\x0b\xaf\x15\xae\x5a\x8f\xf2\x0c"
31900 			"\x2f\x27\xf4\x09\xd8\xd2\x96\xb7"
31901 			"\x71\xf2\xc5\x99\x4d\x7e\x7f\x75"
31902 			"\x77\x89\x30\x8b\x59\xdb\xa2\xb2"
31903 			"\xa0\xf3\x19\x39\x2b\xc5\x7e\x3f"
31904 			"\x4f\xd9\xd3\x56\x28\x97\x44\xdc"
31905 			"\xc0\x8b\x77\x24\xd9\x52\xe7\xc5"
31906 			"\xaf\xf6\x7d\x59\xb2\x44\x05\x1d"
31907 			"\xb1\xb0\x11\xa5\x0f\xec\x33\xe1"
31908 			"\x6d\x1b\x4e\x1f\xff\x57\x91\xb4"
31909 			"\x5b\x9a\x96\xc5\x53\xbc\xae\x20"
31910 			"\x3c\xbb\x14\xe2\xe8\x22\x33\xc1"
31911 			"\x5e\x76\x9e\x46\x99\xf6\x2a\x15"
31912 			"\xc6\x97\x02\xa0\x66\x43\xd1\xa6"
31913 			"\x31\xa6\x9f\xfb\xf4\xd3\x69\xe5"
31914 			"\xcd\x76\x95\xb8\x7a\x82\x7f\x21"
31915 			"\x45\xff\x3f\xce\x55\xf6\x95\x10"
31916 			"\x08\x77\x10\x43\xc6\xf3\x09\xe5"
31917 			"\x68\xe7\x3c\xad\x00\x52\x45\x0d"
31918 			"\xfe\x2d\xc6\xc2\x94\x8c\x12\x1d"
31919 			"\xe6\x25\xae\x98\x12\x8e\x19\x9c"
31920 			"\x81\x68\xb1\x11\xf6\x69\xda\xe3"
31921 			"\x62\x08\x18\x7a\x25\x49\x28\xac"
31922 			"\xba\x71\x12\x0b\xe4\xa2\xe5\xc7"
31923 			"\x5d\x8e\xec\x49\x40\x21\xbf\x5a"
31924 			"\x98\xf3\x02\x68\x55\x03\x7f\x8a"
31925 			"\xe5\x94\x0c\x32\x5c\x07\x82\x63"
31926 			"\xaf\x6f\x91\x40\x84\x8e\x52\x25"
31927 			"\xd0\xb0\x29\x53\x05\xe2\x50\x7a"
31928 			"\x34\xeb\xc9\x46\x20\xa8\x3d\xde"
31929 			"\x7f\x16\x5f\x36\xc5\x2e\xdc\xd1"
31930 			"\x15\x47\xc7\x50\x40\x6d\x91\xc5"
31931 			"\xe7\x93\x95\x1a\xd3\x57\xbc\x52"
31932 			"\x33\xee\x14\x19\x22\x52\x89\xa7"
31933 			"\x4a\x25\x56\x77\x4b\xca\xcf\x0a"
31934 			"\xe1\xf5\x35\x85\x30\x7e\x59\x4a"
31935 			"\xbd\x14\x5b\xdf\xe3\x46\xcb\xac"
31936 			"\x1f\x6c\x96\x0e\xf4\x81\xd1\x99"
31937 			"\xca\x88\x63\x3d\x02\x58\x6b\xa9"
31938 			"\xe5\x9f\xb3\x00\xb2\x54\xc6\x74"
31939 			"\x1c\xbf\x46\xab\x97\xcc\xf8\x54"
31940 			"\x04\x07\x08\x52\xe6\xc0\xda\x93"
31941 			"\x74\x7d\x93\x99\x5d\x78\x68\xa6"
31942 			"\x2e\x6b\xd3\x6a\x69\xcc\x12\x6b"
31943 			"\xd4\xc7\xa5\xc6\xe7\xf6\x03\x04"
31944 			"\x5d\xcd\x61\x5e\x17\x40\xdc\xd1"
31945 			"\x5c\xf5\x08\xdf\x5c\x90\x85\xa4"
31946 			"\xaf\xf6\x78\xbb\x0d\xf1\xf4\xa4"
31947 			"\x54\x26\x72\x9e\x61\xfa\x86\xcf"
31948 			"\xe8\x9e\xa1\xe0\xc7\x48\x23\xae"
31949 			"\x5a\x90\xae\x75\x0a\x74\x18\x89"
31950 			"\x05\xb1\x92\xb2\x7f\xd0\x1b\xa6"
31951 			"\x62\x07\x25\x01\xc7\xc2\x4f\xf9"
31952 			"\xe8\xfe\x63\x95\x80\x07\xb4\x26"
31953 			"\xcc\xd1\x26\xb6\xc4\x3f\x9e\xcb"
31954 			"\x8e\x3b\x2e\x44\x16\xd3\x10\x9a"
31955 			"\x95\x08\xeb\xc8\xcb\xeb\xbf\x6f"
31956 			"\x0b\xcd\x1f\xc8\xca\x86\xaa\xec"
31957 			"\x33\xe6\x69\xf4\x45\x25\x86\x3a"
31958 			"\x22\x94\x4f\x00\x23\x6a\x44\xc2"
31959 			"\x49\x97\x33\xab\x36\x14\x0a\x70"
31960 			"\x24\xc3\xbe\x04\x3b\x79\xa0\xf9"
31961 			"\xb8\xe7\x76\x29\x22\x83\xd7\xf2"
31962 			"\x94\xf4\x41\x49\xba\x5f\x7b\x07"
31963 			"\xb5\xfb\xdb\x03\x1a\x9f\xb6\x4c"
31964 			"\xc2\x2e\x37\x40\x49\xc3\x38\x16"
31965 			"\xe2\x4f\x77\x82\xb0\x68\x4c\x71"
31966 			"\x1d\x57\x61\x9c\xd9\x4e\x54\x99"
31967 			"\x47\x13\x28\x73\x3c\xbb\x00\x90"
31968 			"\xf3\x4d\xc9\x0e\xfd\xe7\xb1\x71"
31969 			"\xd3\x15\x79\xbf\xcc\x26\x2f\xbd"
31970 			"\xad\x6c\x50\x69\x6c\x3e\x6d\x80"
31971 			"\x9a\xea\x78\xaf\x19\xb2\x0d\x4d"
31972 			"\xad\x04\x07\xae\x22\x90\x4a\x93"
31973 			"\x32\x0e\x36\x9b\x1b\x46\xba\x3b"
31974 			"\xb4\xac\xc6\xd1\xa2\x31\x53\x3b"
31975 			"\x2a\x3d\x45\xfe\x03\x61\x10\x85"
31976 			"\x17\x69\xa6\x78\xcc\x6c\x87\x49"
31977 			"\x53\xf9\x80\x10\xde\x80\xa2\x41"
31978 			"\x6a\xc3\x32\x02\xad\x6d\x3c\x56"
31979 			"\x00\x71\x51\x06\xa7\xbd\xfb\xef"
31980 			"\x3c\xb5\x9f\xfc\x48\x7d\x53\x7c"
31981 			"\x66\xb0\x49\x23\xc4\x47\x10\x0e"
31982 			"\xe5\x6c\x74\x13\xe6\xc5\x3f\xaa"
31983 			"\xde\xff\x07\x44\xdd\x56\x1b\xad"
31984 			"\x09\x77\xfb\x5b\x12\xb8\x0d\x38"
31985 			"\x17\x37\x35\x7b\x9b\xbc\xfe\xd4"
31986 			"\x7e\x8b\xda\x7e\x5b\x04\xa7\x22"
31987 			"\xa7\x31\xa1\x20\x86\xc7\x1b\x99"
31988 			"\xdb\xd1\x89\xf4\x94\xa3\x53\x69"
31989 			"\x8d\xe7\xe8\x74\x11\x8d\x74\xd6"
31990 			"\x07\x37\x91\x9f\xfd\x67\x50\x3a"
31991 			"\xc9\xe1\xf4\x36\xd5\xa0\x47\xd1"
31992 			"\xf9\xe5\x39\xa3\x31\xac\x07\x36"
31993 			"\x23\xf8\x66\x18\x14\x28\x34\x0f"
31994 			"\xb8\xd0\xe7\x29\xb3\x04\x4b\x55"
31995 			"\x01\x41\xb2\x75\x8d\xcb\x96\x85"
31996 			"\x3a\xfb\xab\x2b\x9e\xfa\x58\x20"
31997 			"\x44\x1f\xc0\x14\x22\x75\x61\xe8"
31998 			"\xaa\x19\xcf\xf1\x82\x56\xf4\xd7"
31999 			"\x78\x7b\x3d\x5f\xb3\x9e\x0b\x8a"
32000 			"\x57\x50\xdb\x17\x41\x65\x4d\xa3"
32001 			"\x02\xc9\x9c\x9c\x53\xfb\x39\x39"
32002 			"\x9b\x1d\x72\x24\xda\xb7\x39\xbe"
32003 			"\x13\x3b\xfa\x29\xda\x9e\x54\x64"
32004 			"\x6e\xba\xd8\xa1\xcb\xb3\x36\xfa"
32005 			"\xcb\x47\x85\xe9\x61\x38\xbc\xbe"
32006 			"\xc5\x00\x38\x2a\x54\xf7\xc4\xb9"
32007 			"\xb3\xd3\x7b\xa0\xa0\xf8\x72\x7f"
32008 			"\x8c\x8e\x82\x0e\xc6\x1c\x75\x9d"
32009 			"\xca\x8e\x61\x87\xde\xad\x80\xd2"
32010 			"\xf5\xf9\x80\xef\x15\x75\xaf\xf5"
32011 			"\x80\xfb\xff\x6d\x1e\x25\xb7\x40"
32012 			"\x61\x6a\x39\x5a\x6a\xb5\x31\xab"
32013 			"\x97\x8a\x19\x89\x44\x40\xc0\xa6"
32014 			"\xb4\x4e\x30\x32\x7b\x13\xe7\x67"
32015 			"\xa9\x8b\x57\x04\xc2\x01\xa6\xf4"
32016 			"\x28\x99\xad\x2c\x76\xa3\x78\xc2"
32017 			"\x4a\xe6\xca\x5c\x50\x6a\xc1\xb0"
32018 			"\x62\x4b\x10\x8e\x7c\x17\x43\xb3"
32019 			"\x17\x66\x1c\x3e\x8d\x69\xf0\x5a"
32020 			"\x71\xf5\x97\xdc\xd1\x45\xdd\x28"
32021 			"\xf3\x5d\xdf\x53\x7b\x11\xe5\xbc"
32022 			"\x4c\xdb\x1b\x51\x6b\xe9\xfb\x3d"
32023 			"\xc1\xc3\x2c\xb9\x71\xf5\xb6\xb2"
32024 			"\x13\x36\x79\x80\x53\xe8\xd3\xa6"
32025 			"\x0a\xaf\xfd\x56\x97\xf7\x40\x8e"
32026 			"\x45\xce\xf8\xb0\x9e\x5c\x33\x82"
32027 			"\xb0\x44\x56\xfc\x05\x09\xe9\x2a"
32028 			"\xac\x26\x80\x14\x1d\xc8\x3a\x35"
32029 			"\x4c\x82\x97\xfd\x76\xb7\xa9\x0a"
32030 			"\x35\x58\x79\x8e\x0f\x66\xea\xaf"
32031 			"\x51\x6c\x09\xa9\x6e\x9b\xcb\x9a"
32032 			"\x31\x47\xa0\x2f\x7c\x71\xb4\x4a"
32033 			"\x11\xaa\x8c\x66\xc5\x64\xe6\x3a"
32034 			"\x54\xda\x24\x6a\xc4\x41\x65\x46"
32035 			"\x82\xa0\x0a\x0f\x5f\xfb\x25\xd0"
32036 			"\x2c\x91\xa7\xee\xc4\x81\x07\x86"
32037 			"\x75\x5e\x33\x69\x97\xe4\x2c\xa8"
32038 			"\x9d\x9f\x0b\x6a\xbe\xad\x98\xda"
32039 			"\x6d\x94\x41\xda\x2c\x1e\x89\xc4"
32040 			"\xc2\xaf\x1e\x00\x05\x0b\x83\x60"
32041 			"\xbd\x43\xea\x15\x23\x7f\xb9\xac"
32042 			"\xee\x4f\x2c\xaf\x2a\xf3\xdf\xd0"
32043 			"\xf3\x19\x31\xbb\x4a\x74\x84\x17"
32044 			"\x52\x32\x2c\x7d\x61\xe4\xcb\xeb"
32045 			"\x80\x38\x15\x52\xcb\x6f\xea\xe5"
32046 			"\x73\x9c\xd9\x24\x69\xc6\x95\x32"
32047 			"\x21\xc8\x11\xe4\xdc\x36\xd7\x93"
32048 			"\x38\x66\xfb\xb2\x7f\x3a\xb9\xaf"
32049 			"\x31\xdd\x93\x75\x78\x8a\x2c\x94"
32050 			"\x87\x1a\x58\xec\x9e\x7d\x4d\xba"
32051 			"\xe1\xe5\x4d\xfc\xbc\xa4\x2a\x14"
32052 			"\xef\xcc\xa7\xec\xab\x43\x09\x18"
32053 			"\xd3\xab\x68\xd1\x07\x99\x44\x47"
32054 			"\xd6\x83\x85\x3b\x30\xea\xa9\x6b"
32055 			"\x63\xea\xc4\x07\xfb\x43\x2f\xa4"
32056 			"\xaa\xb0\xab\x03\x89\xce\x3f\x8c"
32057 			"\x02\x7c\x86\x54\xbc\x88\xaf\x75"
32058 			"\xd2\xdc\x63\x17\xd3\x26\xf6\x96"
32059 			"\xa9\x3c\xf1\x61\x8c\x11\x18\xcc"
32060 			"\xd6\xea\x5b\xe2\xcd\xf0\xf1\xb2"
32061 			"\xe5\x35\x90\x1f\x85\x4c\x76\x5b"
32062 			"\x66\xce\x44\xa4\x32\x9f\xe6\x7b"
32063 			"\x71\x6e\x9f\x58\x15\x67\x72\x87"
32064 			"\x64\x8e\x3a\x44\x45\xd4\x76\xfa"
32065 			"\xc2\xf6\xef\x85\x05\x18\x7a\x9b"
32066 			"\xba\x41\x54\xac\xf0\xfc\x59\x12"
32067 			"\x3f\xdf\xa0\xe5\x8a\x65\xfd\x3a"
32068 			"\x62\x8d\x83\x2c\x03\xbe\x05\x76"
32069 			"\x2e\x53\x49\x97\x94\x33\xae\x40"
32070 			"\x81\x15\xdb\x6e\xad\xaa\xf5\x4b"
32071 			"\xe3\x98\x70\xdf\xe0\x7c\xcd\xdb"
32072 			"\x02\xd4\x7d\x2f\xc1\xe6\xb4\xf3"
32073 			"\xd7\x0d\x7a\xd9\x23\x9e\x87\x2d"
32074 			"\xce\x87\xad\xcc\x72\x05\x00\x29"
32075 			"\xdc\x73\x7f\x64\xc1\x15\x0e\xc2"
32076 			"\xdf\xa7\x5f\xeb\x41\xa1\xcd\xef"
32077 			"\x5c\x50\x79\x2a\x56\x56\x71\x8c"
32078 			"\xac\xc0\x79\x50\x69\xca\x59\x32"
32079 			"\x65\xf2\x54\xe4\x52\x38\x76\xd1"
32080 			"\x5e\xde\x26\x9e\xfb\x75\x2e\x11"
32081 			"\xb5\x10\xf4\x17\x73\xf5\x89\xc7"
32082 			"\x4f\x43\x5c\x8e\x7c\xb9\x05\x52"
32083 			"\x24\x40\x99\xfe\x9b\x85\x0b\x6c"
32084 			"\x22\x3e\x8b\xae\x86\xa1\xd2\x79"
32085 			"\x05\x68\x6b\xab\xe3\x41\x49\xed"
32086 			"\x15\xa1\x8d\x40\x2d\x61\xdf\x1a"
32087 			"\x59\xc9\x26\x8b\xef\x30\x4c\x88"
32088 			"\x4b\x10\xf8\x8d\xa6\x92\x9f\x4b"
32089 			"\xf3\xc4\x53\x0b\x89\x5d\x28\x92"
32090 			"\xcf\x78\xb2\xc0\x5d\xed\x7e\xfc"
32091 			"\xc0\x12\x23\x5f\x5a\x78\x86\x43"
32092 			"\x6e\x27\xf7\x5a\xa7\x6a\xed\x19"
32093 			"\x04\xf0\xb3\x12\xd1\xbd\x0e\x89"
32094 			"\x6e\xbc\x96\xa8\xd8\x49\x39\x9f"
32095 			"\x7e\x67\xf0\x2e\x3e\x01\xa9\xba"
32096 			"\xec\x8b\x62\x8e\xcb\x4a\x70\x43"
32097 			"\xc7\xc2\xc4\xca\x82\x03\x73\xe9"
32098 			"\x11\xdf\xcf\x54\xea\xc9\xb0\x95"
32099 			"\x51\xc0\x13\x3d\x92\x05\xfa\xf4"
32100 			"\xa9\x34\xc8\xce\x6c\x3d\x54\xcc"
32101 			"\xc4\xaf\xf1\xdc\x11\x44\x26\xa2"
32102 			"\xaf\xf1\x85\x75\x7d\x03\x61\x68"
32103 			"\x4e\x78\xc6\x92\x7d\x86\x7d\x77"
32104 			"\xdc\x71\x72\xdb\xc6\xae\xa1\xcb"
32105 			"\x70\x9a\x0b\x19\xbe\x4a\x6c\x2a"
32106 			"\xe2\xba\x6c\x64\x9a\x13\x28\xdf"
32107 			"\x85\x75\xe6\x43\xf6\x87\x08\x68"
32108 			"\x6e\xba\x6e\x79\x9f\x04\xbc\x23"
32109 			"\x50\xf6\x33\x5c\x1f\x24\x25\xbe"
32110 			"\x33\x47\x80\x45\x56\xa3\xa7\xd7"
32111 			"\x7a\xb1\x34\x0b\x90\x3c\x9c\xad"
32112 			"\x44\x5f\x9e\x0e\x9d\xd4\xbd\x93"
32113 			"\x5e\xfa\x3c\xe0\xb0\xd9\xed\xf3"
32114 			"\xd6\x2e\xff\x24\xd8\x71\x6c\xed"
32115 			"\xaf\x55\xeb\x22\xac\x93\x68\x32"
32116 			"\x05\x5b\x47\xdd\xc6\x4a\xcb\xc7"
32117 			"\x10\xe1\x3c\x92\x1a\xf3\x23\x78"
32118 			"\x2b\xa1\xd2\x80\xf4\x12\xb1\x20"
32119 			"\x8f\xff\x26\x35\xdd\xfb\xc7\x4e"
32120 			"\x78\xf1\x2d\x50\x12\x77\xa8\x60"
32121 			"\x7c\x0f\xf5\x16\x2f\x63\x70\x2a"
32122 			"\xc0\x96\x80\x4e\x0a\xb4\x93\x35"
32123 			"\x5d\x1d\x3f\x56\xf7\x2f\xbb\x90"
32124 			"\x11\x16\x8f\xa2\xec\x47\xbe\xac"
32125 			"\x56\x01\x26\x56\xb1\x8c\xb2\x10"
32126 			"\xf9\x1a\xca\xf5\xd1\xb7\x39\x20"
32127 			"\x63\xf1\x69\x20\x4f\x13\x12\x1f"
32128 			"\x5b\x65\xfc\x98\xf7\xc4\x7a\xbe"
32129 			"\xf7\x26\x4d\x2b\x84\x7b\x42\xad"
32130 			"\xd8\x7a\x0a\xb4\xd8\x74\xbf\xc1"
32131 			"\xf0\x6e\xb4\x29\xa3\xbb\xca\x46"
32132 			"\x67\x70\x6a\x2d\xce\x0e\xa2\x8a"
32133 			"\xa9\x87\xbf\x05\xc4\xc1\x04\xa3"
32134 			"\xab\xd4\x45\x43\x8c\xb6\x02\xb0"
32135 			"\x41\xc8\xfc\x44\x3d\x59\xaa\x2e"
32136 			"\x44\x21\x2a\x8d\x88\x9d\x57\xf4"
32137 			"\xa0\x02\x77\xb8\xa6\xa0\xe6\x75"
32138 			"\x5c\x82\x65\x3e\x03\x5c\x29\x8f"
32139 			"\x38\x55\xab\x33\x26\xef\x9f\x43"
32140 			"\x52\xfd\x68\xaf\x36\xb4\xbb\x9a"
32141 			"\x58\x09\x09\x1b\xc3\x65\x46\x46"
32142 			"\x1d\xa7\x94\x18\x23\x50\x2c\xca"
32143 			"\x2c\x55\x19\x97\x01\x9d\x93\x3b"
32144 			"\x63\x86\xf2\x03\x67\x45\xd2\x72"
32145 			"\x28\x52\x6c\xf4\xe3\x1c\xb5\x11"
32146 			"\x13\xf1\xeb\x21\xc7\xd9\x56\x82"
32147 			"\x2b\x82\x39\xbd\x69\x54\xed\x62"
32148 			"\xc3\xe2\xde\x73\xd4\x6a\x12\xae"
32149 			"\x13\x21\x7f\x4b\x5b\xfc\xbf\xe8"
32150 			"\x2b\xbe\x56\xba\x68\x8b\x9a\xb1"
32151 			"\x6e\xfa\xbf\x7e\x5a\x4b\xf1\xac"
32152 			"\x98\x65\x85\xd1\x93\x53\xd3\x7b"
32153 			"\x09\xdd\x4b\x10\x6d\x84\xb0\x13"
32154 			"\x65\xbd\xcf\x52\x09\xc4\x85\xe2"
32155 			"\x84\x74\x15\x65\xb7\xf7\x51\xaf"
32156 			"\x55\xad\xa4\xd1\x22\x54\x70\x94"
32157 			"\xa0\x1c\x90\x41\xfd\x99\xd7\x5a"
32158 			"\x31\xef\xaa\x25\xd0\x7f\x4f\xea"
32159 			"\x1d\x55\x42\xe5\x49\xb0\xd0\x46"
32160 			"\x62\x36\x43\xb2\x82\x15\x75\x50"
32161 			"\xa4\x72\xeb\x54\x27\x1f\x8a\xe4"
32162 			"\x7d\xe9\x66\xc5\xf1\x53\xa4\xd1"
32163 			"\x0c\xeb\xb8\xf8\xbc\xd4\xe2\xe7"
32164 			"\xe1\xf8\x4b\xcb\xa9\xa1\xaf\x15"
32165 			"\x83\xcb\x72\xd0\x33\x79\x00\x2d"
32166 			"\x9f\xd7\xf1\x2e\x1e\x10\xe4\x45"
32167 			"\xc0\x75\x3a\x39\xea\x68\xf7\x5d"
32168 			"\x1b\x73\x8f\xe9\x8e\x0f\x72\x47"
32169 			"\xae\x35\x0a\x31\x7a\x14\x4d\x4a"
32170 			"\x6f\x47\xf7\x7e\x91\x6e\x74\x8b"
32171 			"\x26\x47\xf9\xc3\xf9\xde\x70\xf5"
32172 			"\x61\xab\xa9\x27\x9f\x82\xe4\x9c"
32173 			"\x89\x91\x3f\x2e\x6a\xfd\xb5\x49"
32174 			"\xe9\xfd\x59\x14\x36\x49\x40\x6d"
32175 			"\x32\xd8\x85\x42\xf3\xa5\xdf\x0c"
32176 			"\xa8\x27\xd7\x54\xe2\x63\x2f\xf2"
32177 			"\x7e\x8b\x8b\xe7\xf1\x9a\x95\x35"
32178 			"\x43\xdc\x3a\xe4\xb6\xf4\xd0\xdf"
32179 			"\x9c\xcb\x94\xf3\x21\xa0\x77\x50"
32180 			"\xe2\xc6\xc4\xc6\x5f\x09\x64\x5b"
32181 			"\x92\x90\xd8\xe1\xd1\xed\x4b\x42"
32182 			"\xd7\x37\xaf\x65\x3d\x11\x39\xb6"
32183 			"\x24\x8a\x60\xae\xd6\x1e\xbf\x0e"
32184 			"\x0d\xd7\xdc\x96\x0e\x65\x75\x4e"
32185 			"\x29\x06\x9d\xa4\x51\x3a\x10\x63"
32186 			"\x8f\x17\x07\xd5\x8e\x3c\xf4\x28"
32187 			"\x00\x5a\x5b\x05\x19\xd8\xc0\x6c"
32188 			"\xe5\x15\xe4\x9c\x9d\x71\x9d\x5e"
32189 			"\x94\x29\x1a\xa7\x80\xfa\x0e\x33"
32190 			"\x03\xdd\xb7\x3e\x9a\xa9\x26\x18"
32191 			"\x37\xa9\x64\x08\x4d\x94\x5a\x88"
32192 			"\xca\x35\xce\x81\x02\xe3\x1f\x1b"
32193 			"\x89\x1a\x77\x85\xe3\x41\x6d\x32"
32194 			"\x42\x19\x23\x7d\xc8\x73\xee\x25"
32195 			"\x85\x0d\xf8\x31\x25\x79\x1b\x6f"
32196 			"\x79\x25\xd2\xd8\xd4\x23\xfd\xf7"
32197 			"\x82\x36\x6a\x0c\x46\x22\x15\xe9"
32198 			"\xff\x72\x41\x91\x91\x7d\x3a\xb7"
32199 			"\xdd\x65\x99\x70\xf6\x8d\x84\xf8"
32200 			"\x67\x15\x20\x11\xd6\xb2\x55\x7b"
32201 			"\xdb\x87\xee\xef\x55\x89\x2a\x59"
32202 			"\x2b\x07\x8f\x43\x8a\x59\x3c\x01"
32203 			"\x8b\x65\x54\xa1\x66\xd5\x38\xbd"
32204 			"\xc6\x30\xa9\xcc\x49\xb6\xa8\x1b"
32205 			"\xb8\xc0\x0e\xe3\x45\x28\xe2\xff"
32206 			"\x41\x9f\x7e\x7c\xd1\xae\x9e\x25"
32207 			"\x3f\x4c\x7c\x7c\xf4\xa8\x26\x4d"
32208 			"\x5c\xfd\x4b\x27\x18\xf9\x61\x76"
32209 			"\x48\xba\x0c\x6b\xa9\x4d\xfc\xf5"
32210 			"\x3b\x35\x7e\x2f\x4a\xa9\xc2\x9a"
32211 			"\xae\xab\x86\x09\x89\xc9\xc2\x40"
32212 			"\x39\x2c\x81\xb3\xb8\x17\x67\xc2"
32213 			"\x0d\x32\x4a\x3a\x67\x81\xd7\x1a"
32214 			"\x34\x52\xc5\xdb\x0a\xf5\x63\x39"
32215 			"\xea\x1f\xe1\x7c\xa1\x9e\xc1\x35"
32216 			"\xe3\xb1\x18\x45\x67\xf9\x22\x38"
32217 			"\x95\xd9\x34\x34\x86\xc6\x41\x94"
32218 			"\x15\xf9\x5b\x41\xa6\x87\x8b\xf8"
32219 			"\xd5\xe1\x1b\xe2\x5b\xf3\x86\x10"
32220 			"\xff\xe6\xae\x69\x76\xbc\x0d\xb4"
32221 			"\x09\x90\x0c\xa2\x65\x0c\xad\x74"
32222 			"\xf5\xd7\xff\xda\xc1\xce\x85\xbe"
32223 			"\x00\xa7\xff\x4d\x2f\x65\xd3\x8c"
32224 			"\x86\x2d\x05\xe8\xed\x3e\x6b\x8b"
32225 			"\x0f\x3d\x83\x8c\xf1\x1d\x5b\x96"
32226 			"\x2e\xb1\x9c\xc2\x98\xe1\x70\xb9"
32227 			"\xba\x5c\x8a\x43\xd6\x34\xa7\x2d"
32228 			"\xc9\x92\xae\xf2\xa5\x7b\x05\x49"
32229 			"\xa7\x33\x34\x86\xca\xe4\x96\x23"
32230 			"\x76\x5b\xf2\xc6\xf1\x51\x28\x42"
32231 			"\x7b\xcc\x76\x8f\xfa\xa2\xad\x31"
32232 			"\xd4\xd6\x7a\x6d\x25\x25\x54\xe4"
32233 			"\x3f\x50\x59\xe1\x5c\x05\xb7\x27"
32234 			"\x48\xbf\x07\xec\x1b\x13\xbe\x2b"
32235 			"\xa1\x57\x2b\xd5\xab\xd7\xd0\x4c"
32236 			"\x1e\xcb\x71\x9b\xc5\x90\x85\xd3"
32237 			"\xde\x59\xec\x71\xeb\x89\xbb\xd0"
32238 			"\x09\x50\xe1\x16\x3f\xfd\x1c\x34"
32239 			"\xc3\x1c\xa1\x10\x77\x53\x98\xef"
32240 			"\xf2\xfd\xa5\x01\x59\xc2\x9b\x26"
32241 			"\xc7\x42\xd9\x49\xda\x58\x2b\x6e"
32242 			"\x9f\x53\x19\x76\x7e\xd9\xc9\x0e"
32243 			"\x68\xc8\x7f\x51\x22\x42\xef\x49"
32244 			"\xa4\x55\xb6\x36\xac\x09\xc7\x31"
32245 			"\x88\x15\x4b\x2e\x8f\x3a\x08\xf7"
32246 			"\xd8\xf7\xa8\xc5\xa9\x33\xa6\x45"
32247 			"\xe4\xc4\x94\x76\xf3\x0d\x8f\x7e"
32248 			"\xc8\xf6\xbc\x23\x0a\xb6\x4c\xd3"
32249 			"\x6a\xcd\x36\xc2\x90\x5c\x5c\x3c"
32250 			"\x65\x7b\xc2\xd6\xcc\xe6\x0d\x87"
32251 			"\x73\x2e\x71\x79\x16\x06\x63\x28"
32252 			"\x09\x15\xd8\x89\x38\x38\x3d\xb5"
32253 			"\x42\x1c\x08\x24\xf7\x2a\xd2\x9d"
32254 			"\xc8\xca\xef\xf9\x27\xd8\x07\x86"
32255 			"\xf7\x43\x0b\x55\x15\x3f\x9f\x83"
32256 			"\xef\xdc\x49\x9d\x2a\xc1\x54\x62"
32257 			"\xbd\x9b\x66\x55\x9f\xb7\x12\xf3"
32258 			"\x1b\x4d\x9d\x2a\x5c\xed\x87\x75"
32259 			"\x87\x26\xec\x61\x2c\xb4\x0f\x89"
32260 			"\xb0\xfb\x2e\x68\x5d\x15\xc7\x8d"
32261 			"\x2e\xc0\xd9\xec\xaf\x4f\xd2\x25"
32262 			"\x29\xe8\xd2\x26\x2b\x67\xe9\xfc"
32263 			"\x2b\xa8\x67\x96\x12\x1f\x5b\x96"
32264 			"\xc6\x14\x53\xaf\x44\xea\xd6\xe2"
32265 			"\x94\x98\xe4\x12\x93\x4c\x92\xe0"
32266 			"\x18\xa5\x8d\x2d\xe4\x71\x3c\x47"
32267 			"\x4c\xf7\xe6\x47\x9e\xc0\x68\xdf"
32268 			"\xd4\xf5\x5a\x74\xb1\x2b\x29\x03"
32269 			"\x19\x07\xaf\x90\x62\x5c\x68\x98"
32270 			"\x48\x16\x11\x02\x9d\xee\xb4\x9b"
32271 			"\xe5\x42\x7f\x08\xfd\x16\x32\x0b"
32272 			"\xd0\xb3\xfa\x2b\xb7\x99\xf9\x29"
32273 			"\xcd\x20\x45\x9f\xb3\x1a\x5d\xa2"
32274 			"\xaf\x4d\xe0\xbd\x42\x0d\xbc\x74"
32275 			"\x99\x9c\x8e\x53\x1a\xb4\x3e\xbd"
32276 			"\xa2\x9a\x2d\xf7\xf8\x39\x0f\x67"
32277 			"\x63\xfc\x6b\xc0\xaf\xb3\x4b\x4f"
32278 			"\x55\xc4\xcf\xa7\xc8\x04\x11\x3e"
32279 			"\x14\x32\xbb\x1b\x38\x77\xd6\x7f"
32280 			"\x54\x4c\xdf\x75\xf3\x07\x2d\x33"
32281 			"\x9b\xa8\x20\xe1\x7b\x12\xb5\xf3"
32282 			"\xef\x2f\xce\x72\xe5\x24\x60\xc1"
32283 			"\x30\xe2\xab\xa1\x8e\x11\x09\xa8"
32284 			"\x21\x33\x44\xfe\x7f\x35\x32\x93"
32285 			"\x39\xa7\xad\x8b\x79\x06\xb2\xcb"
32286 			"\x4e\xa9\x5f\xc7\xba\x74\x29\xec"
32287 			"\x93\xa0\x4e\x54\x93\xc0\xbc\x55"
32288 			"\x64\xf0\x48\xe5\x57\x99\xee\x75"
32289 			"\xd6\x79\x0f\x66\xb7\xc6\x57\x76"
32290 			"\xf7\xb7\xf3\x9c\xc5\x60\xe8\x7f"
32291 			"\x83\x76\xd6\x0e\xaa\xe6\x90\x39"
32292 			"\x1d\xa6\x32\x6a\x34\xe3\x55\xf8"
32293 			"\x58\xa0\x58\x7d\x33\xe0\x22\x39"
32294 			"\x44\x64\x87\x86\x5a\x2f\xa7\x7e"
32295 			"\x0f\x38\xea\xb0\x30\xcc\x61\xa5"
32296 			"\x6a\x32\xae\x1e\xf7\xe9\xd0\xa9"
32297 			"\x0c\x32\x4b\xb5\x49\x28\xab\x85"
32298 			"\x2f\x8e\x01\x36\x38\x52\xd0\xba"
32299 			"\xd6\x02\x78\xf8\x0e\x3e\x9c\x8b"
32300 			"\x6b\x45\x99\x3f\x5c\xfe\x58\xf1"
32301 			"\x5c\x94\x04\xe1\xf5\x18\x6d\x51"
32302 			"\xb2\x5d\x18\x20\xb6\xc2\x9a\x42"
32303 			"\x1d\xb3\xab\x3c\xb6\x3a\x13\x03"
32304 			"\xb2\x46\x82\x4f\xfc\x64\xbc\x4f"
32305 			"\xca\xfa\x9c\xc0\xd5\xa7\xbd\x11"
32306 			"\xb7\xe4\x5a\xf6\x6f\x4d\x4d\x54"
32307 			"\xea\xa4\x98\x66\xd4\x22\x3b\xd3"
32308 			"\x8f\x34\x47\xd9\x7c\xf4\x72\x3b"
32309 			"\x4d\x02\x77\xf6\xd6\xdd\x08\x0a"
32310 			"\x81\xe1\x86\x89\x3e\x56\x10\x3c"
32311 			"\xba\xd7\x81\x8c\x08\xbc\x8b\xe2"
32312 			"\x53\xec\xa7\x89\xee\xc8\x56\xb5"
32313 			"\x36\x2c\xb2\x03\xba\x99\xdd\x7c"
32314 			"\x48\xa0\xb0\xbc\x91\x33\xe9\xa8"
32315 			"\xcb\xcd\xcf\x59\x5f\x1f\x15\xe2"
32316 			"\x56\xf5\x4e\x01\x35\x27\x45\x77"
32317 			"\x47\xc8\xbc\xcb\x7e\x39\xc1\x97"
32318 			"\x28\xd3\x84\xfc\x2c\x3e\xc8\xad"
32319 			"\x9c\xf8\x8a\x61\x9c\x28\xaa\xc5"
32320 			"\x99\x20\x43\x85\x9d\xa5\xe2\x8b"
32321 			"\xb8\xae\xeb\xd0\x32\x0d\x52\x78"
32322 			"\x09\x56\x3f\xc7\xd8\x7e\x26\xfc"
32323 			"\x37\xfb\x6f\x04\xfc\xfa\x92\x10"
32324 			"\xac\xf8\x3e\x21\xdc\x8c\x21\x16"
32325 			"\x7d\x67\x6e\xf6\xcd\xda\xb6\x98"
32326 			"\x23\xab\x23\x3c\xb2\x10\xa0\x53"
32327 			"\x5a\x56\x9f\xc5\xd0\xff\xbb\xe4"
32328 			"\x98\x3c\x69\x1e\xdb\x38\x8f\x7e"
32329 			"\x0f\xd2\x98\x88\x81\x8b\x45\x67"
32330 			"\xea\x33\xf1\xeb\xe9\x97\x55\x2e"
32331 			"\xd9\xaa\xeb\x5a\xec\xda\xe1\x68"
32332 			"\xa8\x9d\x3c\x84\x7c\x05\x3d\x62"
32333 			"\x87\x8f\x03\x21\x28\x95\x0c\x89"
32334 			"\x25\x22\x4a\xb0\x93\xa9\x50\xa2"
32335 			"\x2f\x57\x6e\x18\x42\x19\x54\x0c"
32336 			"\x55\x67\xc6\x11\x49\xf4\x5c\xd2"
32337 			"\xe9\x3d\xdd\x8b\x48\x71\x21\x00"
32338 			"\xc3\x9a\x6c\x85\x74\x28\x83\x4a"
32339 			"\x1b\x31\x05\xe1\x06\x92\xe7\xda"
32340 			"\x85\x73\x78\x45\x20\x7f\xae\x13"
32341 			"\x7c\x33\x06\x22\xf4\x83\xf9\x35"
32342 			"\x3f\x6c\x71\xa8\x4e\x48\xbe\x9b"
32343 			"\xce\x8a\xba\xda\xbe\x28\x08\xf7"
32344 			"\xe2\x14\x8c\x71\xea\x72\xf9\x33"
32345 			"\xf2\x88\x3f\xd7\xbb\x69\x6c\x29"
32346 			"\x19\xdc\x84\xce\x1f\x12\x4f\xc8"
32347 			"\xaf\xa5\x04\xba\x5a\xab\xb0\xd9"
32348 			"\x14\x1f\x6c\x68\x98\x39\x89\x7a"
32349 			"\xd9\xd8\x2f\xdf\xa8\x47\x4a\x25"
32350 			"\xe2\xfb\x33\xf4\x59\x78\xe1\x68"
32351 			"\x85\xcf\xfe\x59\x20\xd4\x05\x1d"
32352 			"\x80\x99\xae\xbc\xca\xae\x0f\x2f"
32353 			"\x65\x43\x34\x8e\x7e\xac\xd3\x93"
32354 			"\x2f\xac\x6d\x14\x3d\x02\x07\x70"
32355 			"\x9d\xa4\xf3\x1b\x5c\x36\xfc\x01"
32356 			"\x73\x34\x85\x0c\x6c\xd6\xf1\xbd"
32357 			"\x3f\xdf\xee\xf5\xd9\xba\x56\xef"
32358 			"\xf4\x9b\x6b\xee\x9f\x5a\x78\x6d"
32359 			"\x32\x19\xf4\xf7\xf8\x4c\x69\x0b"
32360 			"\x4b\xbc\xbb\xb7\xf2\x85\xaf\x70"
32361 			"\x75\x24\x6c\x54\xa7\x0e\x4d\x1d"
32362 			"\x01\xbf\x08\xac\xcf\x7f\x2c\xe3"
32363 			"\x14\x89\x5e\x70\x5a\x99\x92\xcd"
32364 			"\x01\x84\xc8\xd2\xab\xe5\x4f\x58"
32365 			"\xe7\x0f\x2f\x0e\xff\x68\xea\xfd"
32366 			"\x15\xb3\x17\xe6\xb0\xe7\x85\xd8"
32367 			"\x23\x2e\x05\xc7\xc9\xc4\x46\x1f"
32368 			"\xe1\x9e\x49\x20\x23\x24\x4d\x7e"
32369 			"\x29\x65\xff\xf4\xb6\xfd\x1a\x85"
32370 			"\xc4\x16\xec\xfc\xea\x7b\xd6\x2c"
32371 			"\x43\xf8\xb7\xbf\x79\xc0\x85\xcd"
32372 			"\xef\xe1\x98\xd3\xa5\xf7\x90\x8c"
32373 			"\xe9\x7f\x80\x6b\xd2\xac\x4c\x30"
32374 			"\xa7\xc6\x61\x6c\xd2\xf9\x2c\xff"
32375 			"\x30\xbc\x22\x81\x7d\x93\x12\xe4"
32376 			"\x0a\xcd\xaf\xdd\xe8\xab\x0a\x1e"
32377 			"\x13\xa4\x27\xc3\x5f\xf7\x4b\xbb"
32378 			"\x37\x09\x4b\x91\x6f\x92\x4f\xaf"
32379 			"\x52\xee\xdf\xef\x09\x6f\xf7\x5c"
32380 			"\x6e\x12\x17\x72\x63\x57\xc7\xba"
32381 			"\x3b\x6b\x38\x32\x73\x1b\x9c\x80"
32382 			"\xc1\x7a\xc6\xcf\xcd\x35\xc0\x6b"
32383 			"\x31\x1a\x6b\xe9\xd8\x2c\x29\x3f"
32384 			"\x96\xfb\xb6\xcd\x13\x91\x3b\xc2"
32385 			"\xd2\xa3\x31\x8d\xa4\xcd\x57\xcd"
32386 			"\x13\x3d\x64\xfd\x06\xce\xe6\xdc"
32387 			"\x0c\x24\x43\x31\x40\x57\xf1\x72"
32388 			"\x17\xe3\x3a\x63\x6d\x35\xcf\x5d"
32389 			"\x97\x40\x59\xdd\xf7\x3c\x02\xf7"
32390 			"\x1c\x7e\x05\xbb\xa9\x0d\x01\xb1"
32391 			"\x8e\xc0\x30\xa9\x53\x24\xc9\x89"
32392 			"\x84\x6d\xaa\xd0\xcd\x91\xc2\x4d"
32393 			"\x91\xb0\x89\xe2\xbf\x83\x44\xaa"
32394 			"\x28\x72\x23\xa0\xc2\xad\xad\x1c"
32395 			"\xfc\x3f\x09\x7a\x0b\xdc\xc5\x1b"
32396 			"\x87\x13\xc6\x5b\x59\x8d\xf2\xc8"
32397 			"\xaf\xdf\x11\x95",
32398 		.rlen	= 4100,
32399 		.np	= 2,
32400 		.tap	= { 4064, 36 },
32401 	},
32402 };
32403 
32404 static const struct cipher_testvec chacha20_enc_tv_template[] = {
32405 	{ /* RFC7539 A.2. Test Vector #1 */
32406 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32407 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32408 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32409 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
32410 		.klen	= 32,
32411 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
32412 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
32413 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32414 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32415 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32416 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32417 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32418 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32419 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32420 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
32421 		.ilen	= 64,
32422 		.result	= "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
32423 			  "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
32424 			  "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
32425 			  "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
32426 			  "\xda\x41\x59\x7c\x51\x57\x48\x8d"
32427 			  "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
32428 			  "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
32429 			  "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
32430 		.rlen	= 64,
32431 	}, { /* RFC7539 A.2. Test Vector #2 */
32432 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32433 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32434 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32435 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
32436 		.klen	= 32,
32437 		.iv     = "\x01\x00\x00\x00\x00\x00\x00\x00"
32438 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
32439 		.input	= "\x41\x6e\x79\x20\x73\x75\x62\x6d"
32440 			  "\x69\x73\x73\x69\x6f\x6e\x20\x74"
32441 			  "\x6f\x20\x74\x68\x65\x20\x49\x45"
32442 			  "\x54\x46\x20\x69\x6e\x74\x65\x6e"
32443 			  "\x64\x65\x64\x20\x62\x79\x20\x74"
32444 			  "\x68\x65\x20\x43\x6f\x6e\x74\x72"
32445 			  "\x69\x62\x75\x74\x6f\x72\x20\x66"
32446 			  "\x6f\x72\x20\x70\x75\x62\x6c\x69"
32447 			  "\x63\x61\x74\x69\x6f\x6e\x20\x61"
32448 			  "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
32449 			  "\x20\x70\x61\x72\x74\x20\x6f\x66"
32450 			  "\x20\x61\x6e\x20\x49\x45\x54\x46"
32451 			  "\x20\x49\x6e\x74\x65\x72\x6e\x65"
32452 			  "\x74\x2d\x44\x72\x61\x66\x74\x20"
32453 			  "\x6f\x72\x20\x52\x46\x43\x20\x61"
32454 			  "\x6e\x64\x20\x61\x6e\x79\x20\x73"
32455 			  "\x74\x61\x74\x65\x6d\x65\x6e\x74"
32456 			  "\x20\x6d\x61\x64\x65\x20\x77\x69"
32457 			  "\x74\x68\x69\x6e\x20\x74\x68\x65"
32458 			  "\x20\x63\x6f\x6e\x74\x65\x78\x74"
32459 			  "\x20\x6f\x66\x20\x61\x6e\x20\x49"
32460 			  "\x45\x54\x46\x20\x61\x63\x74\x69"
32461 			  "\x76\x69\x74\x79\x20\x69\x73\x20"
32462 			  "\x63\x6f\x6e\x73\x69\x64\x65\x72"
32463 			  "\x65\x64\x20\x61\x6e\x20\x22\x49"
32464 			  "\x45\x54\x46\x20\x43\x6f\x6e\x74"
32465 			  "\x72\x69\x62\x75\x74\x69\x6f\x6e"
32466 			  "\x22\x2e\x20\x53\x75\x63\x68\x20"
32467 			  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
32468 			  "\x74\x73\x20\x69\x6e\x63\x6c\x75"
32469 			  "\x64\x65\x20\x6f\x72\x61\x6c\x20"
32470 			  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
32471 			  "\x74\x73\x20\x69\x6e\x20\x49\x45"
32472 			  "\x54\x46\x20\x73\x65\x73\x73\x69"
32473 			  "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
32474 			  "\x77\x65\x6c\x6c\x20\x61\x73\x20"
32475 			  "\x77\x72\x69\x74\x74\x65\x6e\x20"
32476 			  "\x61\x6e\x64\x20\x65\x6c\x65\x63"
32477 			  "\x74\x72\x6f\x6e\x69\x63\x20\x63"
32478 			  "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
32479 			  "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
32480 			  "\x64\x65\x20\x61\x74\x20\x61\x6e"
32481 			  "\x79\x20\x74\x69\x6d\x65\x20\x6f"
32482 			  "\x72\x20\x70\x6c\x61\x63\x65\x2c"
32483 			  "\x20\x77\x68\x69\x63\x68\x20\x61"
32484 			  "\x72\x65\x20\x61\x64\x64\x72\x65"
32485 			  "\x73\x73\x65\x64\x20\x74\x6f",
32486 		.ilen	= 375,
32487 		.result	= "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
32488 			  "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
32489 			  "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
32490 			  "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
32491 			  "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
32492 			  "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
32493 			  "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
32494 			  "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
32495 			  "\x40\x42\xe0\x27\x85\xec\xec\xfa"
32496 			  "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
32497 			  "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
32498 			  "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
32499 			  "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
32500 			  "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
32501 			  "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
32502 			  "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
32503 			  "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
32504 			  "\xd6\x62\xab\x05\x26\x91\xca\x66"
32505 			  "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
32506 			  "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
32507 			  "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
32508 			  "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
32509 			  "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
32510 			  "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
32511 			  "\x08\x71\xcd\xac\x63\x89\x39\xe2"
32512 			  "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
32513 			  "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
32514 			  "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
32515 			  "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
32516 			  "\x37\x20\xfc\x88\xdc\x95\xed\x84"
32517 			  "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
32518 			  "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
32519 			  "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
32520 			  "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
32521 			  "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
32522 			  "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
32523 			  "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
32524 			  "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
32525 			  "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
32526 			  "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
32527 			  "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
32528 			  "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
32529 			  "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
32530 			  "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
32531 			  "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
32532 			  "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
32533 			  "\xc4\xfd\x80\x6c\x22\xf2\x21",
32534 		.rlen	= 375,
32535 	}, { /* RFC7539 A.2. Test Vector #3 */
32536 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
32537 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
32538 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
32539 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
32540 		.klen	= 32,
32541 		.iv     = "\x2a\x00\x00\x00\x00\x00\x00\x00"
32542 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
32543 		.input	= "\x27\x54\x77\x61\x73\x20\x62\x72"
32544 			  "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
32545 			  "\x6e\x64\x20\x74\x68\x65\x20\x73"
32546 			  "\x6c\x69\x74\x68\x79\x20\x74\x6f"
32547 			  "\x76\x65\x73\x0a\x44\x69\x64\x20"
32548 			  "\x67\x79\x72\x65\x20\x61\x6e\x64"
32549 			  "\x20\x67\x69\x6d\x62\x6c\x65\x20"
32550 			  "\x69\x6e\x20\x74\x68\x65\x20\x77"
32551 			  "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
32552 			  "\x20\x6d\x69\x6d\x73\x79\x20\x77"
32553 			  "\x65\x72\x65\x20\x74\x68\x65\x20"
32554 			  "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
32555 			  "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
32556 			  "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
32557 			  "\x72\x61\x74\x68\x73\x20\x6f\x75"
32558 			  "\x74\x67\x72\x61\x62\x65\x2e",
32559 		.ilen	= 127,
32560 		.result	= "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
32561 			  "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
32562 			  "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
32563 			  "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
32564 			  "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
32565 			  "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
32566 			  "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
32567 			  "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
32568 			  "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
32569 			  "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
32570 			  "\x1a\x55\x32\x05\x57\x16\xea\xd6"
32571 			  "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
32572 			  "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
32573 			  "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
32574 			  "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
32575 			  "\x75\x7a\x79\x7a\xc1\x88\xd1",
32576 		.rlen	= 127,
32577 	}, { /* Self-made test vector for long data */
32578 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
32579 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
32580 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
32581 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
32582 		.klen	= 32,
32583 		.iv     = "\x1c\x00\x00\x00\x00\x00\x00\x00"
32584 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
32585 		.input	= "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
32586 			  "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
32587 			  "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
32588 			  "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
32589 			  "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
32590 			  "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
32591 			  "\x01\xc6\x67\xda\x03\x91\x18\x90"
32592 			  "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
32593 			  "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
32594 			  "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
32595 			  "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
32596 			  "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
32597 			  "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
32598 			  "\x33\x97\xc3\x77\xba\xc5\x70\xde"
32599 			  "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
32600 			  "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
32601 			  "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
32602 			  "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
32603 			  "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
32604 			  "\x79\x49\x41\xf4\x58\x18\xcb\x86"
32605 			  "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
32606 			  "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
32607 			  "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
32608 			  "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
32609 			  "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
32610 			  "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
32611 			  "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
32612 			  "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
32613 			  "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
32614 			  "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
32615 			  "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
32616 			  "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
32617 			  "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
32618 			  "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
32619 			  "\x24\x74\x75\x7f\x95\x81\xb7\x30"
32620 			  "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
32621 			  "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
32622 			  "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
32623 			  "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
32624 			  "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
32625 			  "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
32626 			  "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
32627 			  "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
32628 			  "\x49\x46\x00\x88\x22\x8d\xce\xea"
32629 			  "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
32630 			  "\x72\x11\xf5\x50\x73\x04\x40\x47"
32631 			  "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
32632 			  "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
32633 			  "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
32634 			  "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
32635 			  "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
32636 			  "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
32637 			  "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
32638 			  "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
32639 			  "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
32640 			  "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
32641 			  "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
32642 			  "\x8b\x10\x67\xa3\x01\x57\x94\x25"
32643 			  "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
32644 			  "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
32645 			  "\x58\xb1\x47\x90\xfe\x42\x21\x72"
32646 			  "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
32647 			  "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
32648 			  "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
32649 			  "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
32650 			  "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
32651 			  "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
32652 			  "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
32653 			  "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
32654 			  "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
32655 			  "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
32656 			  "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
32657 			  "\x65\x69\x8a\x45\x29\xef\x74\x85"
32658 			  "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
32659 			  "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
32660 			  "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
32661 			  "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
32662 			  "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
32663 			  "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
32664 			  "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
32665 			  "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
32666 			  "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
32667 			  "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
32668 			  "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
32669 			  "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
32670 			  "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
32671 			  "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
32672 			  "\x10\x26\x38\x07\xe5\xc7\x36\x80"
32673 			  "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
32674 			  "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
32675 			  "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
32676 			  "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
32677 			  "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
32678 			  "\x83\x66\x80\x47\x80\xe8\xfd\x35"
32679 			  "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
32680 			  "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
32681 			  "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
32682 			  "\x25\x94\x10\x5f\x40\x00\x64\x99"
32683 			  "\xdc\xae\xd7\x21\x09\x78\x50\x15"
32684 			  "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
32685 			  "\x87\x6e\x6d\xab\xde\x08\x51\x16"
32686 			  "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
32687 			  "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
32688 			  "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
32689 			  "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
32690 			  "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
32691 			  "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
32692 			  "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
32693 			  "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
32694 			  "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
32695 			  "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
32696 			  "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
32697 			  "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
32698 			  "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
32699 			  "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
32700 			  "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
32701 			  "\xb9\x83\x90\xef\x20\x59\x46\xff"
32702 			  "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
32703 			  "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
32704 			  "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
32705 			  "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
32706 			  "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
32707 			  "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
32708 			  "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
32709 			  "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
32710 			  "\x94\x97\xea\xdd\x58\x9e\xae\x76"
32711 			  "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
32712 			  "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
32713 			  "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
32714 			  "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
32715 			  "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
32716 			  "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
32717 			  "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
32718 			  "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
32719 			  "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
32720 			  "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
32721 			  "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
32722 			  "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
32723 			  "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
32724 			  "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
32725 			  "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
32726 			  "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
32727 			  "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
32728 			  "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
32729 			  "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
32730 			  "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
32731 			  "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
32732 			  "\xac\xf3\x13\x53\x27\x45\xaf\x64"
32733 			  "\x46\xdc\xea\x23\xda\x97\xd1\xab"
32734 			  "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
32735 			  "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
32736 			  "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
32737 			  "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
32738 			  "\xca\x34\x83\x27\x10\x5b\x68\x45"
32739 			  "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
32740 			  "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
32741 			  "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
32742 			  "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
32743 			  "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
32744 			  "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
32745 			  "\x72",
32746 		.ilen	= 1281,
32747 		.result	= "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
32748 			  "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
32749 			  "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
32750 			  "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
32751 			  "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
32752 			  "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
32753 			  "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
32754 			  "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
32755 			  "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
32756 			  "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
32757 			  "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
32758 			  "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
32759 			  "\x33\x4a\x71\x15\xfe\xee\x12\x54"
32760 			  "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
32761 			  "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
32762 			  "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
32763 			  "\x57\x0e\x94\x17\x26\x39\xbb\x54"
32764 			  "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
32765 			  "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
32766 			  "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
32767 			  "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
32768 			  "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
32769 			  "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
32770 			  "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
32771 			  "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
32772 			  "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
32773 			  "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
32774 			  "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
32775 			  "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
32776 			  "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
32777 			  "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
32778 			  "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
32779 			  "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
32780 			  "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
32781 			  "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
32782 			  "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
32783 			  "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
32784 			  "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
32785 			  "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
32786 			  "\xae\xe7\x61\x32\xef\x41\x6c\x75"
32787 			  "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
32788 			  "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
32789 			  "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
32790 			  "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
32791 			  "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
32792 			  "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
32793 			  "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
32794 			  "\xc1\x22\xf3\x79\xae\x95\x78\x66"
32795 			  "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
32796 			  "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
32797 			  "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
32798 			  "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
32799 			  "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
32800 			  "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
32801 			  "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
32802 			  "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
32803 			  "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
32804 			  "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
32805 			  "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
32806 			  "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
32807 			  "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
32808 			  "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
32809 			  "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
32810 			  "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
32811 			  "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
32812 			  "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
32813 			  "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
32814 			  "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
32815 			  "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
32816 			  "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
32817 			  "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
32818 			  "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
32819 			  "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
32820 			  "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
32821 			  "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
32822 			  "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
32823 			  "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
32824 			  "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
32825 			  "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
32826 			  "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
32827 			  "\x54\x1c\x34\x72\xde\x0c\x68\x39"
32828 			  "\x9d\x32\xa5\x75\x92\x13\x32\xea"
32829 			  "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
32830 			  "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
32831 			  "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
32832 			  "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
32833 			  "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
32834 			  "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
32835 			  "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
32836 			  "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
32837 			  "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
32838 			  "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
32839 			  "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
32840 			  "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
32841 			  "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
32842 			  "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
32843 			  "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
32844 			  "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
32845 			  "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
32846 			  "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
32847 			  "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
32848 			  "\x79\x61\x23\xe0\xa2\x99\x73\x55"
32849 			  "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
32850 			  "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
32851 			  "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
32852 			  "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
32853 			  "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
32854 			  "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
32855 			  "\x48\x56\xaa\x85\x22\xd8\x36\xed"
32856 			  "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
32857 			  "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
32858 			  "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
32859 			  "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
32860 			  "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
32861 			  "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
32862 			  "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
32863 			  "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
32864 			  "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
32865 			  "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
32866 			  "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
32867 			  "\xec\x83\x92\x99\x87\x47\xe0\x7c"
32868 			  "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
32869 			  "\x98\xb0\x87\xb6\x86\x13\x64\x33"
32870 			  "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
32871 			  "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
32872 			  "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
32873 			  "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
32874 			  "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
32875 			  "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
32876 			  "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
32877 			  "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
32878 			  "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
32879 			  "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
32880 			  "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
32881 			  "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
32882 			  "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
32883 			  "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
32884 			  "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
32885 			  "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
32886 			  "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
32887 			  "\x5f\xae\x25\x84\x22\x90\x5f\x26"
32888 			  "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
32889 			  "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
32890 			  "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
32891 			  "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
32892 			  "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
32893 			  "\x74\x06\x89\x0e\x90\xeb\x85\xff"
32894 			  "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
32895 			  "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
32896 			  "\x02\x85\x68\xd0\x03\x12\xde\x92"
32897 			  "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
32898 			  "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
32899 			  "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
32900 			  "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
32901 			  "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
32902 			  "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
32903 			  "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
32904 			  "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
32905 			  "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
32906 			  "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
32907 			  "\x98",
32908 		.rlen	= 1281,
32909 	},
32910 };
32911 
32912 /*
32913  * CTS (Cipher Text Stealing) mode tests
32914  */
32915 static const struct cipher_testvec cts_mode_enc_tv_template[] = {
32916 	{ /* from rfc3962 */
32917 		.klen	= 16,
32918 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
32919 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
32920 		.ilen	= 17,
32921 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
32922 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
32923 			  "\x20",
32924 		.rlen	= 17,
32925 		.result	= "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
32926 			  "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
32927 			  "\x97",
32928 	}, {
32929 		.klen	= 16,
32930 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
32931 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
32932 		.ilen   = 31,
32933 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
32934 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
32935 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
32936 			  "\x20\x47\x61\x75\x27\x73\x20",
32937 		.rlen   = 31,
32938 		.result = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
32939 			  "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
32940 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
32941 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
32942 	}, {
32943 		.klen	= 16,
32944 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
32945 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
32946 		.ilen   = 32,
32947 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
32948 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
32949 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
32950 			  "\x20\x47\x61\x75\x27\x73\x20\x43",
32951 		.rlen   = 32,
32952 		.result = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
32953 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
32954 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
32955 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
32956 	}, {
32957 		.klen	= 16,
32958 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
32959 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
32960 		.ilen   = 47,
32961 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
32962 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
32963 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
32964 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
32965 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
32966 			  "\x70\x6c\x65\x61\x73\x65\x2c",
32967 		.rlen   = 47,
32968 		.result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
32969 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
32970 			  "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
32971 			  "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
32972 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
32973 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
32974 	}, {
32975 		.klen	= 16,
32976 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
32977 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
32978 		.ilen   = 48,
32979 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
32980 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
32981 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
32982 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
32983 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
32984 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20",
32985 		.rlen   = 48,
32986 		.result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
32987 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
32988 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
32989 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
32990 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
32991 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
32992 	}, {
32993 		.klen	= 16,
32994 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
32995 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
32996 		.ilen   = 64,
32997 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
32998 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
32999 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33000 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33001 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33002 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20"
33003 			  "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
33004 			  "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
33005 		.rlen   = 64,
33006 		.result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33007 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33008 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33009 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33010 			  "\x48\x07\xef\xe8\x36\xee\x89\xa5"
33011 			  "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
33012 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33013 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
33014 	}
33015 };
33016 
33017 static const struct cipher_testvec cts_mode_dec_tv_template[] = {
33018 	{ /* from rfc3962 */
33019 		.klen	= 16,
33020 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33021 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33022 		.rlen	= 17,
33023 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33024 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33025 			  "\x20",
33026 		.ilen	= 17,
33027 		.input	= "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
33028 			  "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
33029 			  "\x97",
33030 	}, {
33031 		.klen	= 16,
33032 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33033 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33034 		.rlen   = 31,
33035 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33036 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33037 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33038 			  "\x20\x47\x61\x75\x27\x73\x20",
33039 		.ilen   = 31,
33040 		.input  = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
33041 			  "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
33042 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33043 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
33044 	}, {
33045 		.klen	= 16,
33046 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33047 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33048 		.rlen   = 32,
33049 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33050 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33051 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33052 			  "\x20\x47\x61\x75\x27\x73\x20\x43",
33053 		.ilen   = 32,
33054 		.input  = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33055 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33056 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33057 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
33058 	}, {
33059 		.klen	= 16,
33060 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33061 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33062 		.rlen   = 47,
33063 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33064 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33065 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33066 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33067 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33068 			  "\x70\x6c\x65\x61\x73\x65\x2c",
33069 		.ilen   = 47,
33070 		.input  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33071 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33072 			  "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
33073 			  "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
33074 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33075 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
33076 	}, {
33077 		.klen	= 16,
33078 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33079 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33080 		.rlen   = 48,
33081 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33082 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33083 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33084 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33085 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33086 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20",
33087 		.ilen   = 48,
33088 		.input  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33089 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33090 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33091 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
33092 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33093 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
33094 	}, {
33095 		.klen	= 16,
33096 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33097 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33098 		.rlen   = 64,
33099 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33100 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33101 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33102 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33103 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33104 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20"
33105 			  "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
33106 			  "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
33107 		.ilen   = 64,
33108 		.input  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33109 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33110 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33111 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33112 			  "\x48\x07\xef\xe8\x36\xee\x89\xa5"
33113 			  "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
33114 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33115 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
33116 	}
33117 };
33118 
33119 /*
33120  * Compression stuff.
33121  */
33122 #define COMP_BUF_SIZE           512
33123 
33124 struct comp_testvec {
33125 	int inlen, outlen;
33126 	char input[COMP_BUF_SIZE];
33127 	char output[COMP_BUF_SIZE];
33128 };
33129 
33130 /*
33131  * Deflate test vectors (null-terminated strings).
33132  * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
33133  */
33134 
33135 static const struct comp_testvec deflate_comp_tv_template[] = {
33136 	{
33137 		.inlen	= 70,
33138 		.outlen	= 38,
33139 		.input	= "Join us now and share the software "
33140 			"Join us now and share the software ",
33141 		.output	= "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33142 			  "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33143 			  "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33144 			  "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33145 			  "\x71\xbc\x08\x2b\x01\x00",
33146 	}, {
33147 		.inlen	= 191,
33148 		.outlen	= 122,
33149 		.input	= "This document describes a compression method based on the DEFLATE"
33150 			"compression algorithm.  This document defines the application of "
33151 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33152 		.output	= "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33153 			  "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33154 			  "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33155 			  "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33156 			  "\x68\x12\x51\xae\x76\x67\xd6\x27"
33157 			  "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33158 			  "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33159 			  "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33160 			  "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33161 			  "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33162 			  "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33163 			  "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33164 			  "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33165 			  "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33166 			  "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33167 			  "\xfa\x02",
33168 	},
33169 };
33170 
33171 static const struct comp_testvec deflate_decomp_tv_template[] = {
33172 	{
33173 		.inlen	= 122,
33174 		.outlen	= 191,
33175 		.input	= "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33176 			  "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33177 			  "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33178 			  "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33179 			  "\x68\x12\x51\xae\x76\x67\xd6\x27"
33180 			  "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33181 			  "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33182 			  "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33183 			  "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33184 			  "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33185 			  "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33186 			  "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33187 			  "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33188 			  "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33189 			  "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33190 			  "\xfa\x02",
33191 		.output	= "This document describes a compression method based on the DEFLATE"
33192 			"compression algorithm.  This document defines the application of "
33193 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33194 	}, {
33195 		.inlen	= 38,
33196 		.outlen	= 70,
33197 		.input	= "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33198 			  "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33199 			  "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33200 			  "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33201 			  "\x71\xbc\x08\x2b\x01\x00",
33202 		.output	= "Join us now and share the software "
33203 			"Join us now and share the software ",
33204 	},
33205 };
33206 
33207 static const struct comp_testvec zlib_deflate_comp_tv_template[] = {
33208 	{
33209 		.inlen	= 70,
33210 		.outlen	= 44,
33211 		.input	= "Join us now and share the software "
33212 			"Join us now and share the software ",
33213 		.output	= "\x78\x5e\xf3\xca\xcf\xcc\x53\x28"
33214 			  "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
33215 			  "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
33216 			  "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
33217 			  "\x29\x07\x71\xbc\x08\x2b\x01\x00"
33218 			  "\x7c\x65\x19\x3d",
33219 	}, {
33220 		.inlen	= 191,
33221 		.outlen	= 129,
33222 		.input	= "This document describes a compression method based on the DEFLATE"
33223 			"compression algorithm.  This document defines the application of "
33224 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33225 		.output	= "\x78\x5e\x5d\xce\x41\x0a\xc3\x30"
33226 			  "\x0c\x04\xc0\xaf\xec\x0b\xf2\x87"
33227 			  "\xd2\xa6\x50\xe8\xc1\x07\x7f\x40"
33228 			  "\xb1\x95\x5a\x60\x5b\xc6\x56\x0f"
33229 			  "\xfd\x7d\x93\x1e\x42\xe8\x51\xec"
33230 			  "\xee\x20\x9f\x64\x20\x6a\x78\x17"
33231 			  "\xae\x86\xc8\x23\x74\x59\x78\x80"
33232 			  "\x10\xb4\xb4\xce\x63\x88\x56\x14"
33233 			  "\xb6\xa4\x11\x0b\x0d\x8e\xd8\x6e"
33234 			  "\x4b\x8c\xdb\x7c\x7f\x5e\xfc\x7c"
33235 			  "\xae\x51\x7e\x69\x17\x4b\x65\x02"
33236 			  "\xfc\x1f\xbc\x4a\xdd\xd8\x7d\x48"
33237 			  "\xad\x65\x09\x64\x3b\xac\xeb\xd9"
33238 			  "\xc2\x01\xc0\xf4\x17\x3c\x1c\x1c"
33239 			  "\x7d\xb2\x52\xc4\xf5\xf4\x8f\xeb"
33240 			  "\x6a\x1a\x34\x4f\x5f\x2e\x32\x45"
33241 			  "\x4e",
33242 	},
33243 };
33244 
33245 static const struct comp_testvec zlib_deflate_decomp_tv_template[] = {
33246 	{
33247 		.inlen	= 128,
33248 		.outlen	= 191,
33249 		.input	= "\x78\x9c\x5d\x8d\x31\x0e\xc2\x30"
33250 			  "\x10\x04\xbf\xb2\x2f\xc8\x1f\x10"
33251 			  "\x04\x09\x89\xc2\x85\x3f\x70\xb1"
33252 			  "\x2f\xf8\x24\xdb\x67\xd9\x47\xc1"
33253 			  "\xef\x49\x68\x12\x51\xae\x76\x67"
33254 			  "\xd6\x27\x19\x88\x1a\xde\x85\xab"
33255 			  "\x21\xf2\x08\x5d\x16\x1e\x20\x04"
33256 			  "\x2d\xad\xf3\x18\xa2\x15\x85\x2d"
33257 			  "\x69\xc4\x42\x83\x23\xb6\x6c\x89"
33258 			  "\x71\x9b\xef\xcf\x8b\x9f\xcf\x33"
33259 			  "\xca\x2f\xed\x62\xa9\x4c\x80\xff"
33260 			  "\x13\xaf\x52\x37\xed\x0e\x52\x6b"
33261 			  "\x59\x02\xd9\x4e\xe8\x7a\x76\x1d"
33262 			  "\x02\x98\xfe\x8a\x87\x83\xa3\x4f"
33263 			  "\x56\x8a\xb8\x9e\x8e\x5c\x57\xd3"
33264 			  "\xa0\x79\xfa\x02\x2e\x32\x45\x4e",
33265 		.output	= "This document describes a compression method based on the DEFLATE"
33266 			"compression algorithm.  This document defines the application of "
33267 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33268 	}, {
33269 		.inlen	= 44,
33270 		.outlen	= 70,
33271 		.input	= "\x78\x9c\xf3\xca\xcf\xcc\x53\x28"
33272 			  "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
33273 			  "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
33274 			  "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
33275 			  "\x29\x07\x71\xbc\x08\x2b\x01\x00"
33276 			  "\x7c\x65\x19\x3d",
33277 		.output	= "Join us now and share the software "
33278 			"Join us now and share the software ",
33279 	},
33280 };
33281 
33282 /*
33283  * LZO test vectors (null-terminated strings).
33284  */
33285 static const struct comp_testvec lzo_comp_tv_template[] = {
33286 	{
33287 		.inlen	= 70,
33288 		.outlen	= 57,
33289 		.input	= "Join us now and share the software "
33290 			"Join us now and share the software ",
33291 		.output	= "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
33292 			  "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
33293 			  "\x64\x20\x73\x68\x61\x72\x65\x20"
33294 			  "\x74\x68\x65\x20\x73\x6f\x66\x74"
33295 			  "\x77\x70\x01\x32\x88\x00\x0c\x65"
33296 			  "\x20\x74\x68\x65\x20\x73\x6f\x66"
33297 			  "\x74\x77\x61\x72\x65\x20\x11\x00"
33298 			  "\x00",
33299 	}, {
33300 		.inlen	= 159,
33301 		.outlen	= 131,
33302 		.input	= "This document describes a compression method based on the LZO "
33303 			"compression algorithm.  This document defines the application of "
33304 			"the LZO algorithm used in UBIFS.",
33305 		.output	= "\x00\x2c\x54\x68\x69\x73\x20\x64"
33306 			  "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33307 			  "\x64\x65\x73\x63\x72\x69\x62\x65"
33308 			  "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33309 			  "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33310 			  "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33311 			  "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33312 			  "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
33313 			  "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
33314 			  "\x72\x69\x74\x68\x6d\x2e\x20\x20"
33315 			  "\x2e\x54\x01\x03\x66\x69\x6e\x65"
33316 			  "\x73\x20\x74\x06\x05\x61\x70\x70"
33317 			  "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
33318 			  "\x66\x88\x02\x60\x09\x27\xf0\x00"
33319 			  "\x0c\x20\x75\x73\x65\x64\x20\x69"
33320 			  "\x6e\x20\x55\x42\x49\x46\x53\x2e"
33321 			  "\x11\x00\x00",
33322 	},
33323 };
33324 
33325 static const struct comp_testvec lzo_decomp_tv_template[] = {
33326 	{
33327 		.inlen	= 133,
33328 		.outlen	= 159,
33329 		.input	= "\x00\x2b\x54\x68\x69\x73\x20\x64"
33330 			  "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33331 			  "\x64\x65\x73\x63\x72\x69\x62\x65"
33332 			  "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33333 			  "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33334 			  "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33335 			  "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33336 			  "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
33337 			  "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
33338 			  "\x69\x74\x68\x6d\x2e\x20\x20\x54"
33339 			  "\x68\x69\x73\x2a\x54\x01\x02\x66"
33340 			  "\x69\x6e\x65\x73\x94\x06\x05\x61"
33341 			  "\x70\x70\x6c\x69\x63\x61\x74\x76"
33342 			  "\x0a\x6f\x66\x88\x02\x60\x09\x27"
33343 			  "\xf0\x00\x0c\x20\x75\x73\x65\x64"
33344 			  "\x20\x69\x6e\x20\x55\x42\x49\x46"
33345 			  "\x53\x2e\x11\x00\x00",
33346 		.output	= "This document describes a compression method based on the LZO "
33347 			"compression algorithm.  This document defines the application of "
33348 			"the LZO algorithm used in UBIFS.",
33349 	}, {
33350 		.inlen	= 46,
33351 		.outlen	= 70,
33352 		.input	= "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
33353 			  "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
33354 			  "\x64\x20\x73\x68\x61\x72\x65\x20"
33355 			  "\x74\x68\x65\x20\x73\x6f\x66\x74"
33356 			  "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
33357 			  "\x3d\x88\x00\x11\x00\x00",
33358 		.output	= "Join us now and share the software "
33359 			"Join us now and share the software ",
33360 	},
33361 };
33362 
33363 /*
33364  * Michael MIC test vectors from IEEE 802.11i
33365  */
33366 #define MICHAEL_MIC_TEST_VECTORS 6
33367 
33368 static const struct hash_testvec michael_mic_tv_template[] = {
33369 	{
33370 		.key = "\x00\x00\x00\x00\x00\x00\x00\x00",
33371 		.ksize = 8,
33372 		.plaintext = zeroed_string,
33373 		.psize = 0,
33374 		.digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
33375 	},
33376 	{
33377 		.key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
33378 		.ksize = 8,
33379 		.plaintext = "M",
33380 		.psize = 1,
33381 		.digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
33382 	},
33383 	{
33384 		.key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
33385 		.ksize = 8,
33386 		.plaintext = "Mi",
33387 		.psize = 2,
33388 		.digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
33389 	},
33390 	{
33391 		.key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
33392 		.ksize = 8,
33393 		.plaintext = "Mic",
33394 		.psize = 3,
33395 		.digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
33396 	},
33397 	{
33398 		.key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
33399 		.ksize = 8,
33400 		.plaintext = "Mich",
33401 		.psize = 4,
33402 		.digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
33403 	},
33404 	{
33405 		.key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
33406 		.ksize = 8,
33407 		.plaintext = "Michael",
33408 		.psize = 7,
33409 		.digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
33410 	}
33411 };
33412 
33413 /*
33414  * CRC32 test vectors
33415  */
33416 static const struct hash_testvec crc32_tv_template[] = {
33417 	{
33418 		.key = "\x87\xa9\xcb\xed",
33419 		.ksize = 4,
33420 		.psize = 0,
33421 		.digest = "\x87\xa9\xcb\xed",
33422 	},
33423 	{
33424 		.key = "\xff\xff\xff\xff",
33425 		.ksize = 4,
33426 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33427 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33428 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
33429 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33430 			     "\x21\x22\x23\x24\x25\x26\x27\x28",
33431 		.psize = 40,
33432 		.digest = "\x3a\xdf\x4b\xb0",
33433 	},
33434 	{
33435 		.key = "\xff\xff\xff\xff",
33436 		.ksize = 4,
33437 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33438 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33439 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33440 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33441 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33442 		.psize = 40,
33443 		.digest = "\xa9\x7a\x7f\x7b",
33444 	},
33445 	{
33446 		.key = "\xff\xff\xff\xff",
33447 		.ksize = 4,
33448 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33449 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33450 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
33451 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33452 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
33453 		.psize = 40,
33454 		.digest = "\xba\xd3\xf8\x1c",
33455 	},
33456 	{
33457 		.key = "\xff\xff\xff\xff",
33458 		.ksize = 4,
33459 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33460 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
33461 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33462 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
33463 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33464 		.psize = 40,
33465 		.digest = "\xa8\xa9\xc2\x02",
33466 	},
33467 	{
33468 		.key = "\xff\xff\xff\xff",
33469 		.ksize = 4,
33470 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33471 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33472 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33473 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33474 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33475 		.psize = 40,
33476 		.digest = "\x27\xf0\x57\xe2",
33477 	},
33478 	{
33479 		.key = "\xff\xff\xff\xff",
33480 		.ksize = 4,
33481 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33482 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33483 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33484 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33485 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33486 		.psize = 40,
33487 		.digest = "\x49\x78\x10\x08",
33488 	},
33489 	{
33490 		.key = "\x80\xea\xd3\xf1",
33491 		.ksize = 4,
33492 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33493 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33494 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33495 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33496 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33497 		.psize = 40,
33498 		.digest = "\x9a\xb1\xdc\xf0",
33499 	},
33500 	{
33501 		.key = "\xf3\x4a\x1d\x5d",
33502 		.ksize = 4,
33503 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33504 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33505 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
33506 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33507 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
33508 		.psize = 40,
33509 		.digest = "\xb4\x97\xcc\xd4",
33510 	},
33511 	{
33512 		.key = "\x2e\x80\x04\x59",
33513 		.ksize = 4,
33514 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33515 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
33516 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33517 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
33518 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33519 		.psize = 40,
33520 		.digest = "\x67\x9b\xfa\x79",
33521 	},
33522 	{
33523 		.key = "\xa6\xcc\x19\x85",
33524 		.ksize = 4,
33525 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33526 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33527 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33528 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33529 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33530 		.psize = 40,
33531 		.digest = "\x24\xb5\x16\xef",
33532 	},
33533 	{
33534 		.key = "\x41\xfc\xfe\x2d",
33535 		.ksize = 4,
33536 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33537 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33538 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33539 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33540 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33541 		.psize = 40,
33542 		.digest = "\x15\x94\x80\x39",
33543 	},
33544 	{
33545 		.key = "\xff\xff\xff\xff",
33546 		.ksize = 4,
33547 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33548 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33549 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
33550 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33551 			     "\x21\x22\x23\x24\x25\x26\x27\x28"
33552 			     "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33553 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33554 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33555 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33556 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
33557 			     "\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 			     "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33563 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
33564 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33565 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
33566 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
33567 			     "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33568 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33569 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33570 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33571 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
33572 			     "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33573 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33574 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33575 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33576 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33577 		.psize = 240,
33578 		.digest = "\x6c\xc6\x56\xde",
33579 		.np = 2,
33580 		.tap = { 31, 209 }
33581 	}, {
33582 		.key = "\xff\xff\xff\xff",
33583 		.ksize = 4,
33584 		.plaintext =	"\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
33585 				"\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
33586 				"\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
33587 				"\xa1\x38\xcf\x43\xda\x71\x08\x7c"
33588 				"\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
33589 				"\x85\x1c\x90\x27\xbe\x32\xc9\x60"
33590 				"\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
33591 				"\x46\xdd\x74\x0b\x7f\x16\xad\x21"
33592 				"\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
33593 				"\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
33594 				"\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
33595 				"\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
33596 				"\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
33597 				"\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
33598 				"\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
33599 				"\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
33600 				"\x02\x99\x30\xc7\x3b\xd2\x69\x00"
33601 				"\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
33602 				"\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
33603 				"\x58\xef\x63\xfa\x91\x05\x9c\x33"
33604 				"\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
33605 				"\x19\xb0\x47\xde\x52\xe9\x80\x17"
33606 				"\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
33607 				"\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
33608 				"\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
33609 				"\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
33610 				"\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
33611 				"\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
33612 				"\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
33613 				"\x86\x1d\x91\x28\xbf\x33\xca\x61"
33614 				"\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
33615 				"\x47\xde\x75\x0c\x80\x17\xae\x22"
33616 				"\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
33617 				"\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
33618 				"\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
33619 				"\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
33620 				"\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
33621 				"\xd0\x67\xfe\x72\x09\xa0\x14\xab"
33622 				"\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
33623 				"\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
33624 				"\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
33625 				"\x75\x0c\xa3\x17\xae\x45\xdc\x50"
33626 				"\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
33627 				"\x59\xf0\x64\xfb\x92\x06\x9d\x34"
33628 				"\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
33629 				"\x1a\xb1\x48\xdf\x53\xea\x81\x18"
33630 				"\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
33631 				"\xfe\x95\x09\xa0\x37\xce\x42\xd9"
33632 				"\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
33633 				"\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
33634 				"\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
33635 				"\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
33636 				"\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
33637 				"\x87\x1e\x92\x29\xc0\x34\xcb\x62"
33638 				"\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
33639 				"\x48\xdf\x76\x0d\x81\x18\xaf\x23"
33640 				"\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
33641 				"\x2c\xc3\x37\xce\x65\xfc\x70\x07"
33642 				"\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
33643 				"\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
33644 				"\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
33645 				"\xd1\x68\xff\x73\x0a\xa1\x15\xac"
33646 				"\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
33647 				"\xb5\x29\xc0\x57\xee\x62\xf9\x90"
33648 				"\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
33649 				"\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
33650 				"\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
33651 				"\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
33652 				"\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
33653 				"\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
33654 				"\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
33655 				"\xff\x96\x0a\xa1\x38\xcf\x43\xda"
33656 				"\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
33657 				"\xe3\x57\xee\x85\x1c\x90\x27\xbe"
33658 				"\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
33659 				"\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
33660 				"\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
33661 				"\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
33662 				"\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
33663 				"\x49\xe0\x77\x0e\x82\x19\xb0\x24"
33664 				"\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
33665 				"\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
33666 				"\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
33667 				"\x11\x85\x1c\xb3\x27\xbe\x55\xec"
33668 				"\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
33669 				"\xd2\x69\x00\x74\x0b\xa2\x16\xad"
33670 				"\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
33671 				"\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
33672 				"\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
33673 				"\x77\x0e\xa5\x19\xb0\x47\xde\x52"
33674 				"\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
33675 				"\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
33676 				"\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
33677 				"\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
33678 				"\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
33679 				"\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
33680 				"\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
33681 				"\xe4\x58\xef\x86\x1d\x91\x28\xbf"
33682 				"\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
33683 				"\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
33684 				"\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
33685 				"\x89\x20\x94\x2b\xc2\x36\xcd\x64"
33686 				"\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
33687 				"\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
33688 				"\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
33689 				"\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
33690 				"\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
33691 				"\x12\x86\x1d\xb4\x28\xbf\x56\xed"
33692 				"\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
33693 				"\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
33694 				"\x45\xdc\x50\xe7\x7e\x15\x89\x20"
33695 				"\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
33696 				"\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
33697 				"\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
33698 				"\xea\x81\x18\x8c\x23\xba\x2e\xc5"
33699 				"\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
33700 				"\xce\x42\xd9\x70\x07\x7b\x12\xa9"
33701 				"\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
33702 				"\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
33703 				"\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
33704 				"\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
33705 				"\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
33706 				"\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
33707 				"\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
33708 				"\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
33709 				"\x8a\x21\x95\x2c\xc3\x37\xce\x65"
33710 				"\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
33711 				"\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
33712 				"\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
33713 				"\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
33714 				"\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
33715 				"\x13\x87\x1e\xb5\x29\xc0\x57\xee"
33716 				"\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
33717 				"\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
33718 				"\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
33719 				"\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
33720 				"\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
33721 				"\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
33722 				"\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
33723 				"\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
33724 				"\xcf\x43\xda\x71\x08\x7c\x13\xaa"
33725 				"\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
33726 				"\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
33727 				"\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
33728 				"\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
33729 				"\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
33730 				"\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
33731 				"\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
33732 				"\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
33733 				"\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
33734 				"\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
33735 				"\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
33736 				"\xbe\x55\xec\x60\xf7\x8e\x02\x99"
33737 				"\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
33738 				"\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
33739 				"\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
33740 				"\x63\xfa\x91\x05\x9c\x33\xca\x3e"
33741 				"\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
33742 				"\x47\xde\x52\xe9\x80\x17\x8b\x22"
33743 				"\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
33744 				"\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
33745 				"\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
33746 				"\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
33747 				"\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
33748 				"\xd0\x44\xdb\x72\x09\x7d\x14\xab"
33749 				"\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
33750 				"\x91\x28\xbf\x33\xca\x61\xf8\x6c"
33751 				"\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
33752 				"\x75\x0c\x80\x17\xae\x22\xb9\x50"
33753 				"\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
33754 				"\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
33755 				"\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
33756 				"\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
33757 				"\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
33758 				"\xfe\x72\x09\xa0\x14\xab\x42\xd9"
33759 				"\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
33760 				"\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
33761 				"\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
33762 				"\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
33763 				"\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
33764 				"\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
33765 				"\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
33766 				"\x48\xdf\x53\xea\x81\x18\x8c\x23"
33767 				"\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
33768 				"\x09\xa0\x37\xce\x42\xd9\x70\x07"
33769 				"\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
33770 				"\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
33771 				"\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
33772 				"\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
33773 				"\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
33774 				"\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
33775 				"\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
33776 				"\x76\x0d\x81\x18\xaf\x23\xba\x51"
33777 				"\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
33778 				"\x37\xce\x65\xfc\x70\x07\x9e\x12"
33779 				"\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
33780 				"\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
33781 				"\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
33782 				"\xff\x73\x0a\xa1\x15\xac\x43\xda"
33783 				"\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
33784 				"\xc0\x57\xee\x62\xf9\x90\x04\x9b"
33785 				"\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
33786 				"\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
33787 				"\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
33788 				"\x65\xfc\x93\x07\x9e\x35\xcc\x40"
33789 				"\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
33790 				"\x49\xe0\x54\xeb\x82\x19\x8d\x24"
33791 				"\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
33792 				"\x0a\xa1\x38\xcf\x43\xda\x71\x08"
33793 				"\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
33794 				"\xee\x85\x1c\x90\x27\xbe\x32\xc9"
33795 				"\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
33796 				"\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
33797 				"\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
33798 				"\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
33799 				"\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
33800 				"\x77\x0e\x82\x19\xb0\x24\xbb\x52"
33801 				"\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
33802 				"\x38\xcf\x66\xfd\x71\x08\x9f\x13"
33803 				"\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
33804 				"\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
33805 				"\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
33806 				"\x00\x74\x0b\xa2\x16\xad\x44\xdb"
33807 				"\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
33808 				"\xc1\x58\xef\x63\xfa\x91\x05\x9c"
33809 				"\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
33810 				"\xa5\x19\xb0\x47\xde\x52\xe9\x80"
33811 				"\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
33812 				"\x66\xfd\x94\x08\x9f\x36\xcd\x41"
33813 				"\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
33814 				"\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
33815 				"\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
33816 				"\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
33817 				"\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
33818 				"\xef\x86\x1d\x91\x28\xbf\x33\xca"
33819 				"\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
33820 				"\xd3\x47\xde\x75\x0c\x80\x17\xae"
33821 				"\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
33822 				"\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
33823 				"\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
33824 				"\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
33825 				"\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
33826 				"\x39\xd0\x67\xfe\x72\x09\xa0\x14"
33827 				"\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
33828 				"\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
33829 				"\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
33830 				"\x01\x75\x0c\xa3\x17\xae\x45\xdc"
33831 				"\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
33832 				"\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
33833 				"\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
33834 				"\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
33835 				"\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
33836 				"\x67\xfe\x95\x09\xa0\x37\xce\x42"
33837 				"\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
33838 				"\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
33839 				"\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
33840 		.psize = 2048,
33841 		.digest = "\xfb\x3a\x7a\xda",
33842 	}
33843 };
33844 
33845 /*
33846  * CRC32C test vectors
33847  */
33848 static const struct hash_testvec crc32c_tv_template[] = {
33849 	{
33850 		.psize = 0,
33851 		.digest = "\x00\x00\x00\x00",
33852 	},
33853 	{
33854 		.key = "\x87\xa9\xcb\xed",
33855 		.ksize = 4,
33856 		.psize = 0,
33857 		.digest = "\x78\x56\x34\x12",
33858 	},
33859 	{
33860 		.key = "\xff\xff\xff\xff",
33861 		.ksize = 4,
33862 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33863 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33864 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
33865 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33866 			     "\x21\x22\x23\x24\x25\x26\x27\x28",
33867 		.psize = 40,
33868 		.digest = "\x7f\x15\x2c\x0e",
33869 	},
33870 	{
33871 		.key = "\xff\xff\xff\xff",
33872 		.ksize = 4,
33873 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33874 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33875 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33876 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33877 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33878 		.psize = 40,
33879 		.digest = "\xf6\xeb\x80\xe9",
33880 	},
33881 	{
33882 		.key = "\xff\xff\xff\xff",
33883 		.ksize = 4,
33884 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33885 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33886 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
33887 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33888 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
33889 		.psize = 40,
33890 		.digest = "\xed\xbd\x74\xde",
33891 	},
33892 	{
33893 		.key = "\xff\xff\xff\xff",
33894 		.ksize = 4,
33895 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33896 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
33897 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33898 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
33899 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33900 		.psize = 40,
33901 		.digest = "\x62\xc8\x79\xd5",
33902 	},
33903 	{
33904 		.key = "\xff\xff\xff\xff",
33905 		.ksize = 4,
33906 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33907 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33908 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33909 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33910 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33911 		.psize = 40,
33912 		.digest = "\xd0\x9a\x97\xba",
33913 	},
33914 	{
33915 		.key = "\xff\xff\xff\xff",
33916 		.ksize = 4,
33917 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33918 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33919 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33920 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33921 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33922 		.psize = 40,
33923 		.digest = "\x13\xd9\x29\x2b",
33924 	},
33925 	{
33926 		.key = "\x80\xea\xd3\xf1",
33927 		.ksize = 4,
33928 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33929 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33930 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33931 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33932 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33933 		.psize = 40,
33934 		.digest = "\x0c\xb5\xe2\xa2",
33935 	},
33936 	{
33937 		.key = "\xf3\x4a\x1d\x5d",
33938 		.ksize = 4,
33939 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33940 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33941 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
33942 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33943 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
33944 		.psize = 40,
33945 		.digest = "\xd1\x7f\xfb\xa6",
33946 	},
33947 	{
33948 		.key = "\x2e\x80\x04\x59",
33949 		.ksize = 4,
33950 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33951 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
33952 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33953 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
33954 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33955 		.psize = 40,
33956 		.digest = "\x59\x33\xe6\x7a",
33957 	},
33958 	{
33959 		.key = "\xa6\xcc\x19\x85",
33960 		.ksize = 4,
33961 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33962 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33963 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33964 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33965 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33966 		.psize = 40,
33967 		.digest = "\xbe\x03\x01\xd2",
33968 	},
33969 	{
33970 		.key = "\x41\xfc\xfe\x2d",
33971 		.ksize = 4,
33972 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33973 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33974 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33975 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33976 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33977 		.psize = 40,
33978 		.digest = "\x75\xd3\xc5\x24",
33979 	},
33980 	{
33981 		.key = "\xff\xff\xff\xff",
33982 		.ksize = 4,
33983 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33984 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33985 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
33986 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33987 			     "\x21\x22\x23\x24\x25\x26\x27\x28"
33988 			     "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33989 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33990 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33991 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33992 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
33993 			     "\x51\x52\x53\x54\x55\x56\x57\x58"
33994 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33995 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
33996 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33997 			     "\x71\x72\x73\x74\x75\x76\x77\x78"
33998 			     "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33999 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34000 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34001 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34002 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34003 			     "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34004 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34005 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34006 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34007 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34008 			     "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34009 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34010 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34011 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34012 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34013 		.psize = 240,
34014 		.digest = "\x75\xd3\xc5\x24",
34015 		.np = 2,
34016 		.tap = { 31, 209 }
34017 	}, {
34018 		.key = "\xff\xff\xff\xff",
34019 		.ksize = 4,
34020 		.plaintext =	"\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
34021 				"\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
34022 				"\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
34023 				"\xa1\x38\xcf\x43\xda\x71\x08\x7c"
34024 				"\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
34025 				"\x85\x1c\x90\x27\xbe\x32\xc9\x60"
34026 				"\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
34027 				"\x46\xdd\x74\x0b\x7f\x16\xad\x21"
34028 				"\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
34029 				"\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
34030 				"\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
34031 				"\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
34032 				"\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
34033 				"\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
34034 				"\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
34035 				"\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
34036 				"\x02\x99\x30\xc7\x3b\xd2\x69\x00"
34037 				"\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
34038 				"\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
34039 				"\x58\xef\x63\xfa\x91\x05\x9c\x33"
34040 				"\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
34041 				"\x19\xb0\x47\xde\x52\xe9\x80\x17"
34042 				"\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
34043 				"\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
34044 				"\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
34045 				"\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
34046 				"\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
34047 				"\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
34048 				"\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
34049 				"\x86\x1d\x91\x28\xbf\x33\xca\x61"
34050 				"\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
34051 				"\x47\xde\x75\x0c\x80\x17\xae\x22"
34052 				"\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
34053 				"\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
34054 				"\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
34055 				"\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
34056 				"\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
34057 				"\xd0\x67\xfe\x72\x09\xa0\x14\xab"
34058 				"\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
34059 				"\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
34060 				"\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
34061 				"\x75\x0c\xa3\x17\xae\x45\xdc\x50"
34062 				"\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
34063 				"\x59\xf0\x64\xfb\x92\x06\x9d\x34"
34064 				"\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
34065 				"\x1a\xb1\x48\xdf\x53\xea\x81\x18"
34066 				"\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
34067 				"\xfe\x95\x09\xa0\x37\xce\x42\xd9"
34068 				"\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
34069 				"\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
34070 				"\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
34071 				"\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
34072 				"\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
34073 				"\x87\x1e\x92\x29\xc0\x34\xcb\x62"
34074 				"\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
34075 				"\x48\xdf\x76\x0d\x81\x18\xaf\x23"
34076 				"\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
34077 				"\x2c\xc3\x37\xce\x65\xfc\x70\x07"
34078 				"\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
34079 				"\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
34080 				"\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
34081 				"\xd1\x68\xff\x73\x0a\xa1\x15\xac"
34082 				"\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
34083 				"\xb5\x29\xc0\x57\xee\x62\xf9\x90"
34084 				"\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
34085 				"\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
34086 				"\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
34087 				"\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
34088 				"\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
34089 				"\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
34090 				"\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
34091 				"\xff\x96\x0a\xa1\x38\xcf\x43\xda"
34092 				"\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
34093 				"\xe3\x57\xee\x85\x1c\x90\x27\xbe"
34094 				"\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
34095 				"\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
34096 				"\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
34097 				"\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
34098 				"\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
34099 				"\x49\xe0\x77\x0e\x82\x19\xb0\x24"
34100 				"\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
34101 				"\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
34102 				"\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
34103 				"\x11\x85\x1c\xb3\x27\xbe\x55\xec"
34104 				"\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
34105 				"\xd2\x69\x00\x74\x0b\xa2\x16\xad"
34106 				"\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
34107 				"\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
34108 				"\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
34109 				"\x77\x0e\xa5\x19\xb0\x47\xde\x52"
34110 				"\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
34111 				"\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
34112 				"\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
34113 				"\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
34114 				"\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
34115 				"\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
34116 				"\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
34117 				"\xe4\x58\xef\x86\x1d\x91\x28\xbf"
34118 				"\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
34119 				"\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
34120 				"\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
34121 				"\x89\x20\x94\x2b\xc2\x36\xcd\x64"
34122 				"\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
34123 				"\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
34124 				"\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
34125 				"\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
34126 				"\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
34127 				"\x12\x86\x1d\xb4\x28\xbf\x56\xed"
34128 				"\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
34129 				"\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
34130 				"\x45\xdc\x50\xe7\x7e\x15\x89\x20"
34131 				"\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
34132 				"\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
34133 				"\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
34134 				"\xea\x81\x18\x8c\x23\xba\x2e\xc5"
34135 				"\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
34136 				"\xce\x42\xd9\x70\x07\x7b\x12\xa9"
34137 				"\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
34138 				"\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
34139 				"\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
34140 				"\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
34141 				"\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
34142 				"\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
34143 				"\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
34144 				"\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
34145 				"\x8a\x21\x95\x2c\xc3\x37\xce\x65"
34146 				"\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
34147 				"\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
34148 				"\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
34149 				"\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
34150 				"\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
34151 				"\x13\x87\x1e\xb5\x29\xc0\x57\xee"
34152 				"\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
34153 				"\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
34154 				"\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
34155 				"\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
34156 				"\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
34157 				"\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
34158 				"\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
34159 				"\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
34160 				"\xcf\x43\xda\x71\x08\x7c\x13\xaa"
34161 				"\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
34162 				"\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
34163 				"\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
34164 				"\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
34165 				"\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
34166 				"\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
34167 				"\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
34168 				"\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
34169 				"\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
34170 				"\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
34171 				"\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
34172 				"\xbe\x55\xec\x60\xf7\x8e\x02\x99"
34173 				"\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
34174 				"\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
34175 				"\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
34176 				"\x63\xfa\x91\x05\x9c\x33\xca\x3e"
34177 				"\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
34178 				"\x47\xde\x52\xe9\x80\x17\x8b\x22"
34179 				"\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
34180 				"\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
34181 				"\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
34182 				"\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
34183 				"\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
34184 				"\xd0\x44\xdb\x72\x09\x7d\x14\xab"
34185 				"\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
34186 				"\x91\x28\xbf\x33\xca\x61\xf8\x6c"
34187 				"\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
34188 				"\x75\x0c\x80\x17\xae\x22\xb9\x50"
34189 				"\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
34190 				"\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
34191 				"\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
34192 				"\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
34193 				"\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
34194 				"\xfe\x72\x09\xa0\x14\xab\x42\xd9"
34195 				"\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
34196 				"\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
34197 				"\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
34198 				"\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
34199 				"\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
34200 				"\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
34201 				"\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
34202 				"\x48\xdf\x53\xea\x81\x18\x8c\x23"
34203 				"\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
34204 				"\x09\xa0\x37\xce\x42\xd9\x70\x07"
34205 				"\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
34206 				"\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
34207 				"\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
34208 				"\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
34209 				"\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
34210 				"\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
34211 				"\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
34212 				"\x76\x0d\x81\x18\xaf\x23\xba\x51"
34213 				"\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
34214 				"\x37\xce\x65\xfc\x70\x07\x9e\x12"
34215 				"\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
34216 				"\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
34217 				"\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
34218 				"\xff\x73\x0a\xa1\x15\xac\x43\xda"
34219 				"\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
34220 				"\xc0\x57\xee\x62\xf9\x90\x04\x9b"
34221 				"\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
34222 				"\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
34223 				"\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
34224 				"\x65\xfc\x93\x07\x9e\x35\xcc\x40"
34225 				"\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
34226 				"\x49\xe0\x54\xeb\x82\x19\x8d\x24"
34227 				"\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
34228 				"\x0a\xa1\x38\xcf\x43\xda\x71\x08"
34229 				"\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
34230 				"\xee\x85\x1c\x90\x27\xbe\x32\xc9"
34231 				"\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
34232 				"\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
34233 				"\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
34234 				"\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
34235 				"\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
34236 				"\x77\x0e\x82\x19\xb0\x24\xbb\x52"
34237 				"\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
34238 				"\x38\xcf\x66\xfd\x71\x08\x9f\x13"
34239 				"\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
34240 				"\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
34241 				"\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
34242 				"\x00\x74\x0b\xa2\x16\xad\x44\xdb"
34243 				"\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
34244 				"\xc1\x58\xef\x63\xfa\x91\x05\x9c"
34245 				"\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
34246 				"\xa5\x19\xb0\x47\xde\x52\xe9\x80"
34247 				"\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
34248 				"\x66\xfd\x94\x08\x9f\x36\xcd\x41"
34249 				"\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
34250 				"\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
34251 				"\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
34252 				"\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
34253 				"\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
34254 				"\xef\x86\x1d\x91\x28\xbf\x33\xca"
34255 				"\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
34256 				"\xd3\x47\xde\x75\x0c\x80\x17\xae"
34257 				"\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
34258 				"\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
34259 				"\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
34260 				"\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
34261 				"\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
34262 				"\x39\xd0\x67\xfe\x72\x09\xa0\x14"
34263 				"\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
34264 				"\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
34265 				"\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
34266 				"\x01\x75\x0c\xa3\x17\xae\x45\xdc"
34267 				"\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
34268 				"\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
34269 				"\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
34270 				"\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
34271 				"\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
34272 				"\x67\xfe\x95\x09\xa0\x37\xce\x42"
34273 				"\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
34274 				"\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
34275 				"\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
34276 		.psize = 2048,
34277 		.digest = "\xec\x26\x4d\x95",
34278 	}
34279 };
34280 
34281 /*
34282  * Blakcifn CRC test vectors
34283  */
34284 static const struct hash_testvec bfin_crc_tv_template[] = {
34285 	{
34286 		.psize = 0,
34287 		.digest = "\x00\x00\x00\x00",
34288 	},
34289 	{
34290 		.key = "\x87\xa9\xcb\xed",
34291 		.ksize = 4,
34292 		.psize = 0,
34293 		.digest = "\x87\xa9\xcb\xed",
34294 	},
34295 	{
34296 		.key = "\xff\xff\xff\xff",
34297 		.ksize = 4,
34298 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34299 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34300 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34301 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34302 			     "\x21\x22\x23\x24\x25\x26\x27\x28",
34303 		.psize = 40,
34304 		.digest = "\x84\x0c\x8d\xa2",
34305 	},
34306 	{
34307 		.key = "\xff\xff\xff\xff",
34308 		.ksize = 4,
34309 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34310 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34311 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34312 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34313 			     "\x21\x22\x23\x24\x25\x26",
34314 		.psize = 38,
34315 		.digest = "\x8c\x58\xec\xb7",
34316 	},
34317 	{
34318 		.key = "\xff\xff\xff\xff",
34319 		.ksize = 4,
34320 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34321 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34322 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34323 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34324 			     "\x21\x22\x23\x24\x25\x26\x27",
34325 		.psize = 39,
34326 		.digest = "\xdc\x50\x28\x7b",
34327 	},
34328 	{
34329 		.key = "\xff\xff\xff\xff",
34330 		.ksize = 4,
34331 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34332 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34333 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34334 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34335 			     "\x21\x22\x23\x24\x25\x26\x27\x28"
34336 			     "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34337 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34338 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34339 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34340 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
34341 			     "\x51\x52\x53\x54\x55\x56\x57\x58"
34342 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34343 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34344 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34345 			     "\x71\x72\x73\x74\x75\x76\x77\x78"
34346 			     "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34347 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34348 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34349 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34350 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34351 			     "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34352 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34353 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34354 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34355 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34356 			     "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34357 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34358 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34359 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34360 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34361 		.psize = 240,
34362 		.digest = "\x10\x19\x4a\x5c",
34363 		.np = 2,
34364 		.tap = { 31, 209 }
34365 	},
34366 
34367 };
34368 
34369 static const struct comp_testvec lz4_comp_tv_template[] = {
34370 	{
34371 		.inlen	= 255,
34372 		.outlen	= 218,
34373 		.input	= "LZ4 is lossless compression algorithm, providing"
34374 			 " compression speed at 400 MB/s per core, scalable "
34375 			 "with multi-cores CPU. It features an extremely fast "
34376 			 "decoder, with speed in multiple GB/s per core, "
34377 			 "typically reaching RAM speed limits on multi-core "
34378 			 "systems.",
34379 		.output	= "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34380 			  "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34381 			  "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34382 			  "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34383 			  "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34384 			  "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34385 			  "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34386 			  "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34387 			  "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34388 			  "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34389 			  "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34390 			  "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34391 			  "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34392 			  "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34393 			  "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
34394 			  "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
34395 			  "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
34396 
34397 	},
34398 };
34399 
34400 static const struct comp_testvec lz4_decomp_tv_template[] = {
34401 	{
34402 		.inlen	= 218,
34403 		.outlen	= 255,
34404 		.input	= "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34405 			  "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34406 			  "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34407 			  "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34408 			  "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34409 			  "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34410 			  "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34411 			  "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34412 			  "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34413 			  "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34414 			  "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34415 			  "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34416 			  "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34417 			  "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34418 			  "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
34419 			  "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
34420 			  "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
34421 		.output	= "LZ4 is lossless compression algorithm, providing"
34422 			 " compression speed at 400 MB/s per core, scalable "
34423 			 "with multi-cores CPU. It features an extremely fast "
34424 			 "decoder, with speed in multiple GB/s per core, "
34425 			 "typically reaching RAM speed limits on multi-core "
34426 			 "systems.",
34427 	},
34428 };
34429 
34430 static const struct comp_testvec lz4hc_comp_tv_template[] = {
34431 	{
34432 		.inlen	= 255,
34433 		.outlen	= 216,
34434 		.input	= "LZ4 is lossless compression algorithm, providing"
34435 			 " compression speed at 400 MB/s per core, scalable "
34436 			 "with multi-cores CPU. It features an extremely fast "
34437 			 "decoder, with speed in multiple GB/s per core, "
34438 			 "typically reaching RAM speed limits on multi-core "
34439 			 "systems.",
34440 		.output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34441 			  "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34442 			  "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34443 			  "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34444 			  "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34445 			  "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34446 			  "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34447 			  "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34448 			  "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34449 			  "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34450 			  "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34451 			  "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34452 			  "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34453 			  "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34454 			  "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
34455 			  "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
34456 			  "\x73\x79\x73\x74\x65\x6d\x73\x2e",
34457 
34458 	},
34459 };
34460 
34461 static const struct comp_testvec lz4hc_decomp_tv_template[] = {
34462 	{
34463 		.inlen	= 216,
34464 		.outlen	= 255,
34465 		.input	= "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34466 			  "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34467 			  "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34468 			  "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34469 			  "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34470 			  "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34471 			  "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34472 			  "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34473 			  "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34474 			  "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34475 			  "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34476 			  "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34477 			  "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34478 			  "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34479 			  "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
34480 			  "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
34481 			  "\x73\x79\x73\x74\x65\x6d\x73\x2e",
34482 		.output	= "LZ4 is lossless compression algorithm, providing"
34483 			 " compression speed at 400 MB/s per core, scalable "
34484 			 "with multi-cores CPU. It features an extremely fast "
34485 			 "decoder, with speed in multiple GB/s per core, "
34486 			 "typically reaching RAM speed limits on multi-core "
34487 			 "systems.",
34488 	},
34489 };
34490 
34491 #endif	/* _CRYPTO_TESTMGR_H */
34492