xref: /openbmc/linux/crypto/testmgr.h (revision b78412b8)
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 	bool siggen_sigver_test;
137 };
138 
139 struct kpp_testvec {
140 	const unsigned char *secret;
141 	const unsigned char *b_secret;
142 	const unsigned char *b_public;
143 	const unsigned char *expected_a_public;
144 	const unsigned char *expected_ss;
145 	unsigned short secret_size;
146 	unsigned short b_secret_size;
147 	unsigned short b_public_size;
148 	unsigned short expected_a_public_size;
149 	unsigned short expected_ss_size;
150 	bool genkey;
151 };
152 
153 static const char zeroed_string[48];
154 
155 /*
156  * RSA test vectors. Borrowed from openSSL.
157  */
158 static const struct akcipher_testvec rsa_tv_template[] = {
159 	{
160 #ifndef CONFIG_CRYPTO_FIPS
161 	.key =
162 	"\x30\x81\x9A" /* sequence of 154 bytes */
163 	"\x02\x01\x01" /* version - integer of 1 byte */
164 	"\x02\x41" /* modulus - integer of 65 bytes */
165 	"\x00\xAA\x36\xAB\xCE\x88\xAC\xFD\xFF\x55\x52\x3C\x7F\xC4\x52\x3F"
166 	"\x90\xEF\xA0\x0D\xF3\x77\x4A\x25\x9F\x2E\x62\xB4\xC5\xD9\x9C\xB5"
167 	"\xAD\xB3\x00\xA0\x28\x5E\x53\x01\x93\x0E\x0C\x70\xFB\x68\x76\x93"
168 	"\x9C\xE6\x16\xCE\x62\x4A\x11\xE0\x08\x6D\x34\x1E\xBC\xAC\xA0\xA1"
169 	"\xF5"
170 	"\x02\x01\x11" /* public key - integer of 1 byte */
171 	"\x02\x40" /* private key - integer of 64 bytes */
172 	"\x0A\x03\x37\x48\x62\x64\x87\x69\x5F\x5F\x30\xBC\x38\xB9\x8B\x44"
173 	"\xC2\xCD\x2D\xFF\x43\x40\x98\xCD\x20\xD8\xA1\x38\xD0\x90\xBF\x64"
174 	"\x79\x7C\x3F\xA7\xA2\xCD\xCB\x3C\xD1\xE0\xBD\xBA\x26\x54\xB4\xF9"
175 	"\xDF\x8E\x8A\xE5\x9D\x73\x3D\x9F\x33\xB3\x01\x62\x4A\xFD\x1D\x51"
176 	"\x02\x01\x00" /* prime1 - integer of 1 byte */
177 	"\x02\x01\x00" /* prime2 - integer of 1 byte */
178 	"\x02\x01\x00" /* exponent1 - integer of 1 byte */
179 	"\x02\x01\x00" /* exponent2 - integer of 1 byte */
180 	"\x02\x01\x00", /* coefficient - integer of 1 byte */
181 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
182 	.c =
183 	"\x63\x1c\xcd\x7b\xe1\x7e\xe4\xde\xc9\xa8\x89\xa1\x74\xcb\x3c\x63"
184 	"\x7d\x24\xec\x83\xc3\x15\xe4\x7f\x73\x05\x34\xd1\xec\x22\xbb\x8a"
185 	"\x5e\x32\x39\x6d\xc1\x1d\x7d\x50\x3b\x9f\x7a\xad\xf0\x2e\x25\x53"
186 	"\x9f\x6e\xbd\x4c\x55\x84\x0c\x9b\xcf\x1a\x4b\x51\x1e\x9e\x0c\x06",
187 	.key_len = 157,
188 	.m_size = 8,
189 	.c_size = 64,
190 	}, {
191 	.key =
192 	"\x30\x82\x01\x1D" /* sequence of 285 bytes */
193 	"\x02\x01\x01" /* version - integer of 1 byte */
194 	"\x02\x81\x81" /* modulus - integer of 129 bytes */
195 	"\x00\xBB\xF8\x2F\x09\x06\x82\xCE\x9C\x23\x38\xAC\x2B\x9D\xA8\x71"
196 	"\xF7\x36\x8D\x07\xEE\xD4\x10\x43\xA4\x40\xD6\xB6\xF0\x74\x54\xF5"
197 	"\x1F\xB8\xDF\xBA\xAF\x03\x5C\x02\xAB\x61\xEA\x48\xCE\xEB\x6F\xCD"
198 	"\x48\x76\xED\x52\x0D\x60\xE1\xEC\x46\x19\x71\x9D\x8A\x5B\x8B\x80"
199 	"\x7F\xAF\xB8\xE0\xA3\xDF\xC7\x37\x72\x3E\xE6\xB4\xB7\xD9\x3A\x25"
200 	"\x84\xEE\x6A\x64\x9D\x06\x09\x53\x74\x88\x34\xB2\x45\x45\x98\x39"
201 	"\x4E\xE0\xAA\xB1\x2D\x7B\x61\xA5\x1F\x52\x7A\x9A\x41\xF6\xC1\x68"
202 	"\x7F\xE2\x53\x72\x98\xCA\x2A\x8F\x59\x46\xF8\xE5\xFD\x09\x1D\xBD"
203 	"\xCB"
204 	"\x02\x01\x11" /* public key - integer of 1 byte */
205 	"\x02\x81\x81"  /* private key - integer of 129 bytes */
206 	"\x00\xA5\xDA\xFC\x53\x41\xFA\xF2\x89\xC4\xB9\x88\xDB\x30\xC1\xCD"
207 	"\xF8\x3F\x31\x25\x1E\x06\x68\xB4\x27\x84\x81\x38\x01\x57\x96\x41"
208 	"\xB2\x94\x10\xB3\xC7\x99\x8D\x6B\xC4\x65\x74\x5E\x5C\x39\x26\x69"
209 	"\xD6\x87\x0D\xA2\xC0\x82\xA9\x39\xE3\x7F\xDC\xB8\x2E\xC9\x3E\xDA"
210 	"\xC9\x7F\xF3\xAD\x59\x50\xAC\xCF\xBC\x11\x1C\x76\xF1\xA9\x52\x94"
211 	"\x44\xE5\x6A\xAF\x68\xC5\x6C\x09\x2C\xD3\x8D\xC3\xBE\xF5\xD2\x0A"
212 	"\x93\x99\x26\xED\x4F\x74\xA1\x3E\xDD\xFB\xE1\xA1\xCE\xCC\x48\x94"
213 	"\xAF\x94\x28\xC2\xB7\xB8\x88\x3F\xE4\x46\x3A\x4B\xC8\x5B\x1C\xB3"
214 	"\xC1"
215 	"\x02\x01\x00" /* prime1 - integer of 1 byte */
216 	"\x02\x01\x00" /* prime2 - integer of 1 byte */
217 	"\x02\x01\x00" /* exponent1 - integer of 1 byte */
218 	"\x02\x01\x00" /* exponent2 - integer of 1 byte */
219 	"\x02\x01\x00", /* coefficient - integer of 1 byte */
220 	.key_len = 289,
221 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
222 	.c =
223 	"\x74\x1b\x55\xac\x47\xb5\x08\x0a\x6e\x2b\x2d\xf7\x94\xb8\x8a\x95"
224 	"\xed\xa3\x6b\xc9\x29\xee\xb2\x2c\x80\xc3\x39\x3b\x8c\x62\x45\x72"
225 	"\xc2\x7f\x74\x81\x91\x68\x44\x48\x5a\xdc\xa0\x7e\xa7\x0b\x05\x7f"
226 	"\x0e\xa0\x6c\xe5\x8f\x19\x4d\xce\x98\x47\x5f\xbd\x5f\xfe\xe5\x34"
227 	"\x59\x89\xaf\xf0\xba\x44\xd7\xf1\x1a\x50\x72\xef\x5e\x4a\xb6\xb7"
228 	"\x54\x34\xd1\xc4\x83\x09\xdf\x0f\x91\x5f\x7d\x91\x70\x2f\xd4\x13"
229 	"\xcc\x5e\xa4\x6c\xc3\x4d\x28\xef\xda\xaf\xec\x14\x92\xfc\xa3\x75"
230 	"\x13\xb4\xc1\xa1\x11\xfc\x40\x2f\x4c\x9d\xdf\x16\x76\x11\x20\x6b",
231 	.m_size = 8,
232 	.c_size = 128,
233 	}, {
234 #endif
235 	.key =
236 	"\x30\x82\x02\x1F" /* sequence of 543 bytes */
237 	"\x02\x01\x01" /* version - integer of 1 byte */
238 	"\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
239 	"\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
240 	"\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
241 	"\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
242 	"\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
243 	"\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
244 	"\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
245 	"\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
246 	"\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
247 	"\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
248 	"\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
249 	"\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
250 	"\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
251 	"\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
252 	"\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
253 	"\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
254 	"\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
255 	"\x02\x03\x01\x00\x01" /* public key - integer of 3 bytes */
256 	"\x02\x82\x01\x00" /* private key - integer of 256 bytes */
257 	"\x52\x41\xF4\xDA\x7B\xB7\x59\x55\xCA\xD4\x2F\x0F\x3A\xCB\xA4\x0D"
258 	"\x93\x6C\xCC\x9D\xC1\xB2\xFB\xFD\xAE\x40\x31\xAC\x69\x52\x21\x92"
259 	"\xB3\x27\xDF\xEA\xEE\x2C\x82\xBB\xF7\x40\x32\xD5\x14\xC4\x94\x12"
260 	"\xEC\xB8\x1F\xCA\x59\xE3\xC1\x78\xF3\x85\xD8\x47\xA5\xD7\x02\x1A"
261 	"\x65\x79\x97\x0D\x24\xF4\xF0\x67\x6E\x75\x2D\xBF\x10\x3D\xA8\x7D"
262 	"\xEF\x7F\x60\xE4\xE6\x05\x82\x89\x5D\xDF\xC6\xD2\x6C\x07\x91\x33"
263 	"\x98\x42\xF0\x02\x00\x25\x38\xC5\x85\x69\x8A\x7D\x2F\x95\x6C\x43"
264 	"\x9A\xB8\x81\xE2\xD0\x07\x35\xAA\x05\x41\xC9\x1E\xAF\xE4\x04\x3B"
265 	"\x19\xB8\x73\xA2\xAC\x4B\x1E\x66\x48\xD8\x72\x1F\xAC\xF6\xCB\xBC"
266 	"\x90\x09\xCA\xEC\x0C\xDC\xF9\x2C\xD7\xEB\xAE\xA3\xA4\x47\xD7\x33"
267 	"\x2F\x8A\xCA\xBC\x5E\xF0\x77\xE4\x97\x98\x97\xC7\x10\x91\x7D\x2A"
268 	"\xA6\xFF\x46\x83\x97\xDE\xE9\xE2\x17\x03\x06\x14\xE2\xD7\xB1\x1D"
269 	"\x77\xAF\x51\x27\x5B\x5E\x69\xB8\x81\xE6\x11\xC5\x43\x23\x81\x04"
270 	"\x62\xFF\xE9\x46\xB8\xD8\x44\xDB\xA5\xCC\x31\x54\x34\xCE\x3E\x82"
271 	"\xD6\xBF\x7A\x0B\x64\x21\x6D\x88\x7E\x5B\x45\x12\x1E\x63\x8D\x49"
272 	"\xA7\x1D\xD9\x1E\x06\xCD\xE8\xBA\x2C\x8C\x69\x32\xEA\xBE\x60\x71"
273 	"\x02\x01\x00" /* prime1 - integer of 1 byte */
274 	"\x02\x01\x00" /* prime2 - integer of 1 byte */
275 	"\x02\x01\x00" /* exponent1 - integer of 1 byte */
276 	"\x02\x01\x00" /* exponent2 - integer of 1 byte */
277 	"\x02\x01\x00", /* coefficient - integer of 1 byte */
278 	.key_len = 547,
279 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
280 	.c =
281 	"\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
282 	"\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
283 	"\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
284 	"\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
285 	"\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
286 	"\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
287 	"\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
288 	"\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
289 	"\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
290 	"\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
291 	"\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
292 	"\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
293 	"\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
294 	"\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
295 	"\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
296 	"\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
297 	.m_size = 8,
298 	.c_size = 256,
299 	}, {
300 	.key =
301 	"\x30\x82\x01\x09" /* sequence of 265 bytes */
302 	"\x02\x82\x01\x00" /* modulus - integer of 256 bytes */
303 	"\xDB\x10\x1A\xC2\xA3\xF1\xDC\xFF\x13\x6B\xED\x44\xDF\xF0\x02\x6D"
304 	"\x13\xC7\x88\xDA\x70\x6B\x54\xF1\xE8\x27\xDC\xC3\x0F\x99\x6A\xFA"
305 	"\xC6\x67\xFF\x1D\x1E\x3C\x1D\xC1\xB5\x5F\x6C\xC0\xB2\x07\x3A\x6D"
306 	"\x41\xE4\x25\x99\xAC\xFC\xD2\x0F\x02\xD3\xD1\x54\x06\x1A\x51\x77"
307 	"\xBD\xB6\xBF\xEA\xA7\x5C\x06\xA9\x5D\x69\x84\x45\xD7\xF5\x05\xBA"
308 	"\x47\xF0\x1B\xD7\x2B\x24\xEC\xCB\x9B\x1B\x10\x8D\x81\xA0\xBE\xB1"
309 	"\x8C\x33\xE4\x36\xB8\x43\xEB\x19\x2A\x81\x8D\xDE\x81\x0A\x99\x48"
310 	"\xB6\xF6\xBC\xCD\x49\x34\x3A\x8F\x26\x94\xE3\x28\x82\x1A\x7C\x8F"
311 	"\x59\x9F\x45\xE8\x5D\x1A\x45\x76\x04\x56\x05\xA1\xD0\x1B\x8C\x77"
312 	"\x6D\xAF\x53\xFA\x71\xE2\x67\xE0\x9A\xFE\x03\xA9\x85\xD2\xC9\xAA"
313 	"\xBA\x2A\xBC\xF4\xA0\x08\xF5\x13\x98\x13\x5D\xF0\xD9\x33\x34\x2A"
314 	"\x61\xC3\x89\x55\xF0\xAE\x1A\x9C\x22\xEE\x19\x05\x8D\x32\xFE\xEC"
315 	"\x9C\x84\xBA\xB7\xF9\x6C\x3A\x4F\x07\xFC\x45\xEB\x12\xE5\x7B\xFD"
316 	"\x55\xE6\x29\x69\xD1\xC2\xE8\xB9\x78\x59\xF6\x79\x10\xC6\x4E\xEB"
317 	"\x6A\x5E\xB9\x9A\xC7\xC4\x5B\x63\xDA\xA3\x3F\x5E\x92\x7A\x81\x5E"
318 	"\xD6\xB0\xE2\x62\x8F\x74\x26\xC2\x0C\xD3\x9A\x17\x47\xE6\x8E\xAB"
319 	"\x02\x03\x01\x00\x01", /* public key - integer of 3 bytes */
320 	.key_len = 269,
321 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
322 	.c =
323 	"\xb2\x97\x76\xb4\xae\x3e\x38\x3c\x7e\x64\x1f\xcc\xa2\x7f\xf6\xbe"
324 	"\xcf\x49\xbc\x48\xd3\x6c\x8f\x0a\x0e\xc1\x73\xbd\x7b\x55\x79\x36"
325 	"\x0e\xa1\x87\x88\xb9\x2c\x90\xa6\x53\x5e\xe9\xef\xc4\xe2\x4d\xdd"
326 	"\xf7\xa6\x69\x82\x3f\x56\xa4\x7b\xfb\x62\xe0\xae\xb8\xd3\x04\xb3"
327 	"\xac\x5a\x15\x2a\xe3\x19\x9b\x03\x9a\x0b\x41\xda\x64\xec\x0a\x69"
328 	"\xfc\xf2\x10\x92\xf3\xc1\xbf\x84\x7f\xfd\x2c\xae\xc8\xb5\xf6\x41"
329 	"\x70\xc5\x47\x03\x8a\xf8\xff\x6f\x3f\xd2\x6f\x09\xb4\x22\xf3\x30"
330 	"\xbe\xa9\x85\xcb\x9c\x8d\xf9\x8f\xeb\x32\x91\xa2\x25\x84\x8f\xf5"
331 	"\xdc\xc7\x06\x9c\x2d\xe5\x11\x2c\x09\x09\x87\x09\xa9\xf6\x33\x73"
332 	"\x90\xf1\x60\xf2\x65\xdd\x30\xa5\x66\xce\x62\x7b\xd0\xf8\x2d\x3d"
333 	"\x19\x82\x77\xe3\x0a\x5f\x75\x2f\x8e\xb1\xe5\xe8\x91\x35\x1b\x3b"
334 	"\x33\xb7\x66\x92\xd1\xf2\x8e\x6f\xe5\x75\x0c\xad\x36\xfb\x4e\xd0"
335 	"\x66\x61\xbd\x49\xfe\xf4\x1a\xa2\x2b\x49\xfe\x03\x4c\x74\x47\x8d"
336 	"\x9a\x66\xb2\x49\x46\x4d\x77\xea\x33\x4d\x6b\x3c\xb4\x49\x4a\xc6"
337 	"\x7d\x3d\xb5\xb9\x56\x41\x15\x67\x0f\x94\x3c\x93\x65\x27\xe0\x21"
338 	"\x5d\x59\xc3\x62\xd5\xa6\xda\x38\x26\x22\x5e\x34\x1c\x94\xaf\x98",
339 	.m_size = 8,
340 	.c_size = 256,
341 	.public_key_vec = true,
342 #ifndef CONFIG_CRYPTO_FIPS
343 	}, {
344 	.key =
345 	"\x30\x82\x09\x29" /* sequence of 2345 bytes */
346 	"\x02\x01\x00" /* version integer of 1 byte */
347 	"\x02\x82\x02\x01" /* modulus - integer of 513 bytes */
348 	"\x00\xC3\x8B\x55\x7B\x73\x4D\xFF\xE9\x9B\xC6\xDC\x67\x3C\xB4\x8E"
349 	"\xA0\x86\xED\xF2\xB9\x50\x5C\x54\x5C\xBA\xE4\xA1\xB2\xA7\xAE\x2F"
350 	"\x1B\x7D\xF1\xFB\xAC\x79\xC5\xDF\x1A\x00\xC9\xB2\xC1\x61\x25\x33"
351 	"\xE6\x9C\xE9\xCF\xD6\x27\xC4\x4E\x44\x30\x44\x5E\x08\xA1\x87\x52"
352 	"\xCC\x6B\x97\x70\x8C\xBC\xA5\x06\x31\x0C\xD4\x2F\xD5\x7D\x26\x24"
353 	"\xA2\xE2\xAC\x78\xF4\x53\x14\xCE\xF7\x19\x2E\xD7\xF7\xE6\x0C\xB9"
354 	"\x56\x7F\x0B\xF1\xB1\xE2\x43\x70\xBD\x86\x1D\xA1\xCC\x2B\x19\x08"
355 	"\x76\xEF\x91\xAC\xBF\x20\x24\x0D\x38\xC0\x89\xB8\x9A\x70\xB3\x64"
356 	"\xD9\x8F\x80\x41\x10\x5B\x9F\xB1\xCB\x76\x43\x00\x21\x25\x36\xD4"
357 	"\x19\xFC\x55\x95\x10\xE4\x26\x74\x98\x2C\xD9\xBD\x0B\x2B\x04\xC2"
358 	"\xAC\x82\x38\xB4\xDD\x4C\x04\x7E\x51\x36\x40\x1E\x0B\xC4\x7C\x25"
359 	"\xDD\x4B\xB2\xE7\x20\x0A\x57\xF9\xB4\x94\xC3\x08\x33\x22\x6F\x8B"
360 	"\x48\xDB\x03\x68\x5A\x5B\xBA\xAE\xF3\xAD\xCF\xC3\x6D\xBA\xF1\x28"
361 	"\x67\x7E\x6C\x79\x07\xDE\xFC\xED\xE7\x96\xE3\x6C\xE0\x2C\x87\xF8"
362 	"\x02\x01\x28\x38\x43\x21\x53\x84\x69\x75\x78\x15\x7E\xEE\xD2\x1B"
363 	"\xB9\x23\x40\xA8\x86\x1E\x38\x83\xB2\x73\x1D\x53\xFB\x9E\x2A\x8A"
364 	"\xB2\x75\x35\x01\xC3\xC3\xC4\x94\xE8\x84\x86\x64\x81\xF4\x42\xAA"
365 	"\x3C\x0E\xD6\x4F\xBC\x0A\x09\x2D\xE7\x1B\xD4\x10\xA8\x54\xEA\x89"
366 	"\x84\x8A\xCB\xF7\x5A\x3C\xCA\x76\x08\x29\x62\xB4\x6A\x22\xDF\x14"
367 	"\x95\x71\xFD\xB6\x86\x39\xB8\x8B\xF8\x91\x7F\x38\xAA\x14\xCD\xE5"
368 	"\xF5\x1D\xC2\x6D\x53\x69\x52\x84\x7F\xA3\x1A\x5E\x26\x04\x83\x06"
369 	"\x73\x52\x56\xCF\x76\x26\xC9\xDD\x75\xD7\xFC\xF4\x69\xD8\x7B\x55"
370 	"\xB7\x68\x13\x53\xB9\xE7\x89\xC3\xE8\xD6\x6E\xA7\x6D\xEA\x81\xFD"
371 	"\xC4\xB7\x05\x5A\xB7\x41\x0A\x23\x8E\x03\x8A\x1C\xAE\xD3\x1E\xCE"
372 	"\xE3\x5E\xFC\x19\x4A\xEE\x61\x9B\x8E\xE5\xE5\xDD\x85\xF9\x41\xEC"
373 	"\x14\x53\x92\xF7\xDD\x06\x85\x02\x91\xE3\xEB\x6C\x43\x03\xB1\x36"
374 	"\x7B\x89\x5A\xA8\xEB\xFC\xD5\xA8\x35\xDC\x81\xD9\x5C\xBD\xCA\xDC"
375 	"\x9B\x98\x0B\x06\x5D\x0C\x5B\xEE\xF3\xD5\xCC\x57\xC9\x71\x2F\x90"
376 	"\x3B\x3C\xF0\x8E\x4E\x35\x48\xAE\x63\x74\xA9\xFC\x72\x75\x8E\x34"
377 	"\xA8\xF2\x1F\xEA\xDF\x3A\x37\x2D\xE5\x39\x39\xF8\x57\x58\x3C\x04"
378 	"\xFE\x87\x06\x98\xBC\x7B\xD3\x21\x36\x60\x25\x54\xA7\x3D\xFA\x91"
379 	"\xCC\xA8\x0B\x92\x8E\xB4\xF7\x06\xFF\x1E\x95\xCB\x07\x76\x97\x3B"
380 	"\x9D"
381 	"\x02\x03\x01\x00\x01" /* public key integer of 3 bytes */
382 	"\x02\x82\x02\x00" /* private key integer of 512 bytes */
383 	"\x74\xA9\xE0\x6A\x32\xB4\xCA\x85\xD9\x86\x9F\x60\x88\x7B\x40\xCC"
384 	"\xCD\x33\x91\xA8\xB6\x25\x1F\xBF\xE3\x51\x1C\x97\xB6\x2A\xD9\xB8"
385 	"\x11\x40\x19\xE3\x21\x13\xC8\xB3\x7E\xDC\xD7\x65\x40\x4C\x2D\xD6"
386 	"\xDC\xAF\x32\x6C\x96\x75\x2C\x2C\xCA\x8F\x3F\x7A\xEE\xC4\x09\xC6"
387 	"\x24\x3A\xC9\xCF\x6D\x8D\x17\x50\x94\x52\xD3\xE7\x0F\x2F\x7E\x94"
388 	"\x1F\xA0\xBE\xD9\x25\xE8\x38\x42\x7C\x27\xD2\x79\xF8\x2A\x87\x38"
389 	"\xEF\xBB\x74\x8B\xA8\x6E\x8C\x08\xC6\xC7\x4F\x0C\xBC\x79\xC6\xEF"
390 	"\x0E\xA7\x5E\xE4\xF8\x8C\x09\xC7\x5E\x37\xCC\x87\x77\xCD\xCF\xD1"
391 	"\x6D\x28\x1B\xA9\x62\xC0\xB8\x16\xA7\x8B\xF9\xBB\xCC\xB4\x15\x7F"
392 	"\x1B\x69\x03\xF2\x7B\xEB\xE5\x8C\x14\xD6\x23\x4F\x52\x6F\x18\xA6"
393 	"\x4B\x5B\x01\xAD\x35\xF9\x48\x53\xB3\x86\x35\x66\xD7\xE7\x29\xC0"
394 	"\x09\xB5\xC6\xE6\xFA\xC4\xDA\x19\xBE\xD7\x4D\x41\x14\xBE\x6F\xDF"
395 	"\x1B\xAB\xC0\xCA\x88\x07\xAC\xF1\x7D\x35\x83\x67\x28\x2D\x50\xE9"
396 	"\xCE\x27\x71\x5E\x1C\xCF\xD2\x30\x65\x79\x72\x2F\x9C\xE1\xD2\x39"
397 	"\x7F\xEF\x3B\x01\xF2\x14\x1D\xDF\xBD\x51\xD3\xA1\x53\x62\xCF\x5F"
398 	"\x79\x84\xCE\x06\x96\x69\x29\x49\x82\x1C\x71\x4A\xA1\x66\xC8\x2F"
399 	"\xFD\x7B\x96\x7B\xFC\xC4\x26\x58\xC4\xFC\x7C\xAF\xB5\xE8\x95\x83"
400 	"\x87\xCB\x46\xDE\x97\xA7\xB3\xA2\x54\x5B\xD7\xAF\xAB\xEB\xC8\xF3"
401 	"\x55\x9D\x48\x2B\x30\x9C\xDC\x26\x4B\xC2\x89\x45\x13\xB2\x01\x9A"
402 	"\xA4\x65\xC3\xEC\x24\x2D\x26\x97\xEB\x80\x8A\x9D\x03\xBC\x59\x66"
403 	"\x9E\xE2\xBB\xBB\x63\x19\x64\x93\x11\x7B\x25\x65\x30\xCD\x5B\x4B"
404 	"\x2C\xFF\xDC\x2D\x30\x87\x1F\x3C\x88\x07\xD0\xFC\x48\xCC\x05\x8A"
405 	"\xA2\xC8\x39\x3E\xD5\x51\xBC\x0A\xBE\x6D\xA8\xA0\xF6\x88\x06\x79"
406 	"\x13\xFF\x1B\x45\xDA\x54\xC9\x24\x25\x8A\x75\x0A\x26\xD1\x69\x81"
407 	"\x14\x14\xD1\x79\x7D\x8E\x76\xF2\xE0\xEB\xDD\x0F\xDE\xC2\xEC\x80"
408 	"\xD7\xDC\x16\x99\x92\xBE\xCB\x40\x0C\xCE\x7C\x3B\x46\xA2\x5B\x5D"
409 	"\x0C\x45\xEB\xE1\x00\xDE\x72\x50\xB1\xA6\x0B\x76\xC5\x8D\xFC\x82"
410 	"\x38\x6D\x99\x14\x1D\x1A\x4A\xD3\x7C\x53\xB8\x12\x46\xA2\x30\x38"
411 	"\x82\xF4\x96\x6E\x8C\xCE\x47\x0D\xAF\x0A\x3B\x45\xB7\x43\x95\x43"
412 	"\x9E\x02\x2C\x44\x07\x6D\x1F\x3C\x66\x89\x09\xB6\x1F\x06\x30\xCC"
413 	"\xAD\xCE\x7D\x9A\xDE\x3E\xFB\x6C\xE4\x58\x43\xD2\x4F\xA5\x9E\x5E"
414 	"\xA7\x7B\xAE\x3A\xF6\x7E\xD9\xDB\xD3\xF5\xC5\x41\xAF\xE6\x9C\x91"
415 	"\x02\x82\x01\x01" /* prime1 - integer of 257 bytes */
416 	"\x00\xE0\xA6\x6C\xF0\xA2\xF8\x81\x85\x36\x43\xD0\x13\x0B\x33\x8B"
417 	"\x8F\x78\x3D\xAC\xC7\x5E\x46\x6A\x7F\x05\xAE\x3E\x26\x0A\xA6\xD0"
418 	"\x51\xF3\xC8\x61\xF5\x77\x22\x48\x10\x87\x4C\xD5\xA4\xD5\xAE\x2D"
419 	"\x4E\x7A\xFE\x1C\x31\xE7\x6B\xFF\xA4\x69\x20\xF9\x2A\x0B\x99\xBE"
420 	"\x7C\x32\x68\xAD\xB0\xC6\x94\x81\x41\x75\xDC\x06\x78\x0A\xB4\xCF"
421 	"\xCD\x1B\x2D\x31\xE4\x7B\xEA\xA8\x35\x99\x75\x57\xC6\x0E\xF6\x78"
422 	"\x4F\xA0\x92\x4A\x00\x1B\xE7\x96\xF2\x5B\xFD\x2C\x0A\x0A\x13\x81"
423 	"\xAF\xCB\x59\x87\x31\xD9\x83\x65\xF2\x22\x48\xD0\x03\x67\x39\xF6"
424 	"\xFF\xA8\x36\x07\x3A\x68\xE3\x7B\xA9\x64\xFD\x9C\xF7\xB1\x3D\xBF"
425 	"\x26\x5C\xCC\x7A\xFC\xA2\x8F\x51\xD1\xE1\xE2\x3C\xEC\x06\x75\x7C"
426 	"\x34\xF9\xA9\x33\x70\x11\xAD\x5A\xDC\x5F\xCF\x50\xF6\x23\x2F\x39"
427 	"\xAC\x92\x48\x53\x4D\x01\x96\x3C\xD8\xDC\x1F\x23\x23\x78\x80\x34"
428 	"\x54\x14\x76\x8B\xB6\xBB\xFB\x88\x78\x31\x59\x28\xD2\xB1\x75\x17"
429 	"\x88\x04\x4A\x78\x62\x18\x2E\xF5\xFB\x9B\xEF\x15\xD8\x16\x47\xC6"
430 	"\x42\xB1\x02\xDA\x9E\xE3\x84\x90\xB4\x2D\xC3\xCE\x13\xC9\x12\x7D"
431 	"\x3E\xCD\x39\x39\xC9\xAD\xA1\x1A\xE6\xD5\xAD\x5A\x09\x4D\x1B\x0C"
432 	"\xAB"
433 	"\x02\x82\x01\x01" /* prime 2 - integer of 257 bytes */
434 	"\x00\xDE\xD5\x1B\xF6\xCD\x83\xB1\xC6\x47\x7E\xB9\xC0\x6B\xA9\xB8"
435 	"\x02\xF3\xAE\x40\x5D\xFC\xD3\xE5\x4E\xF1\xE3\x39\x04\x52\x84\x89"
436 	"\x40\x37\xBB\xC2\xCD\x7F\x71\x77\x17\xDF\x6A\x4C\x31\x24\x7F\xB9"
437 	"\x7E\x7F\xC8\x43\x4A\x3C\xEB\x8D\x1B\x7F\x21\x51\x67\x45\x8F\xA0"
438 	"\x36\x29\x3A\x18\x45\xA5\x32\xEC\x74\x88\x3C\x98\x5D\x67\x3B\xD7"
439 	"\x51\x1F\xE9\xAE\x09\x01\xDE\xDE\x7C\xFB\x60\xD1\xA5\x6C\xE9\x6A"
440 	"\x93\x04\x02\x3A\xBB\x67\x02\xB9\xFD\x23\xF0\x02\x2B\x49\x85\xC9"
441 	"\x5B\xE7\x4B\xDF\xA3\xF4\xEE\x59\x4C\x45\xEF\x8B\xC1\x6B\xDE\xDE"
442 	"\xBC\x1A\xFC\xD2\x76\x3F\x33\x74\xA9\x8E\xA3\x7E\x0C\xC6\xCE\x70"
443 	"\xA1\x5B\xA6\x77\xEA\x76\xEB\x18\xCE\xB9\xD7\x78\x8D\xAE\x06\xBB"
444 	"\xD3\x1F\x16\x0D\x05\xAB\x4F\xC6\x52\xC8\x6B\x36\x51\x7D\x1D\x27"
445 	"\xAF\x88\x9A\x6F\xCC\x25\x2E\x74\x06\x72\xCE\x9E\xDB\xE0\x9D\x30"
446 	"\xEF\x55\xA5\x58\x21\xA7\x42\x12\x2C\x2C\x23\x87\xC1\x0F\xE8\x51"
447 	"\xDA\x53\xDA\xFC\x05\x36\xDF\x08\x0E\x08\x36\xBE\x5C\x86\x9E\xCA"
448 	"\x68\x90\x33\x12\x0B\x14\x82\xAB\x90\x1A\xD4\x49\x32\x9C\xBD\xAA"
449 	"\xAB\x4E\x38\xF1\xEE\xED\x3D\x3F\xE8\xBD\x48\x56\xA6\x64\xEE\xC8"
450 	"\xD7"
451 	"\x02\x82\x01\x01" /* exponent 1 - integer of 257 bytes */
452 	"\x00\x96\x5E\x6F\x8F\x06\xD6\xE6\x03\x1F\x96\x76\x81\x38\xBF\x30"
453 	"\xCC\x40\x84\xAF\xD0\xE7\x06\xA5\x24\x0E\xCE\x59\xA5\x26\xFE\x0F"
454 	"\x74\xBB\x83\xC6\x26\x02\xAF\x3C\xA3\x6B\x9C\xFF\x68\x0C\xEB\x40"
455 	"\x42\x46\xCB\x2E\x5E\x2C\xF4\x3A\x32\x77\x77\xED\xAF\xBA\x02\x17"
456 	"\xE1\x93\xF0\x43\x4A\x8F\x31\x39\xEF\x72\x0F\x6B\x79\x10\x59\x84"
457 	"\xBA\x5A\x55\x7F\x0E\xDB\xEE\xEE\xD6\xA9\xB8\x44\x9F\x3A\xC6\xB9"
458 	"\x33\x3B\x5C\x90\x11\xD0\x9B\xCC\x8A\xBF\x0E\x10\x5B\x4B\xF1\x50"
459 	"\x9E\x35\xB3\xE0\x6D\x7A\x95\x9C\x38\x5D\xC0\x75\x13\xC2\x15\xA7"
460 	"\x81\xEA\xBA\xF7\x4D\x9E\x85\x9D\xF1\x7D\xBA\xD0\x45\x6F\x2A\xD0"
461 	"\x76\xC2\x28\xD0\xAD\xA7\xB5\xDC\xE3\x6A\x99\xFF\x83\x50\xB3\x75"
462 	"\x07\x14\x91\xAF\xEF\x74\xB5\x9F\x9A\xE0\xBA\xA9\x0B\x87\xF3\x85"
463 	"\x5C\x40\xB2\x0E\xA7\xFD\xC6\xED\x45\x8E\xD9\x7C\xB0\xB2\x68\xC6"
464 	"\x1D\xFD\x70\x78\x06\x41\x7F\x95\x12\x36\x9D\xE2\x58\x5D\x15\xEE"
465 	"\x41\x49\xF5\xFA\xEC\x56\x19\xA0\xE6\xE0\xB2\x40\xE1\xD9\xD0\x03"
466 	"\x22\x02\xCF\xD1\x3C\x07\x38\x65\x8F\x65\x0E\xAA\x32\xCE\x25\x05"
467 	"\x16\x73\x51\xB9\x9F\x88\x0B\xCD\x30\xF3\x97\xCC\x2B\x6B\xA4\x0E"
468 	"\x6F"
469 	"\x02\x82\x01\x00" /* exponent 2 - integer of 256 bytes */
470 	"\x2A\x5F\x3F\xB8\x08\x90\x58\x47\xA9\xE4\xB1\x11\xA3\xE7\x5B\xF4"
471 	"\x43\xBE\x08\xC3\x56\x86\x3C\x7E\x6C\x84\x96\x9C\xF9\xCB\xF6\x05"
472 	"\x5E\x13\xB8\x11\x37\x80\xAD\xF2\xBE\x2B\x0A\x5D\xF5\xE0\xCB\xB7"
473 	"\x00\x39\x66\x82\x41\x5F\x51\x2F\xBF\x56\xE8\x91\xC8\xAA\x6C\xFE"
474 	"\x9F\x8C\x4A\x7D\x43\xD2\x91\x1F\xFF\x9F\xF6\x21\x1C\xB6\x46\x55"
475 	"\x48\xCA\x38\xAB\xC1\xCD\x4D\x65\x5A\xAF\xA8\x6D\xDA\x6D\xF0\x34"
476 	"\x10\x79\x14\x0D\xFA\xA2\x8C\x17\x54\xB4\x18\xD5\x7E\x5F\x90\x50"
477 	"\x87\x84\xE7\xFB\xD7\x61\x53\x5D\xAB\x96\xC7\x6E\x7A\x42\xA0\xFC"
478 	"\x07\xED\xB7\x5F\x80\xD9\x19\xFF\xFB\xFD\x9E\xC4\x73\x31\x62\x3D"
479 	"\x6C\x9E\x15\x03\x62\xA5\x85\xCC\x19\x8E\x9D\x7F\xE3\x6D\xA8\x5D"
480 	"\x96\xF5\xAC\x78\x3D\x81\x27\xE7\x29\xF1\x29\x1D\x09\xBB\x77\x86"
481 	"\x6B\x65\x62\x88\xE1\x31\x1A\x22\xF7\xC5\xCE\x73\x65\x1C\xBE\xE7"
482 	"\x63\xD3\xD3\x14\x63\x27\xAF\x28\xF3\x23\xB6\x76\xC1\xBD\x9D\x82"
483 	"\xF4\x9B\x19\x7D\x2C\x57\xF0\xC2\x2A\x51\xAE\x95\x0D\x8C\x38\x54"
484 	"\xF5\xC6\xA0\x51\xB7\x0E\xB9\xEC\xE7\x0D\x22\xF6\x1A\xD3\xFE\x16"
485 	"\x21\x03\xB7\x0D\x85\xD3\x35\xC9\xDD\xE4\x59\x85\xBE\x7F\xA1\x75"
486 	"\x02\x82\x01\x01" /* coefficient - integer of 257 bytes */
487 	"\x00\xB9\x48\xD2\x54\x2F\x19\x54\x64\xAE\x62\x80\x61\x89\x80\xB4"
488 	"\x48\x0B\x8D\x7E\x1B\x0F\x50\x08\x82\x3F\xED\x75\x84\xB7\x13\xE4"
489 	"\xF8\x8D\xA8\xBB\x54\x21\x4C\x5A\x54\x07\x16\x4B\xB4\xA4\x9E\x30"
490 	"\xBF\x7A\x30\x1B\x39\x60\xA3\x21\x53\xFB\xB0\xDC\x0F\x7C\x2C\xFB"
491 	"\xAA\x95\x7D\x51\x39\x28\x33\x1F\x25\x31\x53\xF5\xD2\x64\x2B\xF2"
492 	"\x1E\xB3\xC0\x6A\x0B\xC9\xA4\x42\x64\x5C\xFB\x15\xA3\xE8\x4C\x3A"
493 	"\x9C\x3C\xBE\xA3\x39\x83\x23\xE3\x6D\x18\xCC\xC2\xDC\x63\x8D\xBA"
494 	"\x98\xE0\xE0\x31\x4A\x2B\x37\x9C\x4D\x6B\xF3\x9F\x51\xE4\x43\x5C"
495 	"\x83\x5F\xBF\x5C\xFE\x92\x45\x01\xAF\xF5\xC2\xF4\xB7\x56\x93\xA5"
496 	"\xF4\xAA\x67\x3C\x48\x37\xBD\x9A\x3C\xFE\xA5\x9A\xB0\xD1\x6B\x85"
497 	"\xDD\x81\xD4\xFA\xAD\x31\x83\xA8\x22\x9B\xFD\xB4\x61\xDC\x7A\x51"
498 	"\x59\x62\x10\x1B\x7E\x44\xA3\xFE\x90\x51\x5A\x3E\x02\x87\xAD\xFA"
499 	"\xDD\x0B\x1F\x3D\x35\xAF\xEE\x13\x85\x51\xA7\x42\xC0\xEE\x9E\x20"
500 	"\xE9\xD0\x29\xB2\xE4\x21\xE4\x6D\x62\xB9\xF4\x48\x4A\xD8\x46\x8E"
501 	"\x61\xA6\x2C\x5D\xDF\x8F\x97\x2B\x3A\x75\x1D\x83\x17\x6F\xC6\xB0"
502 	"\xDE\xFC\x14\x25\x06\x5A\x60\xBB\xB8\x21\x89\xD1\xEF\x57\xF1\x71"
503 	"\x3D",
504 	.m = "\x54\x85\x9b\x34\x2c\x49\xea\x2a",
505 	.c =
506 	"\x5c\xce\x9c\xd7\x9a\x9e\xa1\xfe\x7a\x82\x3c\x68\x27\x98\xe3\x5d"
507 	"\xd5\xd7\x07\x29\xf5\xfb\xc3\x1a\x7f\x63\x1e\x62\x31\x3b\x19\x87"
508 	"\x79\x4f\xec\x7b\xf3\xcb\xea\x9b\x95\x52\x3a\x40\xe5\x87\x7b\x72"
509 	"\xd1\x72\xc9\xfb\x54\x63\xd8\xc9\xd7\x2c\xfc\x7b\xc3\x14\x1e\xbc"
510 	"\x18\xb4\x34\xa1\xbf\x14\xb1\x37\x31\x6e\xf0\x1b\x35\x19\x54\x07"
511 	"\xf7\x99\xec\x3e\x63\xe2\xcd\x61\x28\x65\xc3\xcd\xb1\x38\x36\xa5"
512 	"\xb2\xd7\xb0\xdc\x1f\xf5\xef\x19\xc7\x53\x32\x2d\x1c\x26\xda\xe4"
513 	"\x0d\xd6\x90\x7e\x28\xd8\xdc\xe4\x61\x05\xd2\x25\x90\x01\xd3\x96"
514 	"\x6d\xa6\xcf\x58\x20\xbb\x03\xf4\x01\xbc\x79\xb9\x18\xd8\xb8\xba"
515 	"\xbd\x93\xfc\xf2\x62\x5d\x8c\x66\x1e\x0e\x84\x59\x93\xdd\xe2\x93"
516 	"\xa2\x62\x7d\x08\x82\x7a\xdd\xfc\xb8\xbc\xc5\x4f\x9c\x4e\xbf\xb4"
517 	"\xfc\xf4\xc5\x01\xe8\x00\x70\x4d\x28\x26\xcc\x2e\xfe\x0e\x58\x41"
518 	"\x8b\xec\xaf\x7c\x4b\x54\xd0\xa0\x64\xf9\x32\xf4\x2e\x47\x65\x0a"
519 	"\x67\x88\x39\x3a\xdb\xb2\xdb\x7b\xb5\xf6\x17\xa8\xd9\xc6\x5e\x28"
520 	"\x13\x82\x8a\x99\xdb\x60\x08\xa5\x23\x37\xfa\x88\x90\x31\xc8\x9d"
521 	"\x8f\xec\xfb\x85\x9f\xb1\xce\xa6\x24\x50\x46\x44\x47\xcb\x65\xd1"
522 	"\xdf\xc0\xb1\x6c\x90\x1f\x99\x8e\x4d\xd5\x9e\x31\x07\x66\x87\xdf"
523 	"\x01\xaa\x56\x3c\x71\xe0\x2b\x6f\x67\x3b\x23\xed\xc2\xbd\x03\x30"
524 	"\x79\x76\x02\x10\x10\x98\x85\x8a\xff\xfd\x0b\xda\xa5\xd9\x32\x48"
525 	"\x02\xa0\x0b\xb9\x2a\x8a\x18\xca\xc6\x8f\x3f\xbb\x16\xb2\xaa\x98"
526 	"\x27\xe3\x60\x43\xed\x15\x70\xd4\x57\x15\xfe\x19\xd4\x9b\x13\x78"
527 	"\x8a\xf7\x21\xf1\xa2\xa2\x2d\xb3\x09\xcf\x44\x91\x6e\x08\x3a\x30"
528 	"\x81\x3e\x90\x93\x8a\x67\x33\x00\x59\x54\x9a\x25\xd3\x49\x8e\x9f"
529 	"\xc1\x4b\xe5\x86\xf3\x50\x4c\xbc\xc5\xd3\xf5\x3a\x54\xe1\x36\x3f"
530 	"\xe2\x5a\xb4\x37\xc0\xeb\x70\x35\xec\xf6\xb7\xe8\x44\x3b\x7b\xf3"
531 	"\xf1\xf2\x1e\xdb\x60\x7d\xd5\xbe\xf0\x71\x34\x90\x4c\xcb\xd4\x35"
532 	"\x51\xc7\xdd\xd8\xc9\x81\xf5\x5d\x57\x46\x2c\xb1\x7b\x9b\xaa\xcb"
533 	"\xd1\x22\x25\x49\x44\xa3\xd4\x6b\x29\x7b\xd8\xb2\x07\x93\xbf\x3d"
534 	"\x52\x49\x84\x79\xef\xb8\xe5\xc4\xad\xca\xa8\xc6\xf6\xa6\x76\x70"
535 	"\x5b\x0b\xe5\x83\xc6\x0e\xef\x55\xf2\xe7\xff\x04\xea\xe6\x13\xbe"
536 	"\x40\xe1\x40\x45\x48\x66\x75\x31\xae\x35\x64\x91\x11\x6f\xda\xee"
537 	"\x26\x86\x45\x6f\x0b\xd5\x9f\x03\xb1\x65\x5b\xdb\xa4\xe4\xf9\x45",
538 	.key_len = 2349,
539 	.m_size = 8,
540 	.c_size = 512,
541 #endif
542 	}
543 };
544 
545 /*
546  * PKCS#1 RSA test vectors. Obtained from CAVS testing.
547  */
548 static const struct akcipher_testvec pkcs1pad_rsa_tv_template[] = {
549 	{
550 	.key =
551 	"\x30\x82\x03\x1f\x02\x01\x10\x02\x82\x01\x01\x00\xd7\x1e\x77\x82"
552 	"\x8c\x92\x31\xe7\x69\x02\xa2\xd5\x5c\x78\xde\xa2\x0c\x8f\xfe\x28"
553 	"\x59\x31\xdf\x40\x9c\x60\x61\x06\xb9\x2f\x62\x40\x80\x76\xcb\x67"
554 	"\x4a\xb5\x59\x56\x69\x17\x07\xfa\xf9\x4c\xbd\x6c\x37\x7a\x46\x7d"
555 	"\x70\xa7\x67\x22\xb3\x4d\x7a\x94\xc3\xba\x4b\x7c\x4b\xa9\x32\x7c"
556 	"\xb7\x38\x95\x45\x64\xa4\x05\xa8\x9f\x12\x7c\x4e\xc6\xc8\x2d\x40"
557 	"\x06\x30\xf4\x60\xa6\x91\xbb\x9b\xca\x04\x79\x11\x13\x75\xf0\xae"
558 	"\xd3\x51\x89\xc5\x74\xb9\xaa\x3f\xb6\x83\xe4\x78\x6b\xcd\xf9\x5c"
559 	"\x4c\x85\xea\x52\x3b\x51\x93\xfc\x14\x6b\x33\x5d\x30\x70\xfa\x50"
560 	"\x1b\x1b\x38\x81\x13\x8d\xf7\xa5\x0c\xc0\x8e\xf9\x63\x52\x18\x4e"
561 	"\xa9\xf9\xf8\x5c\x5d\xcd\x7a\x0d\xd4\x8e\x7b\xee\x91\x7b\xad\x7d"
562 	"\xb4\x92\xd5\xab\x16\x3b\x0a\x8a\xce\x8e\xde\x47\x1a\x17\x01\x86"
563 	"\x7b\xab\x99\xf1\x4b\x0c\x3a\x0d\x82\x47\xc1\x91\x8c\xbb\x2e\x22"
564 	"\x9e\x49\x63\x6e\x02\xc1\xc9\x3a\x9b\xa5\x22\x1b\x07\x95\xd6\x10"
565 	"\x02\x50\xfd\xfd\xd1\x9b\xbe\xab\xc2\xc0\x74\xd7\xec\x00\xfb\x11"
566 	"\x71\xcb\x7a\xdc\x81\x79\x9f\x86\x68\x46\x63\x82\x4d\xb7\xf1\xe6"
567 	"\x16\x6f\x42\x63\xf4\x94\xa0\xca\x33\xcc\x75\x13\x02\x82\x01\x00"
568 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
569 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
570 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
571 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
572 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
573 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
574 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
575 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
576 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
577 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
578 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
579 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
580 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
581 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
582 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
583 	"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01"
584 	"\x02\x82\x01\x00\x62\xb5\x60\x31\x4f\x3f\x66\x16\xc1\x60\xac\x47"
585 	"\x2a\xff\x6b\x69\x00\x4a\xb2\x5c\xe1\x50\xb9\x18\x74\xa8\xe4\xdc"
586 	"\xa8\xec\xcd\x30\xbb\xc1\xc6\xe3\xc6\xac\x20\x2a\x3e\x5e\x8b\x12"
587 	"\xe6\x82\x08\x09\x38\x0b\xab\x7c\xb3\xcc\x9c\xce\x97\x67\xdd\xef"
588 	"\x95\x40\x4e\x92\xe2\x44\xe9\x1d\xc1\x14\xfd\xa9\xb1\xdc\x71\x9c"
589 	"\x46\x21\xbd\x58\x88\x6e\x22\x15\x56\xc1\xef\xe0\xc9\x8d\xe5\x80"
590 	"\x3e\xda\x7e\x93\x0f\x52\xf6\xf5\xc1\x91\x90\x9e\x42\x49\x4f\x8d"
591 	"\x9c\xba\x38\x83\xe9\x33\xc2\x50\x4f\xec\xc2\xf0\xa8\xb7\x6e\x28"
592 	"\x25\x56\x6b\x62\x67\xfe\x08\xf1\x56\xe5\x6f\x0e\x99\xf1\xe5\x95"
593 	"\x7b\xef\xeb\x0a\x2c\x92\x97\x57\x23\x33\x36\x07\xdd\xfb\xae\xf1"
594 	"\xb1\xd8\x33\xb7\x96\x71\x42\x36\xc5\xa4\xa9\x19\x4b\x1b\x52\x4c"
595 	"\x50\x69\x91\xf0\x0e\xfa\x80\x37\x4b\xb5\xd0\x2f\xb7\x44\x0d\xd4"
596 	"\xf8\x39\x8d\xab\x71\x67\x59\x05\x88\x3d\xeb\x48\x48\x33\x88\x4e"
597 	"\xfe\xf8\x27\x1b\xd6\x55\x60\x5e\x48\xb7\x6d\x9a\xa8\x37\xf9\x7a"
598 	"\xde\x1b\xcd\x5d\x1a\x30\xd4\xe9\x9e\x5b\x3c\x15\xf8\x9c\x1f\xda"
599 	"\xd1\x86\x48\x55\xce\x83\xee\x8e\x51\xc7\xde\x32\x12\x47\x7d\x46"
600 	"\xb8\x35\xdf\x41\x02\x01\x30\x02\x01\x30\x02\x01\x30\x02\x01\x30"
601 	"\x02\x01\x30",
602 	.key_len = 804,
603 	/*
604 	 * m is SHA256 hash of following message:
605 	 * "\x49\x41\xbe\x0a\x0c\xc9\xf6\x35\x51\xe4\x27\x56\x13\x71\x4b\xd0"
606 	 * "\x36\x92\x84\x89\x1b\xf8\x56\x4a\x72\x61\x14\x69\x4f\x5e\x98\xa5"
607 	 * "\x80\x5a\x37\x51\x1f\xd8\xf5\xb5\x63\xfc\xf4\xb1\xbb\x4d\x33\xa3"
608 	 * "\x1e\xb9\x75\x8b\x9c\xda\x7e\x6d\x3a\x77\x85\xf7\xfc\x4e\xe7\x64"
609 	 * "\x43\x10\x19\xa0\x59\xae\xe0\xad\x4b\xd3\xc4\x45\xf7\xb1\xc2\xc1"
610 	 * "\x65\x01\x41\x39\x5b\x45\x47\xed\x2b\x51\xed\xe3\xd0\x09\x10\xd2"
611 	 * "\x39\x6c\x4a\x3f\xe5\xd2\x20\xe6\xb0\x71\x7d\x5b\xed\x26\x60\xf1"
612 	 * "\xb4\x73\xd1\xdb\x7d\xc4\x19\x91\xee\xf6\x32\x76\xf2\x19\x7d\xb7"
613 	 */
614 	.m =
615 	"\x3e\xc8\xa1\x26\x20\x54\x44\x52\x48\x0d\xe5\x66\xf3\xb3\xf5\x04"
616 	"\xbe\x10\xa8\x48\x94\x22\x2d\xdd\xba\x7a\xb4\x76\x8d\x79\x98\x89",
617 	.m_size = 32,
618 	.c =
619 	"\xc7\xa3\x98\xeb\x43\xd1\x08\xc2\x3d\x78\x45\x04\x70\xc9\x01\xee"
620 	"\xf8\x85\x37\x7c\x0b\xf9\x19\x70\x5c\x45\x7b\x2f\x3a\x0b\xb7\x8b"
621 	"\xc4\x0d\x7b\x3a\x64\x0b\x0f\xdb\x78\xa9\x0b\xfd\x8d\x82\xa4\x86"
622 	"\x39\xbf\x21\xb8\x84\xc4\xce\x9f\xc2\xe8\xb6\x61\x46\x17\xb9\x4e"
623 	"\x0b\x57\x05\xb4\x4f\xf9\x9c\x93\x2d\x9b\xd5\x48\x1d\x80\x12\xef"
624 	"\x3a\x77\x7f\xbc\xb5\x8e\x2b\x6b\x7c\xfc\x9f\x8c\x9d\xa2\xc4\x85"
625 	"\xb0\x87\xe9\x17\x9b\xb6\x23\x62\xd2\xa9\x9f\x57\xe8\xf7\x04\x45"
626 	"\x24\x3a\x45\xeb\xeb\x6a\x08\x8e\xaf\xc8\xa0\x84\xbc\x5d\x13\x38"
627 	"\xf5\x17\x8c\xa3\x96\x9b\xa9\x38\x8d\xf0\x35\xad\x32\x8a\x72\x5b"
628 	"\xdf\x21\xab\x4b\x0e\xa8\x29\xbb\x61\x54\xbf\x05\xdb\x84\x84\xde"
629 	"\xdd\x16\x36\x31\xda\xf3\x42\x6d\x7a\x90\x22\x9b\x11\x29\xa6\xf8"
630 	"\x30\x61\xda\xd3\x8b\x54\x1e\x42\xd1\x47\x1d\x6f\xd1\xcd\x42\x0b"
631 	"\xd1\xe4\x15\x85\x7e\x08\xd6\x59\x64\x4c\x01\x34\x91\x92\x26\xe8"
632 	"\xb0\x25\x8c\xf8\xf4\xfa\x8b\xc9\x31\x33\x76\x72\xfb\x64\x92\x9f"
633 	"\xda\x62\x8d\xe1\x2a\x71\x91\x43\x40\x61\x3c\x5a\xbe\x86\xfc\x5b"
634 	"\xe6\xf9\xa9\x16\x31\x1f\xaf\x25\x6d\xc2\x4a\x23\x6e\x63\x02\xa2",
635 	.c_size = 256,
636 	.siggen_sigver_test = true,
637 	}
638 };
639 
640 static const struct kpp_testvec dh_tv_template[] = {
641 	{
642 	.secret =
643 #ifdef __LITTLE_ENDIAN
644 	"\x01\x00" /* type */
645 	"\x11\x02" /* len */
646 	"\x00\x01\x00\x00" /* key_size */
647 	"\x00\x01\x00\x00" /* p_size */
648 	"\x01\x00\x00\x00" /* g_size */
649 #else
650 	"\x00\x01" /* type */
651 	"\x02\x11" /* len */
652 	"\x00\x00\x01\x00" /* key_size */
653 	"\x00\x00\x01\x00" /* p_size */
654 	"\x00\x00\x00\x01" /* g_size */
655 #endif
656 	/* xa */
657 	"\x44\xc1\x48\x36\xa7\x2b\x6f\x4e\x43\x03\x68\xad\x31\x00\xda\xf3"
658 	"\x2a\x01\xa8\x32\x63\x5f\x89\x32\x1f\xdf\x4c\xa1\x6a\xbc\x10\x15"
659 	"\x90\x35\xc9\x26\x41\xdf\x7b\xaa\x56\x56\x3d\x85\x44\xb5\xc0\x8e"
660 	"\x37\x83\x06\x50\xb3\x5f\x0e\x28\x2c\xd5\x46\x15\xe3\xda\x7d\x74"
661 	"\x87\x13\x91\x4f\xd4\x2d\xf6\xc7\x5e\x14\x2c\x11\xc2\x26\xb4\x3a"
662 	"\xe3\xb2\x36\x20\x11\x3b\x22\xf2\x06\x65\x66\xe2\x57\x58\xf8\x22"
663 	"\x1a\x94\xbd\x2b\x0e\x8c\x55\xad\x61\x23\x45\x2b\x19\x1e\x63\x3a"
664 	"\x13\x61\xe3\xa0\x79\x70\x3e\x6d\x98\x32\xbc\x7f\x82\xc3\x11\xd8"
665 	"\xeb\x53\xb5\xfc\xb5\xd5\x3c\x4a\xea\x92\x3e\x01\xce\x15\x65\xd4"
666 	"\xaa\x85\xc1\x11\x90\x83\x31\x6e\xfe\xe7\x7f\x7d\xed\xab\xf9\x29"
667 	"\xf8\xc7\xf1\x68\xc6\xb7\xe4\x1f\x2f\x28\xa0\xc9\x1a\x50\x64\x29"
668 	"\x4b\x01\x6d\x1a\xda\x46\x63\x21\x07\x40\x8c\x8e\x4c\x6f\xb5\xe5"
669 	"\x12\xf3\xc2\x1b\x48\x27\x5e\x27\x01\xb1\xaa\xed\x68\x9b\x83\x18"
670 	"\x8f\xb1\xeb\x1f\x04\xd1\x3c\x79\xed\x4b\xf7\x0a\x33\xdc\xe0\xc6"
671 	"\xd8\x02\x51\x59\x00\x74\x30\x07\x4c\x2d\xac\xe4\x13\xf1\x80\xf0"
672 	"\xce\xfa\xff\xa9\xce\x29\x46\xdd\x9d\xad\xd1\xc3\xc6\x58\x1a\x63"
673 	/* p */
674 	"\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
675 	"\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
676 	"\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
677 	"\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
678 	"\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
679 	"\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
680 	"\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
681 	"\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
682 	"\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
683 	"\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
684 	"\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
685 	"\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
686 	"\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
687 	"\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
688 	"\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
689 	"\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
690 	/* g */
691 	"\x02",
692 	.b_public =
693 	"\x2a\x67\x5c\xfd\x63\x5d\xc0\x97\x0a\x8b\xa2\x1f\xf8\x8a\xcb\x54"
694 	"\xca\x2f\xd3\x49\x3f\x01\x8e\x87\xfe\xcc\x94\xa0\x3e\xd4\x26\x79"
695 	"\x9a\x94\x3c\x11\x81\x58\x5c\x60\x3d\xf5\x98\x90\x89\x64\x62\x1f"
696 	"\xbd\x05\x6d\x2b\xcd\x84\x40\x9b\x4a\x1f\xe0\x19\xf1\xca\x20\xb3"
697 	"\x4e\xa0\x4f\x15\xcc\xa5\xfe\xa5\xb4\xf5\x0b\x18\x7a\x5a\x37\xaa"
698 	"\x58\x00\x19\x7f\xe2\xa3\xd9\x1c\x44\x57\xcc\xde\x2e\xc1\x38\xea"
699 	"\xeb\xe3\x90\x40\xc4\x6c\xf7\xcd\xe9\x22\x50\x71\xf5\x7c\xdb\x37"
700 	"\x0e\x80\xc3\xed\x7e\xb1\x2b\x2f\xbe\x71\xa6\x11\xa5\x9d\xf5\x39"
701 	"\xf1\xa2\xe5\x85\xbc\x25\x91\x4e\x84\x8d\x26\x9f\x4f\xe6\x0f\xa6"
702 	"\x2b\x6b\xf9\x0d\xaf\x6f\xbb\xfa\x2d\x79\x15\x31\x57\xae\x19\x60"
703 	"\x22\x0a\xf5\xfd\x98\x0e\xbf\x5d\x49\x75\x58\x37\xbc\x7f\xf5\x21"
704 	"\x56\x1e\xd5\xb3\x50\x0b\xca\x96\xf3\xd1\x3f\xb3\x70\xa8\x6d\x63"
705 	"\x48\xfb\x3d\xd7\x29\x91\x45\xb5\x48\xcd\xb6\x78\x30\xf2\x3f\x1e"
706 	"\xd6\x22\xd6\x35\x9b\xf9\x1f\x85\xae\xab\x4b\xd7\xe0\xc7\x86\x67"
707 	"\x3f\x05\x7f\xa6\x0d\x2f\x0d\xbf\x53\x5f\x4d\x2c\x6d\x5e\x57\x40"
708 	"\x30\x3a\x23\x98\xf9\xb4\x32\xf5\x32\x83\xdd\x0b\xae\x33\x97\x2f",
709 	.expected_a_public =
710 	"\x5c\x24\xdf\xeb\x5b\x4b\xf8\xc5\xef\x39\x48\x82\xe0\x1e\x62\xee"
711 	"\x8a\xae\xdf\x93\x6c\x2b\x16\x95\x92\x16\x3f\x16\x7b\x75\x03\x85"
712 	"\xd9\xf1\x69\xc2\x14\x87\x45\xfc\xa4\x19\xf6\xf0\xa4\xf3\xec\xd4"
713 	"\x6c\x5c\x03\x3b\x94\xc2\x2f\x92\xe4\xce\xb3\xe4\x72\xe8\x17\xe6"
714 	"\x23\x7e\x00\x01\x09\x59\x13\xbf\xc1\x2f\x99\xa9\x07\xaa\x02\x23"
715 	"\x4a\xca\x39\x4f\xbc\xec\x0f\x27\x4f\x19\x93\x6c\xb9\x30\x52\xfd"
716 	"\x2b\x9d\x86\xf1\x06\x1e\xb6\x56\x27\x4a\xc9\x8a\xa7\x8a\x48\x5e"
717 	"\xb5\x60\xcb\xdf\xff\x03\x26\x10\xbf\x90\x8f\x46\x60\xeb\x9b\x9a"
718 	"\xd6\x6f\x44\x91\x03\x92\x18\x2c\x96\x5e\x40\x19\xfb\xf4\x4f\x3a"
719 	"\x02\x7b\xaf\xcc\x22\x20\x79\xb9\xf8\x9f\x8f\x85\x6b\xec\x44\xbb"
720 	"\xe6\xa8\x8e\xb1\xe8\x2c\xee\x64\xee\xf8\xbd\x00\xf3\xe2\x2b\x93"
721 	"\xcd\xe7\xc4\xdf\xc9\x19\x46\xfe\xb6\x07\x73\xc1\x8a\x64\x79\x26"
722 	"\xe7\x30\xad\x2a\xdf\xe6\x8f\x59\xf5\x81\xbf\x4a\x29\x91\xe7\xb7"
723 	"\xcf\x48\x13\x27\x75\x79\x40\xd9\xd6\x32\x52\x4e\x6a\x86\xae\x6f"
724 	"\xc2\xbf\xec\x1f\xc2\x69\xb2\xb6\x59\xe5\xa5\x17\xa4\x77\xb7\x62"
725 	"\x46\xde\xe8\xd2\x89\x78\x9a\xef\xa3\xb5\x8f\x26\xec\x80\xda\x39",
726 	.expected_ss =
727 	"\x8f\xf3\xac\xa2\xea\x22\x11\x5c\x45\x65\x1a\x77\x75\x2e\xcf\x46"
728 	"\x23\x14\x1e\x67\x53\x4d\x35\xb0\x38\x1d\x4e\xb9\x41\x9a\x21\x24"
729 	"\x6e\x9f\x40\xfe\x90\x51\xb1\x06\xa4\x7b\x87\x17\x2f\xe7\x5e\x22"
730 	"\xf0\x7b\x54\x84\x0a\xac\x0a\x90\xd2\xd7\xe8\x7f\xe7\xe3\x30\x75"
731 	"\x01\x1f\x24\x75\x56\xbe\xcc\x8d\x1e\x68\x0c\x41\x72\xd3\xfa\xbb"
732 	"\xe5\x9c\x60\xc7\x28\x77\x0c\xbe\x89\xab\x08\xd6\x21\xe7\x2e\x1a"
733 	"\x58\x7a\xca\x4f\x22\xf3\x2b\x30\xfd\xf4\x98\xc1\xa3\xf8\xf6\xcc"
734 	"\xa9\xe4\xdb\x5b\xee\xd5\x5c\x6f\x62\x4c\xd1\x1a\x02\x2a\x23\xe4"
735 	"\xb5\x57\xf3\xf9\xec\x04\x83\x54\xfe\x08\x5e\x35\xac\xfb\xa8\x09"
736 	"\x82\x32\x60\x11\xb2\x16\x62\x6b\xdf\xda\xde\x9c\xcb\x63\x44\x6c"
737 	"\x59\x26\x6a\x8f\xb0\x24\xcb\xa6\x72\x48\x1e\xeb\xe0\xe1\x09\x44"
738 	"\xdd\xee\x66\x6d\x84\xcf\xa5\xc1\xb8\x36\x74\xd3\x15\x96\xc3\xe4"
739 	"\xc6\x5a\x4d\x23\x97\x0c\x5c\xcb\xa9\xf5\x29\xc2\x0e\xff\x93\x82"
740 	"\xd3\x34\x49\xad\x64\xa6\xb1\xc0\x59\x28\x75\x60\xa7\x8a\xb0\x11"
741 	"\x56\x89\x42\x74\x11\xf5\xf6\x5e\x6f\x16\x54\x6a\xb1\x76\x4d\x50"
742 	"\x8a\x68\xc1\x5b\x82\xb9\x0d\x00\x32\x50\xed\x88\x87\x48\x92\x17",
743 	.secret_size = 529,
744 	.b_public_size = 256,
745 	.expected_a_public_size = 256,
746 	.expected_ss_size = 256,
747 	},
748 	{
749 	.secret =
750 #ifdef __LITTLE_ENDIAN
751 	"\x01\x00" /* type */
752 	"\x11\x02" /* len */
753 	"\x00\x01\x00\x00" /* key_size */
754 	"\x00\x01\x00\x00" /* p_size */
755 	"\x01\x00\x00\x00" /* g_size */
756 #else
757 	"\x00\x01" /* type */
758 	"\x02\x11" /* len */
759 	"\x00\x00\x01\x00" /* key_size */
760 	"\x00\x00\x01\x00" /* p_size */
761 	"\x00\x00\x00\x01" /* g_size */
762 #endif
763 	/* xa */
764 	"\x4d\x75\xa8\x6e\xba\x23\x3a\x0c\x63\x56\xc8\xc9\x5a\xa7\xd6\x0e"
765 	"\xed\xae\x40\x78\x87\x47\x5f\xe0\xa7\x7b\xba\x84\x88\x67\x4e\xe5"
766 	"\x3c\xcc\x5c\x6a\xe7\x4a\x20\xec\xbe\xcb\xf5\x52\x62\x9f\x37\x80"
767 	"\x0c\x72\x7b\x83\x66\xa4\xf6\x7f\x95\x97\x1c\x6a\x5c\x7e\xf1\x67"
768 	"\x37\xb3\x93\x39\x3d\x0b\x55\x35\xd9\xe5\x22\x04\x9f\xf8\xc1\x04"
769 	"\xce\x13\xa5\xac\xe1\x75\x05\xd1\x2b\x53\xa2\x84\xef\xb1\x18\xf4"
770 	"\x66\xdd\xea\xe6\x24\x69\x5a\x49\xe0\x7a\xd8\xdf\x1b\xb7\xf1\x6d"
771 	"\x9b\x50\x2c\xc8\x1c\x1c\xa3\xb4\x37\xfb\x66\x3f\x67\x71\x73\xa9"
772 	"\xff\x5f\xd9\xa2\x25\x6e\x25\x1b\x26\x54\xbf\x0c\xc6\xdb\xea\x0a"
773 	"\x52\x6c\x16\x7c\x27\x68\x15\x71\x58\x73\x9d\xe6\xc2\x80\xaa\x97"
774 	"\x31\x66\xfb\xa6\xfb\xfd\xd0\x9c\x1d\xbe\x81\x48\xf5\x9a\x32\xf1"
775 	"\x69\x62\x18\x78\xae\x72\x36\xe6\x94\x27\xd1\xff\x18\x4f\x28\x6a"
776 	"\x16\xbd\x6a\x60\xee\xe5\xf9\x6d\x16\xe4\xb8\xa6\x41\x9b\x23\x7e"
777 	"\xf7\x9d\xd1\x1d\x03\x15\x66\x3a\xcf\xb6\x2c\x13\x96\x2c\x52\x21"
778 	"\xe4\x2d\x48\x7a\x8a\x5d\xb2\x88\xed\x98\x61\x79\x8b\x6a\x1e\x5f"
779 	"\xd0\x8a\x2d\x99\x5a\x2b\x0f\xbc\xef\x53\x8f\x32\xc1\xa2\x99\x26"
780 	/* p */
781 	"\xb9\x36\x3a\xf1\x82\x1f\x60\xd3\x22\x47\xb8\xbc\x2d\x22\x6b\x81"
782 	"\x7f\xe8\x20\x06\x09\x23\x73\x49\x9a\x59\x8b\x35\x25\xf8\x31\xbc"
783 	"\x7d\xa8\x1c\x9d\x56\x0d\x1a\xf7\x4b\x4f\x96\xa4\x35\x77\x6a\x89"
784 	"\xab\x42\x00\x49\x21\x71\xed\x28\x16\x1d\x87\x5a\x10\xa7\x9c\x64"
785 	"\x94\xd4\x87\x3d\x28\xef\x44\xfe\x4b\xe2\xb4\x15\x8c\x82\xa6\xf3"
786 	"\x50\x5f\xa8\xe8\xa2\x60\xe7\x00\x86\x78\x05\xd4\x78\x19\xa1\x98"
787 	"\x62\x4e\x4a\x00\x78\x56\x96\xe6\xcf\xd7\x10\x1b\x74\x5d\xd0\x26"
788 	"\x61\xdb\x6b\x32\x09\x51\xd8\xa5\xfd\x54\x16\x71\x01\xb3\x39\xe6"
789 	"\x4e\x69\xb1\xd7\x06\x8f\xd6\x1e\xdc\x72\x25\x26\x74\xc8\x41\x06"
790 	"\x5c\xd1\x26\x5c\xb0\x2f\xf9\x59\x13\xc1\x2a\x0f\x78\xea\x7b\xf7"
791 	"\xbd\x59\xa0\x90\x1d\xfc\x33\x5b\x4c\xbf\x05\x9c\x3a\x3f\x69\xa2"
792 	"\x45\x61\x4e\x10\x6a\xb3\x17\xc5\x68\x30\xfb\x07\x5f\x34\xc6\xfb"
793 	"\x73\x07\x3c\x70\xf6\xae\xe7\x72\x84\xc3\x18\x81\x8f\xe8\x11\x1f"
794 	"\x3d\x83\x83\x01\x2a\x14\x73\xbf\x32\x32\x2e\xc9\x4d\xdb\x2a\xca"
795 	"\xee\x71\xf9\xda\xad\xe8\x82\x0b\x4d\x0c\x1f\xb6\x1d\xef\x00\x67"
796 	"\x74\x3d\x95\xe0\xb7\xc4\x30\x8a\x24\x87\x12\x47\x27\x70\x0d\x73"
797 	/* g */
798 	"\x02",
799 	.b_public =
800 	"\x99\x4d\xd9\x01\x84\x8e\x4a\x5b\xb8\xa5\x64\x8c\x6c\x00\x5c\x0e"
801 	"\x1e\x1b\xee\x5d\x9f\x53\xe3\x16\x70\x01\xed\xbf\x4f\x14\x36\x6e"
802 	"\xe4\x43\x45\x43\x49\xcc\xb1\xb0\x2a\xc0\x6f\x22\x55\x42\x17\x94"
803 	"\x18\x83\xd7\x2a\x5c\x51\x54\xf8\x4e\x7c\x10\xda\x76\x68\x57\x77"
804 	"\x1e\x62\x03\x30\x04\x7b\x4c\x39\x9c\x54\x01\x54\xec\xef\xb3\x55"
805 	"\xa4\xc0\x24\x6d\x3d\xbd\xcc\x46\x5b\x00\x96\xc7\xea\x93\xd1\x3f"
806 	"\xf2\x6a\x72\xe3\xf2\xc1\x92\x24\x5b\xda\x48\x70\x2c\xa9\x59\x97"
807 	"\x19\xb1\xd6\x54\xb3\x9c\x2e\xb0\x63\x07\x9b\x5e\xac\xb5\xf2\xb1"
808 	"\x5b\xf8\xf3\xd7\x2d\x37\x9b\x68\x6c\xf8\x90\x07\xbc\x37\x9a\xa5"
809 	"\xe2\x91\x12\x25\x47\x77\xe3\x3d\xb2\x95\x69\x44\x0b\x91\x1e\xaf"
810 	"\x7c\x8c\x7c\x34\x41\x6a\xab\x60\x6e\xc6\x52\xec\x7e\x94\x0a\x37"
811 	"\xec\x98\x90\xdf\x3f\x02\xbd\x23\x52\xdd\xd9\xe5\x31\x80\x74\x25"
812 	"\xb6\xd2\xd3\xcc\xd5\xcc\x6d\xf9\x7e\x4d\x78\xab\x77\x51\xfa\x77"
813 	"\x19\x94\x49\x8c\x05\xd4\x75\xed\xd2\xb3\x64\x57\xe0\x52\x99\xc0"
814 	"\x83\xe3\xbb\x5e\x2b\xf1\xd2\xc0\xb1\x37\x36\x0b\x7c\xb5\x63\x96"
815 	"\x8e\xde\x04\x23\x11\x95\x62\x11\x9a\xce\x6f\x63\xc8\xd5\xd1\x8f",
816 	.expected_a_public =
817 	"\x90\x89\xe4\x82\xd6\x0a\xcf\x1a\xae\xce\x1b\x66\xa7\x19\x71\x18"
818 	"\x8f\x95\x4b\x5b\x80\x45\x4a\x5a\x43\x99\x4d\x37\xcf\xa3\xa7\x28"
819 	"\x9c\xc7\x73\xf1\xb2\x17\xf6\x99\xe3\x6b\x56\xcb\x3e\x35\x60\x7d"
820 	"\x65\xc7\x84\x6b\x3e\x60\xee\xcd\xd2\x70\xe7\xc9\x32\x1c\xf0\xb4"
821 	"\xf9\x52\xd9\x88\x75\xfd\x40\x2c\xa7\xbe\x19\x1c\x0a\xae\x93\xe1"
822 	"\x71\xc7\xcd\x4f\x33\x5c\x10\x7d\x39\x56\xfc\x73\x84\xb2\x67\xc3"
823 	"\x77\x26\x20\x97\x2b\xf8\x13\x43\x93\x9c\x9a\xa4\x08\xc7\x34\x83"
824 	"\xe6\x98\x61\xe7\x16\x30\x2c\xb1\xdb\x2a\xb2\xcc\xc3\x02\xa5\x3c"
825 	"\x71\x50\x14\x83\xc7\xbb\xa4\xbe\x98\x1b\xfe\xcb\x43\xe9\x97\x62"
826 	"\xd6\xf0\x8c\xcb\x1c\xba\x1e\xa8\xa6\xa6\x50\xfc\x85\x7d\x47\xbf"
827 	"\xf4\x3e\x23\xd3\x5f\xb2\x71\x3e\x40\x94\xaa\x87\x83\x2c\x6c\x8e"
828 	"\x60\xfd\xdd\xf7\xf4\x76\x03\xd3\x1d\xec\x18\x51\xa3\xf2\x44\x1a"
829 	"\x3f\xb4\x7c\x18\x0d\x68\x65\x92\x54\x0d\x2d\x81\x16\xf1\x84\x66"
830 	"\x89\x92\xd0\x1a\x5e\x1f\x42\x46\x5b\xe5\x83\x86\x80\xd9\xcd\x3a"
831 	"\x5a\x2f\xb9\x59\x9b\xe4\x43\x84\x64\xf3\x09\x1a\x0a\xa2\x64\x0f"
832 	"\x77\x4e\x8d\x8b\xe6\x88\xd1\xfc\xaf\x8f\xdf\x1d\xbc\x31\xb3\xbd",
833 	.expected_ss =
834 	"\x34\xc3\x35\x14\x88\x46\x26\x23\x97\xbb\xdd\x28\x5c\x94\xf6\x47"
835 	"\xca\xb3\x19\xaf\xca\x44\x9b\xc2\x7d\x89\xfd\x96\x14\xfd\x6d\x58"
836 	"\xd8\xc4\x6b\x61\x2a\x0d\xf2\x36\x45\xc8\xe4\xa4\xed\x81\x53\x81"
837 	"\x66\x1e\xe0\x5a\xb1\x78\x2d\x0b\x5c\xb4\xd1\xfc\x90\xc6\x9c\xdb"
838 	"\x5a\x30\x0b\x14\x7d\xbe\xb3\x7d\xb1\xb2\x76\x3c\x6c\xef\x74\x6b"
839 	"\xe7\x1f\x64\x0c\xab\x65\xe1\x76\x5c\x3d\x83\xb5\x8a\xfb\xaf\x0f"
840 	"\xf2\x06\x14\x8f\xa0\xf6\xc1\x89\x78\xf2\xba\x72\x73\x3c\xf7\x76"
841 	"\x21\x67\xbc\x24\x31\xb8\x09\x65\x0f\x0c\x02\x32\x4a\x98\x14\xfc"
842 	"\x72\x2c\x25\x60\x68\x5f\x2f\x30\x1e\x5b\xf0\x3b\xd1\xa2\x87\xa0"
843 	"\x54\xdf\xdb\xc0\xee\x0a\x0f\x47\xc9\x90\x20\x2c\xf9\xe3\x52\xad"
844 	"\x27\x65\x8d\x54\x8d\xa8\xa1\xf3\xed\x15\xd4\x94\x28\x90\x31\x93"
845 	"\x1b\xc0\x51\xbb\x43\x5d\x76\x3b\x1d\x2a\x71\x50\xea\x5d\x48\x94"
846 	"\x7f\x6f\xf1\x48\xdb\x30\xe5\xae\x64\x79\xd9\x7a\xdb\xc6\xff\xd8"
847 	"\x5e\x5a\x64\xbd\xf6\x85\x04\xe8\x28\x6a\xac\xef\xce\x19\x8e\x9a"
848 	"\xfe\x75\xc0\x27\x69\xe3\xb3\x7b\x21\xa7\xb1\x16\xa4\x85\x23\xee"
849 	"\xb0\x1b\x04\x6e\xbd\xab\x16\xde\xfd\x86\x6b\xa9\x95\xd7\x0b\xfd",
850 	.secret_size = 529,
851 	.b_public_size = 256,
852 	.expected_a_public_size = 256,
853 	.expected_ss_size = 256,
854 	}
855 };
856 
857 static const struct kpp_testvec ecdh_tv_template[] = {
858 	{
859 #ifndef CONFIG_CRYPTO_FIPS
860 	.secret =
861 #ifdef __LITTLE_ENDIAN
862 	"\x02\x00" /* type */
863 	"\x20\x00" /* len */
864 	"\x01\x00" /* curve_id */
865 	"\x18\x00" /* key_size */
866 #else
867 	"\x00\x02" /* type */
868 	"\x00\x20" /* len */
869 	"\x00\x01" /* curve_id */
870 	"\x00\x18" /* key_size */
871 #endif
872 	"\xb5\x05\xb1\x71\x1e\xbf\x8c\xda"
873 	"\x4e\x19\x1e\x62\x1f\x23\x23\x31"
874 	"\x36\x1e\xd3\x84\x2f\xcc\x21\x72",
875 	.b_public =
876 	"\xc3\xba\x67\x4b\x71\xec\xd0\x76"
877 	"\x7a\x99\x75\x64\x36\x13\x9a\x94"
878 	"\x5d\x8b\xdc\x60\x90\x91\xfd\x3f"
879 	"\xb0\x1f\x8a\x0a\x68\xc6\x88\x6e"
880 	"\x83\x87\xdd\x67\x09\xf8\x8d\x96"
881 	"\x07\xd6\xbd\x1c\xe6\x8d\x9d\x67",
882 	.expected_a_public =
883 	"\x1a\x04\xdb\xa5\xe1\xdd\x4e\x79"
884 	"\xa3\xe6\xef\x0e\x5c\x80\x49\x85"
885 	"\xfa\x78\xb4\xef\x49\xbd\x4c\x7c"
886 	"\x22\x90\x21\x02\xf9\x1b\x81\x5d"
887 	"\x0c\x8a\xa8\x98\xd6\x27\x69\x88"
888 	"\x5e\xbc\x94\xd8\x15\x9e\x21\xce",
889 	.expected_ss =
890 	"\xf4\x57\xcc\x4f\x1f\x4e\x31\xcc"
891 	"\xe3\x40\x60\xc8\x06\x93\xc6\x2e"
892 	"\x99\x80\x81\x28\xaf\xc5\x51\x74",
893 	.secret_size = 32,
894 	.b_public_size = 48,
895 	.expected_a_public_size = 48,
896 	.expected_ss_size = 24
897 	}, {
898 #endif
899 	.secret =
900 #ifdef __LITTLE_ENDIAN
901 	"\x02\x00" /* type */
902 	"\x28\x00" /* len */
903 	"\x02\x00" /* curve_id */
904 	"\x20\x00" /* key_size */
905 #else
906 	"\x00\x02" /* type */
907 	"\x00\x28" /* len */
908 	"\x00\x02" /* curve_id */
909 	"\x00\x20" /* key_size */
910 #endif
911 	"\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
912 	"\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
913 	"\x8b\xe0\x86\xc3\x20\x19\xda\x92"
914 	"\x50\x53\x03\xe1\xc0\xea\xb8\x82",
915 	.expected_a_public =
916 	"\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
917 	"\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
918 	"\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
919 	"\xb6\x63\x82\x77\x33\x24\xa1\x5f"
920 	"\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
921 	"\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
922 	"\x6a\x02\x6e\x41\x87\x68\x38\x77"
923 	"\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
924 	.expected_ss =
925 	"\xea\x17\x6f\x7e\x6e\x57\x26\x38"
926 	"\x8b\xfb\x41\xeb\xba\xc8\x6d\xa5"
927 	"\xa8\x72\xd1\xff\xc9\x47\x3d\xaa"
928 	"\x58\x43\x9f\x34\x0f\x8c\xf3\xc9",
929 	.b_public =
930 	"\xcc\xb4\xda\x74\xb1\x47\x3f\xea"
931 	"\x6c\x70\x9e\x38\x2d\xc7\xaa\xb7"
932 	"\x29\xb2\x47\x03\x19\xab\xdd\x34"
933 	"\xbd\xa8\x2c\x93\xe1\xa4\x74\xd9"
934 	"\x64\x63\xf7\x70\x20\x2f\xa4\xe6"
935 	"\x9f\x4a\x38\xcc\xc0\x2c\x49\x2f"
936 	"\xb1\x32\xbb\xaf\x22\x61\xda\xcb"
937 	"\x6f\xdb\xa9\xaa\xfc\x77\x81\xf3",
938 	.secret_size = 40,
939 	.b_public_size = 64,
940 	.expected_a_public_size = 64,
941 	.expected_ss_size = 32
942 	}, {
943 	.secret =
944 #ifdef __LITTLE_ENDIAN
945 	"\x02\x00" /* type */
946 	"\x08\x00" /* len */
947 	"\x02\x00" /* curve_id */
948 	"\x00\x00", /* key_size */
949 #else
950 	"\x00\x02" /* type */
951 	"\x00\x08" /* len */
952 	"\x00\x02" /* curve_id */
953 	"\x00\x00", /* key_size */
954 #endif
955 	.b_secret =
956 #ifdef __LITTLE_ENDIAN
957 	"\x02\x00" /* type */
958 	"\x28\x00" /* len */
959 	"\x02\x00" /* curve_id */
960 	"\x20\x00" /* key_size */
961 #else
962 	"\x00\x02" /* type */
963 	"\x00\x28" /* len */
964 	"\x00\x02" /* curve_id */
965 	"\x00\x20" /* key_size */
966 #endif
967 	"\x24\xd1\x21\xeb\xe5\xcf\x2d\x83"
968 	"\xf6\x62\x1b\x6e\x43\x84\x3a\xa3"
969 	"\x8b\xe0\x86\xc3\x20\x19\xda\x92"
970 	"\x50\x53\x03\xe1\xc0\xea\xb8\x82",
971 	.b_public =
972 	"\x1a\x7f\xeb\x52\x00\xbd\x3c\x31"
973 	"\x7d\xb6\x70\xc1\x86\xa6\xc7\xc4"
974 	"\x3b\xc5\x5f\x6c\x6f\x58\x3c\xf5"
975 	"\xb6\x63\x82\x77\x33\x24\xa1\x5f"
976 	"\x6a\xca\x43\x6f\xf7\x7e\xff\x02"
977 	"\x37\x08\xcc\x40\x5e\x7a\xfd\x6a"
978 	"\x6a\x02\x6e\x41\x87\x68\x38\x77"
979 	"\xfa\xa9\x44\x43\x2d\xef\x09\xdf",
980 	.secret_size = 8,
981 	.b_secret_size = 40,
982 	.b_public_size = 64,
983 	.expected_a_public_size = 64,
984 	.expected_ss_size = 32,
985 	.genkey = true,
986 	}
987 };
988 
989 /*
990  * MD4 test vectors from RFC1320
991  */
992 static const struct hash_testvec md4_tv_template[] = {
993 	{
994 		.plaintext = "",
995 		.digest	= "\x31\xd6\xcf\xe0\xd1\x6a\xe9\x31"
996 			  "\xb7\x3c\x59\xd7\xe0\xc0\x89\xc0",
997 	}, {
998 		.plaintext = "a",
999 		.psize	= 1,
1000 		.digest	= "\xbd\xe5\x2c\xb3\x1d\xe3\x3e\x46"
1001 			  "\x24\x5e\x05\xfb\xdb\xd6\xfb\x24",
1002 	}, {
1003 		.plaintext = "abc",
1004 		.psize	= 3,
1005 		.digest	= "\xa4\x48\x01\x7a\xaf\x21\xd8\x52"
1006 			  "\x5f\xc1\x0a\xe8\x7a\xa6\x72\x9d",
1007 	}, {
1008 		.plaintext = "message digest",
1009 		.psize	= 14,
1010 		.digest	= "\xd9\x13\x0a\x81\x64\x54\x9f\xe8"
1011 			"\x18\x87\x48\x06\xe1\xc7\x01\x4b",
1012 	}, {
1013 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1014 		.psize	= 26,
1015 		.digest	= "\xd7\x9e\x1c\x30\x8a\xa5\xbb\xcd"
1016 			  "\xee\xa8\xed\x63\xdf\x41\x2d\xa9",
1017 		.np	= 2,
1018 		.tap	= { 13, 13 },
1019 	}, {
1020 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
1021 		.psize	= 62,
1022 		.digest	= "\x04\x3f\x85\x82\xf2\x41\xdb\x35"
1023 			  "\x1c\xe6\x27\xe1\x53\xe7\xf0\xe4",
1024 	}, {
1025 		.plaintext = "123456789012345678901234567890123456789012345678901234567890123"
1026 			   "45678901234567890",
1027 		.psize	= 80,
1028 		.digest	= "\xe3\x3b\x4d\xdc\x9c\x38\xf2\x19"
1029 			  "\x9c\x3e\x7b\x16\x4f\xcc\x05\x36",
1030 	},
1031 };
1032 
1033 static const struct hash_testvec sha3_224_tv_template[] = {
1034 	{
1035 		.plaintext = "",
1036 		.digest	= "\x6b\x4e\x03\x42\x36\x67\xdb\xb7"
1037 				"\x3b\x6e\x15\x45\x4f\x0e\xb1\xab"
1038 				"\xd4\x59\x7f\x9a\x1b\x07\x8e\x3f"
1039 				"\x5b\x5a\x6b\xc7",
1040 	}, {
1041 		.plaintext = "a",
1042 		.psize	= 1,
1043 		.digest	= "\x9e\x86\xff\x69\x55\x7c\xa9\x5f"
1044 				"\x40\x5f\x08\x12\x69\x68\x5b\x38"
1045 				"\xe3\xa8\x19\xb3\x09\xee\x94\x2f"
1046 				"\x48\x2b\x6a\x8b",
1047 	}, {
1048 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1049 				"jklmklmnlmnomnopnopq",
1050 		.psize	= 56,
1051 		.digest	= "\x8a\x24\x10\x8b\x15\x4a\xda\x21"
1052 				"\xc9\xfd\x55\x74\x49\x44\x79\xba"
1053 				"\x5c\x7e\x7a\xb7\x6e\xf2\x64\xea"
1054 				"\xd0\xfc\xce\x33",
1055 	},
1056 };
1057 
1058 static const struct hash_testvec sha3_256_tv_template[] = {
1059 	{
1060 		.plaintext = "",
1061 		.digest	= "\xa7\xff\xc6\xf8\xbf\x1e\xd7\x66"
1062 				"\x51\xc1\x47\x56\xa0\x61\xd6\x62"
1063 				"\xf5\x80\xff\x4d\xe4\x3b\x49\xfa"
1064 				"\x82\xd8\x0a\x4b\x80\xf8\x43\x4a",
1065 	}, {
1066 		.plaintext = "a",
1067 		.psize	= 1,
1068 		.digest	= "\x80\x08\x4b\xf2\xfb\xa0\x24\x75"
1069 				"\x72\x6f\xeb\x2c\xab\x2d\x82\x15"
1070 				"\xea\xb1\x4b\xc6\xbd\xd8\xbf\xb2"
1071 				"\xc8\x15\x12\x57\x03\x2e\xcd\x8b",
1072 	}, {
1073 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1074 			     "jklmklmnlmnomnopnopq",
1075 		.psize	= 56,
1076 		.digest	= "\x41\xc0\xdb\xa2\xa9\xd6\x24\x08"
1077 				"\x49\x10\x03\x76\xa8\x23\x5e\x2c"
1078 				"\x82\xe1\xb9\x99\x8a\x99\x9e\x21"
1079 				"\xdb\x32\xdd\x97\x49\x6d\x33\x76",
1080 	},
1081 };
1082 
1083 
1084 static const struct hash_testvec sha3_384_tv_template[] = {
1085 	{
1086 		.plaintext = "",
1087 		.digest	= "\x0c\x63\xa7\x5b\x84\x5e\x4f\x7d"
1088 				"\x01\x10\x7d\x85\x2e\x4c\x24\x85"
1089 				"\xc5\x1a\x50\xaa\xaa\x94\xfc\x61"
1090 				"\x99\x5e\x71\xbb\xee\x98\x3a\x2a"
1091 				"\xc3\x71\x38\x31\x26\x4a\xdb\x47"
1092 				"\xfb\x6b\xd1\xe0\x58\xd5\xf0\x04",
1093 	}, {
1094 		.plaintext = "a",
1095 		.psize	= 1,
1096 		.digest	= "\x18\x15\xf7\x74\xf3\x20\x49\x1b"
1097 				"\x48\x56\x9e\xfe\xc7\x94\xd2\x49"
1098 				"\xee\xb5\x9a\xae\x46\xd2\x2b\xf7"
1099 				"\x7d\xaf\xe2\x5c\x5e\xdc\x28\xd7"
1100 				"\xea\x44\xf9\x3e\xe1\x23\x4a\xa8"
1101 				"\x8f\x61\xc9\x19\x12\xa4\xcc\xd9",
1102 	}, {
1103 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1104 			     "jklmklmnlmnomnopnopq",
1105 		.psize	= 56,
1106 		.digest	= "\x99\x1c\x66\x57\x55\xeb\x3a\x4b"
1107 				"\x6b\xbd\xfb\x75\xc7\x8a\x49\x2e"
1108 				"\x8c\x56\xa2\x2c\x5c\x4d\x7e\x42"
1109 				"\x9b\xfd\xbc\x32\xb9\xd4\xad\x5a"
1110 				"\xa0\x4a\x1f\x07\x6e\x62\xfe\xa1"
1111 				"\x9e\xef\x51\xac\xd0\x65\x7c\x22",
1112 	},
1113 };
1114 
1115 
1116 static const struct hash_testvec sha3_512_tv_template[] = {
1117 	{
1118 		.plaintext = "",
1119 		.digest	= "\xa6\x9f\x73\xcc\xa2\x3a\x9a\xc5"
1120 				"\xc8\xb5\x67\xdc\x18\x5a\x75\x6e"
1121 				"\x97\xc9\x82\x16\x4f\xe2\x58\x59"
1122 				"\xe0\xd1\xdc\xc1\x47\x5c\x80\xa6"
1123 				"\x15\xb2\x12\x3a\xf1\xf5\xf9\x4c"
1124 				"\x11\xe3\xe9\x40\x2c\x3a\xc5\x58"
1125 				"\xf5\x00\x19\x9d\x95\xb6\xd3\xe3"
1126 				"\x01\x75\x85\x86\x28\x1d\xcd\x26",
1127 	}, {
1128 		.plaintext = "a",
1129 		.psize	= 1,
1130 		.digest	= "\x69\x7f\x2d\x85\x61\x72\xcb\x83"
1131 				"\x09\xd6\xb8\xb9\x7d\xac\x4d\xe3"
1132 				"\x44\xb5\x49\xd4\xde\xe6\x1e\xdf"
1133 				"\xb4\x96\x2d\x86\x98\xb7\xfa\x80"
1134 				"\x3f\x4f\x93\xff\x24\x39\x35\x86"
1135 				"\xe2\x8b\x5b\x95\x7a\xc3\xd1\xd3"
1136 				"\x69\x42\x0c\xe5\x33\x32\x71\x2f"
1137 				"\x99\x7b\xd3\x36\xd0\x9a\xb0\x2a",
1138 	}, {
1139 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkl"
1140 			     "jklmklmnlmnomnopnopq",
1141 		.psize	= 56,
1142 		.digest	= "\x04\xa3\x71\xe8\x4e\xcf\xb5\xb8"
1143 				"\xb7\x7c\xb4\x86\x10\xfc\xa8\x18"
1144 				"\x2d\xd4\x57\xce\x6f\x32\x6a\x0f"
1145 				"\xd3\xd7\xec\x2f\x1e\x91\x63\x6d"
1146 				"\xee\x69\x1f\xbe\x0c\x98\x53\x02"
1147 				"\xba\x1b\x0d\x8d\xc7\x8c\x08\x63"
1148 				"\x46\xb5\x33\xb4\x9c\x03\x0d\x99"
1149 				"\xa2\x7d\xaf\x11\x39\xd6\xe7\x5e",
1150 	},
1151 };
1152 
1153 
1154 /*
1155  * MD5 test vectors from RFC1321
1156  */
1157 static const struct hash_testvec md5_tv_template[] = {
1158 	{
1159 		.digest	= "\xd4\x1d\x8c\xd9\x8f\x00\xb2\x04"
1160 			  "\xe9\x80\x09\x98\xec\xf8\x42\x7e",
1161 	}, {
1162 		.plaintext = "a",
1163 		.psize	= 1,
1164 		.digest	= "\x0c\xc1\x75\xb9\xc0\xf1\xb6\xa8"
1165 			  "\x31\xc3\x99\xe2\x69\x77\x26\x61",
1166 	}, {
1167 		.plaintext = "abc",
1168 		.psize	= 3,
1169 		.digest	= "\x90\x01\x50\x98\x3c\xd2\x4f\xb0"
1170 			  "\xd6\x96\x3f\x7d\x28\xe1\x7f\x72",
1171 	}, {
1172 		.plaintext = "message digest",
1173 		.psize	= 14,
1174 		.digest	= "\xf9\x6b\x69\x7d\x7c\xb7\x93\x8d"
1175 			  "\x52\x5a\x2f\x31\xaa\xf1\x61\xd0",
1176 	}, {
1177 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1178 		.psize	= 26,
1179 		.digest	= "\xc3\xfc\xd3\xd7\x61\x92\xe4\x00"
1180 			  "\x7d\xfb\x49\x6c\xca\x67\xe1\x3b",
1181 		.np	= 2,
1182 		.tap	= {13, 13}
1183 	}, {
1184 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
1185 		.psize	= 62,
1186 		.digest	= "\xd1\x74\xab\x98\xd2\x77\xd9\xf5"
1187 			  "\xa5\x61\x1c\x2c\x9f\x41\x9d\x9f",
1188 	}, {
1189 		.plaintext = "12345678901234567890123456789012345678901234567890123456789012"
1190 			   "345678901234567890",
1191 		.psize	= 80,
1192 		.digest	= "\x57\xed\xf4\xa2\x2b\xe3\xc9\x55"
1193 			  "\xac\x49\xda\x2e\x21\x07\xb6\x7a",
1194 	}
1195 
1196 };
1197 
1198 /*
1199  * RIPEMD-128 test vectors from ISO/IEC 10118-3:2004(E)
1200  */
1201 static const struct hash_testvec rmd128_tv_template[] = {
1202 	{
1203 		.digest	= "\xcd\xf2\x62\x13\xa1\x50\xdc\x3e"
1204 			  "\xcb\x61\x0f\x18\xf6\xb3\x8b\x46",
1205 	}, {
1206 		.plaintext = "a",
1207 		.psize	= 1,
1208 		.digest	= "\x86\xbe\x7a\xfa\x33\x9d\x0f\xc7"
1209 			  "\xcf\xc7\x85\xe7\x2f\x57\x8d\x33",
1210 	}, {
1211 		.plaintext = "abc",
1212 		.psize	= 3,
1213 		.digest	= "\xc1\x4a\x12\x19\x9c\x66\xe4\xba"
1214 			  "\x84\x63\x6b\x0f\x69\x14\x4c\x77",
1215 	}, {
1216 		.plaintext = "message digest",
1217 		.psize	= 14,
1218 		.digest	= "\x9e\x32\x7b\x3d\x6e\x52\x30\x62"
1219 			  "\xaf\xc1\x13\x2d\x7d\xf9\xd1\xb8",
1220 	}, {
1221 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1222 		.psize	= 26,
1223 		.digest	= "\xfd\x2a\xa6\x07\xf7\x1d\xc8\xf5"
1224 			  "\x10\x71\x49\x22\xb3\x71\x83\x4e",
1225 	}, {
1226 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1227 			     "fghijklmnopqrstuvwxyz0123456789",
1228 		.psize	= 62,
1229 		.digest	= "\xd1\xe9\x59\xeb\x17\x9c\x91\x1f"
1230 			  "\xae\xa4\x62\x4c\x60\xc5\xc7\x02",
1231 	}, {
1232 		.plaintext = "1234567890123456789012345678901234567890"
1233 			     "1234567890123456789012345678901234567890",
1234 		.psize	= 80,
1235 		.digest	= "\x3f\x45\xef\x19\x47\x32\xc2\xdb"
1236 			  "\xb2\xc4\xa2\xc7\x69\x79\x5f\xa3",
1237 	}, {
1238 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1239 			     "hijkijkljklmklmnlmnomnopnopq",
1240 		.psize	= 56,
1241 		.digest	= "\xa1\xaa\x06\x89\xd0\xfa\xfa\x2d"
1242 			  "\xdc\x22\xe8\x8b\x49\x13\x3a\x06",
1243 		.np	= 2,
1244 		.tap	= { 28, 28 },
1245 	}, {
1246 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1247 			     "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1248 			     "lmnopqrsmnopqrstnopqrstu",
1249 		.psize	= 112,
1250 		.digest	= "\xd4\xec\xc9\x13\xe1\xdf\x77\x6b"
1251 			  "\xf4\x8d\xe9\xd5\x5b\x1f\x25\x46",
1252 	}, {
1253 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1254 		.psize	= 32,
1255 		.digest	= "\x13\xfc\x13\xe8\xef\xff\x34\x7d"
1256 			  "\xe1\x93\xff\x46\xdb\xac\xcf\xd4",
1257 	}
1258 };
1259 
1260 /*
1261  * RIPEMD-160 test vectors from ISO/IEC 10118-3:2004(E)
1262  */
1263 static const struct hash_testvec rmd160_tv_template[] = {
1264 	{
1265 		.digest	= "\x9c\x11\x85\xa5\xc5\xe9\xfc\x54\x61\x28"
1266 			  "\x08\x97\x7e\xe8\xf5\x48\xb2\x25\x8d\x31",
1267 	}, {
1268 		.plaintext = "a",
1269 		.psize	= 1,
1270 		.digest	= "\x0b\xdc\x9d\x2d\x25\x6b\x3e\xe9\xda\xae"
1271 			  "\x34\x7b\xe6\xf4\xdc\x83\x5a\x46\x7f\xfe",
1272 	}, {
1273 		.plaintext = "abc",
1274 		.psize	= 3,
1275 		.digest	= "\x8e\xb2\x08\xf7\xe0\x5d\x98\x7a\x9b\x04"
1276 			  "\x4a\x8e\x98\xc6\xb0\x87\xf1\x5a\x0b\xfc",
1277 	}, {
1278 		.plaintext = "message digest",
1279 		.psize	= 14,
1280 		.digest	= "\x5d\x06\x89\xef\x49\xd2\xfa\xe5\x72\xb8"
1281 			  "\x81\xb1\x23\xa8\x5f\xfa\x21\x59\x5f\x36",
1282 	}, {
1283 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1284 		.psize	= 26,
1285 		.digest	= "\xf7\x1c\x27\x10\x9c\x69\x2c\x1b\x56\xbb"
1286 			  "\xdc\xeb\x5b\x9d\x28\x65\xb3\x70\x8d\xbc",
1287 	}, {
1288 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1289 			     "fghijklmnopqrstuvwxyz0123456789",
1290 		.psize	= 62,
1291 		.digest	= "\xb0\xe2\x0b\x6e\x31\x16\x64\x02\x86\xed"
1292 			  "\x3a\x87\xa5\x71\x30\x79\xb2\x1f\x51\x89",
1293 	}, {
1294 		.plaintext = "1234567890123456789012345678901234567890"
1295 			     "1234567890123456789012345678901234567890",
1296 		.psize	= 80,
1297 		.digest	= "\x9b\x75\x2e\x45\x57\x3d\x4b\x39\xf4\xdb"
1298 			  "\xd3\x32\x3c\xab\x82\xbf\x63\x32\x6b\xfb",
1299 	}, {
1300 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1301 			     "hijkijkljklmklmnlmnomnopnopq",
1302 		.psize	= 56,
1303 		.digest	= "\x12\xa0\x53\x38\x4a\x9c\x0c\x88\xe4\x05"
1304 			  "\xa0\x6c\x27\xdc\xf4\x9a\xda\x62\xeb\x2b",
1305 		.np	= 2,
1306 		.tap	= { 28, 28 },
1307 	}, {
1308 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghi"
1309 			     "jklmghijklmnhijklmnoijklmnopjklmnopqklmnopqr"
1310 			     "lmnopqrsmnopqrstnopqrstu",
1311 		.psize	= 112,
1312 		.digest	= "\x6f\x3f\xa3\x9b\x6b\x50\x3c\x38\x4f\x91"
1313 			  "\x9a\x49\xa7\xaa\x5c\x2c\x08\xbd\xfb\x45",
1314 	}, {
1315 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
1316 		.psize	= 32,
1317 		.digest	= "\x94\xc2\x64\x11\x54\x04\xe6\x33\x79\x0d"
1318 			  "\xfc\xc8\x7b\x58\x7d\x36\x77\x06\x7d\x9f",
1319 	}
1320 };
1321 
1322 /*
1323  * RIPEMD-256 test vectors
1324  */
1325 static const struct hash_testvec rmd256_tv_template[] = {
1326 	{
1327 		.digest	= "\x02\xba\x4c\x4e\x5f\x8e\xcd\x18"
1328 			  "\x77\xfc\x52\xd6\x4d\x30\xe3\x7a"
1329 			  "\x2d\x97\x74\xfb\x1e\x5d\x02\x63"
1330 			  "\x80\xae\x01\x68\xe3\xc5\x52\x2d",
1331 	}, {
1332 		.plaintext = "a",
1333 		.psize	= 1,
1334 		.digest	= "\xf9\x33\x3e\x45\xd8\x57\xf5\xd9"
1335 			  "\x0a\x91\xba\xb7\x0a\x1e\xba\x0c"
1336 			  "\xfb\x1b\xe4\xb0\x78\x3c\x9a\xcf"
1337 			  "\xcd\x88\x3a\x91\x34\x69\x29\x25",
1338 	}, {
1339 		.plaintext = "abc",
1340 		.psize	= 3,
1341 		.digest	= "\xaf\xbd\x6e\x22\x8b\x9d\x8c\xbb"
1342 			  "\xce\xf5\xca\x2d\x03\xe6\xdb\xa1"
1343 			  "\x0a\xc0\xbc\x7d\xcb\xe4\x68\x0e"
1344 			  "\x1e\x42\xd2\xe9\x75\x45\x9b\x65",
1345 	}, {
1346 		.plaintext = "message digest",
1347 		.psize	= 14,
1348 		.digest	= "\x87\xe9\x71\x75\x9a\x1c\xe4\x7a"
1349 			  "\x51\x4d\x5c\x91\x4c\x39\x2c\x90"
1350 			  "\x18\xc7\xc4\x6b\xc1\x44\x65\x55"
1351 			  "\x4a\xfc\xdf\x54\xa5\x07\x0c\x0e",
1352 	}, {
1353 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1354 		.psize	= 26,
1355 		.digest	= "\x64\x9d\x30\x34\x75\x1e\xa2\x16"
1356 			  "\x77\x6b\xf9\xa1\x8a\xcc\x81\xbc"
1357 			  "\x78\x96\x11\x8a\x51\x97\x96\x87"
1358 			  "\x82\xdd\x1f\xd9\x7d\x8d\x51\x33",
1359 	}, {
1360 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1361 			     "fghijklmnopqrstuvwxyz0123456789",
1362 		.psize	= 62,
1363 		.digest	= "\x57\x40\xa4\x08\xac\x16\xb7\x20"
1364 			  "\xb8\x44\x24\xae\x93\x1c\xbb\x1f"
1365 			  "\xe3\x63\xd1\xd0\xbf\x40\x17\xf1"
1366 			  "\xa8\x9f\x7e\xa6\xde\x77\xa0\xb8",
1367 	}, {
1368 		.plaintext = "1234567890123456789012345678901234567890"
1369 			     "1234567890123456789012345678901234567890",
1370 		.psize	= 80,
1371 		.digest	= "\x06\xfd\xcc\x7a\x40\x95\x48\xaa"
1372 			  "\xf9\x13\x68\xc0\x6a\x62\x75\xb5"
1373 			  "\x53\xe3\xf0\x99\xbf\x0e\xa4\xed"
1374 			  "\xfd\x67\x78\xdf\x89\xa8\x90\xdd",
1375 	}, {
1376 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1377 			     "hijkijkljklmklmnlmnomnopnopq",
1378 		.psize	= 56,
1379 		.digest	= "\x38\x43\x04\x55\x83\xaa\xc6\xc8"
1380 			  "\xc8\xd9\x12\x85\x73\xe7\xa9\x80"
1381 			  "\x9a\xfb\x2a\x0f\x34\xcc\xc3\x6e"
1382 			  "\xa9\xe7\x2f\x16\xf6\x36\x8e\x3f",
1383 		.np	= 2,
1384 		.tap	= { 28, 28 },
1385 	}
1386 };
1387 
1388 /*
1389  * RIPEMD-320 test vectors
1390  */
1391 static const struct hash_testvec rmd320_tv_template[] = {
1392 	{
1393 		.digest	= "\x22\xd6\x5d\x56\x61\x53\x6c\xdc\x75\xc1"
1394 			  "\xfd\xf5\xc6\xde\x7b\x41\xb9\xf2\x73\x25"
1395 			  "\xeb\xc6\x1e\x85\x57\x17\x7d\x70\x5a\x0e"
1396 			  "\xc8\x80\x15\x1c\x3a\x32\xa0\x08\x99\xb8",
1397 	}, {
1398 		.plaintext = "a",
1399 		.psize	= 1,
1400 		.digest	= "\xce\x78\x85\x06\x38\xf9\x26\x58\xa5\xa5"
1401 			  "\x85\x09\x75\x79\x92\x6d\xda\x66\x7a\x57"
1402 			  "\x16\x56\x2c\xfc\xf6\xfb\xe7\x7f\x63\x54"
1403 			  "\x2f\x99\xb0\x47\x05\xd6\x97\x0d\xff\x5d",
1404 	}, {
1405 		.plaintext = "abc",
1406 		.psize	= 3,
1407 		.digest	= "\xde\x4c\x01\xb3\x05\x4f\x89\x30\xa7\x9d"
1408 			  "\x09\xae\x73\x8e\x92\x30\x1e\x5a\x17\x08"
1409 			  "\x5b\xef\xfd\xc1\xb8\xd1\x16\x71\x3e\x74"
1410 			  "\xf8\x2f\xa9\x42\xd6\x4c\xdb\xc4\x68\x2d",
1411 	}, {
1412 		.plaintext = "message digest",
1413 		.psize	= 14,
1414 		.digest	= "\x3a\x8e\x28\x50\x2e\xd4\x5d\x42\x2f\x68"
1415 			  "\x84\x4f\x9d\xd3\x16\xe7\xb9\x85\x33\xfa"
1416 			  "\x3f\x2a\x91\xd2\x9f\x84\xd4\x25\xc8\x8d"
1417 			  "\x6b\x4e\xff\x72\x7d\xf6\x6a\x7c\x01\x97",
1418 	}, {
1419 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
1420 		.psize	= 26,
1421 		.digest	= "\xca\xbd\xb1\x81\x0b\x92\x47\x0a\x20\x93"
1422 			  "\xaa\x6b\xce\x05\x95\x2c\x28\x34\x8c\xf4"
1423 			  "\x3f\xf6\x08\x41\x97\x51\x66\xbb\x40\xed"
1424 			  "\x23\x40\x04\xb8\x82\x44\x63\xe6\xb0\x09",
1425 	}, {
1426 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcde"
1427 			     "fghijklmnopqrstuvwxyz0123456789",
1428 		.psize	= 62,
1429 		.digest	= "\xed\x54\x49\x40\xc8\x6d\x67\xf2\x50\xd2"
1430 			  "\x32\xc3\x0b\x7b\x3e\x57\x70\xe0\xc6\x0c"
1431 			  "\x8c\xb9\xa4\xca\xfe\x3b\x11\x38\x8a\xf9"
1432 			  "\x92\x0e\x1b\x99\x23\x0b\x84\x3c\x86\xa4",
1433 	}, {
1434 		.plaintext = "1234567890123456789012345678901234567890"
1435 			     "1234567890123456789012345678901234567890",
1436 		.psize	= 80,
1437 		.digest	= "\x55\x78\x88\xaf\x5f\x6d\x8e\xd6\x2a\xb6"
1438 			  "\x69\x45\xc6\xd2\xa0\xa4\x7e\xcd\x53\x41"
1439 			  "\xe9\x15\xeb\x8f\xea\x1d\x05\x24\x95\x5f"
1440 			  "\x82\x5d\xc7\x17\xe4\xa0\x08\xab\x2d\x42",
1441 	}, {
1442 		.plaintext = "abcdbcdecdefdefgefghfghighij"
1443 			     "hijkijkljklmklmnlmnomnopnopq",
1444 		.psize	= 56,
1445 		.digest	= "\xd0\x34\xa7\x95\x0c\xf7\x22\x02\x1b\xa4"
1446 			  "\xb8\x4d\xf7\x69\xa5\xde\x20\x60\xe2\x59"
1447 			  "\xdf\x4c\x9b\xb4\xa4\x26\x8c\x0e\x93\x5b"
1448 			  "\xbc\x74\x70\xa9\x69\xc9\xd0\x72\xa1\xac",
1449 		.np	= 2,
1450 		.tap	= { 28, 28 },
1451 	}
1452 };
1453 
1454 static const struct hash_testvec crct10dif_tv_template[] = {
1455 	{
1456 		.plaintext	= "abc",
1457 		.psize		= 3,
1458 		.digest		= (u8 *)(u16 []){ 0x443b },
1459 	}, {
1460 		.plaintext 	= "1234567890123456789012345678901234567890"
1461 				  "123456789012345678901234567890123456789",
1462 		.psize		= 79,
1463 		.digest 	= (u8 *)(u16 []){ 0x4b70 },
1464 		.np		= 2,
1465 		.tap		= { 63, 16 },
1466 	}, {
1467 		.plaintext	= "abcdddddddddddddddddddddddddddddddddddddddd"
1468 				  "ddddddddddddd",
1469 		.psize		= 56,
1470 		.digest		= (u8 *)(u16 []){ 0x9ce3 },
1471 		.np		= 8,
1472 		.tap		= { 1, 2, 28, 7, 6, 5, 4, 3 },
1473 	}, {
1474 		.plaintext 	= "1234567890123456789012345678901234567890"
1475 				  "1234567890123456789012345678901234567890"
1476 				  "1234567890123456789012345678901234567890"
1477 				  "1234567890123456789012345678901234567890"
1478 				  "1234567890123456789012345678901234567890"
1479 				  "1234567890123456789012345678901234567890"
1480 				  "1234567890123456789012345678901234567890"
1481 				  "123456789012345678901234567890123456789",
1482 		.psize		= 319,
1483 		.digest		= (u8 *)(u16 []){ 0x44c6 },
1484 	}, {
1485 		.plaintext 	= "1234567890123456789012345678901234567890"
1486 				  "1234567890123456789012345678901234567890"
1487 				  "1234567890123456789012345678901234567890"
1488 				  "1234567890123456789012345678901234567890"
1489 				  "1234567890123456789012345678901234567890"
1490 				  "1234567890123456789012345678901234567890"
1491 				  "1234567890123456789012345678901234567890"
1492 				  "123456789012345678901234567890123456789",
1493 		.psize		= 319,
1494 		.digest		= (u8 *)(u16 []){ 0x44c6 },
1495 		.np		= 4,
1496 		.tap		= { 1, 255, 57, 6 },
1497 	}
1498 };
1499 
1500 /*
1501  * SHA1 test vectors  from from FIPS PUB 180-1
1502  * Long vector from CAVS 5.0
1503  */
1504 static const struct hash_testvec sha1_tv_template[] = {
1505 	{
1506 		.plaintext = "",
1507 		.psize	= 0,
1508 		.digest	= "\xda\x39\xa3\xee\x5e\x6b\x4b\x0d\x32\x55"
1509 			  "\xbf\xef\x95\x60\x18\x90\xaf\xd8\x07\x09",
1510 	}, {
1511 		.plaintext = "abc",
1512 		.psize	= 3,
1513 		.digest	= "\xa9\x99\x3e\x36\x47\x06\x81\x6a\xba\x3e"
1514 			  "\x25\x71\x78\x50\xc2\x6c\x9c\xd0\xd8\x9d",
1515 	}, {
1516 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1517 		.psize	= 56,
1518 		.digest	= "\x84\x98\x3e\x44\x1c\x3b\xd2\x6e\xba\xae"
1519 			  "\x4a\xa1\xf9\x51\x29\xe5\xe5\x46\x70\xf1",
1520 		.np	= 2,
1521 		.tap	= { 28, 28 }
1522 	}, {
1523 		.plaintext = "\xec\x29\x56\x12\x44\xed\xe7\x06"
1524 			     "\xb6\xeb\x30\xa1\xc3\x71\xd7\x44"
1525 			     "\x50\xa1\x05\xc3\xf9\x73\x5f\x7f"
1526 			     "\xa9\xfe\x38\xcf\x67\xf3\x04\xa5"
1527 			     "\x73\x6a\x10\x6e\x92\xe1\x71\x39"
1528 			     "\xa6\x81\x3b\x1c\x81\xa4\xf3\xd3"
1529 			     "\xfb\x95\x46\xab\x42\x96\xfa\x9f"
1530 			     "\x72\x28\x26\xc0\x66\x86\x9e\xda"
1531 			     "\xcd\x73\xb2\x54\x80\x35\x18\x58"
1532 			     "\x13\xe2\x26\x34\xa9\xda\x44\x00"
1533 			     "\x0d\x95\xa2\x81\xff\x9f\x26\x4e"
1534 			     "\xcc\xe0\xa9\x31\x22\x21\x62\xd0"
1535 			     "\x21\xcc\xa2\x8d\xb5\xf3\xc2\xaa"
1536 			     "\x24\x94\x5a\xb1\xe3\x1c\xb4\x13"
1537 			     "\xae\x29\x81\x0f\xd7\x94\xca\xd5"
1538 			     "\xdf\xaf\x29\xec\x43\xcb\x38\xd1"
1539 			     "\x98\xfe\x4a\xe1\xda\x23\x59\x78"
1540 			     "\x02\x21\x40\x5b\xd6\x71\x2a\x53"
1541 			     "\x05\xda\x4b\x1b\x73\x7f\xce\x7c"
1542 			     "\xd2\x1c\x0e\xb7\x72\x8d\x08\x23"
1543 			     "\x5a\x90\x11",
1544 		.psize	= 163,
1545 		.digest	= "\x97\x01\x11\xc4\xe7\x7b\xcc\x88\xcc\x20"
1546 			  "\x45\x9c\x02\xb6\x9b\x4a\xa8\xf5\x82\x17",
1547 		.np	= 4,
1548 		.tap	= { 63, 64, 31, 5 }
1549 	}, {
1550 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1551 		.psize	= 64,
1552 		.digest = "\xc8\x71\xf6\x9a\x63\xcc\xa9\x84\x84\x82"
1553 			  "\x64\xe7\x79\x95\x5d\xd7\x19\x41\x7c\x91",
1554 	}, {
1555 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1556 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1557 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1558 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1559 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1560 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1561 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1562 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1563 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1564 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1565 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1566 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1567 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1568 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1569 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1570 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1571 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1572 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1573 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1574 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1575 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1576 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1577 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1578 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1579 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1580 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1581 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1582 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1583 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1584 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1585 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1586 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1587 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1588 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1589 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1590 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1591 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1592 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1593 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1594 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1595 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1596 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1597 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1598 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1599 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1600 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1601 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1602 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1603 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1604 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1605 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1606 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1607 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1608 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1609 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1610 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1611 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1612 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1613 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1614 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1615 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1616 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1617 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1618 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1619 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1620 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1621 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1622 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1623 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1624 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1625 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1626 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1627 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1628 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1629 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1630 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1631 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1632 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1633 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1634 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1635 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1636 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1637 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1638 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1639 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1640 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1641 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1642 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1643 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1644 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1645 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1646 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1647 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1648 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1649 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1650 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1651 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1652 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1653 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1654 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1655 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1656 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1657 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1658 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1659 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1660 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1661 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1662 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1663 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1664 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1665 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1666 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1667 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1668 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1669 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1670 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1671 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1672 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1673 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1674 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1675 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1676 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1677 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1678 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1679 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1680 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1681 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1682 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1683 		.psize     = 1023,
1684 		.digest    = "\xb8\xe3\x54\xed\xc5\xfc\xef\xa4"
1685 			     "\x55\x73\x4a\x81\x99\xe4\x47\x2a"
1686 			     "\x30\xd6\xc9\x85",
1687 	}
1688 };
1689 
1690 
1691 /*
1692  * SHA224 test vectors from from FIPS PUB 180-2
1693  */
1694 static const struct hash_testvec sha224_tv_template[] = {
1695 	{
1696 		.plaintext = "",
1697 		.psize	= 0,
1698 		.digest	= "\xd1\x4a\x02\x8c\x2a\x3a\x2b\xc9"
1699 			  "\x47\x61\x02\xbb\x28\x82\x34\xc4"
1700 			  "\x15\xa2\xb0\x1f\x82\x8e\xa6\x2a"
1701 			  "\xc5\xb3\xe4\x2f",
1702 	}, {
1703 		.plaintext = "abc",
1704 		.psize  = 3,
1705 		.digest = "\x23\x09\x7D\x22\x34\x05\xD8\x22"
1706 			  "\x86\x42\xA4\x77\xBD\xA2\x55\xB3"
1707 			  "\x2A\xAD\xBC\xE4\xBD\xA0\xB3\xF7"
1708 			  "\xE3\x6C\x9D\xA7",
1709 	}, {
1710 		.plaintext =
1711 		"abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1712 		.psize  = 56,
1713 		.digest = "\x75\x38\x8B\x16\x51\x27\x76\xCC"
1714 			  "\x5D\xBA\x5D\xA1\xFD\x89\x01\x50"
1715 			  "\xB0\xC6\x45\x5C\xB4\xF5\x8B\x19"
1716 			  "\x52\x52\x25\x25",
1717 		.np     = 2,
1718 		.tap    = { 28, 28 }
1719 	}, {
1720 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1721 		.psize	= 64,
1722 		.digest = "\xc4\xdb\x2b\x3a\x58\xc3\x99\x01"
1723 			  "\x42\xfd\x10\x92\xaa\x4e\x04\x08"
1724 			  "\x58\xbb\xbb\xe8\xf8\x14\xa7\x0c"
1725 			  "\xef\x3b\xcb\x0e",
1726 	}, {
1727 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1728 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1729 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1730 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1731 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1732 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1733 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1734 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1735 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1736 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1737 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1738 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1739 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1740 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1741 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1742 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1743 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1744 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1745 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1746 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1747 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1748 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1749 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1750 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1751 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1752 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1753 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1754 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1755 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1756 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1757 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1758 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1759 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1760 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1761 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1762 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1763 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1764 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1765 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1766 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1767 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1768 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1769 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1770 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1771 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1772 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1773 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1774 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1775 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1776 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1777 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1778 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1779 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1780 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1781 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1782 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1783 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1784 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1785 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1786 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1787 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1788 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1789 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1790 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1791 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1792 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1793 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1794 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1795 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1796 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1797 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1798 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1799 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1800 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1801 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1802 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1803 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1804 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1805 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1806 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1807 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1808 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1809 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1810 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1811 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1812 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1813 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1814 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1815 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1816 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1817 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1818 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1819 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1820 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1821 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1822 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1823 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1824 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1825 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1826 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1827 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1828 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
1829 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
1830 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
1831 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
1832 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
1833 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
1834 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
1835 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
1836 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
1837 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
1838 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
1839 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
1840 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
1841 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
1842 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
1843 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
1844 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
1845 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
1846 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
1847 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
1848 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
1849 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
1850 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
1851 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
1852 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
1853 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
1854 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
1855 		.psize     = 1023,
1856 		.digest    = "\x98\x43\x07\x63\x75\xe0\xa7\x1c"
1857 			     "\x78\xb1\x8b\xfd\x04\xf5\x2d\x91"
1858 			     "\x20\x48\xa4\x28\xff\x55\xb1\xd3"
1859 			     "\xe6\xf9\x4f\xcc",
1860 	}
1861 };
1862 
1863 /*
1864  * SHA256 test vectors from from NIST
1865  */
1866 static const struct hash_testvec sha256_tv_template[] = {
1867 	{
1868 		.plaintext = "",
1869 		.psize	= 0,
1870 		.digest	= "\xe3\xb0\xc4\x42\x98\xfc\x1c\x14"
1871 			  "\x9a\xfb\xf4\xc8\x99\x6f\xb9\x24"
1872 			  "\x27\xae\x41\xe4\x64\x9b\x93\x4c"
1873 			  "\xa4\x95\x99\x1b\x78\x52\xb8\x55",
1874 	}, {
1875 		.plaintext = "abc",
1876 		.psize	= 3,
1877 		.digest	= "\xba\x78\x16\xbf\x8f\x01\xcf\xea"
1878 			  "\x41\x41\x40\xde\x5d\xae\x22\x23"
1879 			  "\xb0\x03\x61\xa3\x96\x17\x7a\x9c"
1880 			  "\xb4\x10\xff\x61\xf2\x00\x15\xad",
1881 	}, {
1882 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
1883 		.psize	= 56,
1884 		.digest	= "\x24\x8d\x6a\x61\xd2\x06\x38\xb8"
1885 			  "\xe5\xc0\x26\x93\x0c\x3e\x60\x39"
1886 			  "\xa3\x3c\xe4\x59\x64\xff\x21\x67"
1887 			  "\xf6\xec\xed\xd4\x19\xdb\x06\xc1",
1888 		.np	= 2,
1889 		.tap	= { 28, 28 }
1890 	}, {
1891 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
1892 		.psize	= 64,
1893 		.digest = "\xb5\xfe\xad\x56\x7d\xff\xcb\xa4"
1894 			  "\x2c\x32\x29\x32\x19\xbb\xfb\xfa"
1895 			  "\xd6\xff\x94\xa3\x72\x91\x85\x66"
1896 			  "\x3b\xa7\x87\x77\x58\xa3\x40\x3a",
1897 	}, {
1898 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
1899 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
1900 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
1901 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
1902 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
1903 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
1904 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
1905 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
1906 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
1907 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
1908 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
1909 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
1910 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
1911 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
1912 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
1913 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
1914 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
1915 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
1916 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
1917 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
1918 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
1919 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
1920 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
1921 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
1922 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
1923 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
1924 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
1925 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
1926 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
1927 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
1928 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
1929 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
1930 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
1931 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
1932 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
1933 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
1934 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
1935 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
1936 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
1937 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
1938 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
1939 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
1940 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
1941 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
1942 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
1943 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
1944 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
1945 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
1946 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
1947 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
1948 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
1949 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
1950 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
1951 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
1952 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
1953 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
1954 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
1955 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
1956 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
1957 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
1958 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
1959 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
1960 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
1961 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
1962 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
1963 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
1964 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
1965 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
1966 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
1967 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
1968 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
1969 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
1970 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
1971 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
1972 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
1973 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
1974 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
1975 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
1976 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
1977 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
1978 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
1979 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
1980 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
1981 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
1982 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
1983 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
1984 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
1985 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
1986 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
1987 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
1988 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
1989 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
1990 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
1991 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
1992 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
1993 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
1994 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
1995 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
1996 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
1997 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
1998 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
1999 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2000 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2001 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2002 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2003 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2004 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2005 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2006 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2007 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2008 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2009 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2010 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2011 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2012 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2013 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2014 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2015 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2016 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2017 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2018 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2019 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2020 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2021 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2022 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2023 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2024 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2025 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2026 		.psize     = 1023,
2027 		.digest    = "\xc5\xce\x0c\xca\x01\x4f\x53\x3a"
2028 			     "\x32\x32\x17\xcc\xd4\x6a\x71\xa9"
2029 			     "\xf3\xed\x50\x10\x64\x8e\x06\xbe"
2030 			     "\x9b\x4a\xa6\xbb\x05\x89\x59\x51",
2031 	}
2032 };
2033 
2034 /*
2035  * SHA384 test vectors from from NIST and kerneli
2036  */
2037 static const struct hash_testvec sha384_tv_template[] = {
2038 	{
2039 		.plaintext = "",
2040 		.psize	= 0,
2041 		.digest	= "\x38\xb0\x60\xa7\x51\xac\x96\x38"
2042 			  "\x4c\xd9\x32\x7e\xb1\xb1\xe3\x6a"
2043 			  "\x21\xfd\xb7\x11\x14\xbe\x07\x43"
2044 			  "\x4c\x0c\xc7\xbf\x63\xf6\xe1\xda"
2045 			  "\x27\x4e\xde\xbf\xe7\x6f\x65\xfb"
2046 			  "\xd5\x1a\xd2\xf1\x48\x98\xb9\x5b",
2047 	}, {
2048 		.plaintext= "abc",
2049 		.psize	= 3,
2050 		.digest	= "\xcb\x00\x75\x3f\x45\xa3\x5e\x8b"
2051 			  "\xb5\xa0\x3d\x69\x9a\xc6\x50\x07"
2052 			  "\x27\x2c\x32\xab\x0e\xde\xd1\x63"
2053 			  "\x1a\x8b\x60\x5a\x43\xff\x5b\xed"
2054 			  "\x80\x86\x07\x2b\xa1\xe7\xcc\x23"
2055 			  "\x58\xba\xec\xa1\x34\xc8\x25\xa7",
2056 	}, {
2057 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2058 		.psize	= 56,
2059 		.digest	= "\x33\x91\xfd\xdd\xfc\x8d\xc7\x39"
2060 			  "\x37\x07\xa6\x5b\x1b\x47\x09\x39"
2061 			  "\x7c\xf8\xb1\xd1\x62\xaf\x05\xab"
2062 			  "\xfe\x8f\x45\x0d\xe5\xf3\x6b\xc6"
2063 			  "\xb0\x45\x5a\x85\x20\xbc\x4e\x6f"
2064 			  "\x5f\xe9\x5b\x1f\xe3\xc8\x45\x2b",
2065 	}, {
2066 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
2067 			   "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
2068 		.psize	= 112,
2069 		.digest	= "\x09\x33\x0c\x33\xf7\x11\x47\xe8"
2070 			  "\x3d\x19\x2f\xc7\x82\xcd\x1b\x47"
2071 			  "\x53\x11\x1b\x17\x3b\x3b\x05\xd2"
2072 			  "\x2f\xa0\x80\x86\xe3\xb0\xf7\x12"
2073 			  "\xfc\xc7\xc7\x1a\x55\x7e\x2d\xb9"
2074 			  "\x66\xc3\xe9\xfa\x91\x74\x60\x39",
2075 	}, {
2076 		.plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
2077 			   "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
2078 		.psize	= 104,
2079 		.digest	= "\x3d\x20\x89\x73\xab\x35\x08\xdb"
2080 			  "\xbd\x7e\x2c\x28\x62\xba\x29\x0a"
2081 			  "\xd3\x01\x0e\x49\x78\xc1\x98\xdc"
2082 			  "\x4d\x8f\xd0\x14\xe5\x82\x82\x3a"
2083 			  "\x89\xe1\x6f\x9b\x2a\x7b\xbc\x1a"
2084 			  "\xc9\x38\xe2\xd1\x99\xe8\xbe\xa4",
2085 		.np	= 4,
2086 		.tap	= { 26, 26, 26, 26 }
2087 	}, {
2088 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2089 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2090 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2091 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2092 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2093 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2094 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2095 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2096 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2097 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2098 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2099 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2100 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2101 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2102 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2103 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2104 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2105 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2106 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2107 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2108 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2109 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2110 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2111 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2112 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2113 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2114 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2115 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2116 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2117 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2118 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2119 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2120 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2121 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2122 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2123 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2124 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2125 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2126 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2127 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2128 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2129 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2130 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2131 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2132 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2133 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2134 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2135 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2136 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2137 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2138 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2139 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2140 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2141 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2142 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2143 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2144 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2145 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2146 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2147 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2148 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2149 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2150 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2151 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2152 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2153 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2154 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2155 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2156 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2157 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2158 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2159 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2160 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2161 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2162 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2163 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2164 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2165 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2166 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2167 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2168 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2169 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2170 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2171 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2172 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2173 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2174 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2175 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2176 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2177 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2178 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2179 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2180 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2181 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2182 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2183 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2184 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2185 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2186 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2187 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2188 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2189 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2190 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2191 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2192 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2193 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2194 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2195 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2196 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2197 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2198 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2199 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2200 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2201 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2202 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2203 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2204 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2205 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2206 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2207 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2208 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2209 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2210 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2211 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2212 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2213 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2214 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2215 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2216 		.psize     = 1023,
2217 		.digest    = "\x4d\x97\x23\xc8\xea\x7a\x7c\x15"
2218 			     "\xb8\xff\x97\x9c\xf5\x13\x4f\x31"
2219 			     "\xde\x67\xf7\x24\x73\xcd\x70\x1c"
2220 			     "\x03\x4a\xba\x8a\x87\x49\xfe\xdc"
2221 			     "\x75\x29\x62\x83\xae\x3f\x17\xab"
2222 			     "\xfd\x10\x4d\x8e\x17\x1c\x1f\xca",
2223 	}
2224 };
2225 
2226 /*
2227  * SHA512 test vectors from from NIST and kerneli
2228  */
2229 static const struct hash_testvec sha512_tv_template[] = {
2230 	{
2231 		.plaintext = "",
2232 		.psize	= 0,
2233 		.digest	= "\xcf\x83\xe1\x35\x7e\xef\xb8\xbd"
2234 			  "\xf1\x54\x28\x50\xd6\x6d\x80\x07"
2235 			  "\xd6\x20\xe4\x05\x0b\x57\x15\xdc"
2236 			  "\x83\xf4\xa9\x21\xd3\x6c\xe9\xce"
2237 			  "\x47\xd0\xd1\x3c\x5d\x85\xf2\xb0"
2238 			  "\xff\x83\x18\xd2\x87\x7e\xec\x2f"
2239 			  "\x63\xb9\x31\xbd\x47\x41\x7a\x81"
2240 			  "\xa5\x38\x32\x7a\xf9\x27\xda\x3e",
2241 	}, {
2242 		.plaintext = "abc",
2243 		.psize	= 3,
2244 		.digest	= "\xdd\xaf\x35\xa1\x93\x61\x7a\xba"
2245 			  "\xcc\x41\x73\x49\xae\x20\x41\x31"
2246 			  "\x12\xe6\xfa\x4e\x89\xa9\x7e\xa2"
2247 			  "\x0a\x9e\xee\xe6\x4b\x55\xd3\x9a"
2248 			  "\x21\x92\x99\x2a\x27\x4f\xc1\xa8"
2249 			  "\x36\xba\x3c\x23\xa3\xfe\xeb\xbd"
2250 			  "\x45\x4d\x44\x23\x64\x3c\xe8\x0e"
2251 			  "\x2a\x9a\xc9\x4f\xa5\x4c\xa4\x9f",
2252 	}, {
2253 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
2254 		.psize	= 56,
2255 		.digest	= "\x20\x4a\x8f\xc6\xdd\xa8\x2f\x0a"
2256 			  "\x0c\xed\x7b\xeb\x8e\x08\xa4\x16"
2257 			  "\x57\xc1\x6e\xf4\x68\xb2\x28\xa8"
2258 			  "\x27\x9b\xe3\x31\xa7\x03\xc3\x35"
2259 			  "\x96\xfd\x15\xc1\x3b\x1b\x07\xf9"
2260 			  "\xaa\x1d\x3b\xea\x57\x78\x9c\xa0"
2261 			  "\x31\xad\x85\xc7\xa7\x1d\xd7\x03"
2262 			  "\x54\xec\x63\x12\x38\xca\x34\x45",
2263 	}, {
2264 		.plaintext = "abcdefghbcdefghicdefghijdefghijkefghijklfghijklmghijklmn"
2265 			   "hijklmnoijklmnopjklmnopqklmnopqrlmnopqrsmnopqrstnopqrstu",
2266 		.psize	= 112,
2267 		.digest	= "\x8e\x95\x9b\x75\xda\xe3\x13\xda"
2268 			  "\x8c\xf4\xf7\x28\x14\xfc\x14\x3f"
2269 			  "\x8f\x77\x79\xc6\xeb\x9f\x7f\xa1"
2270 			  "\x72\x99\xae\xad\xb6\x88\x90\x18"
2271 			  "\x50\x1d\x28\x9e\x49\x00\xf7\xe4"
2272 			  "\x33\x1b\x99\xde\xc4\xb5\x43\x3a"
2273 			  "\xc7\xd3\x29\xee\xb6\xdd\x26\x54"
2274 			  "\x5e\x96\xe5\x5b\x87\x4b\xe9\x09",
2275 	}, {
2276 		.plaintext = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcd"
2277 			   "efghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz",
2278 		.psize	= 104,
2279 		.digest	= "\x93\x0d\x0c\xef\xcb\x30\xff\x11"
2280 			  "\x33\xb6\x89\x81\x21\xf1\xcf\x3d"
2281 			  "\x27\x57\x8a\xfc\xaf\xe8\x67\x7c"
2282 			  "\x52\x57\xcf\x06\x99\x11\xf7\x5d"
2283 			  "\x8f\x58\x31\xb5\x6e\xbf\xda\x67"
2284 			  "\xb2\x78\xe6\x6d\xff\x8b\x84\xfe"
2285 			  "\x2b\x28\x70\xf7\x42\xa5\x80\xd8"
2286 			  "\xed\xb4\x19\x87\x23\x28\x50\xc9",
2287 		.np	= 4,
2288 		.tap	= { 26, 26, 26, 26 }
2289 	}, {
2290 		.plaintext = "\x08\x9f\x13\xaa\x41\xd8\x4c\xe3"
2291 			     "\x7a\x11\x85\x1c\xb3\x27\xbe\x55"
2292 			     "\xec\x60\xf7\x8e\x02\x99\x30\xc7"
2293 			     "\x3b\xd2\x69\x00\x74\x0b\xa2\x16"
2294 			     "\xad\x44\xdb\x4f\xe6\x7d\x14\x88"
2295 			     "\x1f\xb6\x2a\xc1\x58\xef\x63\xfa"
2296 			     "\x91\x05\x9c\x33\xca\x3e\xd5\x6c"
2297 			     "\x03\x77\x0e\xa5\x19\xb0\x47\xde"
2298 			     "\x52\xe9\x80\x17\x8b\x22\xb9\x2d"
2299 			     "\xc4\x5b\xf2\x66\xfd\x94\x08\x9f"
2300 			     "\x36\xcd\x41\xd8\x6f\x06\x7a\x11"
2301 			     "\xa8\x1c\xb3\x4a\xe1\x55\xec\x83"
2302 			     "\x1a\x8e\x25\xbc\x30\xc7\x5e\xf5"
2303 			     "\x69\x00\x97\x0b\xa2\x39\xd0\x44"
2304 			     "\xdb\x72\x09\x7d\x14\xab\x1f\xb6"
2305 			     "\x4d\xe4\x58\xef\x86\x1d\x91\x28"
2306 			     "\xbf\x33\xca\x61\xf8\x6c\x03\x9a"
2307 			     "\x0e\xa5\x3c\xd3\x47\xde\x75\x0c"
2308 			     "\x80\x17\xae\x22\xb9\x50\xe7\x5b"
2309 			     "\xf2\x89\x20\x94\x2b\xc2\x36\xcd"
2310 			     "\x64\xfb\x6f\x06\x9d\x11\xa8\x3f"
2311 			     "\xd6\x4a\xe1\x78\x0f\x83\x1a\xb1"
2312 			     "\x25\xbc\x53\xea\x5e\xf5\x8c\x00"
2313 			     "\x97\x2e\xc5\x39\xd0\x67\xfe\x72"
2314 			     "\x09\xa0\x14\xab\x42\xd9\x4d\xe4"
2315 			     "\x7b\x12\x86\x1d\xb4\x28\xbf\x56"
2316 			     "\xed\x61\xf8\x8f\x03\x9a\x31\xc8"
2317 			     "\x3c\xd3\x6a\x01\x75\x0c\xa3\x17"
2318 			     "\xae\x45\xdc\x50\xe7\x7e\x15\x89"
2319 			     "\x20\xb7\x2b\xc2\x59\xf0\x64\xfb"
2320 			     "\x92\x06\x9d\x34\xcb\x3f\xd6\x6d"
2321 			     "\x04\x78\x0f\xa6\x1a\xb1\x48\xdf"
2322 			     "\x53\xea\x81\x18\x8c\x23\xba\x2e"
2323 			     "\xc5\x5c\xf3\x67\xfe\x95\x09\xa0"
2324 			     "\x37\xce\x42\xd9\x70\x07\x7b\x12"
2325 			     "\xa9\x1d\xb4\x4b\xe2\x56\xed\x84"
2326 			     "\x1b\x8f\x26\xbd\x31\xc8\x5f\xf6"
2327 			     "\x6a\x01\x98\x0c\xa3\x3a\xd1\x45"
2328 			     "\xdc\x73\x0a\x7e\x15\xac\x20\xb7"
2329 			     "\x4e\xe5\x59\xf0\x87\x1e\x92\x29"
2330 			     "\xc0\x34\xcb\x62\xf9\x6d\x04\x9b"
2331 			     "\x0f\xa6\x3d\xd4\x48\xdf\x76\x0d"
2332 			     "\x81\x18\xaf\x23\xba\x51\xe8\x5c"
2333 			     "\xf3\x8a\x21\x95\x2c\xc3\x37\xce"
2334 			     "\x65\xfc\x70\x07\x9e\x12\xa9\x40"
2335 			     "\xd7\x4b\xe2\x79\x10\x84\x1b\xb2"
2336 			     "\x26\xbd\x54\xeb\x5f\xf6\x8d\x01"
2337 			     "\x98\x2f\xc6\x3a\xd1\x68\xff\x73"
2338 			     "\x0a\xa1\x15\xac\x43\xda\x4e\xe5"
2339 			     "\x7c\x13\x87\x1e\xb5\x29\xc0\x57"
2340 			     "\xee\x62\xf9\x90\x04\x9b\x32\xc9"
2341 			     "\x3d\xd4\x6b\x02\x76\x0d\xa4\x18"
2342 			     "\xaf\x46\xdd\x51\xe8\x7f\x16\x8a"
2343 			     "\x21\xb8\x2c\xc3\x5a\xf1\x65\xfc"
2344 			     "\x93\x07\x9e\x35\xcc\x40\xd7\x6e"
2345 			     "\x05\x79\x10\xa7\x1b\xb2\x49\xe0"
2346 			     "\x54\xeb\x82\x19\x8d\x24\xbb\x2f"
2347 			     "\xc6\x5d\xf4\x68\xff\x96\x0a\xa1"
2348 			     "\x38\xcf\x43\xda\x71\x08\x7c\x13"
2349 			     "\xaa\x1e\xb5\x4c\xe3\x57\xee\x85"
2350 			     "\x1c\x90\x27\xbe\x32\xc9\x60\xf7"
2351 			     "\x6b\x02\x99\x0d\xa4\x3b\xd2\x46"
2352 			     "\xdd\x74\x0b\x7f\x16\xad\x21\xb8"
2353 			     "\x4f\xe6\x5a\xf1\x88\x1f\x93\x2a"
2354 			     "\xc1\x35\xcc\x63\xfa\x6e\x05\x9c"
2355 			     "\x10\xa7\x3e\xd5\x49\xe0\x77\x0e"
2356 			     "\x82\x19\xb0\x24\xbb\x52\xe9\x5d"
2357 			     "\xf4\x8b\x22\x96\x2d\xc4\x38\xcf"
2358 			     "\x66\xfd\x71\x08\x9f\x13\xaa\x41"
2359 			     "\xd8\x4c\xe3\x7a\x11\x85\x1c\xb3"
2360 			     "\x27\xbe\x55\xec\x60\xf7\x8e\x02"
2361 			     "\x99\x30\xc7\x3b\xd2\x69\x00\x74"
2362 			     "\x0b\xa2\x16\xad\x44\xdb\x4f\xe6"
2363 			     "\x7d\x14\x88\x1f\xb6\x2a\xc1\x58"
2364 			     "\xef\x63\xfa\x91\x05\x9c\x33\xca"
2365 			     "\x3e\xd5\x6c\x03\x77\x0e\xa5\x19"
2366 			     "\xb0\x47\xde\x52\xe9\x80\x17\x8b"
2367 			     "\x22\xb9\x2d\xc4\x5b\xf2\x66\xfd"
2368 			     "\x94\x08\x9f\x36\xcd\x41\xd8\x6f"
2369 			     "\x06\x7a\x11\xa8\x1c\xb3\x4a\xe1"
2370 			     "\x55\xec\x83\x1a\x8e\x25\xbc\x30"
2371 			     "\xc7\x5e\xf5\x69\x00\x97\x0b\xa2"
2372 			     "\x39\xd0\x44\xdb\x72\x09\x7d\x14"
2373 			     "\xab\x1f\xb6\x4d\xe4\x58\xef\x86"
2374 			     "\x1d\x91\x28\xbf\x33\xca\x61\xf8"
2375 			     "\x6c\x03\x9a\x0e\xa5\x3c\xd3\x47"
2376 			     "\xde\x75\x0c\x80\x17\xae\x22\xb9"
2377 			     "\x50\xe7\x5b\xf2\x89\x20\x94\x2b"
2378 			     "\xc2\x36\xcd\x64\xfb\x6f\x06\x9d"
2379 			     "\x11\xa8\x3f\xd6\x4a\xe1\x78\x0f"
2380 			     "\x83\x1a\xb1\x25\xbc\x53\xea\x5e"
2381 			     "\xf5\x8c\x00\x97\x2e\xc5\x39\xd0"
2382 			     "\x67\xfe\x72\x09\xa0\x14\xab\x42"
2383 			     "\xd9\x4d\xe4\x7b\x12\x86\x1d\xb4"
2384 			     "\x28\xbf\x56\xed\x61\xf8\x8f\x03"
2385 			     "\x9a\x31\xc8\x3c\xd3\x6a\x01\x75"
2386 			     "\x0c\xa3\x17\xae\x45\xdc\x50\xe7"
2387 			     "\x7e\x15\x89\x20\xb7\x2b\xc2\x59"
2388 			     "\xf0\x64\xfb\x92\x06\x9d\x34\xcb"
2389 			     "\x3f\xd6\x6d\x04\x78\x0f\xa6\x1a"
2390 			     "\xb1\x48\xdf\x53\xea\x81\x18\x8c"
2391 			     "\x23\xba\x2e\xc5\x5c\xf3\x67\xfe"
2392 			     "\x95\x09\xa0\x37\xce\x42\xd9\x70"
2393 			     "\x07\x7b\x12\xa9\x1d\xb4\x4b\xe2"
2394 			     "\x56\xed\x84\x1b\x8f\x26\xbd\x31"
2395 			     "\xc8\x5f\xf6\x6a\x01\x98\x0c\xa3"
2396 			     "\x3a\xd1\x45\xdc\x73\x0a\x7e\x15"
2397 			     "\xac\x20\xb7\x4e\xe5\x59\xf0\x87"
2398 			     "\x1e\x92\x29\xc0\x34\xcb\x62\xf9"
2399 			     "\x6d\x04\x9b\x0f\xa6\x3d\xd4\x48"
2400 			     "\xdf\x76\x0d\x81\x18\xaf\x23\xba"
2401 			     "\x51\xe8\x5c\xf3\x8a\x21\x95\x2c"
2402 			     "\xc3\x37\xce\x65\xfc\x70\x07\x9e"
2403 			     "\x12\xa9\x40\xd7\x4b\xe2\x79\x10"
2404 			     "\x84\x1b\xb2\x26\xbd\x54\xeb\x5f"
2405 			     "\xf6\x8d\x01\x98\x2f\xc6\x3a\xd1"
2406 			     "\x68\xff\x73\x0a\xa1\x15\xac\x43"
2407 			     "\xda\x4e\xe5\x7c\x13\x87\x1e\xb5"
2408 			     "\x29\xc0\x57\xee\x62\xf9\x90\x04"
2409 			     "\x9b\x32\xc9\x3d\xd4\x6b\x02\x76"
2410 			     "\x0d\xa4\x18\xaf\x46\xdd\x51\xe8"
2411 			     "\x7f\x16\x8a\x21\xb8\x2c\xc3\x5a"
2412 			     "\xf1\x65\xfc\x93\x07\x9e\x35\xcc"
2413 			     "\x40\xd7\x6e\x05\x79\x10\xa7\x1b"
2414 			     "\xb2\x49\xe0\x54\xeb\x82\x19\x8d"
2415 			     "\x24\xbb\x2f\xc6\x5d\xf4\x68\xff"
2416 			     "\x96\x0a\xa1\x38\xcf\x43\xda\x71"
2417 			     "\x08\x7c\x13\xaa\x1e\xb5\x4c",
2418 		.psize     = 1023,
2419 		.digest    = "\x76\xc9\xd4\x91\x7a\x5f\x0f\xaa"
2420 			     "\x13\x39\xf3\x01\x7a\xfa\xe5\x41"
2421 			     "\x5f\x0b\xf8\xeb\x32\xfc\xbf\xb0"
2422 			     "\xfa\x8c\xcd\x17\x83\xe2\xfa\xeb"
2423 			     "\x1c\x19\xde\xe2\x75\xdc\x34\x64"
2424 			     "\x5f\x35\x9c\x61\x2f\x10\xf9\xec"
2425 			     "\x59\xca\x9d\xcc\x25\x0c\x43\xba"
2426 			     "\x85\xa8\xf8\xfe\xb5\x24\xb2\xee",
2427 	}
2428 };
2429 
2430 
2431 /*
2432  * WHIRLPOOL test vectors from Whirlpool package
2433  * by Vincent Rijmen and Paulo S. L. M. Barreto as part of the NESSIE
2434  * submission
2435  */
2436 static const struct hash_testvec wp512_tv_template[] = {
2437 	{
2438 		.plaintext = "",
2439 		.psize	= 0,
2440 		.digest	= "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
2441 			  "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
2442 			  "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
2443 			  "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
2444 			  "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
2445 			  "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57"
2446 			  "\xEA\x89\x64\xE5\x9B\x63\xD9\x37"
2447 			  "\x08\xB1\x38\xCC\x42\xA6\x6E\xB3",
2448 
2449 
2450 	}, {
2451 		.plaintext = "a",
2452 		.psize	= 1,
2453 		.digest	= "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
2454 			  "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
2455 			  "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
2456 			  "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
2457 			  "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
2458 			  "\x3A\x42\x39\x1A\x39\x14\x5A\x59"
2459 			  "\x1A\x92\x20\x0D\x56\x01\x95\xE5"
2460 			  "\x3B\x47\x85\x84\xFD\xAE\x23\x1A",
2461 	}, {
2462 		.plaintext = "abc",
2463 		.psize	= 3,
2464 		.digest	= "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
2465 			  "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
2466 			  "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
2467 			  "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
2468 			  "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
2469 			  "\x7D\x0E\x34\x95\x71\x14\xCB\xD6"
2470 			  "\xC7\x97\xFC\x9D\x95\xD8\xB5\x82"
2471 			  "\xD2\x25\x29\x20\x76\xD4\xEE\xF5",
2472 	}, {
2473 		.plaintext = "message digest",
2474 		.psize	= 14,
2475 		.digest	= "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
2476 			  "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
2477 			  "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
2478 			  "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
2479 			  "\x84\x21\x55\x76\x59\xEF\x55\xC1"
2480 			  "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6"
2481 			  "\x92\xED\x92\x00\x52\x83\x8F\x33"
2482 			  "\x62\xE8\x6D\xBD\x37\xA8\x90\x3E",
2483 	}, {
2484 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
2485 		.psize	= 26,
2486 		.digest	= "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
2487 			  "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
2488 			  "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
2489 			  "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
2490 			  "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
2491 			  "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6"
2492 			  "\xF6\x8F\x67\x3E\x72\x07\x86\x5D"
2493 			  "\x5D\x98\x19\xA3\xDB\xA4\xEB\x3B",
2494 	}, {
2495 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2496 			   "abcdefghijklmnopqrstuvwxyz0123456789",
2497 		.psize	= 62,
2498 		.digest	= "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
2499 			  "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
2500 			  "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
2501 			  "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
2502 			  "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
2503 			  "\xB7\xCB\x57\x21\x1B\x92\x81\xA6"
2504 			  "\x55\x17\xCC\x87\x9D\x7B\x96\x21"
2505 			  "\x42\xC6\x5F\x5A\x7A\xF0\x14\x67",
2506 	}, {
2507 		.plaintext = "1234567890123456789012345678901234567890"
2508 			   "1234567890123456789012345678901234567890",
2509 		.psize	= 80,
2510 		.digest	= "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
2511 			  "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
2512 			  "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
2513 			  "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
2514 			  "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
2515 			  "\x38\xCD\x04\x7B\x26\x81\xA5\x1A"
2516 			  "\x2C\x60\x48\x1E\x88\xC5\xA2\x0B"
2517 			  "\x2C\x2A\x80\xCF\x3A\x9A\x08\x3B",
2518 	}, {
2519 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2520 		.psize	= 32,
2521 		.digest	= "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
2522 			  "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
2523 			  "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
2524 			  "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
2525 			  "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
2526 			  "\x7B\x94\x76\x39\xFE\x05\x0B\x56"
2527 			  "\x93\x9B\xAA\xA0\xAD\xFF\x9A\xE6"
2528 			  "\x74\x5B\x7B\x18\x1C\x3B\xE3\xFD",
2529 	},
2530 };
2531 
2532 static const struct hash_testvec wp384_tv_template[] = {
2533 	{
2534 		.plaintext = "",
2535 		.psize	= 0,
2536 		.digest	= "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
2537 			  "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
2538 			  "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
2539 			  "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7"
2540 			  "\x3E\x83\xBE\x69\x8B\x28\x8F\xEB"
2541 			  "\xCF\x88\xE3\xE0\x3C\x4F\x07\x57",
2542 
2543 
2544 	}, {
2545 		.plaintext = "a",
2546 		.psize	= 1,
2547 		.digest	= "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
2548 			  "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
2549 			  "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
2550 			  "\x73\xC4\x50\x01\xD0\x08\x7B\x42"
2551 			  "\xD1\x1B\xC6\x45\x41\x3A\xEF\xF6"
2552 			  "\x3A\x42\x39\x1A\x39\x14\x5A\x59",
2553 	}, {
2554 		.plaintext = "abc",
2555 		.psize	= 3,
2556 		.digest	= "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
2557 			  "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
2558 			  "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
2559 			  "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C"
2560 			  "\x71\x81\xEE\xBD\xB6\xC5\x7E\x27"
2561 			  "\x7D\x0E\x34\x95\x71\x14\xCB\xD6",
2562 	}, {
2563 		.plaintext = "message digest",
2564 		.psize	= 14,
2565 		.digest	= "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
2566 			  "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
2567 			  "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
2568 			  "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B"
2569 			  "\x84\x21\x55\x76\x59\xEF\x55\xC1"
2570 			  "\x06\xB4\xB5\x2A\xC5\xA4\xAA\xA6",
2571 	}, {
2572 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
2573 		.psize	= 26,
2574 		.digest	= "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
2575 			  "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
2576 			  "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
2577 			  "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B"
2578 			  "\x08\xBF\x2A\x92\x51\xC3\x0B\x6A"
2579 			  "\x0B\x8A\xAE\x86\x17\x7A\xB4\xA6",
2580 	}, {
2581 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2582 			   "abcdefghijklmnopqrstuvwxyz0123456789",
2583 		.psize	= 62,
2584 		.digest	= "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
2585 			  "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
2586 			  "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
2587 			  "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E"
2588 			  "\x08\xEB\xA2\x66\x29\x12\x9D\x8F"
2589 			  "\xB7\xCB\x57\x21\x1B\x92\x81\xA6",
2590 	}, {
2591 		.plaintext = "1234567890123456789012345678901234567890"
2592 			   "1234567890123456789012345678901234567890",
2593 		.psize	= 80,
2594 		.digest	= "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
2595 			  "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
2596 			  "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
2597 			  "\x54\x9C\x4A\xFA\xDB\x60\x14\x29"
2598 			  "\x4D\x5B\xD8\xDF\x2A\x6C\x44\xE5"
2599 			  "\x38\xCD\x04\x7B\x26\x81\xA5\x1A",
2600 	}, {
2601 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2602 		.psize	= 32,
2603 		.digest	= "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
2604 			  "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
2605 			  "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
2606 			  "\x07\xC5\x62\xF9\x88\xE9\x5C\x69"
2607 			  "\x16\xBD\xC8\x03\x1B\xC5\xBE\x1B"
2608 			  "\x7B\x94\x76\x39\xFE\x05\x0B\x56",
2609 	},
2610 };
2611 
2612 static const struct hash_testvec wp256_tv_template[] = {
2613 	{
2614 		.plaintext = "",
2615 		.psize	= 0,
2616 		.digest	= "\x19\xFA\x61\xD7\x55\x22\xA4\x66"
2617 			  "\x9B\x44\xE3\x9C\x1D\x2E\x17\x26"
2618 			  "\xC5\x30\x23\x21\x30\xD4\x07\xF8"
2619 			  "\x9A\xFE\xE0\x96\x49\x97\xF7\xA7",
2620 
2621 
2622 	}, {
2623 		.plaintext = "a",
2624 		.psize	= 1,
2625 		.digest	= "\x8A\xCA\x26\x02\x79\x2A\xEC\x6F"
2626 			  "\x11\xA6\x72\x06\x53\x1F\xB7\xD7"
2627 			  "\xF0\xDF\xF5\x94\x13\x14\x5E\x69"
2628 			  "\x73\xC4\x50\x01\xD0\x08\x7B\x42",
2629 	}, {
2630 		.plaintext = "abc",
2631 		.psize	= 3,
2632 		.digest	= "\x4E\x24\x48\xA4\xC6\xF4\x86\xBB"
2633 			  "\x16\xB6\x56\x2C\x73\xB4\x02\x0B"
2634 			  "\xF3\x04\x3E\x3A\x73\x1B\xCE\x72"
2635 			  "\x1A\xE1\xB3\x03\xD9\x7E\x6D\x4C",
2636 	}, {
2637 		.plaintext = "message digest",
2638 		.psize	= 14,
2639 		.digest	= "\x37\x8C\x84\xA4\x12\x6E\x2D\xC6"
2640 			  "\xE5\x6D\xCC\x74\x58\x37\x7A\xAC"
2641 			  "\x83\x8D\x00\x03\x22\x30\xF5\x3C"
2642 			  "\xE1\xF5\x70\x0C\x0F\xFB\x4D\x3B",
2643 	}, {
2644 		.plaintext = "abcdefghijklmnopqrstuvwxyz",
2645 		.psize	= 26,
2646 		.digest	= "\xF1\xD7\x54\x66\x26\x36\xFF\xE9"
2647 			  "\x2C\x82\xEB\xB9\x21\x2A\x48\x4A"
2648 			  "\x8D\x38\x63\x1E\xAD\x42\x38\xF5"
2649 			  "\x44\x2E\xE1\x3B\x80\x54\xE4\x1B",
2650 	}, {
2651 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
2652 			   "abcdefghijklmnopqrstuvwxyz0123456789",
2653 		.psize	= 62,
2654 		.digest	= "\xDC\x37\xE0\x08\xCF\x9E\xE6\x9B"
2655 			  "\xF1\x1F\x00\xED\x9A\xBA\x26\x90"
2656 			  "\x1D\xD7\xC2\x8C\xDE\xC0\x66\xCC"
2657 			  "\x6A\xF4\x2E\x40\xF8\x2F\x3A\x1E",
2658 	}, {
2659 		.plaintext = "1234567890123456789012345678901234567890"
2660 			   "1234567890123456789012345678901234567890",
2661 		.psize	= 80,
2662 		.digest	= "\x46\x6E\xF1\x8B\xAB\xB0\x15\x4D"
2663 			  "\x25\xB9\xD3\x8A\x64\x14\xF5\xC0"
2664 			  "\x87\x84\x37\x2B\xCC\xB2\x04\xD6"
2665 			  "\x54\x9C\x4A\xFA\xDB\x60\x14\x29",
2666 	}, {
2667 		.plaintext = "abcdbcdecdefdefgefghfghighijhijk",
2668 		.psize	= 32,
2669 		.digest	= "\x2A\x98\x7E\xA4\x0F\x91\x70\x61"
2670 			  "\xF5\xD6\xF0\xA0\xE4\x64\x4F\x48"
2671 			  "\x8A\x7A\x5A\x52\xDE\xEE\x65\x62"
2672 			  "\x07\xC5\x62\xF9\x88\xE9\x5C\x69",
2673 	},
2674 };
2675 
2676 /*
2677  * TIGER test vectors from Tiger website
2678  */
2679 static const struct hash_testvec tgr192_tv_template[] = {
2680 	{
2681 		.plaintext = "",
2682 		.psize	= 0,
2683 		.digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
2684 			  "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
2685 			  "\xf3\x73\xde\x2d\x49\x58\x4e\x7a",
2686 	}, {
2687 		.plaintext = "abc",
2688 		.psize	= 3,
2689 		.digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
2690 			  "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
2691 			  "\x93\x5f\x7b\x95\x1c\x13\x29\x51",
2692 	}, {
2693 		.plaintext = "Tiger",
2694 		.psize	= 5,
2695 		.digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
2696 			  "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
2697 			  "\x37\x79\x0c\x11\x6f\x9d\x2b\xdf",
2698 	}, {
2699 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2700 		.psize	= 64,
2701 		.digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
2702 			  "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
2703 			  "\xb5\x86\x44\x50\x34\xa5\xa3\x86",
2704 	}, {
2705 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
2706 		.psize	= 64,
2707 		.digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
2708 			  "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
2709 			  "\x57\x89\x65\x65\x97\x5f\x91\x97",
2710 	}, {
2711 		.plaintext = "Tiger - A Fast New Hash Function, "
2712 			   "by Ross Anderson and Eli Biham, "
2713 			   "proceedings of Fast Software Encryption 3, "
2714 			   "Cambridge, 1996.",
2715 		.psize  = 125,
2716 		.digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
2717 			  "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
2718 			  "\xdd\x68\x15\x1d\x50\x39\x74\xfc",
2719 	},
2720 };
2721 
2722 static const struct hash_testvec tgr160_tv_template[] = {
2723 	{
2724 		.plaintext = "",
2725 		.psize	= 0,
2726 		.digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
2727 			  "\x16\x16\x6e\x76\xb1\xbb\x92\x5f"
2728 			  "\xf3\x73\xde\x2d",
2729 	}, {
2730 		.plaintext = "abc",
2731 		.psize	= 3,
2732 		.digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
2733 			  "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf"
2734 			  "\x93\x5f\x7b\x95",
2735 	}, {
2736 		.plaintext = "Tiger",
2737 		.psize	= 5,
2738 		.digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
2739 			  "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec"
2740 			  "\x37\x79\x0c\x11",
2741 	}, {
2742 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2743 		.psize	= 64,
2744 		.digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
2745 			  "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e"
2746 			  "\xb5\x86\x44\x50",
2747 	}, {
2748 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
2749 		.psize	= 64,
2750 		.digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
2751 			  "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9"
2752 			  "\x57\x89\x65\x65",
2753 	}, {
2754 		.plaintext = "Tiger - A Fast New Hash Function, "
2755 			   "by Ross Anderson and Eli Biham, "
2756 			   "proceedings of Fast Software Encryption 3, "
2757 			   "Cambridge, 1996.",
2758 		.psize  = 125,
2759 		.digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
2760 			  "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24"
2761 			  "\xdd\x68\x15\x1d",
2762 	},
2763 };
2764 
2765 static const struct hash_testvec tgr128_tv_template[] = {
2766 	{
2767 		.plaintext = "",
2768 		.psize	= 0,
2769 		.digest = "\x24\xf0\x13\x0c\x63\xac\x93\x32"
2770 			  "\x16\x16\x6e\x76\xb1\xbb\x92\x5f",
2771 	}, {
2772 		.plaintext = "abc",
2773 		.psize	= 3,
2774 		.digest = "\xf2\x58\xc1\xe8\x84\x14\xab\x2a"
2775 			  "\x52\x7a\xb5\x41\xff\xc5\xb8\xbf",
2776 	}, {
2777 		.plaintext = "Tiger",
2778 		.psize	= 5,
2779 		.digest = "\x9f\x00\xf5\x99\x07\x23\x00\xdd"
2780 			  "\x27\x6a\xbb\x38\xc8\xeb\x6d\xec",
2781 	}, {
2782 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-",
2783 		.psize	= 64,
2784 		.digest = "\x87\xfb\x2a\x90\x83\x85\x1c\xf7"
2785 			  "\x47\x0d\x2c\xf8\x10\xe6\xdf\x9e",
2786 	}, {
2787 		.plaintext = "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789",
2788 		.psize	= 64,
2789 		.digest = "\x46\x7d\xb8\x08\x63\xeb\xce\x48"
2790 			  "\x8d\xf1\xcd\x12\x61\x65\x5d\xe9",
2791 	}, {
2792 		.plaintext = "Tiger - A Fast New Hash Function, "
2793 			   "by Ross Anderson and Eli Biham, "
2794 			   "proceedings of Fast Software Encryption 3, "
2795 			   "Cambridge, 1996.",
2796 		.psize  = 125,
2797 		.digest = "\x3d\x9a\xeb\x03\xd1\xbd\x1a\x63"
2798 			  "\x57\xb2\x77\x4d\xfd\x6d\x5b\x24",
2799 	},
2800 };
2801 
2802 static const struct hash_testvec ghash_tv_template[] =
2803 {
2804 	{
2805 		.key	= "\xdf\xa6\xbf\x4d\xed\x81\xdb\x03"
2806 			  "\xff\xca\xff\x95\xf8\x30\xf0\x61",
2807 		.ksize	= 16,
2808 		.plaintext = "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
2809 			     "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
2810 		.psize	= 16,
2811 		.digest	= "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
2812 			  "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
2813 	}, {
2814 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
2815 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
2816 		.ksize	= 16,
2817 		.plaintext = "what do ya want for nothing?",
2818 		.psize	= 28,
2819 		.digest	= "\x3e\x1f\x5c\x4d\x65\xf0\xef\xce"
2820 			  "\x0d\x61\x06\x27\x66\x51\xd5\xe2",
2821 		.np	= 2,
2822 		.tap	= {14, 14}
2823 	}, {
2824 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2825 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
2826 		.ksize	= 16,
2827 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2828 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2829 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2830 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
2831 		.psize	= 50,
2832 		.digest	= "\xfb\x49\x8a\x36\xe1\x96\xe1\x96"
2833 			  "\xe1\x96\xe1\x96\xe1\x96\xe1\x96",
2834 	}, {
2835 		.key	= "\xda\x53\xeb\x0a\xd2\xc5\x5b\xb6"
2836 			  "\x4f\xc4\x80\x2c\xc3\xfe\xda\x60",
2837 		.ksize	= 16,
2838 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2839 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2840 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2841 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
2842 		.psize	= 50,
2843 		.digest	= "\x2b\x5c\x0c\x7f\x52\xd1\x60\xc2"
2844 			  "\x49\xed\x6e\x32\x7a\xa9\xbe\x08",
2845 	}, {
2846 		.key	= "\x95\x2b\x2a\x56\xa5\x60\x04a\xc0"
2847 			  "\xb3\x2b\x66\x56\xa0\x5b\x40\xb6",
2848 		.ksize	= 16,
2849 		.plaintext = "Test With Truncation",
2850 		.psize	= 20,
2851 		.digest	= "\xf8\x94\x87\x2a\x4b\x63\x99\x28"
2852 			  "\x23\xf7\x93\xf7\x19\xf5\x96\xd9",
2853 	}, {
2854 		.key	= "\x0a\x1b\x2c\x3d\x4e\x5f\x64\x71"
2855 			"\x82\x93\xa4\xb5\xc6\xd7\xe8\xf9",
2856 		.ksize	= 16,
2857 		.plaintext = "\x56\x6f\x72\x20\x6c\x61\x75\x74"
2858 			"\x65\x72\x20\x4c\x61\x75\x73\x63"
2859 			"\x68\x65\x6e\x20\x75\x6e\x64\x20"
2860 			"\x53\x74\x61\x75\x6e\x65\x6e\x20"
2861 			"\x73\x65\x69\x20\x73\x74\x69\x6c"
2862 			"\x6c\x2c\x0a\x64\x75\x20\x6d\x65"
2863 			"\x69\x6e\x20\x74\x69\x65\x66\x74"
2864 			"\x69\x65\x66\x65\x73\x20\x4c\x65"
2865 			"\x62\x65\x6e\x3b\x0a\x64\x61\x73"
2866 			"\x73\x20\x64\x75\x20\x77\x65\x69"
2867 			"\xc3\x9f\x74\x20\x77\x61\x73\x20"
2868 			"\x64\x65\x72\x20\x57\x69\x6e\x64"
2869 			"\x20\x64\x69\x72\x20\x77\x69\x6c"
2870 			"\x6c\x2c\x0a\x65\x68\x20\x6e\x6f"
2871 			"\x63\x68\x20\x64\x69\x65\x20\x42"
2872 			"\x69\x72\x6b\x65\x6e\x20\x62\x65"
2873 			"\x62\x65\x6e\x2e\x0a\x0a\x55\x6e"
2874 			"\x64\x20\x77\x65\x6e\x6e\x20\x64"
2875 			"\x69\x72\x20\x65\x69\x6e\x6d\x61"
2876 			"\x6c\x20\x64\x61\x73\x20\x53\x63"
2877 			"\x68\x77\x65\x69\x67\x65\x6e\x20"
2878 			"\x73\x70\x72\x61\x63\x68\x2c\x0a"
2879 			"\x6c\x61\x73\x73\x20\x64\x65\x69"
2880 			"\x6e\x65\x20\x53\x69\x6e\x6e\x65"
2881 			"\x20\x62\x65\x73\x69\x65\x67\x65"
2882 			"\x6e\x2e\x0a\x4a\x65\x64\x65\x6d"
2883 			"\x20\x48\x61\x75\x63\x68\x65\x20"
2884 			"\x67\x69\x62\x74\x20\x64\x69\x63"
2885 			"\x68\x2c\x20\x67\x69\x62\x20\x6e"
2886 			"\x61\x63\x68\x2c\x0a\x65\x72\x20"
2887 			"\x77\x69\x72\x64\x20\x64\x69\x63"
2888 			"\x68\x20\x6c\x69\x65\x62\x65\x6e"
2889 			"\x20\x75\x6e\x64\x20\x77\x69\x65"
2890 			"\x67\x65\x6e\x2e\x0a\x0a\x55\x6e"
2891 			"\x64\x20\x64\x61\x6e\x6e\x20\x6d"
2892 			"\x65\x69\x6e\x65\x20\x53\x65\x65"
2893 			"\x6c\x65\x20\x73\x65\x69\x74\x20"
2894 			"\x77\x65\x69\x74\x2c\x20\x73\x65"
2895 			"\x69\x20\x77\x65\x69\x74\x2c\x0a"
2896 			"\x64\x61\x73\x73\x20\x64\x69\x72"
2897 			"\x20\x64\x61\x73\x20\x4c\x65\x62"
2898 			"\x65\x6e\x20\x67\x65\x6c\x69\x6e"
2899 			"\x67\x65\x2c\x0a\x62\x72\x65\x69"
2900 			"\x74\x65\x20\x64\x69\x63\x68\x20"
2901 			"\x77\x69\x65\x20\x65\x69\x6e\x20"
2902 			"\x46\x65\x69\x65\x72\x6b\x6c\x65"
2903 			"\x69\x64\x0a\xc3\xbc\x62\x65\x72"
2904 			"\x20\x64\x69\x65\x20\x73\x69\x6e"
2905 			"\x6e\x65\x6e\x64\x65\x6e\x20\x44"
2906 			"\x69\x6e\x67\x65\x2e\x2e\x2e\x0a",
2907 		.psize	= 400,
2908 		.digest = "\xad\xb1\xc1\xe9\x56\x70\x31\x1d"
2909 			"\xbb\x5b\xdf\x5e\x70\x72\x1a\x57",
2910 	},
2911 };
2912 
2913 /*
2914  * HMAC-MD5 test vectors from RFC2202
2915  * (These need to be fixed to not use strlen).
2916  */
2917 static const struct hash_testvec hmac_md5_tv_template[] =
2918 {
2919 	{
2920 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
2921 		.ksize	= 16,
2922 		.plaintext = "Hi There",
2923 		.psize	= 8,
2924 		.digest	= "\x92\x94\x72\x7a\x36\x38\xbb\x1c"
2925 			  "\x13\xf4\x8e\xf8\x15\x8b\xfc\x9d",
2926 	}, {
2927 		.key	= "Jefe",
2928 		.ksize	= 4,
2929 		.plaintext = "what do ya want for nothing?",
2930 		.psize	= 28,
2931 		.digest	= "\x75\x0c\x78\x3e\x6a\xb0\xb5\x03"
2932 			  "\xea\xa8\x6e\x31\x0a\x5d\xb7\x38",
2933 		.np	= 2,
2934 		.tap	= {14, 14}
2935 	}, {
2936 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
2937 		.ksize	= 16,
2938 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2939 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2940 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
2941 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
2942 		.psize	= 50,
2943 		.digest	= "\x56\xbe\x34\x52\x1d\x14\x4c\x88"
2944 			  "\xdb\xb8\xc7\x33\xf0\xe8\xb3\xf6",
2945 	}, {
2946 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
2947 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
2948 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
2949 		.ksize	= 25,
2950 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2951 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2952 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
2953 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
2954 		.psize	= 50,
2955 		.digest	= "\x69\x7e\xaf\x0a\xca\x3a\x3a\xea"
2956 			  "\x3a\x75\x16\x47\x46\xff\xaa\x79",
2957 	}, {
2958 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
2959 		.ksize	= 16,
2960 		.plaintext = "Test With Truncation",
2961 		.psize	= 20,
2962 		.digest	= "\x56\x46\x1e\xf2\x34\x2e\xdc\x00"
2963 			  "\xf9\xba\xb9\x95\x69\x0e\xfd\x4c",
2964 	}, {
2965 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2966 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2967 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2968 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2969 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2970 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2971 			"\xaa\xaa",
2972 		.ksize	= 80,
2973 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
2974 		.psize	= 54,
2975 		.digest	= "\x6b\x1a\xb7\xfe\x4b\xd7\xbf\x8f"
2976 			  "\x0b\x62\xe6\xce\x61\xb9\xd0\xcd",
2977 	}, {
2978 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2979 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
2980 			"\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",
2985 		.ksize	= 80,
2986 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
2987 			   "Block-Size Data",
2988 		.psize	= 73,
2989 		.digest	= "\x6f\x63\x0f\xad\x67\xcd\xa0\xee"
2990 			  "\x1f\xb1\xf5\x62\xdb\x3a\xa5\x3e",
2991 	},
2992 };
2993 
2994 /*
2995  * HMAC-RIPEMD128 test vectors from RFC2286
2996  */
2997 static const struct hash_testvec hmac_rmd128_tv_template[] = {
2998 	{
2999 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3000 		.ksize	= 16,
3001 		.plaintext = "Hi There",
3002 		.psize	= 8,
3003 		.digest	= "\xfb\xf6\x1f\x94\x92\xaa\x4b\xbf"
3004 			  "\x81\xc1\x72\xe8\x4e\x07\x34\xdb",
3005 	}, {
3006 		.key	= "Jefe",
3007 		.ksize	= 4,
3008 		.plaintext = "what do ya want for nothing?",
3009 		.psize	= 28,
3010 		.digest	= "\x87\x5f\x82\x88\x62\xb6\xb3\x34"
3011 			  "\xb4\x27\xc5\x5f\x9f\x7f\xf0\x9b",
3012 		.np	= 2,
3013 		.tap	= { 14, 14 },
3014 	}, {
3015 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3016 		.ksize	= 16,
3017 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3018 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3019 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3020 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3021 		.psize	= 50,
3022 		.digest	= "\x09\xf0\xb2\x84\x6d\x2f\x54\x3d"
3023 			  "\xa3\x63\xcb\xec\x8d\x62\xa3\x8d",
3024 	}, {
3025 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3026 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3027 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3028 		.ksize	= 25,
3029 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3030 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3031 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3032 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3033 		.psize	= 50,
3034 		.digest	= "\xbd\xbb\xd7\xcf\x03\xe4\x4b\x5a"
3035 			  "\xa6\x0a\xf8\x15\xbe\x4d\x22\x94",
3036 	}, {
3037 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3038 		.ksize	= 16,
3039 		.plaintext = "Test With Truncation",
3040 		.psize	= 20,
3041 		.digest	= "\xe7\x98\x08\xf2\x4b\x25\xfd\x03"
3042 			  "\x1c\x15\x5f\x0d\x55\x1d\x9a\x3a",
3043 	}, {
3044 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3045 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3046 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3047 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3048 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3049 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3050 			"\xaa\xaa",
3051 		.ksize	= 80,
3052 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3053 		.psize	= 54,
3054 		.digest	= "\xdc\x73\x29\x28\xde\x98\x10\x4a"
3055 			  "\x1f\x59\xd3\x73\xc1\x50\xac\xbb",
3056 	}, {
3057 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3058 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3059 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3060 			"\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",
3064 		.ksize	= 80,
3065 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3066 			   "Block-Size Data",
3067 		.psize	= 73,
3068 		.digest	= "\x5c\x6b\xec\x96\x79\x3e\x16\xd4"
3069 			  "\x06\x90\xc2\x37\x63\x5f\x30\xc5",
3070 	},
3071 };
3072 
3073 /*
3074  * HMAC-RIPEMD160 test vectors from RFC2286
3075  */
3076 static const struct hash_testvec hmac_rmd160_tv_template[] = {
3077 	{
3078 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3079 		.ksize	= 20,
3080 		.plaintext = "Hi There",
3081 		.psize	= 8,
3082 		.digest	= "\x24\xcb\x4b\xd6\x7d\x20\xfc\x1a\x5d\x2e"
3083 			  "\xd7\x73\x2d\xcc\x39\x37\x7f\x0a\x56\x68",
3084 	}, {
3085 		.key	= "Jefe",
3086 		.ksize	= 4,
3087 		.plaintext = "what do ya want for nothing?",
3088 		.psize	= 28,
3089 		.digest	= "\xdd\xa6\xc0\x21\x3a\x48\x5a\x9e\x24\xf4"
3090 			  "\x74\x20\x64\xa7\xf0\x33\xb4\x3c\x40\x69",
3091 		.np	= 2,
3092 		.tap	= { 14, 14 },
3093 	}, {
3094 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3095 		.ksize	= 20,
3096 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3097 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3098 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3099 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3100 		.psize	= 50,
3101 		.digest	= "\xb0\xb1\x05\x36\x0d\xe7\x59\x96\x0a\xb4"
3102 			  "\xf3\x52\x98\xe1\x16\xe2\x95\xd8\xe7\xc1",
3103 	}, {
3104 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3105 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3106 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3107 		.ksize	= 25,
3108 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3109 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3110 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3111 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3112 		.psize	= 50,
3113 		.digest	= "\xd5\xca\x86\x2f\x4d\x21\xd5\xe6\x10\xe1"
3114 			  "\x8b\x4c\xf1\xbe\xb9\x7a\x43\x65\xec\xf4",
3115 	}, {
3116 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3117 		.ksize	= 20,
3118 		.plaintext = "Test With Truncation",
3119 		.psize	= 20,
3120 		.digest	= "\x76\x19\x69\x39\x78\xf9\x1d\x90\x53\x9a"
3121 			  "\xe7\x86\x50\x0f\xf3\xd8\xe0\x51\x8e\x39",
3122 	}, {
3123 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3124 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3125 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3126 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3127 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3128 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3129 			"\xaa\xaa",
3130 		.ksize	= 80,
3131 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3132 		.psize	= 54,
3133 		.digest	= "\x64\x66\xca\x07\xac\x5e\xac\x29\xe1\xbd"
3134 			  "\x52\x3e\x5a\xda\x76\x05\xb7\x91\xfd\x8b",
3135 	}, {
3136 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3137 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3138 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3139 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3140 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3141 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3142 			"\xaa\xaa",
3143 		.ksize	= 80,
3144 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3145 			   "Block-Size Data",
3146 		.psize	= 73,
3147 		.digest	= "\x69\xea\x60\x79\x8d\x71\x61\x6c\xce\x5f"
3148 			  "\xd0\x87\x1e\x23\x75\x4c\xd7\x5d\x5a\x0a",
3149 	},
3150 };
3151 
3152 /*
3153  * HMAC-SHA1 test vectors from RFC2202
3154  */
3155 static const struct hash_testvec hmac_sha1_tv_template[] = {
3156 	{
3157 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b",
3158 		.ksize	= 20,
3159 		.plaintext = "Hi There",
3160 		.psize	= 8,
3161 		.digest	= "\xb6\x17\x31\x86\x55\x05\x72\x64"
3162 			  "\xe2\x8b\xc0\xb6\xfb\x37\x8c\x8e\xf1"
3163 			  "\x46\xbe",
3164 	}, {
3165 		.key	= "Jefe",
3166 		.ksize	= 4,
3167 		.plaintext = "what do ya want for nothing?",
3168 		.psize	= 28,
3169 		.digest	= "\xef\xfc\xdf\x6a\xe5\xeb\x2f\xa2\xd2\x74"
3170 			  "\x16\xd5\xf1\x84\xdf\x9c\x25\x9a\x7c\x79",
3171 		.np	= 2,
3172 		.tap	= { 14, 14 }
3173 	}, {
3174 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3175 		.ksize	= 20,
3176 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3177 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3178 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3179 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3180 		.psize	= 50,
3181 		.digest	= "\x12\x5d\x73\x42\xb9\xac\x11\xcd\x91\xa3"
3182 			  "\x9a\xf4\x8a\xa1\x7b\x4f\x63\xf1\x75\xd3",
3183 	}, {
3184 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3185 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3186 			  "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
3187 		.ksize	= 25,
3188 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3189 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3190 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3191 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3192 		.psize	= 50,
3193 		.digest	= "\x4c\x90\x07\xf4\x02\x62\x50\xc6\xbc\x84"
3194 			  "\x14\xf9\xbf\x50\xc8\x6c\x2d\x72\x35\xda",
3195 	}, {
3196 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c",
3197 		.ksize	= 20,
3198 		.plaintext = "Test With Truncation",
3199 		.psize	= 20,
3200 		.digest	= "\x4c\x1a\x03\x42\x4b\x55\xe0\x7f\xe7\xf2"
3201 			  "\x7b\xe1\xd5\x8b\xb9\x32\x4a\x9a\x5a\x04",
3202 	}, {
3203 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3204 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3205 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3206 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3207 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3208 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3209 			"\xaa\xaa",
3210 		.ksize	= 80,
3211 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3212 		.psize	= 54,
3213 		.digest	= "\xaa\x4a\xe5\xe1\x52\x72\xd0\x0e\x95\x70"
3214 			  "\x56\x37\xce\x8a\x3b\x55\xed\x40\x21\x12",
3215 	}, {
3216 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3217 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3218 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3219 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3220 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3221 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3222 			"\xaa\xaa",
3223 		.ksize	= 80,
3224 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than One "
3225 			   "Block-Size Data",
3226 		.psize	= 73,
3227 		.digest	= "\xe8\xe9\x9d\x0f\x45\x23\x7d\x78\x6d\x6b"
3228 			  "\xba\xa7\x96\x5c\x78\x08\xbb\xff\x1a\x91",
3229 	},
3230 };
3231 
3232 
3233 /*
3234  * SHA224 HMAC test vectors from RFC4231
3235  */
3236 static const struct hash_testvec hmac_sha224_tv_template[] = {
3237 	{
3238 		.key    = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3239 			"\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3240 			"\x0b\x0b\x0b\x0b",
3241 		.ksize  = 20,
3242 		/*  ("Hi There") */
3243 		.plaintext = "\x48\x69\x20\x54\x68\x65\x72\x65",
3244 		.psize  = 8,
3245 		.digest = "\x89\x6f\xb1\x12\x8a\xbb\xdf\x19"
3246 			"\x68\x32\x10\x7c\xd4\x9d\xf3\x3f"
3247 			"\x47\xb4\xb1\x16\x99\x12\xba\x4f"
3248 			"\x53\x68\x4b\x22",
3249 	}, {
3250 		.key    = "Jefe",
3251 		.ksize  = 4,
3252 		/* ("what do ya want for nothing?") */
3253 		.plaintext = "\x77\x68\x61\x74\x20\x64\x6f\x20"
3254 			"\x79\x61\x20\x77\x61\x6e\x74\x20"
3255 			"\x66\x6f\x72\x20\x6e\x6f\x74\x68"
3256 			"\x69\x6e\x67\x3f",
3257 		.psize  = 28,
3258 		.digest = "\xa3\x0e\x01\x09\x8b\xc6\xdb\xbf"
3259 			"\x45\x69\x0f\x3a\x7e\x9e\x6d\x0f"
3260 			"\x8b\xbe\xa2\xa3\x9e\x61\x48\x00"
3261 			"\x8f\xd0\x5e\x44",
3262 		.np = 4,
3263 		.tap    = { 7, 7, 7, 7 }
3264 	}, {
3265 		.key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3266 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3267 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3268 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3269 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3270 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3271 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3272 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3273 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3274 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3275 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3276 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3277 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3278 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3279 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3280 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3281 			"\xaa\xaa\xaa",
3282 		.ksize  = 131,
3283 		/* ("Test Using Larger Than Block-Size Key - Hash Key First") */
3284 		.plaintext = "\x54\x65\x73\x74\x20\x55\x73\x69"
3285 			"\x6e\x67\x20\x4c\x61\x72\x67\x65"
3286 			"\x72\x20\x54\x68\x61\x6e\x20\x42"
3287 			"\x6c\x6f\x63\x6b\x2d\x53\x69\x7a"
3288 			"\x65\x20\x4b\x65\x79\x20\x2d\x20"
3289 			"\x48\x61\x73\x68\x20\x4b\x65\x79"
3290 			"\x20\x46\x69\x72\x73\x74",
3291 		.psize  = 54,
3292 		.digest = "\x95\xe9\xa0\xdb\x96\x20\x95\xad"
3293 			"\xae\xbe\x9b\x2d\x6f\x0d\xbc\xe2"
3294 			"\xd4\x99\xf1\x12\xf2\xd2\xb7\x27"
3295 			"\x3f\xa6\x87\x0e",
3296 	}, {
3297 		.key    = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3298 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3299 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3300 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3301 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3302 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3303 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3304 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3305 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3306 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3307 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3308 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3309 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3310 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3311 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3312 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3313 			"\xaa\xaa\xaa",
3314 		.ksize  = 131,
3315 		/* ("This is a test using a larger than block-size key and a")
3316 		(" larger than block-size data. The key needs to be")
3317 			(" hashed before being used by the HMAC algorithm.") */
3318 		.plaintext = "\x54\x68\x69\x73\x20\x69\x73\x20"
3319 			"\x61\x20\x74\x65\x73\x74\x20\x75"
3320 			"\x73\x69\x6e\x67\x20\x61\x20\x6c"
3321 			"\x61\x72\x67\x65\x72\x20\x74\x68"
3322 			"\x61\x6e\x20\x62\x6c\x6f\x63\x6b"
3323 			"\x2d\x73\x69\x7a\x65\x20\x6b\x65"
3324 			"\x79\x20\x61\x6e\x64\x20\x61\x20"
3325 			"\x6c\x61\x72\x67\x65\x72\x20\x74"
3326 			"\x68\x61\x6e\x20\x62\x6c\x6f\x63"
3327 			"\x6b\x2d\x73\x69\x7a\x65\x20\x64"
3328 			"\x61\x74\x61\x2e\x20\x54\x68\x65"
3329 			"\x20\x6b\x65\x79\x20\x6e\x65\x65"
3330 			"\x64\x73\x20\x74\x6f\x20\x62\x65"
3331 			"\x20\x68\x61\x73\x68\x65\x64\x20"
3332 			"\x62\x65\x66\x6f\x72\x65\x20\x62"
3333 			"\x65\x69\x6e\x67\x20\x75\x73\x65"
3334 			"\x64\x20\x62\x79\x20\x74\x68\x65"
3335 			"\x20\x48\x4d\x41\x43\x20\x61\x6c"
3336 			"\x67\x6f\x72\x69\x74\x68\x6d\x2e",
3337 		.psize  = 152,
3338 		.digest = "\x3a\x85\x41\x66\xac\x5d\x9f\x02"
3339 			"\x3f\x54\xd5\x17\xd0\xb3\x9d\xbd"
3340 			"\x94\x67\x70\xdb\x9c\x2b\x95\xc9"
3341 			"\xf6\xf5\x65\xd1",
3342 	},
3343 };
3344 
3345 /*
3346  * HMAC-SHA256 test vectors from
3347  * draft-ietf-ipsec-ciph-sha-256-01.txt
3348  */
3349 static const struct hash_testvec hmac_sha256_tv_template[] = {
3350 	{
3351 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3352 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3353 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3354 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3355 		.ksize	= 32,
3356 		.plaintext = "abc",
3357 		.psize	= 3,
3358 		.digest	= "\xa2\x1b\x1f\x5d\x4c\xf4\xf7\x3a"
3359 			  "\x4d\xd9\x39\x75\x0f\x7a\x06\x6a"
3360 			  "\x7f\x98\xcc\x13\x1c\xb1\x6a\x66"
3361 			  "\x92\x75\x90\x21\xcf\xab\x81\x81",
3362 	}, {
3363 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3364 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3365 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3366 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3367 		.ksize	= 32,
3368 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3369 		.psize	= 56,
3370 		.digest	= "\x10\x4f\xdc\x12\x57\x32\x8f\x08"
3371 			  "\x18\x4b\xa7\x31\x31\xc5\x3c\xae"
3372 			  "\xe6\x98\xe3\x61\x19\x42\x11\x49"
3373 			  "\xea\x8c\x71\x24\x56\x69\x7d\x30",
3374 	}, {
3375 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3376 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3377 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3378 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20",
3379 		.ksize	= 32,
3380 		.plaintext = "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
3381 			   "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq",
3382 		.psize	= 112,
3383 		.digest	= "\x47\x03\x05\xfc\x7e\x40\xfe\x34"
3384 			  "\xd3\xee\xb3\xe7\x73\xd9\x5a\xab"
3385 			  "\x73\xac\xf0\xfd\x06\x04\x47\xa5"
3386 			  "\xeb\x45\x95\xbf\x33\xa9\xd1\xa3",
3387 	}, {
3388 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3389 			"\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3390 			"\x0b\x0b\x0b\x0b\x0b\x0b",
3391 		.ksize	= 32,
3392 		.plaintext = "Hi There",
3393 		.psize	= 8,
3394 		.digest	= "\x19\x8a\x60\x7e\xb4\x4b\xfb\xc6"
3395 			  "\x99\x03\xa0\xf1\xcf\x2b\xbd\xc5"
3396 			  "\xba\x0a\xa3\xf3\xd9\xae\x3c\x1c"
3397 			  "\x7a\x3b\x16\x96\xa0\xb6\x8c\xf7",
3398 	}, {
3399 		.key	= "Jefe",
3400 		.ksize	= 4,
3401 		.plaintext = "what do ya want for nothing?",
3402 		.psize	= 28,
3403 		.digest	= "\x5b\xdc\xc1\x46\xbf\x60\x75\x4e"
3404 			  "\x6a\x04\x24\x26\x08\x95\x75\xc7"
3405 			  "\x5a\x00\x3f\x08\x9d\x27\x39\x83"
3406 			  "\x9d\xec\x58\xb9\x64\xec\x38\x43",
3407 		.np	= 2,
3408 		.tap	= { 14, 14 }
3409 	}, {
3410 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3411 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3412 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa",
3413 		.ksize	= 32,
3414 		.plaintext = "\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3415 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3416 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd"
3417 			"\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd\xdd",
3418 		.psize	= 50,
3419 		.digest	= "\xcd\xcb\x12\x20\xd1\xec\xcc\xea"
3420 			  "\x91\xe5\x3a\xba\x30\x92\xf9\x62"
3421 			  "\xe5\x49\xfe\x6c\xe9\xed\x7f\xdc"
3422 			  "\x43\x19\x1f\xbd\xe4\x5c\x30\xb0",
3423 	}, {
3424 		.key	= "\x01\x02\x03\x04\x05\x06\x07\x08"
3425 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
3426 			  "\x11\x12\x13\x14\x15\x16\x17\x18"
3427 			  "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
3428 			  "\x21\x22\x23\x24\x25",
3429 		.ksize	= 37,
3430 		.plaintext = "\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3431 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3432 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd"
3433 			"\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd\xcd",
3434 		.psize	= 50,
3435 		.digest	= "\xd4\x63\x3c\x17\xf6\xfb\x8d\x74"
3436 			  "\x4c\x66\xde\xe0\xf8\xf0\x74\x55"
3437 			  "\x6e\xc4\xaf\x55\xef\x07\x99\x85"
3438 			  "\x41\x46\x8e\xb4\x9b\xd2\xe9\x17",
3439 	}, {
3440 		.key	= "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
3441 			"\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
3442 			"\x0c\x0c\x0c\x0c\x0c\x0c",
3443 		.ksize	= 32,
3444 		.plaintext = "Test With Truncation",
3445 		.psize	= 20,
3446 		.digest	= "\x75\x46\xaf\x01\x84\x1f\xc0\x9b"
3447 			  "\x1a\xb9\xc3\x74\x9a\x5f\x1c\x17"
3448 			  "\xd4\xf5\x89\x66\x8a\x58\x7b\x27"
3449 			  "\x00\xa9\xc9\x7c\x11\x93\xcf\x42",
3450 	}, {
3451 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3452 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3453 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3454 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3455 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3456 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3457 			"\xaa\xaa",
3458 		.ksize	= 80,
3459 		.plaintext = "Test Using Larger Than Block-Size Key - Hash Key First",
3460 		.psize	= 54,
3461 		.digest	= "\x69\x53\x02\x5e\xd9\x6f\x0c\x09"
3462 			  "\xf8\x0a\x96\xf7\x8e\x65\x38\xdb"
3463 			  "\xe2\xe7\xb8\x20\xe3\xdd\x97\x0e"
3464 			  "\x7d\xdd\x39\x09\x1b\x32\x35\x2f",
3465 	}, {
3466 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3467 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3468 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3469 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3470 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3471 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3472 			"\xaa\xaa",
3473 		.ksize	= 80,
3474 		.plaintext = "Test Using Larger Than Block-Size Key and Larger Than "
3475 			   "One Block-Size Data",
3476 		.psize	= 73,
3477 		.digest	= "\x63\x55\xac\x22\xe8\x90\xd0\xa3"
3478 			  "\xc8\x48\x1a\x5c\xa4\x82\x5b\xc8"
3479 			  "\x84\xd3\xe7\xa1\xff\x98\xa2\xfc"
3480 			  "\x2a\xc7\xd8\xe0\x64\xc3\xb2\xe6",
3481 	},
3482 };
3483 
3484 static const struct hash_testvec aes_cmac128_tv_template[] = {
3485 	{ /* From NIST Special Publication 800-38B, AES-128 */
3486 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3487 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3488 		.plaintext	= zeroed_string,
3489 		.digest		= "\xbb\x1d\x69\x29\xe9\x59\x37\x28"
3490 				  "\x7f\xa3\x7d\x12\x9b\x75\x67\x46",
3491 		.psize		= 0,
3492 		.ksize		= 16,
3493 	}, {
3494 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3495 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3496 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3497 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
3498 		.digest		= "\x07\x0a\x16\xb4\x6b\x4d\x41\x44"
3499 				  "\xf7\x9b\xdd\x9d\xd0\x4a\x28\x7c",
3500 		.psize		= 16,
3501 		.ksize		= 16,
3502 	}, {
3503 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3504 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3505 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3506 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3507 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3508 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3509 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11",
3510 		.digest		= "\xdf\xa6\x67\x47\xde\x9a\xe6\x30"
3511 				  "\x30\xca\x32\x61\x14\x97\xc8\x27",
3512 		.psize		= 40,
3513 		.ksize		= 16,
3514 	}, {
3515 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3516 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3517 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3518 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3519 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3520 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3521 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3522 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3523 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3524 				  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
3525 		.digest		= "\x51\xf0\xbe\xbf\x7e\x3b\x9d\x92"
3526 				  "\xfc\x49\x74\x17\x79\x36\x3c\xfe",
3527 		.psize		= 64,
3528 		.ksize		= 16,
3529 	}, { /* From NIST Special Publication 800-38B, AES-256 */
3530 		.key		= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
3531 				  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
3532 				  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
3533 				  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
3534 		.plaintext	= zeroed_string,
3535 		.digest		= "\x02\x89\x62\xf6\x1b\x7b\xf8\x9e"
3536 				  "\xfc\x6b\x55\x1f\x46\x67\xd9\x83",
3537 		.psize		= 0,
3538 		.ksize		= 32,
3539 	}, {
3540 		.key		= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
3541 				  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
3542 				  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
3543 				  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
3544 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3545 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3546 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3547 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3548 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3549 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3550 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3551 				  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
3552 		.digest		= "\xe1\x99\x21\x90\x54\x9f\x6e\xd5"
3553 				  "\x69\x6a\x2c\x05\x6c\x31\x54\x10",
3554 		.psize		= 64,
3555 		.ksize		= 32,
3556 	}
3557 };
3558 
3559 static const struct hash_testvec aes_cbcmac_tv_template[] = {
3560 	{
3561 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3562 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3563 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3564 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a",
3565 		.digest		= "\x3a\xd7\x7b\xb4\x0d\x7a\x36\x60"
3566 				  "\xa8\x9e\xca\xf3\x24\x66\xef\x97",
3567 		.psize		= 16,
3568 		.ksize		= 16,
3569 	}, {
3570 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3571 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3572 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3573 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3574 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3575 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3576 				  "\x30",
3577 		.digest		= "\x9d\x0d\xd0\x63\xfb\xcb\x24\x43"
3578 				  "\xf8\xf2\x76\x03\xac\x39\xb0\x9d",
3579 		.psize		= 33,
3580 		.ksize		= 16,
3581 		.np		= 2,
3582 		.tap		= { 7, 26 },
3583 	}, {
3584 		.key		= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
3585 				  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
3586 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3587 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3588 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3589 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3590 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3591 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3592 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3593 				  "\xad\x2b\x41\x7b\xe6\x6c\x37",
3594 		.digest		= "\xc0\x71\x73\xb8\xa0\x2c\x11\x7c"
3595 				  "\xaf\xdc\xb2\xf8\x89\x32\xa3\x3a",
3596 		.psize		= 63,
3597 		.ksize		= 16,
3598 	}, {
3599 		.key		= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
3600 				  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
3601 				  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
3602 				  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
3603 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3604 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3605 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3606 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
3607 				  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
3608 				  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
3609 				  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
3610 				  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10"
3611 				  "\x1c",
3612 		.digest		= "\x6a\x4e\xdb\x21\x47\x51\xdf\x4f"
3613 				  "\xa8\x4d\x4c\x10\x3b\x72\x7d\xd6",
3614 		.psize		= 65,
3615 		.ksize		= 32,
3616 	}
3617 };
3618 
3619 static const struct hash_testvec des3_ede_cmac64_tv_template[] = {
3620 /*
3621  * From NIST Special Publication 800-38B, Three Key TDEA
3622  * Corrected test vectors from:
3623  *  http://csrc.nist.gov/publications/nistpubs/800-38B/Updated_CMAC_Examples.pdf
3624  */
3625 	{
3626 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3627 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3628 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3629 		.plaintext	= zeroed_string,
3630 		.digest		= "\xb7\xa6\x88\xe1\x22\xff\xaf\x95",
3631 		.psize		= 0,
3632 		.ksize		= 24,
3633 	}, {
3634 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3635 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3636 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3637 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96",
3638 		.digest		= "\x8e\x8f\x29\x31\x36\x28\x37\x97",
3639 		.psize		= 8,
3640 		.ksize		= 24,
3641 	}, {
3642 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3643 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3644 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3645 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3646 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3647 				  "\xae\x2d\x8a\x57",
3648 		.digest		= "\x74\x3d\xdb\xe0\xce\x2d\xc2\xed",
3649 		.psize		= 20,
3650 		.ksize		= 24,
3651 	}, {
3652 		.key		= "\x8a\xa8\x3b\xf8\xcb\xda\x10\x62"
3653 				  "\x0b\xc1\xbf\x19\xfb\xb6\xcd\x58"
3654 				  "\xbc\x31\x3d\x4a\x37\x1c\xa8\xb5",
3655 		.plaintext	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
3656 				  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
3657 				  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
3658 				  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51",
3659 		.digest		= "\x33\xe6\xb1\x09\x24\x00\xea\xe5",
3660 		.psize		= 32,
3661 		.ksize		= 24,
3662 	}
3663 };
3664 
3665 static const struct hash_testvec aes_xcbc128_tv_template[] = {
3666 	{
3667 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3668 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3669 		.plaintext = zeroed_string,
3670 		.digest = "\x75\xf0\x25\x1d\x52\x8a\xc0\x1c"
3671 			  "\x45\x73\xdf\xd5\x84\xd7\x9f\x29",
3672 		.psize	= 0,
3673 		.ksize	= 16,
3674 	}, {
3675 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3676 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3677 		.plaintext = "\x00\x01\x02",
3678 		.digest	= "\x5b\x37\x65\x80\xae\x2f\x19\xaf"
3679 			  "\xe7\x21\x9c\xee\xf1\x72\x75\x6f",
3680 		.psize	= 3,
3681 		.ksize	= 16,
3682 	} , {
3683 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3684 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3685 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3686 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3687 		.digest = "\xd2\xa2\x46\xfa\x34\x9b\x68\xa7"
3688 			  "\x99\x98\xa4\x39\x4f\xf7\xa2\x63",
3689 		.psize	= 16,
3690 		.ksize	= 16,
3691 	}, {
3692 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3693 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3694 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3695 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3696 			     "\x10\x11\x12\x13",
3697 		.digest = "\x47\xf5\x1b\x45\x64\x96\x62\x15"
3698 			  "\xb8\x98\x5c\x63\x05\x5e\xd3\x08",
3699 		.tap	= { 10, 10 },
3700 		.psize	= 20,
3701 		.np	= 2,
3702 		.ksize	= 16,
3703 	}, {
3704 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3705 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3706 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3707 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3708 			     "\x10\x11\x12\x13\x14\x15\x16\x17"
3709 			     "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
3710 		.digest = "\xf5\x4f\x0e\xc8\xd2\xb9\xf3\xd3"
3711 			  "\x68\x07\x73\x4b\xd5\x28\x3f\xd4",
3712 		.psize	= 32,
3713 		.ksize	= 16,
3714 	}, {
3715 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3716 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3717 		.plaintext = "\x00\x01\x02\x03\x04\x05\x06\x07"
3718 			     "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
3719 			     "\x10\x11\x12\x13\x14\x15\x16\x17"
3720 			     "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
3721 			     "\x20\x21",
3722 		.digest = "\xbe\xcb\xb3\xbc\xcd\xb5\x18\xa3"
3723 			  "\x06\x77\xd5\x48\x1f\xb6\xb4\xd8",
3724 		.tap	= { 17, 17 },
3725 		.psize	= 34,
3726 		.np	= 2,
3727 		.ksize	= 16,
3728 	}
3729 };
3730 
3731 static const char vmac_string1[128] = {'\x01', '\x01', '\x01', '\x01',
3732 				       '\x02', '\x03', '\x02', '\x02',
3733 				       '\x02', '\x04', '\x01', '\x07',
3734 				       '\x04', '\x01', '\x04', '\x03',};
3735 static const char vmac_string2[128] = {'a', 'b', 'c',};
3736 static const char vmac_string3[128] = {'a', 'b', 'c', 'a', 'b', 'c',
3737 				       'a', 'b', 'c', 'a', 'b', 'c',
3738 				       'a', 'b', 'c', 'a', 'b', 'c',
3739 				       'a', 'b', 'c', 'a', 'b', 'c',
3740 				       'a', 'b', 'c', 'a', 'b', 'c',
3741 				       'a', 'b', 'c', 'a', 'b', 'c',
3742 				       'a', 'b', 'c', 'a', 'b', 'c',
3743 				       'a', 'b', 'c', 'a', 'b', 'c',
3744 				      };
3745 
3746 static const char vmac_string4[17] = {'b', 'c', 'e', 'f',
3747 				      'i', 'j', 'l', 'm',
3748 				      'o', 'p', 'r', 's',
3749 				      't', 'u', 'w', 'x', 'z'};
3750 
3751 static const char vmac_string5[127] = {'r', 'm', 'b', 't', 'c',
3752 				       'o', 'l', 'k', ']', '%',
3753 				       '9', '2', '7', '!', 'A'};
3754 
3755 static const char vmac_string6[129] = {'p', 't', '*', '7', 'l',
3756 				       'i', '!', '#', 'w', '0',
3757 				       'z', '/', '4', 'A', 'n'};
3758 
3759 static const struct hash_testvec aes_vmac128_tv_template[] = {
3760 	{
3761 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
3762 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3763 		.plaintext = NULL,
3764 		.digest	= "\x07\x58\x80\x35\x77\xa4\x7b\x54",
3765 		.psize	= 0,
3766 		.ksize	= 16,
3767 	}, {
3768 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
3769 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3770 		.plaintext = vmac_string1,
3771 		.digest = "\xce\xf5\x3c\xd3\xae\x68\x8c\xa1",
3772 		.psize  = 128,
3773 		.ksize  = 16,
3774 	}, {
3775 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
3776 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3777 		.plaintext = vmac_string2,
3778 		.digest = "\xc9\x27\xb0\x73\x81\xbd\x14\x2d",
3779 		.psize  = 128,
3780 		.ksize  = 16,
3781 	}, {
3782 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
3783 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
3784 		.plaintext = vmac_string3,
3785 		.digest = "\x8d\x1a\x95\x8c\x98\x47\x0b\x19",
3786 		.psize  = 128,
3787 		.ksize  = 16,
3788 	}, {
3789 		.key	= "abcdefghijklmnop",
3790 		.plaintext = NULL,
3791 		.digest	= "\x3b\x89\xa1\x26\x9e\x55\x8f\x84",
3792 		.psize	= 0,
3793 		.ksize	= 16,
3794 	}, {
3795 		.key    = "abcdefghijklmnop",
3796 		.plaintext = vmac_string1,
3797 		.digest = "\xab\x5e\xab\xb0\xf6\x8d\x74\xc2",
3798 		.psize  = 128,
3799 		.ksize  = 16,
3800 	}, {
3801 		.key    = "abcdefghijklmnop",
3802 		.plaintext = vmac_string2,
3803 		.digest = "\x11\x15\x68\x42\x3d\x7b\x09\xdf",
3804 		.psize  = 128,
3805 		.ksize  = 16,
3806 	}, {
3807 		.key    = "abcdefghijklmnop",
3808 		.plaintext = vmac_string3,
3809 		.digest = "\x8b\x32\x8f\xe1\xed\x8f\xfa\xd4",
3810 		.psize  = 128,
3811 		.ksize  = 16,
3812 	}, {
3813 		.key = "a09b5cd!f#07K\x00\x00\x00",
3814 		.plaintext = vmac_string4,
3815 		.digest = "\xab\xa5\x0f\xea\x42\x4e\xa1\x5f",
3816 		.psize = sizeof(vmac_string4),
3817 		.ksize = 16,
3818 	}, {
3819 		.key = "a09b5cd!f#07K\x00\x00\x00",
3820 		.plaintext = vmac_string5,
3821 		.digest = "\x25\x31\x98\xbc\x1d\xe8\x67\x60",
3822 		.psize = sizeof(vmac_string5),
3823 		.ksize = 16,
3824 	}, {
3825 		.key = "a09b5cd!f#07K\x00\x00\x00",
3826 		.plaintext = vmac_string6,
3827 		.digest = "\xc4\xae\x9b\x47\x95\x65\xeb\x41",
3828 		.psize = sizeof(vmac_string6),
3829 		.ksize = 16,
3830 	},
3831 };
3832 
3833 /*
3834  * SHA384 HMAC test vectors from RFC4231
3835  */
3836 
3837 static const struct hash_testvec hmac_sha384_tv_template[] = {
3838 	{
3839 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3840 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3841 			  "\x0b\x0b\x0b\x0b",
3842 		.ksize	= 20,
3843 		.plaintext = "Hi There",
3844 		.psize	= 8,
3845 		.digest	= "\xaf\xd0\x39\x44\xd8\x48\x95\x62"
3846 			  "\x6b\x08\x25\xf4\xab\x46\x90\x7f"
3847 			  "\x15\xf9\xda\xdb\xe4\x10\x1e\xc6"
3848 			  "\x82\xaa\x03\x4c\x7c\xeb\xc5\x9c"
3849 			  "\xfa\xea\x9e\xa9\x07\x6e\xde\x7f"
3850 			  "\x4a\xf1\x52\xe8\xb2\xfa\x9c\xb6",
3851 	}, {
3852 		.key	= "Jefe",
3853 		.ksize	= 4,
3854 		.plaintext = "what do ya want for nothing?",
3855 		.psize	= 28,
3856 		.digest	= "\xaf\x45\xd2\xe3\x76\x48\x40\x31"
3857 			  "\x61\x7f\x78\xd2\xb5\x8a\x6b\x1b"
3858 			  "\x9c\x7e\xf4\x64\xf5\xa0\x1b\x47"
3859 			  "\xe4\x2e\xc3\x73\x63\x22\x44\x5e"
3860 			  "\x8e\x22\x40\xca\x5e\x69\xe2\xc7"
3861 			  "\x8b\x32\x39\xec\xfa\xb2\x16\x49",
3862 		.np	= 4,
3863 		.tap	= { 7, 7, 7, 7 }
3864 	}, {
3865 		.key	= "\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\xaa\xaa\xaa\xaa\xaa"
3873 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3874 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3875 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3876 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3877 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3878 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3879 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3880 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3881 			  "\xaa\xaa\xaa",
3882 		.ksize	= 131,
3883 		.plaintext = "Test Using Larger Than Block-Siz"
3884 			   "e Key - Hash Key First",
3885 		.psize	= 54,
3886 		.digest	= "\x4e\xce\x08\x44\x85\x81\x3e\x90"
3887 			  "\x88\xd2\xc6\x3a\x04\x1b\xc5\xb4"
3888 			  "\x4f\x9e\xf1\x01\x2a\x2b\x58\x8f"
3889 			  "\x3c\xd1\x1f\x05\x03\x3a\xc4\xc6"
3890 			  "\x0c\x2e\xf6\xab\x40\x30\xfe\x82"
3891 			  "\x96\x24\x8d\xf1\x63\xf4\x49\x52",
3892 	}, {
3893 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3894 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3895 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3896 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3897 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3898 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3899 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3900 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3901 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3902 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3903 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3904 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3905 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3906 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3907 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3908 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3909 			  "\xaa\xaa\xaa",
3910 		.ksize	= 131,
3911 		.plaintext = "This is a test u"
3912 			   "sing a larger th"
3913 			   "an block-size ke"
3914 			   "y and a larger t"
3915 			   "han block-size d"
3916 			   "ata. The key nee"
3917 			   "ds to be hashed "
3918 			   "before being use"
3919 			   "d by the HMAC al"
3920 			   "gorithm.",
3921 		.psize	= 152,
3922 		.digest	= "\x66\x17\x17\x8e\x94\x1f\x02\x0d"
3923 			  "\x35\x1e\x2f\x25\x4e\x8f\xd3\x2c"
3924 			  "\x60\x24\x20\xfe\xb0\xb8\xfb\x9a"
3925 			  "\xdc\xce\xbb\x82\x46\x1e\x99\xc5"
3926 			  "\xa6\x78\xcc\x31\xe7\x99\x17\x6d"
3927 			  "\x38\x60\xe6\x11\x0c\x46\x52\x3e",
3928 	},
3929 };
3930 
3931 /*
3932  * SHA512 HMAC test vectors from RFC4231
3933  */
3934 
3935 static const struct hash_testvec hmac_sha512_tv_template[] = {
3936 	{
3937 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3938 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
3939 			  "\x0b\x0b\x0b\x0b",
3940 		.ksize	= 20,
3941 		.plaintext = "Hi There",
3942 		.psize	= 8,
3943 		.digest	= "\x87\xaa\x7c\xde\xa5\xef\x61\x9d"
3944 			  "\x4f\xf0\xb4\x24\x1a\x1d\x6c\xb0"
3945 			  "\x23\x79\xf4\xe2\xce\x4e\xc2\x78"
3946 			  "\x7a\xd0\xb3\x05\x45\xe1\x7c\xde"
3947 			  "\xda\xa8\x33\xb7\xd6\xb8\xa7\x02"
3948 			  "\x03\x8b\x27\x4e\xae\xa3\xf4\xe4"
3949 			  "\xbe\x9d\x91\x4e\xeb\x61\xf1\x70"
3950 			  "\x2e\x69\x6c\x20\x3a\x12\x68\x54",
3951 	}, {
3952 		.key	= "Jefe",
3953 		.ksize	= 4,
3954 		.plaintext = "what do ya want for nothing?",
3955 		.psize	= 28,
3956 		.digest	= "\x16\x4b\x7a\x7b\xfc\xf8\x19\xe2"
3957 			  "\xe3\x95\xfb\xe7\x3b\x56\xe0\xa3"
3958 			  "\x87\xbd\x64\x22\x2e\x83\x1f\xd6"
3959 			  "\x10\x27\x0c\xd7\xea\x25\x05\x54"
3960 			  "\x97\x58\xbf\x75\xc0\x5a\x99\x4a"
3961 			  "\x6d\x03\x4f\x65\xf8\xf0\xe6\xfd"
3962 			  "\xca\xea\xb1\xa3\x4d\x4a\x6b\x4b"
3963 			  "\x63\x6e\x07\x0a\x38\xbc\xe7\x37",
3964 		.np	= 4,
3965 		.tap	= { 7, 7, 7, 7 }
3966 	}, {
3967 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3968 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3969 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3970 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3971 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3972 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3973 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3974 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3975 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3976 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3977 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3978 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3979 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3980 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3981 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3982 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
3983 			  "\xaa\xaa\xaa",
3984 		.ksize	= 131,
3985 		.plaintext = "Test Using Large"
3986 			   "r Than Block-Siz"
3987 			   "e Key - Hash Key"
3988 			   " First",
3989 		.psize	= 54,
3990 		.digest	= "\x80\xb2\x42\x63\xc7\xc1\xa3\xeb"
3991 			"\xb7\x14\x93\xc1\xdd\x7b\xe8\xb4"
3992 			"\x9b\x46\xd1\xf4\x1b\x4a\xee\xc1"
3993 			"\x12\x1b\x01\x37\x83\xf8\xf3\x52"
3994 			"\x6b\x56\xd0\x37\xe0\x5f\x25\x98"
3995 			"\xbd\x0f\xd2\x21\x5d\x6a\x1e\x52"
3996 			"\x95\xe6\x4f\x73\xf6\x3f\x0a\xec"
3997 			"\x8b\x91\x5a\x98\x5d\x78\x65\x98",
3998 	}, {
3999 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4000 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4001 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4002 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4003 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4004 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4005 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4006 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4007 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4008 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4009 			"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4010 			"\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",
4016 		.ksize	= 131,
4017 		.plaintext =
4018 			  "This is a test u"
4019 			  "sing a larger th"
4020 			  "an block-size ke"
4021 			  "y and a larger t"
4022 			  "han block-size d"
4023 			  "ata. The key nee"
4024 			  "ds to be hashed "
4025 			  "before being use"
4026 			  "d by the HMAC al"
4027 			  "gorithm.",
4028 		.psize	= 152,
4029 		.digest	= "\xe3\x7b\x6a\x77\x5d\xc8\x7d\xba"
4030 			"\xa4\xdf\xa9\xf9\x6e\x5e\x3f\xfd"
4031 			"\xde\xbd\x71\xf8\x86\x72\x89\x86"
4032 			"\x5d\xf5\xa3\x2d\x20\xcd\xc9\x44"
4033 			"\xb6\x02\x2c\xac\x3c\x49\x82\xb1"
4034 			"\x0d\x5e\xeb\x55\xc3\xe4\xde\x15"
4035 			"\x13\x46\x76\xfb\x6d\xe0\x44\x60"
4036 			"\x65\xc9\x74\x40\xfa\x8c\x6a\x58",
4037 	},
4038 };
4039 
4040 static const struct hash_testvec hmac_sha3_224_tv_template[] = {
4041 	{
4042 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4043 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4044 			  "\x0b\x0b\x0b\x0b",
4045 		.ksize	= 20,
4046 		.plaintext = "Hi There",
4047 		.psize	= 8,
4048 		.digest	= "\x3b\x16\x54\x6b\xbc\x7b\xe2\x70"
4049 			  "\x6a\x03\x1d\xca\xfd\x56\x37\x3d"
4050 			  "\x98\x84\x36\x76\x41\xd8\xc5\x9a"
4051 			  "\xf3\xc8\x60\xf7",
4052 	}, {
4053 		.key	= "Jefe",
4054 		.ksize	= 4,
4055 		.plaintext = "what do ya want for nothing?",
4056 		.psize	= 28,
4057 		.digest	= "\x7f\xdb\x8d\xd8\x8b\xd2\xf6\x0d"
4058 			  "\x1b\x79\x86\x34\xad\x38\x68\x11"
4059 			  "\xc2\xcf\xc8\x5b\xfa\xf5\xd5\x2b"
4060 			  "\xba\xce\x5e\x66",
4061 		.np	= 4,
4062 		.tap	= { 7, 7, 7, 7 }
4063 	}, {
4064 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4065 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4066 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4067 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4068 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4069 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4070 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4071 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4072 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4073 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4074 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4075 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4076 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4077 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4078 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4079 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4080 			  "\xaa\xaa\xaa",
4081 		.ksize	= 131,
4082 		.plaintext = "Test Using Large"
4083 			   "r Than Block-Siz"
4084 			   "e Key - Hash Key"
4085 			   " First",
4086 		.psize	= 54,
4087 		.digest = "\xb4\xa1\xf0\x4c\x00\x28\x7a\x9b"
4088 			  "\x7f\x60\x75\xb3\x13\xd2\x79\xb8"
4089 			  "\x33\xbc\x8f\x75\x12\x43\x52\xd0"
4090 			  "\x5f\xb9\x99\x5f",
4091 	}, {
4092 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4093 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4094 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4095 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4096 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4097 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4098 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4099 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4100 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4101 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4102 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4103 			  "\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",
4109 		.ksize	= 131,
4110 		.plaintext =
4111 			  "This is a test u"
4112 			  "sing a larger th"
4113 			  "an block-size ke"
4114 			  "y and a larger t"
4115 			  "han block-size d"
4116 			  "ata. The key nee"
4117 			  "ds to be hashed "
4118 			  "before being use"
4119 			  "d by the HMAC al"
4120 			  "gorithm.",
4121 		.psize	= 152,
4122 		.digest	= "\x05\xd8\xcd\x6d\x00\xfa\xea\x8d"
4123 			  "\x1e\xb6\x8a\xde\x28\x73\x0b\xbd"
4124 			  "\x3c\xba\xb6\x92\x9f\x0a\x08\x6b"
4125 			  "\x29\xcd\x62\xa0",
4126 	},
4127 };
4128 
4129 static const struct hash_testvec hmac_sha3_256_tv_template[] = {
4130 	{
4131 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4132 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4133 			  "\x0b\x0b\x0b\x0b",
4134 		.ksize	= 20,
4135 		.plaintext = "Hi There",
4136 		.psize	= 8,
4137 		.digest	= "\xba\x85\x19\x23\x10\xdf\xfa\x96"
4138 			  "\xe2\xa3\xa4\x0e\x69\x77\x43\x51"
4139 			  "\x14\x0b\xb7\x18\x5e\x12\x02\xcd"
4140 			  "\xcc\x91\x75\x89\xf9\x5e\x16\xbb",
4141 	}, {
4142 		.key	= "Jefe",
4143 		.ksize	= 4,
4144 		.plaintext = "what do ya want for nothing?",
4145 		.psize	= 28,
4146 		.digest	= "\xc7\xd4\x07\x2e\x78\x88\x77\xae"
4147 			  "\x35\x96\xbb\xb0\xda\x73\xb8\x87"
4148 			  "\xc9\x17\x1f\x93\x09\x5b\x29\x4a"
4149 			  "\xe8\x57\xfb\xe2\x64\x5e\x1b\xa5",
4150 		.np	= 4,
4151 		.tap	= { 7, 7, 7, 7 }
4152 	}, {
4153 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4154 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4155 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4156 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4157 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4158 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4159 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4160 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4161 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4162 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4163 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4164 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4165 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4166 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4167 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4168 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4169 			  "\xaa\xaa\xaa",
4170 		.ksize	= 131,
4171 		.plaintext = "Test Using Large"
4172 			   "r Than Block-Siz"
4173 			   "e Key - Hash Key"
4174 			   " First",
4175 		.psize	= 54,
4176 		.digest = "\xed\x73\xa3\x74\xb9\x6c\x00\x52"
4177 			  "\x35\xf9\x48\x03\x2f\x09\x67\x4a"
4178 			  "\x58\xc0\xce\x55\x5c\xfc\x1f\x22"
4179 			  "\x3b\x02\x35\x65\x60\x31\x2c\x3b",
4180 	}, {
4181 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4182 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4183 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4184 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4185 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4186 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4187 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4188 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4189 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4190 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4191 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4192 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4193 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4194 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4195 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4196 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4197 			  "\xaa\xaa\xaa",
4198 		.ksize	= 131,
4199 		.plaintext =
4200 			  "This is a test u"
4201 			  "sing a larger th"
4202 			  "an block-size ke"
4203 			  "y and a larger t"
4204 			  "han block-size d"
4205 			  "ata. The key nee"
4206 			  "ds to be hashed "
4207 			  "before being use"
4208 			  "d by the HMAC al"
4209 			  "gorithm.",
4210 		.psize	= 152,
4211 		.digest	= "\x65\xc5\xb0\x6d\x4c\x3d\xe3\x2a"
4212 			  "\x7a\xef\x87\x63\x26\x1e\x49\xad"
4213 			  "\xb6\xe2\x29\x3e\xc8\xe7\xc6\x1e"
4214 			  "\x8d\xe6\x17\x01\xfc\x63\xe1\x23",
4215 	},
4216 };
4217 
4218 static const struct hash_testvec hmac_sha3_384_tv_template[] = {
4219 	{
4220 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4221 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4222 			  "\x0b\x0b\x0b\x0b",
4223 		.ksize	= 20,
4224 		.plaintext = "Hi There",
4225 		.psize	= 8,
4226 		.digest	= "\x68\xd2\xdc\xf7\xfd\x4d\xdd\x0a"
4227 			  "\x22\x40\xc8\xa4\x37\x30\x5f\x61"
4228 			  "\xfb\x73\x34\xcf\xb5\xd0\x22\x6e"
4229 			  "\x1b\xc2\x7d\xc1\x0a\x2e\x72\x3a"
4230 			  "\x20\xd3\x70\xb4\x77\x43\x13\x0e"
4231 			  "\x26\xac\x7e\x3d\x53\x28\x86\xbd",
4232 	}, {
4233 		.key	= "Jefe",
4234 		.ksize	= 4,
4235 		.plaintext = "what do ya want for nothing?",
4236 		.psize	= 28,
4237 		.digest	= "\xf1\x10\x1f\x8c\xbf\x97\x66\xfd"
4238 			  "\x67\x64\xd2\xed\x61\x90\x3f\x21"
4239 			  "\xca\x9b\x18\xf5\x7c\xf3\xe1\xa2"
4240 			  "\x3c\xa1\x35\x08\xa9\x32\x43\xce"
4241 			  "\x48\xc0\x45\xdc\x00\x7f\x26\xa2"
4242 			  "\x1b\x3f\x5e\x0e\x9d\xf4\xc2\x0a",
4243 		.np	= 4,
4244 		.tap	= { 7, 7, 7, 7 }
4245 	}, {
4246 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4247 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4248 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4249 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4250 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4251 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4252 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4253 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4254 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4255 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4256 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4257 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4258 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4259 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4260 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4261 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4262 			  "\xaa\xaa\xaa",
4263 		.ksize	= 131,
4264 		.plaintext = "Test Using Large"
4265 			   "r Than Block-Siz"
4266 			   "e Key - Hash Key"
4267 			   " First",
4268 		.psize	= 54,
4269 		.digest = "\x0f\xc1\x95\x13\xbf\x6b\xd8\x78"
4270 			  "\x03\x70\x16\x70\x6a\x0e\x57\xbc"
4271 			  "\x52\x81\x39\x83\x6b\x9a\x42\xc3"
4272 			  "\xd4\x19\xe4\x98\xe0\xe1\xfb\x96"
4273 			  "\x16\xfd\x66\x91\x38\xd3\x3a\x11"
4274 			  "\x05\xe0\x7c\x72\xb6\x95\x3b\xcc",
4275 	}, {
4276 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4277 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4278 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4279 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4280 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4281 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4282 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4283 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4284 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4285 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4286 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4287 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4288 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4289 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4290 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4291 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4292 			  "\xaa\xaa\xaa",
4293 		.ksize	= 131,
4294 		.plaintext =
4295 			  "This is a test u"
4296 			  "sing a larger th"
4297 			  "an block-size ke"
4298 			  "y and a larger t"
4299 			  "han block-size d"
4300 			  "ata. The key nee"
4301 			  "ds to be hashed "
4302 			  "before being use"
4303 			  "d by the HMAC al"
4304 			  "gorithm.",
4305 		.psize	= 152,
4306 		.digest	= "\x02\x6f\xdf\x6b\x50\x74\x1e\x37"
4307 			  "\x38\x99\xc9\xf7\xd5\x40\x6d\x4e"
4308 			  "\xb0\x9f\xc6\x66\x56\x36\xfc\x1a"
4309 			  "\x53\x00\x29\xdd\xf5\xcf\x3c\xa5"
4310 			  "\xa9\x00\xed\xce\x01\xf5\xf6\x1e"
4311 			  "\x2f\x40\x8c\xdf\x2f\xd3\xe7\xe8",
4312 	},
4313 };
4314 
4315 static const struct hash_testvec hmac_sha3_512_tv_template[] = {
4316 	{
4317 		.key	= "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4318 			  "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
4319 			  "\x0b\x0b\x0b\x0b",
4320 		.ksize	= 20,
4321 		.plaintext = "Hi There",
4322 		.psize	= 8,
4323 		.digest	= "\xeb\x3f\xbd\x4b\x2e\xaa\xb8\xf5"
4324 			  "\xc5\x04\xbd\x3a\x41\x46\x5a\xac"
4325 			  "\xec\x15\x77\x0a\x7c\xab\xac\x53"
4326 			  "\x1e\x48\x2f\x86\x0b\x5e\xc7\xba"
4327 			  "\x47\xcc\xb2\xc6\xf2\xaf\xce\x8f"
4328 			  "\x88\xd2\x2b\x6d\xc6\x13\x80\xf2"
4329 			  "\x3a\x66\x8f\xd3\x88\x8b\xb8\x05"
4330 			  "\x37\xc0\xa0\xb8\x64\x07\x68\x9e",
4331 	}, {
4332 		.key	= "Jefe",
4333 		.ksize	= 4,
4334 		.plaintext = "what do ya want for nothing?",
4335 		.psize	= 28,
4336 		.digest	= "\x5a\x4b\xfe\xab\x61\x66\x42\x7c"
4337 			  "\x7a\x36\x47\xb7\x47\x29\x2b\x83"
4338 			  "\x84\x53\x7c\xdb\x89\xaf\xb3\xbf"
4339 			  "\x56\x65\xe4\xc5\xe7\x09\x35\x0b"
4340 			  "\x28\x7b\xae\xc9\x21\xfd\x7c\xa0"
4341 			  "\xee\x7a\x0c\x31\xd0\x22\xa9\x5e"
4342 			  "\x1f\xc9\x2b\xa9\xd7\x7d\xf8\x83"
4343 			  "\x96\x02\x75\xbe\xb4\xe6\x20\x24",
4344 		.np	= 4,
4345 		.tap	= { 7, 7, 7, 7 }
4346 	}, {
4347 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4348 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4349 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4350 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4351 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4352 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4353 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4354 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4355 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4356 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4357 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4358 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4359 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4360 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4361 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4362 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4363 			  "\xaa\xaa\xaa",
4364 		.ksize	= 131,
4365 		.plaintext = "Test Using Large"
4366 			   "r Than Block-Siz"
4367 			   "e Key - Hash Key"
4368 			   " First",
4369 		.psize	= 54,
4370 		.digest = "\x00\xf7\x51\xa9\xe5\x06\x95\xb0"
4371 			  "\x90\xed\x69\x11\xa4\xb6\x55\x24"
4372 			  "\x95\x1c\xdc\x15\xa7\x3a\x5d\x58"
4373 			  "\xbb\x55\x21\x5e\xa2\xcd\x83\x9a"
4374 			  "\xc7\x9d\x2b\x44\xa3\x9b\xaf\xab"
4375 			  "\x27\xe8\x3f\xde\x9e\x11\xf6\x34"
4376 			  "\x0b\x11\xd9\x91\xb1\xb9\x1b\xf2"
4377 			  "\xee\xe7\xfc\x87\x24\x26\xc3\xa4",
4378 	}, {
4379 		.key	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4380 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4381 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4382 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4383 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4384 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4385 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4386 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4387 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4388 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4389 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4390 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4391 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4392 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4393 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4394 			  "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
4395 			  "\xaa\xaa\xaa",
4396 		.ksize	= 131,
4397 		.plaintext =
4398 			  "This is a test u"
4399 			  "sing a larger th"
4400 			  "an block-size ke"
4401 			  "y and a larger t"
4402 			  "han block-size d"
4403 			  "ata. The key nee"
4404 			  "ds to be hashed "
4405 			  "before being use"
4406 			  "d by the HMAC al"
4407 			  "gorithm.",
4408 		.psize	= 152,
4409 		.digest	= "\x38\xa4\x56\xa0\x04\xbd\x10\xd3"
4410 			  "\x2c\x9a\xb8\x33\x66\x84\x11\x28"
4411 			  "\x62\xc3\xdb\x61\xad\xcc\xa3\x18"
4412 			  "\x29\x35\x5e\xaf\x46\xfd\x5c\x73"
4413 			  "\xd0\x6a\x1f\x0d\x13\xfe\xc9\xa6"
4414 			  "\x52\xfb\x38\x11\xb5\x77\xb1\xb1"
4415 			  "\xd1\xb9\x78\x9f\x97\xae\x5b\x83"
4416 			  "\xc6\xf4\x4d\xfc\xf1\xd6\x7e\xba",
4417 	},
4418 };
4419 
4420 /*
4421  * Poly1305 test vectors from RFC7539 A.3.
4422  */
4423 
4424 static const struct hash_testvec poly1305_tv_template[] = {
4425 	{ /* Test Vector #1 */
4426 		.plaintext	= "\x00\x00\x00\x00\x00\x00\x00\x00"
4427 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4428 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4429 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4430 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4431 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4432 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4433 				  "\x00\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 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4438 		.psize		= 96,
4439 		.digest		= "\x00\x00\x00\x00\x00\x00\x00\x00"
4440 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4441 	}, { /* Test Vector #2 */
4442 		.plaintext	= "\x00\x00\x00\x00\x00\x00\x00\x00"
4443 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4444 				  "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
4445 				  "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
4446 				  "\x41\x6e\x79\x20\x73\x75\x62\x6d"
4447 				  "\x69\x73\x73\x69\x6f\x6e\x20\x74"
4448 				  "\x6f\x20\x74\x68\x65\x20\x49\x45"
4449 				  "\x54\x46\x20\x69\x6e\x74\x65\x6e"
4450 				  "\x64\x65\x64\x20\x62\x79\x20\x74"
4451 				  "\x68\x65\x20\x43\x6f\x6e\x74\x72"
4452 				  "\x69\x62\x75\x74\x6f\x72\x20\x66"
4453 				  "\x6f\x72\x20\x70\x75\x62\x6c\x69"
4454 				  "\x63\x61\x74\x69\x6f\x6e\x20\x61"
4455 				  "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
4456 				  "\x20\x70\x61\x72\x74\x20\x6f\x66"
4457 				  "\x20\x61\x6e\x20\x49\x45\x54\x46"
4458 				  "\x20\x49\x6e\x74\x65\x72\x6e\x65"
4459 				  "\x74\x2d\x44\x72\x61\x66\x74\x20"
4460 				  "\x6f\x72\x20\x52\x46\x43\x20\x61"
4461 				  "\x6e\x64\x20\x61\x6e\x79\x20\x73"
4462 				  "\x74\x61\x74\x65\x6d\x65\x6e\x74"
4463 				  "\x20\x6d\x61\x64\x65\x20\x77\x69"
4464 				  "\x74\x68\x69\x6e\x20\x74\x68\x65"
4465 				  "\x20\x63\x6f\x6e\x74\x65\x78\x74"
4466 				  "\x20\x6f\x66\x20\x61\x6e\x20\x49"
4467 				  "\x45\x54\x46\x20\x61\x63\x74\x69"
4468 				  "\x76\x69\x74\x79\x20\x69\x73\x20"
4469 				  "\x63\x6f\x6e\x73\x69\x64\x65\x72"
4470 				  "\x65\x64\x20\x61\x6e\x20\x22\x49"
4471 				  "\x45\x54\x46\x20\x43\x6f\x6e\x74"
4472 				  "\x72\x69\x62\x75\x74\x69\x6f\x6e"
4473 				  "\x22\x2e\x20\x53\x75\x63\x68\x20"
4474 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4475 				  "\x74\x73\x20\x69\x6e\x63\x6c\x75"
4476 				  "\x64\x65\x20\x6f\x72\x61\x6c\x20"
4477 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4478 				  "\x74\x73\x20\x69\x6e\x20\x49\x45"
4479 				  "\x54\x46\x20\x73\x65\x73\x73\x69"
4480 				  "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
4481 				  "\x77\x65\x6c\x6c\x20\x61\x73\x20"
4482 				  "\x77\x72\x69\x74\x74\x65\x6e\x20"
4483 				  "\x61\x6e\x64\x20\x65\x6c\x65\x63"
4484 				  "\x74\x72\x6f\x6e\x69\x63\x20\x63"
4485 				  "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
4486 				  "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
4487 				  "\x64\x65\x20\x61\x74\x20\x61\x6e"
4488 				  "\x79\x20\x74\x69\x6d\x65\x20\x6f"
4489 				  "\x72\x20\x70\x6c\x61\x63\x65\x2c"
4490 				  "\x20\x77\x68\x69\x63\x68\x20\x61"
4491 				  "\x72\x65\x20\x61\x64\x64\x72\x65"
4492 				  "\x73\x73\x65\x64\x20\x74\x6f",
4493 		.psize		= 407,
4494 		.digest		= "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
4495 				  "\xf0\xef\xca\x96\x22\x7a\x86\x3e",
4496 	}, { /* Test Vector #3 */
4497 		.plaintext	= "\x36\xe5\xf6\xb5\xc5\xe0\x60\x70"
4498 				  "\xf0\xef\xca\x96\x22\x7a\x86\x3e"
4499 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4500 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4501 				  "\x41\x6e\x79\x20\x73\x75\x62\x6d"
4502 				  "\x69\x73\x73\x69\x6f\x6e\x20\x74"
4503 				  "\x6f\x20\x74\x68\x65\x20\x49\x45"
4504 				  "\x54\x46\x20\x69\x6e\x74\x65\x6e"
4505 				  "\x64\x65\x64\x20\x62\x79\x20\x74"
4506 				  "\x68\x65\x20\x43\x6f\x6e\x74\x72"
4507 				  "\x69\x62\x75\x74\x6f\x72\x20\x66"
4508 				  "\x6f\x72\x20\x70\x75\x62\x6c\x69"
4509 				  "\x63\x61\x74\x69\x6f\x6e\x20\x61"
4510 				  "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
4511 				  "\x20\x70\x61\x72\x74\x20\x6f\x66"
4512 				  "\x20\x61\x6e\x20\x49\x45\x54\x46"
4513 				  "\x20\x49\x6e\x74\x65\x72\x6e\x65"
4514 				  "\x74\x2d\x44\x72\x61\x66\x74\x20"
4515 				  "\x6f\x72\x20\x52\x46\x43\x20\x61"
4516 				  "\x6e\x64\x20\x61\x6e\x79\x20\x73"
4517 				  "\x74\x61\x74\x65\x6d\x65\x6e\x74"
4518 				  "\x20\x6d\x61\x64\x65\x20\x77\x69"
4519 				  "\x74\x68\x69\x6e\x20\x74\x68\x65"
4520 				  "\x20\x63\x6f\x6e\x74\x65\x78\x74"
4521 				  "\x20\x6f\x66\x20\x61\x6e\x20\x49"
4522 				  "\x45\x54\x46\x20\x61\x63\x74\x69"
4523 				  "\x76\x69\x74\x79\x20\x69\x73\x20"
4524 				  "\x63\x6f\x6e\x73\x69\x64\x65\x72"
4525 				  "\x65\x64\x20\x61\x6e\x20\x22\x49"
4526 				  "\x45\x54\x46\x20\x43\x6f\x6e\x74"
4527 				  "\x72\x69\x62\x75\x74\x69\x6f\x6e"
4528 				  "\x22\x2e\x20\x53\x75\x63\x68\x20"
4529 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4530 				  "\x74\x73\x20\x69\x6e\x63\x6c\x75"
4531 				  "\x64\x65\x20\x6f\x72\x61\x6c\x20"
4532 				  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
4533 				  "\x74\x73\x20\x69\x6e\x20\x49\x45"
4534 				  "\x54\x46\x20\x73\x65\x73\x73\x69"
4535 				  "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
4536 				  "\x77\x65\x6c\x6c\x20\x61\x73\x20"
4537 				  "\x77\x72\x69\x74\x74\x65\x6e\x20"
4538 				  "\x61\x6e\x64\x20\x65\x6c\x65\x63"
4539 				  "\x74\x72\x6f\x6e\x69\x63\x20\x63"
4540 				  "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
4541 				  "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
4542 				  "\x64\x65\x20\x61\x74\x20\x61\x6e"
4543 				  "\x79\x20\x74\x69\x6d\x65\x20\x6f"
4544 				  "\x72\x20\x70\x6c\x61\x63\x65\x2c"
4545 				  "\x20\x77\x68\x69\x63\x68\x20\x61"
4546 				  "\x72\x65\x20\x61\x64\x64\x72\x65"
4547 				  "\x73\x73\x65\x64\x20\x74\x6f",
4548 		.psize		= 407,
4549 		.digest		= "\xf3\x47\x7e\x7c\xd9\x54\x17\xaf"
4550 				  "\x89\xa6\xb8\x79\x4c\x31\x0c\xf0",
4551 	}, { /* Test Vector #4 */
4552 		.plaintext	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
4553 				  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
4554 				  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
4555 				  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
4556 				  "\x27\x54\x77\x61\x73\x20\x62\x72"
4557 				  "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
4558 				  "\x6e\x64\x20\x74\x68\x65\x20\x73"
4559 				  "\x6c\x69\x74\x68\x79\x20\x74\x6f"
4560 				  "\x76\x65\x73\x0a\x44\x69\x64\x20"
4561 				  "\x67\x79\x72\x65\x20\x61\x6e\x64"
4562 				  "\x20\x67\x69\x6d\x62\x6c\x65\x20"
4563 				  "\x69\x6e\x20\x74\x68\x65\x20\x77"
4564 				  "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
4565 				  "\x20\x6d\x69\x6d\x73\x79\x20\x77"
4566 				  "\x65\x72\x65\x20\x74\x68\x65\x20"
4567 				  "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
4568 				  "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
4569 				  "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
4570 				  "\x72\x61\x74\x68\x73\x20\x6f\x75"
4571 				  "\x74\x67\x72\x61\x62\x65\x2e",
4572 		.psize		= 159,
4573 		.digest		= "\x45\x41\x66\x9a\x7e\xaa\xee\x61"
4574 				  "\xe7\x08\xdc\x7c\xbc\xc5\xeb\x62",
4575 	}, { /* Test Vector #5 */
4576 		.plaintext	= "\x02\x00\x00\x00\x00\x00\x00\x00"
4577 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4578 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4579 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4580 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4581 				  "\xff\xff\xff\xff\xff\xff\xff\xff",
4582 		.psize		= 48,
4583 		.digest		= "\x03\x00\x00\x00\x00\x00\x00\x00"
4584 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4585 	}, { /* Test Vector #6 */
4586 		.plaintext	= "\x02\x00\x00\x00\x00\x00\x00\x00"
4587 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4588 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4589 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4590 				  "\x02\x00\x00\x00\x00\x00\x00\x00"
4591 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4592 		.psize		= 48,
4593 		.digest		= "\x03\x00\x00\x00\x00\x00\x00\x00"
4594 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4595 	}, { /* Test Vector #7 */
4596 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
4597 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4598 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4599 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4600 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4601 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4602 				  "\xf0\xff\xff\xff\xff\xff\xff\xff"
4603 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4604 				  "\x11\x00\x00\x00\x00\x00\x00\x00"
4605 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4606 		.psize		= 80,
4607 		.digest		= "\x05\x00\x00\x00\x00\x00\x00\x00"
4608 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4609 	}, { /* Test Vector #8 */
4610 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
4611 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4612 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4613 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4614 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4615 				  "\xff\xff\xff\xff\xff\xff\xff\xff"
4616 				  "\xfb\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
4617 				  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
4618 				  "\x01\x01\x01\x01\x01\x01\x01\x01"
4619 				  "\x01\x01\x01\x01\x01\x01\x01\x01",
4620 		.psize		= 80,
4621 		.digest		= "\x00\x00\x00\x00\x00\x00\x00\x00"
4622 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4623 	}, { /* Test Vector #9 */
4624 		.plaintext	= "\x02\x00\x00\x00\x00\x00\x00\x00"
4625 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4626 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4627 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4628 				  "\xfd\xff\xff\xff\xff\xff\xff\xff"
4629 				  "\xff\xff\xff\xff\xff\xff\xff\xff",
4630 		.psize		= 48,
4631 		.digest		= "\xfa\xff\xff\xff\xff\xff\xff\xff"
4632 				  "\xff\xff\xff\xff\xff\xff\xff\xff",
4633 	}, { /* Test Vector #10 */
4634 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
4635 				  "\x04\x00\x00\x00\x00\x00\x00\x00"
4636 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4637 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4638 				  "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
4639 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4640 				  "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
4641 				  "\x01\x00\x00\x00\x00\x00\x00\x00"
4642 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4643 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4644 				  "\x01\x00\x00\x00\x00\x00\x00\x00"
4645 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4646 		.psize		= 96,
4647 		.digest		= "\x14\x00\x00\x00\x00\x00\x00\x00"
4648 				  "\x55\x00\x00\x00\x00\x00\x00\x00",
4649 	}, { /* Test Vector #11 */
4650 		.plaintext	= "\x01\x00\x00\x00\x00\x00\x00\x00"
4651 				  "\x04\x00\x00\x00\x00\x00\x00\x00"
4652 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4653 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4654 				  "\xe3\x35\x94\xd7\x50\x5e\x43\xb9"
4655 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4656 				  "\x33\x94\xd7\x50\x5e\x43\x79\xcd"
4657 				  "\x01\x00\x00\x00\x00\x00\x00\x00"
4658 				  "\x00\x00\x00\x00\x00\x00\x00\x00"
4659 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4660 		.psize		= 80,
4661 		.digest		= "\x13\x00\x00\x00\x00\x00\x00\x00"
4662 				  "\x00\x00\x00\x00\x00\x00\x00\x00",
4663 	},
4664 };
4665 
4666 /*
4667  * DES test vectors.
4668  */
4669 static const struct cipher_testvec des_enc_tv_template[] = {
4670 	{ /* From Applied Cryptography */
4671 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4672 		.klen	= 8,
4673 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4674 		.ilen	= 8,
4675 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4676 		.rlen	= 8,
4677 	}, { /* Same key, different plaintext block */
4678 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4679 		.klen	= 8,
4680 		.input	= "\x22\x33\x44\x55\x66\x77\x88\x99",
4681 		.ilen	= 8,
4682 		.result	= "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4683 		.rlen	= 8,
4684 	}, { /* Sbox test from NBS */
4685 		.key	= "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
4686 		.klen	= 8,
4687 		.input	= "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
4688 		.ilen	= 8,
4689 		.result	= "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4690 		.rlen	= 8,
4691 	}, { /* Three blocks */
4692 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4693 		.klen	= 8,
4694 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4695 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
4696 			  "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
4697 		.ilen	= 24,
4698 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4699 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
4700 			  "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
4701 		.rlen	= 24,
4702 	}, { /* Weak key */
4703 		.fail	= true,
4704 		.wk	= 1,
4705 		.key	= "\x01\x01\x01\x01\x01\x01\x01\x01",
4706 		.klen	= 8,
4707 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4708 		.ilen	= 8,
4709 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4710 		.rlen	= 8,
4711 	}, { /* Two blocks -- for testing encryption across pages */
4712 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4713 		.klen	= 8,
4714 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4715 			  "\x22\x33\x44\x55\x66\x77\x88\x99",
4716 		.ilen	= 16,
4717 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4718 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4719 		.rlen	= 16,
4720 		.np	= 2,
4721 		.tap	= { 8, 8 }
4722 	}, { /* Four blocks -- for testing encryption with chunking */
4723 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4724 		.klen	= 8,
4725 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4726 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
4727 			  "\xca\xfe\xba\xbe\xfe\xed\xbe\xef"
4728 			  "\x22\x33\x44\x55\x66\x77\x88\x99",
4729 		.ilen	= 32,
4730 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4731 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
4732 			  "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90"
4733 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4734 		.rlen	= 32,
4735 		.np	= 3,
4736 		.tap	= { 14, 10, 8 }
4737 	}, {
4738 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4739 		.klen	= 8,
4740 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4741 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
4742 			  "\xca\xfe\xba\xbe\xfe\xed\xbe\xef",
4743 		.ilen	= 24,
4744 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4745 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b"
4746 			  "\xb4\x99\x26\xf7\x1f\xe1\xd4\x90",
4747 		.rlen	= 24,
4748 		.np	= 4,
4749 		.tap	= { 2, 1, 3, 18 }
4750 	}, {
4751 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4752 		.klen	= 8,
4753 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4754 			  "\x22\x33\x44\x55\x66\x77\x88\x99",
4755 		.ilen	= 16,
4756 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4757 			  "\xf7\x9c\x89\x2a\x33\x8f\x4a\x8b",
4758 		.rlen	= 16,
4759 		.np	= 5,
4760 		.tap	= { 2, 2, 2, 2, 8 }
4761 	}, {
4762 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4763 		.klen	= 8,
4764 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4765 		.ilen	= 8,
4766 		.result	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4767 		.rlen	= 8,
4768 		.np	= 8,
4769 		.tap	= { 1, 1, 1, 1, 1, 1, 1, 1 }
4770 	}, { /* Generated with Crypto++ */
4771 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
4772 		.klen	= 8,
4773 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
4774 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
4775 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
4776 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
4777 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
4778 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
4779 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
4780 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
4781 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
4782 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
4783 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
4784 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
4785 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
4786 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
4787 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
4788 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
4789 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
4790 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
4791 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
4792 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
4793 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
4794 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
4795 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
4796 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
4797 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
4798 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
4799 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
4800 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
4801 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
4802 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
4803 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
4804 		.ilen	= 248,
4805 		.result	= "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
4806 			  "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
4807 			  "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
4808 			  "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
4809 			  "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
4810 			  "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
4811 			  "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
4812 			  "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
4813 			  "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
4814 			  "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
4815 			  "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
4816 			  "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
4817 			  "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
4818 			  "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
4819 			  "\x2E\x51\x16\xCA\x09\x89\x54\x62"
4820 			  "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
4821 			  "\x62\xF0\x02\x58\x83\xAF\x30\x87"
4822 			  "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
4823 			  "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
4824 			  "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
4825 			  "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
4826 			  "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
4827 			  "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
4828 			  "\xE9\x95\x61\x74\x12\xED\x07\xD7"
4829 			  "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
4830 			  "\x51\x96\x16\xF7\x94\x61\xB8\x87"
4831 			  "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
4832 			  "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
4833 			  "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
4834 			  "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
4835 			  "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
4836 		.rlen	= 248,
4837 		.also_non_np = 1,
4838 		.np	= 3,
4839 		.tap	= { 248 - 10, 2, 8 },
4840 	},
4841 };
4842 
4843 static const struct cipher_testvec des_dec_tv_template[] = {
4844 	{ /* From Applied Cryptography */
4845 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4846 		.klen	= 8,
4847 		.input	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d",
4848 		.ilen	= 8,
4849 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xe7",
4850 		.rlen	= 8,
4851 	}, { /* Sbox test from NBS */
4852 		.key	= "\x7c\xa1\x10\x45\x4a\x1a\x6e\x57",
4853 		.klen	= 8,
4854 		.input	= "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4855 		.ilen	= 8,
4856 		.result	= "\x01\xa1\xd6\xd0\x39\x77\x67\x42",
4857 		.rlen	= 8,
4858 	}, { /* Two blocks, for chunking test */
4859 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4860 		.klen	= 8,
4861 		.input	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4862 			  "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4863 		.ilen	= 16,
4864 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4865 			  "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
4866 		.rlen	= 16,
4867 		.np	= 2,
4868 		.tap	= { 8, 8 }
4869 	}, {
4870 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4871 		.klen	= 8,
4872 		.input	= "\xc9\x57\x44\x25\x6a\x5e\xd3\x1d"
4873 			  "\x69\x0f\x5b\x0d\x9a\x26\x93\x9b",
4874 		.ilen	= 16,
4875 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xe7"
4876 			  "\xa3\x99\x7b\xca\xaf\x69\xa0\xf5",
4877 		.rlen	= 16,
4878 		.np	= 3,
4879 		.tap	= { 3, 12, 1 }
4880 	}, { /* Generated with Crypto++ */
4881 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
4882 		.klen	= 8,
4883 		.input	= "\x88\xCB\x1F\xAB\x2F\x2A\x49\x57"
4884 			  "\x92\xB9\x77\xFF\x2F\x47\x58\xDD"
4885 			  "\xD7\x8A\x91\x95\x26\x33\x78\xB2"
4886 			  "\x33\xBA\xB2\x3E\x02\xF5\x1F\xEF"
4887 			  "\x98\xC5\xA6\xD2\x7D\x79\xEC\xB3"
4888 			  "\x45\xF3\x4C\x61\xAC\x6C\xC2\x55"
4889 			  "\xE5\xD3\x06\x58\x8A\x42\x3E\xDD"
4890 			  "\x3D\x20\x45\xE9\x6F\x0D\x25\xA8"
4891 			  "\xA5\xC7\x69\xCE\xD5\x3B\x7B\xC9"
4892 			  "\x9E\x65\xE7\xA3\xF2\xE4\x18\x94"
4893 			  "\xD2\x81\xE9\x33\x2B\x2D\x49\xC4"
4894 			  "\xFE\xDA\x7F\xE2\xF2\x8C\x9C\xDC"
4895 			  "\x73\x58\x11\x1F\x81\xD7\x21\x1A"
4896 			  "\x80\xD0\x0D\xE8\x45\xD6\xD8\xD5"
4897 			  "\x2E\x51\x16\xCA\x09\x89\x54\x62"
4898 			  "\xF7\x04\x3D\x75\xB9\xA3\x84\xF4"
4899 			  "\x62\xF0\x02\x58\x83\xAF\x30\x87"
4900 			  "\x85\x3F\x01\xCD\x8E\x58\x42\xC4"
4901 			  "\x41\x73\xE0\x15\x0A\xE6\x2E\x80"
4902 			  "\x94\xF8\x5B\x3A\x4E\xDF\x51\xB2"
4903 			  "\x9D\xE4\xC4\x9D\xF7\x3F\xF8\x8E"
4904 			  "\x37\x22\x4D\x00\x2A\xEF\xC1\x0F"
4905 			  "\x14\xA0\x66\xAB\x79\x39\xD0\x8E"
4906 			  "\xE9\x95\x61\x74\x12\xED\x07\xD7"
4907 			  "\xDD\x95\xDC\x7B\x57\x25\x27\x9C"
4908 			  "\x51\x96\x16\xF7\x94\x61\xB8\x87"
4909 			  "\xF0\x21\x1B\x32\xFB\x07\x0F\x29"
4910 			  "\x56\xBD\x9D\x22\xA2\x9F\xA2\xB9"
4911 			  "\x46\x31\x4C\x5E\x2E\x95\x61\xEF"
4912 			  "\xE1\x58\x39\x09\xB4\x8B\x40\xAC"
4913 			  "\x5F\x62\xC7\x72\xD9\xFC\xCB\x9A",
4914 		.ilen	= 248,
4915 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
4916 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
4917 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
4918 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
4919 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
4920 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
4921 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
4922 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
4923 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
4924 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
4925 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
4926 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
4927 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
4928 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
4929 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
4930 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
4931 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
4932 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
4933 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
4934 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
4935 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
4936 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
4937 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
4938 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
4939 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
4940 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
4941 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
4942 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
4943 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
4944 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
4945 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
4946 		.rlen	= 248,
4947 		.also_non_np = 1,
4948 		.np	= 3,
4949 		.tap	= { 248 - 10, 2, 8 },
4950 	},
4951 };
4952 
4953 static const struct cipher_testvec des_cbc_enc_tv_template[] = {
4954 	{ /* From OpenSSL */
4955 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4956 		.klen	= 8,
4957 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4958 		.input	= "\x37\x36\x35\x34\x33\x32\x31\x20"
4959 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
4960 			  "\x68\x65\x20\x74\x69\x6d\x65\x20",
4961 		.ilen	= 24,
4962 		.result	= "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
4963 			  "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
4964 			  "\x46\x8e\x91\x15\x78\x88\xba\x68",
4965 		.rlen	= 24,
4966 	}, { /* FIPS Pub 81 */
4967 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4968 		.klen	= 8,
4969 		.iv	= "\x12\x34\x56\x78\x90\xab\xcd\xef",
4970 		.input	= "\x4e\x6f\x77\x20\x69\x73\x20\x74",
4971 		.ilen	= 8,
4972 		.result	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
4973 		.rlen	= 8,
4974 	}, {
4975 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4976 		.klen	= 8,
4977 		.iv	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
4978 		.input	= "\x68\x65\x20\x74\x69\x6d\x65\x20",
4979 		.ilen	= 8,
4980 		.result	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
4981 		.rlen	= 8,
4982 	}, {
4983 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4984 		.klen	= 8,
4985 		.iv	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
4986 		.input	= "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
4987 		.ilen	= 8,
4988 		.result	= "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
4989 		.rlen	= 8,
4990 	}, { /* Copy of openssl vector for chunk testing */
4991 	     /* From OpenSSL */
4992 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
4993 		.klen	= 8,
4994 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
4995 		.input	= "\x37\x36\x35\x34\x33\x32\x31\x20"
4996 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
4997 			  "\x68\x65\x20\x74\x69\x6d\x65\x20",
4998 		.ilen	= 24,
4999 		.result	= "\xcc\xd1\x73\xff\xab\x20\x39\xf4"
5000 			  "\xac\xd8\xae\xfd\xdf\xd8\xa1\xeb"
5001 			  "\x46\x8e\x91\x15\x78\x88\xba\x68",
5002 		.rlen	= 24,
5003 		.np	= 2,
5004 		.tap	= { 13, 11 }
5005 	}, { /* Generated with Crypto++ */
5006 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5007 		.klen	= 8,
5008 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5009 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5010 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5011 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5012 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5013 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5014 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5015 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5016 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5017 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5018 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5019 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5020 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5021 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5022 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5023 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5024 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5025 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5026 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5027 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5028 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5029 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5030 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5031 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5032 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5033 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5034 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5035 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5036 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5037 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5038 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5039 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5040 		.ilen	= 248,
5041 		.result	= "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
5042 			  "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
5043 			  "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
5044 			  "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
5045 			  "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
5046 			  "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
5047 			  "\x81\x72\x74\xDE\x30\x19\x69\x49"
5048 			  "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
5049 			  "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
5050 			  "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
5051 			  "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
5052 			  "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
5053 			  "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
5054 			  "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
5055 			  "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
5056 			  "\x49\x90\x88\x6A\x09\x8F\x76\x59"
5057 			  "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
5058 			  "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
5059 			  "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
5060 			  "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
5061 			  "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
5062 			  "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
5063 			  "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
5064 			  "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
5065 			  "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
5066 			  "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
5067 			  "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
5068 			  "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
5069 			  "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
5070 			  "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
5071 			  "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
5072 		.rlen	= 248,
5073 		.also_non_np = 1,
5074 		.np	= 3,
5075 		.tap	= { 248 - 10, 2, 8 },
5076 	},
5077 };
5078 
5079 static const struct cipher_testvec des_cbc_dec_tv_template[] = {
5080 	{ /* FIPS Pub 81 */
5081 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5082 		.klen	= 8,
5083 		.iv	= "\x12\x34\x56\x78\x90\xab\xcd\xef",
5084 		.input	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
5085 		.ilen	= 8,
5086 		.result	= "\x4e\x6f\x77\x20\x69\x73\x20\x74",
5087 		.rlen	= 8,
5088 	}, {
5089 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5090 		.klen	= 8,
5091 		.iv	= "\xe5\xc7\xcd\xde\x87\x2b\xf2\x7c",
5092 		.input	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5093 		.ilen	= 8,
5094 		.result	= "\x68\x65\x20\x74\x69\x6d\x65\x20",
5095 		.rlen	= 8,
5096 	}, {
5097 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5098 		.klen	= 8,
5099 		.iv	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5100 		.input	= "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
5101 		.ilen	= 8,
5102 		.result	= "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
5103 		.rlen	= 8,
5104 	}, { /* Copy of above, for chunk testing */
5105 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
5106 		.klen	= 8,
5107 		.iv	= "\x43\xe9\x34\x00\x8c\x38\x9c\x0f",
5108 		.input	= "\x68\x37\x88\x49\x9a\x7c\x05\xf6",
5109 		.ilen	= 8,
5110 		.result	= "\x66\x6f\x72\x20\x61\x6c\x6c\x20",
5111 		.rlen	= 8,
5112 		.np	= 2,
5113 		.tap	= { 4, 4 }
5114 	}, { /* Generated with Crypto++ */
5115 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5116 		.klen	= 8,
5117 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5118 		.input	= "\x71\xCC\x56\x1C\x87\x2C\x43\x20"
5119 			  "\x1C\x20\x13\x09\xF9\x2B\x40\x47"
5120 			  "\x99\x10\xD1\x1B\x65\x33\x33\xBA"
5121 			  "\x88\x0D\xA2\xD1\x86\xFF\x4D\xF4"
5122 			  "\x5A\x0C\x12\x96\x32\x57\xAA\x26"
5123 			  "\xA7\xF4\x32\x8D\xBC\x10\x31\x9E"
5124 			  "\x81\x72\x74\xDE\x30\x19\x69\x49"
5125 			  "\x54\x9C\xC3\xEB\x0B\x97\xDD\xD1"
5126 			  "\xE8\x6D\x0D\x05\x83\xA5\x12\x08"
5127 			  "\x47\xF8\x88\x03\x86\x51\x3C\xEF"
5128 			  "\xE7\x11\x73\x4D\x44\x2B\xE2\x16"
5129 			  "\xE8\xA5\x06\x50\x66\x70\x0E\x14"
5130 			  "\xBA\x21\x3B\xD5\x23\x5B\xA7\x8F"
5131 			  "\x56\xB6\xA7\x44\xDB\x86\xAB\x69"
5132 			  "\x33\x3C\xBE\x64\xC4\x22\xD3\xFE"
5133 			  "\x49\x90\x88\x6A\x09\x8F\x76\x59"
5134 			  "\xCB\xB7\xA0\x2D\x79\x75\x92\x8A"
5135 			  "\x82\x1D\xC2\xFE\x09\x1F\x78\x6B"
5136 			  "\x2F\xD6\xA4\x87\x1E\xC4\x53\x63"
5137 			  "\x80\x02\x61\x2F\xE3\x46\xB6\xB5"
5138 			  "\xAA\x95\xF4\xEE\xA7\x64\x2B\x4F"
5139 			  "\x20\xCF\xD2\x47\x4E\x39\x65\xB3"
5140 			  "\x11\x87\xA2\x6C\x49\x7E\x36\xC7"
5141 			  "\x62\x8B\x48\x0D\x6A\x64\x00\xBD"
5142 			  "\x71\x91\x8C\xE9\x70\x19\x01\x4F"
5143 			  "\x4E\x68\x23\xBA\xDA\x24\x2E\x45"
5144 			  "\x02\x14\x33\x21\xAE\x58\x4B\xCF"
5145 			  "\x3B\x4B\xE8\xF8\xF6\x4F\x34\x93"
5146 			  "\xD7\x07\x8A\xD7\x18\x92\x36\x8C"
5147 			  "\x82\xA9\xBD\x6A\x31\x91\x39\x11"
5148 			  "\xC6\x4A\xF3\x55\xC7\x29\x2E\x63",
5149 		.ilen	= 248,
5150 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5151 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5152 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5153 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5154 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5155 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5156 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5157 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5158 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5159 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5160 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5161 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5162 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5163 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5164 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5165 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5166 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5167 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5168 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5169 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5170 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5171 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5172 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5173 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5174 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5175 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5176 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5177 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5178 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5179 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5180 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5181 		.rlen	= 248,
5182 		.also_non_np = 1,
5183 		.np	= 3,
5184 		.tap	= { 248 - 10, 2, 8 },
5185 	},
5186 };
5187 
5188 static const struct cipher_testvec des_ctr_enc_tv_template[] = {
5189 	{ /* Generated with Crypto++ */
5190 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5191 		.klen	= 8,
5192 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5193 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5194 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5195 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5196 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5197 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5198 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5199 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5200 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5201 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5202 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5203 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5204 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5205 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5206 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5207 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5208 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5209 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5210 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5211 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5212 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5213 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5214 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5215 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5216 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5217 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5218 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5219 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5220 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5221 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5222 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5223 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5224 		.ilen	= 248,
5225 		.result	= "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
5226 			  "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
5227 			  "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
5228 			  "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
5229 			  "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
5230 			  "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
5231 			  "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
5232 			  "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
5233 			  "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
5234 			  "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
5235 			  "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
5236 			  "\xBE\x4C\x91\x43\x22\x65\x72\x48"
5237 			  "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
5238 			  "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
5239 			  "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
5240 			  "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
5241 			  "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
5242 			  "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
5243 			  "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
5244 			  "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
5245 			  "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
5246 			  "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
5247 			  "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
5248 			  "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
5249 			  "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
5250 			  "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
5251 			  "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
5252 			  "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
5253 			  "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
5254 			  "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
5255 			  "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
5256 		.rlen	= 248,
5257 		.also_non_np = 1,
5258 		.np	= 3,
5259 		.tap	= { 248 - 10, 2, 8 },
5260 	}, { /* Generated with Crypto++ */
5261 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5262 		.klen	= 8,
5263 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5264 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5265 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5266 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5267 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5268 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5269 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5270 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5271 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5272 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5273 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5274 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5275 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5276 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5277 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5278 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5279 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5280 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5281 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5282 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5283 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5284 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5285 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5286 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5287 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5288 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5289 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5290 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5291 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5292 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5293 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5294 			  "\xC6\x2F\xBB\x24\x8D\x19\x82",
5295 		.ilen	= 247,
5296 		.result	= "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
5297 			  "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
5298 			  "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
5299 			  "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
5300 			  "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
5301 			  "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
5302 			  "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
5303 			  "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
5304 			  "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
5305 			  "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
5306 			  "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
5307 			  "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
5308 			  "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
5309 			  "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
5310 			  "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
5311 			  "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
5312 			  "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
5313 			  "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
5314 			  "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
5315 			  "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
5316 			  "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
5317 			  "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
5318 			  "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
5319 			  "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
5320 			  "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
5321 			  "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
5322 			  "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
5323 			  "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
5324 			  "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
5325 			  "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
5326 			  "\x91\x45\x05\x3E\x58\xBF\x32",
5327 		.rlen	= 247,
5328 		.also_non_np = 1,
5329 		.np	= 2,
5330 		.tap	= { 247 - 8, 8 },
5331 	},
5332 };
5333 
5334 static const struct cipher_testvec des_ctr_dec_tv_template[] = {
5335 	{ /* Generated with Crypto++ */
5336 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5337 		.klen	= 8,
5338 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
5339 		.input	= "\x2F\x96\x06\x0F\x50\xC9\x68\x03"
5340 			  "\x0F\x31\xD4\x64\xA5\x29\x77\x35"
5341 			  "\xBC\x7A\x9F\x19\xE7\x0D\x33\x3E"
5342 			  "\x12\x0B\x8C\xAE\x48\xAE\xD9\x02"
5343 			  "\x0A\xD4\xB0\xD6\x37\xB2\x65\x1C"
5344 			  "\x4B\x65\xEB\x24\xB5\x8E\xAD\x47"
5345 			  "\x0D\xDA\x79\x77\xA0\x29\xA0\x2B"
5346 			  "\xC8\x0F\x85\xDC\x03\x13\xA9\x04"
5347 			  "\x19\x40\xBE\xBE\x5C\x49\x4A\x69"
5348 			  "\xED\xE8\xE1\x9E\x14\x43\x74\xDE"
5349 			  "\xEC\x6E\x11\x3F\x36\xEF\x7B\xFB"
5350 			  "\xBE\x4C\x91\x43\x22\x65\x72\x48"
5351 			  "\xE2\x12\xED\x88\xAC\xA7\xC9\x91"
5352 			  "\x14\xA2\x36\x1C\x29\xFF\xC8\x4F"
5353 			  "\x72\x5C\x4B\xB0\x1E\x93\xC2\xFA"
5354 			  "\x9D\x53\x86\xA0\xAE\xC6\xB7\x3C"
5355 			  "\x59\x0C\xD0\x8F\xA6\xD8\xA4\x31"
5356 			  "\xB7\x30\x1C\x21\x38\xFB\x68\x8C"
5357 			  "\x2E\xF5\x6E\x73\xC3\x16\x5F\x12"
5358 			  "\x0C\x33\xB9\x1E\x7B\x70\xDE\x86"
5359 			  "\x32\xB3\xC1\x16\xAB\xD9\x49\x0B"
5360 			  "\x96\x28\x72\x6B\xF3\x30\xA9\xEB"
5361 			  "\x69\xE2\x1E\x58\x46\xA2\x8E\xC7"
5362 			  "\xC0\xEF\x07\xB7\x77\x2C\x00\x05"
5363 			  "\x46\xBD\xFE\x53\x81\x8B\xA4\x03"
5364 			  "\x20\x0F\xDB\x78\x0B\x1F\x53\x04"
5365 			  "\x4C\x60\x4C\xC3\x2A\x86\x86\x7E"
5366 			  "\x13\xD2\x26\xED\x5D\x3E\x9C\xF2"
5367 			  "\x5C\xC4\x15\xC9\x9A\x21\xC5\xCD"
5368 			  "\x19\x7F\x99\x19\x53\xCE\x1D\x14"
5369 			  "\x69\x74\xA1\x06\x46\x0F\x4E\x75",
5370 		.ilen	= 248,
5371 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5372 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5373 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5374 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5375 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5376 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5377 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5378 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5379 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5380 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5381 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5382 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5383 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5384 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5385 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5386 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5387 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5388 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5389 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5390 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5391 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5392 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5393 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5394 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5395 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5396 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5397 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5398 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5399 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5400 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5401 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB",
5402 		.rlen	= 248,
5403 		.also_non_np = 1,
5404 		.np	= 3,
5405 		.tap	= { 248 - 10, 2, 8 },
5406 	}, { /* Generated with Crypto++ */
5407 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55",
5408 		.klen	= 8,
5409 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47",
5410 		.input	= "\x62\xE5\xF4\xDC\x99\xE7\x89\xE3"
5411 			  "\xF4\x10\xCC\x21\x99\xEB\xDC\x15"
5412 			  "\x19\x13\x93\x27\x9D\xB6\x6F\x45"
5413 			  "\x17\x55\x61\x72\xC8\xD3\x7F\xA5"
5414 			  "\x32\xD0\xD3\x02\x15\xA4\x05\x23"
5415 			  "\x9C\x23\x61\x60\x77\x7B\x6C\x95"
5416 			  "\x26\x49\x42\x2E\xF3\xC1\x8C\x6D"
5417 			  "\xC8\x47\xD5\x94\xE7\x53\xC8\x23"
5418 			  "\x1B\xA5\x0B\xCB\x12\xD3\x7A\x12"
5419 			  "\xA4\x42\x15\x34\xF7\x5F\xDC\x58"
5420 			  "\x5B\x58\x4C\xAD\xD1\x33\x8E\xE6"
5421 			  "\xE5\xA0\xDA\x4D\x94\x3D\x63\xA8"
5422 			  "\x02\x82\xBB\x16\xB8\xDC\xB5\x58"
5423 			  "\xC3\x2D\x79\xE4\x25\x79\x43\xF9"
5424 			  "\x6D\xD3\xCA\xC0\xE8\x12\xD4\x7E"
5425 			  "\x04\x25\x79\xFD\x27\xFB\xC4\xEA"
5426 			  "\x32\x94\x48\x92\xF3\x68\x1A\x7F"
5427 			  "\x36\x33\x43\x79\xF7\xCA\xC2\x38"
5428 			  "\xC0\x68\xD4\x53\xA9\xCC\x43\x0C"
5429 			  "\x40\x57\x3E\xED\x00\x9F\x22\x6E"
5430 			  "\x80\x99\x0B\xCC\x40\x63\x46\x8A"
5431 			  "\xE8\xC4\x9B\x6D\x7A\x08\x6E\xA9"
5432 			  "\x6F\x84\xBC\xB3\xF4\x95\x0B\x2D"
5433 			  "\x6A\xBA\x37\x50\xC3\xCF\x9F\x7C"
5434 			  "\x59\x5E\xDE\x0B\x30\xFA\x34\x8A"
5435 			  "\xF8\xD1\xA2\xF8\x4E\xBD\x5D\x5E"
5436 			  "\x7D\x71\x99\xE0\xF6\xE5\x7C\xE0"
5437 			  "\x6D\xEE\x82\x89\x92\xD4\xF5\xD7"
5438 			  "\xDF\x85\x2D\xE1\xB2\xD6\xAB\x94"
5439 			  "\xA5\xA6\xE7\xB0\x51\x36\x52\x37"
5440 			  "\x91\x45\x05\x3E\x58\xBF\x32",
5441 		.ilen	= 247,
5442 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
5443 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
5444 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
5445 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
5446 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
5447 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
5448 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
5449 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
5450 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
5451 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
5452 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
5453 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
5454 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
5455 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
5456 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
5457 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
5458 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
5459 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
5460 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
5461 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
5462 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
5463 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
5464 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
5465 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
5466 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
5467 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
5468 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
5469 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
5470 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
5471 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
5472 			  "\xC6\x2F\xBB\x24\x8D\x19\x82",
5473 		.rlen	= 247,
5474 		.also_non_np = 1,
5475 		.np	= 2,
5476 		.tap	= { 247 - 8, 8 },
5477 	},
5478 };
5479 
5480 static const struct cipher_testvec des3_ede_enc_tv_template[] = {
5481 	{ /* These are from openssl */
5482 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
5483 			  "\x55\x55\x55\x55\x55\x55\x55\x55"
5484 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5485 		.klen	= 24,
5486 		.input	= "\x73\x6f\x6d\x65\x64\x61\x74\x61",
5487 		.ilen	= 8,
5488 		.result	= "\x18\xd7\x48\xe5\x63\x62\x05\x72",
5489 		.rlen	= 8,
5490 	}, {
5491 		.key	= "\x03\x52\x02\x07\x67\x20\x82\x17"
5492 			  "\x86\x02\x87\x66\x59\x08\x21\x98"
5493 			  "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
5494 		.klen	= 24,
5495 		.input	= "\x73\x71\x75\x69\x67\x67\x6c\x65",
5496 		.ilen	= 8,
5497 		.result	= "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
5498 		.rlen	= 8,
5499 	}, {
5500 		.key	= "\x10\x46\x10\x34\x89\x98\x80\x20"
5501 			  "\x91\x07\xd0\x15\x89\x19\x01\x01"
5502 			  "\x19\x07\x92\x10\x98\x1a\x01\x01",
5503 		.klen	= 24,
5504 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
5505 		.ilen	= 8,
5506 		.result	= "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
5507 		.rlen	= 8,
5508 	}, { /* Generated with Crypto++ */
5509 		.key	= "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
5510 			  "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
5511 			  "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
5512 		.klen	= 24,
5513 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5514 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5515 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5516 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5517 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5518 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5519 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5520 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5521 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5522 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5523 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5524 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5525 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5526 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5527 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5528 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5529 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5530 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5531 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5532 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5533 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5534 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5535 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5536 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5537 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5538 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5539 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5540 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5541 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5542 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5543 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5544 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5545 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5546 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5547 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5548 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5549 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5550 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5551 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5552 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5553 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5554 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
5555 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
5556 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
5557 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
5558 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
5559 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
5560 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
5561 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
5562 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
5563 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
5564 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
5565 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
5566 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
5567 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
5568 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
5569 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
5570 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
5571 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
5572 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
5573 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
5574 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
5575 		.ilen	= 496,
5576 		.result	= "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
5577 			  "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
5578 			  "\x81\x01\x04\x00\x76\xFA\xED\xD3"
5579 			  "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
5580 			  "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
5581 			  "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
5582 			  "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
5583 			  "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
5584 			  "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
5585 			  "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
5586 			  "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
5587 			  "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
5588 			  "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
5589 			  "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
5590 			  "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
5591 			  "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
5592 			  "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
5593 			  "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
5594 			  "\x45\x86\x50\x01\x70\x35\x99\x92"
5595 			  "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
5596 			  "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
5597 			  "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
5598 			  "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
5599 			  "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
5600 			  "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
5601 			  "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
5602 			  "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
5603 			  "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
5604 			  "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
5605 			  "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
5606 			  "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
5607 			  "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
5608 			  "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
5609 			  "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
5610 			  "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
5611 			  "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
5612 			  "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
5613 			  "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
5614 			  "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
5615 			  "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
5616 			  "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
5617 			  "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
5618 			  "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
5619 			  "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
5620 			  "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
5621 			  "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
5622 			  "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
5623 			  "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
5624 			  "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
5625 			  "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
5626 			  "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
5627 			  "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
5628 			  "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
5629 			  "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
5630 			  "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
5631 			  "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
5632 			  "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
5633 			  "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
5634 			  "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
5635 			  "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
5636 			  "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
5637 			  "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
5638 		.rlen	= 496,
5639 		.also_non_np = 1,
5640 		.np	= 3,
5641 		.tap	= { 496 - 20, 4, 16 },
5642 	},
5643 };
5644 
5645 static const struct cipher_testvec des3_ede_dec_tv_template[] = {
5646 	{ /* These are from openssl */
5647 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
5648 			  "\x55\x55\x55\x55\x55\x55\x55\x55"
5649 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
5650 		.klen	= 24,
5651 		.input	= "\x18\xd7\x48\xe5\x63\x62\x05\x72",
5652 		.ilen	= 8,
5653 		.result	= "\x73\x6f\x6d\x65\x64\x61\x74\x61",
5654 		.rlen	= 8,
5655 	}, {
5656 		.key	= "\x03\x52\x02\x07\x67\x20\x82\x17"
5657 			  "\x86\x02\x87\x66\x59\x08\x21\x98"
5658 			  "\x64\x05\x6a\xbd\xfe\xa9\x34\x57",
5659 		.klen	= 24,
5660 		.input	= "\xc0\x7d\x2a\x0f\xa5\x66\xfa\x30",
5661 		.ilen	= 8,
5662 		.result	= "\x73\x71\x75\x69\x67\x67\x6c\x65",
5663 		.rlen	= 8,
5664 	}, {
5665 		.key	= "\x10\x46\x10\x34\x89\x98\x80\x20"
5666 			  "\x91\x07\xd0\x15\x89\x19\x01\x01"
5667 			  "\x19\x07\x92\x10\x98\x1a\x01\x01",
5668 		.klen	= 24,
5669 		.input	= "\xe1\xef\x62\xc3\x32\xfe\x82\x5b",
5670 		.ilen	= 8,
5671 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
5672 		.rlen	= 8,
5673 	}, { /* Generated with Crypto++ */
5674 		.key	= "\xF3\x9C\xD6\xF3\x9C\xB9\x5A\x67"
5675 			  "\x00\x5A\x67\x00\x2D\xCE\xEB\x2D"
5676 			  "\xCE\xEB\xB4\x51\x72\xB4\x51\x72",
5677 		.klen	= 24,
5678 		.input	= "\x4E\x9A\x40\x3D\x61\x7D\x17\xFA"
5679 			  "\x16\x86\x88\x0B\xD8\xAE\xF8\xE4"
5680 			  "\x81\x01\x04\x00\x76\xFA\xED\xD3"
5681 			  "\x44\x7E\x21\x9D\xF0\xFB\x2B\x64"
5682 			  "\xCA\x4E\x90\xE0\xC0\x63\x28\x92"
5683 			  "\xF3\x1F\xA4\x53\x2C\x77\xCC\x77"
5684 			  "\x69\x56\xD0\x19\xAD\x00\x2D\x97"
5685 			  "\xBC\xDE\x49\x6A\x82\xBC\x16\xE2"
5686 			  "\x2F\x3E\x72\xEE\xD1\xCE\xFC\x1B"
5687 			  "\xEA\x32\x56\xE4\x0B\xAF\x27\x36"
5688 			  "\xAF\x08\xB9\x61\xB7\x48\x23\x27"
5689 			  "\xEE\x4D\xC8\x79\x56\x06\xEB\xC7"
5690 			  "\x5B\xCA\x0A\xC6\x5E\x5C\xCB\xB6"
5691 			  "\x9D\xDA\x04\x59\xE2\x09\x48\x7E"
5692 			  "\x6B\x37\xC6\xFE\x92\xA9\x1E\x6E"
5693 			  "\x0D\x19\xFA\x33\x0F\xEE\x36\x68"
5694 			  "\x11\xBB\xF9\x5A\x73\xAB\x3A\xEA"
5695 			  "\xAC\x28\xD8\xD5\x27\xE8\x6B\x16"
5696 			  "\x45\x86\x50\x01\x70\x35\x99\x92"
5697 			  "\xDF\x0C\x07\x88\x8B\x7F\x9E\x4B"
5698 			  "\xD2\x04\x84\x90\xC4\x27\xDF\x0A"
5699 			  "\x49\xA8\xA7\x1A\x6D\x78\x16\xCA"
5700 			  "\xB3\x18\x5C\xC3\x93\x63\x5A\x68"
5701 			  "\x77\x02\xBA\xED\x62\x71\xB1\xD9"
5702 			  "\x5E\xE5\x6F\x1A\xCC\x1D\xBE\x2E"
5703 			  "\x11\xF3\xA6\x97\xCA\x8E\xBF\xB4"
5704 			  "\x56\xA1\x36\x6B\xB1\x0A\x3E\x70"
5705 			  "\xEA\xD7\xCD\x72\x7B\x79\xC8\xAD"
5706 			  "\x6B\xFE\xFB\xBA\x64\xAE\x19\xC1"
5707 			  "\x82\xCF\x8A\xA1\x50\x17\x7F\xB2"
5708 			  "\x6F\x7B\x0F\x52\xC5\x3E\x4A\x52"
5709 			  "\x3F\xD9\x3F\x01\xA6\x41\x1A\xB3"
5710 			  "\xB3\x7A\x0E\x8E\x75\xB2\xB1\x5F"
5711 			  "\xDB\xEA\x84\x13\x26\x6C\x85\x4E"
5712 			  "\xAE\x6B\xDC\xE7\xE7\xAD\xB0\x06"
5713 			  "\x5C\xBA\x92\xD0\x30\xBB\x8D\xD2"
5714 			  "\xAE\x4C\x70\x85\xA0\x07\xE3\x2C"
5715 			  "\xD1\x27\x9C\xCF\xDB\x13\xB7\xE5"
5716 			  "\xF9\x6A\x02\xD0\x39\x9D\xB6\xE7"
5717 			  "\xD1\x17\x25\x08\xF9\xA9\xA6\x67"
5718 			  "\x38\x80\xD1\x22\xAB\x1A\xD7\x26"
5719 			  "\xAD\xCA\x19\x1B\xFA\x18\xA7\x57"
5720 			  "\x31\xEC\xC9\xED\xDB\x79\xC0\x48"
5721 			  "\xAC\x31\x9F\x03\x8B\x62\x5B\x7E"
5722 			  "\x0E\xA6\xD0\x64\xEE\xEA\x00\xFC"
5723 			  "\x58\xC8\xDE\x51\x4E\x17\x15\x11"
5724 			  "\x66\x58\xB6\x90\xDC\xDF\xA1\x49"
5725 			  "\xCA\x79\xE9\x31\x31\x42\xDC\x56"
5726 			  "\x0B\xCD\xB6\x0D\xC7\x64\xF7\x19"
5727 			  "\xD9\x42\x05\x7F\xBC\x2F\xFC\x90"
5728 			  "\xAE\x29\x86\xAA\x43\x7A\x4F\x6B"
5729 			  "\xCE\xEA\xBC\x31\x8D\x65\x9D\x46"
5730 			  "\xEA\x77\xB4\xF9\x58\xEA\x5D\x84"
5731 			  "\xE4\xDC\x14\xBB\xBD\x15\x0E\xDA"
5732 			  "\xD8\xE4\xA4\x5D\x61\xF9\x58\x0F"
5733 			  "\xE4\x82\x77\xCE\x87\xC0\x09\xF0"
5734 			  "\xD6\x10\x9E\x34\xE1\x0C\x67\x55"
5735 			  "\x7B\x6D\xD5\x51\x4B\x00\xEE\xBA"
5736 			  "\xF2\x7B\xBE\x75\x07\x42\x9D\x99"
5737 			  "\x12\xE1\x71\x4A\xF9\x2A\xF5\xF6"
5738 			  "\x93\x03\xD7\x51\x09\xFA\xBE\x68"
5739 			  "\xD8\x45\xFF\x33\xBA\xBB\x2B\x63",
5740 		.ilen	= 496,
5741 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5742 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5743 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5744 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5745 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5746 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5747 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5748 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5749 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5750 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5751 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5752 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5753 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5754 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5755 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5756 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5757 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5758 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5759 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5760 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5761 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5762 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5763 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5764 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5765 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5766 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5767 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5768 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5769 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5770 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5771 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5772 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5773 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5774 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5775 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5776 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5777 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5778 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5779 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5780 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5781 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5782 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
5783 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
5784 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
5785 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
5786 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
5787 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
5788 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
5789 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
5790 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
5791 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
5792 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
5793 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
5794 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
5795 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
5796 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
5797 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
5798 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
5799 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
5800 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
5801 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
5802 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
5803 		.rlen	= 496,
5804 		.also_non_np = 1,
5805 		.np	= 3,
5806 		.tap	= { 496 - 20, 4, 16 },
5807 	},
5808 };
5809 
5810 static const struct cipher_testvec des3_ede_cbc_enc_tv_template[] = {
5811 	{ /* Generated from openssl */
5812 		.key	= "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
5813 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
5814 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
5815 		.klen	= 24,
5816 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
5817 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
5818 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
5819 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
5820 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
5821 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
5822 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
5823 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
5824 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
5825 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
5826 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
5827 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
5828 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
5829 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
5830 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
5831 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
5832 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
5833 		.ilen	= 128,
5834 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
5835 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
5836 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
5837 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
5838 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
5839 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
5840 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
5841 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
5842 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
5843 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
5844 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
5845 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
5846 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
5847 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
5848 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
5849 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
5850 		.rlen	= 128,
5851 	}, { /* Generated with Crypto++ */
5852 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
5853 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
5854 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
5855 		.klen	= 24,
5856 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
5857 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
5858 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
5859 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
5860 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
5861 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
5862 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
5863 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
5864 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
5865 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
5866 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
5867 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
5868 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
5869 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
5870 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
5871 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
5872 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
5873 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
5874 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
5875 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
5876 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
5877 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
5878 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
5879 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
5880 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
5881 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
5882 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
5883 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
5884 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
5885 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
5886 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
5887 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
5888 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
5889 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
5890 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
5891 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
5892 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
5893 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
5894 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
5895 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
5896 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
5897 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
5898 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
5899 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
5900 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
5901 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
5902 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
5903 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
5904 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
5905 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
5906 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
5907 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
5908 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
5909 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
5910 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
5911 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
5912 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
5913 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
5914 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
5915 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
5916 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
5917 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
5918 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
5919 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
5920 		.ilen	= 496,
5921 		.result	= "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
5922 			  "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
5923 			  "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
5924 			  "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
5925 			  "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
5926 			  "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
5927 			  "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
5928 			  "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
5929 			  "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
5930 			  "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
5931 			  "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
5932 			  "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
5933 			  "\x11\x35\x61\x94\x88\x7B\x1C\x48"
5934 			  "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
5935 			  "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
5936 			  "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
5937 			  "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
5938 			  "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
5939 			  "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
5940 			  "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
5941 			  "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
5942 			  "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
5943 			  "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
5944 			  "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
5945 			  "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
5946 			  "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
5947 			  "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
5948 			  "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
5949 			  "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
5950 			  "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
5951 			  "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
5952 			  "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
5953 			  "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
5954 			  "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
5955 			  "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
5956 			  "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
5957 			  "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
5958 			  "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
5959 			  "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
5960 			  "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
5961 			  "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
5962 			  "\x73\x50\x08\x56\x20\x9B\x94\x23"
5963 			  "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
5964 			  "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
5965 			  "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
5966 			  "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
5967 			  "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
5968 			  "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
5969 			  "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
5970 			  "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
5971 			  "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
5972 			  "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
5973 			  "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
5974 			  "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
5975 			  "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
5976 			  "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
5977 			  "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
5978 			  "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
5979 			  "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
5980 			  "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
5981 			  "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
5982 			  "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
5983 		.rlen	= 496,
5984 		.also_non_np = 1,
5985 		.np	= 3,
5986 		.tap	= { 496 - 20, 4, 16 },
5987 	},
5988 };
5989 
5990 static const struct cipher_testvec des3_ede_cbc_dec_tv_template[] = {
5991 	{ /* Generated from openssl */
5992 		.key	= "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
5993 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
5994 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
5995 		.klen	= 24,
5996 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
5997 		.input	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
5998 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
5999 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
6000 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
6001 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
6002 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
6003 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
6004 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
6005 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
6006 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
6007 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
6008 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
6009 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
6010 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
6011 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
6012 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19",
6013 		.ilen	= 128,
6014 		.result	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
6015 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
6016 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
6017 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
6018 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
6019 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
6020 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
6021 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
6022 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
6023 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
6024 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
6025 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
6026 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
6027 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
6028 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
6029 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
6030 		.rlen	= 128,
6031 	}, { /* Generated with Crypto++ */
6032 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6033 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6034 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6035 		.klen	= 24,
6036 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6037 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6038 		.input	= "\xF8\xF6\xB5\x60\x5C\x5A\x75\x84"
6039 			  "\x87\x81\x53\xBA\xC9\x6F\xEC\xD5"
6040 			  "\x1E\x68\x8E\x85\x12\x86\x1D\x38"
6041 			  "\x1C\x91\x40\xCC\x69\x6A\xD5\x35"
6042 			  "\x0D\x7C\xB5\x07\x7C\x7B\x2A\xAF"
6043 			  "\x32\xBC\xA1\xB3\x84\x31\x1B\x3C"
6044 			  "\x0A\x2B\xFA\xD3\x9F\xB0\x8C\x37"
6045 			  "\x8F\x9D\xA7\x6D\x6C\xFA\xD7\x90"
6046 			  "\xE3\x69\x54\xED\x3A\xC4\xF1\x6B"
6047 			  "\xB1\xCC\xFB\x7D\xD8\x8E\x17\x0B"
6048 			  "\x9C\xF6\x4C\xD6\xFF\x03\x4E\xD9"
6049 			  "\xE6\xA5\xAD\x25\xE6\x17\x69\x63"
6050 			  "\x11\x35\x61\x94\x88\x7B\x1C\x48"
6051 			  "\xF1\x24\x20\x29\x6B\x93\x1A\x8E"
6052 			  "\x43\x03\x89\xD8\xB1\xDA\x47\x7B"
6053 			  "\x79\x3A\x83\x76\xDA\xAE\xC6\xBB"
6054 			  "\x22\xF8\xE8\x3D\x9A\x65\x54\xD8"
6055 			  "\x4C\xE9\xE7\xE4\x63\x2F\x5C\x73"
6056 			  "\x5A\xC3\xAE\x46\xA8\xCD\x57\xE6"
6057 			  "\x67\x88\xA5\x20\x6F\x5F\x97\xC7"
6058 			  "\xCC\x15\xA2\x0A\x93\xEA\x33\xE7"
6059 			  "\x03\x5F\xEC\x64\x30\x6F\xEE\xD7"
6060 			  "\x7E\xDF\xD6\xE9\x6F\x3F\xD6\x1E"
6061 			  "\xBE\x67\x6C\x5B\x97\xA0\x09\xE6"
6062 			  "\xEE\xFE\x55\xA3\x29\x65\xE0\x12"
6063 			  "\xA1\x6A\x8A\x6F\xF2\xE6\xF1\x96"
6064 			  "\x87\xFB\x9C\x05\xDD\x80\xEC\xFF"
6065 			  "\xC5\xED\x50\xFE\xFC\x91\xCD\xCE"
6066 			  "\x25\x2C\x5F\xD9\xAD\x95\x7D\x99"
6067 			  "\xF0\x05\xC4\x71\x46\x5F\xF9\x0D"
6068 			  "\xD2\x63\xDF\x9B\x96\x2E\x2B\xA6"
6069 			  "\x2B\x1C\xD5\xFB\x96\x24\x60\x60"
6070 			  "\x54\x40\xB8\x62\xA4\xF8\x46\x95"
6071 			  "\x73\x28\xA3\xA6\x16\x2B\x17\xE7"
6072 			  "\x7A\xF8\x62\x54\x3B\x64\x69\xE1"
6073 			  "\x71\x34\x29\x5B\x4E\x05\x9B\xFA"
6074 			  "\x5E\xF1\x96\xB7\xCE\x16\x9B\x59"
6075 			  "\xF1\x1A\x4C\x51\x26\xFD\x79\xE2"
6076 			  "\x3B\x8E\x71\x69\x6A\x91\xB6\x65"
6077 			  "\x32\x09\xB8\xE4\x09\x1F\xEA\x39"
6078 			  "\xCE\x20\x65\x9F\xD6\xD1\xC7\xF0"
6079 			  "\x73\x50\x08\x56\x20\x9B\x94\x23"
6080 			  "\x14\x39\xB7\x2B\xB1\x2D\x6D\x6F"
6081 			  "\x41\x5B\xCC\xE2\x18\xAE\x62\x89"
6082 			  "\x78\x8E\x67\x23\xD0\xFB\x2B\xE5"
6083 			  "\x25\xC9\x48\x97\xB5\xD3\x17\xD5"
6084 			  "\x6A\x9F\xA7\x48\x0C\x2B\x73\x3B"
6085 			  "\x57\x08\xAE\x91\xF2\xB7\x57\x89"
6086 			  "\xF4\xD0\xB0\x07\xB0\x42\x6C\xAF"
6087 			  "\x98\x1A\xE7\xD1\xAC\x1E\xB5\x02"
6088 			  "\xD4\x56\x42\x79\x79\x7F\x2A\x77"
6089 			  "\x25\xE9\x7D\xC1\x88\x19\x2B\x49"
6090 			  "\x6F\x46\x59\xAB\x56\x1F\x61\xE0"
6091 			  "\x0C\x24\x9C\xC9\x5B\x63\xA9\x12"
6092 			  "\xCF\x88\x96\xB6\xA8\x24\xC6\xA8"
6093 			  "\x21\x85\x1A\x62\x7E\x34\xBB\xEB"
6094 			  "\xBD\x02\x2A\xC7\xD8\x89\x80\xC5"
6095 			  "\xB1\xBB\x60\xA5\x22\xFC\x6F\x38"
6096 			  "\x02\x80\xA3\x28\x22\x75\xE1\xE9"
6097 			  "\x90\xE9\xFA\x4B\x00\x10\xAC\x58"
6098 			  "\x83\x70\xFF\x86\xE6\xAA\x0F\x1F"
6099 			  "\x95\x63\x73\xA2\x44\xAC\xF8\xA5",
6100 		.ilen	= 496,
6101 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6102 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6103 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6104 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6105 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6106 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6107 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6108 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6109 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6110 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6111 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6112 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6113 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6114 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6115 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6116 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6117 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6118 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6119 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6120 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6121 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6122 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6123 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6124 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6125 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6126 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6127 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6128 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6129 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6130 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6131 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6132 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6133 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6134 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6135 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6136 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6137 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6138 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6139 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6140 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6141 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6142 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6143 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6144 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6145 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6146 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6147 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6148 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6149 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6150 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6151 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6152 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6153 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6154 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6155 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6156 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6157 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6158 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6159 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6160 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6161 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6162 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6163 		.rlen	= 496,
6164 		.also_non_np = 1,
6165 		.np	= 3,
6166 		.tap	= { 496 - 20, 4, 16 },
6167 	},
6168 };
6169 
6170 static const struct cipher_testvec des3_ede_ctr_enc_tv_template[] = {
6171 	{ /* Generated with Crypto++ */
6172 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6173 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6174 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6175 		.klen	= 24,
6176 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
6177 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
6178 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6179 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6180 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6181 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6182 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6183 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6184 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6185 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6186 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6187 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6188 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6189 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6190 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6191 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6192 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6193 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6194 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6195 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6196 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6197 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6198 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6199 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6200 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6201 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6202 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6203 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6204 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6205 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6206 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6207 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6208 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6209 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6210 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6211 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6212 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6213 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6214 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6215 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6216 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6217 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6218 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6219 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6220 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6221 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6222 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6223 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6224 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6225 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6226 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6227 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6228 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6229 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6230 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6231 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6232 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6233 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6234 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6235 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6236 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6237 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6238 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6239 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6240 		.ilen	= 496,
6241 		.result	= "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
6242 			  "\x19\xCD\x6F\x32\x53\x05\x22\x15"
6243 			  "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
6244 			  "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
6245 			  "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
6246 			  "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
6247 			  "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
6248 			  "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
6249 			  "\x13\x78\xDC\x89\x12\x12\x43\xFA"
6250 			  "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
6251 			  "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
6252 			  "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
6253 			  "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
6254 			  "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
6255 			  "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
6256 			  "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
6257 			  "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
6258 			  "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
6259 			  "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
6260 			  "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
6261 			  "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
6262 			  "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
6263 			  "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
6264 			  "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
6265 			  "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
6266 			  "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
6267 			  "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
6268 			  "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
6269 			  "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
6270 			  "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
6271 			  "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
6272 			  "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
6273 			  "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
6274 			  "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
6275 			  "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
6276 			  "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
6277 			  "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
6278 			  "\x83\x37\x4F\x1F\x48\x30\xED\x04"
6279 			  "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
6280 			  "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
6281 			  "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
6282 			  "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
6283 			  "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
6284 			  "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
6285 			  "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
6286 			  "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
6287 			  "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
6288 			  "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
6289 			  "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
6290 			  "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
6291 			  "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
6292 			  "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
6293 			  "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
6294 			  "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
6295 			  "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
6296 			  "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
6297 			  "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
6298 			  "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
6299 			  "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
6300 			  "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
6301 			  "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
6302 			  "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
6303 		.rlen	= 496,
6304 		.also_non_np = 1,
6305 		.np	= 3,
6306 		.tap	= { 496 - 20, 4, 16 },
6307 	}, { /* Generated with Crypto++ */
6308 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6309 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6310 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6311 		.klen	= 24,
6312 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6313 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6314 		.input	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6315 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6316 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6317 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6318 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6319 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6320 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6321 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6322 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6323 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6324 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6325 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6326 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6327 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6328 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6329 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6330 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6331 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6332 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6333 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6334 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6335 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6336 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6337 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6338 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6339 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6340 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6341 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6342 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6343 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6344 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6345 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6346 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6347 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6348 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6349 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6350 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6351 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6352 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6353 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6354 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6355 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6356 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6357 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6358 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6359 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6360 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6361 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6362 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6363 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6364 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6365 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6366 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6367 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6368 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6369 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6370 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6371 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6372 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6373 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6374 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6375 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
6376 			  "\x2E\xB1\x18",
6377 		.ilen	= 499,
6378 		.result	= "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
6379 			  "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
6380 			  "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
6381 			  "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
6382 			  "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
6383 			  "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
6384 			  "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
6385 			  "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
6386 			  "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
6387 			  "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
6388 			  "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
6389 			  "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
6390 			  "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
6391 			  "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
6392 			  "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
6393 			  "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
6394 			  "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
6395 			  "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
6396 			  "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
6397 			  "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
6398 			  "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
6399 			  "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
6400 			  "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
6401 			  "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
6402 			  "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
6403 			  "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
6404 			  "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
6405 			  "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
6406 			  "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
6407 			  "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
6408 			  "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
6409 			  "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
6410 			  "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
6411 			  "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
6412 			  "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
6413 			  "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
6414 			  "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
6415 			  "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
6416 			  "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
6417 			  "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
6418 			  "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
6419 			  "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
6420 			  "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
6421 			  "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
6422 			  "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
6423 			  "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
6424 			  "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
6425 			  "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
6426 			  "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
6427 			  "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
6428 			  "\x8A\x19\x08\xE1\x08\x48\x59\x51"
6429 			  "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
6430 			  "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
6431 			  "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
6432 			  "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
6433 			  "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
6434 			  "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
6435 			  "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
6436 			  "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
6437 			  "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
6438 			  "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
6439 			  "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
6440 			  "\xF2\x79\xD9",
6441 		.rlen	= 499,
6442 		.also_non_np = 1,
6443 		.np	= 2,
6444 		.tap	= { 499 - 16, 16 },
6445 	},
6446 };
6447 
6448 static const struct cipher_testvec des3_ede_ctr_dec_tv_template[] = {
6449 	{ /* Generated with Crypto++ */
6450 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6451 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6452 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6453 		.klen	= 24,
6454 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
6455 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
6456 		.input	= "\x07\xC2\x08\x20\x72\x1F\x49\xEF"
6457 			  "\x19\xCD\x6F\x32\x53\x05\x22\x15"
6458 			  "\xA2\x85\x2B\xDB\x85\xD2\xD8\xB9"
6459 			  "\xDD\x0D\x1B\x45\xCB\x69\x11\xD4"
6460 			  "\xEA\xBE\xB2\x45\x5D\x0C\xAE\xBE"
6461 			  "\xA0\xC1\x27\xAC\x65\x9F\x53\x7E"
6462 			  "\xAF\xC2\x1B\xB5\xB8\x6D\x36\x0C"
6463 			  "\x25\xC0\xF8\x6D\x0B\x29\x01\xDA"
6464 			  "\x13\x78\xDC\x89\x12\x12\x43\xFA"
6465 			  "\xF6\x12\xEF\x8D\x87\x62\x78\x83"
6466 			  "\xE2\xBE\x41\x20\x4C\x6D\x35\x1B"
6467 			  "\xD1\x0C\x30\xCF\xE2\xDE\x2B\x03"
6468 			  "\xBF\x45\x73\xD4\xE5\x59\x95\xD1"
6469 			  "\xB3\x9B\x27\x62\x97\xBD\xDE\x7F"
6470 			  "\xA4\xD2\x39\x80\xAA\x50\x23\xF0"
6471 			  "\x74\x88\x3D\xA8\x6A\x18\x79\x3B"
6472 			  "\xC4\x96\x6C\x8D\x22\x40\x92\x6E"
6473 			  "\xD6\xAD\x2A\x1F\xDE\x63\xC0\xE7"
6474 			  "\x07\xF7\x2D\xF7\xB5\xF3\xF0\xCC"
6475 			  "\x01\x7C\x2A\x9B\xC2\x10\xCA\xAA"
6476 			  "\xFD\x2B\x3F\xC5\xF3\xF6\xFC\x9B"
6477 			  "\x45\xDB\x53\xE4\x5B\xF3\xC9\x7B"
6478 			  "\x8E\x52\xFF\xC8\x02\xB8\xAC\x9D"
6479 			  "\xA1\x00\x39\xDA\x3D\x2D\x0E\x01"
6480 			  "\x09\x7D\x8D\x5E\xBE\x53\xB9\xB0"
6481 			  "\x8E\xE7\xE2\x96\x6A\xB2\x78\xEA"
6482 			  "\xDE\x23\x8B\xA5\xFA\x5C\xE3\xDA"
6483 			  "\xBF\x8E\x31\x6A\x55\xD1\x6A\xB2"
6484 			  "\xB5\x46\x6F\xA5\xF0\xEE\xBA\x1F"
6485 			  "\x9F\x98\xB0\x66\x4F\xD0\x3F\xA9"
6486 			  "\xDF\x5F\x58\xC4\xF4\xFF\x75\x5C"
6487 			  "\x40\x3A\x09\x7E\x6E\x1C\x97\xD4"
6488 			  "\xCC\xE7\xE7\x71\xCF\x0B\x15\x08"
6489 			  "\x71\xFA\x07\x97\xCD\xE6\xCA\x1D"
6490 			  "\x14\x28\x0C\xCF\x99\x13\x7A\xF1"
6491 			  "\xEB\xFA\xFA\x92\x07\xDE\x1D\xA1"
6492 			  "\xD3\x36\x69\xFE\x51\x4D\x9F\x2E"
6493 			  "\x83\x37\x4F\x1F\x48\x30\xED\x04"
6494 			  "\x4D\xA4\xEF\x3A\xCA\x76\xF4\x1C"
6495 			  "\x41\x8F\x63\x37\x78\x2F\x86\xA6"
6496 			  "\xEF\x41\x7E\xD2\xAF\x88\xAB\x67"
6497 			  "\x52\x71\xC3\x8E\xF8\x26\x93\x72"
6498 			  "\xAA\xD6\x0E\xE7\x0B\x46\xB1\x3A"
6499 			  "\xB4\x08\xA9\xA8\xA0\xCF\x20\x0C"
6500 			  "\x52\xBC\x8B\x05\x56\xB2\xBC\x31"
6501 			  "\x9B\x74\xB9\x29\x29\x96\x9A\x50"
6502 			  "\xDC\x45\xDC\x1A\xEB\x0C\x64\xD4"
6503 			  "\xD3\x05\x7E\x59\x55\xC3\xF4\x90"
6504 			  "\xC2\xAB\xF8\x9B\x8A\xDA\xCE\xA1"
6505 			  "\xC3\xF4\xAD\x77\xDD\x44\xC8\xAC"
6506 			  "\xA3\xF1\xC9\xD2\x19\x5C\xB0\xCA"
6507 			  "\xA2\x34\xC1\xF7\x6C\xFD\xAC\x65"
6508 			  "\x32\xDC\x48\xC4\xF2\x00\x6B\x77"
6509 			  "\xF1\x7D\x76\xAC\xC0\x31\x63\x2A"
6510 			  "\xA5\x3A\x62\xC8\x91\xB1\x03\x65"
6511 			  "\xCB\x43\xD1\x06\xDF\xC3\x67\xBC"
6512 			  "\xDC\xE0\xCD\x35\xCE\x49\x65\xA0"
6513 			  "\x52\x7B\xA7\x0D\x07\xA9\x1B\xB0"
6514 			  "\x40\x77\x72\xC2\xEA\x0E\x3A\x78"
6515 			  "\x46\xB9\x91\xB6\xE7\x3D\x51\x42"
6516 			  "\xFD\x51\xB0\xC6\x2C\x63\x13\x78"
6517 			  "\x5C\xEE\xFC\xCF\xC4\x70\x00\x34",
6518 		.ilen	= 496,
6519 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6520 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6521 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6522 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6523 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6524 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6525 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6526 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6527 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6528 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6529 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6530 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6531 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6532 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6533 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6534 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6535 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6536 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6537 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6538 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6539 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6540 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6541 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6542 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6543 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6544 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6545 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6546 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6547 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6548 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6549 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6550 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6551 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6552 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6553 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6554 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6555 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6556 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6557 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6558 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6559 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6560 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6561 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6562 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6563 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6564 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6565 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6566 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6567 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6568 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6569 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6570 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6571 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6572 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6573 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6574 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6575 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6576 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6577 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6578 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6579 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6580 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47",
6581 		.rlen	= 496,
6582 		.also_non_np = 1,
6583 		.np	= 3,
6584 		.tap	= { 496 - 20, 4, 16 },
6585 	}, { /* Generated with Crypto++ */
6586 		.key	= "\x9C\xD6\xF3\x9C\xB9\x5A\x67\x00"
6587 			  "\x5A\x67\x00\x2D\xCE\xEB\x2D\xCE"
6588 			  "\xEB\xB4\x51\x72\xB4\x51\x72\x1F",
6589 		.klen	= 24,
6590 		.iv	= "\xB2\xD7\x48\xED\x06\x44\xF9\x12"
6591 			  "\xB7\x28\x4D\x83\x24\x59\xF2\x17",
6592 		.input	= "\x23\xFF\x5C\x99\x75\xBB\x1F\xD4"
6593 			  "\xBC\x27\x9D\x36\x60\xA9\xC9\xF7"
6594 			  "\x94\x9D\x1B\xFF\x8E\x95\x57\x89"
6595 			  "\x8C\x2E\x33\x70\x43\x61\xE6\xD2"
6596 			  "\x82\x33\x63\xB6\xC4\x34\x5E\xF8"
6597 			  "\x96\x07\xA7\xD2\x3B\x8E\xC9\xAA"
6598 			  "\x7C\xA0\x55\x89\x2E\xE1\x85\x25"
6599 			  "\x14\x04\xDA\x6B\xE0\xEE\x56\xCF"
6600 			  "\x08\x2E\x69\xD4\x54\xDE\x22\x84"
6601 			  "\x69\xA6\xA7\xD3\x3A\x9A\xE8\x05"
6602 			  "\x63\xDB\xBF\x46\x3A\x26\x2E\x0F"
6603 			  "\x58\x5C\x46\xEA\x07\x40\xDA\xE1"
6604 			  "\x14\x1D\xCD\x4F\x06\xC0\xCA\x54"
6605 			  "\x1E\xC9\x45\x85\x67\x7C\xC2\xB5"
6606 			  "\x97\x5D\x61\x78\x2E\x46\xEC\x6A"
6607 			  "\x53\xF4\xD0\xAE\xFA\xB4\x86\x29"
6608 			  "\x9F\x17\x33\x24\xD8\xB9\xB2\x05"
6609 			  "\x93\x88\xEA\xF7\xA0\x70\x69\x49"
6610 			  "\x88\x6B\x73\x40\x41\x8D\xD9\xD9"
6611 			  "\x7E\x78\xE9\xBE\x6C\x14\x22\x7A"
6612 			  "\x66\xE1\xDA\xED\x10\xFF\x69\x1D"
6613 			  "\xB9\xAA\xF2\x56\x72\x1B\x23\xE2"
6614 			  "\x45\x54\x8B\xA3\x70\x23\xB4\x5E"
6615 			  "\x8E\x96\xC9\x05\x00\xB3\xB6\xC2"
6616 			  "\x2A\x02\x43\x7A\x62\xD5\xC8\xD2"
6617 			  "\xC2\xD0\xE4\x78\xA1\x7B\x3E\xE8"
6618 			  "\x9F\x7F\x7D\x40\x54\x30\x3B\xC0"
6619 			  "\xA5\x54\xFD\xCA\x25\xEC\x44\x3E"
6620 			  "\x1A\x54\x7F\x88\xD0\xE1\xFE\x71"
6621 			  "\xCE\x05\x49\x89\xBA\xD6\x72\xE7"
6622 			  "\xD6\x5D\x3F\xA2\xD9\xAB\xC5\x02"
6623 			  "\xD6\x43\x22\xAF\xA2\xE4\x80\x85"
6624 			  "\xD7\x87\xB9\xEA\x43\xDB\xC8\xEF"
6625 			  "\x5C\x82\x2E\x98\x0D\x30\x41\x6B"
6626 			  "\x08\x48\x8D\xF0\xF8\x60\xD7\x9D"
6627 			  "\xE9\xDE\x40\xAD\x0D\xAD\x0D\x58"
6628 			  "\x2A\x98\x35\xFE\xF7\xDD\x4B\x40"
6629 			  "\xDE\xB0\x05\xD9\x7B\x09\x4D\xBC"
6630 			  "\x42\xC0\xF1\x15\x0B\xFA\x26\x6B"
6631 			  "\xC6\x12\x13\x4F\xCB\x35\xBA\x35"
6632 			  "\xDD\x7A\x36\x9C\x12\x57\x55\x83"
6633 			  "\x78\x58\x09\xD0\xB0\xCF\x7C\x5C"
6634 			  "\x38\xCF\xBD\x79\x5B\x13\x4D\x97"
6635 			  "\xC1\x85\x6F\x97\xC9\xE8\xC2\xA4"
6636 			  "\x98\xE2\xBD\x77\x6B\x53\x39\x1A"
6637 			  "\x28\x10\xE7\xE0\xE7\xDE\x9D\x69"
6638 			  "\x78\x6F\x8E\xD2\xD9\x5D\xD2\x15"
6639 			  "\x9E\xB5\x4D\x8C\xC0\x78\x22\x2F"
6640 			  "\x17\x11\x2E\x99\xD7\xE3\xA4\x4F"
6641 			  "\x65\xA5\x6B\x03\x2C\x35\x6F\xDA"
6642 			  "\x8A\x19\x08\xE1\x08\x48\x59\x51"
6643 			  "\x53\x4B\xD1\xDF\xDA\x14\x50\x5F"
6644 			  "\xDF\xB5\x8C\xDF\xC6\xFD\x85\xFA"
6645 			  "\xD4\xF9\x64\x45\x65\x0D\x7D\xF4"
6646 			  "\xC8\xCD\x3F\x32\xAF\xDD\x30\xED"
6647 			  "\x7B\xAA\xAC\xF0\xDA\x7F\xDF\x75"
6648 			  "\x1C\xA4\xF1\xCB\x5E\x4F\x0B\xB4"
6649 			  "\x97\x73\x28\xDE\xCF\xAF\x82\xBD"
6650 			  "\xC4\xBA\xB4\x9C\x0D\x16\x77\x42"
6651 			  "\x42\x39\x7C\x53\xA4\xD4\xDD\x40"
6652 			  "\x5C\x60\x1F\x6E\xA7\xE2\xDC\xE7"
6653 			  "\x32\x0F\x05\x2F\xF2\x4C\x95\x3B"
6654 			  "\xF2\x79\xD9",
6655 		.ilen	= 499,
6656 		.result	= "\x05\xEC\x77\xFB\x42\xD5\x59\x20"
6657 			  "\x8B\x12\x86\x69\xF0\x5B\xCF\x56"
6658 			  "\x39\xAD\x34\x9F\x66\xEA\x7D\xC4"
6659 			  "\x48\xD3\xBA\x0D\xB1\x18\xE3\x4A"
6660 			  "\xFE\x41\x28\x5C\x27\x8E\x11\x85"
6661 			  "\x6C\xF7\x5E\xC2\x55\x3C\xA0\x0B"
6662 			  "\x92\x65\xE9\x70\xDB\x4F\xD6\xB9"
6663 			  "\x00\xB4\x1F\xE6\x49\xFD\x44\x2F"
6664 			  "\x53\x3A\x8D\x14\x98\x63\xCA\x5D"
6665 			  "\xC1\xA8\x33\xA7\x0E\x91\x78\xEC"
6666 			  "\x77\xDE\x42\xD5\xBC\x07\x8B\x12"
6667 			  "\xE5\x4C\xF0\x5B\x22\x56\x39\x80"
6668 			  "\x6B\x9F\x66\xC9\x50\xC4\xAF\x36"
6669 			  "\xBA\x0D\x94\x7F\xE3\x4A\xDD\x41"
6670 			  "\x28\xB3\x1A\x8E\x11\xF8\x43\xF7"
6671 			  "\x5E\x21\x55\x3C\x87\x6E\x92\x65"
6672 			  "\xCC\x57\xDB\xA2\x35\xB9\x00\xEB"
6673 			  "\x72\xE6\x49\xD0\x44\x2F\xB6\x19"
6674 			  "\x8D\x14\xFF\x46\xCA\x5D\x24\xA8"
6675 			  "\x33\x9A\x6D\x91\x78\xC3\x77\xDE"
6676 			  "\xA1\x08\xBC\x07\xEE\x71\xE5\x4C"
6677 			  "\xD7\x5B\x22\xB5\x1C\x80\x6B\xF2"
6678 			  "\x45\xC9\x50\x3B\xAF\x36\x99\x60"
6679 			  "\x94\x7F\xC6\x4A\xDD\xA4\x0F\xB3"
6680 			  "\x1A\xED\x74\xF8\x43\x2A\x5E\x21"
6681 			  "\x88\x13\x87\x6E\xF1\x58\xCC\x57"
6682 			  "\x3E\xA2\x35\x9C\x67\xEB\x72\xC5"
6683 			  "\x49\xD0\xBB\x02\xB6\x19\xE0\x4B"
6684 			  "\xFF\x46\x29\x5D\x24\x8F\x16\x9A"
6685 			  "\x6D\xF4\x5F\xC3\xAA\x3D\xA1\x08"
6686 			  "\x93\x7A\xEE\x71\xD8\x4C\xD7\xBE"
6687 			  "\x01\xB5\x1C\xE7\x4E\xF2\x45\x2C"
6688 			  "\x50\x3B\x82\x15\x99\x60\xCB\x52"
6689 			  "\xC6\xA9\x30\xA4\x0F\x96\x79\xED"
6690 			  "\x74\xDF\x43\x2A\xBD\x04\x88\x13"
6691 			  "\xFA\x4D\xF1\x58\x23\x57\x3E\x81"
6692 			  "\x68\x9C\x67\xCE\x51\xC5\xAC\x37"
6693 			  "\xBB\x02\x95\x7C\xE0\x4B\xD2\x46"
6694 			  "\x29\xB0\x1B\x8F\x16\xF9\x40\xF4"
6695 			  "\x5F\x26\xAA\x3D\x84\x6F\x93\x7A"
6696 			  "\xCD\x54\xD8\xA3\x0A\xBE\x01\xE8"
6697 			  "\x73\xE7\x4E\xD1\x45\x2C\xB7\x1E"
6698 			  "\x82\x15\xFC\x47\xCB\x52\x25\xA9"
6699 			  "\x30\x9B\x62\x96\x79\xC0\x74\xDF"
6700 			  "\xA6\x09\xBD\x04\xEF\x76\xFA\x4D"
6701 			  "\xD4\x58\x23\x8A\x1D\x81\x68\xF3"
6702 			  "\x5A\xCE\x51\x38\xAC\x37\x9E\x61"
6703 			  "\x95\x7C\xC7\x4B\xD2\xA5\x0C\xB0"
6704 			  "\x1B\xE2\x75\xF9\x40\x2B\x5F\x26"
6705 			  "\x89\x10\x84\x6F\xF6\x59\xCD\x54"
6706 			  "\x3F\xA3\x0A\x9D\x64\xE8\x73\xDA"
6707 			  "\x4E\xD1\xB8\x03\xB7\x1E\xE1\x48"
6708 			  "\xFC\x47\x2E\x52\x25\x8C\x17\x9B"
6709 			  "\x62\xF5\x5C\xC0\xAB\x32\xA6\x09"
6710 			  "\x90\x7B\xEF\x76\xD9\x4D\xD4\xBF"
6711 			  "\x06\x8A\x1D\xE4\x4F\xF3\x5A\x2D"
6712 			  "\x51\x38\x83\x6A\x9E\x61\xC8\x53"
6713 			  "\xC7\xAE\x31\xA5\x0C\x97\x7E\xE2"
6714 			  "\x75\xDC\x40\x2B\xB2\x05\x89\x10"
6715 			  "\xFB\x42\xF6\x59\x20\x54\x3F\x86"
6716 			  "\x69\x9D\x64\xCF\x56\xDA\xAD\x34"
6717 			  "\xB8\x03\xEA\x7D\xE1\x48\xD3\x47"
6718 			  "\x2E\xB1\x18",
6719 		.rlen	= 499,
6720 		.also_non_np = 1,
6721 		.np	= 2,
6722 		.tap	= { 499 - 16, 16 },
6723 	},
6724 };
6725 
6726 /*
6727  * Blowfish test vectors.
6728  */
6729 static const struct cipher_testvec bf_enc_tv_template[] = {
6730 	{ /* DES test vectors from OpenSSL */
6731 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6732 		.klen	= 8,
6733 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6734 		.ilen	= 8,
6735 		.result	= "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
6736 		.rlen	= 8,
6737 	}, {
6738 		.key	= "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
6739 		.klen	= 8,
6740 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
6741 		.ilen	= 8,
6742 		.result	= "\xa7\x90\x79\x51\x08\xea\x3c\xae",
6743 		.rlen	= 8,
6744 	}, {
6745 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
6746 		.klen	= 8,
6747 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6748 		.ilen	= 8,
6749 		.result	= "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
6750 		.rlen	= 8,
6751 	}, { /* Vary the keylength... */
6752 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6753 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
6754 		.klen	= 16,
6755 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6756 		.ilen	= 8,
6757 		.result	= "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
6758 		.rlen	= 8,
6759 	}, {
6760 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6761 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6762 			  "\x00\x11\x22\x33\x44",
6763 		.klen	= 21,
6764 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6765 		.ilen	= 8,
6766 		.result	= "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
6767 		.rlen	= 8,
6768 	}, { /* Generated with bf488 */
6769 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6770 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6771 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
6772 			  "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
6773 			  "\x58\x40\x23\x64\x1a\xba\x61\x76"
6774 			  "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
6775 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
6776 		.klen	= 56,
6777 		.input	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6778 		.ilen	= 8,
6779 		.result	= "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
6780 		.rlen	= 8,
6781 	}, { /* Generated with Crypto++ */
6782 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6783 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6784 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6785 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6786 		.klen	= 32,
6787 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
6788 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
6789 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
6790 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
6791 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
6792 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
6793 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
6794 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
6795 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
6796 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
6797 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
6798 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
6799 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
6800 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
6801 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
6802 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
6803 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
6804 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
6805 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
6806 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
6807 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
6808 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
6809 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
6810 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
6811 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
6812 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
6813 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
6814 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
6815 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
6816 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
6817 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
6818 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
6819 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
6820 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
6821 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
6822 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
6823 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
6824 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
6825 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
6826 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
6827 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
6828 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
6829 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
6830 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
6831 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
6832 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
6833 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
6834 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
6835 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
6836 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
6837 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
6838 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
6839 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
6840 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
6841 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
6842 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
6843 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
6844 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
6845 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
6846 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
6847 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
6848 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
6849 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
6850 		.ilen	= 504,
6851 		.result	= "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
6852 			  "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
6853 			  "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
6854 			  "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
6855 			  "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
6856 			  "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
6857 			  "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
6858 			  "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
6859 			  "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
6860 			  "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
6861 			  "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
6862 			  "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
6863 			  "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
6864 			  "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
6865 			  "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
6866 			  "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
6867 			  "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
6868 			  "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
6869 			  "\x47\x82\x98\x23\x33\x36\xBC\x1B"
6870 			  "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
6871 			  "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
6872 			  "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
6873 			  "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
6874 			  "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
6875 			  "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
6876 			  "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
6877 			  "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
6878 			  "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
6879 			  "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
6880 			  "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
6881 			  "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
6882 			  "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
6883 			  "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
6884 			  "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
6885 			  "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
6886 			  "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
6887 			  "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
6888 			  "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
6889 			  "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
6890 			  "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
6891 			  "\x3E\x42\x14\x49\x88\x51\xBF\x68"
6892 			  "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
6893 			  "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
6894 			  "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
6895 			  "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
6896 			  "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
6897 			  "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
6898 			  "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
6899 			  "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
6900 			  "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
6901 			  "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
6902 			  "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
6903 			  "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
6904 			  "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
6905 			  "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
6906 			  "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
6907 			  "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
6908 			  "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
6909 			  "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
6910 			  "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
6911 			  "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
6912 			  "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
6913 			  "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
6914 		.rlen	= 504,
6915 		.also_non_np = 1,
6916 		.np	= 3,
6917 		.tap	= { 504 - 10, 2, 8 },
6918 	},
6919 };
6920 
6921 static const struct cipher_testvec bf_dec_tv_template[] = {
6922 	{ /* DES test vectors from OpenSSL */
6923 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6924 		.klen	= 8,
6925 		.input	= "\x4e\xf9\x97\x45\x61\x98\xdd\x78",
6926 		.ilen	= 8,
6927 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
6928 		.rlen	= 8,
6929 	}, {
6930 		.key	= "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e",
6931 		.klen	= 8,
6932 		.input	= "\xa7\x90\x79\x51\x08\xea\x3c\xae",
6933 		.ilen	= 8,
6934 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
6935 		.rlen	= 8,
6936 	}, {
6937 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
6938 		.klen	= 8,
6939 		.input	= "\xe8\x7a\x24\x4e\x2c\xc8\x5e\x82",
6940 		.ilen	= 8,
6941 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6942 		.rlen	= 8,
6943 	}, { /* Vary the keylength... */
6944 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6945 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f",
6946 		.klen	= 16,
6947 		.input	= "\x93\x14\x28\x87\xee\x3b\xe1\x5c",
6948 		.ilen	= 8,
6949 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6950 		.rlen	= 8,
6951 	}, {
6952 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6953 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6954 			  "\x00\x11\x22\x33\x44",
6955 		.klen	= 21,
6956 		.input	= "\xe6\xf5\x1e\xd7\x9b\x9d\xb2\x1f",
6957 		.ilen	= 8,
6958 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6959 		.rlen	= 8,
6960 	}, { /* Generated with bf488, using OpenSSL, Libgcrypt and Nettle */
6961 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87"
6962 			  "\x78\x69\x5a\x4b\x3c\x2d\x1e\x0f"
6963 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
6964 			  "\x04\x68\x91\x04\xc2\xfd\x3b\x2f"
6965 			  "\x58\x40\x23\x64\x1a\xba\x61\x76"
6966 			  "\x1f\x1f\x1f\x1f\x0e\x0e\x0e\x0e"
6967 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
6968 		.klen	= 56,
6969 		.input	= "\xc0\x45\x04\x01\x2e\x4e\x1f\x53",
6970 		.ilen	= 8,
6971 		.result	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
6972 		.rlen	= 8,
6973 	}, { /* Generated with Crypto++ */
6974 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
6975 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
6976 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
6977 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
6978 		.klen	= 32,
6979 		.input	= "\x96\x87\x3D\x0C\x7B\xFB\xBD\x1F"
6980 			  "\xE3\xC1\x99\x6D\x39\xD4\xC2\x7D"
6981 			  "\xD7\x87\xA1\xF2\xDF\x51\x71\x26"
6982 			  "\xC2\xF4\x6D\xFF\xF6\xCD\x6B\x40"
6983 			  "\xE1\xB3\xBF\xD4\x38\x2B\xC8\x3B"
6984 			  "\xD3\xB2\xD4\x61\xC7\x9F\x06\xE9"
6985 			  "\xCD\xF3\x88\x39\x39\x7A\xDF\x19"
6986 			  "\xE8\x03\x2A\x0B\x9E\xA0\x2B\x86"
6987 			  "\x31\xF8\x9D\xB1\xEE\x78\x9D\xB5"
6988 			  "\xCD\x8B\x7C\x2E\xF5\xA2\x2D\x5D"
6989 			  "\x6E\x66\xAF\x38\x6C\xD3\x13\xED"
6990 			  "\x14\xEA\x5D\xD0\x17\x77\x0F\x4A"
6991 			  "\x50\xF2\xD0\x0F\xC8\xF7\x1E\x7B"
6992 			  "\x9D\x5B\x54\x65\x4F\x16\x8A\x97"
6993 			  "\xF3\xF6\xD4\xAA\x87\x36\x77\x72"
6994 			  "\x99\x4A\xB5\x5E\x88\xC3\xCD\x7D"
6995 			  "\x1D\x97\xF9\x11\xBD\xE0\x1F\x1F"
6996 			  "\x96\x3E\x4B\x22\xF4\xC0\xE6\xB8"
6997 			  "\x47\x82\x98\x23\x33\x36\xBC\x1B"
6998 			  "\x36\xE7\xF6\xCF\x97\x37\x16\xC0"
6999 			  "\x87\x31\x8B\xB0\xDB\x19\x42\xA5"
7000 			  "\x1F\x90\x7E\x66\x34\xDD\x5E\xE9"
7001 			  "\x4F\xB2\x2B\x9A\xDE\xB3\x5D\x71"
7002 			  "\x4D\x68\xF0\xDC\xA6\xEA\xE3\x9B"
7003 			  "\x60\x00\x55\x57\x06\x8B\xD5\xB3"
7004 			  "\x86\x30\x78\xDA\x33\x9A\x9D\xCC"
7005 			  "\xBA\x0B\x81\x06\x77\x43\xC7\xC9"
7006 			  "\xDB\x37\x60\x11\x45\x59\x6D\x2D"
7007 			  "\x90\x3D\x65\x3E\xD0\x13\xC6\x3C"
7008 			  "\x0E\x78\x7D\x9A\x00\xD6\x2F\x0B"
7009 			  "\x3B\x53\x19\x1E\xA8\x9B\x11\xD9"
7010 			  "\x98\xE4\x7F\xC3\x6E\x51\x24\x70"
7011 			  "\x9F\x04\x9C\xC2\x9E\x44\x84\xE3"
7012 			  "\xE0\x8A\x44\xA2\x5C\x94\x74\x34"
7013 			  "\x37\x52\x7C\x03\xE8\x8E\x97\xE1"
7014 			  "\x5B\x5C\x0E\xB0\x70\xFE\x54\x3F"
7015 			  "\xD8\x65\xA9\xC5\xCD\xEC\xF4\x45"
7016 			  "\x55\xC5\xA7\xA3\x19\x80\x28\x51"
7017 			  "\xBE\x64\x4A\xC1\xD4\xE1\xBE\xEB"
7018 			  "\x73\x4C\xB6\xF9\x5F\x6D\x82\xBC"
7019 			  "\x3E\x42\x14\x49\x88\x51\xBF\x68"
7020 			  "\x45\x75\x27\x1B\x0A\x72\xED\xAF"
7021 			  "\xDA\xC4\x4D\x67\x0D\xEE\x75\xE3"
7022 			  "\x34\xDD\x91\x19\x42\x3A\xCB\xDA"
7023 			  "\x38\xFA\x3C\x93\x62\xF2\xE3\x81"
7024 			  "\xB3\xE4\xBB\xF6\x0D\x0B\x1D\x09"
7025 			  "\x9C\x52\x0D\x50\x63\xA4\xB2\xD2"
7026 			  "\x82\xA0\x23\x3F\x1F\xB6\xED\x6E"
7027 			  "\xC2\x9C\x1C\xD0\x9A\x40\xB6\xFC"
7028 			  "\x36\x56\x6E\x85\x73\xD7\x52\xBA"
7029 			  "\x35\x5E\x32\x89\x5D\x42\xF5\x36"
7030 			  "\x52\x8D\x46\x7D\xC8\x71\xAD\x33"
7031 			  "\xE1\xAF\x6A\xA8\xEC\xBA\x1C\xDC"
7032 			  "\xFE\x88\xE6\x16\xE4\xC8\x13\x00"
7033 			  "\x3C\xDA\x59\x32\x38\x19\xD5\xEB"
7034 			  "\xB6\x7F\x78\x45\x1B\x8E\x07\x8C"
7035 			  "\x66\x52\x75\xFF\xAF\xCE\x2D\x2B"
7036 			  "\x22\x29\xCA\xB3\x5F\x7F\xE3\x29"
7037 			  "\xB2\xB8\x9D\xEB\x16\xC8\xC5\x1D"
7038 			  "\xC9\x0D\x59\x82\x27\x57\x9D\x42"
7039 			  "\x54\x59\x09\xA5\x3D\xC5\x84\x68"
7040 			  "\x56\xEB\x36\x77\x3D\xAA\xB8\xF5"
7041 			  "\xC9\x1A\xFB\x5D\xDE\xBB\x43\xF4",
7042 		.ilen	= 504,
7043 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7044 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7045 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7046 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7047 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7048 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7049 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7050 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7051 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7052 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7053 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7054 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7055 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7056 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7057 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7058 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7059 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7060 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7061 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7062 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7063 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7064 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7065 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7066 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7067 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7068 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7069 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7070 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7071 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7072 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7073 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7074 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7075 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7076 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7077 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7078 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7079 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7080 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7081 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7082 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7083 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7084 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7085 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7086 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7087 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7088 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7089 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7090 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7091 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7092 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7093 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7094 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7095 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7096 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7097 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7098 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7099 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7100 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7101 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7102 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7103 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7104 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7105 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7106 		.rlen	= 504,
7107 		.also_non_np = 1,
7108 		.np	= 3,
7109 		.tap	= { 504 - 10, 2, 8 },
7110 	},
7111 };
7112 
7113 static const struct cipher_testvec bf_cbc_enc_tv_template[] = {
7114 	{ /* From OpenSSL */
7115 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
7116 			  "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
7117 		.klen	= 16,
7118 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7119 		.input	= "\x37\x36\x35\x34\x33\x32\x31\x20"
7120 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
7121 			  "\x68\x65\x20\x74\x69\x6d\x65\x20"
7122 			  "\x66\x6f\x72\x20\x00\x00\x00\x00",
7123 		.ilen	= 32,
7124 		.result	= "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
7125 			  "\x05\xb1\x56\xe2\x74\x03\x97\x93"
7126 			  "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
7127 			  "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
7128 		.rlen	= 32,
7129 	}, { /* Generated with Crypto++ */
7130 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7131 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7132 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7133 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7134 		.klen	= 32,
7135 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7136 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7137 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7138 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7139 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7140 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7141 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7142 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7143 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7144 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7145 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7146 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7147 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7148 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7149 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7150 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7151 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7152 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7153 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7154 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7155 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7156 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7157 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7158 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7159 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7160 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7161 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7162 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7163 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7164 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7165 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7166 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7167 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7168 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7169 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7170 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7171 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7172 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7173 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7174 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7175 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7176 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7177 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7178 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7179 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7180 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7181 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7182 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7183 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7184 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7185 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7186 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7187 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7188 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7189 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7190 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7191 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7192 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7193 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7194 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7195 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7196 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7197 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7198 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7199 		.ilen	= 504,
7200 		.result	= "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
7201 			  "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
7202 			  "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
7203 			  "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
7204 			  "\x01\x9C\x93\x63\x51\x60\x82\xD2"
7205 			  "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
7206 			  "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
7207 			  "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
7208 			  "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
7209 			  "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
7210 			  "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
7211 			  "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
7212 			  "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
7213 			  "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
7214 			  "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
7215 			  "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
7216 			  "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
7217 			  "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
7218 			  "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
7219 			  "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
7220 			  "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
7221 			  "\x65\xFE\x15\x40\xD0\x62\x41\x02"
7222 			  "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
7223 			  "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
7224 			  "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
7225 			  "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
7226 			  "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
7227 			  "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
7228 			  "\x04\xF0\x86\x08\x78\x18\x42\xE0"
7229 			  "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
7230 			  "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
7231 			  "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
7232 			  "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
7233 			  "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
7234 			  "\x97\x18\x92\xFF\x15\x11\xCE\xED"
7235 			  "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
7236 			  "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
7237 			  "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
7238 			  "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
7239 			  "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
7240 			  "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
7241 			  "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
7242 			  "\x43\x12\x73\x77\xDB\x91\x83\x5B"
7243 			  "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
7244 			  "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
7245 			  "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
7246 			  "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
7247 			  "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
7248 			  "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
7249 			  "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
7250 			  "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
7251 			  "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
7252 			  "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
7253 			  "\xC5\xF8\x69\x83\x28\x84\x87\x56"
7254 			  "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
7255 			  "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
7256 			  "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
7257 			  "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
7258 			  "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
7259 			  "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
7260 			  "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
7261 			  "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
7262 			  "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
7263 		.rlen	= 504,
7264 		.also_non_np = 1,
7265 		.np	= 3,
7266 		.tap	= { 504 - 10, 2, 8 },
7267 	},
7268 };
7269 
7270 static const struct cipher_testvec bf_cbc_dec_tv_template[] = {
7271 	{ /* From OpenSSL */
7272 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
7273 			  "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
7274 		.klen	= 16,
7275 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
7276 		.input	= "\x6b\x77\xb4\xd6\x30\x06\xde\xe6"
7277 			  "\x05\xb1\x56\xe2\x74\x03\x97\x93"
7278 			  "\x58\xde\xb9\xe7\x15\x46\x16\xd9"
7279 			  "\x59\xf1\x65\x2b\xd5\xff\x92\xcc",
7280 		.ilen	= 32,
7281 		.result	= "\x37\x36\x35\x34\x33\x32\x31\x20"
7282 			  "\x4e\x6f\x77\x20\x69\x73\x20\x74"
7283 			  "\x68\x65\x20\x74\x69\x6d\x65\x20"
7284 			  "\x66\x6f\x72\x20\x00\x00\x00\x00",
7285 		.rlen	= 32,
7286 	}, { /* Generated with Crypto++ */
7287 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7288 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7289 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7290 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7291 		.klen	= 32,
7292 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7293 		.input	= "\xB4\xFE\xA5\xBB\x3D\x2C\x27\x06"
7294 			  "\x06\x2B\x3A\x92\xB2\xF5\x5E\x62"
7295 			  "\x84\xCD\xF7\x66\x7E\x41\x6C\x8E"
7296 			  "\x1B\xD9\x02\xB6\x48\xB0\x87\x25"
7297 			  "\x01\x9C\x93\x63\x51\x60\x82\xD2"
7298 			  "\x4D\xE5\xC2\xB7\xAE\x60\xD8\xAD"
7299 			  "\x9F\xAB\x6C\xFA\x20\x05\xDA\x6F"
7300 			  "\x1F\xD1\xD8\x36\x0F\xB5\x16\x69"
7301 			  "\x3C\xAF\xB3\x30\x18\x33\xE6\xB5"
7302 			  "\x43\x29\x9D\x94\xF4\x2F\x0A\x65"
7303 			  "\x40\xB2\xB2\xB2\x42\x89\xEE\x8A"
7304 			  "\x60\xD3\x52\xA8\xED\x91\xDF\xE1"
7305 			  "\x91\x73\x7C\x28\xA1\x14\xC3\x4C"
7306 			  "\x82\x72\x4B\x7D\x7D\x32\xD5\x19"
7307 			  "\xE8\xB8\x6B\x30\x21\x09\x0E\x27"
7308 			  "\x10\x9D\x2D\x3A\x6A\x4B\x7B\xE6"
7309 			  "\x8D\x4E\x02\x32\xFF\x7F\x8E\x13"
7310 			  "\xB0\x96\xF4\xC2\xA1\x60\x8A\x69"
7311 			  "\xEF\x0F\x86\xD0\x25\x13\x1A\x7C"
7312 			  "\x6E\xF0\x41\xA3\xFB\xB3\xAB\x40"
7313 			  "\x7D\x19\xA0\x11\x4F\x3E\x1D\x43"
7314 			  "\x65\xFE\x15\x40\xD0\x62\x41\x02"
7315 			  "\xEA\x0C\x7A\xC3\x84\xEE\xB0\xBE"
7316 			  "\xBE\xC8\x57\x51\xCD\x4F\xAD\x5C"
7317 			  "\xCC\x79\xBA\x0D\x85\x3A\xED\x6B"
7318 			  "\xAC\x6B\xA3\x4D\xBC\xE8\x02\x6A"
7319 			  "\xC2\x6D\xBD\x5E\x89\x95\x86\x43"
7320 			  "\x2C\x17\x4B\xC6\x40\xA2\xBD\x24"
7321 			  "\x04\xF0\x86\x08\x78\x18\x42\xE0"
7322 			  "\x39\x1B\x22\x9E\x89\x4C\x04\x6B"
7323 			  "\x65\xC5\xB6\x0E\xF6\x63\xFC\xD7"
7324 			  "\xAE\x9E\x87\x13\xCC\xD3\x1A\xEC"
7325 			  "\xF0\x51\xCC\x93\x68\xFC\xE9\x19"
7326 			  "\x7C\x4E\x9B\xCC\x17\xAD\xD2\xFC"
7327 			  "\x97\x18\x92\xFF\x15\x11\xCE\xED"
7328 			  "\x04\x41\x05\xA3\x92\xFF\x3B\xE6"
7329 			  "\xB6\x8C\x90\xC6\xCD\x15\xA0\x04"
7330 			  "\x25\x8B\x5D\x5B\x5F\xDB\xAE\x68"
7331 			  "\xEF\xB3\x61\x18\xDB\x83\x9B\x39"
7332 			  "\xCA\x82\xD1\x88\xF0\xA2\x5C\x02"
7333 			  "\x87\xBD\x8D\x8F\xBB\x62\xF0\x35"
7334 			  "\x75\x6F\x06\x81\x0A\x97\x4D\xF0"
7335 			  "\x43\x12\x73\x77\xDB\x91\x83\x5B"
7336 			  "\xE7\x3A\xA6\x07\x7B\xBF\x2C\x50"
7337 			  "\x94\xDE\x7B\x65\xDA\x1C\xF1\x9F"
7338 			  "\x7E\x12\x40\xB2\x3E\x19\x23\xF1"
7339 			  "\x7C\x1B\x5F\xA8\xF3\xAC\x63\x87"
7340 			  "\xEB\x3E\x0C\xBE\xA3\x63\x97\x88"
7341 			  "\x8D\x27\xC6\x2A\xF8\xF2\x67\x9A"
7342 			  "\x0D\x14\x16\x2B\x6F\xCB\xD4\x76"
7343 			  "\x14\x48\x2E\xDE\x2A\x44\x5E\x45"
7344 			  "\xF1\x97\x82\xEF\xB7\xAE\xED\x3A"
7345 			  "\xED\x73\xD3\x79\xF7\x38\x1D\xD0"
7346 			  "\xC5\xF8\x69\x83\x28\x84\x87\x56"
7347 			  "\x3F\xAE\x81\x04\x79\x1F\xD1\x09"
7348 			  "\xC5\xE5\x05\x0D\x64\x16\xCE\x42"
7349 			  "\xC5\xF8\xDB\x57\x89\x33\x22\xFC"
7350 			  "\xB4\xD7\x94\xB9\xF3\xCC\x02\x90"
7351 			  "\x02\xBA\x55\x1E\x24\x3E\x02\x1D"
7352 			  "\xC6\xCD\x8F\xD9\xBD\xED\xB0\x51"
7353 			  "\xCD\xE9\xD5\x0C\xFE\x12\x39\xA9"
7354 			  "\x93\x9B\xEE\xB5\x97\x41\xD2\xA0"
7355 			  "\xB4\x98\xD8\x6B\x74\xE7\x65\xF4",
7356 		.ilen	= 504,
7357 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7358 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7359 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7360 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7361 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7362 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7363 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7364 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7365 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7366 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7367 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7368 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7369 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7370 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7371 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7372 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7373 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7374 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7375 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7376 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7377 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7378 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7379 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7380 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7381 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7382 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7383 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7384 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7385 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7386 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7387 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7388 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7389 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7390 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7391 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7392 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7393 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7394 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7395 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7396 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7397 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7398 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7399 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7400 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7401 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7402 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7403 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7404 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7405 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7406 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7407 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7408 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7409 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7410 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7411 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7412 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7413 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7414 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7415 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7416 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7417 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7418 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7419 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7420 		.rlen	= 504,
7421 		.also_non_np = 1,
7422 		.np	= 3,
7423 		.tap	= { 504 - 10, 2, 8 },
7424 	},
7425 };
7426 
7427 static const struct cipher_testvec bf_ctr_enc_tv_template[] = {
7428 	{ /* Generated with Crypto++ */
7429 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7430 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7431 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7432 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7433 		.klen	= 32,
7434 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7435 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7436 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7437 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7438 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7439 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7440 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7441 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7442 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7443 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7444 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7445 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7446 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7447 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7448 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7449 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7450 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7451 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7452 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7453 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7454 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7455 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7456 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7457 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7458 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7459 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7460 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7461 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7462 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7463 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7464 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7465 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7466 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7467 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7468 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7469 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7470 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7471 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7472 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7473 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7474 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7475 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7476 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7477 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7478 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7479 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7480 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7481 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7482 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7483 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7484 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7485 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7486 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7487 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7488 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7489 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7490 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7491 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7492 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7493 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7494 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7495 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7496 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7497 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7498 		.ilen	= 504,
7499 		.result	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7500 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7501 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7502 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7503 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7504 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7505 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7506 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7507 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7508 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7509 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7510 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7511 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7512 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7513 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7514 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7515 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7516 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7517 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7518 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7519 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7520 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7521 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7522 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7523 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7524 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7525 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7526 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7527 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7528 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7529 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7530 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7531 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7532 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7533 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7534 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7535 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7536 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7537 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7538 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7539 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7540 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7541 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7542 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7543 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
7544 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7545 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7546 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7547 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7548 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7549 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7550 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7551 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7552 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7553 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7554 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7555 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7556 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7557 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7558 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7559 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7560 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7561 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
7562 		.rlen	= 504,
7563 	}, { /* Generated with Crypto++ */
7564 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7565 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7566 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7567 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7568 		.klen	= 32,
7569 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7570 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7571 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7572 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7573 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7574 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7575 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7576 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7577 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7578 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7579 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7580 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7581 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7582 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7583 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7584 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7585 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7586 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7587 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7588 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7589 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7590 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7591 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7592 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7593 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7594 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7595 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7596 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7597 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7598 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7599 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7600 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7601 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7602 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7603 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7604 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7605 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7606 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7607 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7608 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7609 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7610 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7611 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7612 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7613 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7614 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7615 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7616 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7617 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7618 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7619 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7620 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7621 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7622 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7623 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7624 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7625 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7626 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7627 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7628 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7629 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7630 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7631 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7632 			  "\x2B\xC2\x59\xF0\x64\xFB\x92",
7633 		.ilen	= 503,
7634 		.result	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7635 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7636 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7637 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7638 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7639 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7640 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7641 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7642 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7643 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7644 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7645 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7646 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7647 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7648 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7649 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7650 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7651 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7652 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7653 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7654 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7655 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7656 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7657 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7658 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7659 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7660 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7661 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7662 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7663 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7664 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7665 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7666 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7667 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7668 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7669 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7670 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7671 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7672 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7673 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7674 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7675 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7676 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7677 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7678 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
7679 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7680 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7681 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7682 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7683 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7684 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7685 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7686 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7687 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7688 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7689 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7690 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7691 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7692 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7693 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7694 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7695 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7696 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
7697 		.rlen	= 503,
7698 		.also_non_np = 1,
7699 		.np	= 2,
7700 		.tap	= { 503 - 8, 8 },
7701 	}, { /* Generated with Crypto++ */
7702 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7703 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7704 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7705 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7706 		.klen	= 32,
7707 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
7708 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7709 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7710 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7711 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7712 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7713 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7714 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7715 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7716 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7717 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7718 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7719 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7720 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7721 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7722 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7723 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7724 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7725 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7726 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7727 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7728 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7729 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7730 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7731 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7732 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7733 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7734 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7735 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7736 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7737 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7738 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7739 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7740 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7741 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7742 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7743 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7744 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7745 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7746 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7747 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7748 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7749 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7750 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7751 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7752 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7753 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7754 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7755 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7756 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7757 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7758 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7759 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7760 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7761 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7762 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7763 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7764 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7765 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7766 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7767 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7768 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7769 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7770 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7771 		.ilen	= 504,
7772 		.result	= "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
7773 			  "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
7774 			  "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
7775 			  "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
7776 			  "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
7777 			  "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
7778 			  "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
7779 			  "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
7780 			  "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
7781 			  "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
7782 			  "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
7783 			  "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
7784 			  "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
7785 			  "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
7786 			  "\x0B\x82\x59\x14\x26\x67\x08\x09"
7787 			  "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
7788 			  "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
7789 			  "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
7790 			  "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
7791 			  "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
7792 			  "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
7793 			  "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
7794 			  "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
7795 			  "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
7796 			  "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
7797 			  "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
7798 			  "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
7799 			  "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
7800 			  "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
7801 			  "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
7802 			  "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
7803 			  "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
7804 			  "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
7805 			  "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
7806 			  "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
7807 			  "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
7808 			  "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
7809 			  "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
7810 			  "\xB4\x19\xD8\x19\x45\x66\x27\x02"
7811 			  "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
7812 			  "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
7813 			  "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
7814 			  "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
7815 			  "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
7816 			  "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
7817 			  "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
7818 			  "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
7819 			  "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
7820 			  "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
7821 			  "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
7822 			  "\x91\x51\x4E\x71\xF2\x98\x85\x16"
7823 			  "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
7824 			  "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
7825 			  "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
7826 			  "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
7827 			  "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
7828 			  "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
7829 			  "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
7830 			  "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
7831 			  "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
7832 			  "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
7833 			  "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
7834 			  "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
7835 		.rlen	= 504,
7836 	},
7837 };
7838 
7839 static const struct cipher_testvec bf_ctr_dec_tv_template[] = {
7840 	{ /* Generated with Crypto++ */
7841 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7842 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7843 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7844 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7845 		.klen	= 32,
7846 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7847 		.input	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7848 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7849 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7850 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7851 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7852 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7853 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7854 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7855 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7856 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7857 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7858 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7859 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7860 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7861 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7862 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7863 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7864 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
7865 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
7866 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
7867 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
7868 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
7869 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
7870 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
7871 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
7872 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
7873 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
7874 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
7875 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
7876 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
7877 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
7878 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
7879 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
7880 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
7881 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
7882 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
7883 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
7884 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
7885 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
7886 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
7887 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
7888 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
7889 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
7890 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
7891 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
7892 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
7893 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
7894 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
7895 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
7896 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
7897 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
7898 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
7899 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
7900 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
7901 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
7902 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
7903 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
7904 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
7905 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
7906 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
7907 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
7908 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
7909 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D\x29",
7910 		.ilen	= 504,
7911 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
7912 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
7913 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
7914 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
7915 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
7916 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
7917 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
7918 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
7919 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
7920 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
7921 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
7922 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
7923 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
7924 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
7925 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
7926 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
7927 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
7928 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
7929 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
7930 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
7931 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
7932 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
7933 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
7934 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
7935 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
7936 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
7937 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
7938 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
7939 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
7940 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
7941 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
7942 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
7943 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
7944 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
7945 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
7946 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
7947 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
7948 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
7949 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
7950 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
7951 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
7952 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
7953 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
7954 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
7955 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
7956 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
7957 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
7958 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
7959 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
7960 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
7961 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
7962 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
7963 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
7964 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
7965 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
7966 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
7967 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
7968 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
7969 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
7970 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
7971 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
7972 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
7973 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
7974 		.rlen	= 504,
7975 	}, { /* Generated with Crypto++ */
7976 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
7977 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
7978 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
7979 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
7980 		.klen	= 32,
7981 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
7982 		.input	= "\xC7\xA3\xDF\xB9\x05\xF4\x9E\x8D"
7983 			  "\x9E\xDF\x38\x18\x83\x07\xEF\xC1"
7984 			  "\x93\x3C\xAA\xAA\xFE\x06\x42\xCC"
7985 			  "\x0D\x70\x86\x5A\x44\xAD\x85\x17"
7986 			  "\xE4\x1F\x5E\xA5\x89\xAC\x32\xBC"
7987 			  "\x3D\xA7\xE9\x0A\x5C\x70\x4D\xDE"
7988 			  "\x99\x38\x07\xCA\x1D\x21\xC1\x11"
7989 			  "\x97\xEB\x98\x75\xC4\x73\x45\x83"
7990 			  "\x46\x1C\x9C\x91\x87\xC1\xA0\x56"
7991 			  "\x98\xA1\x8B\xDB\x22\x76\xBD\x62"
7992 			  "\xA4\xBC\xE8\x86\xDA\xD2\x51\x13"
7993 			  "\x13\xD2\x96\x68\x69\x10\x67\x0C"
7994 			  "\xD0\x17\x25\x7C\xB2\xAE\x4F\x93"
7995 			  "\xA6\x82\x20\xCF\x0F\xA6\x47\x79"
7996 			  "\x88\x09\x40\x59\xBD\x12\x64\xB5"
7997 			  "\x19\x38\x0D\xFF\x86\xD9\x42\x20"
7998 			  "\x81\x0D\x96\x99\xAF\x22\x1F\x94"
7999 			  "\x5C\x6E\xEC\xEA\xA3\x39\xCB\x09"
8000 			  "\x43\x19\x7F\xD0\xBB\x10\xC2\x49"
8001 			  "\xF7\xE9\xF2\xEE\xBF\xF7\xF8\xB3"
8002 			  "\x0E\x1A\xF1\x8D\x70\x82\x0C\x04"
8003 			  "\xFD\x29\x1A\xAC\xC0\x92\x48\x34"
8004 			  "\x6A\xE3\x1D\x4F\xFC\x1C\x72\x6A"
8005 			  "\x57\xCB\xAD\xD0\x98\xAB\xB1\x01"
8006 			  "\x03\x6A\x45\xDD\x07\x71\x5F\x5B"
8007 			  "\xB5\x4A\xE4\xE5\xB9\xB9\xBC\xAC"
8008 			  "\x44\xF7\x41\xA4\x5F\x2E\xE9\x28"
8009 			  "\xE3\x05\xD2\x94\x78\x4C\x33\x1B"
8010 			  "\xBD\xC1\x6E\x51\xD9\xAD\xD9\x86"
8011 			  "\x15\x4A\x78\xAE\x7B\xAD\x3B\xBC"
8012 			  "\x2F\xE0\x0E\xC5\x7B\x54\x97\x5F"
8013 			  "\x60\x51\x14\x65\xF9\x91\xE9\xDA"
8014 			  "\x9A\xBC\xFC\x19\x29\x67\xAA\x63"
8015 			  "\x5E\xF2\x48\x88\xEB\x79\xE1\xE4"
8016 			  "\xF7\xF6\x4C\xA9\xE2\x8C\x3B\xE0"
8017 			  "\xED\x52\xAE\x90\x8F\x5B\x98\x34"
8018 			  "\x29\x94\x34\x7F\xF9\x6C\x1E\xB6"
8019 			  "\xA4\xE7\x2D\x06\x54\x9D\xC3\x02"
8020 			  "\xC1\x90\xA4\x72\x31\x6B\x24\x51"
8021 			  "\x0B\xB3\x7C\x63\x15\xBA\xAF\x5D"
8022 			  "\x41\xE0\x37\x6D\xBE\x41\x58\xDE"
8023 			  "\xF2\x07\x62\x99\xBE\xC1\x8C\x0F"
8024 			  "\x0F\x28\xFB\x8F\x0E\x1D\x91\xE2"
8025 			  "\xDA\x99\x5C\x49\xBA\x9C\xA8\x86"
8026 			  "\x82\x63\x11\xB3\x54\x49\x00\x08"
8027 			  "\x07\xF2\xE8\x1F\x34\x49\x61\xF4"
8028 			  "\x81\xE9\xF6\xA9\x5A\x28\x60\x1F"
8029 			  "\x66\x99\x08\x06\xF2\xE8\x2D\xD1"
8030 			  "\xD0\x67\xBA\x32\x1F\x02\x86\x7B"
8031 			  "\xFB\x79\x3D\xC5\xB1\x7F\x15\xAF"
8032 			  "\xD7\xBF\x31\x46\x22\x7F\xAE\x5B"
8033 			  "\x8B\x95\x47\xC2\xB1\x62\xA1\xCE"
8034 			  "\x52\xAC\x9C\x8B\xC2\x49\x7F\xBC"
8035 			  "\x9C\x89\xB8\xB6\xCA\xE3\x8F\xEA"
8036 			  "\xAC\xB4\x5D\xE4\x50\xDC\x3A\xB5"
8037 			  "\x91\x04\x94\x99\x03\x3B\x42\x6D"
8038 			  "\x9C\x4A\x02\xF5\xB5\x38\x98\xA8"
8039 			  "\x5C\x97\x2E\x4D\x79\x67\x71\xAF"
8040 			  "\xF0\x70\x77\xFF\x2D\xDA\xA0\x9E"
8041 			  "\x23\x8D\xD6\xA6\x68\x10\x78\x9A"
8042 			  "\x64\xBB\x15\xB8\x56\xCF\xEE\xE5"
8043 			  "\x32\x44\x96\x1C\xD8\xEB\x95\xD2"
8044 			  "\xF3\x71\xEF\xEB\x4E\xBB\x4D",
8045 		.ilen	= 503,
8046 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8047 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8048 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8049 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8050 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8051 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8052 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8053 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8054 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8055 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8056 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8057 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8058 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8059 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8060 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8061 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8062 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8063 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8064 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8065 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8066 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8067 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8068 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8069 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8070 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8071 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8072 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8073 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8074 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8075 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8076 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8077 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8078 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8079 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8080 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8081 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8082 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8083 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8084 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8085 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8086 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8087 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8088 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8089 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8090 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8091 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8092 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8093 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8094 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8095 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8096 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8097 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8098 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8099 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8100 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8101 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8102 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8103 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8104 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8105 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8106 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8107 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8108 			  "\x2B\xC2\x59\xF0\x64\xFB\x92",
8109 		.rlen	= 503,
8110 		.also_non_np = 1,
8111 		.np	= 2,
8112 		.tap	= { 503 - 8, 8 },
8113 	}, { /* Generated with Crypto++ */
8114 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8115 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8116 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8117 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8118 		.klen	= 32,
8119 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
8120 		.input	= "\x5F\x58\x6E\x60\x51\x6E\xDC\x3D"
8121 			  "\xD1\xBB\xF7\xB7\xFD\x04\x44\x82"
8122 			  "\xDC\x9F\x4B\x02\xF1\xD2\x5A\x6F"
8123 			  "\x25\xF9\x27\x21\xF2\xD2\x9A\x01"
8124 			  "\xBD\xAD\x3D\x93\x87\xCA\x0D\xFE"
8125 			  "\xB7\x2C\x17\x1F\x42\x8C\x13\xB2"
8126 			  "\x62\x44\x72\xB9\x5D\xC0\xF8\x37"
8127 			  "\xDF\xEA\x78\x81\x8F\xA6\x34\xB2"
8128 			  "\x07\x09\x7C\xB9\x3A\xA0\x2B\x18"
8129 			  "\x34\x6A\x9D\x3D\xA5\xEB\xF4\x60"
8130 			  "\xF8\x98\xA2\x39\x81\x23\x6C\xA9"
8131 			  "\x70\xCA\xCC\x45\xD8\x1F\xDF\x44"
8132 			  "\x2A\x67\x7A\x88\x28\xDC\x36\x83"
8133 			  "\x18\xD7\x48\x43\x17\x2B\x1B\xE6"
8134 			  "\x0B\x82\x59\x14\x26\x67\x08\x09"
8135 			  "\x5B\x5D\x38\xD0\x81\xCE\x54\x2A"
8136 			  "\xCD\x22\x94\x42\xF5\xBA\x74\x7E"
8137 			  "\xD9\x00\x40\xA9\x0D\x0B\xBD\x8E"
8138 			  "\xC4\x8E\x5E\x17\x8F\x48\xE2\xB8"
8139 			  "\xF4\xCC\x19\x76\xAB\x48\x29\xAA"
8140 			  "\x81\xD5\xCE\xD5\x8A\x3B\xC9\x21"
8141 			  "\xEF\x50\x4F\x04\x02\xBF\xE1\x1F"
8142 			  "\x59\x28\x1A\xE4\x18\x16\xA0\x29"
8143 			  "\xBF\x34\xA9\x2D\x28\x83\xC0\x5E"
8144 			  "\xEA\x44\xC4\x6E\xAB\x24\x79\x9D"
8145 			  "\x2D\xA1\xE8\x55\xCA\x74\xFC\xBD"
8146 			  "\xFE\xDD\xDA\xA5\xFB\x34\x90\x31"
8147 			  "\x0E\x62\x28\x9B\xDC\xD7\xA1\xBB"
8148 			  "\xF0\x1A\xB3\xE2\xD0\xFA\xBD\xE8"
8149 			  "\x5C\x5A\x10\x67\xF6\x6A\x17\x3F"
8150 			  "\xC5\xE9\x09\x08\xDD\x22\x77\x42"
8151 			  "\x26\x6A\x6A\x7A\x3F\x87\x80\x0C"
8152 			  "\xF0\xFF\x15\x8E\x84\x86\xC0\x10"
8153 			  "\x0F\x8D\x33\x06\xB8\x72\xA4\x47"
8154 			  "\x6B\xED\x2E\x05\x94\x6C\x5C\x5B"
8155 			  "\x13\xF6\x77\xEE\x3B\x16\xDF\xC2"
8156 			  "\x63\x66\x07\x6D\x3F\x6C\x51\x7C"
8157 			  "\x1C\xAC\x80\xB6\x58\x48\xB7\x9D"
8158 			  "\xB4\x19\xD8\x19\x45\x66\x27\x02"
8159 			  "\xA1\xA9\x99\xF3\x1F\xE5\xA7\x1D"
8160 			  "\x31\xE7\x1B\x0D\xFF\xBB\xB5\xA1"
8161 			  "\xF5\x9C\x45\x1E\x18\x19\xA1\xE7"
8162 			  "\xC2\xF1\xBF\x68\xC3\xEC\xCF\x53"
8163 			  "\x67\xA6\x2B\x7D\x3C\x6D\x24\xC3"
8164 			  "\xE8\xE6\x07\x5A\x09\xE0\x32\xA8"
8165 			  "\x52\xF6\xE9\xED\x0E\xC6\x0A\x6A"
8166 			  "\xFC\x60\x2A\xE0\x93\xCE\xB8\x2E"
8167 			  "\xA2\xA8\x0E\x79\x9E\x34\x5D\x37"
8168 			  "\x6F\x12\xFE\x48\x7B\xE7\xB9\x22"
8169 			  "\x29\xE8\xD7\xBE\x5D\xD1\x8B\xD9"
8170 			  "\x91\x51\x4E\x71\xF2\x98\x85\x16"
8171 			  "\x25\x7A\x76\x8A\x51\x0E\x65\x14"
8172 			  "\x81\xB5\x3A\x37\xFD\xEC\xB5\x8A"
8173 			  "\xE1\xCF\x41\x72\x14\x29\x4C\xF0"
8174 			  "\x20\xD9\x9A\xC5\x66\xA4\x03\x76"
8175 			  "\x5B\xA4\x15\x4F\x0E\x64\x39\x40"
8176 			  "\x25\xF9\x20\x22\xF5\x88\xF5\xBA"
8177 			  "\xE4\xDF\x45\x61\xBF\x8D\x7A\x24"
8178 			  "\x4B\x92\x71\xD9\x2F\x77\xA7\x95"
8179 			  "\xA8\x7F\x61\xD5\xA4\x57\xB0\xFB"
8180 			  "\xB5\x77\xBA\x1C\xEE\x71\xFA\xB0"
8181 			  "\x16\x4C\x18\x6B\xF2\x69\xA0\x07"
8182 			  "\xEF\xBE\xEC\x69\xAC\xA8\x63\x9E",
8183 		.ilen	= 504,
8184 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8185 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8186 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8187 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8188 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8189 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8190 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8191 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8192 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8193 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8194 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8195 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8196 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8197 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8198 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8199 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8200 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8201 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8202 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8203 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8204 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8205 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8206 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8207 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8208 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8209 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8210 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8211 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8212 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8213 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8214 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8215 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8216 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8217 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8218 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8219 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8220 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8221 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8222 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8223 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8224 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8225 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8226 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8227 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8228 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8229 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8230 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8231 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8232 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8233 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8234 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8235 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8236 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8237 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8238 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8239 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8240 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8241 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8242 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8243 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8244 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8245 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
8246 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06",
8247 		.rlen	= 504,
8248 	},
8249 };
8250 
8251 /*
8252  * Twofish test vectors.
8253  */
8254 static const struct cipher_testvec tf_enc_tv_template[] = {
8255 	{
8256 		.key	= zeroed_string,
8257 		.klen	= 16,
8258 		.input	= zeroed_string,
8259 		.ilen	= 16,
8260 		.result	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8261 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8262 		.rlen	= 16,
8263 	}, {
8264 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8265 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8266 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
8267 		.klen	= 24,
8268 		.input	= zeroed_string,
8269 		.ilen	= 16,
8270 		.result	= "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
8271 			  "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
8272 		.rlen	= 16,
8273 	}, {
8274 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8275 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8276 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
8277 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
8278 		.klen	= 32,
8279 		.input	= zeroed_string,
8280 		.ilen	= 16,
8281 		.result	= "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
8282 			  "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
8283 		.rlen	= 16,
8284 	}, { /* Generated with Crypto++ */
8285 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
8286 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
8287 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
8288 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
8289 		.klen	= 32,
8290 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8291 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8292 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8293 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8294 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8295 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8296 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8297 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8298 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8299 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8300 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8301 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8302 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8303 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8304 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8305 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8306 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8307 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8308 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8309 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8310 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8311 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8312 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8313 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8314 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8315 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8316 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8317 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8318 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8319 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8320 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8321 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8322 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8323 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8324 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8325 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8326 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8327 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8328 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8329 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8330 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8331 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8332 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8333 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8334 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8335 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8336 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8337 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8338 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8339 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8340 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8341 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8342 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8343 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8344 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8345 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8346 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8347 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8348 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8349 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8350 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8351 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8352 		.ilen	= 496,
8353 		.result	= "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
8354 			  "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
8355 			  "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
8356 			  "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
8357 			  "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
8358 			  "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
8359 			  "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
8360 			  "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
8361 			  "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
8362 			  "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
8363 			  "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
8364 			  "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
8365 			  "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
8366 			  "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
8367 			  "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
8368 			  "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
8369 			  "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
8370 			  "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
8371 			  "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
8372 			  "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
8373 			  "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
8374 			  "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
8375 			  "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
8376 			  "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
8377 			  "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
8378 			  "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
8379 			  "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
8380 			  "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
8381 			  "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
8382 			  "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
8383 			  "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
8384 			  "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
8385 			  "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
8386 			  "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
8387 			  "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
8388 			  "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
8389 			  "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
8390 			  "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
8391 			  "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
8392 			  "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
8393 			  "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
8394 			  "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
8395 			  "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
8396 			  "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
8397 			  "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
8398 			  "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
8399 			  "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
8400 			  "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
8401 			  "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
8402 			  "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
8403 			  "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
8404 			  "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
8405 			  "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
8406 			  "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
8407 			  "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
8408 			  "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
8409 			  "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
8410 			  "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
8411 			  "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
8412 			  "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
8413 			  "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
8414 			  "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
8415 		.rlen	= 496,
8416 		.also_non_np = 1,
8417 		.np	= 3,
8418 		.tap	= { 496 - 20, 4, 16 },
8419 	},
8420 };
8421 
8422 static const struct cipher_testvec tf_dec_tv_template[] = {
8423 	{
8424 		.key	= zeroed_string,
8425 		.klen	= 16,
8426 		.input	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8427 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8428 		.ilen	= 16,
8429 		.result	= zeroed_string,
8430 		.rlen	= 16,
8431 	}, {
8432 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8433 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8434 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
8435 		.klen	= 24,
8436 		.input	= "\xcf\xd1\xd2\xe5\xa9\xbe\x9c\xdf"
8437 			  "\x50\x1f\x13\xb8\x92\xbd\x22\x48",
8438 		.ilen	= 16,
8439 		.result	= zeroed_string,
8440 		.rlen	= 16,
8441 	}, {
8442 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
8443 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
8444 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
8445 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
8446 		.klen	= 32,
8447 		.input	= "\x37\x52\x7b\xe0\x05\x23\x34\xb8"
8448 			  "\x9f\x0c\xfc\xca\xe8\x7c\xfa\x20",
8449 		.ilen	= 16,
8450 		.result	= zeroed_string,
8451 		.rlen	= 16,
8452 	}, { /* Generated with Crypto++ */
8453 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
8454 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
8455 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
8456 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
8457 		.klen	= 32,
8458 		.input	= "\x88\xCB\x1E\xC2\xAF\x8A\x97\xFF"
8459 			  "\xF6\x90\x46\x9C\x4A\x0F\x08\xDC"
8460 			  "\xDE\xAB\xAD\xFA\xFC\xA8\xC2\x3D"
8461 			  "\xE0\xE4\x8B\x3F\xD5\xA3\xF7\x14"
8462 			  "\x34\x9E\xB6\x08\xB2\xDD\xA8\xF5"
8463 			  "\xDF\xFA\xC7\xE8\x09\x50\x76\x08"
8464 			  "\xA2\xB6\x6A\x59\xC0\x2B\x6D\x05"
8465 			  "\x89\xF6\x82\xF0\xD3\xDB\x06\x02"
8466 			  "\xB5\x11\x5C\x5E\x79\x1A\xAC\x43"
8467 			  "\x5C\xC0\x30\x4B\x6B\x16\xA1\x40"
8468 			  "\x80\x27\x88\xBA\x2C\x74\x42\xE0"
8469 			  "\x1B\xA5\x85\x08\xB9\xE6\x22\x7A"
8470 			  "\x36\x3B\x0D\x9F\xA0\x22\x6C\x2A"
8471 			  "\x91\x75\x47\xBC\x67\x21\x4E\xF9"
8472 			  "\xEA\xFF\xD9\xD5\xC0\xFC\x9E\x2C"
8473 			  "\x3E\xAD\xC6\x61\x0E\x93\x7A\x22"
8474 			  "\x09\xC8\x8D\xC1\x8E\xB4\x8B\x5C"
8475 			  "\xC6\x24\x42\xB8\x23\x66\x80\xA9"
8476 			  "\x32\x0B\x7A\x29\xBF\xB3\x0B\x63"
8477 			  "\x43\x27\x13\xA9\xBE\xEB\xBD\xF3"
8478 			  "\x33\x62\x70\xE2\x1B\x86\x7A\xA1"
8479 			  "\x51\x4A\x16\xFE\x29\x63\x7E\xD0"
8480 			  "\x7A\xA4\x6E\x2C\xF8\xC1\xDB\xE8"
8481 			  "\xCB\x4D\xD2\x8C\x04\x14\xB4\x66"
8482 			  "\x41\xB7\x3A\x96\x16\x7C\x1D\x5B"
8483 			  "\xB6\x41\x42\x64\x43\xEE\x6E\x7C"
8484 			  "\x8B\xAF\x01\x9C\xA4\x6E\x75\x8F"
8485 			  "\xDE\x10\x9F\xA6\xE7\xD6\x44\x97"
8486 			  "\x66\xA3\x96\x0F\x1C\x25\x60\xF5"
8487 			  "\x3C\x2E\x32\x69\x0E\x82\xFF\x27"
8488 			  "\x0F\xB5\x06\xDA\xD8\x31\x15\x6C"
8489 			  "\xDF\x18\x6C\x87\xF5\x3B\x11\x9A"
8490 			  "\x1B\x42\x1F\x5B\x29\x19\x96\x13"
8491 			  "\x68\x2E\x5E\x08\x1C\x8F\x32\x4B"
8492 			  "\x81\x77\x6D\xF4\xA0\x01\x42\xEC"
8493 			  "\xDD\x5B\xFD\x3A\x8E\x6A\x14\xFB"
8494 			  "\x83\x54\xDF\x0F\x86\xB7\xEA\x40"
8495 			  "\x46\x39\xF7\x2A\x89\x8D\x4E\x96"
8496 			  "\x5F\x5F\x6D\x76\xC6\x13\x9D\x3D"
8497 			  "\x1D\x5F\x0C\x7D\xE2\xBC\xC2\x16"
8498 			  "\x16\xBE\x89\x3E\xB0\x61\xA2\x5D"
8499 			  "\xAF\xD1\x40\x5F\x1A\xB8\x26\x41"
8500 			  "\xC6\xBD\x36\xEF\xED\x29\x50\x6D"
8501 			  "\x10\xEF\x26\xE8\xA8\x93\x11\x3F"
8502 			  "\x2D\x1F\x88\x20\x77\x45\xF5\x66"
8503 			  "\x08\xB9\xF1\xEF\xB1\x93\xA8\x81"
8504 			  "\x65\xC5\xCD\x3E\x8C\x06\x60\x2C"
8505 			  "\xB2\x10\x7A\xCA\x05\x25\x59\xDB"
8506 			  "\xC7\x28\xF5\x20\x35\x52\x9E\x62"
8507 			  "\xF8\x88\x24\x1C\x4D\x84\x12\x39"
8508 			  "\x39\xE4\x2E\xF4\xD4\x9D\x2B\xBC"
8509 			  "\x87\x66\xE6\xC0\x6B\x31\x9A\x66"
8510 			  "\x03\xDC\x95\xD8\x6B\xD0\x30\x8F"
8511 			  "\xDF\x8F\x8D\xFA\xEC\x1F\x08\xBD"
8512 			  "\xA3\x63\xE2\x71\x4F\x03\x94\x87"
8513 			  "\x50\xDF\x15\x1F\xED\x3A\xA3\x7F"
8514 			  "\x1F\x2A\xB5\xA1\x69\xAC\x4B\x0D"
8515 			  "\x84\x9B\x2A\xE9\x55\xDD\x46\x91"
8516 			  "\x15\x33\xF3\x2B\x9B\x46\x97\x00"
8517 			  "\xF0\x29\xD8\x59\x5D\x33\x37\xF9"
8518 			  "\x58\x33\x9B\x78\xC7\x58\x48\x6B"
8519 			  "\x2C\x75\x64\xC4\xCA\xC1\x7E\xD5",
8520 		.ilen	= 496,
8521 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8522 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8523 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8524 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8525 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8526 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8527 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8528 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8529 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8530 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8531 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8532 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8533 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8534 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8535 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8536 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8537 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8538 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8539 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8540 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8541 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8542 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8543 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8544 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8545 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8546 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8547 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8548 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8549 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8550 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8551 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8552 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8553 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8554 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8555 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8556 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8557 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8558 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8559 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8560 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8561 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8562 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8563 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8564 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8565 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8566 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8567 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8568 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8569 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8570 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8571 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8572 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8573 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8574 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8575 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8576 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8577 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8578 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8579 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8580 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8581 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8582 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8583 		.rlen	= 496,
8584 		.also_non_np = 1,
8585 		.np	= 3,
8586 		.tap	= { 496 - 20, 4, 16 },
8587 	},
8588 };
8589 
8590 static const struct cipher_testvec tf_cbc_enc_tv_template[] = {
8591 	{ /* Generated with Nettle */
8592 		.key	= zeroed_string,
8593 		.klen	= 16,
8594 		.iv	= zeroed_string,
8595 		.input	= zeroed_string,
8596 		.ilen	= 16,
8597 		.result	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8598 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8599 		.rlen	= 16,
8600 	}, {
8601 		.key	= zeroed_string,
8602 		.klen	= 16,
8603 		.iv	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8604 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8605 		.input	= zeroed_string,
8606 		.ilen	= 16,
8607 		.result	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8608 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8609 		.rlen	= 16,
8610 	}, {
8611 		.key	= zeroed_string,
8612 		.klen	= 16,
8613 		.iv	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8614 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8615 		.input	= zeroed_string,
8616 		.ilen	= 16,
8617 		.result	= "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8618 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8619 		.rlen	= 16,
8620 	}, {
8621 		.key	= zeroed_string,
8622 		.klen	= 16,
8623 		.iv	= zeroed_string,
8624 		.input	= zeroed_string,
8625 		.ilen	= 48,
8626 		.result	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8627 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
8628 			  "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8629 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
8630 			  "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8631 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8632 		.rlen	= 48,
8633 	}, { /* Generated with Crypto++ */
8634 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8635 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8636 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8637 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8638 		.klen	= 32,
8639 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8640 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8641 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8642 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8643 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8644 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8645 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8646 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8647 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8648 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8649 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8650 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8651 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8652 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8653 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8654 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8655 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8656 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8657 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8658 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8659 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8660 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8661 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8662 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8663 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8664 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8665 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8666 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8667 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8668 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8669 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8670 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8671 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8672 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8673 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8674 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8675 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8676 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8677 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8678 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8679 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8680 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8681 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8682 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8683 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8684 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8685 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8686 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8687 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8688 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8689 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8690 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8691 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8692 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8693 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8694 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8695 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8696 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8697 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8698 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8699 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8700 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8701 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8702 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8703 		.ilen	= 496,
8704 		.result	= "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
8705 			  "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
8706 			  "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
8707 			  "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
8708 			  "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
8709 			  "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
8710 			  "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
8711 			  "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
8712 			  "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
8713 			  "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
8714 			  "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
8715 			  "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
8716 			  "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
8717 			  "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
8718 			  "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
8719 			  "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
8720 			  "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
8721 			  "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
8722 			  "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
8723 			  "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
8724 			  "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
8725 			  "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
8726 			  "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
8727 			  "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
8728 			  "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
8729 			  "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
8730 			  "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
8731 			  "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
8732 			  "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
8733 			  "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
8734 			  "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
8735 			  "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
8736 			  "\x75\x42\x62\x04\x31\x1F\x95\x7C"
8737 			  "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
8738 			  "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
8739 			  "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
8740 			  "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
8741 			  "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
8742 			  "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
8743 			  "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
8744 			  "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
8745 			  "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
8746 			  "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
8747 			  "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
8748 			  "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
8749 			  "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
8750 			  "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
8751 			  "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
8752 			  "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
8753 			  "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
8754 			  "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
8755 			  "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
8756 			  "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
8757 			  "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
8758 			  "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
8759 			  "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
8760 			  "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
8761 			  "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
8762 			  "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
8763 			  "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
8764 			  "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
8765 			  "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
8766 		.rlen	= 496,
8767 		.also_non_np = 1,
8768 		.np	= 3,
8769 		.tap	= { 496 - 20, 4, 16 },
8770 	},
8771 };
8772 
8773 static const struct cipher_testvec tf_cbc_dec_tv_template[] = {
8774 	{ /* Reverse of the first four above */
8775 		.key	= zeroed_string,
8776 		.klen	= 16,
8777 		.iv	= zeroed_string,
8778 		.input	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8779 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8780 		.ilen	= 16,
8781 		.result	= zeroed_string,
8782 		.rlen	= 16,
8783 	}, {
8784 		.key	= zeroed_string,
8785 		.klen	= 16,
8786 		.iv	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8787 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a",
8788 		.input	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8789 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8790 		.ilen	= 16,
8791 		.result	= zeroed_string,
8792 		.rlen	= 16,
8793 	}, {
8794 		.key	= zeroed_string,
8795 		.klen	= 16,
8796 		.iv	= "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8797 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19",
8798 		.input	= "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8799 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8800 		.ilen	= 16,
8801 		.result	= zeroed_string,
8802 		.rlen	= 16,
8803 	}, {
8804 		.key	= zeroed_string,
8805 		.klen	= 16,
8806 		.iv	= zeroed_string,
8807 		.input	= "\x9f\x58\x9f\x5c\xf6\x12\x2c\x32"
8808 			  "\xb6\xbf\xec\x2f\x2a\xe8\xc3\x5a"
8809 			  "\xd4\x91\xdb\x16\xe7\xb1\xc3\x9e"
8810 			  "\x86\xcb\x08\x6b\x78\x9f\x54\x19"
8811 			  "\x05\xef\x8c\x61\xa8\x11\x58\x26"
8812 			  "\x34\xba\x5c\xb7\x10\x6a\xa6\x41",
8813 		.ilen	= 48,
8814 		.result	= zeroed_string,
8815 		.rlen	= 48,
8816 	}, { /* Generated with Crypto++ */
8817 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8818 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8819 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8820 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8821 		.klen	= 32,
8822 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8823 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8824 		.input	= "\xC8\xFF\xF2\x53\xA6\x27\x09\xD1"
8825 			  "\x33\x38\xC2\xC0\x0C\x14\x7E\xB5"
8826 			  "\x26\x1B\x05\x0C\x05\x12\x3F\xC0"
8827 			  "\xF9\x1C\x02\x28\x40\x96\x6F\xD0"
8828 			  "\x3D\x32\xDF\xDA\x56\x00\x6E\xEE"
8829 			  "\x5B\x2A\x72\x9D\xC2\x4D\x19\xBC"
8830 			  "\x8C\x53\xFA\x87\x6F\xDD\x81\xA3"
8831 			  "\xB1\xD3\x44\x65\xDF\xE7\x63\x38"
8832 			  "\x4A\xFC\xDC\xEC\x3F\x26\x8E\xB8"
8833 			  "\x43\xFC\xFE\x18\xB5\x11\x6D\x31"
8834 			  "\x81\x8B\x0D\x75\xF6\x80\xEC\x84"
8835 			  "\x04\xB9\xE6\x09\x63\xED\x39\xDB"
8836 			  "\xC3\xF6\x14\xD6\x6E\x5E\x8B\xBD"
8837 			  "\x3E\xFA\xD7\x98\x50\x6F\xD9\x63"
8838 			  "\x02\xCD\x0D\x39\x4B\x0D\xEC\x80"
8839 			  "\xE3\x6A\x17\xF4\xCC\xAD\xFF\x68"
8840 			  "\x45\xDD\xC8\x83\x1D\x41\x96\x0D"
8841 			  "\x91\x2E\x05\xD3\x59\x82\xE0\x43"
8842 			  "\x90\x4F\xB9\xF7\xAD\x6B\x2E\xAF"
8843 			  "\xA7\x84\x00\x53\xCD\x6F\xD1\x0C"
8844 			  "\x4E\xF9\x5A\x23\xFB\xCA\xC7\xD3"
8845 			  "\xA9\xAA\x9D\xB2\x3F\x66\xF1\xAC"
8846 			  "\x25\x21\x8F\xF7\xEF\xF2\x6A\xDF"
8847 			  "\xE8\xDA\x75\x1A\x8A\xF1\xDD\x38"
8848 			  "\x1F\xF9\x3D\x68\x4A\xBB\x9E\x34"
8849 			  "\x1F\x66\x1F\x9C\x2B\x54\xFF\x60"
8850 			  "\x7F\x29\x4B\x55\x80\x8F\x4E\xA7"
8851 			  "\xA6\x9A\x0A\xD9\x0D\x19\x00\xF8"
8852 			  "\x1F\xBC\x0C\x40\x6B\xEC\x99\x25"
8853 			  "\x94\x70\x74\x0E\x1D\xC5\xBC\x12"
8854 			  "\xF3\x42\xBE\x95\xBF\xFB\x4E\x55"
8855 			  "\x9A\xB9\xCE\x14\x16\x5B\xDC\xD3"
8856 			  "\x75\x42\x62\x04\x31\x1F\x95\x7C"
8857 			  "\x66\x1A\x97\xDC\x2F\x40\x5C\x39"
8858 			  "\x78\xE6\x02\xDB\x49\xE1\xC6\x47"
8859 			  "\xC2\x78\x9A\xBB\xF3\xBE\xCB\x93"
8860 			  "\xD8\xB8\xE8\xBB\x8C\xB3\x9B\xA7"
8861 			  "\xC2\x89\xF3\x91\x88\x83\x3D\xF0"
8862 			  "\x29\xA2\xCD\xB5\x79\x16\xC2\x40"
8863 			  "\x11\x03\x8E\x9C\xFD\xC9\x43\xC4"
8864 			  "\xC2\x19\xF0\x4A\x32\xEF\x0C\x2B"
8865 			  "\xD3\x2B\xE9\xD4\x4C\xDE\x95\xCF"
8866 			  "\x04\x03\xD3\x2C\x7F\x82\xC8\xFA"
8867 			  "\x0F\xD8\x7A\x39\x7B\x01\x41\x9C"
8868 			  "\x78\xB6\xC9\xBF\xF9\x78\x57\x88"
8869 			  "\xB1\xA5\xE1\xE0\xD9\x16\xD4\xC8"
8870 			  "\xEE\xC4\xBE\x7B\x55\x59\x00\x48"
8871 			  "\x1B\xBC\x14\xFA\x2A\x9D\xC9\x1C"
8872 			  "\xFB\x28\x3F\x95\xDD\xB7\xD6\xCE"
8873 			  "\x3A\x7F\x09\x0C\x0E\x69\x30\x7D"
8874 			  "\xBC\x68\x9C\x91\x2A\x59\x57\x04"
8875 			  "\xED\x1A\x1E\x00\xB1\x85\x92\x04"
8876 			  "\x28\x8C\x0C\x3C\xC1\xD5\x12\xF7"
8877 			  "\x4C\x3E\xB0\xE7\x86\x62\x68\x91"
8878 			  "\xFC\xC4\xE2\xCE\xA6\xDC\x5E\x93"
8879 			  "\x5D\x8D\x8C\x68\xB3\xB2\xB9\x64"
8880 			  "\x16\xB8\xC8\x6F\xD8\xEE\x21\xBD"
8881 			  "\xAC\x18\x0C\x7D\x0D\x05\xAB\xF1"
8882 			  "\xFA\xDD\xE2\x48\xDF\x4C\x02\x39"
8883 			  "\x69\xA1\x62\xBD\x49\x3A\x9D\x91"
8884 			  "\x30\x70\x56\xA4\x37\xDD\x7C\xC0"
8885 			  "\x0A\xA3\x30\x10\x26\x25\x41\x2C",
8886 		.ilen	= 496,
8887 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8888 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8889 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8890 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8891 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8892 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8893 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8894 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8895 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8896 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8897 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8898 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8899 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8900 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8901 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8902 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8903 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8904 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8905 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8906 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8907 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8908 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8909 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8910 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8911 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8912 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8913 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8914 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8915 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8916 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8917 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8918 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8919 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8920 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8921 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
8922 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
8923 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
8924 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
8925 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
8926 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
8927 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
8928 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
8929 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
8930 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
8931 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
8932 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
8933 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
8934 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
8935 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
8936 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
8937 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
8938 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
8939 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
8940 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
8941 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
8942 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
8943 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
8944 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
8945 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
8946 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
8947 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
8948 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
8949 		.rlen	= 496,
8950 		.also_non_np = 1,
8951 		.np	= 3,
8952 		.tap	= { 496 - 20, 4, 16 },
8953 	},
8954 };
8955 
8956 static const struct cipher_testvec tf_ctr_enc_tv_template[] = {
8957 	{ /* Generated with Crypto++ */
8958 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
8959 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
8960 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
8961 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
8962 		.klen	= 32,
8963 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
8964 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
8965 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
8966 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
8967 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
8968 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
8969 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
8970 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
8971 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
8972 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
8973 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
8974 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
8975 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
8976 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
8977 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
8978 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
8979 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
8980 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
8981 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
8982 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
8983 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
8984 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
8985 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
8986 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
8987 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
8988 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
8989 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
8990 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
8991 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
8992 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
8993 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
8994 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
8995 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
8996 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
8997 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
8998 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
8999 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9000 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9001 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9002 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9003 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9004 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9005 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9006 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9007 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9008 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9009 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9010 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9011 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9012 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9013 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9014 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9015 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9016 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9017 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9018 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9019 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9020 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9021 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9022 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9023 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9024 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9025 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9026 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9027 		.ilen	= 496,
9028 		.result	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9029 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9030 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9031 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9032 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9033 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9034 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9035 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9036 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9037 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9038 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9039 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9040 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9041 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9042 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9043 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9044 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9045 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9046 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9047 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9048 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9049 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9050 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9051 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9052 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9053 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9054 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9055 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9056 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9057 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9058 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9059 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9060 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9061 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9062 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9063 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9064 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9065 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9066 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9067 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9068 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9069 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9070 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9071 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9072 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9073 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9074 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9075 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9076 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9077 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9078 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9079 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9080 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9081 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9082 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9083 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9084 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9085 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9086 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9087 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9088 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9089 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
9090 		.rlen	= 496,
9091 	}, { /* Generated with Crypto++ */
9092 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9093 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9094 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9095 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9096 		.klen	= 32,
9097 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
9098 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9099 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9100 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9101 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9102 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9103 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9104 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9105 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9106 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9107 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9108 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9109 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9110 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9111 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9112 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9113 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9114 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9115 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9116 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9117 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9118 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9119 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9120 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9121 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9122 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9123 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9124 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9125 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9126 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9127 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9128 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9129 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9130 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9131 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9132 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9133 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9134 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9135 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9136 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9137 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9138 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9139 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9140 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9141 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9142 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9143 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9144 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9145 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9146 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9147 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9148 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9149 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9150 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9151 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9152 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9153 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9154 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9155 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9156 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9157 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9158 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9159 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9160 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9161 		.ilen	= 496,
9162 		.result	= "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
9163 			  "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
9164 			  "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
9165 			  "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
9166 			  "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
9167 			  "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
9168 			  "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
9169 			  "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
9170 			  "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
9171 			  "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
9172 			  "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
9173 			  "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
9174 			  "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
9175 			  "\x39\x18\x09\xA4\x82\x59\x78\xE7"
9176 			  "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
9177 			  "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
9178 			  "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
9179 			  "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
9180 			  "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
9181 			  "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
9182 			  "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
9183 			  "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
9184 			  "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
9185 			  "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
9186 			  "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
9187 			  "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
9188 			  "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
9189 			  "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
9190 			  "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
9191 			  "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
9192 			  "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
9193 			  "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
9194 			  "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
9195 			  "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
9196 			  "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
9197 			  "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
9198 			  "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
9199 			  "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
9200 			  "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
9201 			  "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
9202 			  "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
9203 			  "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
9204 			  "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
9205 			  "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
9206 			  "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
9207 			  "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
9208 			  "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
9209 			  "\xDE\x55\x1B\x50\x14\x53\x44\x17"
9210 			  "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
9211 			  "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
9212 			  "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
9213 			  "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
9214 			  "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
9215 			  "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
9216 			  "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
9217 			  "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
9218 			  "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
9219 			  "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
9220 			  "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
9221 			  "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
9222 			  "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
9223 			  "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
9224 		.rlen	= 496,
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	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9234 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9235 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9236 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9237 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9238 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9239 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9240 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9241 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9242 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9243 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9244 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9245 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9246 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9247 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9248 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9249 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9250 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9251 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9252 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9253 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9254 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9255 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9256 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9257 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9258 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9259 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9260 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9261 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9262 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9263 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9264 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9265 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9266 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9267 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9268 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9269 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9270 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9271 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9272 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9273 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9274 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9275 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9276 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9277 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9278 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9279 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9280 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9281 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9282 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9283 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9284 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9285 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9286 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9287 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9288 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9289 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9290 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9291 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9292 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9293 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9294 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9295 			  "\x2B\xC2\x59",
9296 		.ilen	= 499,
9297 		.result	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9298 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9299 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9300 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9301 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9302 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9303 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9304 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9305 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9306 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9307 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9308 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9309 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9310 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9311 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9312 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9313 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9314 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9315 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9316 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9317 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9318 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9319 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9320 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9321 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9322 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9323 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9324 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9325 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9326 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9327 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9328 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9329 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9330 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9331 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9332 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9333 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9334 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9335 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9336 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9337 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9338 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9339 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9340 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9341 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9342 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9343 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9344 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9345 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9346 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9347 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9348 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9349 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9350 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9351 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9352 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9353 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9354 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9355 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9356 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9357 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9358 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
9359 			  "\x6C\x82\x9D",
9360 		.rlen	= 499,
9361 		.also_non_np = 1,
9362 		.np	= 2,
9363 		.tap	= { 499 - 16, 16 },
9364 	},
9365 };
9366 
9367 static const struct cipher_testvec tf_ctr_dec_tv_template[] = {
9368 	{ /* Generated with Crypto++ */
9369 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9370 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9371 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9372 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9373 		.klen	= 32,
9374 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9375 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9376 		.input	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9377 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9378 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9379 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9380 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9381 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9382 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9383 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9384 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9385 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9386 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9387 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9388 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9389 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9390 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9391 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9392 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9393 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9394 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9395 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9396 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9397 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9398 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9399 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9400 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9401 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9402 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9403 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9404 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9405 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9406 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9407 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9408 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9409 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9410 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9411 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9412 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9413 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9414 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9415 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9416 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9417 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9418 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9419 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9420 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9421 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9422 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9423 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9424 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9425 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9426 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9427 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9428 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9429 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9430 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9431 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9432 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9433 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9434 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9435 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9436 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9437 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF",
9438 		.ilen	= 496,
9439 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9440 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9441 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9442 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9443 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9444 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9445 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9446 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9447 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9448 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9449 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9450 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9451 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9452 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9453 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9454 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9455 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9456 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9457 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9458 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9459 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9460 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9461 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9462 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9463 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9464 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9465 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9466 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9467 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9468 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9469 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9470 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9471 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9472 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9473 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9474 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9475 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9476 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9477 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9478 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9479 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9480 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9481 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9482 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9483 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9484 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9485 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9486 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9487 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9488 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9489 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9490 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9491 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9492 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9493 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9494 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9495 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9496 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9497 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9498 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9499 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9500 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9501 		.rlen	= 496,
9502 	}, { /* Generated with Crypto++ */
9503 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9504 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9505 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9506 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9507 		.klen	= 32,
9508 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
9509 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
9510 		.input	= "\xEB\x44\xAF\x49\x27\xB8\xFB\x44"
9511 			  "\x4C\xA6\xC3\x0C\x8B\xD0\x01\x0C"
9512 			  "\x53\xC8\x16\x38\xDE\x40\x4F\x91"
9513 			  "\x25\x6D\x4C\xA0\x9A\x87\x1E\xDA"
9514 			  "\x88\x7E\x89\xE9\x67\x2B\x83\xA2"
9515 			  "\x5F\x2E\x23\x3E\x45\xB9\x77\x7B"
9516 			  "\xA6\x7E\x47\x36\x81\x9F\x9B\xF3"
9517 			  "\xE0\xF0\xD7\x47\xA9\xC8\xEF\x33"
9518 			  "\x0C\x43\xFE\x67\x50\x0A\x2C\x3E"
9519 			  "\xA0\xE1\x25\x8E\x80\x07\x4A\xC0"
9520 			  "\x64\x89\x9F\x6A\x27\x96\x07\xA6"
9521 			  "\x9B\xC8\x1B\x21\x60\xAE\x5D\x01"
9522 			  "\xE2\xCD\xC8\xAA\x6C\x9D\x1C\x34"
9523 			  "\x39\x18\x09\xA4\x82\x59\x78\xE7"
9524 			  "\xFC\x59\x65\xF2\x94\xFF\xFB\xE2"
9525 			  "\x3C\xDA\xB1\x90\x95\xBF\x91\xE3"
9526 			  "\xE6\x87\x31\x9E\x16\x85\xAD\xB1"
9527 			  "\x4C\xAE\x43\x4D\x19\x58\xB5\x5E"
9528 			  "\x2E\xF5\x09\xAA\x39\xF4\xC0\xB3"
9529 			  "\xD4\x4D\xDB\x73\x7A\xD4\xF1\xBF"
9530 			  "\x89\x16\x4D\x2D\xA2\x26\x33\x72"
9531 			  "\x18\x33\x7E\xD6\xD2\x16\xA4\x54"
9532 			  "\xF4\x8C\xB3\x52\xDF\x21\x9C\xEB"
9533 			  "\xBF\x49\xD3\xF9\x05\x06\xCB\xD2"
9534 			  "\xA9\xD2\x3B\x6E\x19\x8C\xBC\x19"
9535 			  "\xAB\x89\xD6\xD8\xCD\x56\x89\x5E"
9536 			  "\xAC\x00\xE3\x50\x63\x4A\x80\x9A"
9537 			  "\x05\xBC\x50\x39\xD3\x32\xD9\x0D"
9538 			  "\xE3\x20\x0D\x75\x54\xEC\xE6\x31"
9539 			  "\x14\xB9\x3A\x59\x00\x43\x37\x8E"
9540 			  "\x8C\x5A\x79\x62\x14\x76\x8A\xAE"
9541 			  "\x8F\xCC\xA1\x6C\x38\x78\xDD\x2D"
9542 			  "\x8B\x6D\xEA\xBD\x7B\x25\xFF\x60"
9543 			  "\xC9\x87\xB1\x79\x1E\xA5\x86\x68"
9544 			  "\x81\xB4\xE2\xC1\x05\x7D\x3A\x73"
9545 			  "\xD0\xDA\x75\x77\x9E\x05\x27\xF1"
9546 			  "\x08\xA9\x66\x64\x6C\xBC\x82\x17"
9547 			  "\x2C\x23\x5F\x62\x4D\x02\x1A\x58"
9548 			  "\xE7\xB7\x23\x6D\xE2\x20\xDA\xEF"
9549 			  "\xB4\xB3\x3F\xB2\x2B\x69\x98\x83"
9550 			  "\x95\x87\x13\x57\x60\xD7\xB5\xB1"
9551 			  "\xEE\x0A\x2F\x95\x36\x4C\x76\x5D"
9552 			  "\x5F\xD9\x19\xED\xB9\xA5\x48\xBF"
9553 			  "\xC8\xAB\x0F\x71\xCC\x61\x8E\x0A"
9554 			  "\xD0\x29\x44\xA8\xB9\xC1\xE8\xC8"
9555 			  "\xC9\xA8\x28\x81\xFB\x50\xF2\xF0"
9556 			  "\x26\xAE\x39\xB8\x91\xCD\xA8\xAC"
9557 			  "\xDE\x55\x1B\x50\x14\x53\x44\x17"
9558 			  "\x54\x46\xFC\xB1\xE4\x07\x6B\x9A"
9559 			  "\x01\x14\xF0\x2E\x2E\xDB\x46\x1B"
9560 			  "\x1A\x09\x97\xA9\xB6\x97\x79\x06"
9561 			  "\xFB\xCB\x85\xCF\xDD\xA1\x41\xB1"
9562 			  "\x00\xAA\xF7\xE0\x89\x73\xFB\xE5"
9563 			  "\xBF\x84\xDB\xC9\xCD\xC4\xA2\x0D"
9564 			  "\x3B\xAC\xF9\xDF\x96\xBF\x88\x23"
9565 			  "\x41\x67\xA1\x24\x99\x7E\xCC\x9B"
9566 			  "\x02\x8F\x6A\x49\xF6\x25\xBA\x7A"
9567 			  "\xF4\x78\xFD\x79\x62\x63\x4F\x14"
9568 			  "\xD6\x11\x11\x04\x05\x5F\x7E\xEA"
9569 			  "\x4C\xB6\xF8\xF4\x5F\x48\x52\x54"
9570 			  "\x94\x63\xA8\x4E\xCF\xD2\x1B\x1B"
9571 			  "\x22\x18\x6A\xAF\x6E\x3E\xE1\x0D",
9572 		.ilen	= 496,
9573 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9574 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9575 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9576 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9577 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9578 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9579 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9580 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9581 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9582 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9583 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9584 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9585 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9586 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9587 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9588 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9589 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9590 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9591 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9592 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9593 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9594 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9595 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9596 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9597 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9598 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9599 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9600 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9601 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9602 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9603 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9604 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9605 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9606 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9607 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9608 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9609 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9610 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9611 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9612 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9613 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9614 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9615 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9616 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9617 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9618 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9619 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9620 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9621 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9622 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9623 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9624 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9625 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9626 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9627 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9628 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9629 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9630 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9631 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9632 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9633 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9634 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
9635 		.rlen	= 496,
9636 	}, { /* Generated with Crypto++ */
9637 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
9638 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
9639 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
9640 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
9641 		.klen	= 32,
9642 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
9643 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
9644 		.input	= "\xDF\xDD\x69\xFA\xB0\x2E\xFD\xFE"
9645 			  "\x70\x9E\xC5\x4B\xC9\xD4\xA1\x30"
9646 			  "\x26\x9B\x89\xA1\xEE\x43\xE0\x52"
9647 			  "\x55\x17\x4E\xC7\x0E\x33\x1F\xF1"
9648 			  "\x9F\x8D\x40\x9F\x24\xFD\x92\xA0"
9649 			  "\xBC\x8F\x35\xDD\x67\x38\xD8\xAA"
9650 			  "\xCF\xF8\x48\xCA\xFB\xE4\x5C\x60"
9651 			  "\x01\x41\x21\x12\x38\xAB\x52\x4F"
9652 			  "\xA8\x57\x20\xE0\x21\x6A\x17\x0D"
9653 			  "\x0E\xF9\x8E\x49\x42\x00\x3C\x94"
9654 			  "\x14\xC0\xD0\x8D\x8A\x98\xEB\x29"
9655 			  "\xEC\xAE\x96\x44\xC0\x3C\x48\xDC"
9656 			  "\x29\x35\x25\x2F\xE7\x11\x6C\x68"
9657 			  "\xC8\x67\x0A\x2F\xF4\x07\xBE\xF9"
9658 			  "\x2C\x31\x87\x40\xAB\xB2\xB6\xFA"
9659 			  "\xD2\xC9\x6D\x5C\x50\xE9\xE6\x7E"
9660 			  "\xE3\x0A\xD2\xD5\x6D\x8D\x64\x9E"
9661 			  "\x70\xCE\x03\x76\xDD\xE0\xF0\x8C"
9662 			  "\x84\x86\x8B\x6A\xFE\xC7\xF9\x69"
9663 			  "\x2E\xFE\xFC\xC2\xC4\x1A\x55\x58"
9664 			  "\xB3\xBE\xE2\x7E\xED\x39\x42\x6C"
9665 			  "\xB4\x42\x97\x9A\xEC\xE1\x0A\x06"
9666 			  "\x02\xC5\x03\x9D\xC4\x48\x15\x66"
9667 			  "\x35\x6A\xC2\xC9\xA2\x26\x30\xBB"
9668 			  "\xDB\x2D\xC8\x08\x2B\xA0\x29\x1A"
9669 			  "\x23\x61\x48\xEA\x80\x04\x27\xAA"
9670 			  "\x69\x49\xE8\xE8\x4A\x83\x6B\x5A"
9671 			  "\xCA\x7C\xD3\xB1\xB5\x0B\xCC\x23"
9672 			  "\x74\x1F\xA9\x87\xCD\xED\xC0\x2D"
9673 			  "\xBF\xEB\xCF\x16\x2D\x2A\x2E\x1D"
9674 			  "\x96\xBA\x36\x11\x45\x41\xDA\xCE"
9675 			  "\xA4\x48\x80\x8B\x06\xF4\x98\x89"
9676 			  "\x8B\x23\x08\x53\xF4\xD4\x5A\x24"
9677 			  "\x8B\xF8\x43\x73\xD1\xEE\xC4\xB0"
9678 			  "\xF8\xFE\x09\x0C\x75\x05\x38\x0B"
9679 			  "\x7C\x81\xDE\x9D\xE4\x61\x37\x63"
9680 			  "\x63\xAD\x12\xD2\x04\xB9\xCE\x45"
9681 			  "\x5A\x1A\x6E\xB3\x78\x2A\xA4\x74"
9682 			  "\x86\xD0\xE3\xFF\xDA\x38\x9C\xB5"
9683 			  "\xB8\xB1\xDB\x38\x2F\xC5\x6A\xB4"
9684 			  "\xEB\x6E\x96\xE8\x43\x80\xB5\x51"
9685 			  "\x61\x2D\x48\xAA\x07\x65\x11\x8C"
9686 			  "\x48\xE3\x90\x7E\x78\x3A\xEC\x97"
9687 			  "\x05\x3D\x84\xE7\x90\x2B\xAA\xBD"
9688 			  "\x83\x29\x0E\x1A\x81\x73\x7B\xE0"
9689 			  "\x7A\x01\x4A\x37\x3B\x77\x7F\x8D"
9690 			  "\x49\xA4\x2F\x6E\xBE\x68\x99\x08"
9691 			  "\x99\xAA\x4C\x12\x04\xAE\x1F\x77"
9692 			  "\x35\x88\xF1\x65\x06\x0A\x0B\x4D"
9693 			  "\x47\xF9\x50\x38\x5D\x71\xF9\x6E"
9694 			  "\xDE\xEC\x61\x35\x2C\x4C\x96\x50"
9695 			  "\xE8\x28\x93\x9C\x7E\x01\xC6\x04"
9696 			  "\xB2\xD6\xBC\x6C\x17\xEB\xC1\x7D"
9697 			  "\x11\xE9\x43\x83\x76\xAA\x53\x37"
9698 			  "\x0C\x1D\x39\x89\x53\x72\x09\x7E"
9699 			  "\xD9\x85\x16\x04\xA5\x2C\x05\x6F"
9700 			  "\x17\x0C\x6E\x66\xAA\x84\xA7\xD9"
9701 			  "\xE2\xD9\xC4\xEB\x43\x3E\xB1\x8D"
9702 			  "\x7C\x36\xC7\x71\x70\x9C\x10\xD8"
9703 			  "\xE8\x47\x2A\x4D\xFD\xA1\xBC\xE3"
9704 			  "\xB9\x32\xE2\xC1\x82\xAC\xFE\xCC"
9705 			  "\xC5\xC9\x7F\x9E\xCF\x33\x7A\xDF"
9706 			  "\x6C\x82\x9D",
9707 		.ilen	= 499,
9708 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
9709 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
9710 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
9711 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
9712 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
9713 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
9714 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
9715 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
9716 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
9717 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
9718 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
9719 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
9720 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
9721 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
9722 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
9723 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
9724 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
9725 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
9726 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
9727 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
9728 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
9729 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
9730 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
9731 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
9732 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
9733 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
9734 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
9735 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
9736 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
9737 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
9738 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
9739 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
9740 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
9741 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
9742 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
9743 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
9744 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
9745 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
9746 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
9747 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
9748 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
9749 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
9750 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
9751 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
9752 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
9753 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
9754 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
9755 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
9756 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
9757 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
9758 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
9759 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
9760 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
9761 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
9762 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
9763 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
9764 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
9765 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
9766 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
9767 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
9768 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
9769 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
9770 			  "\x2B\xC2\x59",
9771 		.rlen	= 499,
9772 		.also_non_np = 1,
9773 		.np	= 2,
9774 		.tap	= { 499 - 16, 16 },
9775 	},
9776 };
9777 
9778 static const struct cipher_testvec tf_lrw_enc_tv_template[] = {
9779 	/* Generated from AES-LRW test vectors */
9780 	{
9781 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
9782 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
9783 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
9784 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
9785 		.klen	= 32,
9786 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9787 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9788 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9789 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9790 		.ilen	= 16,
9791 		.result	= "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
9792 			  "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
9793 		.rlen	= 16,
9794 	}, {
9795 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
9796 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
9797 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
9798 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
9799 		.klen	= 32,
9800 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9801 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
9802 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9803 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9804 		.ilen	= 16,
9805 		.result	= "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
9806 			  "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
9807 		.rlen	= 16,
9808 	}, {
9809 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
9810 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
9811 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
9812 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
9813 		.klen	= 32,
9814 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9815 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9816 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9817 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9818 		.ilen	= 16,
9819 		.result	= "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
9820 			  "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
9821 		.rlen	= 16,
9822 	}, {
9823 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
9824 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
9825 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
9826 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
9827 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
9828 		.klen	= 40,
9829 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9830 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9831 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9832 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9833 		.ilen	= 16,
9834 		.result	= "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
9835 			  "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
9836 		.rlen	= 16,
9837 	}, {
9838 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
9839 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
9840 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
9841 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
9842 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
9843 		.klen	= 40,
9844 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9845 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9846 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9847 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9848 		.ilen	= 16,
9849 		.result	= "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
9850 			  "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
9851 		.rlen	= 16,
9852 	}, {
9853 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9854 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9855 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9856 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9857 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9858 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9859 		.klen	= 48,
9860 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9861 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9862 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9863 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9864 		.ilen	= 16,
9865 		.result	= "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
9866 			  "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
9867 		.rlen	= 16,
9868 	}, {
9869 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
9870 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
9871 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
9872 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
9873 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
9874 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
9875 		.klen	= 48,
9876 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9877 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
9878 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
9879 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
9880 		.ilen	= 16,
9881 		.result	= "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
9882 			  "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
9883 		.rlen	= 16,
9884 	}, {
9885 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
9886 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
9887 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
9888 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
9889 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
9890 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
9891 		.klen	= 48,
9892 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
9893 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
9894 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
9895 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
9896 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
9897 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
9898 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
9899 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
9900 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
9901 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
9902 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
9903 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
9904 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
9905 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
9906 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
9907 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
9908 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
9909 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
9910 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
9911 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
9912 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
9913 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
9914 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
9915 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
9916 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
9917 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
9918 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
9919 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
9920 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
9921 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
9922 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
9923 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
9924 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
9925 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
9926 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
9927 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
9928 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
9929 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
9930 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
9931 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
9932 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
9933 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
9934 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
9935 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
9936 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
9937 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
9938 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
9939 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
9940 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
9941 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
9942 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
9943 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
9944 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
9945 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
9946 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
9947 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
9948 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
9949 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
9950 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
9951 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
9952 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
9953 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
9954 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
9955 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
9956 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
9957 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
9958 		.ilen	= 512,
9959 		.result	= "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
9960 			  "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
9961 			  "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
9962 			  "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
9963 			  "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
9964 			  "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
9965 			  "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
9966 			  "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
9967 			  "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
9968 			  "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
9969 			  "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
9970 			  "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
9971 			  "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
9972 			  "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
9973 			  "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
9974 			  "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
9975 			  "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
9976 			  "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
9977 			  "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
9978 			  "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
9979 			  "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
9980 			  "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
9981 			  "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
9982 			  "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
9983 			  "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
9984 			  "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
9985 			  "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
9986 			  "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
9987 			  "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
9988 			  "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
9989 			  "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
9990 			  "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
9991 			  "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
9992 			  "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
9993 			  "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
9994 			  "\x3e\xae\x71\x90\x07\x70\x1c\x38"
9995 			  "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
9996 			  "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
9997 			  "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
9998 			  "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
9999 			  "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
10000 			  "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
10001 			  "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
10002 			  "\x93\x51\x1d\x3d\x62\x59\x83\x82"
10003 			  "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
10004 			  "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
10005 			  "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
10006 			  "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
10007 			  "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
10008 			  "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
10009 			  "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
10010 			  "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
10011 			  "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
10012 			  "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
10013 			  "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
10014 			  "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
10015 			  "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
10016 			  "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
10017 			  "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
10018 			  "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
10019 			  "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
10020 			  "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
10021 			  "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
10022 			  "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
10023 		.rlen	= 512,
10024 		.also_non_np = 1,
10025 		.np	= 3,
10026 		.tap	= { 512 - 20, 4, 16 },
10027 	},
10028 };
10029 
10030 static const struct cipher_testvec tf_lrw_dec_tv_template[] = {
10031 	/* Generated from AES-LRW test vectors */
10032 	/* same as enc vectors with input and result reversed */
10033 	{
10034 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
10035 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
10036 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
10037 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
10038 		.klen	= 32,
10039 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10040 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10041 		.input	= "\xa1\x6c\x50\x69\x26\xa4\xef\x7b"
10042 			  "\x7c\xc6\x91\xeb\x72\xdd\x9b\xee",
10043 		.ilen	= 16,
10044 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10045 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10046 		.rlen	= 16,
10047 	}, {
10048 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
10049 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
10050 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
10051 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
10052 		.klen	= 32,
10053 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10054 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
10055 		.input	= "\xab\x72\x0a\xad\x3b\x0c\xf0\xc9"
10056 			  "\x42\x2f\xf1\xae\xf1\x3c\xb1\xbd",
10057 		.ilen	= 16,
10058 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10059 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10060 		.rlen	= 16,
10061 	}, {
10062 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
10063 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
10064 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
10065 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
10066 		.klen	= 32,
10067 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10068 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
10069 		.input	= "\x85\xa7\x56\x67\x08\xfa\x42\xe1"
10070 			  "\x22\xe6\x82\xfc\xd9\xb4\xd7\xd4",
10071 		.ilen	= 16,
10072 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10073 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10074 		.rlen	= 16,
10075 	}, {
10076 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
10077 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
10078 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
10079 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
10080 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
10081 		.klen	= 40,
10082 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10083 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10084 		.input	= "\xd2\xaf\x69\x35\x24\x1d\x0e\x1c"
10085 			  "\x84\x8b\x05\xe4\xa2\x2f\x16\xf5",
10086 		.ilen	= 16,
10087 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10088 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10089 		.rlen	= 16,
10090 	}, {
10091 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
10092 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
10093 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
10094 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
10095 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
10096 		.klen	= 40,
10097 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10098 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
10099 		.input	= "\x4a\x23\x56\xd7\xff\x90\xd0\x9a"
10100 			  "\x0d\x7c\x26\xfc\xf0\xf0\xf6\xe4",
10101 		.ilen	= 16,
10102 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10103 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10104 		.rlen	= 16,
10105 	}, {
10106 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10107 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10108 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10109 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10110 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10111 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10112 		.klen	= 48,
10113 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10114 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10115 		.input	= "\x30\xaf\x26\x05\x9d\x5d\x0a\x58"
10116 			  "\xe2\xe7\xce\x8a\xb2\x56\x6d\x76",
10117 		.ilen	= 16,
10118 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10119 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10120 		.rlen	= 16,
10121 	}, {
10122 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
10123 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
10124 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
10125 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
10126 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
10127 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
10128 		.klen	= 48,
10129 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10130 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
10131 		.input	= "\xdf\xcf\xdc\xd2\xe1\xcf\x86\x75"
10132 			  "\x17\x66\x5e\x0c\x14\xa1\x3d\x40",
10133 		.ilen	= 16,
10134 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
10135 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
10136 		.rlen	= 16,
10137 	}, {
10138 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
10139 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
10140 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
10141 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
10142 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
10143 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
10144 		.klen	= 48,
10145 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10146 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
10147 		.input	= "\x30\x38\xeb\xaf\x12\x43\x1a\x89"
10148 			  "\x62\xa2\x36\xe5\xcf\x77\x1e\xd9"
10149 			  "\x08\xc3\x0d\xdd\x95\xab\x19\x96"
10150 			  "\x27\x52\x41\xc3\xca\xfb\xf6\xee"
10151 			  "\x40\x2d\xdf\xdd\x00\x0c\xb9\x0a"
10152 			  "\x3a\xf0\xc0\xd1\xda\x63\x9e\x45"
10153 			  "\x42\xe9\x29\xc0\xb4\x07\xb4\x31"
10154 			  "\x66\x77\x72\xb5\xb6\xb3\x57\x46"
10155 			  "\x34\x9a\xfe\x03\xaf\x6b\x36\x07"
10156 			  "\x63\x8e\xc2\x5d\xa6\x0f\xb6\x7d"
10157 			  "\xfb\x6d\x82\x51\xb6\x98\xd0\x71"
10158 			  "\xe7\x10\x7a\xdf\xb2\xbd\xf1\x1d"
10159 			  "\x72\x2b\x54\x13\xe3\x6d\x79\x37"
10160 			  "\xa9\x39\x2c\xdf\x21\xab\x87\xd5"
10161 			  "\xee\xef\x9a\x12\x50\x39\x2e\x1b"
10162 			  "\x7d\xe6\x6a\x27\x48\xb9\xe7\xac"
10163 			  "\xaa\xcd\x79\x5f\xf2\xf3\xa0\x08"
10164 			  "\x6f\x2c\xf4\x0e\xd1\xb8\x89\x25"
10165 			  "\x31\x9d\xef\xb1\x1d\x27\x55\x04"
10166 			  "\xc9\x8c\xb7\x68\xdc\xb6\x67\x8a"
10167 			  "\xdb\xcf\x22\xf2\x3b\x6f\xce\xbb"
10168 			  "\x26\xbe\x4f\x27\x04\x42\xd1\x44"
10169 			  "\x4c\x08\xa3\x95\x4c\x7f\x1a\xaf"
10170 			  "\x1d\x28\x14\xfd\xb1\x1a\x34\x18"
10171 			  "\xf5\x1e\x28\x69\x95\x6a\x5a\xba"
10172 			  "\x8e\xb2\x58\x1d\x28\x17\x13\x3d"
10173 			  "\x38\x7d\x14\x8d\xab\x5d\xf9\xe8"
10174 			  "\x3c\x0f\x2b\x0d\x2b\x08\xb4\x4b"
10175 			  "\x6b\x0d\xc8\xa7\x84\xc2\x3a\x1a"
10176 			  "\xb7\xbd\xda\x92\x29\xb8\x5b\x5a"
10177 			  "\x63\xa5\x99\x82\x09\x72\x8f\xc6"
10178 			  "\xa4\x62\x24\x69\x8c\x2d\x26\x00"
10179 			  "\x99\x83\x91\xd6\xc6\xcf\x57\x67"
10180 			  "\x38\xea\xf2\xfc\x29\xe0\x73\x39"
10181 			  "\xf9\x13\x94\x6d\xe2\x58\x28\x75"
10182 			  "\x3e\xae\x71\x90\x07\x70\x1c\x38"
10183 			  "\x5b\x4c\x1e\xb5\xa5\x3b\x20\xef"
10184 			  "\xb1\x4c\x3e\x1a\x72\x62\xbb\x22"
10185 			  "\x82\x09\xe3\x18\x3f\x4f\x48\xfc"
10186 			  "\xdd\xac\xfc\xb6\x09\xdb\xd2\x7b"
10187 			  "\xd6\xb7\x7e\x41\x2f\x14\xf5\x0e"
10188 			  "\xc3\xac\x4a\xed\xe7\x82\xef\x31"
10189 			  "\x1f\x1a\x51\x1e\x29\x60\xc8\x98"
10190 			  "\x93\x51\x1d\x3d\x62\x59\x83\x82"
10191 			  "\x0c\xf1\xd7\x8d\xac\x33\x44\x81"
10192 			  "\x3c\x59\xb7\xd4\x5b\x65\x82\xc4"
10193 			  "\xec\xdc\x24\xfd\x0e\x1a\x79\x94"
10194 			  "\x34\xb0\x62\xfa\x98\x49\x26\x1f"
10195 			  "\xf4\x9e\x40\x44\x5b\x1f\xf8\xbe"
10196 			  "\x36\xff\xc6\xc6\x9d\xf2\xd6\xcc"
10197 			  "\x63\x93\x29\xb9\x0b\x6d\xd7\x6c"
10198 			  "\xdb\xf6\x21\x80\xf7\x5a\x37\x15"
10199 			  "\x0c\xe3\x36\xc8\x74\x75\x20\x91"
10200 			  "\xdf\x52\x2d\x0c\xe7\x45\xff\x46"
10201 			  "\xb3\xf4\xec\xc2\xbd\xd3\x37\xb6"
10202 			  "\x26\xa2\x5d\x7d\x61\xbf\x10\x46"
10203 			  "\x57\x8d\x05\x96\x70\x0b\xd6\x41"
10204 			  "\x5c\xe9\xd3\x54\x81\x39\x3a\xdd"
10205 			  "\x5f\x92\x81\x6e\x35\x03\xd4\x72"
10206 			  "\x3d\x5a\xe7\xb9\x3b\x0c\x84\x23"
10207 			  "\x45\x5d\xec\x72\xc1\x52\xef\x2e"
10208 			  "\x81\x00\xd3\xfe\x4c\x3c\x05\x61"
10209 			  "\x80\x18\xc4\x6c\x03\xd3\xb7\xba"
10210 			  "\x11\xd7\xb8\x6e\xea\xe1\x80\x30",
10211 		.ilen	= 512,
10212 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
10213 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
10214 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
10215 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
10216 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
10217 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
10218 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
10219 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
10220 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
10221 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
10222 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
10223 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
10224 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
10225 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
10226 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
10227 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
10228 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
10229 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
10230 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
10231 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
10232 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
10233 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
10234 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
10235 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
10236 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
10237 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
10238 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
10239 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
10240 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
10241 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
10242 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
10243 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
10244 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
10245 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
10246 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
10247 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
10248 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
10249 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
10250 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
10251 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
10252 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
10253 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
10254 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
10255 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
10256 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
10257 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
10258 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
10259 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
10260 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
10261 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
10262 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
10263 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
10264 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
10265 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
10266 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
10267 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
10268 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
10269 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
10270 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
10271 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
10272 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
10273 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
10274 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
10275 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
10276 		.rlen	= 512,
10277 		.also_non_np = 1,
10278 		.np	= 3,
10279 		.tap	= { 512 - 20, 4, 16 },
10280 	},
10281 };
10282 
10283 static const struct cipher_testvec tf_xts_enc_tv_template[] = {
10284 	/* Generated from AES-XTS test vectors */
10285 {
10286 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10287 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10288 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10289 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10290 		.klen	= 32,
10291 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10292 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10293 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10294 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10295 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10296 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10297 		.ilen	= 32,
10298 		.result	= "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
10299 			  "\x30\x74\xe4\x44\x52\x77\x97\x43"
10300 			  "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
10301 			  "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
10302 		.rlen	= 32,
10303 	}, {
10304 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
10305 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
10306 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10307 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10308 		.klen	= 32,
10309 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10310 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10311 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10312 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10313 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10314 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10315 		.ilen	= 32,
10316 		.result	= "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
10317 			  "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
10318 			  "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
10319 			  "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
10320 		.rlen	= 32,
10321 	}, {
10322 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
10323 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
10324 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10325 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10326 		.klen	= 32,
10327 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10328 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10329 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10330 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10331 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10332 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10333 		.ilen	= 32,
10334 		.result	= "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
10335 			  "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
10336 			  "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
10337 			  "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
10338 		.rlen	= 32,
10339 	}, {
10340 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10341 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10342 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10343 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
10344 		.klen	= 32,
10345 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10346 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10347 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10348 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10349 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10350 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10351 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10352 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10353 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10354 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10355 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10356 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10357 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10358 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10359 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10360 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10361 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10362 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10363 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10364 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10365 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10366 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10367 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10368 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10369 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10370 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10371 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10372 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10373 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10374 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10375 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10376 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10377 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10378 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10379 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10380 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10381 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10382 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10383 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10384 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10385 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10386 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10387 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10388 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10389 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10390 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10391 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10392 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10393 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10394 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10395 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10396 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10397 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10398 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10399 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10400 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10401 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10402 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10403 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10404 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10405 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10406 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10407 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10408 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10409 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10410 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10411 		.ilen	= 512,
10412 		.result	= "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
10413 			  "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
10414 			  "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
10415 			  "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
10416 			  "\xea\x35\x35\x8c\xb2\x46\x61\x06"
10417 			  "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
10418 			  "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
10419 			  "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
10420 			  "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
10421 			  "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
10422 			  "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
10423 			  "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
10424 			  "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
10425 			  "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
10426 			  "\x01\x73\x68\x32\x25\x19\xfa\xfb"
10427 			  "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
10428 			  "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
10429 			  "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
10430 			  "\x39\x80\x39\x09\x97\x65\xf2\x83"
10431 			  "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
10432 			  "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
10433 			  "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
10434 			  "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
10435 			  "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
10436 			  "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
10437 			  "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
10438 			  "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
10439 			  "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
10440 			  "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
10441 			  "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
10442 			  "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
10443 			  "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
10444 			  "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
10445 			  "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
10446 			  "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
10447 			  "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
10448 			  "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
10449 			  "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
10450 			  "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
10451 			  "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
10452 			  "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
10453 			  "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
10454 			  "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
10455 			  "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
10456 			  "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
10457 			  "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
10458 			  "\x04\x39\x73\x32\xb2\x86\x79\xe7"
10459 			  "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
10460 			  "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
10461 			  "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
10462 			  "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
10463 			  "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
10464 			  "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
10465 			  "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
10466 			  "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
10467 			  "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
10468 			  "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
10469 			  "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
10470 			  "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
10471 			  "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
10472 			  "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
10473 			  "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
10474 			  "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
10475 			  "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
10476 		.rlen	= 512,
10477 	}, {
10478 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10479 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10480 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
10481 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
10482 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10483 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
10484 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
10485 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
10486 		.klen	= 64,
10487 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
10488 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10489 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10490 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10491 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10492 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10493 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10494 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10495 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10496 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10497 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10498 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10499 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10500 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10501 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10502 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10503 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10504 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10505 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10506 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10507 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10508 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10509 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10510 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10511 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10512 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10513 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10514 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10515 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10516 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10517 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10518 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10519 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10520 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10521 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10522 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10523 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10524 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10525 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10526 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10527 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10528 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10529 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10530 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10531 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10532 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10533 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10534 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10535 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10536 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10537 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10538 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10539 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10540 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10541 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10542 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10543 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10544 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10545 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10546 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10547 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10548 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10549 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10550 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10551 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10552 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10553 		.ilen	= 512,
10554 		.result	= "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
10555 			  "\x35\x39\x71\x88\x76\x1e\xc9\xea"
10556 			  "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
10557 			  "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
10558 			  "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
10559 			  "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
10560 			  "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
10561 			  "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
10562 			  "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
10563 			  "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
10564 			  "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
10565 			  "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
10566 			  "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
10567 			  "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
10568 			  "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
10569 			  "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
10570 			  "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
10571 			  "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
10572 			  "\x69\x35\x61\x86\xf8\x86\xb9\x89"
10573 			  "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
10574 			  "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
10575 			  "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
10576 			  "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
10577 			  "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
10578 			  "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
10579 			  "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
10580 			  "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
10581 			  "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
10582 			  "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
10583 			  "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
10584 			  "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
10585 			  "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
10586 			  "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
10587 			  "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
10588 			  "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
10589 			  "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
10590 			  "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
10591 			  "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
10592 			  "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
10593 			  "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
10594 			  "\xad\x12\x32\x31\x03\xf7\x21\xbe"
10595 			  "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
10596 			  "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
10597 			  "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
10598 			  "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
10599 			  "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
10600 			  "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
10601 			  "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
10602 			  "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
10603 			  "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
10604 			  "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
10605 			  "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
10606 			  "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
10607 			  "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
10608 			  "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
10609 			  "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
10610 			  "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
10611 			  "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
10612 			  "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
10613 			  "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
10614 			  "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
10615 			  "\xf3\xea\x67\x52\x78\xc2\xce\x70"
10616 			  "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
10617 			  "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
10618 		.rlen	= 512,
10619 		.also_non_np = 1,
10620 		.np	= 3,
10621 		.tap	= { 512 - 20, 4, 16 },
10622 	},
10623 };
10624 
10625 static const struct cipher_testvec tf_xts_dec_tv_template[] = {
10626 	/* Generated from AES-XTS test vectors */
10627 	/* same as enc vectors with input and result reversed */
10628 	{
10629 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10630 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10631 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10632 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10633 		.klen	= 32,
10634 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10635 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10636 		.input	= "\x4b\xc9\x44\x4a\x11\xa3\xef\xac"
10637 			  "\x30\x74\xe4\x44\x52\x77\x97\x43"
10638 			  "\xa7\x60\xb2\x45\x2e\xf9\x00\x90"
10639 			  "\x9f\xaa\xfd\x89\x6e\x9d\x4a\xe0",
10640 		.ilen	= 32,
10641 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10642 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10643 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
10644 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10645 		.rlen	= 32,
10646 	}, {
10647 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
10648 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
10649 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10650 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10651 		.klen	= 32,
10652 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10653 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10654 		.input	= "\x57\x0e\x8f\xe5\x2a\x35\x61\x4f"
10655 			  "\x32\xd3\xbd\x36\x05\x15\x44\x2c"
10656 			  "\x58\x06\xf7\xf8\x00\xa8\xb6\xd5"
10657 			  "\xc6\x28\x92\xdb\xd8\x34\xa2\xe9",
10658 		.ilen	= 32,
10659 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10660 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10661 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10662 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10663 		.rlen	= 32,
10664 	}, {
10665 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
10666 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
10667 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
10668 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
10669 		.klen	= 32,
10670 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
10671 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10672 		.input	= "\x96\x45\x8f\x8d\x7a\x75\xb1\xde"
10673 			  "\x40\x0c\x89\x56\xf6\x4d\xa7\x07"
10674 			  "\x38\xbb\x5b\xe9\xcd\x84\xae\xb2"
10675 			  "\x7b\x6a\x62\xf4\x8c\xb5\x37\xea",
10676 		.ilen	= 32,
10677 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
10678 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10679 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
10680 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
10681 		.rlen	= 32,
10682 	}, {
10683 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10684 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10685 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10686 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
10687 		.klen	= 32,
10688 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
10689 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10690 		.input	= "\xa9\x78\xae\x1e\xea\xa2\x44\x4c"
10691 			  "\xa2\x7a\x64\x1f\xaf\x46\xc1\xe0"
10692 			  "\x6c\xb2\xf3\x92\x9a\xd6\x7d\x58"
10693 			  "\xb8\x2d\xb9\x5d\x58\x07\x66\x50"
10694 			  "\xea\x35\x35\x8c\xb2\x46\x61\x06"
10695 			  "\x5d\x65\xfc\x57\x8f\x69\x74\xab"
10696 			  "\x8a\x06\x69\xb5\x6c\xda\x66\xc7"
10697 			  "\x52\x90\xbb\x8e\x6d\x8b\xb5\xa2"
10698 			  "\x78\x1d\xc2\xa9\xc2\x73\x00\xc3"
10699 			  "\x32\x36\x7c\x97\x6b\x4e\x8a\x50"
10700 			  "\xe4\x91\x83\x96\x8f\xf4\x94\x1a"
10701 			  "\xa6\x27\xe1\x33\xcb\x91\xc6\x5f"
10702 			  "\x94\x75\xbc\xd7\x3e\x3e\x6f\x9e"
10703 			  "\xa9\x31\x80\x5e\xe5\xdb\xc8\x53"
10704 			  "\x01\x73\x68\x32\x25\x19\xfa\xfb"
10705 			  "\xe4\xcf\xb9\x3e\xa2\xa0\x8f\x31"
10706 			  "\xbf\x54\x06\x93\xa8\xb1\x0f\xb6"
10707 			  "\x7c\x3c\xde\x6f\x0f\xfb\x0c\x11"
10708 			  "\x39\x80\x39\x09\x97\x65\xf2\x83"
10709 			  "\xae\xe6\xa1\x6f\x47\xb8\x49\xde"
10710 			  "\x99\x36\x20\x7d\x97\x3b\xec\xfa"
10711 			  "\xb4\x33\x6e\x7a\xc7\x46\x84\x49"
10712 			  "\x91\xcd\xe1\x57\x0d\xed\x40\x08"
10713 			  "\x13\xf1\x4e\x3e\xa4\xa4\x5c\xe6"
10714 			  "\xd2\x0c\x20\x8f\x3e\xdf\x3f\x47"
10715 			  "\x9a\x2f\xde\x6d\x66\xc9\x99\x4a"
10716 			  "\x2d\x9e\x9d\x4b\x1a\x27\xa2\x12"
10717 			  "\x99\xf0\xf8\xb1\xb6\xf6\x57\xc3"
10718 			  "\xca\x1c\xa3\x8e\xed\x39\x28\xb5"
10719 			  "\x10\x1b\x4b\x08\x42\x00\x4a\xd3"
10720 			  "\xad\x5a\xc6\x8e\xc8\xbb\x95\xc4"
10721 			  "\x4b\xaa\xfe\xd5\x42\xa8\xa3\x6d"
10722 			  "\x3c\xf3\x34\x91\x2d\xb4\xdd\x20"
10723 			  "\x0c\x90\x6d\xa3\x9b\x66\x9d\x24"
10724 			  "\x02\xa6\xa9\x3f\x3f\x58\x5d\x47"
10725 			  "\x24\x65\x63\x7e\xbd\x8c\xe6\x52"
10726 			  "\x7d\xef\x33\x53\x63\xec\xaa\x0b"
10727 			  "\x64\x15\xa9\xa6\x1f\x10\x00\x38"
10728 			  "\x35\xa8\xe7\xbe\x23\x70\x22\xe0"
10729 			  "\xd3\xb9\xe6\xfd\xe6\xaa\x03\x50"
10730 			  "\xf3\x3c\x27\x36\x8b\xcc\xfe\x9c"
10731 			  "\x9c\xa3\xb3\xe7\x68\x9b\xa2\x71"
10732 			  "\xe0\x07\xd9\x1f\x68\x1f\xac\x5e"
10733 			  "\x7a\x74\x85\xa9\x6a\x90\xab\x2c"
10734 			  "\x38\x51\xbc\x1f\x43\x4a\x56\x1c"
10735 			  "\xf8\x47\x03\x4e\x67\xa8\x1f\x99"
10736 			  "\x04\x39\x73\x32\xb2\x86\x79\xe7"
10737 			  "\x14\x28\x70\xb8\xe2\x7d\x69\x85"
10738 			  "\xb6\x0f\xc5\xd0\xd0\x01\x5c\xe6"
10739 			  "\x09\x0f\x75\xf7\xb6\x81\xd2\x11"
10740 			  "\x20\x9c\xa1\xee\x11\x44\x79\xd0"
10741 			  "\xb2\x34\x77\xda\x10\x9a\x6f\x6f"
10742 			  "\xef\x7c\xd9\xdc\x35\xb7\x61\xdd"
10743 			  "\xf1\xa4\xc6\x1c\xbf\x05\x22\xac"
10744 			  "\xfe\x2f\x85\x00\x44\xdf\x33\x16"
10745 			  "\x35\xb6\xa3\xd3\x70\xdf\x69\x35"
10746 			  "\x6a\xc7\xb4\x99\x45\x27\xc8\x8e"
10747 			  "\x5a\x14\x30\xd0\x55\x3e\x4f\x64"
10748 			  "\x0d\x38\xe3\xdf\x8b\xa8\x93\x26"
10749 			  "\x75\xae\xf6\xb5\x23\x0b\x17\x31"
10750 			  "\xbf\x27\xb8\xb5\x94\x31\xa7\x8f"
10751 			  "\x43\xc4\x46\x24\x22\x4f\x8f\x7e"
10752 			  "\xe5\xf4\x6d\x1e\x0e\x18\x7a\xbb"
10753 			  "\xa6\x8f\xfb\x49\x49\xd8\x7e\x5a",
10754 		.ilen	= 512,
10755 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10756 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10757 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10758 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10759 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10760 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10761 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10762 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10763 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10764 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10765 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10766 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10767 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10768 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10769 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10770 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10771 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10772 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10773 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10774 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10775 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10776 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10777 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10778 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10779 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10780 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10781 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10782 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10783 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10784 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10785 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10786 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10787 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10788 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10789 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10790 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10791 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10792 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10793 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10794 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10795 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10796 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10797 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10798 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10799 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10800 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10801 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10802 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10803 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10804 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10805 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10806 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10807 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10808 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10809 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10810 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10811 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10812 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10813 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10814 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10815 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10816 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10817 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10818 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10819 		.rlen	= 512,
10820 	}, {
10821 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
10822 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
10823 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
10824 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
10825 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
10826 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
10827 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
10828 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
10829 		.klen	= 64,
10830 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
10831 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
10832 		.input	= "\xd7\x4b\x93\x7d\x13\xa2\xa2\xe1"
10833 			  "\x35\x39\x71\x88\x76\x1e\xc9\xea"
10834 			  "\x86\xad\xf3\x14\x48\x3d\x5e\xe9"
10835 			  "\xe9\x2d\xb2\x56\x59\x35\x9d\xec"
10836 			  "\x84\xfa\x7e\x9d\x6d\x33\x36\x8f"
10837 			  "\xce\xf4\xa9\x21\x0b\x5f\x96\xec"
10838 			  "\xcb\xf9\x57\x68\x33\x88\x39\xbf"
10839 			  "\x2f\xbb\x59\x03\xbd\x66\x8b\x11"
10840 			  "\x11\x65\x51\x2e\xb8\x67\x05\xd1"
10841 			  "\x27\x11\x5c\xd4\xcc\x97\xc2\xb3"
10842 			  "\xa9\x55\xaf\x07\x56\xd1\xdc\xf5"
10843 			  "\x85\xdc\x46\xe6\xf0\x24\xeb\x93"
10844 			  "\x4d\xf0\x9b\xf5\x73\x1c\xda\x03"
10845 			  "\x22\xc8\x3a\x4f\xb4\x19\x91\x09"
10846 			  "\x54\x0b\xf6\xfe\x17\x3d\x1a\x53"
10847 			  "\x72\x60\x79\xcb\x0e\x32\x8a\x77"
10848 			  "\xd5\xed\xdb\x33\xd7\x62\x16\x69"
10849 			  "\x63\xe0\xab\xb5\xf6\x9c\x5f\x3d"
10850 			  "\x69\x35\x61\x86\xf8\x86\xb9\x89"
10851 			  "\x6e\x59\x35\xac\xf6\x6b\x33\xa0"
10852 			  "\xea\xef\x96\x62\xd8\xa9\xcf\x56"
10853 			  "\xbf\xdb\x8a\xfd\xa1\x82\x77\x73"
10854 			  "\x3d\x94\x4a\x49\x42\x6d\x08\x60"
10855 			  "\xa1\xea\xab\xb6\x88\x13\x94\xb8"
10856 			  "\x51\x98\xdb\x35\x85\xdf\xf6\xb9"
10857 			  "\x8f\xcd\xdf\x80\xd3\x40\x2d\x72"
10858 			  "\xb8\xb2\x6c\x02\x43\x35\x22\x2a"
10859 			  "\x31\xed\xcd\x16\x19\xdf\x62\x0f"
10860 			  "\x29\xcf\x87\x04\xec\x02\x4f\xe4"
10861 			  "\xa2\xed\x73\xc6\x69\xd3\x7e\x89"
10862 			  "\x0b\x76\x10\x7c\xd6\xf9\x6a\x25"
10863 			  "\xed\xcc\x60\x5d\x61\x20\xc1\x97"
10864 			  "\x56\x91\x57\x28\xbe\x71\x0d\xcd"
10865 			  "\xde\xc4\x9e\x55\x91\xbe\xd1\x28"
10866 			  "\x9b\x90\xeb\x73\xf3\x68\x51\xc6"
10867 			  "\xdf\x82\xcc\xd8\x1f\xce\x5b\x27"
10868 			  "\xc0\x60\x5e\x33\xd6\xa7\x20\xea"
10869 			  "\xb2\x54\xc7\x5d\x6a\x3b\x67\x47"
10870 			  "\xcf\xa0\xe3\xab\x86\xaf\xc1\x42"
10871 			  "\xe6\xb0\x23\x4a\xaf\x53\xdf\xa0"
10872 			  "\xad\x12\x32\x31\x03\xf7\x21\xbe"
10873 			  "\x2d\xd5\x82\x42\xb6\x4a\x3d\xcd"
10874 			  "\xd8\x81\x77\xa9\x49\x98\x6c\x09"
10875 			  "\xc5\xa3\x61\x12\x62\x85\x6b\xcd"
10876 			  "\xb3\xf4\x20\x0c\x41\xc4\x05\x37"
10877 			  "\x46\x5f\xeb\x71\x8b\xf1\xaf\x6e"
10878 			  "\xba\xf3\x50\x2e\xfe\xa8\x37\xeb"
10879 			  "\xe8\x8c\x4f\xa4\x0c\xf1\x31\xc8"
10880 			  "\x6e\x71\x4f\xa5\xd7\x97\x73\xe0"
10881 			  "\x93\x4a\x2f\xda\x7b\xe0\x20\x54"
10882 			  "\x1f\x8d\x85\x79\x0b\x7b\x5e\x75"
10883 			  "\xb9\x07\x67\xcc\xc8\xe7\x21\x15"
10884 			  "\xa7\xc8\x98\xff\x4b\x80\x1c\x12"
10885 			  "\xa8\x54\xe1\x38\x52\xe6\x74\x81"
10886 			  "\x97\x47\xa1\x41\x0e\xc0\x50\xe3"
10887 			  "\x55\x0e\xc3\xa7\x70\x77\xce\x07"
10888 			  "\xed\x8c\x88\xe6\xa1\x5b\x14\xec"
10889 			  "\xe6\xde\x06\x6d\x74\xc5\xd9\xfa"
10890 			  "\xe5\x2f\x5a\xff\xc8\x05\xee\x27"
10891 			  "\x35\x61\xbf\x0b\x19\x78\x9b\xd2"
10892 			  "\x04\xc7\x05\xb1\x79\xb4\xff\x5f"
10893 			  "\xf3\xea\x67\x52\x78\xc2\xce\x70"
10894 			  "\xa4\x05\x0b\xb2\xb3\xa8\x30\x97"
10895 			  "\x37\x30\xe1\x91\x8d\xb3\x2a\xff",
10896 		.ilen	= 512,
10897 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10898 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10899 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10900 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10901 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10902 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10903 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10904 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10905 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10906 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10907 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10908 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10909 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10910 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10911 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10912 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10913 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10914 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10915 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10916 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10917 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10918 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10919 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10920 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10921 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10922 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10923 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10924 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10925 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10926 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10927 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10928 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
10929 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
10930 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10931 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10932 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
10933 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
10934 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
10935 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
10936 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
10937 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
10938 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
10939 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
10940 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
10941 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
10942 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
10943 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
10944 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
10945 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
10946 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
10947 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
10948 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
10949 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
10950 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
10951 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
10952 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
10953 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
10954 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
10955 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
10956 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
10957 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
10958 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
10959 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
10960 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
10961 		.rlen	= 512,
10962 		.also_non_np = 1,
10963 		.np	= 3,
10964 		.tap	= { 512 - 20, 4, 16 },
10965 	},
10966 };
10967 
10968 /*
10969  * Serpent test vectors.  These are backwards because Serpent writes
10970  * octet sequences in right-to-left mode.
10971  */
10972 static const struct cipher_testvec serpent_enc_tv_template[] = {
10973 	{
10974 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10975 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10976 		.ilen	= 16,
10977 		.result	= "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
10978 			  "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
10979 		.rlen	= 16,
10980 	}, {
10981 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10982 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10983 		.klen	= 16,
10984 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10985 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10986 		.ilen	= 16,
10987 		.result	= "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
10988 			  "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
10989 		.rlen	= 16,
10990 	}, {
10991 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10992 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
10993 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
10994 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
10995 		.klen	= 32,
10996 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
10997 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
10998 		.ilen	= 16,
10999 		.result	= "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
11000 			  "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
11001 		.rlen	= 16,
11002 	}, {
11003 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11004 		.klen	= 16,
11005 		.input	= zeroed_string,
11006 		.ilen	= 16,
11007 		.result	= "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
11008 			  "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
11009 		.rlen	= 16,
11010 	}, { /* Generated with Crypto++ */
11011 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11012 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11013 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11014 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11015 		.klen	= 32,
11016 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11017 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11018 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11019 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11020 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11021 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11022 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11023 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11024 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11025 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11026 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11027 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11028 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11029 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11030 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11031 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11032 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11033 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11034 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11035 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11036 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11037 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11038 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11039 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11040 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11041 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11042 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11043 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11044 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11045 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11046 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11047 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11048 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11049 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11050 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11051 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11052 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11053 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11054 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11055 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11056 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11057 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11058 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11059 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11060 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11061 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11062 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11063 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11064 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11065 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11066 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11067 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11068 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11069 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11070 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11071 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11072 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11073 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11074 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11075 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11076 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11077 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11078 		.ilen	= 496,
11079 		.result	= "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
11080 			  "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
11081 			  "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
11082 			  "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
11083 			  "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
11084 			  "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
11085 			  "\x99\x34\x89\x5B\x54\xE9\x12\x13"
11086 			  "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
11087 			  "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
11088 			  "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
11089 			  "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
11090 			  "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
11091 			  "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
11092 			  "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
11093 			  "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
11094 			  "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
11095 			  "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
11096 			  "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
11097 			  "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
11098 			  "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
11099 			  "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
11100 			  "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
11101 			  "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
11102 			  "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
11103 			  "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
11104 			  "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
11105 			  "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
11106 			  "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
11107 			  "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
11108 			  "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
11109 			  "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
11110 			  "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
11111 			  "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
11112 			  "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
11113 			  "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
11114 			  "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
11115 			  "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
11116 			  "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
11117 			  "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
11118 			  "\x87\x70\x14\xD0\x01\x57\xCB\x42"
11119 			  "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
11120 			  "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
11121 			  "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
11122 			  "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
11123 			  "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
11124 			  "\x71\x80\x05\x35\x3F\x40\x0B\x21"
11125 			  "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
11126 			  "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
11127 			  "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
11128 			  "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
11129 			  "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
11130 			  "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
11131 			  "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
11132 			  "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
11133 			  "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
11134 			  "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
11135 			  "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
11136 			  "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
11137 			  "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
11138 			  "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
11139 			  "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
11140 			  "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
11141 		.rlen	= 496,
11142 		.also_non_np = 1,
11143 		.np	= 3,
11144 		.tap	= { 496 - 20, 4, 16 },
11145 	},
11146 };
11147 
11148 static const struct cipher_testvec tnepres_enc_tv_template[] = {
11149 	{ /* KeySize=128, PT=0, I=1 */
11150 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11151 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11152 		.key    = "\x80\x00\x00\x00\x00\x00\x00\x00"
11153 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11154 		.klen   = 16,
11155 		.ilen	= 16,
11156 		.result	= "\x49\xaf\xbf\xad\x9d\x5a\x34\x05"
11157 			  "\x2c\xd8\xff\xa5\x98\x6b\xd2\xdd",
11158 		.rlen	= 16,
11159 	}, { /* KeySize=192, PT=0, I=1 */
11160 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
11161 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11162 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11163 		.klen	= 24,
11164 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11165 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11166 		.ilen	= 16,
11167 		.result	= "\xe7\x8e\x54\x02\xc7\x19\x55\x68"
11168 			  "\xac\x36\x78\xf7\xa3\xf6\x0c\x66",
11169 		.rlen	= 16,
11170 	}, { /* KeySize=256, PT=0, I=1 */
11171 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
11172 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11173 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
11174 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11175 		.klen	= 32,
11176 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
11177 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
11178 		.ilen	= 16,
11179 		.result	= "\xab\xed\x96\xe7\x66\xbf\x28\xcb"
11180 			  "\xc0\xeb\xd2\x1a\x82\xef\x08\x19",
11181 		.rlen	= 16,
11182 	}, { /* KeySize=256, I=257 */
11183 		.key	= "\x1f\x1e\x1d\x1c\x1b\x1a\x19\x18"
11184 			  "\x17\x16\x15\x14\x13\x12\x11\x10"
11185 			  "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
11186 			  "\x07\x06\x05\x04\x03\x02\x01\x00",
11187 		.klen	= 32,
11188 		.input	= "\x0f\x0e\x0d\x0c\x0b\x0a\x09\x08"
11189 			  "\x07\x06\x05\x04\x03\x02\x01\x00",
11190 		.ilen	= 16,
11191 		.result	= "\x5c\xe7\x1c\x70\xd2\x88\x2e\x5b"
11192 			  "\xb8\x32\xe4\x33\xf8\x9f\x26\xde",
11193 		.rlen	= 16,
11194 	},
11195 };
11196 
11197 
11198 static const struct cipher_testvec serpent_dec_tv_template[] = {
11199 	{
11200 		.input	= "\x12\x07\xfc\xce\x9b\xd0\xd6\x47"
11201 			  "\x6a\xe9\x8f\xbe\xd1\x43\xa0\xe2",
11202 		.ilen	= 16,
11203 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11204 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11205 		.rlen	= 16,
11206 	}, {
11207 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11208 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11209 		.klen	= 16,
11210 		.input	= "\x4c\x7d\x8a\x32\x80\x72\xa2\x2c"
11211 			  "\x82\x3e\x4a\x1f\x3a\xcd\xa1\x6d",
11212 		.ilen	= 16,
11213 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11214 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11215 		.rlen	= 16,
11216 	}, {
11217 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11218 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11219 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11220 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11221 		.klen	= 32,
11222 		.input	= "\xde\x26\x9f\xf8\x33\xe4\x32\xb8"
11223 			  "\x5b\x2e\x88\xd2\x70\x1c\xe7\x5c",
11224 		.ilen	= 16,
11225 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11226 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11227 		.rlen	= 16,
11228 	}, {
11229 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11230 		.klen	= 16,
11231 		.input	= "\xdd\xd2\x6b\x98\xa5\xff\xd8\x2c"
11232 			  "\x05\x34\x5a\x9d\xad\xbf\xaf\x49",
11233 		.ilen	= 16,
11234 		.result	= zeroed_string,
11235 		.rlen	= 16,
11236 	}, { /* Generated with Crypto++ */
11237 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11238 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11239 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11240 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11241 		.klen	= 32,
11242 		.input	= "\xFB\xB0\x5D\xDE\xC0\xFE\xFC\xEB"
11243 			  "\xB1\x80\x10\x43\xDE\x62\x70\xBD"
11244 			  "\xFA\x8A\x93\xEA\x6B\xF7\xC5\xD7"
11245 			  "\x0C\xD1\xBB\x29\x25\x14\x4C\x22"
11246 			  "\x77\xA6\x38\x00\xDB\xB9\xE2\x07"
11247 			  "\xD1\xAC\x82\xBA\xEA\x67\xAA\x39"
11248 			  "\x99\x34\x89\x5B\x54\xE9\x12\x13"
11249 			  "\x3B\x04\xE5\x12\x42\xC5\x79\xAB"
11250 			  "\x0D\xC7\x3C\x58\x2D\xA3\x98\xF6"
11251 			  "\xE4\x61\x9E\x17\x0B\xCE\xE8\xAA"
11252 			  "\xB5\x6C\x1A\x3A\x67\x52\x81\x6A"
11253 			  "\x04\xFF\x8A\x1B\x96\xFE\xE6\x87"
11254 			  "\x3C\xD4\x39\x7D\x36\x9B\x03\xD5"
11255 			  "\xB6\xA0\x75\x3C\x83\xE6\x1C\x73"
11256 			  "\x9D\x74\x2B\x77\x53\x2D\xE5\xBD"
11257 			  "\x69\xDA\x7A\x01\xF5\x6A\x70\x39"
11258 			  "\x30\xD4\x2C\xF2\x8E\x06\x4B\x39"
11259 			  "\xB3\x12\x1D\xB3\x17\x46\xE6\xD6"
11260 			  "\xB6\x31\x36\x34\x38\x3C\x1D\x69"
11261 			  "\x9F\x47\x28\x9A\x1D\x96\x70\x54"
11262 			  "\x8E\x88\xCB\xE0\xF5\x6A\xAE\x0A"
11263 			  "\x3C\xD5\x93\x1C\x21\xC9\x14\x3A"
11264 			  "\x23\x9C\x9B\x79\xC7\x75\xC8\x39"
11265 			  "\xA6\xAC\x65\x9A\x99\x37\xAF\x6D"
11266 			  "\xBD\xB5\x32\xFD\xD8\x9C\x95\x7B"
11267 			  "\xC6\x6A\x80\x64\xEA\xEF\x6D\x3F"
11268 			  "\xA9\xFE\x5B\x16\xA3\xCF\x32\xC8"
11269 			  "\xEF\x50\x22\x20\x93\x30\xBE\xE2"
11270 			  "\x38\x05\x65\xAF\xBA\xB6\xE4\x72"
11271 			  "\xA9\xEE\x05\x42\x88\xBD\x9D\x49"
11272 			  "\xAD\x93\xCA\x4D\x45\x11\x43\x4D"
11273 			  "\xB8\xF5\x74\x2B\x48\xE7\x21\xE4"
11274 			  "\x4E\x3A\x4C\xDE\x65\x7A\x5A\xAD"
11275 			  "\x86\xE6\x23\xEC\x6B\xA7\x17\xE6"
11276 			  "\xF6\xA1\xAC\x29\xAE\xF9\x9B\x69"
11277 			  "\x73\x65\x65\x51\xD6\x0B\x4E\x8C"
11278 			  "\x17\x15\x9D\xB0\xCF\xB2\x42\x2B"
11279 			  "\x51\xC3\x03\xE8\xB7\x7D\x2D\x39"
11280 			  "\xE8\x10\x93\x16\xC8\x68\x4C\x60"
11281 			  "\x87\x70\x14\xD0\x01\x57\xCB\x42"
11282 			  "\x13\x59\xB1\x7F\x12\x4F\xBB\xC7"
11283 			  "\xBD\x2B\xD4\xA9\x12\x26\x4F\xDE"
11284 			  "\xFD\x72\xEC\xD7\x6F\x97\x14\x90"
11285 			  "\x0E\x37\x13\xE6\x67\x1D\xE5\xFE"
11286 			  "\x9E\x18\x3C\x8F\x3A\x3F\x59\x9B"
11287 			  "\x71\x80\x05\x35\x3F\x40\x0B\x21"
11288 			  "\x76\xE5\xEF\x42\x6C\xDB\x31\x05"
11289 			  "\x5F\x05\xCF\x14\xE3\xF0\x61\xA2"
11290 			  "\x49\x03\x5E\x77\x2E\x20\xBA\xA1"
11291 			  "\xAF\x46\x51\xC0\x2B\xC4\x64\x1E"
11292 			  "\x65\xCC\x51\x58\x0A\xDF\xF0\x5F"
11293 			  "\x75\x9F\x48\xCD\x81\xEC\xC3\xF6"
11294 			  "\xED\xC9\x4B\x7B\x4E\x26\x23\xE1"
11295 			  "\xBB\xE9\x83\x0B\xCF\xE4\xDE\x00"
11296 			  "\x48\xFF\xBF\x6C\xB4\x72\x16\xEF"
11297 			  "\xC7\x46\xEE\x48\x8C\xB8\xAF\x45"
11298 			  "\x91\x76\xE7\x6E\x65\x3D\x15\x86"
11299 			  "\x10\xF8\xDB\x66\x97\x7C\x43\x4D"
11300 			  "\x79\x12\x4E\xCE\x06\xD1\xD1\x6A"
11301 			  "\x34\xC1\xC9\xF2\x28\x4A\xCD\x02"
11302 			  "\x75\x55\x9B\xFF\x36\x73\xAB\x7C"
11303 			  "\xF4\x46\x2E\xEB\xAC\xF3\xD2\xB7",
11304 		.ilen	= 496,
11305 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11306 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11307 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11308 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11309 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11310 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11311 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11312 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11313 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11314 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11315 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11316 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11317 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11318 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11319 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11320 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11321 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11322 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11323 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11324 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11325 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11326 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11327 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11328 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11329 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11330 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11331 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11332 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11333 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11334 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11335 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11336 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11337 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11338 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11339 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11340 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11341 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11342 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11343 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11344 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11345 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11346 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11347 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11348 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11349 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11350 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11351 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11352 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11353 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11354 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11355 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11356 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11357 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11358 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11359 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11360 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11361 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11362 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11363 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11364 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11365 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11366 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11367 		.rlen	= 496,
11368 		.also_non_np = 1,
11369 		.np	= 3,
11370 		.tap	= { 496 - 20, 4, 16 },
11371 	},
11372 };
11373 
11374 static const struct cipher_testvec tnepres_dec_tv_template[] = {
11375 	{
11376 		.input	= "\x41\xcc\x6b\x31\x59\x31\x45\x97"
11377 			  "\x6d\x6f\xbb\x38\x4b\x37\x21\x28",
11378 		.ilen	= 16,
11379 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11380 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11381 		.rlen	= 16,
11382 	}, {
11383 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11384 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11385 		.klen	= 16,
11386 		.input	= "\xea\xf4\xd7\xfc\xd8\x01\x34\x47"
11387 			  "\x81\x45\x0b\xfa\x0c\xd6\xad\x6e",
11388 		.ilen	= 16,
11389 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11390 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11391 		.rlen	= 16,
11392 	}, {
11393 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11394 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
11395 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
11396 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
11397 		.klen	= 32,
11398 		.input	= "\x64\xa9\x1a\x37\xed\x9f\xe7\x49"
11399 			  "\xa8\x4e\x76\xd6\xf5\x0d\x78\xee",
11400 		.ilen	= 16,
11401 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
11402 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
11403 		.rlen	= 16,
11404 	}, { /* KeySize=128, I=121 */
11405 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80",
11406 		.klen	= 16,
11407 		.input	= "\x3d\xda\xbf\xc0\x06\xda\xab\x06"
11408 			  "\x46\x2a\xf4\xef\x81\x54\x4e\x26",
11409 		.ilen	= 16,
11410 		.result	= zeroed_string,
11411 		.rlen	= 16,
11412 	},
11413 };
11414 
11415 static const struct cipher_testvec serpent_cbc_enc_tv_template[] = {
11416 	{ /* Generated with Crypto++ */
11417 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11418 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11419 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11420 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11421 		.klen	= 32,
11422 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11423 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11424 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11425 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11426 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11427 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11428 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11429 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11430 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11431 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11432 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11433 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11434 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11435 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11436 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11437 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11438 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11439 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11440 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11441 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11442 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11443 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11444 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11445 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11446 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11447 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11448 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11449 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11450 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11451 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11452 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11453 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11454 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11455 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11456 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11457 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11458 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11459 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11460 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11461 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11462 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11463 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11464 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11465 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11466 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11467 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11468 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11469 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11470 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11471 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11472 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11473 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11474 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11475 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11476 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11477 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11478 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11479 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11480 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11481 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11482 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11483 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11484 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11485 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11486 		.ilen	= 496,
11487 		.result	= "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
11488 			  "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
11489 			  "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
11490 			  "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
11491 			  "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
11492 			  "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
11493 			  "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
11494 			  "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
11495 			  "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
11496 			  "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
11497 			  "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
11498 			  "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
11499 			  "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
11500 			  "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
11501 			  "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
11502 			  "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
11503 			  "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
11504 			  "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
11505 			  "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
11506 			  "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
11507 			  "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
11508 			  "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
11509 			  "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
11510 			  "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
11511 			  "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
11512 			  "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
11513 			  "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
11514 			  "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
11515 			  "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
11516 			  "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
11517 			  "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
11518 			  "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
11519 			  "\x81\x92\x66\x67\x15\x1E\x39\x98"
11520 			  "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
11521 			  "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
11522 			  "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
11523 			  "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
11524 			  "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
11525 			  "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
11526 			  "\x04\x05\x46\xD3\x90\x0F\x64\x64"
11527 			  "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
11528 			  "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
11529 			  "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
11530 			  "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
11531 			  "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
11532 			  "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
11533 			  "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
11534 			  "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
11535 			  "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
11536 			  "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
11537 			  "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
11538 			  "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
11539 			  "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
11540 			  "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
11541 			  "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
11542 			  "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
11543 			  "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
11544 			  "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
11545 			  "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
11546 			  "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
11547 			  "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
11548 			  "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
11549 		.rlen	= 496,
11550 		.also_non_np = 1,
11551 		.np	= 3,
11552 		.tap	= { 496 - 20, 4, 16 },
11553 	},
11554 };
11555 
11556 static const struct cipher_testvec serpent_cbc_dec_tv_template[] = {
11557 	{ /* Generated with Crypto++ */
11558 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11559 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11560 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11561 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11562 		.klen	= 32,
11563 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11564 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11565 		.input	= "\x80\xCF\x11\x41\x1A\xB9\x4B\x9C"
11566 			  "\xFF\xB7\x6C\xEA\xF0\xAF\x77\x6E"
11567 			  "\x71\x75\x95\x9D\x4E\x1C\xCF\xAD"
11568 			  "\x81\x34\xE9\x8F\xAE\x5A\x91\x1C"
11569 			  "\x38\x63\x35\x7E\x79\x18\x0A\xE8"
11570 			  "\x67\x06\x76\xD5\xFF\x22\x2F\xDA"
11571 			  "\xB6\x2D\x57\x13\xB6\x3C\xBC\x97"
11572 			  "\xFE\x53\x75\x35\x97\x7F\x51\xEA"
11573 			  "\xDF\x5D\xE8\x9D\xCC\xD9\xAE\xE7"
11574 			  "\x62\x67\xFF\x04\xC2\x18\x22\x5F"
11575 			  "\x2E\x06\xC1\xE2\x26\xCD\xC6\x1E"
11576 			  "\xE5\x2C\x4E\x87\x23\xDD\xF0\x41"
11577 			  "\x08\xA5\xB4\x3E\x07\x1E\x0B\xBB"
11578 			  "\x72\x84\xF8\x0A\x3F\x38\x5E\x91"
11579 			  "\x15\x26\xE1\xDB\xA4\x3D\x74\xD2"
11580 			  "\x41\x1E\x3F\xA9\xC6\x7D\x2A\xAB"
11581 			  "\x27\xDF\x89\x1D\x86\x3E\xF7\x5A"
11582 			  "\xF6\xE3\x0F\xC7\x6B\x4C\x96\x7C"
11583 			  "\x2D\x12\xA5\x05\x92\xCB\xD7\x4A"
11584 			  "\x4D\x1E\x88\x21\xE1\x63\xB4\xFC"
11585 			  "\x4A\xF2\xCD\x35\xB9\xD7\x70\x97"
11586 			  "\x5A\x5E\x7E\x96\x52\x20\xDC\x25"
11587 			  "\xE9\x6B\x36\xB4\xE0\x98\x85\x2C"
11588 			  "\x3C\xD2\xF7\x78\x8A\x73\x26\x9B"
11589 			  "\xAF\x0B\x11\xE8\x4D\x67\x23\xE9"
11590 			  "\x77\xDF\x58\xF6\x6F\x9E\xA4\xC5"
11591 			  "\x10\xA1\x82\x0E\x80\xA0\x8F\x4B"
11592 			  "\xA1\xC0\x12\x54\x4E\xC9\x20\x92"
11593 			  "\x11\x00\x10\x4E\xB3\x7C\xCA\x63"
11594 			  "\xE5\x3F\xD3\x41\x37\xCD\x74\xB7"
11595 			  "\xA5\x7C\x61\xB8\x0B\x7A\x7F\x4D"
11596 			  "\xFE\x96\x7D\x1B\xBE\x60\x37\xB7"
11597 			  "\x81\x92\x66\x67\x15\x1E\x39\x98"
11598 			  "\x52\xC0\xF4\x69\xC0\x99\x4F\x5A"
11599 			  "\x2E\x32\xAD\x7C\x8B\xE9\xAD\x05"
11600 			  "\x55\xF9\x0A\x1F\x97\x5C\xFA\x2B"
11601 			  "\xF4\x99\x76\x3A\x6E\x4D\xE1\x4C"
11602 			  "\x14\x4E\x6F\x87\xEE\x1A\x85\xA3"
11603 			  "\x96\xC6\x66\x49\xDA\x0D\x71\xAC"
11604 			  "\x04\x05\x46\xD3\x90\x0F\x64\x64"
11605 			  "\x01\x66\x2C\x62\x5D\x34\xD1\xCB"
11606 			  "\x3A\x24\xCE\x95\xEF\xAE\x2C\x97"
11607 			  "\x0E\x0C\x1D\x36\x49\xEB\xE9\x3D"
11608 			  "\x62\xA6\x19\x28\x9E\x26\xB4\x3F"
11609 			  "\xD7\x55\x42\x3C\xCD\x72\x0A\xF0"
11610 			  "\x7D\xE9\x95\x45\x86\xED\xB1\xE0"
11611 			  "\x8D\xE9\xC5\x86\x13\x24\x28\x7D"
11612 			  "\x74\xEF\xCA\x50\x12\x7E\x64\x8F"
11613 			  "\x1B\xF5\x5B\xFE\xE2\xAC\xFA\xE7"
11614 			  "\xBD\x38\x8C\x11\x20\xEF\xB1\xAA"
11615 			  "\x7B\xE5\xE5\x78\xAD\x9D\x2D\xA2"
11616 			  "\x8E\xDD\x48\xB3\xEF\x18\x92\x7E"
11617 			  "\xE6\x75\x0D\x54\x64\x11\xA3\x3A"
11618 			  "\xDB\x97\x0F\xD3\xDF\x07\xD3\x7E"
11619 			  "\x1E\xD1\x87\xE4\x74\xBB\x46\xF4"
11620 			  "\xBA\x23\x2D\x8D\x29\x07\x12\xCF"
11621 			  "\x34\xCD\x72\x7F\x01\x30\xE7\xA0"
11622 			  "\xF8\xDD\xA8\x08\xF0\xBC\xB1\xA2"
11623 			  "\xCC\xE1\x6B\x5F\xBE\xEA\xF1\xE4"
11624 			  "\x02\xC4\xAF\xFA\xAD\x31\xF4\xBF"
11625 			  "\xFC\x66\xAA\x37\xF2\x37\x39\x6B"
11626 			  "\xBC\x08\x3A\xA2\x29\xB3\xDF\xD1",
11627 		.ilen	= 496,
11628 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11629 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11630 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11631 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11632 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11633 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11634 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11635 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11636 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11637 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11638 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11639 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11640 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11641 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11642 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11643 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11644 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11645 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11646 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11647 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11648 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11649 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11650 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11651 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11652 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11653 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11654 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11655 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11656 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11657 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11658 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11659 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11660 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11661 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11662 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11663 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11664 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11665 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11666 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11667 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11668 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11669 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11670 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11671 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11672 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11673 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11674 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11675 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11676 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11677 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11678 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11679 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11680 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11681 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11682 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11683 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11684 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11685 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11686 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11687 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11688 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11689 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11690 		.rlen	= 496,
11691 		.also_non_np = 1,
11692 		.np	= 3,
11693 		.tap	= { 496 - 20, 4, 16 },
11694 	},
11695 };
11696 
11697 static const struct cipher_testvec serpent_ctr_enc_tv_template[] = {
11698 	{ /* Generated with Crypto++ */
11699 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11700 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11701 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11702 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11703 		.klen	= 32,
11704 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11705 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11706 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11707 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11708 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11709 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11710 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11711 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11712 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11713 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11714 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11715 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11716 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11717 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11718 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11719 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11720 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11721 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11722 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11723 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11724 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11725 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11726 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11727 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11728 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11729 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11730 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11731 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11732 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11733 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11734 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11735 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11736 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11737 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11738 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11739 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11740 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11741 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11742 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11743 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11744 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11745 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11746 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11747 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11748 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11749 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11750 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11751 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11752 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11753 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11754 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11755 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11756 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11757 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11758 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11759 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11760 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11761 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11762 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11763 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11764 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11765 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11766 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11767 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
11768 		.ilen	= 496,
11769 		.result	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
11770 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
11771 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
11772 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
11773 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
11774 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
11775 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
11776 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
11777 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
11778 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
11779 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
11780 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
11781 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
11782 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
11783 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
11784 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
11785 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
11786 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
11787 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
11788 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
11789 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
11790 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
11791 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
11792 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
11793 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
11794 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
11795 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
11796 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
11797 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
11798 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
11799 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
11800 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
11801 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
11802 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
11803 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
11804 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
11805 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
11806 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
11807 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
11808 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
11809 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
11810 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
11811 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
11812 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
11813 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
11814 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
11815 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
11816 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
11817 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
11818 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
11819 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
11820 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
11821 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
11822 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
11823 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
11824 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
11825 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
11826 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
11827 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
11828 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
11829 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
11830 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
11831 		.rlen	= 496,
11832 	}, { /* Generated with Crypto++ */
11833 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11834 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11835 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11836 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11837 		.klen	= 32,
11838 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
11839 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
11840 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11841 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11842 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11843 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11844 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11845 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11846 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11847 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11848 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11849 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11850 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11851 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11852 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11853 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11854 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11855 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11856 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11857 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11858 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11859 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11860 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
11861 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
11862 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
11863 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
11864 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
11865 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
11866 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
11867 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
11868 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
11869 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
11870 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
11871 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
11872 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
11873 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
11874 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
11875 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
11876 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
11877 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
11878 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
11879 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
11880 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
11881 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
11882 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
11883 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
11884 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
11885 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
11886 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
11887 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
11888 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
11889 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
11890 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
11891 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
11892 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
11893 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
11894 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
11895 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
11896 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
11897 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
11898 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
11899 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
11900 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
11901 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
11902 			  "\x2B\xC2\x59",
11903 		.ilen	= 499,
11904 		.result	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
11905 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
11906 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
11907 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
11908 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
11909 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
11910 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
11911 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
11912 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
11913 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
11914 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
11915 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
11916 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
11917 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
11918 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
11919 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
11920 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
11921 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
11922 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
11923 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
11924 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
11925 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
11926 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
11927 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
11928 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
11929 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
11930 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
11931 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
11932 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
11933 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
11934 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
11935 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
11936 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
11937 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
11938 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
11939 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
11940 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
11941 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
11942 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
11943 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
11944 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
11945 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
11946 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
11947 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
11948 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
11949 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
11950 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
11951 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
11952 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
11953 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
11954 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
11955 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
11956 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
11957 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
11958 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
11959 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
11960 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
11961 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
11962 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
11963 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
11964 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
11965 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
11966 			  "\x38\xE2\xE5",
11967 		.rlen	= 499,
11968 		.also_non_np = 1,
11969 		.np	= 2,
11970 		.tap	= { 499 - 16, 16 },
11971 	}, { /* Generated with Crypto++ */
11972 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
11973 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
11974 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
11975 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
11976 		.klen	= 32,
11977 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
11978 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
11979 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
11980 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
11981 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
11982 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
11983 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
11984 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
11985 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
11986 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
11987 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
11988 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
11989 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
11990 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
11991 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
11992 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
11993 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
11994 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
11995 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
11996 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
11997 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
11998 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
11999 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12000 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12001 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12002 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12003 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12004 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12005 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12006 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12007 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12008 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12009 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12010 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12011 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12012 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12013 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12014 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12015 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12016 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12017 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12018 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12019 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12020 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12021 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12022 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12023 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12024 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12025 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12026 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12027 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12028 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12029 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12030 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12031 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12032 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12033 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12034 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12035 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12036 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12037 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12038 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12039 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12040 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12041 		.ilen	= 496,
12042 		.result	= "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
12043 			  "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
12044 			  "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
12045 			  "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
12046 			  "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
12047 			  "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
12048 			  "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
12049 			  "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
12050 			  "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
12051 			  "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
12052 			  "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
12053 			  "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
12054 			  "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
12055 			  "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
12056 			  "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
12057 			  "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
12058 			  "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
12059 			  "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
12060 			  "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
12061 			  "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
12062 			  "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
12063 			  "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
12064 			  "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
12065 			  "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
12066 			  "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
12067 			  "\x29\x5E\x01\x47\x13\x32\x78\xBE"
12068 			  "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
12069 			  "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
12070 			  "\x38\x35\x11\x26\x4A\xB4\x06\x32"
12071 			  "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
12072 			  "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
12073 			  "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
12074 			  "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
12075 			  "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
12076 			  "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
12077 			  "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
12078 			  "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
12079 			  "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
12080 			  "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
12081 			  "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
12082 			  "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
12083 			  "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
12084 			  "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
12085 			  "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
12086 			  "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
12087 			  "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
12088 			  "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
12089 			  "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
12090 			  "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
12091 			  "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
12092 			  "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
12093 			  "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
12094 			  "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
12095 			  "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
12096 			  "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
12097 			  "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
12098 			  "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
12099 			  "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
12100 			  "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
12101 			  "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
12102 			  "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
12103 			  "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
12104 		.rlen	= 496,
12105 	},
12106 };
12107 
12108 static const struct cipher_testvec serpent_ctr_dec_tv_template[] = {
12109 	{ /* Generated with Crypto++ */
12110 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12111 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12112 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12113 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12114 		.klen	= 32,
12115 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12116 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12117 		.input	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12118 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12119 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12120 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12121 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12122 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12123 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12124 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12125 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12126 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12127 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12128 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12129 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12130 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12131 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12132 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12133 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12134 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12135 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12136 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12137 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12138 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12139 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12140 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12141 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12142 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12143 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12144 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12145 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12146 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12147 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12148 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12149 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12150 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12151 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12152 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12153 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12154 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12155 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12156 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12157 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12158 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12159 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12160 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12161 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12162 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12163 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12164 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12165 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12166 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12167 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12168 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12169 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12170 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12171 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12172 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12173 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12174 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12175 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12176 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12177 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12178 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13",
12179 		.ilen	= 496,
12180 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12181 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12182 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12183 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12184 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12185 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12186 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12187 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12188 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12189 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12190 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12191 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12192 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12193 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12194 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12195 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12196 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12197 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12198 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12199 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12200 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12201 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12202 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12203 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12204 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12205 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12206 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12207 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12208 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12209 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12210 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12211 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12212 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12213 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12214 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12215 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12216 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12217 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12218 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12219 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12220 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12221 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12222 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12223 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12224 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12225 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12226 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12227 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12228 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12229 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12230 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12231 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12232 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12233 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12234 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12235 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12236 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12237 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12238 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12239 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12240 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12241 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12242 		.rlen	= 496,
12243 	}, { /* Generated with Crypto++ */
12244 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12245 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12246 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12247 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12248 		.klen	= 32,
12249 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
12250 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
12251 		.input	= "\x84\x68\xEC\xF2\x1C\x88\x20\xCA"
12252 			  "\x37\x69\xE3\x3A\x22\x85\x48\x46"
12253 			  "\x70\xAA\x25\xB4\xCD\x8B\x04\x4E"
12254 			  "\x8D\x15\x2B\x98\xDF\x7B\x6D\xB9"
12255 			  "\xE0\x4A\x73\x00\x65\xB6\x1A\x0D"
12256 			  "\x5C\x60\xDF\x34\xDC\x60\x4C\xDF"
12257 			  "\xB5\x1F\x26\x8C\xDA\xC1\x11\xA8"
12258 			  "\x80\xFA\x37\x7A\x89\xAA\xAE\x7B"
12259 			  "\x92\x6E\xB9\xDC\xC9\x62\x4F\x88"
12260 			  "\x0A\x5D\x97\x2F\x6B\xAC\x03\x7C"
12261 			  "\x22\xF6\x55\x5A\xFA\x35\xA5\x17"
12262 			  "\xA1\x5C\x5E\x2B\x63\x2D\xB9\x91"
12263 			  "\x3E\x83\x26\x00\x4E\xD5\xBE\xCE"
12264 			  "\x79\xC4\x3D\xFC\x70\xA0\xAD\x96"
12265 			  "\xBA\x58\x2A\x1C\xDF\xC2\x3A\xA5"
12266 			  "\x7C\xB5\x12\x89\xED\xBF\xB6\x09"
12267 			  "\x13\x4F\x7D\x61\x3C\x5C\x27\xFC"
12268 			  "\x5D\xE1\x4F\xA1\xEA\xB3\xCA\xB9"
12269 			  "\xE6\xD0\x97\x81\xDE\xD1\xFB\x8A"
12270 			  "\x30\xDB\xA3\x5D\xEC\x25\x0B\x86"
12271 			  "\x71\xC8\xA7\x67\xE8\xBC\x7D\x4C"
12272 			  "\xAE\x82\xD3\x73\x31\x09\xCB\xB3"
12273 			  "\x4D\xD4\xC0\x8A\x2B\xFA\xA6\x55"
12274 			  "\x39\x0A\xBC\x6E\x75\xAB\xC2\xE2"
12275 			  "\x8A\xF2\x26\xCD\x63\x38\x35\xF7"
12276 			  "\xAE\x12\x83\xCD\x8A\x9E\x7E\x4C"
12277 			  "\xFE\x4D\xD7\xCE\x5C\x6E\x4C\xAF"
12278 			  "\xE3\xCD\x76\xA7\x87\xA1\x54\x7C"
12279 			  "\xEC\x32\xC7\x83\x2A\xFF\xF8\xEA"
12280 			  "\x87\xB2\x47\xA3\x9D\xC2\x9C\xA2"
12281 			  "\xB7\x2C\x7C\x1A\x24\xCB\x88\x61"
12282 			  "\xFF\xA7\x1A\x16\x01\xDD\x4B\xFC"
12283 			  "\x2E\xE0\x48\x67\x09\x42\xCC\x91"
12284 			  "\xBE\x20\x38\xC0\x5E\x3B\x95\x00"
12285 			  "\xA1\x96\x66\x0B\x8A\xE9\x9E\xF7"
12286 			  "\x6B\x34\x0A\x51\xC0\x3B\xEB\x71"
12287 			  "\x07\x97\x38\x4B\x5C\x56\x98\x67"
12288 			  "\x78\x9C\xD0\x0E\x2B\xB5\x67\x90"
12289 			  "\x75\xF8\xFE\x6D\x4E\x85\xCC\x0D"
12290 			  "\x18\x06\x15\x9D\x5A\x10\x13\x37"
12291 			  "\xA3\xD6\x68\xA2\xDF\x7E\xC7\x12"
12292 			  "\xC9\x0D\x4D\x91\xB0\x2A\x55\xFF"
12293 			  "\x6F\x73\x13\xDF\x28\xB5\x2A\x2C"
12294 			  "\xE4\xFC\x20\xD9\xF1\x7A\x82\xB1"
12295 			  "\xCB\x57\xB6\x3D\x8C\xF4\x8E\x27"
12296 			  "\x37\xDC\x35\xF3\x79\x01\x53\xA4"
12297 			  "\x7B\x37\xDE\x7C\x04\xAE\x50\xDB"
12298 			  "\x9B\x1E\x8C\x07\xA7\x52\x49\x50"
12299 			  "\x34\x25\x65\xDD\xA9\x8F\x7E\xBD"
12300 			  "\x7A\xC9\x36\xAE\xDE\x21\x48\x64"
12301 			  "\xC2\x02\xBA\xBE\x11\x1E\x3D\x9C"
12302 			  "\x98\x52\xCC\x04\xBD\x5E\x61\x26"
12303 			  "\x10\xD3\x21\xD9\x6E\x25\x98\x77"
12304 			  "\x8E\x98\x63\xF6\xF6\x52\xFB\x13"
12305 			  "\xAA\x30\xF2\xB9\xA4\x43\x53\x39"
12306 			  "\x1C\x97\x07\x7E\x6B\xFF\x3D\x43"
12307 			  "\xA6\x71\x6B\x66\x8F\x58\x3F\x71"
12308 			  "\x90\x47\x40\x92\xE6\x69\xD1\x96"
12309 			  "\x34\xB3\x3B\xE5\x43\xE4\xD5\x56"
12310 			  "\xB2\xE6\x7E\x86\x7A\x12\x17\x5B"
12311 			  "\x30\xF3\x9B\x0D\xFA\x57\xE4\x50"
12312 			  "\x40\x53\x77\x8C\x15\xF8\x8D\x13"
12313 			  "\x38\xE2\xE5",
12314 		.ilen	= 499,
12315 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12316 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12317 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12318 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12319 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12320 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12321 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12322 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12323 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12324 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12325 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12326 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12327 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12328 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12329 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12330 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12331 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12332 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12333 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12334 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12335 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12336 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12337 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12338 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12339 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12340 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12341 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12342 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12343 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12344 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12345 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12346 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12347 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12348 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12349 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12350 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12351 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12352 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12353 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12354 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12355 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12356 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12357 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12358 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12359 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12360 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12361 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12362 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12363 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12364 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12365 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12366 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12367 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12368 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12369 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12370 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12371 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12372 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12373 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12374 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12375 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12376 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
12377 			  "\x2B\xC2\x59",
12378 		.rlen	= 499,
12379 		.also_non_np = 1,
12380 		.np	= 2,
12381 		.tap	= { 499 - 16, 16 },
12382 	}, { /* Generated with Crypto++ */
12383 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
12384 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
12385 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
12386 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
12387 		.klen	= 32,
12388 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
12389 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
12390 		.input	= "\x06\x9A\xF8\xB4\x53\x88\x62\xFC"
12391 			  "\x68\xB8\x2E\xDF\xC1\x05\x0F\x3D"
12392 			  "\xAF\x4D\x95\xAE\xC4\xE9\x1C\xDC"
12393 			  "\xF6\x2B\x8F\x90\x89\xF6\x7E\x1A"
12394 			  "\xA6\xB9\xE4\xF4\xFA\xCA\xE5\x7E"
12395 			  "\x71\x28\x06\x4F\xE8\x08\x39\xDA"
12396 			  "\xA5\x0E\xC8\xC0\xB8\x16\xE5\x69"
12397 			  "\xE5\xCA\xEC\x4F\x63\x2C\xC0\x9B"
12398 			  "\x9F\x3E\x39\x79\xF0\xCD\x64\x35"
12399 			  "\x4A\xD3\xC8\xA9\x31\xCD\x48\x5B"
12400 			  "\x92\x3D\x8F\x3F\x96\xBD\xB3\x18"
12401 			  "\x74\x2A\x5D\x29\x3F\x57\x8F\xE2"
12402 			  "\x67\x9A\xE0\xE5\xD4\x4A\xE2\x47"
12403 			  "\xBC\xF6\xEB\x14\xF3\x8C\x20\xC2"
12404 			  "\x7D\xE2\x43\x81\x86\x72\x2E\xB1"
12405 			  "\x39\xF6\x95\xE1\x1F\xCB\x76\x33"
12406 			  "\x5B\x7D\x23\x0F\x3A\x67\x2A\x2F"
12407 			  "\xB9\x37\x9D\xDD\x1F\x16\xA1\x3C"
12408 			  "\x70\xFE\x52\xAA\x93\x3C\xC4\x46"
12409 			  "\xB1\xE5\xFF\xDA\xAF\xE2\x84\xFE"
12410 			  "\x25\x92\xB2\x63\xBD\x49\x77\xB4"
12411 			  "\x22\xA4\x6A\xD5\x04\xE0\x45\x58"
12412 			  "\x1C\x34\x96\x7C\x03\x0C\x13\xA2"
12413 			  "\x05\x22\xE2\xCB\x5A\x35\x03\x09"
12414 			  "\x40\xD2\x82\x05\xCA\x58\x73\xF2"
12415 			  "\x29\x5E\x01\x47\x13\x32\x78\xBE"
12416 			  "\x06\xB0\x51\xDB\x6C\x31\xA0\x1C"
12417 			  "\x74\xBC\x8D\x25\xDF\xF8\x65\xD1"
12418 			  "\x38\x35\x11\x26\x4A\xB4\x06\x32"
12419 			  "\xFA\xD2\x07\x77\xB3\x74\x98\x80"
12420 			  "\x61\x59\xA8\x9F\xF3\x6F\x2A\xBF"
12421 			  "\xE6\xA5\x9A\xC4\x6B\xA6\x49\x6F"
12422 			  "\xBC\x47\xD9\xFB\xC6\xEF\x25\x65"
12423 			  "\x96\xAC\x9F\xE4\x81\x4B\xD8\xBA"
12424 			  "\xD6\x9B\xC9\x6D\x58\x40\x81\x02"
12425 			  "\x73\x44\x4E\x43\x6E\x37\xBB\x11"
12426 			  "\xE3\xF9\xB8\x2F\xEC\x76\x34\xEA"
12427 			  "\x90\xCD\xB7\x2E\x0E\x32\x71\xE8"
12428 			  "\xBB\x4E\x0B\x98\xA4\x17\x17\x5B"
12429 			  "\x07\xB5\x82\x3A\xC4\xE8\x42\x51"
12430 			  "\x5A\x4C\x4E\x7D\xBF\xC4\xC0\x4F"
12431 			  "\x68\xB8\xC6\x4A\x32\x6F\x0B\xD7"
12432 			  "\x85\xED\x6B\xFB\x72\xD2\xA5\x8F"
12433 			  "\xBF\xF9\xAC\x59\x50\xA8\x08\x70"
12434 			  "\xEC\xBD\x0A\xBF\xE5\x87\xA1\xC2"
12435 			  "\x92\x14\x78\xAF\xE8\xEA\x2E\xDD"
12436 			  "\xC1\x03\x9A\xAA\x89\x8B\x32\x46"
12437 			  "\x5B\x18\x27\xBA\x46\xAA\x64\xDE"
12438 			  "\xE3\xD5\xA3\xFC\x7B\x5B\x61\xDB"
12439 			  "\x7E\xDA\xEC\x30\x17\x19\xF8\x80"
12440 			  "\xB5\x5E\x27\xB5\x37\x3A\x1F\x28"
12441 			  "\x07\x73\xC3\x63\xCE\xFF\x8C\xFE"
12442 			  "\x81\x4E\xF8\x24\xF3\xB8\xC7\xE8"
12443 			  "\x16\x9A\xCC\x58\x2F\x88\x1C\x4B"
12444 			  "\xBB\x33\xA2\x73\xF0\x1C\x89\x0E"
12445 			  "\xDC\x34\x27\x89\x98\xCE\x1C\xA2"
12446 			  "\xD8\xB8\x90\xBE\xEC\x72\x28\x13"
12447 			  "\xAC\x7B\xF1\xD0\x7F\x7A\x28\x50"
12448 			  "\xB7\x99\x65\x8A\xC9\xC6\x21\x34"
12449 			  "\x7F\x67\x9D\xB7\x2C\xCC\xF5\x17"
12450 			  "\x2B\x89\xAC\xB0\xD7\x1E\x47\xB0"
12451 			  "\x61\xAF\xD4\x63\x6D\xB8\x2D\x20",
12452 		.ilen	= 496,
12453 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
12454 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
12455 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
12456 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
12457 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
12458 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
12459 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
12460 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
12461 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
12462 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
12463 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
12464 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
12465 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
12466 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
12467 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
12468 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
12469 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
12470 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
12471 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
12472 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
12473 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
12474 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
12475 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
12476 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
12477 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
12478 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
12479 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
12480 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
12481 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
12482 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
12483 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
12484 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
12485 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
12486 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
12487 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
12488 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
12489 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
12490 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
12491 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
12492 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
12493 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
12494 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
12495 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
12496 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
12497 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
12498 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
12499 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
12500 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
12501 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
12502 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
12503 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
12504 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
12505 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
12506 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
12507 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
12508 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
12509 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
12510 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
12511 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
12512 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
12513 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
12514 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
12515 		.rlen	= 496,
12516 	},
12517 };
12518 
12519 static const struct cipher_testvec serpent_lrw_enc_tv_template[] = {
12520 	/* Generated from AES-LRW test vectors */
12521 	{
12522 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
12523 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
12524 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
12525 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
12526 		.klen	= 32,
12527 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12528 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12529 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12530 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12531 		.ilen	= 16,
12532 		.result	= "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
12533 			  "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
12534 		.rlen	= 16,
12535 	}, {
12536 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
12537 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
12538 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
12539 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
12540 		.klen	= 32,
12541 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12542 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
12543 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12544 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12545 		.ilen	= 16,
12546 		.result	= "\xfd\xb2\x66\x98\x80\x96\x55\xad"
12547 			  "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
12548 		.rlen	= 16,
12549 	}, {
12550 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
12551 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
12552 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
12553 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
12554 		.klen	= 32,
12555 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12556 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12557 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12558 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12559 		.ilen	= 16,
12560 		.result	= "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
12561 			  "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
12562 		.rlen	= 16,
12563 	}, {
12564 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
12565 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
12566 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
12567 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
12568 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
12569 		.klen	= 40,
12570 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12571 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12572 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12573 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12574 		.ilen	= 16,
12575 		.result	= "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
12576 			  "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
12577 		.rlen	= 16,
12578 	}, {
12579 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
12580 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
12581 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
12582 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
12583 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
12584 		.klen	= 40,
12585 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12586 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12587 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12588 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12589 		.ilen	= 16,
12590 		.result	= "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
12591 			  "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
12592 		.rlen	= 16,
12593 	}, {
12594 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12595 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12596 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12597 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12598 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12599 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12600 		.klen	= 48,
12601 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12602 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12603 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12604 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12605 		.ilen	= 16,
12606 		.result	= "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
12607 			  "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
12608 		.rlen	= 16,
12609 	}, {
12610 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
12611 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
12612 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
12613 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
12614 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
12615 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
12616 		.klen	= 48,
12617 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12618 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12619 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12620 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12621 		.ilen	= 16,
12622 		.result	= "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
12623 			  "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
12624 		.rlen	= 16,
12625 	}, {
12626 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12627 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12628 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12629 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12630 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12631 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12632 		.klen	= 48,
12633 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12634 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12635 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12636 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12637 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12638 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12639 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12640 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12641 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12642 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12643 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12644 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12645 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12646 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12647 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12648 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12649 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12650 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12651 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12652 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12653 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12654 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12655 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12656 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12657 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12658 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12659 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12660 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12661 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12662 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12663 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12664 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12665 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12666 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12667 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12668 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12669 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12670 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12671 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12672 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12673 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12674 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12675 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12676 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12677 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12678 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12679 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12680 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12681 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
12682 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
12683 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
12684 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
12685 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
12686 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
12687 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
12688 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
12689 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
12690 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
12691 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
12692 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
12693 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
12694 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
12695 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
12696 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
12697 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
12698 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
12699 		.ilen	= 512,
12700 		.result	= "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
12701 			  "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
12702 			  "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
12703 			  "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
12704 			  "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
12705 			  "\xce\xab\xda\x33\x30\x20\x12\xfa"
12706 			  "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
12707 			  "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
12708 			  "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
12709 			  "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
12710 			  "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
12711 			  "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
12712 			  "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
12713 			  "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
12714 			  "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
12715 			  "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
12716 			  "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
12717 			  "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
12718 			  "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
12719 			  "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
12720 			  "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
12721 			  "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
12722 			  "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
12723 			  "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
12724 			  "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
12725 			  "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
12726 			  "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
12727 			  "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
12728 			  "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
12729 			  "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
12730 			  "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
12731 			  "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
12732 			  "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
12733 			  "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
12734 			  "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
12735 			  "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
12736 			  "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
12737 			  "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
12738 			  "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
12739 			  "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
12740 			  "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
12741 			  "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
12742 			  "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
12743 			  "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
12744 			  "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
12745 			  "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
12746 			  "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
12747 			  "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
12748 			  "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
12749 			  "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
12750 			  "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
12751 			  "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
12752 			  "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
12753 			  "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
12754 			  "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
12755 			  "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
12756 			  "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
12757 			  "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
12758 			  "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
12759 			  "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
12760 			  "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
12761 			  "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
12762 			  "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
12763 			  "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
12764 		.rlen	= 512,
12765 		.also_non_np = 1,
12766 		.np	= 3,
12767 		.tap	= { 512 - 20, 4, 16 },
12768 	},
12769 };
12770 
12771 static const struct cipher_testvec serpent_lrw_dec_tv_template[] = {
12772 	/* Generated from AES-LRW test vectors */
12773 	/* same as enc vectors with input and result reversed */
12774 	{
12775 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
12776 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
12777 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
12778 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
12779 		.klen	= 32,
12780 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12781 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12782 		.input	= "\x6f\xbf\xd4\xa4\x5d\x71\x16\x79"
12783 			  "\x63\x9c\xa6\x8e\x40\xbe\x0d\x8a",
12784 		.ilen	= 16,
12785 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12786 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12787 		.rlen	= 16,
12788 	}, {
12789 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
12790 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
12791 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
12792 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
12793 		.klen	= 32,
12794 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12795 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
12796 		.input	= "\xfd\xb2\x66\x98\x80\x96\x55\xad"
12797 			  "\x08\x94\x54\x9c\x21\x7c\x69\xe3",
12798 		.ilen	= 16,
12799 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12800 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12801 		.rlen	= 16,
12802 	}, {
12803 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
12804 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
12805 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
12806 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
12807 		.klen	= 32,
12808 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12809 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12810 		.input	= "\x14\x5e\x3d\x70\xc0\x6e\x9c\x34"
12811 			  "\x5b\x5e\xcf\x0f\xe4\x8c\x21\x5c",
12812 		.ilen	= 16,
12813 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12814 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12815 		.rlen	= 16,
12816 	}, {
12817 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
12818 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
12819 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
12820 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
12821 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
12822 		.klen	= 40,
12823 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12824 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12825 		.input	= "\x25\x39\xaa\xa5\xf0\x65\xc8\xdc"
12826 			  "\x5d\x45\x95\x30\x8f\xff\x2f\x1b",
12827 		.ilen	= 16,
12828 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12829 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12830 		.rlen	= 16,
12831 	}, {
12832 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
12833 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
12834 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
12835 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
12836 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
12837 		.klen	= 40,
12838 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12839 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12840 		.input	= "\x0c\x20\x20\x63\xd6\x8b\xfc\x8f"
12841 			  "\xc0\xe2\x17\xbb\xd2\x59\x6f\x26",
12842 		.ilen	= 16,
12843 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12844 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12845 		.rlen	= 16,
12846 	}, {
12847 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12848 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12849 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12850 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12851 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12852 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12853 		.klen	= 48,
12854 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12855 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12856 		.input	= "\xc1\x35\x2e\x53\xf0\x96\x4d\x9c"
12857 			  "\x2e\x18\xe6\x99\xcd\xd3\x15\x68",
12858 		.ilen	= 16,
12859 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12860 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12861 		.rlen	= 16,
12862 	}, {
12863 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
12864 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
12865 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
12866 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
12867 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
12868 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
12869 		.klen	= 48,
12870 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12871 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
12872 		.input	= "\x86\x0a\xc6\xa9\x1a\x9f\xe7\xe6"
12873 			  "\x64\x3b\x33\xd6\xd5\x84\xd6\xdf",
12874 		.ilen	= 16,
12875 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
12876 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
12877 		.rlen	= 16,
12878 	}, {
12879 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
12880 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
12881 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
12882 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
12883 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
12884 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
12885 		.klen	= 48,
12886 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
12887 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
12888 		.input	= "\xe3\x5a\x38\x0f\x4d\x92\x3a\x74"
12889 			  "\x15\xb1\x50\x8c\x9a\xd8\x99\x1d"
12890 			  "\x82\xec\xf1\x5f\x03\x6d\x02\x58"
12891 			  "\x90\x67\xfc\xdd\x8d\xe1\x38\x08"
12892 			  "\x7b\xc9\x9b\x4b\x04\x09\x50\x15"
12893 			  "\xce\xab\xda\x33\x30\x20\x12\xfa"
12894 			  "\x83\xc4\xa6\x9a\x2e\x7d\x90\xd9"
12895 			  "\xa6\xa6\x67\x43\xb4\xa7\xa8\x5c"
12896 			  "\xbb\x6a\x49\x2b\x8b\xf8\xd0\x22"
12897 			  "\xe5\x9e\xba\xe8\x8c\x67\xb8\x5b"
12898 			  "\x60\xbc\xf5\xa4\x95\x4e\x66\xe5"
12899 			  "\x6d\x8e\xa9\xf6\x65\x2e\x04\xf5"
12900 			  "\xba\xb5\xdb\x88\xc2\xf6\x7a\x4b"
12901 			  "\x89\x58\x7c\x9a\xae\x26\xe8\xb7"
12902 			  "\xb7\x28\xcc\xd6\xcc\xa5\x98\x4d"
12903 			  "\xb9\x91\xcb\xb4\xe4\x8b\x96\x47"
12904 			  "\x5f\x03\x8b\xdd\x94\xd1\xee\x12"
12905 			  "\xa7\x83\x80\xf2\xc1\x15\x74\x4f"
12906 			  "\x49\xf9\xb0\x7e\x6f\xdc\x73\x2f"
12907 			  "\xe2\xcf\xe0\x1b\x34\xa5\xa0\x52"
12908 			  "\xfb\x3c\x5d\x85\x91\xe6\x6d\x98"
12909 			  "\x04\xd6\xdd\x4c\x00\x64\xd9\x54"
12910 			  "\x5c\x3c\x08\x1d\x4c\x06\x9f\xb8"
12911 			  "\x1c\x4d\x8d\xdc\xa4\x3c\xb9\x3b"
12912 			  "\x9e\x85\xce\xc3\xa8\x4a\x0c\xd9"
12913 			  "\x04\xc3\x6f\x17\x66\xa9\x1f\x59"
12914 			  "\xd9\xe2\x19\x36\xa3\x88\xb8\x0b"
12915 			  "\x0f\x4a\x4d\xf8\xc8\x6f\xd5\x43"
12916 			  "\xeb\xa0\xab\x1f\x61\xc0\x06\xeb"
12917 			  "\x93\xb7\xb8\x6f\x0d\xbd\x07\x49"
12918 			  "\xb3\xac\x5d\xcf\x31\xa0\x27\x26"
12919 			  "\x21\xbe\x94\x2e\x19\xea\xf4\xee"
12920 			  "\xb5\x13\x89\xf7\x94\x0b\xef\x59"
12921 			  "\x44\xc5\x78\x8b\x3c\x3b\x71\x20"
12922 			  "\xf9\x35\x0c\x70\x74\xdc\x5b\xc2"
12923 			  "\xb4\x11\x0e\x2c\x61\xa1\x52\x46"
12924 			  "\x18\x11\x16\xc6\x86\x44\xa7\xaf"
12925 			  "\xd5\x0c\x7d\xa6\x9e\x25\x2d\x1b"
12926 			  "\x9a\x8f\x0f\xf8\x6a\x61\xa0\xea"
12927 			  "\x3f\x0e\x90\xd6\x8f\x83\x30\x64"
12928 			  "\xb5\x51\x2d\x08\x3c\xcd\x99\x36"
12929 			  "\x96\xd4\xb1\xb5\x48\x30\xca\x48"
12930 			  "\xf7\x11\xa8\xf5\x97\x8a\x6a\x6d"
12931 			  "\x12\x33\x2f\xc0\xe8\xda\xec\x8a"
12932 			  "\xe1\x88\x72\x63\xde\x20\xa3\xe1"
12933 			  "\x8e\xac\x84\x37\x35\xf5\xf7\x3f"
12934 			  "\x00\x02\x0e\xe4\xc1\x53\x68\x3f"
12935 			  "\xaa\xd5\xac\x52\x3d\x20\x2f\x4d"
12936 			  "\x7c\x83\xd0\xbd\xaa\x97\x35\x36"
12937 			  "\x98\x88\x59\x5d\xe7\x24\xe3\x90"
12938 			  "\x9d\x30\x47\xa7\xc3\x60\x35\xf4"
12939 			  "\xd5\xdb\x0e\x4d\x44\xc1\x81\x8b"
12940 			  "\xfd\xbd\xc3\x2b\xba\x68\xfe\x8d"
12941 			  "\x49\x5a\x3c\x8a\xa3\x01\xae\x25"
12942 			  "\x42\xab\xd2\x87\x1b\x35\xd6\xd2"
12943 			  "\xd7\x70\x1c\x1f\x72\xd1\xe1\x39"
12944 			  "\x1c\x58\xa2\xb4\xd0\x78\x55\x72"
12945 			  "\x76\x59\xea\xd9\xd7\x6e\x63\x8b"
12946 			  "\xcc\x9b\xa7\x74\x89\xfc\xa3\x68"
12947 			  "\x86\x28\xd1\xbb\x54\x8d\x66\xad"
12948 			  "\x2a\x92\xf9\x4e\x04\x3d\xae\xfd"
12949 			  "\x1b\x2b\x7f\xc3\x2f\x1a\x78\x0a"
12950 			  "\x5c\xc6\x84\xfe\x7c\xcb\x26\xfd"
12951 			  "\xd9\x51\x0f\xd7\x94\x2f\xc5\xa7",
12952 		.ilen	= 512,
12953 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
12954 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
12955 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
12956 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
12957 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
12958 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
12959 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
12960 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
12961 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
12962 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
12963 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
12964 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
12965 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
12966 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
12967 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
12968 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
12969 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
12970 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
12971 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
12972 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
12973 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
12974 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
12975 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
12976 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
12977 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
12978 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
12979 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
12980 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
12981 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
12982 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
12983 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
12984 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
12985 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
12986 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
12987 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
12988 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
12989 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
12990 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
12991 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
12992 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
12993 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
12994 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
12995 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
12996 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
12997 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
12998 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
12999 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
13000 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
13001 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
13002 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
13003 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
13004 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
13005 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
13006 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
13007 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
13008 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
13009 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
13010 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
13011 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
13012 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
13013 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
13014 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
13015 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
13016 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
13017 		.rlen	= 512,
13018 		.also_non_np = 1,
13019 		.np	= 3,
13020 		.tap	= { 512 - 20, 4, 16 },
13021 	},
13022 };
13023 
13024 static const struct cipher_testvec serpent_xts_enc_tv_template[] = {
13025 	/* Generated from AES-XTS test vectors */
13026 	{
13027 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13028 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13029 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13030 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13031 		.klen	= 32,
13032 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13033 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13034 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13035 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13036 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13037 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13038 		.ilen	= 32,
13039 		.result	= "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
13040 			  "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
13041 			  "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
13042 			  "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
13043 		.rlen	= 32,
13044 	}, {
13045 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
13046 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
13047 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
13048 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
13049 		.klen	= 32,
13050 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
13051 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13052 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
13053 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13054 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13055 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
13056 		.ilen	= 32,
13057 		.result	= "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
13058 			  "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
13059 			  "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
13060 			  "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
13061 		.rlen	= 32,
13062 	}, {
13063 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
13064 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
13065 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
13066 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
13067 		.klen	= 32,
13068 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
13069 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13070 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
13071 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13072 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13073 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
13074 		.ilen	= 32,
13075 		.result	= "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
13076 			  "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
13077 			  "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
13078 			  "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
13079 		.rlen	= 32,
13080 	}, {
13081 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
13082 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
13083 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13084 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
13085 		.klen	= 32,
13086 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13087 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13088 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13089 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13090 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13091 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13092 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13093 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13094 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13095 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13096 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13097 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13098 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13099 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13100 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13101 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13102 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13103 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13104 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13105 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13106 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13107 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13108 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13109 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13110 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13111 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13112 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13113 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13114 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13115 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13116 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13117 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13118 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13119 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13120 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13121 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13122 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13123 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13124 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13125 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13126 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13127 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13128 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13129 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13130 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13131 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13132 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13133 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13134 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13135 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13136 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13137 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13138 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13139 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13140 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13141 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13142 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13143 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13144 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13145 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13146 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13147 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13148 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13149 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13150 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13151 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13152 		.ilen	= 512,
13153 		.result	= "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
13154 			  "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
13155 			  "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
13156 			  "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
13157 			  "\x00\x5c\x75\x14\x06\xd6\x25\x82"
13158 			  "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
13159 			  "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
13160 			  "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
13161 			  "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
13162 			  "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
13163 			  "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
13164 			  "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
13165 			  "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
13166 			  "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
13167 			  "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
13168 			  "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
13169 			  "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
13170 			  "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
13171 			  "\x58\xfa\x43\x91\x16\x85\x40\xbb"
13172 			  "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
13173 			  "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
13174 			  "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
13175 			  "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
13176 			  "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
13177 			  "\x6e\x29\x60\xbd\x10\x14\x84\x82"
13178 			  "\x83\x82\x0c\x63\x73\x92\x02\x7c"
13179 			  "\x55\x37\x20\x80\x17\x51\xc8\xbc"
13180 			  "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
13181 			  "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
13182 			  "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
13183 			  "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
13184 			  "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
13185 			  "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
13186 			  "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
13187 			  "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
13188 			  "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
13189 			  "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
13190 			  "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
13191 			  "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
13192 			  "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
13193 			  "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
13194 			  "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
13195 			  "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
13196 			  "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
13197 			  "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
13198 			  "\x43\x42\x35\xd0\xcf\xec\x77\x67"
13199 			  "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
13200 			  "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
13201 			  "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
13202 			  "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
13203 			  "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
13204 			  "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
13205 			  "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
13206 			  "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
13207 			  "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
13208 			  "\x03\x57\xe6\x98\x52\x2f\x61\x62"
13209 			  "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
13210 			  "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
13211 			  "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
13212 			  "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
13213 			  "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
13214 			  "\xef\x91\x64\x1d\x18\x07\x4e\x31"
13215 			  "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
13216 			  "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
13217 		.rlen	= 512,
13218 	}, {
13219 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
13220 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
13221 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
13222 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
13223 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13224 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
13225 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
13226 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
13227 		.klen	= 64,
13228 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
13229 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13230 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13231 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13232 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13233 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13234 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13235 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13236 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13237 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13238 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13239 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13240 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13241 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13242 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13243 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13244 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13245 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13246 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13247 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13248 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13249 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13250 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13251 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13252 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13253 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13254 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13255 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13256 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13257 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13258 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13259 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13260 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13261 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13262 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13263 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13264 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13265 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13266 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13267 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13268 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13269 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13270 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13271 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13272 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13273 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13274 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13275 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13276 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13277 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13278 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13279 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13280 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13281 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13282 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13283 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13284 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13285 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13286 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13287 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13288 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13289 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13290 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13291 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13292 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13293 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13294 		.ilen	= 512,
13295 		.result	= "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
13296 			  "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
13297 			  "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
13298 			  "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
13299 			  "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
13300 			  "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
13301 			  "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
13302 			  "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
13303 			  "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
13304 			  "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
13305 			  "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
13306 			  "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
13307 			  "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
13308 			  "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
13309 			  "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
13310 			  "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
13311 			  "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
13312 			  "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
13313 			  "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
13314 			  "\xec\x9a\xda\x64\x96\xb5\x61\xff"
13315 			  "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
13316 			  "\x81\x85\x14\xa8\x59\xac\x8c\x94"
13317 			  "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
13318 			  "\x82\xc6\x4d\xca\x86\xea\x53\x28"
13319 			  "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
13320 			  "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
13321 			  "\x05\xca\x81\x7b\xda\xa2\xde\x63"
13322 			  "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
13323 			  "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
13324 			  "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
13325 			  "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
13326 			  "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
13327 			  "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
13328 			  "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
13329 			  "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
13330 			  "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
13331 			  "\xfd\x43\x7d\xda\x42\x51\x87\x43"
13332 			  "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
13333 			  "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
13334 			  "\x27\x5f\x11\xac\x71\xc7\x48\x46"
13335 			  "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
13336 			  "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
13337 			  "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
13338 			  "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
13339 			  "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
13340 			  "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
13341 			  "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
13342 			  "\x50\x88\x97\x40\x69\xb1\x37\xf5"
13343 			  "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
13344 			  "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
13345 			  "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
13346 			  "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
13347 			  "\xc1\x16\x73\x50\x77\xba\xa6\x65"
13348 			  "\x20\x2d\xb0\x02\x27\x89\xda\x99"
13349 			  "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
13350 			  "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
13351 			  "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
13352 			  "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
13353 			  "\xa3\x0e\x33\x74\x40\x18\x39\x72"
13354 			  "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
13355 			  "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
13356 			  "\x30\x05\xc8\x92\x98\x80\xff\x7a"
13357 			  "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
13358 			  "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
13359 		.rlen	= 512,
13360 		.also_non_np = 1,
13361 		.np	= 3,
13362 		.tap	= { 512 - 20, 4, 16 },
13363 	},
13364 };
13365 
13366 static const struct cipher_testvec serpent_xts_dec_tv_template[] = {
13367 	/* Generated from AES-XTS test vectors */
13368 	/* same as enc vectors with input and result reversed */
13369 	{
13370 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13371 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13372 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13373 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13374 		.klen	= 32,
13375 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13376 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13377 		.input	= "\xe1\x08\xb8\x1d\x2c\xf5\x33\x64"
13378 			  "\xc8\x12\x04\xc7\xb3\x70\xe8\xc4"
13379 			  "\x6a\x31\xc5\xf3\x00\xca\xb9\x16"
13380 			  "\xde\xe2\x77\x66\xf7\xfe\x62\x08",
13381 		.ilen	= 32,
13382 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13383 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13384 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
13385 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13386 		.rlen	= 32,
13387 	}, {
13388 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
13389 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
13390 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
13391 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
13392 		.klen	= 32,
13393 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
13394 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13395 		.input	= "\x1a\x0a\x09\x5f\xcd\x07\x07\x98"
13396 			  "\x41\x86\x12\xaf\xb3\xd7\x68\x13"
13397 			  "\xed\x81\xcd\x06\x87\x43\x1a\xbb"
13398 			  "\x13\x3d\xd6\x1e\x2b\xe1\x77\xbe",
13399 		.ilen	= 32,
13400 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
13401 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13402 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13403 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
13404 		.rlen	= 32,
13405 	}, {
13406 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
13407 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
13408 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
13409 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
13410 		.klen	= 32,
13411 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
13412 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13413 		.input	= "\xf9\x9b\x28\xb8\x5c\xaf\x8c\x61"
13414 			  "\xb6\x1c\x81\x8f\x2c\x87\x60\x89"
13415 			  "\x0d\x8d\x7a\xe8\x60\x48\xcc\x86"
13416 			  "\xc1\x68\x45\xaa\x00\xe9\x24\xc5",
13417 		.ilen	= 32,
13418 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
13419 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13420 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
13421 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
13422 		.rlen	= 32,
13423 	}, {
13424 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
13425 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
13426 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13427 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
13428 		.klen	= 32,
13429 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
13430 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13431 		.input	= "\xfe\x47\x4a\xc8\x60\x7e\xb4\x8b"
13432 			  "\x0d\x10\xf4\xb0\x0d\xba\xf8\x53"
13433 			  "\x65\x6e\x38\x4b\xdb\xaa\xb1\x9e"
13434 			  "\x28\xca\xb0\x22\xb3\x85\x75\xf4"
13435 			  "\x00\x5c\x75\x14\x06\xd6\x25\x82"
13436 			  "\xe6\xcb\x08\xf7\x29\x90\x23\x8e"
13437 			  "\xa4\x68\x57\xe4\xf0\xd8\x32\xf3"
13438 			  "\x80\x51\x67\xb5\x0b\x85\x69\xe8"
13439 			  "\x19\xfe\xc4\xc7\x3e\xea\x90\xd3"
13440 			  "\x8f\xa3\xf2\x0a\xac\x17\x4b\xa0"
13441 			  "\x63\x5a\x16\x0f\xf0\xce\x66\x1f"
13442 			  "\x2c\x21\x07\xf1\xa4\x03\xa3\x44"
13443 			  "\x41\x61\x87\x5d\x6b\xb3\xef\xd4"
13444 			  "\xfc\xaa\x32\x7e\x55\x58\x04\x41"
13445 			  "\xc9\x07\x33\xc6\xa2\x68\xd6\x5a"
13446 			  "\x55\x79\x4b\x6f\xcf\x89\xb9\x19"
13447 			  "\xe5\x54\x13\x15\xb2\x1a\xfa\x15"
13448 			  "\xc2\xf0\x06\x59\xfa\xa0\x25\x05"
13449 			  "\x58\xfa\x43\x91\x16\x85\x40\xbb"
13450 			  "\x0d\x34\x4d\xc5\x1e\x20\xd5\x08"
13451 			  "\xcd\x22\x22\x41\x11\x9f\x6c\x7c"
13452 			  "\x8d\x57\xc9\xba\x57\xe8\x2c\xf7"
13453 			  "\xa0\x42\xa8\xde\xfc\xa3\xca\x98"
13454 			  "\x4b\x43\xb1\xce\x4b\xbf\x01\x67"
13455 			  "\x6e\x29\x60\xbd\x10\x14\x84\x82"
13456 			  "\x83\x82\x0c\x63\x73\x92\x02\x7c"
13457 			  "\x55\x37\x20\x80\x17\x51\xc8\xbc"
13458 			  "\x46\x02\xcb\x38\x07\x6d\xe2\x85"
13459 			  "\xaa\x29\xaf\x24\x58\x0d\xf0\x75"
13460 			  "\x08\x0a\xa5\x34\x25\x16\xf3\x74"
13461 			  "\xa7\x0b\x97\xbe\xc1\xa9\xdc\x29"
13462 			  "\x1a\x0a\x56\xc1\x1a\x91\x97\x8c"
13463 			  "\x0b\xc7\x16\xed\x5a\x22\xa6\x2e"
13464 			  "\x8c\x2b\x4f\x54\x76\x47\x53\x8e"
13465 			  "\xe8\x00\xec\x92\xb9\x55\xe6\xa2"
13466 			  "\xf3\xe2\x4f\x6a\x66\x60\xd0\x87"
13467 			  "\xe6\xd1\xcc\xe3\x6a\xc5\x2d\x21"
13468 			  "\xcc\x9d\x6a\xb6\x75\xaa\xe2\x19"
13469 			  "\x21\x9f\xa1\x5e\x4c\xfd\x72\xf9"
13470 			  "\x94\x4e\x63\xc7\xae\xfc\xed\x47"
13471 			  "\xe2\xfe\x7a\x63\x77\xfe\x97\x82"
13472 			  "\xb1\x10\x6e\x36\x1d\xe1\xc4\x80"
13473 			  "\xec\x69\x41\xec\xa7\x8a\xe0\x2f"
13474 			  "\xe3\x49\x26\xa2\x41\xb2\x08\x0f"
13475 			  "\x28\xb4\xa7\x39\xa1\x99\x2d\x1e"
13476 			  "\x43\x42\x35\xd0\xcf\xec\x77\x67"
13477 			  "\xb2\x3b\x9e\x1c\x35\xde\x4f\x5e"
13478 			  "\x73\x3f\x5d\x6f\x07\x4b\x2e\x50"
13479 			  "\xab\x6c\x6b\xff\xea\x00\x67\xaa"
13480 			  "\x0e\x82\x32\xdd\x3d\xb5\xe5\x76"
13481 			  "\x2b\x77\x3f\xbe\x12\x75\xfb\x92"
13482 			  "\xc6\x89\x67\x4d\xca\xf7\xd4\x50"
13483 			  "\xc0\x74\x47\xcc\xd9\x0a\xd4\xc6"
13484 			  "\x3b\x17\x2e\xe3\x35\xbb\x53\xb5"
13485 			  "\x86\xad\x51\xcc\xd5\x96\xb8\xdc"
13486 			  "\x03\x57\xe6\x98\x52\x2f\x61\x62"
13487 			  "\xc4\x5c\x9c\x36\x71\x07\xfb\x94"
13488 			  "\xe3\x02\xc4\x2b\x08\x75\xc7\x35"
13489 			  "\xfb\x2e\x88\x7b\xbb\x67\x00\xe1"
13490 			  "\xc9\xdd\x99\xb2\x13\x53\x1a\x4e"
13491 			  "\x76\x87\x19\x04\x1a\x2f\x38\x3e"
13492 			  "\xef\x91\x64\x1d\x18\x07\x4e\x31"
13493 			  "\x88\x21\x7c\xb0\xa5\x12\x4c\x3c"
13494 			  "\xb0\x20\xbd\xda\xdf\xf9\x7c\xdd",
13495 		.ilen	= 512,
13496 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13497 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13498 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13499 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13500 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13501 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13502 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13503 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13504 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13505 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13506 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13507 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13508 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13509 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13510 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13511 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13512 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13513 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13514 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13515 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13516 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13517 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13518 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13519 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13520 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13521 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13522 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13523 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13524 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13525 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13526 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13527 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13528 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13529 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13530 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13531 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13532 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13533 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13534 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13535 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13536 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13537 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13538 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13539 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13540 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13541 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13542 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13543 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13544 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13545 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13546 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13547 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13548 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13549 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13550 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13551 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13552 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13553 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13554 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13555 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13556 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13557 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13558 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13559 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13560 		.rlen	= 512,
13561 	}, {
13562 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
13563 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
13564 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
13565 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
13566 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
13567 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
13568 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
13569 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
13570 		.klen	= 64,
13571 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
13572 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
13573 		.input	= "\x2b\xc9\xb4\x6b\x10\x94\xa9\x32"
13574 			  "\xaa\xb0\x20\xc6\x44\x3d\x74\x1f"
13575 			  "\x75\x01\xa7\xf6\xf5\xf7\x62\x1b"
13576 			  "\x80\x1b\x82\xcb\x01\x59\x91\x7f"
13577 			  "\x80\x3a\x98\xf0\xd2\xca\xc4\xc3"
13578 			  "\x34\xfd\xe6\x11\xf9\x33\x45\x12"
13579 			  "\x48\xc5\x8c\x25\xf1\xc5\xc5\x23"
13580 			  "\xd3\x44\xb4\x73\xd5\x04\xc0\xb7"
13581 			  "\xca\x2f\xf5\xcd\xc5\xb4\xdd\xb0"
13582 			  "\xf4\x60\xe8\xfb\xc6\x9c\xc5\x78"
13583 			  "\xcd\xec\x7d\xdc\x19\x9c\x72\x64"
13584 			  "\x63\x0b\x38\x2e\x76\xdd\x2d\x36"
13585 			  "\x49\xb0\x1d\xea\x78\x9e\x00\xca"
13586 			  "\x20\xcc\x1b\x1e\x98\x74\xab\xed"
13587 			  "\x79\xf7\xd0\x6c\xd8\x93\x80\x29"
13588 			  "\xac\xa5\x5e\x34\xa9\xab\xa0\x55"
13589 			  "\x9a\xea\xaa\x95\x4d\x7b\xfe\x46"
13590 			  "\x26\x8a\xfd\x88\xa2\xa8\xa6\xae"
13591 			  "\x25\x42\x17\xbf\x76\x8f\x1c\x3d"
13592 			  "\xec\x9a\xda\x64\x96\xb5\x61\xff"
13593 			  "\x99\xeb\x12\x96\x85\x82\x9d\xd5"
13594 			  "\x81\x85\x14\xa8\x59\xac\x8c\x94"
13595 			  "\xbb\x3b\x85\x2b\xdf\xb3\x0c\xba"
13596 			  "\x82\xc6\x4d\xca\x86\xea\x53\x28"
13597 			  "\x4c\xe0\x4e\x31\xe3\x73\x2f\x79"
13598 			  "\x9d\x42\xe1\x03\xe3\x8b\xc4\xff"
13599 			  "\x05\xca\x81\x7b\xda\xa2\xde\x63"
13600 			  "\x3a\x10\xbe\xc2\xac\x32\xc4\x05"
13601 			  "\x47\x7e\xef\x67\xe2\x5f\x5b\xae"
13602 			  "\xed\xf1\x70\x34\x16\x9a\x07\x7b"
13603 			  "\xf2\x25\x2b\xb0\xf8\x3c\x15\x9a"
13604 			  "\xa6\x59\x55\x5f\xc1\xf4\x1e\xcd"
13605 			  "\x93\x1f\x06\xba\xd4\x9a\x22\x69"
13606 			  "\xfa\x8e\x95\x0d\xf3\x23\x59\x2c"
13607 			  "\xfe\x00\xba\xf0\x0e\xbc\x6d\xd6"
13608 			  "\x62\xf0\x7a\x0e\x83\x3e\xdb\x32"
13609 			  "\xfd\x43\x7d\xda\x42\x51\x87\x43"
13610 			  "\x9d\xf9\xef\xf4\x30\x97\xf8\x09"
13611 			  "\x88\xfc\x3f\x93\x70\xc1\x4a\xec"
13612 			  "\x27\x5f\x11\xac\x71\xc7\x48\x46"
13613 			  "\x2f\xf9\xdf\x8d\x9f\xf7\x2e\x56"
13614 			  "\x0d\x4e\xb0\x32\x76\xce\x86\x81"
13615 			  "\xcd\xdf\xe4\x00\xbf\xfd\x5f\x24"
13616 			  "\xaf\xf7\x9a\xde\xff\x18\xac\x14"
13617 			  "\x90\xc5\x01\x39\x34\x0f\x24\xf3"
13618 			  "\x13\x2f\x5e\x4f\x30\x9a\x36\x40"
13619 			  "\xec\xea\xbc\xcd\x9e\x0e\x5b\x23"
13620 			  "\x50\x88\x97\x40\x69\xb1\x37\xf5"
13621 			  "\xc3\x15\xf9\x3f\xb7\x79\x64\xe8"
13622 			  "\x7b\x10\x20\xb9\x2b\x46\x83\x5b"
13623 			  "\xd8\x39\xfc\xe4\xfa\x88\x52\xf2"
13624 			  "\x72\xb0\x97\x4e\x89\xb3\x48\x00"
13625 			  "\xc1\x16\x73\x50\x77\xba\xa6\x65"
13626 			  "\x20\x2d\xb0\x02\x27\x89\xda\x99"
13627 			  "\x45\xfb\xe9\xd3\x1d\x39\x2f\xd6"
13628 			  "\x2a\xda\x09\x12\x11\xaf\xe6\x57"
13629 			  "\x01\x04\x8a\xff\x86\x8b\xac\xf8"
13630 			  "\xee\xe4\x1c\x98\x5b\xcf\x6b\x76"
13631 			  "\xa3\x0e\x33\x74\x40\x18\x39\x72"
13632 			  "\x66\x50\x31\xfd\x70\xdf\xe8\x51"
13633 			  "\x96\x21\x36\xb2\x9b\xfa\x85\xd1"
13634 			  "\x30\x05\xc8\x92\x98\x80\xff\x7a"
13635 			  "\xaf\x43\x0b\xc5\x20\x41\x92\x20"
13636 			  "\xd4\xa0\x91\x98\x11\x5f\x4d\xb1",
13637 		.ilen	= 512,
13638 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
13639 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13640 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13641 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13642 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13643 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13644 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13645 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13646 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13647 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13648 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13649 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13650 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13651 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13652 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13653 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13654 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13655 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13656 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13657 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13658 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13659 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13660 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13661 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13662 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13663 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13664 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13665 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13666 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13667 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13668 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13669 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
13670 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
13671 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
13672 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
13673 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
13674 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
13675 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
13676 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
13677 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
13678 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
13679 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
13680 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
13681 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
13682 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
13683 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
13684 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
13685 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
13686 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
13687 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
13688 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
13689 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
13690 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
13691 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
13692 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
13693 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
13694 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
13695 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
13696 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
13697 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
13698 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
13699 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
13700 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
13701 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
13702 		.rlen	= 512,
13703 		.also_non_np = 1,
13704 		.np	= 3,
13705 		.tap	= { 512 - 20, 4, 16 },
13706 	},
13707 };
13708 
13709 /* Cast6 test vectors from RFC 2612 */
13710 static const struct cipher_testvec cast6_enc_tv_template[] = {
13711 	{
13712 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13713 			  "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
13714 		.klen	= 16,
13715 		.input	= zeroed_string,
13716 		.ilen	= 16,
13717 		.result	= "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
13718 			  "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
13719 		.rlen	= 16,
13720 	}, {
13721 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13722 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13723 			  "\xba\xc7\x7a\x77\x17\x94\x28\x63",
13724 		.klen	= 24,
13725 		.input	= zeroed_string,
13726 		.ilen	= 16,
13727 		.result	= "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
13728 			  "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
13729 		.rlen	= 16,
13730 	}, {
13731 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13732 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13733 			  "\x8d\x7c\x47\xce\x26\x49\x08\x46"
13734 			  "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
13735 		.klen	= 32,
13736 		.input	= zeroed_string,
13737 		.ilen	= 16,
13738 		.result	= "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
13739 			  "\xc9\x87\x01\x36\x55\x33\x17\xfa",
13740 		.rlen	= 16,
13741 	}, { /* Generated from TF test vectors */
13742 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13743 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13744 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13745 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13746 		.klen	= 32,
13747 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13748 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13749 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13750 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13751 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13752 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13753 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13754 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13755 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13756 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13757 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13758 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13759 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13760 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13761 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13762 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13763 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13764 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13765 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
13766 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
13767 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
13768 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
13769 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
13770 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
13771 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
13772 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
13773 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
13774 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
13775 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
13776 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
13777 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
13778 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
13779 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
13780 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
13781 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
13782 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
13783 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
13784 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
13785 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
13786 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
13787 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
13788 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
13789 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
13790 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
13791 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
13792 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
13793 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
13794 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
13795 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
13796 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
13797 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
13798 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
13799 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
13800 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
13801 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
13802 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
13803 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
13804 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
13805 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
13806 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
13807 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
13808 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
13809 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
13810 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
13811 		.ilen	= 496,
13812 		.result	= "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
13813 			  "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
13814 			  "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
13815 			  "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
13816 			  "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
13817 			  "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
13818 			  "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
13819 			  "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
13820 			  "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
13821 			  "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
13822 			  "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
13823 			  "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
13824 			  "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
13825 			  "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
13826 			  "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
13827 			  "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
13828 			  "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
13829 			  "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
13830 			  "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
13831 			  "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
13832 			  "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
13833 			  "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
13834 			  "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
13835 			  "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
13836 			  "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
13837 			  "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
13838 			  "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
13839 			  "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
13840 			  "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
13841 			  "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
13842 			  "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
13843 			  "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
13844 			  "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
13845 			  "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
13846 			  "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
13847 			  "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
13848 			  "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
13849 			  "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
13850 			  "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
13851 			  "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
13852 			  "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
13853 			  "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
13854 			  "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
13855 			  "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
13856 			  "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
13857 			  "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
13858 			  "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
13859 			  "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
13860 			  "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
13861 			  "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
13862 			  "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
13863 			  "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
13864 			  "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
13865 			  "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
13866 			  "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
13867 			  "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
13868 			  "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
13869 			  "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
13870 			  "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
13871 			  "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
13872 			  "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
13873 			  "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
13874 		.rlen	= 496,
13875 		.also_non_np = 1,
13876 		.np	= 3,
13877 		.tap	= { 496 - 20, 4, 16 },
13878 	},
13879 };
13880 
13881 static const struct cipher_testvec cast6_dec_tv_template[] = {
13882 	{
13883 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13884 			  "\x0a\xf7\x56\x47\xf2\x9f\x61\x5d",
13885 		.klen	= 16,
13886 		.input	= "\xc8\x42\xa0\x89\x72\xb4\x3d\x20"
13887 			  "\x83\x6c\x91\xd1\xb7\x53\x0f\x6b",
13888 		.ilen	= 16,
13889 		.result	= zeroed_string,
13890 		.rlen	= 16,
13891 	}, {
13892 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13893 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13894 			  "\xba\xc7\x7a\x77\x17\x94\x28\x63",
13895 		.klen	= 24,
13896 		.input	= "\x1b\x38\x6c\x02\x10\xdc\xad\xcb"
13897 			  "\xdd\x0e\x41\xaa\x08\xa7\xa7\xe8",
13898 		.ilen	= 16,
13899 		.result	= zeroed_string,
13900 		.rlen	= 16,
13901 	}, {
13902 		.key	= "\x23\x42\xbb\x9e\xfa\x38\x54\x2c"
13903 			  "\xbe\xd0\xac\x83\x94\x0a\xc2\x98"
13904 			  "\x8d\x7c\x47\xce\x26\x49\x08\x46"
13905 			  "\x1c\xc1\xb5\x13\x7a\xe6\xb6\x04",
13906 		.klen	= 32,
13907 		.input	= "\x4f\x6a\x20\x38\x28\x68\x97\xb9"
13908 			  "\xc9\x87\x01\x36\x55\x33\x17\xfa",
13909 		.ilen	= 16,
13910 		.result	= zeroed_string,
13911 		.rlen	= 16,
13912 	}, { /* Generated from TF test vectors */
13913 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
13914 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
13915 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
13916 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
13917 		.klen	= 32,
13918 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
13919 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
13920 		.input	= "\xC3\x70\x22\x32\xF5\x80\xCB\x54"
13921 			  "\xFC\x30\xE0\xF6\xEB\x39\x57\xA6"
13922 			  "\xB6\xB9\xC5\xA4\x91\x55\x14\x97"
13923 			  "\xC1\x20\xFF\x6C\x5C\xF0\x67\xEA"
13924 			  "\x2F\xED\xD8\xC9\xFB\x38\x3F\xFE"
13925 			  "\x93\xBE\xDC\x00\xD3\x7F\xAD\x4C"
13926 			  "\x5A\x08\x92\xD1\x47\x0C\xFA\x6C"
13927 			  "\xD0\x6A\x99\x10\x72\xF8\x47\x62"
13928 			  "\x81\x42\xF8\xD8\xF5\xBB\x94\x08"
13929 			  "\xAA\x97\xA2\x8B\x69\xB3\xD2\x7E"
13930 			  "\xBC\xB5\x00\x0C\xE5\x44\x4B\x58"
13931 			  "\xE8\x63\xDC\xB3\xC4\xE5\x23\x12"
13932 			  "\x5A\x72\x85\x47\x8B\xEC\x9F\x26"
13933 			  "\x84\xB6\xED\x10\x33\x63\x9B\x5F"
13934 			  "\x4D\x53\xEE\x94\x45\x8B\x60\x58"
13935 			  "\x86\x20\xF9\x1E\x82\x08\x3E\x58"
13936 			  "\x60\x1B\x34\x19\x02\xBE\x4E\x09"
13937 			  "\xBB\x7C\x15\xCC\x60\x27\x55\x7A"
13938 			  "\x12\xB8\xD8\x08\x89\x3C\xA6\xF3"
13939 			  "\xF1\xDD\xA7\x07\xA3\x12\x85\x28"
13940 			  "\xE9\x57\xAC\x80\x0C\x5C\x0F\x3A"
13941 			  "\x5D\xC2\x91\xC7\x90\xE4\x8C\x43"
13942 			  "\x92\xE4\x7C\x26\x69\x4D\x83\x68"
13943 			  "\x14\x96\x42\x47\xBD\xA9\xE4\x8A"
13944 			  "\x33\x19\xEB\x54\x8E\x0D\x4B\x6E"
13945 			  "\x91\x51\xB5\x36\x08\xDE\x1C\x06"
13946 			  "\x03\xBD\xDE\x81\x26\xF7\x99\xC2"
13947 			  "\xBA\xF7\x6D\x87\x0D\xE4\xA6\xCF"
13948 			  "\xC1\xF5\x27\x05\xB8\x02\x57\x72"
13949 			  "\xE6\x42\x13\x0B\xC6\x47\x05\x74"
13950 			  "\x24\x15\xF7\x0D\xC2\x23\x9D\xB9"
13951 			  "\x3C\x77\x18\x93\xBA\xB4\xFC\x8C"
13952 			  "\x98\x82\x67\x67\xB4\xD7\xD3\x43"
13953 			  "\x23\x08\x02\xB7\x9B\x99\x05\xFB"
13954 			  "\xD3\xB5\x00\x0A\xA9\x9D\x66\xD6"
13955 			  "\x2E\x49\x58\xD0\xA8\x57\x29\x7F"
13956 			  "\x0A\x0E\x7D\xFC\x92\x83\xCC\x67"
13957 			  "\xA2\xB1\x70\x3A\x8F\x87\x4A\x8D"
13958 			  "\x17\xE2\x58\x2B\x88\x0D\x68\x62"
13959 			  "\xBF\x35\xD1\x6F\xC0\xF0\x18\x62"
13960 			  "\xB2\xC7\x2D\x58\xC7\x16\xDE\x08"
13961 			  "\xEB\x84\x1D\x25\xA7\x38\x94\x06"
13962 			  "\x93\x9D\xF8\xFE\x88\x71\xE7\x84"
13963 			  "\x2C\xA0\x38\xA3\x1D\x48\xCF\x29"
13964 			  "\x0B\xBC\xD8\x50\x99\x1A\x26\xFB"
13965 			  "\x8E\x75\x3D\x73\xEB\x6A\xED\x29"
13966 			  "\xE0\x8E\xED\xFC\xFE\x6F\xF6\xBA"
13967 			  "\x41\xE2\x10\x4C\x01\x8B\x69\x2B"
13968 			  "\x25\x3F\x4D\x70\x7B\x92\xD6\x3B"
13969 			  "\xAC\xF9\x77\x18\xD9\x6A\x30\xA6"
13970 			  "\x2E\xFA\x30\xFF\xC8\xD5\x1D\x06"
13971 			  "\x59\x28\x1D\x86\x43\x04\x5D\x3B"
13972 			  "\x99\x4C\x04\x5A\x21\x17\x8B\x76"
13973 			  "\x8F\x72\xCB\xA1\x9C\x29\x4C\xC3"
13974 			  "\x65\xA2\x58\x2A\xC5\x66\x24\xBF"
13975 			  "\xBA\xE6\x0C\xDD\x34\x24\x74\xC8"
13976 			  "\x84\x0A\x66\x2C\xBE\x8F\x32\xA9"
13977 			  "\xE7\xE4\xA1\xD7\xDA\xAB\x23\x1E"
13978 			  "\xEB\xEE\x6C\x94\x6F\x9C\x2E\xD1"
13979 			  "\x49\x2C\xF3\xD4\x90\xCC\x93\x4C"
13980 			  "\x84\x52\x6D\x68\xDE\xC6\x64\xB2"
13981 			  "\x11\x74\x93\x57\xB4\x7E\xC6\x00",
13982 		.ilen	= 496,
13983 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
13984 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
13985 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
13986 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
13987 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
13988 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
13989 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
13990 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
13991 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
13992 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
13993 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
13994 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
13995 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
13996 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
13997 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
13998 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
13999 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14000 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14001 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14002 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14003 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14004 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14005 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14006 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14007 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14008 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14009 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14010 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14011 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14012 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14013 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14014 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14015 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14016 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14017 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14018 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14019 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14020 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14021 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14022 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14023 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14024 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14025 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14026 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14027 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14028 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14029 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14030 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14031 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14032 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14033 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14034 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14035 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14036 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14037 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14038 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14039 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14040 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14041 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14042 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14043 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14044 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14045 		.rlen	= 496,
14046 		.also_non_np = 1,
14047 		.np	= 3,
14048 		.tap	= { 496 - 20, 4, 16 },
14049 	},
14050 };
14051 
14052 static const struct cipher_testvec cast6_cbc_enc_tv_template[] = {
14053 	{ /* Generated from TF test vectors */
14054 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14055 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14056 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14057 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14058 		.klen	= 32,
14059 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14060 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14061 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14062 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14063 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14064 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14065 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14066 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14067 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14068 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14069 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14070 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14071 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14072 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14073 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14074 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14075 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14076 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14077 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14078 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14079 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14080 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14081 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14082 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14083 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14084 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14085 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14086 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14087 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14088 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14089 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14090 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14091 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14092 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14093 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14094 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14095 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14096 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14097 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14098 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14099 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14100 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14101 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14102 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14103 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14104 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14105 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14106 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14107 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14108 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14109 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14110 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14111 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14112 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14113 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14114 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14115 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14116 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14117 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14118 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14119 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14120 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14121 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14122 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14123 		.ilen	= 496,
14124 		.result	= "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
14125 			  "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
14126 			  "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
14127 			  "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
14128 			  "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
14129 			  "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
14130 			  "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
14131 			  "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
14132 			  "\x57\x95\xE1\x21\x26\x10\x9A\x21"
14133 			  "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
14134 			  "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
14135 			  "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
14136 			  "\x23\x16\x47\x72\x81\x13\x3A\x72"
14137 			  "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
14138 			  "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
14139 			  "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
14140 			  "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
14141 			  "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
14142 			  "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
14143 			  "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
14144 			  "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
14145 			  "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
14146 			  "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
14147 			  "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
14148 			  "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
14149 			  "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
14150 			  "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
14151 			  "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
14152 			  "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
14153 			  "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
14154 			  "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
14155 			  "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
14156 			  "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
14157 			  "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
14158 			  "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
14159 			  "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
14160 			  "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
14161 			  "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
14162 			  "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
14163 			  "\x73\x3F\x12\x91\x47\x54\xBA\x39"
14164 			  "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
14165 			  "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
14166 			  "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
14167 			  "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
14168 			  "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
14169 			  "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
14170 			  "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
14171 			  "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
14172 			  "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
14173 			  "\x80\x21\x83\x58\x3C\x76\xFD\x28"
14174 			  "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
14175 			  "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
14176 			  "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
14177 			  "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
14178 			  "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
14179 			  "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
14180 			  "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
14181 			  "\x56\x4D\x82\x62\x37\xA3\x48\x01"
14182 			  "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
14183 			  "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
14184 			  "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
14185 			  "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
14186 		.rlen	= 496,
14187 		.also_non_np = 1,
14188 		.np	= 3,
14189 		.tap	= { 496 - 20, 4, 16 },
14190 	},
14191 };
14192 
14193 static const struct cipher_testvec cast6_cbc_dec_tv_template[] = {
14194 	{ /* Generated from TF test vectors */
14195 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14196 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14197 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14198 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14199 		.klen	= 32,
14200 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14201 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14202 		.input	= "\xDF\x77\x68\x96\xC7\xBA\xF8\xE2"
14203 			  "\x0E\x24\x99\x1A\xAA\xF3\xC6\x9F"
14204 			  "\xA0\x73\xB3\x70\xC3\x68\x64\x70"
14205 			  "\xAD\x33\x02\xFB\x88\x74\xAA\x78"
14206 			  "\xC7\x47\x1A\x18\x61\x2D\xAC\x9F"
14207 			  "\x7E\x6F\xDF\x05\x13\x76\xA6\x72"
14208 			  "\xB7\x13\x09\x0F\x7D\x38\xDF\x25"
14209 			  "\x4E\xFD\x50\x45\xFA\x35\x6A\xC0"
14210 			  "\x57\x95\xE1\x21\x26\x10\x9A\x21"
14211 			  "\xA1\x8A\x51\x05\xD1\xB1\x78\x35"
14212 			  "\x98\xF5\xAE\xC0\xC1\x8B\x94\xFF"
14213 			  "\xD0\x69\x3F\x42\xC2\x01\xA7\x9B"
14214 			  "\x23\x16\x47\x72\x81\x13\x3A\x72"
14215 			  "\xEC\xD9\x40\x88\x00\x9C\xB0\xA8"
14216 			  "\x9C\xAC\xCE\x11\x73\x7B\x63\x3E"
14217 			  "\xA3\x63\x98\x7D\x35\xE4\xD9\x83"
14218 			  "\xE2\xD0\x52\x87\x0C\x1F\xB0\xB3"
14219 			  "\x41\x1A\x93\x8D\x76\x31\x9F\xF2"
14220 			  "\xFE\x09\xA3\x8F\x22\x6A\x3B\xB9"
14221 			  "\x6C\x9E\xE4\xA1\xA0\xC4\xE7\xA1"
14222 			  "\x21\x9C\x1A\xCA\x65\xDE\x44\x03"
14223 			  "\x99\xF2\xD2\x39\xE3\x3F\x0F\x37"
14224 			  "\x53\x50\x23\xA4\x81\x6E\xDA\xFB"
14225 			  "\xF8\x7B\x01\xD7\xB2\x32\x9C\xB8"
14226 			  "\xB1\x0E\x99\x17\xB5\x38\xF9\xD7"
14227 			  "\x86\x2D\x6E\x94\x5C\x99\x9D\xB3"
14228 			  "\xD3\x63\x4B\x2A\x7D\x44\x6A\xB2"
14229 			  "\xC1\x03\xE6\x5A\x37\xD8\x64\x18"
14230 			  "\xAA\x32\xCE\x29\xED\xC0\xA2\xCB"
14231 			  "\x8D\xAF\xCD\xBE\x8F\xB6\xEC\xB4"
14232 			  "\x89\x05\x81\x6E\x71\x4F\xC3\x28"
14233 			  "\x10\xC1\x62\xC4\x41\xE9\xD2\x39"
14234 			  "\xF3\x22\x39\x12\x2C\xC2\x95\x2D"
14235 			  "\xBF\x93\x58\x4B\x04\xD1\x8D\x57"
14236 			  "\xAE\xEB\x60\x03\x56\x35\xAD\x5A"
14237 			  "\xE9\xC3\xFF\x4E\x31\xE1\x37\xF8"
14238 			  "\x7D\xEE\x65\x8A\xB6\x88\x1A\x3E"
14239 			  "\x07\x09\x82\xBA\xF0\x80\x8A\xD0"
14240 			  "\xA0\x3F\x6A\xE9\x24\x87\x19\x65"
14241 			  "\x73\x3F\x12\x91\x47\x54\xBA\x39"
14242 			  "\x30\x5B\x1E\xE5\xC2\xF9\x3F\xEF"
14243 			  "\xD6\x75\xF9\xB8\x7C\x8B\x05\x76"
14244 			  "\xEE\xB7\x08\x25\x4B\xB6\x7B\x47"
14245 			  "\x72\xC0\x4C\xD4\xDA\xE0\x75\xF1"
14246 			  "\x7C\xE8\x94\x9E\x16\x6E\xB8\x12"
14247 			  "\xA1\xC1\x6E\x3B\x1C\x59\x41\x2D"
14248 			  "\x23\xFA\x7D\x77\xB8\x46\x75\xFE"
14249 			  "\x4F\x10\xD3\x09\x60\xA1\x36\x96"
14250 			  "\x5B\xC2\xDC\x6E\x84\x7D\x9B\x14"
14251 			  "\x80\x21\x83\x58\x3C\x76\xFD\x28"
14252 			  "\x1D\xF9\x93\x13\xD7\x0E\x62\x14"
14253 			  "\x5A\xC5\x4E\x08\xA5\x56\xA4\x3C"
14254 			  "\x68\x93\x44\x70\xDF\xCF\x4A\x51"
14255 			  "\x0B\x81\x29\x41\xE5\x62\x4D\x36"
14256 			  "\xB3\xEA\x94\xA6\xB9\xDD\x3F\x09"
14257 			  "\x62\x34\xA0\x6A\x7E\x7D\xF5\xF6"
14258 			  "\x01\x91\xB4\x27\xDA\x59\xD6\x17"
14259 			  "\x56\x4D\x82\x62\x37\xA3\x48\x01"
14260 			  "\x99\x91\x77\xB2\x08\x6B\x2C\x37"
14261 			  "\xC5\x5C\xAD\xB6\x07\xB6\x84\xF3"
14262 			  "\x4D\x59\x7D\xC5\x28\x69\xFA\x92"
14263 			  "\x22\x46\x89\x2D\x0F\x2B\x08\x24",
14264 		.ilen	= 496,
14265 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14266 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14267 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14268 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14269 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14270 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14271 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14272 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14273 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14274 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14275 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14276 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14277 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14278 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14279 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14280 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14281 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14282 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14283 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14284 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14285 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14286 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14287 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14288 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14289 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14290 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14291 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14292 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14293 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14294 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14295 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14296 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14297 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14298 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14299 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14300 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14301 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14302 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14303 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14304 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14305 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14306 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14307 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14308 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14309 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14310 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14311 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14312 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14313 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14314 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14315 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14316 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14317 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14318 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14319 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14320 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14321 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14322 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14323 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14324 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14325 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14326 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14327 		.rlen	= 496,
14328 		.also_non_np = 1,
14329 		.np	= 3,
14330 		.tap	= { 496 - 20, 4, 16 },
14331 	},
14332 };
14333 
14334 static const struct cipher_testvec cast6_ctr_enc_tv_template[] = {
14335 	{ /* Generated from TF test vectors */
14336 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14337 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14338 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14339 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14340 		.klen	= 32,
14341 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14342 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14343 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14344 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14345 			  "\x3A",
14346 		.ilen	= 17,
14347 		.result	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14348 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14349 			  "\x57",
14350 		.rlen	= 17,
14351 	}, { /* Generated from TF test vectors */
14352 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14353 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14354 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14355 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14356 		.klen	= 32,
14357 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14358 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14359 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14360 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14361 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14362 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14363 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14364 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14365 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14366 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14367 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14368 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14369 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14370 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14371 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14372 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14373 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14374 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14375 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14376 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14377 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14378 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14379 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14380 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14381 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14382 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14383 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14384 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14385 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14386 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14387 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14388 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14389 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14390 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14391 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14392 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14393 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14394 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14395 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14396 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14397 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14398 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14399 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14400 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14401 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14402 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14403 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14404 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14405 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14406 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14407 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14408 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14409 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14410 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14411 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14412 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14413 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14414 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14415 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14416 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14417 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14418 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14419 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14420 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14421 		.ilen	= 496,
14422 		.result	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14423 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14424 			  "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
14425 			  "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
14426 			  "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
14427 			  "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
14428 			  "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
14429 			  "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
14430 			  "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
14431 			  "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
14432 			  "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
14433 			  "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
14434 			  "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
14435 			  "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
14436 			  "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
14437 			  "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
14438 			  "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
14439 			  "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
14440 			  "\x49\x61\x22\x52\x64\x8C\x46\x41"
14441 			  "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
14442 			  "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
14443 			  "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
14444 			  "\x00\x14\x15\x59\xC1\x30\x64\xAF"
14445 			  "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
14446 			  "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
14447 			  "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
14448 			  "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
14449 			  "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
14450 			  "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
14451 			  "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
14452 			  "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
14453 			  "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
14454 			  "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
14455 			  "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
14456 			  "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
14457 			  "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
14458 			  "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
14459 			  "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
14460 			  "\x60\x40\x38\x90\x20\x46\xC7\xB3"
14461 			  "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
14462 			  "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
14463 			  "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
14464 			  "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
14465 			  "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
14466 			  "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
14467 			  "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
14468 			  "\x73\xFC\x91\xAB\x79\x41\x23\x14"
14469 			  "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
14470 			  "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
14471 			  "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
14472 			  "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
14473 			  "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
14474 			  "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
14475 			  "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
14476 			  "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
14477 			  "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
14478 			  "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
14479 			  "\x19\x35\x88\x22\x45\x59\x0E\x8F"
14480 			  "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
14481 			  "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
14482 			  "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
14483 			  "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
14484 		.rlen	= 496,
14485 		.also_non_np = 1,
14486 		.np	= 3,
14487 		.tap	= { 496 - 20, 4, 16 },
14488 	},
14489 };
14490 
14491 static const struct cipher_testvec cast6_ctr_dec_tv_template[] = {
14492 	{ /* Generated from TF test vectors */
14493 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14494 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14495 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14496 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14497 		.klen	= 32,
14498 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14499 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14500 		.input	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14501 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14502 			  "\x57",
14503 		.ilen	= 17,
14504 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14505 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14506 			  "\x3A",
14507 		.rlen	= 17,
14508 	}, { /* Generated from TF test vectors */
14509 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
14510 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
14511 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
14512 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
14513 		.klen	= 32,
14514 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
14515 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
14516 		.input	= "\x26\x0A\xF1\xE2\x3F\x8A\xEF\xA3"
14517 			  "\x53\x9A\x5E\x1B\x2A\x1A\xC6\x0A"
14518 			  "\x57\xA3\xEF\x47\x2A\xE8\x88\xA7"
14519 			  "\x3C\xD0\xEC\xB9\x94\x50\x7D\x56"
14520 			  "\xBC\xE1\xC1\xF5\xE1\xEE\x12\xF8"
14521 			  "\x4F\x03\x82\x3A\x93\x6B\x4C\xD3"
14522 			  "\xE3\xF3\xFA\xC2\x23\x55\x98\x20"
14523 			  "\x49\x76\x9B\x6B\xC1\x23\xBF\xE5"
14524 			  "\xD4\xC4\x2F\x61\xE1\x67\x2A\x30"
14525 			  "\x6F\x29\xCA\x54\xF8\x1B\xA6\x7D"
14526 			  "\x66\x45\xEE\xC8\x19\xBE\x50\xF0"
14527 			  "\x5F\x65\xF8\x1E\x4D\x07\x87\xD9"
14528 			  "\xD3\xD9\x1B\x09\x89\xFD\x42\xC5"
14529 			  "\xDB\xEB\x86\xF1\x67\x04\x0F\x5C"
14530 			  "\x81\xDF\x82\x12\xC7\x4C\x1B\x07"
14531 			  "\xDE\xE6\xFA\x29\x86\xD1\xB0\xBA"
14532 			  "\x3D\x6A\x69\x76\xEC\x0F\xB4\xE6"
14533 			  "\xCD\xA7\xF8\xA8\xB8\xE0\x33\xF5"
14534 			  "\x49\x61\x22\x52\x64\x8C\x46\x41"
14535 			  "\x1F\x48\x5F\x4F\xA2\x89\x36\x17"
14536 			  "\x20\xF8\x2F\x8F\x4B\xFA\xF2\xC0"
14537 			  "\x1E\x18\xA2\xF8\xB7\x6D\x98\xE3"
14538 			  "\x00\x14\x15\x59\xC1\x30\x64\xAF"
14539 			  "\xA8\x01\x38\xAB\xD4\x8B\xEC\x7C"
14540 			  "\x44\x9A\xC6\x2C\x2E\x2B\x2B\xF4"
14541 			  "\x02\x37\xC4\x69\xEF\x36\xC1\xF3"
14542 			  "\xA0\xFB\xFE\x29\xAD\x39\xCF\xD0"
14543 			  "\x51\x73\xA3\x22\x42\x41\xAB\xD2"
14544 			  "\x0F\x50\x14\xB9\x54\xD3\xD4\xFA"
14545 			  "\xBF\xC9\xBB\xCE\xC4\x1D\x2D\xAF"
14546 			  "\xC9\x3F\x07\x87\x42\x4B\x3A\x54"
14547 			  "\x34\x8E\x37\xA3\x03\x6F\x65\x66"
14548 			  "\xDB\x44\xC3\xE8\xD7\xDD\x7D\xDD"
14549 			  "\x61\xB4\x2B\x80\xA3\x98\x13\xF5"
14550 			  "\x5A\xD3\x34\x58\xC3\x6E\xF6\xB8"
14551 			  "\x0A\xC6\x50\x01\x8E\xD5\x6C\x7D"
14552 			  "\xFE\x16\xB6\xCF\xFC\x51\x40\xAE"
14553 			  "\xB3\x15\xAC\x90\x6F\x0B\x28\x3A"
14554 			  "\x60\x40\x38\x90\x20\x46\xC7\xB3"
14555 			  "\x0B\x12\x6D\x3B\x15\x14\xF9\xF4"
14556 			  "\x11\x41\x76\x6B\xB3\x60\x82\x3C"
14557 			  "\x84\xFB\x08\x2E\x92\x25\xCB\x79"
14558 			  "\x6F\x58\xC5\x94\x00\x00\x47\xB6"
14559 			  "\x9E\xDC\x0F\x29\x70\x46\x20\x76"
14560 			  "\x65\x75\x66\x5C\x00\x96\xB3\xE1"
14561 			  "\x0B\xA7\x11\x8B\x2E\x61\x4E\x45"
14562 			  "\x73\xFC\x91\xAB\x79\x41\x23\x14"
14563 			  "\x13\xB6\x72\x6C\x46\xB3\x03\x11"
14564 			  "\xE4\xF1\xEE\xC9\x7A\xCF\x96\x32"
14565 			  "\xB6\xF0\x8B\x97\xB4\xCF\x82\xB7"
14566 			  "\x15\x48\x44\x99\x09\xF6\xE0\xD7"
14567 			  "\xBC\xF1\x5B\x91\x4F\x30\x22\xA2"
14568 			  "\x45\xC4\x68\x55\xC2\xBE\xA7\xD2"
14569 			  "\x12\x53\x35\x9C\xF9\xE7\x35\x5D"
14570 			  "\x81\xE4\x86\x42\xC3\x58\xFB\xF0"
14571 			  "\x38\x9B\x8E\x5A\xEF\x83\x33\x0F"
14572 			  "\x00\x4E\x3F\x9F\xF5\x84\x62\xC4"
14573 			  "\x19\x35\x88\x22\x45\x59\x0E\x8F"
14574 			  "\xEC\x27\xDD\x4A\xA4\x1F\xBC\x41"
14575 			  "\x9B\x66\x8D\x32\xBA\x81\x34\x87"
14576 			  "\x0E\x74\x33\x30\x62\xB9\x89\xDF"
14577 			  "\xF9\xC5\xDD\x27\xB3\x39\xCB\xCB",
14578 		.ilen	= 496,
14579 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
14580 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
14581 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
14582 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
14583 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
14584 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
14585 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
14586 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
14587 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
14588 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
14589 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
14590 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
14591 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
14592 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
14593 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
14594 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
14595 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
14596 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
14597 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
14598 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
14599 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
14600 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
14601 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
14602 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
14603 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
14604 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
14605 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
14606 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
14607 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
14608 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
14609 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
14610 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
14611 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
14612 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
14613 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
14614 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
14615 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
14616 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
14617 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
14618 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
14619 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
14620 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
14621 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
14622 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
14623 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
14624 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
14625 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
14626 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
14627 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
14628 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
14629 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
14630 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
14631 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
14632 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
14633 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
14634 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
14635 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
14636 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
14637 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
14638 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
14639 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
14640 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
14641 		.rlen	= 496,
14642 		.also_non_np = 1,
14643 		.np	= 3,
14644 		.tap	= { 496 - 20, 4, 16 },
14645 	},
14646 };
14647 
14648 static const struct cipher_testvec cast6_lrw_enc_tv_template[] = {
14649 	{ /* Generated from TF test vectors */
14650 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14651 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14652 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14653 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14654 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14655 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14656 		.klen	= 48,
14657 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
14658 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
14659 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14660 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14661 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14662 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14663 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14664 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14665 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14666 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14667 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14668 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14669 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14670 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14671 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14672 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14673 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14674 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14675 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14676 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14677 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14678 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14679 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14680 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14681 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14682 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14683 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14684 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14685 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14686 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14687 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14688 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14689 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14690 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14691 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14692 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14693 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14694 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14695 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14696 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14697 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14698 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14699 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14700 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14701 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14702 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14703 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14704 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14705 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14706 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14707 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14708 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14709 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14710 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14711 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14712 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14713 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14714 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14715 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14716 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14717 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14718 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14719 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14720 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14721 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14722 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14723 		.ilen	= 512,
14724 		.result	= "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
14725 			  "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
14726 			  "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
14727 			  "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
14728 			  "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
14729 			  "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
14730 			  "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
14731 			  "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
14732 			  "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
14733 			  "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
14734 			  "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
14735 			  "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
14736 			  "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
14737 			  "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
14738 			  "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
14739 			  "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
14740 			  "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
14741 			  "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
14742 			  "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
14743 			  "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
14744 			  "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
14745 			  "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
14746 			  "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
14747 			  "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
14748 			  "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
14749 			  "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
14750 			  "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
14751 			  "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
14752 			  "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
14753 			  "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
14754 			  "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
14755 			  "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
14756 			  "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
14757 			  "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
14758 			  "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
14759 			  "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
14760 			  "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
14761 			  "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
14762 			  "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
14763 			  "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
14764 			  "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
14765 			  "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
14766 			  "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
14767 			  "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
14768 			  "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
14769 			  "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
14770 			  "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
14771 			  "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
14772 			  "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
14773 			  "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
14774 			  "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
14775 			  "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
14776 			  "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
14777 			  "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
14778 			  "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
14779 			  "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
14780 			  "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
14781 			  "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
14782 			  "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
14783 			  "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
14784 			  "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
14785 			  "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
14786 			  "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
14787 			  "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
14788 		.rlen	= 512,
14789 		.also_non_np = 1,
14790 		.np	= 3,
14791 		.tap	= { 512 - 20, 4, 16 },
14792 	},
14793 };
14794 
14795 static const struct cipher_testvec cast6_lrw_dec_tv_template[] = {
14796 	{ /* Generated from TF test vectors */
14797 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
14798 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
14799 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
14800 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
14801 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
14802 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
14803 		.klen	= 48,
14804 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
14805 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
14806 		.input	= "\x55\x25\x09\x8B\xB5\xD5\xF8\xBF"
14807 			  "\x37\x4A\xFE\x3C\x47\xD8\xE6\xEB"
14808 			  "\xCA\xA4\x9B\xB0\xAB\x6D\x64\xCA"
14809 			  "\x58\xB6\x73\xF0\xD7\x52\x34\xEF"
14810 			  "\xFB\x3E\x96\x81\xB7\x71\x34\xA4"
14811 			  "\x55\x20\xBE\x39\x5A\x2B\xF9\xD1"
14812 			  "\x65\x0B\xDA\xD3\x7E\xB3\xA6\xF7"
14813 			  "\x2E\x0B\x5A\x52\xDB\x39\x8C\x9B"
14814 			  "\x61\x17\x5F\xAF\xB6\x5A\xC8\x08"
14815 			  "\xA7\xB7\x2A\x11\x7C\x97\x38\x9D"
14816 			  "\x59\x0E\x66\x59\x5E\xD8\x8B\xCE"
14817 			  "\x70\xE0\xC3\x42\xB0\x8C\x0F\xBA"
14818 			  "\xB2\x0D\x81\xB6\xBE\x61\x1C\x2D"
14819 			  "\x7E\xEA\x91\x25\xAC\xEC\xF8\x28"
14820 			  "\x80\x1D\xF0\x30\xBA\x62\x77\x7D"
14821 			  "\xDB\x15\x69\xDF\xFA\x2A\x81\x64"
14822 			  "\x95\x5B\xA4\x7F\x3E\x4F\xE3\x30"
14823 			  "\xB0\x5C\xC2\x05\xF8\xF0\x29\xE7"
14824 			  "\x0A\xA0\x66\xB2\x5D\x0F\x39\x2B"
14825 			  "\xB4\xB3\x00\xA9\xD0\xAB\x63\x61"
14826 			  "\x5E\xDB\xFC\x11\x74\x25\x96\x65"
14827 			  "\xE8\xE2\x34\x57\x77\x15\x5E\x70"
14828 			  "\xFF\x10\x90\xC3\x64\xF0\x11\x0A"
14829 			  "\x63\x3A\xD3\x55\x92\x15\x4B\x0C"
14830 			  "\xC7\x08\x89\x17\x3B\x99\xAD\x63"
14831 			  "\xE7\x06\xDF\x52\xBC\x15\x64\x45"
14832 			  "\x9D\x7A\xFB\x69\xBC\x2D\x6E\xA9"
14833 			  "\x35\xD9\xD8\xF5\x0C\xC4\xA2\x23"
14834 			  "\x9C\x18\x8B\xA8\x8C\xFE\xF8\x0E"
14835 			  "\xBD\xAB\x60\x1A\x51\x17\x54\x27"
14836 			  "\xB6\xE8\xBE\x0F\xA9\xA5\x82\x19"
14837 			  "\x2F\x6F\x20\xA7\x47\xED\x74\x6C"
14838 			  "\x4E\xC1\xF8\x8C\x14\xF3\xBB\x1F"
14839 			  "\xED\x4D\x8F\x7C\x37\xEF\x19\xA1"
14840 			  "\x07\x16\xDE\x76\xCC\x5E\x94\x02"
14841 			  "\xFB\xBF\xE4\x81\x50\xCE\xFC\x0F"
14842 			  "\x9E\xCF\x3D\xF6\x67\x00\xBF\xA7"
14843 			  "\x6E\x21\x58\x36\x06\xDE\xB3\xD4"
14844 			  "\xA2\xFA\xD8\x4E\xE0\xB9\x7F\x23"
14845 			  "\x51\x21\x2B\x32\x68\xAA\xF8\xA8"
14846 			  "\x93\x08\xB5\x6D\xE6\x43\x2C\xB7"
14847 			  "\x31\xB2\x0F\xD0\xA2\x51\xC0\x25"
14848 			  "\x30\xC7\x10\x3F\x97\x27\x01\x8E"
14849 			  "\xFA\xD8\x4F\x78\xD8\x2E\x1D\xEB"
14850 			  "\xA1\x37\x52\x0F\x7B\x5E\x87\xA8"
14851 			  "\x22\xE2\xE6\x92\xA7\x5F\x11\x32"
14852 			  "\xCC\x93\x34\xFC\xD1\x7E\xAE\x54"
14853 			  "\xBC\x6A\x1B\x91\xD1\x2E\x21\xEC"
14854 			  "\x5D\xF1\xC4\xF1\x55\x20\xBF\xE5"
14855 			  "\x96\x3D\x69\x91\x20\x4E\xF2\x61"
14856 			  "\xDA\x77\xFE\xEE\xC3\x74\x57\x2A"
14857 			  "\x78\x39\xB0\xE0\xCF\x12\x56\xD6"
14858 			  "\x05\xDC\xF9\x19\x66\x44\x1D\xF9"
14859 			  "\x82\x37\xD4\xC2\x60\xB6\x31\xDF"
14860 			  "\x0C\xAF\xBC\x8B\x55\x9A\xC8\x2D"
14861 			  "\xAB\xA7\x88\x7B\x41\xE8\x29\xC9"
14862 			  "\x9B\x8D\xA7\x00\x86\x25\xB6\x14"
14863 			  "\xF5\x13\x73\xD7\x4B\x6B\x83\xF3"
14864 			  "\xAF\x96\x00\xE4\xB7\x3C\x65\xA6"
14865 			  "\x15\xB7\x94\x7D\x4E\x70\x4C\x75"
14866 			  "\xF3\xB4\x02\xA9\x17\x1C\x7A\x0A"
14867 			  "\xC0\xD5\x33\x11\x56\xDE\xDC\xF5"
14868 			  "\x8D\xD9\xCD\x3B\x22\x67\x18\xC7"
14869 			  "\xC4\xF5\x99\x61\xBC\xBB\x5B\x46",
14870 		.ilen	= 512,
14871 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
14872 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
14873 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
14874 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
14875 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
14876 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
14877 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
14878 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
14879 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
14880 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
14881 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
14882 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
14883 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
14884 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
14885 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
14886 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
14887 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
14888 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
14889 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
14890 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
14891 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
14892 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
14893 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
14894 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
14895 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
14896 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
14897 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
14898 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
14899 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
14900 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
14901 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
14902 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
14903 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
14904 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
14905 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
14906 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
14907 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
14908 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
14909 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
14910 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
14911 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
14912 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
14913 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
14914 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
14915 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
14916 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
14917 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
14918 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
14919 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
14920 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
14921 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
14922 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
14923 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
14924 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
14925 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
14926 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
14927 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
14928 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
14929 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
14930 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
14931 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
14932 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
14933 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
14934 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
14935 		.rlen	= 512,
14936 		.also_non_np = 1,
14937 		.np	= 3,
14938 		.tap	= { 512 - 20, 4, 16 },
14939 	},
14940 };
14941 
14942 static const struct cipher_testvec cast6_xts_enc_tv_template[] = {
14943 	{ /* Generated from TF test vectors */
14944 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
14945 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
14946 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
14947 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
14948 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
14949 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
14950 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
14951 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
14952 		.klen	= 64,
14953 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
14954 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
14955 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
14956 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14957 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
14958 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14959 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
14960 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14961 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
14962 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14963 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
14964 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14965 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
14966 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14967 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
14968 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
14969 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
14970 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
14971 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
14972 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
14973 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
14974 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
14975 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
14976 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
14977 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
14978 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
14979 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
14980 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
14981 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
14982 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
14983 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
14984 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
14985 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
14986 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
14987 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
14988 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
14989 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
14990 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
14991 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
14992 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
14993 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
14994 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
14995 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
14996 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
14997 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
14998 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
14999 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
15000 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15001 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
15002 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15003 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
15004 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15005 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
15006 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15007 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15008 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15009 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15010 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15011 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15012 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15013 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15014 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15015 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15016 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15017 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15018 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15019 		.ilen	= 512,
15020 		.result	= "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
15021 			  "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
15022 			  "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
15023 			  "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
15024 			  "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
15025 			  "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
15026 			  "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
15027 			  "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
15028 			  "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
15029 			  "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
15030 			  "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
15031 			  "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
15032 			  "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
15033 			  "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
15034 			  "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
15035 			  "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
15036 			  "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
15037 			  "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
15038 			  "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
15039 			  "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
15040 			  "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
15041 			  "\x71\x38\x17\x91\x44\xE8\xFC\x65"
15042 			  "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
15043 			  "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
15044 			  "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
15045 			  "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
15046 			  "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
15047 			  "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
15048 			  "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
15049 			  "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
15050 			  "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
15051 			  "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
15052 			  "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
15053 			  "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
15054 			  "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
15055 			  "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
15056 			  "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
15057 			  "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
15058 			  "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
15059 			  "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
15060 			  "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
15061 			  "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
15062 			  "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
15063 			  "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
15064 			  "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
15065 			  "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
15066 			  "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
15067 			  "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
15068 			  "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
15069 			  "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
15070 			  "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
15071 			  "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
15072 			  "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
15073 			  "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
15074 			  "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
15075 			  "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
15076 			  "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
15077 			  "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
15078 			  "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
15079 			  "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
15080 			  "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
15081 			  "\x45\x72\x80\x17\x81\xBD\x9D\x62"
15082 			  "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
15083 			  "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
15084 		.rlen	= 512,
15085 		.also_non_np = 1,
15086 		.np	= 3,
15087 		.tap	= { 512 - 20, 4, 16 },
15088 	},
15089 };
15090 
15091 static const struct cipher_testvec cast6_xts_dec_tv_template[] = {
15092 	{ /* Generated from TF test vectors */
15093 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
15094 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
15095 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
15096 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
15097 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
15098 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
15099 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
15100 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
15101 		.klen	= 64,
15102 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
15103 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
15104 		.input	= "\xDE\x6F\x22\xA5\xE8\x39\xE8\x78"
15105 			  "\x88\x5A\x4F\x8D\x82\x76\x52\x6D"
15106 			  "\xB2\x41\x16\xF4\x2B\xA6\xEB\xF6"
15107 			  "\xE2\xC5\x62\x8D\x61\xA1\x01\xED"
15108 			  "\xD9\x38\x01\xC1\x43\x63\x4E\x88"
15109 			  "\xC9\x4B\x5A\x88\x80\xB7\x5C\x71"
15110 			  "\x47\xEE\x11\xD8\xB7\x2D\x5D\x13"
15111 			  "\x1A\xB1\x68\x5B\x61\xA7\xA9\x81"
15112 			  "\x8B\x83\xA1\x6A\xAA\x36\xD6\xB6"
15113 			  "\x60\x54\x09\x32\xFE\x6A\x76\x2E"
15114 			  "\x28\xFF\xD5\xD6\xDD\x1D\x45\x7D"
15115 			  "\xF0\x8B\xF3\x32\x4E\x6C\x12\xCB"
15116 			  "\xB8\x25\x70\xF8\x40\xBC\x90\x1B"
15117 			  "\x11\xC3\x59\xAF\xF0\x2F\x92\xDD"
15118 			  "\xD3\x3B\xCF\x60\xA1\x78\x94\x57"
15119 			  "\xAF\x76\xC1\x67\xA6\x3C\xCD\x98"
15120 			  "\xB1\xF7\x27\xB9\xA3\xBD\x10\xEA"
15121 			  "\xCD\x8B\xC2\xF2\x14\xF2\xB2\x67"
15122 			  "\x05\xDD\x1D\x58\x6E\x2F\x95\x08"
15123 			  "\x3A\xF8\x78\x76\x82\x56\xA7\xEC"
15124 			  "\x51\x4B\x85\x77\xC2\x4C\x4A\x34"
15125 			  "\x71\x38\x17\x91\x44\xE8\xFC\x65"
15126 			  "\x99\x0D\x52\x91\xEE\xF8\xEF\x27"
15127 			  "\x2A\x9E\x6E\x78\xC4\x26\x87\xF4"
15128 			  "\x8A\xF0\x2D\x04\xE8\x14\x92\x5D"
15129 			  "\x59\x22\x9B\x29\x5C\x18\xF0\xC3"
15130 			  "\x47\xF3\x76\xD8\xE4\xF3\x1B\xD1"
15131 			  "\x70\xA3\x0D\xB5\x70\x02\x1D\xA3"
15132 			  "\x91\x3B\x49\x73\x18\xAB\xD4\xC9"
15133 			  "\xC3\x1E\xEF\x1F\xFE\xD5\x59\x8A"
15134 			  "\xD7\xF6\xC9\x71\x67\x79\xD7\x0E"
15135 			  "\xBE\x1F\x8E\xEC\x55\x7E\x4F\x24"
15136 			  "\xE6\x87\xEA\xFE\x96\x25\x67\x8E"
15137 			  "\x93\x03\xFA\xFF\xCE\xAF\xB2\x3C"
15138 			  "\x6F\xEB\x57\xFB\xD3\x28\x87\xA9"
15139 			  "\xCE\xC2\xF5\x9C\xC6\x67\xB5\x97"
15140 			  "\x49\xF7\x04\xCB\xEF\x84\x98\x33"
15141 			  "\xAF\x38\xD3\x04\x1C\x24\x71\x38"
15142 			  "\xC7\x71\xDD\x43\x0D\x12\x4A\x18"
15143 			  "\xBA\xC4\xAF\xBA\xB2\x5B\xEB\x95"
15144 			  "\x02\x43\x5D\xCE\x19\xCC\xCD\x66"
15145 			  "\x91\x0B\x8C\x7F\x51\xC4\xBF\x3C"
15146 			  "\x8B\xF1\xCC\xAA\x29\xD7\x87\xCB"
15147 			  "\x3E\xC5\xF3\xC9\x75\xE8\xA3\x5B"
15148 			  "\x30\x45\xA9\xB7\xAF\x80\x64\x6F"
15149 			  "\x75\x4A\xA7\xC0\x6D\x19\x6B\xDE"
15150 			  "\x17\xDE\x6D\xEA\x87\x9F\x95\xAE"
15151 			  "\xF5\x3C\xEE\x54\xB8\x27\x84\xF8"
15152 			  "\x97\xA3\xE1\x6F\x38\x24\x34\x88"
15153 			  "\xCE\xBD\x32\x52\xE0\x00\x6C\x94"
15154 			  "\xC9\xD7\x5D\x37\x81\x33\x2E\x7F"
15155 			  "\x4F\x7E\x2E\x0D\x94\xBD\xEA\x59"
15156 			  "\x34\x39\xA8\x35\x12\xB7\xBC\xAC"
15157 			  "\xEA\x52\x9C\x78\x02\x6D\x92\x36"
15158 			  "\xFB\x59\x2B\xA4\xEA\x7B\x1B\x83"
15159 			  "\xE1\x4D\x5E\x2A\x7E\x92\xB1\x64"
15160 			  "\xDE\xE0\x27\x4B\x0A\x6F\x4C\xE3"
15161 			  "\xB0\xEB\x31\xE4\x69\x95\xAB\x35"
15162 			  "\x8B\x2C\xF5\x6B\x7F\xF1\xA2\x82"
15163 			  "\xF8\xD9\x47\x82\xA9\x82\x03\x91"
15164 			  "\x69\x1F\xBE\x4C\xE7\xC7\x34\x2F"
15165 			  "\x45\x72\x80\x17\x81\xBD\x9D\x62"
15166 			  "\xA1\xAC\xE8\xCF\xC6\x74\xCF\xDC"
15167 			  "\x22\x60\x4E\xE8\xA4\x5D\x85\xB9",
15168 		.ilen	= 512,
15169 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15170 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15171 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15172 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15173 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
15174 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15175 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
15176 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15177 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
15178 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15179 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
15180 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15181 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
15182 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15183 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
15184 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15185 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
15186 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15187 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
15188 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15189 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15190 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15191 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15192 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15193 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15194 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15195 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15196 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15197 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15198 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15199 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15200 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
15201 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
15202 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15203 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15204 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
15205 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
15206 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
15207 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
15208 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
15209 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
15210 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
15211 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
15212 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
15213 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
15214 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
15215 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
15216 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
15217 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
15218 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
15219 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
15220 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
15221 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
15222 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
15223 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
15224 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
15225 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
15226 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
15227 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
15228 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
15229 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
15230 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
15231 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
15232 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
15233 		.rlen	= 512,
15234 		.also_non_np = 1,
15235 		.np	= 3,
15236 		.tap	= { 512 - 20, 4, 16 },
15237 	},
15238 };
15239 
15240 
15241 /*
15242  * AES test vectors.
15243  */
15244 static const struct cipher_testvec aes_enc_tv_template[] = {
15245 	{ /* From FIPS-197 */
15246 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15247 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15248 		.klen	= 16,
15249 		.input	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15250 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15251 		.ilen	= 16,
15252 		.result	= "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
15253 			  "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
15254 		.rlen	= 16,
15255 	}, {
15256 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15257 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15258 			  "\x10\x11\x12\x13\x14\x15\x16\x17",
15259 		.klen	= 24,
15260 		.input	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15261 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15262 		.ilen	= 16,
15263 		.result	= "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
15264 			  "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
15265 		.rlen	= 16,
15266 	}, {
15267 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15268 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15269 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15270 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15271 		.klen	= 32,
15272 		.input	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15273 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15274 		.ilen	= 16,
15275 		.result	= "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
15276 			  "\xea\xfc\x49\x90\x4b\x49\x60\x89",
15277 		.rlen	= 16,
15278 	}, { /* Generated with Crypto++ */
15279 		.key	= "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
15280 			  "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
15281 			  "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
15282 			  "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
15283 		.klen	= 32,
15284 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15285 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15286 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15287 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15288 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15289 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15290 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15291 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15292 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15293 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15294 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15295 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15296 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15297 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15298 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15299 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15300 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15301 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15302 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15303 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15304 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15305 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15306 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15307 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15308 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15309 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15310 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15311 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15312 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15313 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15314 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15315 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15316 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15317 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15318 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15319 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15320 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15321 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15322 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15323 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15324 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15325 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15326 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15327 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15328 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15329 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15330 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15331 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15332 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15333 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15334 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15335 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15336 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15337 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15338 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15339 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15340 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15341 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15342 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15343 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15344 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15345 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15346 		.ilen	= 496,
15347 		.result	= "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
15348 			  "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
15349 			  "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
15350 			  "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
15351 			  "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
15352 			  "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
15353 			  "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
15354 			  "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
15355 			  "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
15356 			  "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
15357 			  "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
15358 			  "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
15359 			  "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
15360 			  "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
15361 			  "\x41\x72\x51\x97\x1D\x07\x49\xA0"
15362 			  "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
15363 			  "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
15364 			  "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
15365 			  "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
15366 			  "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
15367 			  "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
15368 			  "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
15369 			  "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
15370 			  "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
15371 			  "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
15372 			  "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
15373 			  "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
15374 			  "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
15375 			  "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
15376 			  "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
15377 			  "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
15378 			  "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
15379 			  "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
15380 			  "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
15381 			  "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
15382 			  "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
15383 			  "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
15384 			  "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
15385 			  "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
15386 			  "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
15387 			  "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
15388 			  "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
15389 			  "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
15390 			  "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
15391 			  "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
15392 			  "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
15393 			  "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
15394 			  "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
15395 			  "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
15396 			  "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
15397 			  "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
15398 			  "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
15399 			  "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
15400 			  "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
15401 			  "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
15402 			  "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
15403 			  "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
15404 			  "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
15405 			  "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
15406 			  "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
15407 			  "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
15408 			  "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
15409 		.rlen	= 496,
15410 		.also_non_np = 1,
15411 		.np	= 3,
15412 		.tap	= { 496 - 20, 4, 16 },
15413 	},
15414 };
15415 
15416 static const struct cipher_testvec aes_dec_tv_template[] = {
15417 	{ /* From FIPS-197 */
15418 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15419 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15420 		.klen	= 16,
15421 		.input	= "\x69\xc4\xe0\xd8\x6a\x7b\x04\x30"
15422 			  "\xd8\xcd\xb7\x80\x70\xb4\xc5\x5a",
15423 		.ilen	= 16,
15424 		.result	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15425 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15426 		.rlen	= 16,
15427 	}, {
15428 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15429 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15430 			  "\x10\x11\x12\x13\x14\x15\x16\x17",
15431 		.klen	= 24,
15432 		.input	= "\xdd\xa9\x7c\xa4\x86\x4c\xdf\xe0"
15433 			  "\x6e\xaf\x70\xa0\xec\x0d\x71\x91",
15434 		.ilen	= 16,
15435 		.result	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15436 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15437 		.rlen	= 16,
15438 	}, {
15439 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15440 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15441 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15442 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15443 		.klen	= 32,
15444 		.input	= "\x8e\xa2\xb7\xca\x51\x67\x45\xbf"
15445 			  "\xea\xfc\x49\x90\x4b\x49\x60\x89",
15446 		.ilen	= 16,
15447 		.result	= "\x00\x11\x22\x33\x44\x55\x66\x77"
15448 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
15449 		.rlen	= 16,
15450 	}, { /* Generated with Crypto++ */
15451 		.key	= "\xA6\xC9\x83\xA6\xC9\xEC\x0F\x32"
15452 			  "\x55\x0F\x32\x55\x78\x9B\xBE\x78"
15453 			  "\x9B\xBE\xE1\x04\x27\xE1\x04\x27"
15454 			  "\x4A\x6D\x90\x4A\x6D\x90\xB3\xD6",
15455 		.klen	= 32,
15456 		.input	= "\x71\x73\xF7\xDB\x24\x93\x21\x6D"
15457 			  "\x61\x1E\xBB\x63\x42\x79\xDB\x64"
15458 			  "\x6F\x82\xC0\xCA\xA3\x9B\xFA\x0B"
15459 			  "\xD9\x08\xC7\x4A\x90\xAE\x8F\x5F"
15460 			  "\x5E\x06\xF0\x5F\x31\x51\x18\x37"
15461 			  "\x45\xD7\xCA\x3A\xFD\x6C\x3F\xE1"
15462 			  "\xDD\x8D\x22\x65\x2B\x00\x50\xCE"
15463 			  "\xBA\x28\x67\xD7\xCE\x0E\x0D\xEA"
15464 			  "\x78\x69\x7F\xAE\x8F\x8B\x69\x37"
15465 			  "\x75\xE0\xDC\x96\xE0\xB7\xF4\x09"
15466 			  "\xCB\x6D\xA2\xFB\xDA\xAF\x09\xF8"
15467 			  "\x81\x82\x27\xFA\x45\x9C\x29\xA4"
15468 			  "\x22\x8B\x78\x69\x5B\x46\xF9\x39"
15469 			  "\x1B\xCC\xF9\x1D\x09\xEB\xBC\x5C"
15470 			  "\x41\x72\x51\x97\x1D\x07\x49\xA0"
15471 			  "\x1B\x8E\x65\x4B\xB2\x6A\x12\x03"
15472 			  "\x6A\x60\x95\xAC\xBD\xAC\x1A\x64"
15473 			  "\xDE\x5A\xA5\xF0\x83\x2F\xCB\xCA"
15474 			  "\x22\x74\xA6\x6C\x9B\x73\xCE\x3F"
15475 			  "\xE1\x8B\x22\x17\x59\x0C\x47\x89"
15476 			  "\x33\xA1\xD6\x47\x03\x19\x4F\xA8"
15477 			  "\x67\x69\xF0\x5B\xF0\x20\xAD\x06"
15478 			  "\x27\x81\x92\xD8\xC5\xBA\x98\x12"
15479 			  "\xBE\x24\xB5\x2F\x75\x02\xC2\xAD"
15480 			  "\x12\x2F\x07\x32\xEE\x39\xAF\x64"
15481 			  "\x05\x8F\xB3\xD4\xEB\x1B\x46\x6E"
15482 			  "\xD9\x21\xF9\xC4\xB7\xC9\x45\x68"
15483 			  "\xB4\xA1\x74\x9F\x82\x47\xEB\xCC"
15484 			  "\xBD\x0A\x14\x95\x0F\x8B\xA8\x2F"
15485 			  "\x4B\x1B\xA7\xBF\x82\xA6\x43\x0C"
15486 			  "\xB9\x39\x4A\xA8\x10\x6F\x50\x7B"
15487 			  "\x25\xFB\x26\x81\xE0\x2F\xF0\x96"
15488 			  "\x8D\x8B\xAC\x92\x0F\xF6\xED\x64"
15489 			  "\x63\x29\x4C\x8E\x18\x13\xC5\xBF"
15490 			  "\xFC\xA0\xD9\xBF\x7C\x3A\x0E\x29"
15491 			  "\x6F\xD1\x6C\x6F\xA5\xDA\xBF\xB1"
15492 			  "\x30\xEA\x44\x2D\xC3\x8F\x16\xE1"
15493 			  "\x66\xFA\xA3\x21\x3E\xFC\x13\xCA"
15494 			  "\xF0\xF6\xF0\x59\xBD\x8F\x38\x50"
15495 			  "\x31\xCB\x69\x3F\x96\x15\xD6\xF5"
15496 			  "\xAE\xFF\xF6\xAA\x41\x85\x4C\x10"
15497 			  "\x58\xE3\xF9\x44\xE6\x28\xDA\x9A"
15498 			  "\xDC\x6A\x80\x34\x73\x97\x1B\xC5"
15499 			  "\xCA\x26\x16\x77\x0E\x60\xAB\x89"
15500 			  "\x0F\x04\x27\xBD\xCE\x3E\x71\xB4"
15501 			  "\xA0\xD7\x22\x7E\xDB\xEB\x24\x70"
15502 			  "\x42\x71\x51\x78\x70\xB3\xE0\x3D"
15503 			  "\x84\x8E\x8D\x7B\xD0\x6D\xEA\x92"
15504 			  "\x11\x08\x42\x4F\xE5\xAD\x26\x92"
15505 			  "\xD2\x00\xAE\xA8\xE3\x4B\x37\x47"
15506 			  "\x22\xC1\x95\xC1\x63\x7F\xCB\x03"
15507 			  "\xF3\xE3\xD7\x9D\x60\xC7\xBC\xEA"
15508 			  "\x35\xA2\xFD\x45\x52\x39\x13\x6F"
15509 			  "\xC1\x53\xF3\x53\xDF\x33\x84\xD7"
15510 			  "\xD2\xC8\x37\xB0\x75\xE3\x41\x46"
15511 			  "\xB3\xC7\x83\x2E\x8A\xBB\xA4\xE5"
15512 			  "\x7F\x3C\xFD\x8B\xEB\xEA\x63\xBD"
15513 			  "\xB7\x46\xE7\xBF\x09\x9C\x0D\x0F"
15514 			  "\x40\x86\x7F\x51\xE1\x11\x9C\xCB"
15515 			  "\x88\xE6\x68\x47\xE3\x2B\xC5\xFF"
15516 			  "\x09\x79\xA0\x43\x5C\x0D\x08\x58"
15517 			  "\x17\xBB\xC0\x6B\x62\x3F\x56\xE9",
15518 		.ilen	= 496,
15519 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15520 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15521 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15522 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15523 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15524 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15525 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15526 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15527 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15528 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15529 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15530 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15531 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15532 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15533 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15534 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15535 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15536 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15537 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15538 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15539 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15540 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15541 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15542 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15543 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15544 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15545 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15546 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15547 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15548 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15549 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15550 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15551 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15552 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15553 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15554 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15555 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15556 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15557 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15558 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15559 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15560 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15561 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15562 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15563 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15564 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15565 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15566 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15567 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15568 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15569 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15570 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15571 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15572 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15573 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15574 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15575 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15576 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15577 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15578 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15579 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15580 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15581 		.rlen	= 496,
15582 		.also_non_np = 1,
15583 		.np	= 3,
15584 		.tap	= { 496 - 20, 4, 16 },
15585 	},
15586 };
15587 
15588 static const struct cipher_testvec aes_cbc_enc_tv_template[] = {
15589 	{ /* From RFC 3602 */
15590 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15591 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15592 		.klen   = 16,
15593 		.iv	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15594 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15595 		.input	= "Single block msg",
15596 		.ilen   = 16,
15597 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15598 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
15599 		.rlen   = 16,
15600 		.also_non_np = 1,
15601 		.np	= 8,
15602 		.tap	= { 3, 2, 3, 2, 3, 1, 1, 1 },
15603 	}, {
15604 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15605 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15606 		.klen   = 16,
15607 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15608 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15609 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
15610 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15611 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15612 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15613 		.ilen   = 32,
15614 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15615 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15616 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15617 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
15618 		.rlen   = 32,
15619 	}, { /* From NIST SP800-38A */
15620 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15621 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15622 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15623 		.klen	= 24,
15624 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15625 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15626 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15627 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15628 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15629 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15630 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15631 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15632 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15633 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15634 		.ilen	= 64,
15635 		.result	= "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15636 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15637 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15638 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
15639 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
15640 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
15641 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15642 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
15643 		.rlen	= 64,
15644 	}, {
15645 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15646 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15647 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15648 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15649 		.klen	= 32,
15650 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15651 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15652 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15653 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15654 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15655 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15656 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15657 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15658 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15659 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15660 		.ilen	= 64,
15661 		.result	= "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15662 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15663 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15664 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15665 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15666 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15667 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15668 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
15669 		.rlen	= 64,
15670 	}, { /* Generated with Crypto++ */
15671 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15672 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15673 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15674 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
15675 		.klen	= 32,
15676 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
15677 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
15678 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15679 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15680 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15681 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15682 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15683 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15684 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15685 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15686 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15687 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15688 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15689 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15690 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15691 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15692 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15693 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15694 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15695 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15696 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15697 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15698 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15699 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15700 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15701 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15702 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15703 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15704 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15705 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15706 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15707 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15708 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15709 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15710 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15711 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15712 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15713 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15714 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
15715 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
15716 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
15717 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
15718 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
15719 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
15720 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
15721 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
15722 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
15723 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
15724 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
15725 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
15726 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
15727 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
15728 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
15729 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
15730 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
15731 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
15732 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
15733 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
15734 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
15735 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
15736 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
15737 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
15738 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
15739 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
15740 		.ilen	= 496,
15741 		.result	= "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
15742 			  "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
15743 			  "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
15744 			  "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
15745 			  "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
15746 			  "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
15747 			  "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
15748 			  "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
15749 			  "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
15750 			  "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
15751 			  "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
15752 			  "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
15753 			  "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
15754 			  "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
15755 			  "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
15756 			  "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
15757 			  "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
15758 			  "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
15759 			  "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
15760 			  "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
15761 			  "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
15762 			  "\x16\x24\x02\x07\x48\xAE\xF2\x31"
15763 			  "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
15764 			  "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
15765 			  "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
15766 			  "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
15767 			  "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
15768 			  "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
15769 			  "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
15770 			  "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
15771 			  "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
15772 			  "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
15773 			  "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
15774 			  "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
15775 			  "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
15776 			  "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
15777 			  "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
15778 			  "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
15779 			  "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
15780 			  "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
15781 			  "\x22\x39\x7B\x16\x03\x01\x69\xAF"
15782 			  "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
15783 			  "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
15784 			  "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
15785 			  "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
15786 			  "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
15787 			  "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
15788 			  "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
15789 			  "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
15790 			  "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
15791 			  "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
15792 			  "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
15793 			  "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
15794 			  "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
15795 			  "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
15796 			  "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
15797 			  "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
15798 			  "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
15799 			  "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
15800 			  "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
15801 			  "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
15802 			  "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
15803 		.rlen	= 496,
15804 		.also_non_np = 1,
15805 		.np	= 3,
15806 		.tap	= { 496 - 20, 4, 16 },
15807 	},
15808 };
15809 
15810 static const struct cipher_testvec aes_cbc_dec_tv_template[] = {
15811 	{ /* From RFC 3602 */
15812 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
15813 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
15814 		.klen   = 16,
15815 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
15816 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
15817 		.input  = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
15818 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a",
15819 		.ilen   = 16,
15820 		.result = "Single block msg",
15821 		.rlen   = 16,
15822 		.also_non_np = 1,
15823 		.np	= 8,
15824 		.tap	= { 3, 2, 3, 2, 3, 1, 1, 1 },
15825 	}, {
15826 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
15827 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
15828 		.klen   = 16,
15829 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
15830 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
15831 		.input  = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
15832 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
15833 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
15834 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1",
15835 		.ilen   = 32,
15836 		.result = "\x00\x01\x02\x03\x04\x05\x06\x07"
15837 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
15838 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
15839 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
15840 		.rlen   = 32,
15841 	}, { /* From NIST SP800-38A */
15842 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
15843 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
15844 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
15845 		.klen	= 24,
15846 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15847 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15848 		.input	= "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
15849 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
15850 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
15851 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
15852 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
15853 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
15854 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
15855 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd",
15856 		.ilen	= 64,
15857 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15858 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15859 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15860 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15861 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15862 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15863 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15864 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15865 		.rlen	= 64,
15866 	}, {
15867 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
15868 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
15869 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
15870 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
15871 		.klen	= 32,
15872 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07"
15873 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
15874 		.input	= "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
15875 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
15876 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
15877 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
15878 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
15879 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
15880 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
15881 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b",
15882 		.ilen	= 64,
15883 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
15884 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
15885 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
15886 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
15887 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
15888 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
15889 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
15890 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
15891 		.rlen	= 64,
15892 	}, { /* Generated with Crypto++ */
15893 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
15894 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
15895 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
15896 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
15897 		.klen	= 32,
15898 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
15899 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
15900 		.input	= "\xEA\x65\x8A\x19\xB0\x66\xC1\x3F"
15901 			  "\xCE\xF1\x97\x75\xC1\xFD\xB5\xAF"
15902 			  "\x52\x65\xF7\xFF\xBC\xD8\x2D\x9F"
15903 			  "\x2F\xB9\x26\x9B\x6F\x10\xB7\xB8"
15904 			  "\x26\xA1\x02\x46\xA2\xAD\xC6\xC0"
15905 			  "\x11\x15\xFF\x6D\x1E\x82\x04\xA6"
15906 			  "\xB1\x74\xD1\x08\x13\xFD\x90\x7C"
15907 			  "\xF5\xED\xD3\xDB\x5A\x0A\x0C\x2F"
15908 			  "\x0A\x70\xF1\x88\x07\xCF\x21\x26"
15909 			  "\x40\x40\x8A\xF5\x53\xF7\x24\x4F"
15910 			  "\x83\x38\x43\x5F\x08\x99\xEB\xE3"
15911 			  "\xDC\x02\x64\x67\x50\x6E\x15\xC3"
15912 			  "\x01\x1A\xA0\x81\x13\x65\xA6\x73"
15913 			  "\x71\xA6\x3B\x91\x83\x77\xBE\xFA"
15914 			  "\xDB\x71\x73\xA6\xC1\xAE\x43\xC3"
15915 			  "\x36\xCE\xD6\xEB\xF9\x30\x1C\x4F"
15916 			  "\x80\x38\x5E\x9C\x6E\xAB\x98\x2F"
15917 			  "\x53\xAF\xCF\xC8\x9A\xB8\x86\x43"
15918 			  "\x3E\x86\xE7\xA1\xF4\x2F\x30\x40"
15919 			  "\x03\xA8\x6C\x50\x42\x9F\x77\x59"
15920 			  "\x89\xA0\xC5\xEC\x9A\xB8\xDD\x99"
15921 			  "\x16\x24\x02\x07\x48\xAE\xF2\x31"
15922 			  "\x34\x0E\xC3\x85\xFE\x1C\x95\x99"
15923 			  "\x87\x58\x98\x8B\xE7\xC6\xC5\x70"
15924 			  "\x73\x81\x07\x7C\x56\x2F\xD8\x1B"
15925 			  "\xB7\xB9\x2B\xAB\xE3\x01\x87\x0F"
15926 			  "\xD8\xBB\xC0\x0D\xAC\x2C\x2F\x98"
15927 			  "\x3C\x0B\xA2\x99\x4A\x8C\xF7\x04"
15928 			  "\xE0\xE0\xCF\xD1\x81\x5B\xFE\xF5"
15929 			  "\x24\x04\xFD\xB8\xDF\x13\xD8\xCD"
15930 			  "\xF1\xE3\x3D\x98\x50\x02\x77\x9E"
15931 			  "\xBC\x22\xAB\xFA\xC2\x43\x1F\x66"
15932 			  "\x20\x02\x23\xDA\xDF\xA0\x89\xF6"
15933 			  "\xD8\xF3\x45\x24\x53\x6F\x16\x77"
15934 			  "\x02\x3E\x7B\x36\x5F\xA0\x3B\x78"
15935 			  "\x63\xA2\xBD\xB5\xA4\xCA\x1E\xD3"
15936 			  "\x57\xBC\x0B\x9F\x43\x51\x28\x4F"
15937 			  "\x07\x50\x6C\x68\x12\x07\xCF\xFA"
15938 			  "\x6B\x72\x0B\xEB\xF8\x88\x90\x2C"
15939 			  "\x7E\xF5\x91\xD1\x03\xD8\xD5\xBD"
15940 			  "\x22\x39\x7B\x16\x03\x01\x69\xAF"
15941 			  "\x3D\x38\x66\x28\x0C\xBE\x5B\xC5"
15942 			  "\x03\xB4\x2F\x51\x8A\x56\x17\x2B"
15943 			  "\x88\x42\x6D\x40\x68\x8F\xD0\x11"
15944 			  "\x19\xF9\x1F\x43\x79\x95\x31\xFA"
15945 			  "\x28\x7A\x3D\xF7\x66\xEB\xEF\xAC"
15946 			  "\x06\xB2\x01\xAD\xDB\x68\xDB\xEC"
15947 			  "\x8D\x53\x6E\x72\x68\xA3\xC7\x63"
15948 			  "\x43\x2B\x78\xE0\x04\x29\x8F\x72"
15949 			  "\xB2\x2C\xE6\x84\x03\x30\x6D\xCD"
15950 			  "\x26\x92\x37\xE1\x2F\xBB\x8B\x9D"
15951 			  "\xE4\x4C\xF6\x93\xBC\xD9\xAD\x44"
15952 			  "\x52\x65\xC7\xB0\x0E\x3F\x0E\x61"
15953 			  "\x56\x5D\x1C\x6D\xA7\x05\x2E\xBC"
15954 			  "\x58\x08\x15\xAB\x12\xAB\x17\x4A"
15955 			  "\x5E\x1C\xF2\xCD\xB8\xA2\xAE\xFB"
15956 			  "\x9B\x2E\x0E\x85\x34\x80\x0E\x3F"
15957 			  "\x4C\xB8\xDB\xCE\x1C\x90\xA1\x61"
15958 			  "\x6C\x69\x09\x35\x9E\xD4\xF4\xAD"
15959 			  "\xBC\x06\x41\xE3\x01\xB4\x4E\x0A"
15960 			  "\xE0\x1F\x91\xF8\x82\x96\x2D\x65"
15961 			  "\xA3\xAA\x13\xCC\x50\xFF\x7B\x02",
15962 		.ilen	= 496,
15963 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
15964 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
15965 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
15966 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
15967 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
15968 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
15969 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
15970 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
15971 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
15972 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
15973 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
15974 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
15975 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
15976 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
15977 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
15978 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
15979 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
15980 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
15981 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
15982 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
15983 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
15984 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
15985 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
15986 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
15987 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
15988 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
15989 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
15990 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
15991 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
15992 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
15993 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
15994 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
15995 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
15996 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
15997 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
15998 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
15999 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
16000 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
16001 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
16002 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
16003 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
16004 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
16005 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
16006 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
16007 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
16008 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
16009 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
16010 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
16011 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
16012 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
16013 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
16014 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
16015 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
16016 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
16017 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
16018 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
16019 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
16020 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
16021 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
16022 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
16023 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
16024 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
16025 		.rlen	= 496,
16026 		.also_non_np = 1,
16027 		.np	= 3,
16028 		.tap	= { 496 - 20, 4, 16 },
16029 	},
16030 };
16031 
16032 static const struct aead_testvec hmac_md5_ecb_cipher_null_enc_tv_template[] = {
16033 	{ /* Input data from RFC 2410 Case 1 */
16034 #ifdef __LITTLE_ENDIAN
16035 		.key    = "\x08\x00"		/* rta length */
16036 			  "\x01\x00"		/* rta type */
16037 #else
16038 		.key    = "\x00\x08"		/* rta length */
16039 			  "\x00\x01"		/* rta type */
16040 #endif
16041 			  "\x00\x00\x00\x00"	/* enc key length */
16042 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16043 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
16044 		.klen   = 8 + 16 + 0,
16045 		.iv     = "",
16046 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16047 		.ilen   = 8,
16048 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16049 			  "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
16050 			  "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
16051 		.rlen   = 8 + 16,
16052 	}, { /* Input data from RFC 2410 Case 2 */
16053 #ifdef __LITTLE_ENDIAN
16054 		.key    = "\x08\x00"		/* rta length */
16055 			  "\x01\x00"		/* rta type */
16056 #else
16057 		.key    = "\x00\x08"		/* rta length */
16058 			  "\x00\x01"		/* rta type */
16059 #endif
16060 			  "\x00\x00\x00\x00"	/* enc key length */
16061 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16062 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
16063 		.klen   = 8 + 16 + 0,
16064 		.iv     = "",
16065 		.input  = "Network Security People Have A Strange Sense Of Humor",
16066 		.ilen   = 53,
16067 		.result = "Network Security People Have A Strange Sense Of Humor"
16068 			  "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
16069 			  "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
16070 		.rlen   = 53 + 16,
16071 	},
16072 };
16073 
16074 static const struct aead_testvec hmac_md5_ecb_cipher_null_dec_tv_template[] = {
16075 	{
16076 #ifdef __LITTLE_ENDIAN
16077 		.key    = "\x08\x00"		/* rta length */
16078 			  "\x01\x00"		/* rta type */
16079 #else
16080 		.key    = "\x00\x08"		/* rta length */
16081 			  "\x00\x01"		/* rta type */
16082 #endif
16083 			  "\x00\x00\x00\x00"	/* enc key length */
16084 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16085 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
16086 		.klen   = 8 + 16 + 0,
16087 		.iv     = "",
16088 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16089 			  "\xaa\x42\xfe\x43\x8d\xea\xa3\x5a"
16090 			  "\xb9\x3d\x9f\xb1\xa3\x8e\x9b\xae",
16091 		.ilen   = 8 + 16,
16092 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16093 		.rlen   = 8,
16094 	}, {
16095 #ifdef __LITTLE_ENDIAN
16096 		.key    = "\x08\x00"		/* rta length */
16097 			  "\x01\x00"		/* rta type */
16098 #else
16099 		.key    = "\x00\x08"		/* rta length */
16100 			  "\x00\x01"		/* rta type */
16101 #endif
16102 			  "\x00\x00\x00\x00"	/* enc key length */
16103 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16104 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
16105 		.klen   = 8 + 16 + 0,
16106 		.iv     = "",
16107 		.input  = "Network Security People Have A Strange Sense Of Humor"
16108 			  "\x73\xa5\x3e\x1c\x08\x0e\x8a\x8a"
16109 			  "\x8e\xb5\x5f\x90\x8e\xfe\x13\x23",
16110 		.ilen   = 53 + 16,
16111 		.result = "Network Security People Have A Strange Sense Of Humor",
16112 		.rlen   = 53,
16113 	},
16114 };
16115 
16116 static const struct aead_testvec hmac_sha1_aes_cbc_enc_tv_temp[] = {
16117 	{ /* RFC 3602 Case 1 */
16118 #ifdef __LITTLE_ENDIAN
16119 		.key    = "\x08\x00"		/* rta length */
16120 			  "\x01\x00"		/* rta type */
16121 #else
16122 		.key    = "\x00\x08"		/* rta length */
16123 			  "\x00\x01"		/* rta type */
16124 #endif
16125 			  "\x00\x00\x00\x10"	/* enc key length */
16126 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16127 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16128 			  "\x00\x00\x00\x00"
16129 			  "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16130 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16131 		.klen   = 8 + 20 + 16,
16132 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16133 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16134 		.assoc	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16135 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16136 		.alen	= 16,
16137 		.input  = "Single block msg",
16138 		.ilen   = 16,
16139 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16140 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16141 			  "\x1b\x13\xcb\xaf\x89\x5e\xe1\x2c"
16142 			  "\x13\xc5\x2e\xa3\xcc\xed\xdc\xb5"
16143 			  "\x03\x71\xa2\x06",
16144 		.rlen   = 16 + 20,
16145 	}, { /* RFC 3602 Case 2 */
16146 #ifdef __LITTLE_ENDIAN
16147 		.key    = "\x08\x00"		/* rta length */
16148 			  "\x01\x00"		/* rta type */
16149 #else
16150 		.key    = "\x00\x08"		/* rta length */
16151 			  "\x00\x01"		/* rta type */
16152 #endif
16153 			  "\x00\x00\x00\x10"	/* enc key length */
16154 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16155 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16156 			  "\x30\x31\x32\x33"
16157 			  "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16158 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16159 		.klen   = 8 + 20 + 16,
16160 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16161 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16162 		.assoc	= "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16163 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16164 		.alen	= 16,
16165 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16166 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16167 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16168 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16169 		.ilen   = 32,
16170 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16171 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16172 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16173 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16174 			  "\xad\x9b\x4c\x5c\x85\xe1\xda\xae"
16175 			  "\xee\x81\x4e\xd7\xdb\x74\xcf\x58"
16176 			  "\x65\x39\xf8\xde",
16177 		.rlen   = 32 + 20,
16178 	}, { /* RFC 3602 Case 3 */
16179 #ifdef __LITTLE_ENDIAN
16180 		.key    = "\x08\x00"		/* rta length */
16181 			  "\x01\x00"            /* rta type */
16182 #else
16183 		.key    = "\x00\x08"		/* rta length */
16184 			  "\x00\x01"		/* rta type */
16185 #endif
16186 			  "\x00\x00\x00\x10"	/* enc key length */
16187 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16188 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16189 			  "\x22\x33\x44\x55"
16190 			  "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16191 			  "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16192 		.klen   = 8 + 20 + 16,
16193 		.iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16194 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16195 		.assoc	= "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16196 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16197 		.alen	= 16,
16198 		.input  = "This is a 48-byte message (exactly 3 AES blocks)",
16199 		.ilen   = 48,
16200 		.result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16201 			  "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16202 			  "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16203 			  "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16204 			  "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16205 			  "\x85\x79\x69\x5d\x83\xba\x26\x84"
16206 			  "\xc2\xec\x0c\xf8\x7f\x05\xba\xca"
16207 			  "\xff\xee\x4c\xd0\x93\xe6\x36\x7f"
16208 			  "\x8d\x62\xf2\x1e",
16209 		.rlen   = 48 + 20,
16210 	}, { /* RFC 3602 Case 4 */
16211 #ifdef __LITTLE_ENDIAN
16212 		.key    = "\x08\x00"		/* rta length */
16213 			  "\x01\x00"		/* rta type */
16214 #else
16215 		.key    = "\x00\x08"		/* rta length */
16216 			  "\x00\x01"            /* rta type */
16217 #endif
16218 			  "\x00\x00\x00\x10"	/* enc key length */
16219 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16220 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16221 			  "\x22\x33\x44\x55"
16222 			  "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16223 			  "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16224 		.klen   = 8 + 20 + 16,
16225 		.iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16226 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16227 		.assoc	= "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16228 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16229 		.alen	= 16,
16230 		.input  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16231 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16232 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16233 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16234 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16235 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16236 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16237 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16238 		.ilen   = 64,
16239 		.result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16240 			  "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16241 			  "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16242 			  "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16243 			  "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16244 			  "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16245 			  "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16246 			  "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16247 			  "\x1c\x45\x57\xa9\x56\xcb\xa9\x2d"
16248 			  "\x18\xac\xf1\xc7\x5d\xd1\xcd\x0d"
16249 			  "\x1d\xbe\xc6\xe9",
16250 		.rlen   = 64 + 20,
16251 	}, { /* RFC 3602 Case 5 */
16252 #ifdef __LITTLE_ENDIAN
16253 		.key    = "\x08\x00"		/* rta length */
16254 			  "\x01\x00"            /* rta type */
16255 #else
16256 		.key    = "\x00\x08"		/* rta length */
16257 			  "\x00\x01"            /* rta type */
16258 #endif
16259 			  "\x00\x00\x00\x10"	/* enc key length */
16260 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16261 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16262 			  "\x22\x33\x44\x55"
16263 			  "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16264 			  "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16265 		.klen   = 8 + 20 + 16,
16266 		.iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16267 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16268 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16269 			  "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16270 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16271 		.alen   = 24,
16272 		.input  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16273 			  "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16274 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16275 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16276 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16277 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16278 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16279 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16280 			  "\x01\x02\x03\x04\x05\x06\x07\x08"
16281 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16282 		.ilen   = 80,
16283 		.result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16284 			  "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16285 			  "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16286 			  "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16287 			  "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16288 			  "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16289 			  "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16290 			  "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16291 			  "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16292 			  "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16293 			  "\x58\xc6\x84\x75\xe4\xe9\x6b\x0c"
16294 			  "\xe1\xc5\x0b\x73\x4d\x82\x55\xa8"
16295 			  "\x85\xe1\x59\xf7",
16296 		.rlen   = 80 + 20,
16297        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16298 #ifdef __LITTLE_ENDIAN
16299 		.key    = "\x08\x00"            /* rta length */
16300 			  "\x01\x00"		/* rta type */
16301 #else
16302 		.key    = "\x00\x08"		/* rta length */
16303 			  "\x00\x01"            /* rta type */
16304 #endif
16305 			  "\x00\x00\x00\x18"	/* enc key length */
16306 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16307 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16308 			  "\x22\x33\x44\x55"
16309 			  "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16310 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16311 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16312 		.klen   = 8 + 20 + 24,
16313 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16314 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16315 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16316 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16317 		.alen	= 16,
16318 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16319 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16320 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16321 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16322 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16323 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16324 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16325 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16326 		.ilen   = 64,
16327 		.result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16328 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16329 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16330 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16331 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16332 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16333 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16334 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16335 			  "\x73\xe3\x19\x3f\x8b\xc9\xc6\xf4"
16336 			  "\x5a\xf1\x5b\xa8\x98\x07\xc5\x36"
16337 			  "\x47\x4c\xfc\x36",
16338 		.rlen   = 64 + 20,
16339 	}, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16340 #ifdef __LITTLE_ENDIAN
16341 		.key    = "\x08\x00"		/* rta length */
16342 			  "\x01\x00"		/* rta type */
16343 #else
16344 		.key    = "\x00\x08"		/* rta length */
16345 			  "\x00\x01"            /* rta type */
16346 #endif
16347 			  "\x00\x00\x00\x20"	/* enc key length */
16348 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16349 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16350 			  "\x22\x33\x44\x55"
16351 			  "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16352 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16353 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16354 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16355 		.klen   = 8 + 20 + 32,
16356 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16357 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16358 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16359 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16360 		.alen	= 16,
16361 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16362 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16363 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16364 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16365 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16366 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16367 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16368 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16369 		.ilen   = 64,
16370 		.result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16371 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16372 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16373 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16374 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16375 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16376 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16377 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16378 			  "\xa3\xe8\x9b\x17\xe3\xf4\x7f\xde"
16379 			  "\x1b\x9f\xc6\x81\x26\x43\x4a\x87"
16380 			  "\x51\xee\xd6\x4e",
16381 		.rlen   = 64 + 20,
16382 	},
16383 };
16384 
16385 static const struct aead_testvec hmac_sha1_ecb_cipher_null_enc_tv_temp[] = {
16386 	{ /* Input data from RFC 2410 Case 1 */
16387 #ifdef __LITTLE_ENDIAN
16388 		.key    = "\x08\x00"		/* rta length */
16389 			  "\x01\x00"		/* rta type */
16390 #else
16391 		.key    = "\x00\x08"		/* rta length */
16392 			  "\x00\x01"		/* rta type */
16393 #endif
16394 			  "\x00\x00\x00\x00"	/* enc key length */
16395 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16396 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16397 			  "\x00\x00\x00\x00",
16398 		.klen   = 8 + 20 + 0,
16399 		.iv     = "",
16400 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16401 		.ilen   = 8,
16402 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16403 			  "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
16404 			  "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
16405 			  "\x8c\x5e\xe4\x08",
16406 		.rlen   = 8 + 20,
16407 	}, { /* Input data from RFC 2410 Case 2 */
16408 #ifdef __LITTLE_ENDIAN
16409 		.key    = "\x08\x00"		/* rta length */
16410 			  "\x01\x00"		/* rta type */
16411 #else
16412 		.key    = "\x00\x08"		/* rta length */
16413 			  "\x00\x01"		/* rta type */
16414 #endif
16415 			  "\x00\x00\x00\x00"	/* enc key length */
16416 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16417 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16418 			  "\x00\x00\x00\x00",
16419 		.klen   = 8 + 20 + 0,
16420 		.iv     = "",
16421 		.input  = "Network Security People Have A Strange Sense Of Humor",
16422 		.ilen   = 53,
16423 		.result = "Network Security People Have A Strange Sense Of Humor"
16424 			  "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
16425 			  "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
16426 			  "\x91\x56\xe4\xd6",
16427 		.rlen   = 53 + 20,
16428 	},
16429 };
16430 
16431 static const struct aead_testvec hmac_sha1_ecb_cipher_null_dec_tv_temp[] = {
16432 	{
16433 #ifdef __LITTLE_ENDIAN
16434 		.key    = "\x08\x00"		/* rta length */
16435 			  "\x01\x00"		/* rta type */
16436 #else
16437 		.key    = "\x00\x08"		/* rta length */
16438 			  "\x00\x01"		/* rta type */
16439 #endif
16440 			  "\x00\x00\x00\x00"	/* enc key length */
16441 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16442 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16443 			  "\x00\x00\x00\x00",
16444 		.klen   = 8 + 20 + 0,
16445 		.iv     = "",
16446 		.input  = "\x01\x23\x45\x67\x89\xab\xcd\xef"
16447 			  "\x40\xc3\x0a\xa1\xc9\xa0\x28\xab"
16448 			  "\x99\x5e\x19\x04\xd1\x72\xef\xb8"
16449 			  "\x8c\x5e\xe4\x08",
16450 		.ilen   = 8 + 20,
16451 		.result = "\x01\x23\x45\x67\x89\xab\xcd\xef",
16452 		.rlen   = 8,
16453 	}, {
16454 #ifdef __LITTLE_ENDIAN
16455 		.key    = "\x08\x00"		/* rta length */
16456 			  "\x01\x00"		/* rta type */
16457 #else
16458 		.key    = "\x00\x08"		/* rta length */
16459 			  "\x00\x01"		/* rta type */
16460 #endif
16461 			  "\x00\x00\x00\x00"	/* enc key length */
16462 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16463 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16464 			  "\x00\x00\x00\x00",
16465 		.klen   = 8 + 20 + 0,
16466 		.iv     = "",
16467 		.input  = "Network Security People Have A Strange Sense Of Humor"
16468 			  "\x75\x6f\x42\x1e\xf8\x50\x21\xd2"
16469 			  "\x65\x47\xee\x8e\x1a\xef\x16\xf6"
16470 			  "\x91\x56\xe4\xd6",
16471 		.ilen   = 53 + 20,
16472 		.result = "Network Security People Have A Strange Sense Of Humor",
16473 		.rlen   = 53,
16474 	},
16475 };
16476 
16477 static const struct aead_testvec hmac_sha256_aes_cbc_enc_tv_temp[] = {
16478 	{ /* RFC 3602 Case 1 */
16479 #ifdef __LITTLE_ENDIAN
16480 		.key    = "\x08\x00"		/* rta length */
16481 			  "\x01\x00"		/* rta type */
16482 #else
16483 		.key    = "\x00\x08"		/* rta length */
16484 			  "\x00\x01"		/* rta type */
16485 #endif
16486 			  "\x00\x00\x00\x10"	/* enc key length */
16487 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16488 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16489 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16490 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16491 			  "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16492 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16493 		.klen   = 8 + 32 + 16,
16494 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16495 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16496 		.assoc	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16497 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16498 		.alen	= 16,
16499 		.input  = "Single block msg",
16500 		.ilen   = 16,
16501 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16502 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16503 			  "\xcc\xde\x2d\x6a\xae\xf1\x0b\xcc"
16504 			  "\x38\x06\x38\x51\xb4\xb8\xf3\x5b"
16505 			  "\x5c\x34\xa6\xa3\x6e\x0b\x05\xe5"
16506 			  "\x6a\x6d\x44\xaa\x26\xa8\x44\xa5",
16507 		.rlen   = 16 + 32,
16508 	}, { /* RFC 3602 Case 2 */
16509 #ifdef __LITTLE_ENDIAN
16510 		.key    = "\x08\x00"		/* rta length */
16511 			  "\x01\x00"		/* rta type */
16512 #else
16513 		.key    = "\x00\x08"		/* rta length */
16514 			  "\x00\x01"		/* rta type */
16515 #endif
16516 			  "\x00\x00\x00\x10"	/* enc key length */
16517 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16518 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16519 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16520 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16521 			  "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16522 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16523 		.klen   = 8 + 32 + 16,
16524 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16525 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16526 		.assoc	= "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16527 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16528 		.alen	= 16,
16529 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16530 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16531 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16532 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16533 		.ilen   = 32,
16534 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16535 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16536 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16537 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16538 			  "\xf5\x33\x53\xf3\x68\x85\x2a\x99"
16539 			  "\x0e\x06\x58\x8f\xba\xf6\x06\xda"
16540 			  "\x49\x69\x0d\x5b\xd4\x36\x06\x62"
16541 			  "\x35\x5e\x54\x58\x53\x4d\xdf\xbf",
16542 		.rlen   = 32 + 32,
16543 	}, { /* RFC 3602 Case 3 */
16544 #ifdef __LITTLE_ENDIAN
16545 		.key    = "\x08\x00"		/* rta length */
16546 			  "\x01\x00"            /* rta type */
16547 #else
16548 		.key    = "\x00\x08"		/* rta length */
16549 			  "\x00\x01"		/* rta type */
16550 #endif
16551 			  "\x00\x00\x00\x10"	/* enc key length */
16552 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16553 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16554 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16555 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16556 			  "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16557 			  "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16558 		.klen   = 8 + 32 + 16,
16559 		.iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16560 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16561 		.assoc	= "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16562 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16563 		.alen	= 16,
16564 		.input  = "This is a 48-byte message (exactly 3 AES blocks)",
16565 		.ilen   = 48,
16566 		.result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16567 			  "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16568 			  "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16569 			  "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16570 			  "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16571 			  "\x85\x79\x69\x5d\x83\xba\x26\x84"
16572 			  "\x68\xb9\x3e\x90\x38\xa0\x88\x01"
16573 			  "\xe7\xc6\xce\x10\x31\x2f\x9b\x1d"
16574 			  "\x24\x78\xfb\xbe\x02\xe0\x4f\x40"
16575 			  "\x10\xbd\xaa\xc6\xa7\x79\xe0\x1a",
16576 		.rlen   = 48 + 32,
16577 	}, { /* RFC 3602 Case 4 */
16578 #ifdef __LITTLE_ENDIAN
16579 		.key    = "\x08\x00"		/* rta length */
16580 			  "\x01\x00"		/* rta type */
16581 #else
16582 		.key    = "\x00\x08"		/* rta length */
16583 			  "\x00\x01"            /* rta type */
16584 #endif
16585 			  "\x00\x00\x00\x10"	/* enc key length */
16586 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16587 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16588 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16589 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16590 			  "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16591 			  "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16592 		.klen   = 8 + 32 + 16,
16593 		.iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16594 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16595 		.assoc	= "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16596 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16597 		.alen	= 16,
16598 		.input  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16599 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16600 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16601 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16602 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16603 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16604 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16605 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16606 		.ilen   = 64,
16607 		.result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16608 			  "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16609 			  "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16610 			  "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16611 			  "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16612 			  "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16613 			  "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16614 			  "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16615 			  "\x7a\x1b\xd4\x3c\xdb\x17\x95\xe2"
16616 			  "\xe0\x93\xec\xc9\x9f\xf7\xce\xd8"
16617 			  "\x3f\x54\xe2\x49\x39\xe3\x71\x25"
16618 			  "\x2b\x6c\xe9\x5d\xec\xec\x2b\x64",
16619 		.rlen   = 64 + 32,
16620 	}, { /* RFC 3602 Case 5 */
16621 #ifdef __LITTLE_ENDIAN
16622 		.key    = "\x08\x00"		/* rta length */
16623 			  "\x01\x00"            /* rta type */
16624 #else
16625 		.key    = "\x00\x08"		/* rta length */
16626 			  "\x00\x01"            /* rta type */
16627 #endif
16628 			  "\x00\x00\x00\x10"	/* enc key length */
16629 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16630 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16631 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16632 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16633 			  "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16634 			  "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16635 		.klen   = 8 + 32 + 16,
16636 		.iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16637 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16638 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16639 			  "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16640 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16641 		.alen   = 24,
16642 		.input  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16643 			  "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16644 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16645 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16646 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16647 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16648 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16649 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16650 			  "\x01\x02\x03\x04\x05\x06\x07\x08"
16651 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16652 		.ilen   = 80,
16653 		.result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16654 			  "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16655 			  "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16656 			  "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16657 			  "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16658 			  "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16659 			  "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16660 			  "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16661 			  "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16662 			  "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16663 			  "\xbb\xd4\x0f\xbe\xa3\x3b\x4c\xb8"
16664 			  "\x3a\xd2\xe1\x03\x86\xa5\x59\xb7"
16665 			  "\x73\xc3\x46\x20\x2c\xb1\xef\x68"
16666 			  "\xbb\x8a\x32\x7e\x12\x8c\x69\xcf",
16667 		.rlen   = 80 + 32,
16668        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16669 #ifdef __LITTLE_ENDIAN
16670 		.key    = "\x08\x00"            /* rta length */
16671 			  "\x01\x00"		/* rta type */
16672 #else
16673 		.key    = "\x00\x08"		/* rta length */
16674 			  "\x00\x01"            /* rta type */
16675 #endif
16676 			  "\x00\x00\x00\x18"	/* enc key length */
16677 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16678 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16679 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16680 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16681 			  "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
16682 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
16683 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
16684 		.klen   = 8 + 32 + 24,
16685 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16686 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16687 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16688 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16689 		.alen   = 16,
16690 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16691 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16692 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16693 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16694 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16695 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16696 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16697 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16698 		.ilen   = 64,
16699 		.result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
16700 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
16701 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
16702 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
16703 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
16704 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
16705 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
16706 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
16707 			  "\x2f\xee\x5f\xdb\x66\xfe\x79\x09"
16708 			  "\x61\x81\x31\xea\x5b\x3d\x8e\xfb"
16709 			  "\xca\x71\x85\x93\xf7\x85\x55\x8b"
16710 			  "\x7a\xe4\x94\xca\x8b\xba\x19\x33",
16711 		.rlen   = 64 + 32,
16712 	}, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
16713 #ifdef __LITTLE_ENDIAN
16714 		.key    = "\x08\x00"		/* rta length */
16715 			  "\x01\x00"		/* rta type */
16716 #else
16717 		.key    = "\x00\x08"		/* rta length */
16718 			  "\x00\x01"            /* rta type */
16719 #endif
16720 			  "\x00\x00\x00\x20"	/* enc key length */
16721 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16722 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16723 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16724 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16725 			  "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
16726 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
16727 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
16728 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
16729 		.klen   = 8 + 32 + 32,
16730 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
16731 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16732 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
16733 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
16734 		.alen   = 16,
16735 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
16736 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
16737 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
16738 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
16739 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
16740 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
16741 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
16742 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
16743 		.ilen   = 64,
16744 		.result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
16745 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
16746 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
16747 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
16748 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
16749 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
16750 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
16751 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
16752 			  "\x24\x29\xed\xc2\x31\x49\xdb\xb1"
16753 			  "\x8f\x74\xbd\x17\x92\x03\xbe\x8f"
16754 			  "\xf3\x61\xde\x1c\xe9\xdb\xcd\xd0"
16755 			  "\xcc\xce\xe9\x85\x57\xcf\x6f\x5f",
16756 		.rlen   = 64 + 32,
16757 	},
16758 };
16759 
16760 static const struct aead_testvec hmac_sha512_aes_cbc_enc_tv_temp[] = {
16761 	{ /* RFC 3602 Case 1 */
16762 #ifdef __LITTLE_ENDIAN
16763 		.key    = "\x08\x00"		/* rta length */
16764 			  "\x01\x00"		/* rta type */
16765 #else
16766 		.key    = "\x00\x08"		/* rta length */
16767 			  "\x00\x01"		/* rta type */
16768 #endif
16769 			  "\x00\x00\x00\x10"	/* enc key length */
16770 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16771 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16772 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16773 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16774 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16775 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16776 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16777 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
16778 			  "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
16779 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
16780 		.klen   = 8 + 64 + 16,
16781 		.iv     = "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16782 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16783 		.assoc	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
16784 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
16785 		.alen   = 16,
16786 		.input  = "Single block msg",
16787 		.ilen   = 16,
16788 		.result = "\xe3\x53\x77\x9c\x10\x79\xae\xb8"
16789 			  "\x27\x08\x94\x2d\xbe\x77\x18\x1a"
16790 			  "\x3f\xdc\xad\x90\x03\x63\x5e\x68"
16791 			  "\xc3\x13\xdd\xa4\x5c\x4d\x54\xa7"
16792 			  "\x19\x6e\x03\x75\x2b\xa1\x62\xce"
16793 			  "\xe0\xc6\x96\x75\xb2\x14\xca\x96"
16794 			  "\xec\xbd\x50\x08\x07\x64\x1a\x49"
16795 			  "\xe8\x9a\x7c\x06\x3d\xcb\xff\xb2"
16796 			  "\xfa\x20\x89\xdd\x9c\xac\x9e\x16"
16797 			  "\x18\x8a\xa0\x6d\x01\x6c\xa3\x3a",
16798 		.rlen   = 16 + 64,
16799 	}, { /* RFC 3602 Case 2 */
16800 #ifdef __LITTLE_ENDIAN
16801 		.key    = "\x08\x00"		/* rta length */
16802 			  "\x01\x00"		/* rta type */
16803 #else
16804 		.key    = "\x00\x08"		/* rta length */
16805 			  "\x00\x01"		/* rta type */
16806 #endif
16807 			  "\x00\x00\x00\x10"	/* enc key length */
16808 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16809 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16810 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16811 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
16812 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
16813 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
16814 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
16815 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
16816 			  "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
16817 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
16818 		.klen   = 8 + 64 + 16,
16819 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16820 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16821 		.assoc	= "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
16822 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
16823 		.alen   = 16,
16824 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
16825 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16826 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16827 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
16828 		.ilen   = 32,
16829 		.result = "\xd2\x96\xcd\x94\xc2\xcc\xcf\x8a"
16830 			  "\x3a\x86\x30\x28\xb5\xe1\xdc\x0a"
16831 			  "\x75\x86\x60\x2d\x25\x3c\xff\xf9"
16832 			  "\x1b\x82\x66\xbe\xa6\xd6\x1a\xb1"
16833 			  "\xda\xb2\x0c\xb2\x26\xc4\xd5\xef"
16834 			  "\x60\x38\xa4\x5e\x9a\x8c\x1b\x41"
16835 			  "\x03\x9f\xc4\x64\x7f\x01\x42\x9b"
16836 			  "\x0e\x1b\xea\xef\xbc\x88\x19\x5e"
16837 			  "\x31\x7e\xc2\x95\xfc\x09\x32\x0a"
16838 			  "\x46\x32\x7c\x41\x9c\x59\x3e\xe9"
16839 			  "\x8f\x9f\xd4\x31\xd6\x22\xbd\xf8"
16840 			  "\xf7\x0a\x94\xe5\xa9\xc3\xf6\x9d",
16841 		.rlen   = 32 + 64,
16842 	}, { /* RFC 3602 Case 3 */
16843 #ifdef __LITTLE_ENDIAN
16844 		.key    = "\x08\x00"		/* rta length */
16845 			  "\x01\x00"            /* rta type */
16846 #else
16847 		.key    = "\x00\x08"		/* rta length */
16848 			  "\x00\x01"		/* rta type */
16849 #endif
16850 			  "\x00\x00\x00\x10"	/* enc key length */
16851 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16852 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16853 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16854 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16855 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
16856 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16857 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16858 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16859 			  "\x6c\x3e\xa0\x47\x76\x30\xce\x21"
16860 			  "\xa2\xce\x33\x4a\xa7\x46\xc2\xcd",
16861 		.klen   = 8 + 64 + 16,
16862 		.iv     = "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16863 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16864 		.assoc	= "\xc7\x82\xdc\x4c\x09\x8c\x66\xcb"
16865 			  "\xd9\xcd\x27\xd8\x25\x68\x2c\x81",
16866 		.alen   = 16,
16867 		.input  = "This is a 48-byte message (exactly 3 AES blocks)",
16868 		.ilen   = 48,
16869 		.result = "\xd0\xa0\x2b\x38\x36\x45\x17\x53"
16870 			  "\xd4\x93\x66\x5d\x33\xf0\xe8\x86"
16871 			  "\x2d\xea\x54\xcd\xb2\x93\xab\xc7"
16872 			  "\x50\x69\x39\x27\x67\x72\xf8\xd5"
16873 			  "\x02\x1c\x19\x21\x6b\xad\x52\x5c"
16874 			  "\x85\x79\x69\x5d\x83\xba\x26\x84"
16875 			  "\x64\x19\x17\x5b\x57\xe0\x21\x0f"
16876 			  "\xca\xdb\xa1\x26\x38\x14\xa2\x69"
16877 			  "\xdb\x54\x67\x80\xc0\x54\xe0\xfd"
16878 			  "\x3e\x91\xe7\x91\x7f\x13\x38\x44"
16879 			  "\xb7\xb1\xd6\xc8\x7d\x48\x8d\x41"
16880 			  "\x08\xea\x29\x6c\x74\x67\x3f\xb0"
16881 			  "\xac\x7f\x5c\x1d\xf5\xee\x22\x66"
16882 			  "\x27\xa6\xb6\x13\xba\xba\xf0\xc2",
16883 		.rlen   = 48 + 64,
16884 	}, { /* RFC 3602 Case 4 */
16885 #ifdef __LITTLE_ENDIAN
16886 		.key    = "\x08\x00"		/* rta length */
16887 			  "\x01\x00"		/* rta type */
16888 #else
16889 		.key    = "\x00\x08"		/* rta length */
16890 			  "\x00\x01"            /* rta type */
16891 #endif
16892 			  "\x00\x00\x00\x10"	/* enc key length */
16893 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16894 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16895 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16896 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16897 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
16898 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16899 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16900 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16901 			  "\x56\xe4\x7a\x38\xc5\x59\x89\x74"
16902 			  "\xbc\x46\x90\x3d\xba\x29\x03\x49",
16903 		.klen   = 8 + 64 + 16,
16904 		.iv     = "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16905 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16906 		.assoc	= "\x8c\xe8\x2e\xef\xbe\xa0\xda\x3c"
16907 			  "\x44\x69\x9e\xd7\xdb\x51\xb7\xd9",
16908 		.alen   = 16,
16909 		.input  = "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
16910 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
16911 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
16912 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
16913 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
16914 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
16915 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
16916 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf",
16917 		.ilen   = 64,
16918 		.result = "\xc3\x0e\x32\xff\xed\xc0\x77\x4e"
16919 			  "\x6a\xff\x6a\xf0\x86\x9f\x71\xaa"
16920 			  "\x0f\x3a\xf0\x7a\x9a\x31\xa9\xc6"
16921 			  "\x84\xdb\x20\x7e\xb0\xef\x8e\x4e"
16922 			  "\x35\x90\x7a\xa6\x32\xc3\xff\xdf"
16923 			  "\x86\x8b\xb7\xb2\x9d\x3d\x46\xad"
16924 			  "\x83\xce\x9f\x9a\x10\x2e\xe9\x9d"
16925 			  "\x49\xa5\x3e\x87\xf4\xc3\xda\x55"
16926 			  "\x82\xcd\x42\x28\x21\x20\x15\xcc"
16927 			  "\xb7\xb2\x48\x40\xc7\x64\x41\x3a"
16928 			  "\x61\x32\x82\x85\xcf\x27\xed\xb4"
16929 			  "\xe4\x68\xa2\xf5\x79\x26\x27\xb2"
16930 			  "\x51\x67\x6a\xc4\xf0\x66\x55\x50"
16931 			  "\xbc\x6f\xed\xd5\x8d\xde\x23\x7c"
16932 			  "\x62\x98\x14\xd7\x2f\x37\x8d\xdf"
16933 			  "\xf4\x33\x80\xeb\x8e\xb4\xa4\xda",
16934 		.rlen   = 64 + 64,
16935 	}, { /* RFC 3602 Case 5 */
16936 #ifdef __LITTLE_ENDIAN
16937 		.key    = "\x08\x00"		/* rta length */
16938 			  "\x01\x00"            /* rta type */
16939 #else
16940 		.key    = "\x00\x08"		/* rta length */
16941 			  "\x00\x01"            /* rta type */
16942 #endif
16943 			  "\x00\x00\x00\x10"	/* enc key length */
16944 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
16945 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
16946 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
16947 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
16948 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
16949 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
16950 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
16951 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
16952 			  "\x90\xd3\x82\xb4\x10\xee\xba\x7a"
16953 			  "\xd9\x38\xc4\x6c\xec\x1a\x82\xbf",
16954 		.klen   = 8 + 64 + 16,
16955 		.iv     = "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16956 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16957 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
16958 			  "\xe9\x6e\x8c\x08\xab\x46\x57\x63"
16959 			  "\xfd\x09\x8d\x45\xdd\x3f\xf8\x93",
16960 		.alen   = 24,
16961 		.input  = "\x08\x00\x0e\xbd\xa7\x0a\x00\x00"
16962 			  "\x8e\x9c\x08\x3d\xb9\x5b\x07\x00"
16963 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
16964 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
16965 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
16966 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
16967 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
16968 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
16969 			  "\x01\x02\x03\x04\x05\x06\x07\x08"
16970 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0e\x01",
16971 		.ilen   = 80,
16972 		.result = "\xf6\x63\xc2\x5d\x32\x5c\x18\xc6"
16973 			  "\xa9\x45\x3e\x19\x4e\x12\x08\x49"
16974 			  "\xa4\x87\x0b\x66\xcc\x6b\x99\x65"
16975 			  "\x33\x00\x13\xb4\x89\x8d\xc8\x56"
16976 			  "\xa4\x69\x9e\x52\x3a\x55\xdb\x08"
16977 			  "\x0b\x59\xec\x3a\x8e\x4b\x7e\x52"
16978 			  "\x77\x5b\x07\xd1\xdb\x34\xed\x9c"
16979 			  "\x53\x8a\xb5\x0c\x55\x1b\x87\x4a"
16980 			  "\xa2\x69\xad\xd0\x47\xad\x2d\x59"
16981 			  "\x13\xac\x19\xb7\xcf\xba\xd4\xa6"
16982 			  "\x74\x84\x94\xe2\xd7\x7a\xf9\xbf"
16983 			  "\x00\x8a\xa2\xd5\xb7\xf3\x60\xcf"
16984 			  "\xa0\x47\xdf\x4e\x09\xf4\xb1\x7f"
16985 			  "\x14\xd9\x3d\x53\x8e\x12\xb3\x00"
16986 			  "\x4c\x0a\x4e\x32\x40\x43\x88\xce"
16987 			  "\x92\x26\xc1\x76\x20\x11\xeb\xba"
16988 			  "\x62\x4f\x9a\x62\x25\xc3\x75\x80"
16989 			  "\xb7\x0a\x17\xf5\xd7\x94\xb4\x14",
16990 		.rlen   = 80 + 64,
16991        }, { /* NIST SP800-38A F.2.3 CBC-AES192.Encrypt */
16992 #ifdef __LITTLE_ENDIAN
16993 		.key    = "\x08\x00"            /* rta length */
16994 			  "\x01\x00"		/* rta type */
16995 #else
16996 		.key    = "\x00\x08"		/* rta length */
16997 			  "\x00\x01"            /* rta type */
16998 #endif
16999 			  "\x00\x00\x00\x18"	/* enc key length */
17000 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17001 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17002 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17003 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17004 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17005 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17006 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17007 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17008 			  "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
17009 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
17010 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
17011 		.klen   = 8 + 64 + 24,
17012 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17013 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17014 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
17015 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17016 		.alen   = 16,
17017 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17018 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17019 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17020 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17021 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17022 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17023 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17024 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17025 		.ilen   = 64,
17026 		.result = "\x4f\x02\x1d\xb2\x43\xbc\x63\x3d"
17027 			  "\x71\x78\x18\x3a\x9f\xa0\x71\xe8"
17028 			  "\xb4\xd9\xad\xa9\xad\x7d\xed\xf4"
17029 			  "\xe5\xe7\x38\x76\x3f\x69\x14\x5a"
17030 			  "\x57\x1b\x24\x20\x12\xfb\x7a\xe0"
17031 			  "\x7f\xa9\xba\xac\x3d\xf1\x02\xe0"
17032 			  "\x08\xb0\xe2\x79\x88\x59\x88\x81"
17033 			  "\xd9\x20\xa9\xe6\x4f\x56\x15\xcd"
17034 			  "\x77\x4b\x69\x9d\x3a\x0d\xb4\x99"
17035 			  "\x8f\xc6\x8e\x0e\x72\x58\xe3\x56"
17036 			  "\xbb\x21\xd2\x7d\x93\x11\x17\x91"
17037 			  "\xc4\x83\xfd\x0a\xea\x71\xfe\x77"
17038 			  "\xae\x6f\x0a\xa5\xf0\xcf\xe1\x35"
17039 			  "\xba\x03\xd5\x32\xfa\x5f\x41\x58"
17040 			  "\x8d\x43\x98\xa7\x94\x16\x07\x02"
17041 			  "\x0f\xb6\x81\x50\x28\x95\x2e\x75",
17042 		.rlen   = 64 + 64,
17043 	}, { /* NIST SP800-38A F.2.5 CBC-AES256.Encrypt */
17044 #ifdef __LITTLE_ENDIAN
17045 		.key    = "\x08\x00"		/* rta length */
17046 			  "\x01\x00"		/* rta type */
17047 #else
17048 		.key    = "\x00\x08"		/* rta length */
17049 			  "\x00\x01"            /* rta type */
17050 #endif
17051 			  "\x00\x00\x00\x20"	/* enc key length */
17052 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17053 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17054 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17055 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17056 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17057 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17058 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17059 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17060 			  "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
17061 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
17062 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
17063 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
17064 		.klen   = 8 + 64 + 32,
17065 		.iv     = "\x00\x01\x02\x03\x04\x05\x06\x07"
17066 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17067 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
17068 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
17069 		.alen   = 16,
17070 		.input  = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
17071 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
17072 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
17073 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
17074 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
17075 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
17076 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
17077 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
17078 		.ilen   = 64,
17079 		.result = "\xf5\x8c\x4c\x04\xd6\xe5\xf1\xba"
17080 			  "\x77\x9e\xab\xfb\x5f\x7b\xfb\xd6"
17081 			  "\x9c\xfc\x4e\x96\x7e\xdb\x80\x8d"
17082 			  "\x67\x9f\x77\x7b\xc6\x70\x2c\x7d"
17083 			  "\x39\xf2\x33\x69\xa9\xd9\xba\xcf"
17084 			  "\xa5\x30\xe2\x63\x04\x23\x14\x61"
17085 			  "\xb2\xeb\x05\xe2\xc3\x9b\xe9\xfc"
17086 			  "\xda\x6c\x19\x07\x8c\x6a\x9d\x1b"
17087 			  "\xb2\x27\x69\x7f\x45\x64\x79\x2b"
17088 			  "\xb7\xb8\x4c\xd4\x75\x94\x68\x40"
17089 			  "\x2a\xea\x91\xc7\x3f\x7c\xed\x7b"
17090 			  "\x95\x2c\x9b\xa8\xf5\xe5\x52\x8d"
17091 			  "\x6b\xe1\xae\xf1\x74\xfa\x0d\x0c"
17092 			  "\xe3\x8d\x64\xc3\x8d\xff\x7c\x8c"
17093 			  "\xdb\xbf\xa0\xb4\x01\xa2\xa8\xa2"
17094 			  "\x2c\xb1\x62\x2c\x10\xca\xf1\x21",
17095 		.rlen   = 64 + 64,
17096 	},
17097 };
17098 
17099 static const struct aead_testvec hmac_sha1_des_cbc_enc_tv_temp[] = {
17100 	{ /*Generated with cryptopp*/
17101 #ifdef __LITTLE_ENDIAN
17102 		.key    = "\x08\x00"		/* rta length */
17103 			  "\x01\x00"		/* rta type */
17104 #else
17105 	.key    = "\x00\x08"		/* rta length */
17106 			  "\x00\x01"		/* rta type */
17107 #endif
17108 			  "\x00\x00\x00\x08"	/* enc key length */
17109 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17110 		  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17111 			  "\x22\x33\x44\x55"
17112 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17113 		.klen	= 8 + 20 + 8,
17114 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17115 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17116 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17117 		.alen   = 16,
17118 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17119 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17120 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17121 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17122 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17123 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17124 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17125 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17126 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17127 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17128 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17129 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17130 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17131 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17132 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17133 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17134 		.ilen	= 128,
17135 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17136 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17137 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17138 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17139 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17140 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17141 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17142 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17143 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17144 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17145 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17146 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17147 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17148 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17149 			  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17150 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17151 			  "\x95\x16\x20\x09\xf5\x95\x19\xfd"
17152 			  "\x3c\xc7\xe0\x42\xc0\x14\x69\xfa"
17153 			  "\x5c\x44\xa9\x37",
17154 			  .rlen	= 128 + 20,
17155 	},
17156 };
17157 
17158 static const struct aead_testvec hmac_sha224_des_cbc_enc_tv_temp[] = {
17159 	{ /*Generated with cryptopp*/
17160 #ifdef __LITTLE_ENDIAN
17161 		.key    = "\x08\x00"		/* rta length */
17162 			  "\x01\x00"		/* rta type */
17163 #else
17164 		.key    = "\x00\x08"		/* rta length */
17165 			  "\x00\x01"		/* rta type */
17166 #endif
17167 			  "\x00\x00\x00\x08"	/* enc key length */
17168 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17169 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17170 		  "\x22\x33\x44\x55\x66\x77\x88\x99"
17171 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17172 		.klen	= 8 + 24 + 8,
17173 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17174 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17175 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17176 		.alen   = 16,
17177 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17178 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17179 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17180 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17181 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17182 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17183 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17184 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17185 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17186 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17187 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17188 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17189 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17190 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17191 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17192 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17193 		.ilen	= 128,
17194 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17195 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17196 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17197 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17198 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17199 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17200 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17201 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17202 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17203 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17204 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17205 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17206 		  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17207 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17208 			  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17209 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17210 			  "\x9c\x2d\x7e\xee\x20\x34\x55\x0a"
17211 			  "\xce\xb5\x4e\x64\x53\xe7\xbf\x91"
17212 			  "\xab\xd4\xd9\xda\xc9\x12\xae\xf7",
17213 		.rlen	= 128 + 24,
17214 	},
17215 };
17216 
17217 static const struct aead_testvec hmac_sha256_des_cbc_enc_tv_temp[] = {
17218 	{ /*Generated with cryptopp*/
17219 #ifdef __LITTLE_ENDIAN
17220 		.key    = "\x08\x00"		/* rta length */
17221 			  "\x01\x00"		/* rta type */
17222 #else
17223 		.key    = "\x00\x08"		/* rta length */
17224 			  "\x00\x01"		/* rta type */
17225 #endif
17226 			  "\x00\x00\x00\x08"	/* enc key length */
17227 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17228 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17229 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17230 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17231 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17232 		.klen	= 8 + 32 + 8,
17233 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17234 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17235 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17236 		.alen   = 16,
17237 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17238 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17239 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17240 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17241 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17242 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17243 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17244 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17245 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17246 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17247 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17248 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17249 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17250 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17251 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17252 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17253 		.ilen	= 128,
17254 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17255 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17256 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17257 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17258 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17259 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17260 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17261 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17262 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17263 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17264 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17265 		  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17266 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17267 		  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17268 		  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17269 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17270 			  "\xc6\x58\xa1\x60\x70\x91\x39\x36"
17271 			  "\x50\xf6\x5d\xab\x4b\x51\x4e\x5e"
17272 			  "\xde\x63\xde\x76\x52\xde\x9f\xba"
17273 			  "\x90\xcf\x15\xf2\xbb\x6e\x84\x00",
17274 		.rlen	= 128 + 32,
17275 	},
17276 };
17277 
17278 static const struct aead_testvec hmac_sha384_des_cbc_enc_tv_temp[] = {
17279 	{ /*Generated with cryptopp*/
17280 #ifdef __LITTLE_ENDIAN
17281 		.key    = "\x08\x00"		/* rta length */
17282 			  "\x01\x00"		/* rta type */
17283 #else
17284 		.key    = "\x00\x08"		/* rta length */
17285 			  "\x00\x01"		/* rta type */
17286 #endif
17287 			  "\x00\x00\x00\x08"	/* enc key length */
17288 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17289 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17290 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17291 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17292 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17293 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17294 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17295 		.klen	= 8 + 48 + 8,
17296 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17297 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17298 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17299 		.alen   = 16,
17300 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17301 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17302 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17303 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17304 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17305 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17306 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17307 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17308 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17309 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17310 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17311 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17312 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17313 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17314 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17315 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17316 		.ilen	= 128,
17317 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17318 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17319 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17320 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17321 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17322 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17323 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17324 			  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17325 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17326 			  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17327 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17328 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17329 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17330 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17331 			  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17332 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17333 			  "\xa8\x8e\x9c\x74\x8c\x2b\x99\xa0"
17334 			  "\xc8\x8c\xef\x25\x07\x83\x11\x3a"
17335 			  "\x31\x8d\xbe\x3b\x6a\xd7\x96\xfe"
17336 			  "\x5e\x67\xb5\x74\xe7\xe7\x85\x61"
17337 			  "\x6a\x95\x26\x75\xcc\x53\x89\xf3"
17338 			  "\x74\xc9\x2a\x76\x20\xa2\x64\x62",
17339 		.rlen	= 128 + 48,
17340 	},
17341 };
17342 
17343 static const struct aead_testvec hmac_sha512_des_cbc_enc_tv_temp[] = {
17344 	{ /*Generated with cryptopp*/
17345 #ifdef __LITTLE_ENDIAN
17346 		.key    = "\x08\x00"		/* rta length */
17347 		  "\x01\x00"		/* rta type */
17348 #else
17349 		.key    = "\x00\x08"		/* rta length */
17350 			  "\x00\x01"		/* rta type */
17351 #endif
17352 			  "\x00\x00\x00\x08"	/* enc key length */
17353 		  "\x11\x22\x33\x44\x55\x66\x77\x88"
17354 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17355 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17356 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17357 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17358 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17359 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17360 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17361 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24",
17362 		.klen	= 8 + 64 + 8,
17363 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17364 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17365 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17366 		.alen   = 16,
17367 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17368 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17369 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17370 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17371 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17372 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17373 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17374 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17375 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17376 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17377 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17378 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17379 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17380 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17381 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17382 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17383 		.ilen	= 128,
17384 		.result	= "\x70\xd6\xde\x64\x87\x17\xf1\xe8"
17385 			  "\x54\x31\x85\x37\xed\x6b\x01\x8d"
17386 			  "\xe3\xcc\xe0\x1d\x5e\xf3\xfe\xf1"
17387 			  "\x41\xaa\x33\x91\xa7\x7d\x99\x88"
17388 			  "\x4d\x85\x6e\x2f\xa3\x69\xf5\x82"
17389 			  "\x3a\x6f\x25\xcb\x7d\x58\x1f\x9b"
17390 			  "\xaa\x9c\x11\xd5\x76\x67\xce\xde"
17391 		  "\x56\xd7\x5a\x80\x69\xea\x3a\x02"
17392 			  "\xf0\xc7\x7c\xe3\xcb\x40\xe5\x52"
17393 		  "\xd1\x10\x92\x78\x0b\x8e\x5b\xf1"
17394 			  "\xe3\x26\x1f\xe1\x15\x41\xc7\xba"
17395 			  "\x99\xdb\x08\x51\x1c\xd3\x01\xf4"
17396 			  "\x87\x47\x39\xb8\xd2\xdd\xbd\xfb"
17397 			  "\x66\x13\xdf\x1c\x01\x44\xf0\x7a"
17398 		  "\x1a\x6b\x13\xf5\xd5\x0b\xb8\xba"
17399 			  "\x53\xba\xe1\x76\xe3\x82\x07\x86"
17400 			  "\xc6\x2c\x73\x88\xb0\x9d\x5f\x3e"
17401 			  "\x5b\x78\xca\x0e\xab\x8a\xa3\xbb"
17402 			  "\xd9\x1d\xc3\xe3\x05\xac\x76\xfb"
17403 			  "\x58\x83\xda\x67\xfb\x21\x24\xa2"
17404 			  "\xb1\xa7\xd7\x66\xa6\x8d\xa6\x93"
17405 			  "\x97\xe2\xe3\xb8\xaa\x48\x85\xee"
17406 			  "\x8c\xf6\x07\x95\x1f\xa6\x6c\x96"
17407 			  "\x99\xc7\x5c\x8d\xd8\xb5\x68\x7b",
17408 		.rlen	= 128 + 64,
17409 	},
17410 };
17411 
17412 static const struct aead_testvec hmac_sha1_des3_ede_cbc_enc_tv_temp[] = {
17413 	{ /*Generated with cryptopp*/
17414 #ifdef __LITTLE_ENDIAN
17415 		.key    = "\x08\x00"		/* rta length */
17416 			  "\x01\x00"		/* rta type */
17417 #else
17418 		.key    = "\x00\x08"		/* rta length */
17419 			  "\x00\x01"		/* rta type */
17420 #endif
17421 			  "\x00\x00\x00\x18"	/* enc key length */
17422 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17423 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17424 			  "\x22\x33\x44\x55"
17425 		  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17426 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17427 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17428 		.klen	= 8 + 20 + 24,
17429 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17430 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17431 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17432 		.alen   = 16,
17433 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17434 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17435 		  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17436 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17437 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17438 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17439 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17440 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17441 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17442 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17443 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17444 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17445 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17446 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17447 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17448 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17449 		.ilen	= 128,
17450 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17451 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17452 		  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17453 		  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17454 		  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17455 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17456 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17457 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17458 		  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17459 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17460 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17461 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17462 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17463 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17464 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17465 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17466 			  "\x67\x6d\xb1\xf5\xb8\x10\xdc\xc6"
17467 			  "\x75\x86\x96\x6b\xb1\xc5\xe4\xcf"
17468 			  "\xd1\x60\x91\xb3",
17469 			  .rlen	= 128 + 20,
17470 	},
17471 };
17472 
17473 static const struct aead_testvec hmac_sha224_des3_ede_cbc_enc_tv_temp[] = {
17474 	{ /*Generated with cryptopp*/
17475 #ifdef __LITTLE_ENDIAN
17476 		.key    = "\x08\x00"		/* rta length */
17477 			  "\x01\x00"		/* rta type */
17478 #else
17479 		.key    = "\x00\x08"		/* rta length */
17480 			  "\x00\x01"		/* rta type */
17481 #endif
17482 			  "\x00\x00\x00\x18"	/* enc key length */
17483 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17484 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17485 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17486 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17487 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17488 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17489 		.klen	= 8 + 24 + 24,
17490 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17491 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17492 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17493 		.alen   = 16,
17494 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17495 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17496 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17497 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17498 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17499 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17500 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17501 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17502 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17503 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17504 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17505 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17506 		  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17507 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17508 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17509 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17510 		.ilen	= 128,
17511 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17512 		  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17513 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17514 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17515 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17516 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17517 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17518 		  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17519 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17520 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17521 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17522 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17523 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17524 		  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17525 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17526 		  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17527 			  "\x15\x24\x7f\x5a\x45\x4a\x66\xce"
17528 			  "\x2b\x0b\x93\x99\x2f\x9d\x0c\x6c"
17529 			  "\x56\x1f\xe1\xa6\x41\xb2\x4c\xd0",
17530 			  .rlen	= 128 + 24,
17531 	},
17532 };
17533 
17534 static const struct aead_testvec hmac_sha256_des3_ede_cbc_enc_tv_temp[] = {
17535 	{ /*Generated with cryptopp*/
17536 #ifdef __LITTLE_ENDIAN
17537 		.key    = "\x08\x00"		/* rta length */
17538 			  "\x01\x00"		/* rta type */
17539 #else
17540 		.key    = "\x00\x08"		/* rta length */
17541 			  "\x00\x01"		/* rta type */
17542 #endif
17543 			  "\x00\x00\x00\x18"	/* enc key length */
17544 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17545 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17546 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17547 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17548 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17549 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17550 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17551 		.klen	= 8 + 32 + 24,
17552 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17553 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17554 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17555 		.alen   = 16,
17556 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17557 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17558 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17559 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17560 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17561 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17562 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17563 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17564 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17565 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17566 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17567 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17568 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17569 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17570 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17571 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17572 		.ilen	= 128,
17573 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17574 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17575 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17576 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17577 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17578 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17579 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17580 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17581 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17582 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17583 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17584 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17585 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17586 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17587 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17588 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17589 			  "\x73\xb0\xea\x9f\xe8\x18\x80\xd6"
17590 			  "\x56\x38\x44\xc0\xdb\xe3\x4f\x71"
17591 			  "\xf7\xce\xd1\xd3\xf8\xbd\x3e\x4f"
17592 			  "\xca\x43\x95\xdf\x80\x61\x81\xa9",
17593 		.rlen	= 128 + 32,
17594 	},
17595 };
17596 
17597 static const struct aead_testvec hmac_sha384_des3_ede_cbc_enc_tv_temp[] = {
17598 	{ /*Generated with cryptopp*/
17599 #ifdef __LITTLE_ENDIAN
17600 		.key    = "\x08\x00"		/* rta length */
17601 			  "\x01\x00"		/* rta type */
17602 #else
17603 		.key    = "\x00\x08"		/* rta length */
17604 			  "\x00\x01"		/* rta type */
17605 #endif
17606 			  "\x00\x00\x00\x18"	/* enc key length */
17607 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17608 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17609 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17610 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17611 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17612 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17613 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17614 			  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17615 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17616 		.klen	= 8 + 48 + 24,
17617 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17618 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17619 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17620 		.alen   = 16,
17621 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17622 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17623 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17624 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17625 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17626 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17627 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17628 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17629 			  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17630 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17631 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17632 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17633 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17634 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17635 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17636 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17637 		.ilen	= 128,
17638 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17639 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17640 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17641 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17642 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17643 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17644 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17645 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17646 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17647 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17648 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17649 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17650 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17651 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17652 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17653 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17654 			  "\x6d\x77\xfc\x80\x9d\x8a\x9c\xb7"
17655 		  "\x70\xe7\x93\xbf\x73\xe6\x9f\x83"
17656 			  "\x99\x62\x23\xe6\x5b\xd0\xda\x18"
17657 			  "\xa4\x32\x8a\x0b\x46\xd7\xf0\x39"
17658 			  "\x36\x5d\x13\x2f\x86\x10\x78\xd6"
17659 			  "\xd6\xbe\x5c\xb9\x15\x89\xf9\x1b",
17660 		.rlen	= 128 + 48,
17661 	},
17662 };
17663 
17664 static const struct aead_testvec hmac_sha512_des3_ede_cbc_enc_tv_temp[] = {
17665 	{ /*Generated with cryptopp*/
17666 #ifdef __LITTLE_ENDIAN
17667 		.key    = "\x08\x00"		/* rta length */
17668 			  "\x01\x00"		/* rta type */
17669 #else
17670 		.key    = "\x00\x08"		/* rta length */
17671 			  "\x00\x01"		/* rta type */
17672 #endif
17673 			  "\x00\x00\x00\x18"	/* enc key length */
17674 			  "\x11\x22\x33\x44\x55\x66\x77\x88"
17675 			  "\x99\xaa\xbb\xcc\xdd\xee\xff\x11"
17676 			  "\x22\x33\x44\x55\x66\x77\x88\x99"
17677 			  "\xaa\xbb\xcc\xdd\xee\xff\x11\x22"
17678 			  "\x33\x44\x55\x66\x77\x88\x99\xaa"
17679 			  "\xbb\xcc\xdd\xee\xff\x11\x22\x33"
17680 			  "\x44\x55\x66\x77\x88\x99\xaa\xbb"
17681 			  "\xcc\xdd\xee\xff\x11\x22\x33\x44"
17682 			  "\xE9\xC0\xFF\x2E\x76\x0B\x64\x24"
17683 		  "\x44\x4D\x99\x5A\x12\xD6\x40\xC0"
17684 			  "\xEA\xC2\x84\xE8\x14\x95\xDB\xE8",
17685 		.klen	= 8 + 64 + 24,
17686 		.iv	= "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17687 		.assoc  = "\x00\x00\x43\x21\x00\x00\x00\x01"
17688 			  "\x7D\x33\x88\x93\x0F\x93\xB2\x42",
17689 		.alen   = 16,
17690 		.input	= "\x6f\x54\x20\x6f\x61\x4d\x79\x6e"
17691 			  "\x53\x20\x63\x65\x65\x72\x73\x74"
17692 			  "\x54\x20\x6f\x6f\x4d\x20\x6e\x61"
17693 			  "\x20\x79\x65\x53\x72\x63\x74\x65"
17694 			  "\x20\x73\x6f\x54\x20\x6f\x61\x4d"
17695 			  "\x79\x6e\x53\x20\x63\x65\x65\x72"
17696 			  "\x73\x74\x54\x20\x6f\x6f\x4d\x20"
17697 			  "\x6e\x61\x20\x79\x65\x53\x72\x63"
17698 		  "\x74\x65\x20\x73\x6f\x54\x20\x6f"
17699 			  "\x61\x4d\x79\x6e\x53\x20\x63\x65"
17700 			  "\x65\x72\x73\x74\x54\x20\x6f\x6f"
17701 			  "\x4d\x20\x6e\x61\x20\x79\x65\x53"
17702 			  "\x72\x63\x74\x65\x20\x73\x6f\x54"
17703 			  "\x20\x6f\x61\x4d\x79\x6e\x53\x20"
17704 			  "\x63\x65\x65\x72\x73\x74\x54\x20"
17705 			  "\x6f\x6f\x4d\x20\x6e\x61\x0a\x79",
17706 		.ilen	= 128,
17707 		.result	= "\x0e\x2d\xb6\x97\x3c\x56\x33\xf4"
17708 			  "\x67\x17\x21\xc7\x6e\x8a\xd5\x49"
17709 			  "\x74\xb3\x49\x05\xc5\x1c\xd0\xed"
17710 			  "\x12\x56\x5c\x53\x96\xb6\x00\x7d"
17711 			  "\x90\x48\xfc\xf5\x8d\x29\x39\xcc"
17712 			  "\x8a\xd5\x35\x18\x36\x23\x4e\xd7"
17713 			  "\x76\xd1\xda\x0c\x94\x67\xbb\x04"
17714 			  "\x8b\xf2\x03\x6c\xa8\xcf\xb6\xea"
17715 			  "\x22\x64\x47\xaa\x8f\x75\x13\xbf"
17716 			  "\x9f\xc2\xc3\xf0\xc9\x56\xc5\x7a"
17717 			  "\x71\x63\x2e\x89\x7b\x1e\x12\xca"
17718 			  "\xe2\x5f\xaf\xd8\xa4\xf8\xc9\x7a"
17719 			  "\xd6\xf9\x21\x31\x62\x44\x45\xa6"
17720 			  "\xd6\xbc\x5a\xd3\x2d\x54\x43\xcc"
17721 			  "\x9d\xde\xa5\x70\xe9\x42\x45\x8a"
17722 			  "\x6b\xfa\xb1\x91\x13\xb0\xd9\x19"
17723 			  "\x41\xb5\x1f\xbb\xbd\x4e\xb8\x32"
17724 			  "\x22\x86\x4e\x57\x1b\x2a\xd8\x6e"
17725 			  "\xa9\xfb\xc8\xf3\xbf\x2d\xae\x2b"
17726 			  "\x3b\xbc\x41\xe8\x38\xbb\xf1\x60"
17727 			  "\x4c\x68\xa9\x4e\x8c\x73\xa7\xc0"
17728 			  "\x2a\x74\xd4\x65\x12\xcb\x55\xf2"
17729 			  "\xd5\x02\x6d\xe6\xaf\xc9\x2f\xf2"
17730 			  "\x57\xaa\x85\xf7\xf3\x6a\xcb\xdb",
17731 		.rlen	= 128 + 64,
17732 	},
17733 };
17734 
17735 static const struct cipher_testvec aes_lrw_enc_tv_template[] = {
17736 	/* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
17737 	{ /* LRW-32-AES 1 */
17738 		.key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
17739 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
17740 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
17741 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
17742 		.klen   = 32,
17743 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17744 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17745 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17746 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17747 		.ilen   = 16,
17748 		.result = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
17749 			  "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
17750 		.rlen   = 16,
17751 	}, { /* LRW-32-AES 2 */
17752 		.key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
17753 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
17754 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
17755 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
17756 		.klen   = 32,
17757 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17758 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
17759 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17760 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17761 		.ilen   = 16,
17762 		.result = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
17763 			  "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
17764 		.rlen   = 16,
17765 	}, { /* LRW-32-AES 3 */
17766 		.key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
17767 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
17768 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
17769 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
17770 		.klen   = 32,
17771 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17772 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
17773 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17774 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17775 		.ilen   = 16,
17776 		.result = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
17777 			  "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
17778 		.rlen   = 16,
17779 	}, { /* LRW-32-AES 4 */
17780 		.key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
17781 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
17782 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
17783 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
17784 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
17785 		.klen   = 40,
17786 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17787 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17788 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17789 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17790 		.ilen   = 16,
17791 		.result = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
17792 			  "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
17793 		.rlen   = 16,
17794 	}, { /* LRW-32-AES 5 */
17795 		.key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
17796 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
17797 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
17798 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
17799 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
17800 		.klen   = 40,
17801 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17802 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
17803 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17804 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17805 		.ilen   = 16,
17806 		.result = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
17807 			  "\xc8\x60\x48\x02\x87\xe3\x34\x06",
17808 		.rlen   = 16,
17809 	}, { /* LRW-32-AES 6 */
17810 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17811 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17812 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17813 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17814 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17815 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17816 		.klen   = 48,
17817 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17818 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17819 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17820 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17821 		.ilen   = 16,
17822 		.result = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
17823 			  "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
17824 		.rlen   = 16,
17825 	}, { /* LRW-32-AES 7 */
17826 		.key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
17827 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
17828 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
17829 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
17830 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
17831 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
17832 		.klen   = 48,
17833 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17834 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
17835 		.input  = "\x30\x31\x32\x33\x34\x35\x36\x37"
17836 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
17837 		.ilen   = 16,
17838 		.result = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
17839 			  "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
17840 		.rlen   = 16,
17841 	}, {
17842 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
17843 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
17844 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
17845 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
17846 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
17847 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
17848 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
17849 		.klen   = 48,
17850 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17851 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17852 		.input  = "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
17853 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
17854 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
17855 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
17856 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
17857 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
17858 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
17859 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
17860 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
17861 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
17862 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
17863 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
17864 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
17865 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
17866 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
17867 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
17868 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
17869 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
17870 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
17871 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
17872 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
17873 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
17874 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
17875 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
17876 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
17877 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
17878 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
17879 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
17880 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
17881 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
17882 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
17883 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
17884 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
17885 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
17886 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
17887 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
17888 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
17889 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
17890 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
17891 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
17892 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
17893 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
17894 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
17895 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
17896 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
17897 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
17898 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
17899 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
17900 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
17901 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
17902 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
17903 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
17904 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
17905 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
17906 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
17907 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
17908 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
17909 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
17910 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
17911 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
17912 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
17913 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
17914 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
17915 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
17916 		.ilen   = 512,
17917 		.result = "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
17918 			  "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
17919 			  "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
17920 			  "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
17921 			  "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
17922 			  "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
17923 			  "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
17924 			  "\xe8\x58\x46\x97\x39\x51\x07\xde"
17925 			  "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
17926 			  "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
17927 			  "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
17928 			  "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
17929 			  "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
17930 			  "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
17931 			  "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
17932 			  "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
17933 			  "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
17934 			  "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
17935 			  "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
17936 			  "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
17937 			  "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
17938 			  "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
17939 			  "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
17940 			  "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
17941 			  "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
17942 			  "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
17943 			  "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
17944 			  "\x41\x30\x58\xc5\x62\x74\x52\x1d"
17945 			  "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
17946 			  "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
17947 			  "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
17948 			  "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
17949 			  "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
17950 			  "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
17951 			  "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
17952 			  "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
17953 			  "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
17954 			  "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
17955 			  "\xb8\x79\x78\x97\x94\xff\x72\x13"
17956 			  "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
17957 			  "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
17958 			  "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
17959 			  "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
17960 			  "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
17961 			  "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
17962 			  "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
17963 			  "\x1e\x86\x53\x11\x53\x94\x00\xee"
17964 			  "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
17965 			  "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
17966 			  "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
17967 			  "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
17968 			  "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
17969 			  "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
17970 			  "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
17971 			  "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
17972 			  "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
17973 			  "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
17974 			  "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
17975 			  "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
17976 			  "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
17977 			  "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
17978 			  "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
17979 			  "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
17980 			  "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
17981 		.rlen   = 512,
17982 		.also_non_np = 1,
17983 		.np	= 3,
17984 		.tap	= { 512 - 20, 4, 16 },
17985 	}
17986 };
17987 
17988 static const struct cipher_testvec aes_lrw_dec_tv_template[] = {
17989 	/* from http://grouper.ieee.org/groups/1619/email/pdf00017.pdf */
17990 	/* same as enc vectors with input and result reversed */
17991 	{ /* LRW-32-AES 1 */
17992 		.key    = "\x45\x62\xac\x25\xf8\x28\x17\x6d"
17993 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
17994 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
17995 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
17996 		.klen   = 32,
17997 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
17998 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
17999 		.input  = "\xf1\xb2\x73\xcd\x65\xa3\xdf\x5f"
18000 			  "\xe9\x5d\x48\x92\x54\x63\x4e\xb8",
18001 		.ilen   = 16,
18002 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18003 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18004 		.rlen   = 16,
18005 	}, { /* LRW-32-AES 2 */
18006 		.key    = "\x59\x70\x47\x14\xf5\x57\x47\x8c"
18007 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
18008 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
18009 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
18010 		.klen   = 32,
18011 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18012 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
18013 		.input  = "\x00\xc8\x2b\xae\x95\xbb\xcd\xe5"
18014 			  "\x27\x4f\x07\x69\xb2\x60\xe1\x36",
18015 		.ilen   = 16,
18016 		.result  = "\x30\x31\x32\x33\x34\x35\x36\x37"
18017 			   "\x38\x39\x41\x42\x43\x44\x45\x46",
18018 		.rlen   = 16,
18019 	}, { /* LRW-32-AES 3 */
18020 		.key    = "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
18021 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
18022 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
18023 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
18024 		.klen   = 32,
18025 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18026 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
18027 		.input  = "\x76\x32\x21\x83\xed\x8f\xf1\x82"
18028 			  "\xf9\x59\x62\x03\x69\x0e\x5e\x01",
18029 		.ilen   = 16,
18030 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18031 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18032 		.rlen   = 16,
18033 	}, { /* LRW-32-AES 4 */
18034 		.key    = "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
18035 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
18036 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
18037 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
18038 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
18039 		.klen   = 40,
18040 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18041 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18042 		.input  = "\x9c\x0f\x15\x2f\x55\xa2\xd8\xf0"
18043 			  "\xd6\x7b\x8f\x9e\x28\x22\xbc\x41",
18044 		.ilen   = 16,
18045 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18046 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18047 		.rlen   = 16,
18048 	}, { /* LRW-32-AES 5 */
18049 		.key    = "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
18050 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
18051 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
18052 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
18053 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
18054 		.klen   = 40,
18055 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18056 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
18057 		.input  = "\xd4\x27\x6a\x7f\x14\x91\x3d\x65"
18058 			  "\xc8\x60\x48\x02\x87\xe3\x34\x06",
18059 		.ilen   = 16,
18060 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18061 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18062 		.rlen   = 16,
18063 	}, { /* LRW-32-AES 6 */
18064 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18065 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18066 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18067 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18068 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18069 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18070 		.klen   = 48,
18071 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18072 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18073 		.input  = "\xbd\x06\xb8\xe1\xdb\x98\x89\x9e"
18074 			  "\xc4\x98\xe4\x91\xcf\x1c\x70\x2b",
18075 		.ilen   = 16,
18076 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18077 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18078 		.rlen   = 16,
18079 	}, { /* LRW-32-AES 7 */
18080 		.key    = "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
18081 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
18082 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
18083 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
18084 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
18085 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
18086 		.klen   = 48,
18087 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18088 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
18089 		.input  = "\x5b\x90\x8e\xc1\xab\xdd\x67\x5f"
18090 			  "\x3d\x69\x8a\x95\x53\xc8\x9c\xe5",
18091 		.ilen   = 16,
18092 		.result = "\x30\x31\x32\x33\x34\x35\x36\x37"
18093 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
18094 		.rlen   = 16,
18095 	}, {
18096 /* http://www.mail-archive.com/stds-p1619@listserv.ieee.org/msg00173.html */
18097 		.key    = "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
18098 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
18099 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
18100 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
18101 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
18102 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
18103 		.klen   = 48,
18104 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18105 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
18106 		.input	= "\x1a\x1d\xa9\x30\xad\xf9\x2f\x9b"
18107 			  "\xb6\x1d\xae\xef\xf0\x2f\xf8\x5a"
18108 			  "\x39\x3c\xbf\x2a\xb2\x45\xb2\x23"
18109 			  "\x1b\x63\x3c\xcf\xaa\xbe\xcf\x4e"
18110 			  "\xfa\xe8\x29\xc2\x20\x68\x2b\x3c"
18111 			  "\x2e\x8b\xf7\x6e\x25\xbd\xe3\x3d"
18112 			  "\x66\x27\xd6\xaf\xd6\x64\x3e\xe3"
18113 			  "\xe8\x58\x46\x97\x39\x51\x07\xde"
18114 			  "\xcb\x37\xbc\xa9\xc0\x5f\x75\xc3"
18115 			  "\x0e\x84\x23\x1d\x16\xd4\x1c\x59"
18116 			  "\x9c\x1a\x02\x55\xab\x3a\x97\x1d"
18117 			  "\xdf\xdd\xc7\x06\x51\xd7\x70\xae"
18118 			  "\x23\xc6\x8c\xf5\x1e\xa0\xe5\x82"
18119 			  "\xb8\xb2\xbf\x04\xa0\x32\x8e\x68"
18120 			  "\xeb\xaf\x6e\x2d\x94\x22\x2f\xce"
18121 			  "\x4c\xb5\x59\xe2\xa2\x2f\xa0\x98"
18122 			  "\x1a\x97\xc6\xd4\xb5\x00\x59\xf2"
18123 			  "\x84\x14\x72\xb1\x9a\x6e\xa3\x7f"
18124 			  "\xea\x20\xe7\xcb\x65\x77\x3a\xdf"
18125 			  "\xc8\x97\x67\x15\xc2\x2a\x27\xcc"
18126 			  "\x18\x55\xa1\x24\x0b\x24\x24\xaf"
18127 			  "\x5b\xec\x68\xb8\xc8\xf5\xba\x63"
18128 			  "\xff\xed\x89\xce\xd5\x3d\x88\xf3"
18129 			  "\x25\xef\x05\x7c\x3a\xef\xeb\xd8"
18130 			  "\x7a\x32\x0d\xd1\x1e\x58\x59\x99"
18131 			  "\x90\x25\xb5\x26\xb0\xe3\x2b\x6c"
18132 			  "\x4c\xa9\x8b\x84\x4f\x5e\x01\x50"
18133 			  "\x41\x30\x58\xc5\x62\x74\x52\x1d"
18134 			  "\x45\x24\x6a\x42\x64\x4f\x97\x1c"
18135 			  "\xa8\x66\xb5\x6d\x79\xd4\x0d\x48"
18136 			  "\xc5\x5f\xf3\x90\x32\xdd\xdd\xe1"
18137 			  "\xe4\xa9\x9f\xfc\xc3\x52\x5a\x46"
18138 			  "\xe4\x81\x84\x95\x36\x59\x7a\x6b"
18139 			  "\xaa\xb3\x60\xad\xce\x9f\x9f\x28"
18140 			  "\xe0\x01\x75\x22\xc4\x4e\xa9\x62"
18141 			  "\x5c\x62\x0d\x00\xcb\x13\xe8\x43"
18142 			  "\x72\xd4\x2d\x53\x46\xb5\xd1\x16"
18143 			  "\x22\x18\xdf\x34\x33\xf5\xd6\x1c"
18144 			  "\xb8\x79\x78\x97\x94\xff\x72\x13"
18145 			  "\x4c\x27\xfc\xcb\xbf\x01\x53\xa6"
18146 			  "\xb4\x50\x6e\xde\xdf\xb5\x43\xa4"
18147 			  "\x59\xdf\x52\xf9\x7c\xe0\x11\x6f"
18148 			  "\x2d\x14\x8e\x24\x61\x2c\xe1\x17"
18149 			  "\xcc\xce\x51\x0c\x19\x8a\x82\x30"
18150 			  "\x94\xd5\x3d\x6a\x53\x06\x5e\xbd"
18151 			  "\xb7\xeb\xfa\xfd\x27\x51\xde\x85"
18152 			  "\x1e\x86\x53\x11\x53\x94\x00\xee"
18153 			  "\x2b\x8c\x08\x2a\xbf\xdd\xae\x11"
18154 			  "\xcb\x1e\xa2\x07\x9a\x80\xcf\x62"
18155 			  "\x9b\x09\xdc\x95\x3c\x96\x8e\xb1"
18156 			  "\x09\xbd\xe4\xeb\xdb\xca\x70\x7a"
18157 			  "\x9e\xfa\x31\x18\x45\x3c\x21\x33"
18158 			  "\xb0\xb3\x2b\xea\xf3\x71\x2d\xe1"
18159 			  "\x03\xad\x1b\x48\xd4\x67\x27\xf0"
18160 			  "\x62\xe4\x3d\xfb\x9b\x08\x76\xe7"
18161 			  "\xdd\x2b\x01\x39\x04\x5a\x58\x7a"
18162 			  "\xf7\x11\x90\xec\xbd\x51\x5c\x32"
18163 			  "\x6b\xd7\x35\x39\x02\x6b\xf2\xa6"
18164 			  "\xd0\x0d\x07\xe1\x06\xc4\x5b\x7d"
18165 			  "\xe4\x6a\xd7\xee\x15\x1f\x83\xb4"
18166 			  "\xa3\xa7\x5e\xc3\x90\xb7\xef\xd3"
18167 			  "\xb7\x4f\xf8\x92\x4c\xb7\x3c\x29"
18168 			  "\xcd\x7e\x2b\x5d\x43\xea\x42\xe7"
18169 			  "\x74\x3f\x7d\x58\x88\x75\xde\x3e",
18170 		.ilen   = 512,
18171 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
18172 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
18173 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
18174 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
18175 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
18176 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
18177 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
18178 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
18179 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
18180 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
18181 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
18182 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
18183 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
18184 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
18185 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
18186 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
18187 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
18188 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
18189 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
18190 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
18191 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
18192 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
18193 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
18194 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
18195 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
18196 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
18197 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
18198 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
18199 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
18200 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
18201 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
18202 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
18203 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
18204 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
18205 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
18206 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
18207 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
18208 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
18209 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
18210 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
18211 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
18212 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
18213 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
18214 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
18215 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
18216 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
18217 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
18218 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
18219 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
18220 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
18221 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
18222 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
18223 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
18224 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
18225 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
18226 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
18227 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
18228 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
18229 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
18230 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
18231 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
18232 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
18233 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
18234 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
18235 		.rlen   = 512,
18236 		.also_non_np = 1,
18237 		.np	= 3,
18238 		.tap	= { 512 - 20, 4, 16 },
18239 	}
18240 };
18241 
18242 static const struct cipher_testvec aes_xts_enc_tv_template[] = {
18243 	/* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
18244 	{ /* XTS-AES 1 */
18245 		.key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
18246 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18247 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18248 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18249 		.klen   = 32,
18250 		.fips_skip = 1,
18251 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18252 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18253 		.input  = "\x00\x00\x00\x00\x00\x00\x00\x00"
18254 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18255 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18256 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18257 		.ilen   = 32,
18258 		.result = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
18259 			  "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
18260 			  "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
18261 			  "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
18262 		.rlen   = 32,
18263 	}, { /* XTS-AES 2 */
18264 		.key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
18265 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
18266 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18267 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18268 		.klen   = 32,
18269 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18270 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18271 		.input  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18272 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18273 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18274 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18275 		.ilen   = 32,
18276 		.result = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
18277 			  "\x39\x33\x40\x38\xac\xef\x83\x8b"
18278 			  "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
18279 			  "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
18280 		.rlen   = 32,
18281 	}, { /* XTS-AES 3 */
18282 		.key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
18283 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
18284 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18285 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18286 		.klen   = 32,
18287 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18288 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18289 		.input  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18290 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18291 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18292 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18293 		.ilen   = 32,
18294 		.result = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
18295 			  "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
18296 			  "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
18297 			  "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
18298 		.rlen   = 32,
18299 	}, { /* XTS-AES 4 */
18300 		.key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
18301 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18302 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18303 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
18304 		.klen   = 32,
18305 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18306 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18307 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
18308 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18309 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18310 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18311 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18312 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18313 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18314 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18315 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18316 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18317 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18318 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18319 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18320 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18321 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18322 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18323 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18324 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18325 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18326 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18327 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18328 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18329 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18330 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18331 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18332 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18333 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18334 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18335 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18336 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18337 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18338 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18339 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18340 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18341 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18342 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18343 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18344 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18345 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18346 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18347 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18348 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18349 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18350 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18351 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18352 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18353 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18354 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18355 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18356 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18357 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18358 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18359 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18360 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18361 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18362 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18363 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18364 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18365 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18366 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18367 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18368 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18369 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18370 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18371 		.ilen   = 512,
18372 		.result = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
18373 			  "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
18374 			  "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
18375 			  "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
18376 			  "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
18377 			  "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
18378 			  "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
18379 			  "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
18380 			  "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
18381 			  "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
18382 			  "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
18383 			  "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
18384 			  "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
18385 			  "\x22\x97\x61\x46\xae\x20\xce\x84"
18386 			  "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
18387 			  "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
18388 			  "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
18389 			  "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
18390 			  "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
18391 			  "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
18392 			  "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
18393 			  "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
18394 			  "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
18395 			  "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
18396 			  "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
18397 			  "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
18398 			  "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
18399 			  "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
18400 			  "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
18401 			  "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
18402 			  "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
18403 			  "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
18404 			  "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
18405 			  "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
18406 			  "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
18407 			  "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
18408 			  "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
18409 			  "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
18410 			  "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
18411 			  "\x55\xef\x52\x97\xca\x67\xe9\xf3"
18412 			  "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
18413 			  "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
18414 			  "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
18415 			  "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
18416 			  "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
18417 			  "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
18418 			  "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
18419 			  "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
18420 			  "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
18421 			  "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
18422 			  "\x18\x84\x69\x77\xae\x11\x9f\x7a"
18423 			  "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
18424 			  "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
18425 			  "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
18426 			  "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
18427 			  "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
18428 			  "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
18429 			  "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
18430 			  "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
18431 			  "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
18432 			  "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
18433 			  "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
18434 			  "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
18435 			  "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
18436 		.rlen   = 512,
18437 	}, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
18438 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
18439 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18440 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
18441 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
18442 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18443 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
18444 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
18445 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
18446 		.klen	= 64,
18447 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
18448 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18449 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
18450 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18451 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18452 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18453 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18454 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18455 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18456 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18457 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18458 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18459 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18460 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18461 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18462 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18463 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18464 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18465 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18466 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18467 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18468 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18469 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18470 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18471 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18472 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18473 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18474 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18475 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18476 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18477 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18478 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18479 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18480 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18481 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18482 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18483 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18484 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18485 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18486 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18487 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18488 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18489 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18490 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18491 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18492 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18493 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18494 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18495 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18496 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18497 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18498 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18499 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18500 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18501 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18502 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18503 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18504 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18505 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18506 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18507 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18508 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18509 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18510 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18511 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18512 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18513 		.ilen	= 512,
18514 		.result	= "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
18515 			  "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
18516 			  "\xea\x00\x80\x3f\x5e\x48\x23\x57"
18517 			  "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
18518 			  "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
18519 			  "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
18520 			  "\x68\x0a\x86\xac\x35\xad\xfc\x33"
18521 			  "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
18522 			  "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
18523 			  "\xb1\x08\xfd\x10\x98\xba\xec\x70"
18524 			  "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
18525 			  "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
18526 			  "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
18527 			  "\xae\xba\x12\x29\x61\xd0\x3a\x75"
18528 			  "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
18529 			  "\x00\x02\x08\x87\x89\x14\x29\xca"
18530 			  "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
18531 			  "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
18532 			  "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
18533 			  "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
18534 			  "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
18535 			  "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
18536 			  "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
18537 			  "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
18538 			  "\x93\xec\x05\xc5\x2e\x04\x93\xef"
18539 			  "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
18540 			  "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
18541 			  "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
18542 			  "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
18543 			  "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
18544 			  "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
18545 			  "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
18546 			  "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
18547 			  "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
18548 			  "\xbc\x48\x14\x57\x77\x8f\x61\x60"
18549 			  "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
18550 			  "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
18551 			  "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
18552 			  "\xf4\xc3\x33\xec\x44\x23\x88\x51"
18553 			  "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
18554 			  "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
18555 			  "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
18556 			  "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
18557 			  "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
18558 			  "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
18559 			  "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
18560 			  "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
18561 			  "\x92\x5f\xed\xc4\xae\x74\xff\xac"
18562 			  "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
18563 			  "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
18564 			  "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
18565 			  "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
18566 			  "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
18567 			  "\x94\x30\x54\xff\x84\x01\x14\x93"
18568 			  "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
18569 			  "\x53\x76\x44\x1a\x77\xed\x43\x85"
18570 			  "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
18571 			  "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
18572 			  "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
18573 			  "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
18574 			  "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
18575 			  "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
18576 			  "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
18577 			  "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
18578 		.rlen	= 512,
18579 		.also_non_np = 1,
18580 		.np	= 3,
18581 		.tap	= { 512 - 20, 4, 16 },
18582 	}
18583 };
18584 
18585 static const struct cipher_testvec aes_xts_dec_tv_template[] = {
18586 	/* http://grouper.ieee.org/groups/1619/email/pdf00086.pdf */
18587 	{ /* XTS-AES 1 */
18588 		.key    = "\x00\x00\x00\x00\x00\x00\x00\x00"
18589 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18590 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
18591 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18592 		.klen   = 32,
18593 		.fips_skip = 1,
18594 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18595 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18596 		.input = "\x91\x7c\xf6\x9e\xbd\x68\xb2\xec"
18597 			 "\x9b\x9f\xe9\xa3\xea\xdd\xa6\x92"
18598 			 "\xcd\x43\xd2\xf5\x95\x98\xed\x85"
18599 			 "\x8c\x02\xc2\x65\x2f\xbf\x92\x2e",
18600 		.ilen   = 32,
18601 		.result  = "\x00\x00\x00\x00\x00\x00\x00\x00"
18602 			   "\x00\x00\x00\x00\x00\x00\x00\x00"
18603 			   "\x00\x00\x00\x00\x00\x00\x00\x00"
18604 			   "\x00\x00\x00\x00\x00\x00\x00\x00",
18605 		.rlen   = 32,
18606 	}, { /* XTS-AES 2 */
18607 		.key    = "\x11\x11\x11\x11\x11\x11\x11\x11"
18608 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
18609 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18610 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18611 		.klen   = 32,
18612 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18613 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18614 		.input  = "\xc4\x54\x18\x5e\x6a\x16\x93\x6e"
18615 			  "\x39\x33\x40\x38\xac\xef\x83\x8b"
18616 			  "\xfb\x18\x6f\xff\x74\x80\xad\xc4"
18617 			  "\x28\x93\x82\xec\xd6\xd3\x94\xf0",
18618 		.ilen   = 32,
18619 		.result = "\x44\x44\x44\x44\x44\x44\x44\x44"
18620 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18621 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18622 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18623 		.rlen   = 32,
18624 	}, { /* XTS-AES 3 */
18625 		.key    = "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
18626 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
18627 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
18628 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
18629 		.klen   = 32,
18630 		.iv     = "\x33\x33\x33\x33\x33\x00\x00\x00"
18631 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18632 		.input = "\xaf\x85\x33\x6b\x59\x7a\xfc\x1a"
18633 			  "\x90\x0b\x2e\xb2\x1e\xc9\x49\xd2"
18634 			  "\x92\xdf\x4c\x04\x7e\x0b\x21\x53"
18635 			  "\x21\x86\xa5\x97\x1a\x22\x7a\x89",
18636 		.ilen   = 32,
18637 		.result  = "\x44\x44\x44\x44\x44\x44\x44\x44"
18638 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18639 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
18640 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
18641 		.rlen   = 32,
18642 	}, { /* XTS-AES 4 */
18643 		.key    = "\x27\x18\x28\x18\x28\x45\x90\x45"
18644 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18645 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18646 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
18647 		.klen   = 32,
18648 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
18649 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18650 		.input  = "\x27\xa7\x47\x9b\xef\xa1\xd4\x76"
18651 			  "\x48\x9f\x30\x8c\xd4\xcf\xa6\xe2"
18652 			  "\xa9\x6e\x4b\xbe\x32\x08\xff\x25"
18653 			  "\x28\x7d\xd3\x81\x96\x16\xe8\x9c"
18654 			  "\xc7\x8c\xf7\xf5\xe5\x43\x44\x5f"
18655 			  "\x83\x33\xd8\xfa\x7f\x56\x00\x00"
18656 			  "\x05\x27\x9f\xa5\xd8\xb5\xe4\xad"
18657 			  "\x40\xe7\x36\xdd\xb4\xd3\x54\x12"
18658 			  "\x32\x80\x63\xfd\x2a\xab\x53\xe5"
18659 			  "\xea\x1e\x0a\x9f\x33\x25\x00\xa5"
18660 			  "\xdf\x94\x87\xd0\x7a\x5c\x92\xcc"
18661 			  "\x51\x2c\x88\x66\xc7\xe8\x60\xce"
18662 			  "\x93\xfd\xf1\x66\xa2\x49\x12\xb4"
18663 			  "\x22\x97\x61\x46\xae\x20\xce\x84"
18664 			  "\x6b\xb7\xdc\x9b\xa9\x4a\x76\x7a"
18665 			  "\xae\xf2\x0c\x0d\x61\xad\x02\x65"
18666 			  "\x5e\xa9\x2d\xc4\xc4\xe4\x1a\x89"
18667 			  "\x52\xc6\x51\xd3\x31\x74\xbe\x51"
18668 			  "\xa1\x0c\x42\x11\x10\xe6\xd8\x15"
18669 			  "\x88\xed\xe8\x21\x03\xa2\x52\xd8"
18670 			  "\xa7\x50\xe8\x76\x8d\xef\xff\xed"
18671 			  "\x91\x22\x81\x0a\xae\xb9\x9f\x91"
18672 			  "\x72\xaf\x82\xb6\x04\xdc\x4b\x8e"
18673 			  "\x51\xbc\xb0\x82\x35\xa6\xf4\x34"
18674 			  "\x13\x32\xe4\xca\x60\x48\x2a\x4b"
18675 			  "\xa1\xa0\x3b\x3e\x65\x00\x8f\xc5"
18676 			  "\xda\x76\xb7\x0b\xf1\x69\x0d\xb4"
18677 			  "\xea\xe2\x9c\x5f\x1b\xad\xd0\x3c"
18678 			  "\x5c\xcf\x2a\x55\xd7\x05\xdd\xcd"
18679 			  "\x86\xd4\x49\x51\x1c\xeb\x7e\xc3"
18680 			  "\x0b\xf1\x2b\x1f\xa3\x5b\x91\x3f"
18681 			  "\x9f\x74\x7a\x8a\xfd\x1b\x13\x0e"
18682 			  "\x94\xbf\xf9\x4e\xff\xd0\x1a\x91"
18683 			  "\x73\x5c\xa1\x72\x6a\xcd\x0b\x19"
18684 			  "\x7c\x4e\x5b\x03\x39\x36\x97\xe1"
18685 			  "\x26\x82\x6f\xb6\xbb\xde\x8e\xcc"
18686 			  "\x1e\x08\x29\x85\x16\xe2\xc9\xed"
18687 			  "\x03\xff\x3c\x1b\x78\x60\xf6\xde"
18688 			  "\x76\xd4\xce\xcd\x94\xc8\x11\x98"
18689 			  "\x55\xef\x52\x97\xca\x67\xe9\xf3"
18690 			  "\xe7\xff\x72\xb1\xe9\x97\x85\xca"
18691 			  "\x0a\x7e\x77\x20\xc5\xb3\x6d\xc6"
18692 			  "\xd7\x2c\xac\x95\x74\xc8\xcb\xbc"
18693 			  "\x2f\x80\x1e\x23\xe5\x6f\xd3\x44"
18694 			  "\xb0\x7f\x22\x15\x4b\xeb\xa0\xf0"
18695 			  "\x8c\xe8\x89\x1e\x64\x3e\xd9\x95"
18696 			  "\xc9\x4d\x9a\x69\xc9\xf1\xb5\xf4"
18697 			  "\x99\x02\x7a\x78\x57\x2a\xee\xbd"
18698 			  "\x74\xd2\x0c\xc3\x98\x81\xc2\x13"
18699 			  "\xee\x77\x0b\x10\x10\xe4\xbe\xa7"
18700 			  "\x18\x84\x69\x77\xae\x11\x9f\x7a"
18701 			  "\x02\x3a\xb5\x8c\xca\x0a\xd7\x52"
18702 			  "\xaf\xe6\x56\xbb\x3c\x17\x25\x6a"
18703 			  "\x9f\x6e\x9b\xf1\x9f\xdd\x5a\x38"
18704 			  "\xfc\x82\xbb\xe8\x72\xc5\x53\x9e"
18705 			  "\xdb\x60\x9e\xf4\xf7\x9c\x20\x3e"
18706 			  "\xbb\x14\x0f\x2e\x58\x3c\xb2\xad"
18707 			  "\x15\xb4\xaa\x5b\x65\x50\x16\xa8"
18708 			  "\x44\x92\x77\xdb\xd4\x77\xef\x2c"
18709 			  "\x8d\x6c\x01\x7d\xb7\x38\xb1\x8d"
18710 			  "\xeb\x4a\x42\x7d\x19\x23\xce\x3f"
18711 			  "\xf2\x62\x73\x57\x79\xa4\x18\xf2"
18712 			  "\x0a\x28\x2d\xf9\x20\x14\x7b\xea"
18713 			  "\xbe\x42\x1e\xe5\x31\x9d\x05\x68",
18714 		.ilen   = 512,
18715 		.result = "\x00\x01\x02\x03\x04\x05\x06\x07"
18716 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18717 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18718 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18719 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18720 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18721 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18722 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18723 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18724 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18725 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18726 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18727 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18728 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18729 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18730 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18731 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18732 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18733 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18734 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18735 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18736 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18737 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18738 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18739 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18740 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18741 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18742 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18743 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18744 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18745 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18746 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18747 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18748 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18749 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18750 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18751 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18752 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18753 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18754 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18755 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18756 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18757 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18758 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18759 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18760 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18761 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18762 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18763 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18764 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18765 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18766 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18767 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18768 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18769 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18770 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18771 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18772 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18773 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18774 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18775 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18776 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18777 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18778 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18779 		.rlen   = 512,
18780 	}, { /* XTS-AES 10, XTS-AES-256, data unit 512 bytes */
18781 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
18782 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
18783 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
18784 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
18785 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
18786 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
18787 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
18788 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
18789 		.klen	= 64,
18790 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
18791 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
18792 		.input	= "\x1c\x3b\x3a\x10\x2f\x77\x03\x86"
18793 			  "\xe4\x83\x6c\x99\xe3\x70\xcf\x9b"
18794 			  "\xea\x00\x80\x3f\x5e\x48\x23\x57"
18795 			  "\xa4\xae\x12\xd4\x14\xa3\xe6\x3b"
18796 			  "\x5d\x31\xe2\x76\xf8\xfe\x4a\x8d"
18797 			  "\x66\xb3\x17\xf9\xac\x68\x3f\x44"
18798 			  "\x68\x0a\x86\xac\x35\xad\xfc\x33"
18799 			  "\x45\xbe\xfe\xcb\x4b\xb1\x88\xfd"
18800 			  "\x57\x76\x92\x6c\x49\xa3\x09\x5e"
18801 			  "\xb1\x08\xfd\x10\x98\xba\xec\x70"
18802 			  "\xaa\xa6\x69\x99\xa7\x2a\x82\xf2"
18803 			  "\x7d\x84\x8b\x21\xd4\xa7\x41\xb0"
18804 			  "\xc5\xcd\x4d\x5f\xff\x9d\xac\x89"
18805 			  "\xae\xba\x12\x29\x61\xd0\x3a\x75"
18806 			  "\x71\x23\xe9\x87\x0f\x8a\xcf\x10"
18807 			  "\x00\x02\x08\x87\x89\x14\x29\xca"
18808 			  "\x2a\x3e\x7a\x7d\x7d\xf7\xb1\x03"
18809 			  "\x55\x16\x5c\x8b\x9a\x6d\x0a\x7d"
18810 			  "\xe8\xb0\x62\xc4\x50\x0d\xc4\xcd"
18811 			  "\x12\x0c\x0f\x74\x18\xda\xe3\xd0"
18812 			  "\xb5\x78\x1c\x34\x80\x3f\xa7\x54"
18813 			  "\x21\xc7\x90\xdf\xe1\xde\x18\x34"
18814 			  "\xf2\x80\xd7\x66\x7b\x32\x7f\x6c"
18815 			  "\x8c\xd7\x55\x7e\x12\xac\x3a\x0f"
18816 			  "\x93\xec\x05\xc5\x2e\x04\x93\xef"
18817 			  "\x31\xa1\x2d\x3d\x92\x60\xf7\x9a"
18818 			  "\x28\x9d\x6a\x37\x9b\xc7\x0c\x50"
18819 			  "\x84\x14\x73\xd1\xa8\xcc\x81\xec"
18820 			  "\x58\x3e\x96\x45\xe0\x7b\x8d\x96"
18821 			  "\x70\x65\x5b\xa5\xbb\xcf\xec\xc6"
18822 			  "\xdc\x39\x66\x38\x0a\xd8\xfe\xcb"
18823 			  "\x17\xb6\xba\x02\x46\x9a\x02\x0a"
18824 			  "\x84\xe1\x8e\x8f\x84\x25\x20\x70"
18825 			  "\xc1\x3e\x9f\x1f\x28\x9b\xe5\x4f"
18826 			  "\xbc\x48\x14\x57\x77\x8f\x61\x60"
18827 			  "\x15\xe1\x32\x7a\x02\xb1\x40\xf1"
18828 			  "\x50\x5e\xb3\x09\x32\x6d\x68\x37"
18829 			  "\x8f\x83\x74\x59\x5c\x84\x9d\x84"
18830 			  "\xf4\xc3\x33\xec\x44\x23\x88\x51"
18831 			  "\x43\xcb\x47\xbd\x71\xc5\xed\xae"
18832 			  "\x9b\xe6\x9a\x2f\xfe\xce\xb1\xbe"
18833 			  "\xc9\xde\x24\x4f\xbe\x15\x99\x2b"
18834 			  "\x11\xb7\x7c\x04\x0f\x12\xbd\x8f"
18835 			  "\x6a\x97\x5a\x44\xa0\xf9\x0c\x29"
18836 			  "\xa9\xab\xc3\xd4\xd8\x93\x92\x72"
18837 			  "\x84\xc5\x87\x54\xcc\xe2\x94\x52"
18838 			  "\x9f\x86\x14\xdc\xd2\xab\xa9\x91"
18839 			  "\x92\x5f\xed\xc4\xae\x74\xff\xac"
18840 			  "\x6e\x33\x3b\x93\xeb\x4a\xff\x04"
18841 			  "\x79\xda\x9a\x41\x0e\x44\x50\xe0"
18842 			  "\xdd\x7a\xe4\xc6\xe2\x91\x09\x00"
18843 			  "\x57\x5d\xa4\x01\xfc\x07\x05\x9f"
18844 			  "\x64\x5e\x8b\x7e\x9b\xfd\xef\x33"
18845 			  "\x94\x30\x54\xff\x84\x01\x14\x93"
18846 			  "\xc2\x7b\x34\x29\xea\xed\xb4\xed"
18847 			  "\x53\x76\x44\x1a\x77\xed\x43\x85"
18848 			  "\x1a\xd7\x7f\x16\xf5\x41\xdf\xd2"
18849 			  "\x69\xd5\x0d\x6a\x5f\x14\xfb\x0a"
18850 			  "\xab\x1c\xbb\x4c\x15\x50\xbe\x97"
18851 			  "\xf7\xab\x40\x66\x19\x3c\x4c\xaa"
18852 			  "\x77\x3d\xad\x38\x01\x4b\xd2\x09"
18853 			  "\x2f\xa7\x55\xc8\x24\xbb\x5e\x54"
18854 			  "\xc4\xf3\x6f\xfd\xa9\xfc\xea\x70"
18855 			  "\xb9\xc6\xe6\x93\xe1\x48\xc1\x51",
18856 		.ilen	= 512,
18857 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
18858 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18859 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18860 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18861 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18862 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18863 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18864 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18865 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18866 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18867 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18868 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18869 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18870 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18871 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18872 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18873 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18874 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18875 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18876 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18877 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18878 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18879 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18880 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18881 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18882 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18883 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18884 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18885 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18886 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18887 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18888 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
18889 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
18890 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
18891 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
18892 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
18893 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
18894 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
18895 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
18896 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
18897 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
18898 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
18899 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
18900 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
18901 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
18902 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
18903 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
18904 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
18905 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
18906 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
18907 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
18908 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
18909 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
18910 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
18911 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
18912 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
18913 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
18914 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
18915 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
18916 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
18917 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
18918 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
18919 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18920 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18921 		.rlen	= 512,
18922 		.also_non_np = 1,
18923 		.np	= 3,
18924 		.tap	= { 512 - 20, 4, 16 },
18925 	}
18926 };
18927 
18928 
18929 static const struct cipher_testvec aes_ctr_enc_tv_template[] = {
18930 	{ /* From NIST Special Publication 800-38A, Appendix F.5 */
18931 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
18932 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
18933 		.klen	= 16,
18934 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18935 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18936 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18937 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18938 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18939 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18940 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18941 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18942 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18943 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18944 		.ilen	= 64,
18945 		.result	= "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
18946 			  "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
18947 			  "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
18948 			  "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
18949 			  "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
18950 			  "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
18951 			  "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
18952 			  "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
18953 		.rlen	= 64,
18954 	}, {
18955 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
18956 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
18957 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
18958 		.klen	= 24,
18959 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18960 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18961 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18962 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18963 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18964 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18965 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18966 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18967 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18968 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18969 		.ilen	= 64,
18970 		.result	= "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
18971 			  "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
18972 			  "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
18973 			  "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
18974 			  "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
18975 			  "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
18976 			  "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
18977 			  "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
18978 		.rlen	= 64,
18979 	}, {
18980 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
18981 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
18982 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
18983 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
18984 		.klen	= 32,
18985 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
18986 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
18987 		.input	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
18988 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
18989 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
18990 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
18991 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
18992 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
18993 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
18994 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
18995 		.ilen	= 64,
18996 		.result	= "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
18997 			  "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
18998 			  "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
18999 			  "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
19000 			  "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
19001 			  "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
19002 			  "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
19003 			  "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
19004 		.rlen	= 64,
19005 	}, { /* Generated with Crypto++ */
19006 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19007 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19008 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19009 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19010 		.klen	= 32,
19011 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
19012 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
19013 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19014 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19015 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19016 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19017 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19018 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19019 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19020 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19021 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19022 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19023 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19024 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19025 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19026 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19027 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19028 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19029 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19030 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19031 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19032 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19033 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19034 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19035 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19036 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19037 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19038 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19039 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19040 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19041 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19042 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19043 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19044 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19045 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19046 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19047 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19048 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19049 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19050 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19051 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19052 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19053 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19054 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19055 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19056 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19057 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19058 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19059 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19060 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19061 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19062 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19063 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19064 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19065 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19066 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19067 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19068 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19069 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19070 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19071 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19072 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19073 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19074 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
19075 		.ilen	= 496,
19076 		.result	= "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
19077 			  "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
19078 			  "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
19079 			  "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
19080 			  "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
19081 			  "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
19082 			  "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
19083 			  "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
19084 			  "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
19085 			  "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
19086 			  "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
19087 			  "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
19088 			  "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
19089 			  "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
19090 			  "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
19091 			  "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
19092 			  "\x34\x4B\x31\x69\x84\x66\x96\x44"
19093 			  "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
19094 			  "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
19095 			  "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
19096 			  "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
19097 			  "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
19098 			  "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
19099 			  "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
19100 			  "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
19101 			  "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
19102 			  "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
19103 			  "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
19104 			  "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
19105 			  "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
19106 			  "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
19107 			  "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
19108 			  "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
19109 			  "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
19110 			  "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
19111 			  "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
19112 			  "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
19113 			  "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
19114 			  "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
19115 			  "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
19116 			  "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
19117 			  "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
19118 			  "\x85\x99\x22\xE8\x91\x38\x70\x83"
19119 			  "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
19120 			  "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
19121 			  "\x2F\x69\xEE\x84\x36\x44\x76\x98"
19122 			  "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
19123 			  "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
19124 			  "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
19125 			  "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
19126 			  "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
19127 			  "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
19128 			  "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
19129 			  "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
19130 			  "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
19131 			  "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
19132 			  "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
19133 			  "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
19134 			  "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
19135 			  "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
19136 			  "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
19137 			  "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
19138 		.rlen	= 496,
19139 		.also_non_np = 1,
19140 		.np	= 3,
19141 		.tap	= { 496 - 20, 4, 16 },
19142 	}, { /* Generated with Crypto++ */
19143 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19144 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19145 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19146 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19147 		.klen	= 32,
19148 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19149 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
19150 		.input	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19151 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19152 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19153 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19154 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19155 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19156 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19157 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19158 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19159 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19160 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19161 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19162 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19163 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19164 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19165 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19166 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19167 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19168 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19169 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19170 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19171 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19172 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19173 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19174 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19175 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19176 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19177 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19178 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19179 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19180 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19181 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19182 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19183 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19184 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19185 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19186 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19187 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19188 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19189 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19190 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19191 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19192 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19193 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19194 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19195 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19196 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19197 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19198 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19199 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19200 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19201 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19202 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19203 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19204 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19205 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19206 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19207 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19208 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19209 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19210 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19211 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
19212 			  "\x7B\xE4\x4D",
19213 		.ilen	= 499,
19214 		.result	= "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
19215 			  "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
19216 			  "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
19217 			  "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
19218 			  "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
19219 			  "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
19220 			  "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
19221 			  "\x75\xDE\x71\x86\x3C\x98\x23\x44"
19222 			  "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
19223 			  "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
19224 			  "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
19225 			  "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
19226 			  "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
19227 			  "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
19228 			  "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
19229 			  "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
19230 			  "\xA8\x28\x69\x65\x31\xE1\x45\x83"
19231 			  "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
19232 			  "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
19233 			  "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
19234 			  "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
19235 			  "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
19236 			  "\x45\x18\x18\x74\x19\xAD\x71\x01"
19237 			  "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
19238 			  "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
19239 			  "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
19240 			  "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
19241 			  "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
19242 			  "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
19243 			  "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
19244 			  "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
19245 			  "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
19246 			  "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
19247 			  "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
19248 			  "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
19249 			  "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
19250 			  "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
19251 			  "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
19252 			  "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
19253 			  "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
19254 			  "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
19255 			  "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
19256 			  "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
19257 			  "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
19258 			  "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
19259 			  "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
19260 			  "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
19261 			  "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
19262 			  "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
19263 			  "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
19264 			  "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
19265 			  "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
19266 			  "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
19267 			  "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
19268 			  "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
19269 			  "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
19270 			  "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
19271 			  "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
19272 			  "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
19273 			  "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
19274 			  "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
19275 			  "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
19276 			  "\xFB\xF2\x3F",
19277 		.rlen	= 499,
19278 		.also_non_np = 1,
19279 		.np	= 2,
19280 		.tap	= { 499 - 16, 16 },
19281 	},
19282 };
19283 
19284 static const struct cipher_testvec aes_ctr_dec_tv_template[] = {
19285 	{ /* From NIST Special Publication 800-38A, Appendix F.5 */
19286 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
19287 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
19288 		.klen	= 16,
19289 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19290 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19291 		.input	= "\x87\x4d\x61\x91\xb6\x20\xe3\x26"
19292 			  "\x1b\xef\x68\x64\x99\x0d\xb6\xce"
19293 			  "\x98\x06\xf6\x6b\x79\x70\xfd\xff"
19294 			  "\x86\x17\x18\x7b\xb9\xff\xfd\xff"
19295 			  "\x5a\xe4\xdf\x3e\xdb\xd5\xd3\x5e"
19296 			  "\x5b\x4f\x09\x02\x0d\xb0\x3e\xab"
19297 			  "\x1e\x03\x1d\xda\x2f\xbe\x03\xd1"
19298 			  "\x79\x21\x70\xa0\xf3\x00\x9c\xee",
19299 		.ilen	= 64,
19300 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19301 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19302 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19303 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19304 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19305 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19306 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19307 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19308 		.rlen	= 64,
19309 	}, {
19310 		.key	= "\x8e\x73\xb0\xf7\xda\x0e\x64\x52"
19311 			  "\xc8\x10\xf3\x2b\x80\x90\x79\xe5"
19312 			  "\x62\xf8\xea\xd2\x52\x2c\x6b\x7b",
19313 		.klen	= 24,
19314 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19315 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19316 		.input	= "\x1a\xbc\x93\x24\x17\x52\x1c\xa2"
19317 			  "\x4f\x2b\x04\x59\xfe\x7e\x6e\x0b"
19318 			  "\x09\x03\x39\xec\x0a\xa6\xfa\xef"
19319 			  "\xd5\xcc\xc2\xc6\xf4\xce\x8e\x94"
19320 			  "\x1e\x36\xb2\x6b\xd1\xeb\xc6\x70"
19321 			  "\xd1\xbd\x1d\x66\x56\x20\xab\xf7"
19322 			  "\x4f\x78\xa7\xf6\xd2\x98\x09\x58"
19323 			  "\x5a\x97\xda\xec\x58\xc6\xb0\x50",
19324 		.ilen	= 64,
19325 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19326 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19327 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19328 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19329 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19330 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19331 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19332 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19333 		.rlen	= 64,
19334 	}, {
19335 		.key	= "\x60\x3d\xeb\x10\x15\xca\x71\xbe"
19336 			  "\x2b\x73\xae\xf0\x85\x7d\x77\x81"
19337 			  "\x1f\x35\x2c\x07\x3b\x61\x08\xd7"
19338 			  "\x2d\x98\x10\xa3\x09\x14\xdf\xf4",
19339 		.klen	= 32,
19340 		.iv	= "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19341 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
19342 		.input	= "\x60\x1e\xc3\x13\x77\x57\x89\xa5"
19343 			  "\xb7\xa7\xf5\x04\xbb\xf3\xd2\x28"
19344 			  "\xf4\x43\xe3\xca\x4d\x62\xb5\x9a"
19345 			  "\xca\x84\xe9\x90\xca\xca\xf5\xc5"
19346 			  "\x2b\x09\x30\xda\xa2\x3d\xe9\x4c"
19347 			  "\xe8\x70\x17\xba\x2d\x84\x98\x8d"
19348 			  "\xdf\xc9\xc5\x8d\xb6\x7a\xad\xa6"
19349 			  "\x13\xc2\xdd\x08\x45\x79\x41\xa6",
19350 		.ilen	= 64,
19351 		.result	= "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
19352 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
19353 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
19354 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
19355 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
19356 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
19357 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
19358 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
19359 		.rlen	= 64,
19360 	}, { /* Generated with Crypto++ */
19361 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19362 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19363 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19364 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19365 		.klen	= 32,
19366 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
19367 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
19368 		.input	= "\x04\xF3\xD3\x88\x17\xEF\xDC\xEF"
19369 			  "\x8B\x04\xF8\x3A\x66\x8D\x1A\x53"
19370 			  "\x57\x1F\x4B\x23\xE4\xA0\xAF\xF9"
19371 			  "\x69\x95\x35\x98\x8D\x4D\x8C\xC1"
19372 			  "\xF0\xB2\x7F\x80\xBB\x54\x28\xA2"
19373 			  "\x7A\x1B\x9F\x77\xEC\x0E\x6E\xDE"
19374 			  "\xF0\xEC\xB8\xE4\x20\x62\xEE\xDB"
19375 			  "\x5D\xF5\xDD\xE3\x54\xFC\xDD\xEB"
19376 			  "\x6A\xEE\x65\xA1\x21\xD6\xD7\x81"
19377 			  "\x47\x61\x12\x4D\xC2\x8C\xFA\x78"
19378 			  "\x1F\x28\x02\x01\xC3\xFC\x1F\xEC"
19379 			  "\x0F\x10\x4F\xB3\x12\x45\xC6\x3B"
19380 			  "\x7E\x08\xF9\x5A\xD0\x5D\x73\x2D"
19381 			  "\x58\xA4\xE5\xCB\x1C\xB4\xCE\x74"
19382 			  "\x32\x41\x1F\x31\x9C\x08\xA2\x5D"
19383 			  "\x67\xEB\x72\x1D\xF8\xE7\x70\x54"
19384 			  "\x34\x4B\x31\x69\x84\x66\x96\x44"
19385 			  "\x56\xCC\x1E\xD9\xE6\x13\x6A\xB9"
19386 			  "\x2D\x0A\x05\x45\x2D\x90\xCC\xDF"
19387 			  "\x16\x5C\x5F\x79\x34\x52\x54\xFE"
19388 			  "\xFE\xCD\xAD\x04\x2E\xAD\x86\x06"
19389 			  "\x1F\x37\xE8\x28\xBC\xD3\x8F\x5B"
19390 			  "\x92\x66\x87\x3B\x8A\x0A\x1A\xCC"
19391 			  "\x6E\xAB\x9F\x0B\xFA\x5C\xE6\xFD"
19392 			  "\x3C\x98\x08\x12\xEC\xAA\x9E\x11"
19393 			  "\xCA\xB2\x1F\xCE\x5E\x5B\xB2\x72"
19394 			  "\x9C\xCC\x5D\xC5\xE0\x32\xC0\x56"
19395 			  "\xD5\x45\x16\xD2\xAF\x13\x66\xF7"
19396 			  "\x8C\x67\xAC\x79\xB2\xAF\x56\x27"
19397 			  "\x3F\xCC\xFE\xCB\x1E\xC0\x75\xF1"
19398 			  "\xA7\xC9\xC3\x1D\x8E\xDD\xF9\xD4"
19399 			  "\x42\xC8\x21\x08\x16\xF7\x01\xD7"
19400 			  "\xAC\x8E\x3F\x1D\x56\xC1\x06\xE4"
19401 			  "\x9C\x62\xD6\xA5\x6A\x50\x44\xB3"
19402 			  "\x35\x1C\x82\xB9\x10\xF9\x42\xA1"
19403 			  "\xFC\x74\x9B\x44\x4F\x25\x02\xE3"
19404 			  "\x08\xF5\xD4\x32\x39\x08\x11\xE8"
19405 			  "\xD2\x6B\x50\x53\xD4\x08\xD1\x6B"
19406 			  "\x3A\x4A\x68\x7B\x7C\xCD\x46\x5E"
19407 			  "\x0D\x07\x19\xDB\x67\xD7\x98\x91"
19408 			  "\xD7\x17\x10\x9B\x7B\x8A\x9B\x33"
19409 			  "\xAE\xF3\x00\xA6\xD4\x15\xD9\xEA"
19410 			  "\x85\x99\x22\xE8\x91\x38\x70\x83"
19411 			  "\x93\x01\x24\x6C\xFA\x9A\xB9\x07"
19412 			  "\xEA\x8D\x3B\xD9\x2A\x43\x59\x16"
19413 			  "\x2F\x69\xEE\x84\x36\x44\x76\x98"
19414 			  "\xF3\x04\x2A\x7C\x74\x3D\x29\x2B"
19415 			  "\x0D\xAD\x8F\x44\x82\x9E\x57\x8D"
19416 			  "\xAC\xED\x18\x1F\x50\xA4\xF5\x98"
19417 			  "\x1F\xBD\x92\x91\x1B\x2D\xA6\xD6"
19418 			  "\xD2\xE3\x02\xAA\x92\x3B\xC6\xB3"
19419 			  "\x1B\x39\x72\xD5\x26\xCA\x04\xE0"
19420 			  "\xFC\x58\x78\xBB\xB1\x3F\xA1\x9C"
19421 			  "\x42\x24\x3E\x2E\x22\xBB\x4B\xBA"
19422 			  "\xF4\x52\x0A\xE6\xAE\x47\xB4\x7D"
19423 			  "\x1D\xA8\xBE\x81\x1A\x75\xDA\xAC"
19424 			  "\xA6\x25\x1E\xEF\x3A\xC0\x6C\x63"
19425 			  "\xEF\xDC\xC9\x79\x10\x26\xE8\x61"
19426 			  "\x29\xFC\xA4\x05\xDF\x7D\x5C\x63"
19427 			  "\x10\x09\x9B\x46\x9B\xF2\x2C\x2B"
19428 			  "\xFA\x3A\x05\x4C\xFA\xD1\xFF\xFE"
19429 			  "\xF1\x4C\xE5\xB2\x91\x64\x0C\x51",
19430 		.ilen	= 496,
19431 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19432 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19433 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19434 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19435 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19436 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19437 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19438 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19439 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19440 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19441 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19442 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19443 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19444 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19445 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19446 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19447 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19448 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19449 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19450 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19451 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19452 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19453 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19454 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19455 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19456 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19457 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19458 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19459 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19460 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19461 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19462 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19463 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19464 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19465 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19466 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19467 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19468 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19469 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19470 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19471 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19472 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19473 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19474 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19475 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19476 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19477 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19478 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19479 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19480 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19481 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19482 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19483 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19484 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19485 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19486 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19487 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19488 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19489 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19490 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19491 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19492 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12",
19493 		.rlen	= 496,
19494 		.also_non_np = 1,
19495 		.np	= 3,
19496 		.tap	= { 496 - 20, 4, 16 },
19497 	}, { /* Generated with Crypto++ */
19498 		.key	= "\xC9\x83\xA6\xC9\xEC\x0F\x32\x55"
19499 			  "\x0F\x32\x55\x78\x9B\xBE\x78\x9B"
19500 			  "\xBE\xE1\x04\x27\xE1\x04\x27\x4A"
19501 			  "\x6D\x90\x4A\x6D\x90\xB3\xD6\xF9",
19502 		.klen	= 32,
19503 		.iv	= "\xE7\x82\x1D\xB8\x53\x11\xAC\x47"
19504 			  "\xE2\x7D\x18\xD6\x71\x0C\xA7\x42",
19505 		.input	= "\xDA\x4E\x3F\xBC\xE8\xB6\x3A\xA2"
19506 			  "\xD5\x4D\x84\x4A\xA9\x0C\xE1\xA5"
19507 			  "\xB8\x73\xBC\xF9\xBB\x59\x2F\x44"
19508 			  "\x8B\xAB\x82\x6C\xB4\x32\x9A\xDE"
19509 			  "\x5A\x0B\xDB\x7A\x6B\xF2\x38\x9F"
19510 			  "\x06\xF7\xF7\xFF\xFF\xC0\x8A\x2E"
19511 			  "\x76\xEA\x06\x32\x23\xF3\x59\x2E"
19512 			  "\x75\xDE\x71\x86\x3C\x98\x23\x44"
19513 			  "\x5B\xF2\xFA\x6A\x00\xBB\xC1\xAD"
19514 			  "\x58\xBD\x3E\x6F\x2E\xB4\x19\x04"
19515 			  "\x70\x8B\x92\x55\x23\xE9\x6A\x3A"
19516 			  "\x78\x7A\x1B\x10\x85\x52\x9C\x12"
19517 			  "\xE4\x55\x81\x21\xCE\x53\xD0\x3B"
19518 			  "\x63\x77\x2C\x74\xD1\xF5\x60\xF3"
19519 			  "\xA1\xDE\x44\x3C\x8F\x4D\x2F\xDD"
19520 			  "\x8A\xFE\x3C\x42\x8E\xD3\xF2\x8E"
19521 			  "\xA8\x28\x69\x65\x31\xE1\x45\x83"
19522 			  "\xE4\x49\xC4\x9C\xA7\x28\xAA\x21"
19523 			  "\xCD\x5D\x0F\x15\xB7\x93\x07\x26"
19524 			  "\xB0\x65\x6D\x91\x90\x23\x7A\xC6"
19525 			  "\xDB\x68\xB0\xA1\x8E\xA4\x76\x4E"
19526 			  "\xC6\x91\x83\x20\x92\x4D\x63\x7A"
19527 			  "\x45\x18\x18\x74\x19\xAD\x71\x01"
19528 			  "\x6B\x23\xAD\x9D\x4E\xE4\x6E\x46"
19529 			  "\xC9\x73\x7A\xF9\x02\x95\xF4\x07"
19530 			  "\x0E\x7A\xA6\xC5\xAE\xFA\x15\x2C"
19531 			  "\x51\x71\xF1\xDC\x22\xB6\xAC\xD8"
19532 			  "\x19\x24\x44\xBC\x0C\xFB\x3C\x2D"
19533 			  "\xB1\x50\x47\x15\x0E\xDB\xB6\xD7"
19534 			  "\xE8\x61\xE5\x95\x52\x1E\x3E\x49"
19535 			  "\x70\xE9\x66\x04\x4C\xE1\xAF\xBD"
19536 			  "\xDD\x15\x3B\x20\x59\x24\xFF\xB0"
19537 			  "\x39\xAA\xE7\xBF\x23\xA3\x6E\xD5"
19538 			  "\x15\xF0\x61\x4F\xAE\x89\x10\x58"
19539 			  "\x5A\x33\x95\x52\x2A\xB5\x77\x9C"
19540 			  "\xA5\x43\x80\x40\x27\x2D\xAE\xD9"
19541 			  "\x3F\xE0\x80\x94\x78\x79\xCB\x7E"
19542 			  "\xAD\x12\x44\x4C\xEC\x27\xB0\xEE"
19543 			  "\x0B\x05\x2A\x82\x99\x58\xBB\x7A"
19544 			  "\x8D\x6D\x9D\x8E\xE2\x8E\xE7\x93"
19545 			  "\x2F\xB3\x09\x8D\x06\xD5\xEE\x70"
19546 			  "\x16\xAE\x35\xC5\x52\x0F\x46\x1F"
19547 			  "\x71\xF9\x5E\xF2\x67\xDC\x98\x2F"
19548 			  "\xA3\x23\xAA\xD5\xD0\x49\xF4\xA6"
19549 			  "\xF6\xB8\x32\xCD\xD6\x85\x73\x60"
19550 			  "\x59\x20\xE7\x55\x0E\x91\xE2\x0C"
19551 			  "\x3F\x1C\xEB\x3D\xDF\x52\x64\xF2"
19552 			  "\x7D\x8B\x5D\x63\x16\xB9\xB2\x5D"
19553 			  "\x5E\xAB\xB2\x97\xAB\x78\x44\xE7"
19554 			  "\xC6\x72\x20\xC5\x90\x9B\xDC\x5D"
19555 			  "\xB0\xEF\x44\xEF\x87\x31\x8D\xF4"
19556 			  "\xFB\x81\x5D\xF7\x96\x96\xD4\x50"
19557 			  "\x89\xA7\xF6\xB9\x67\x76\x40\x9E"
19558 			  "\x9D\x40\xD5\x2C\x30\xB8\x01\x8F"
19559 			  "\xE4\x7B\x71\x48\xA9\xA0\xA0\x1D"
19560 			  "\x87\x52\xA4\x91\xA9\xD7\xA9\x51"
19561 			  "\xD9\x59\xF7\xCC\x63\x22\xC1\x8D"
19562 			  "\x84\x7B\xD8\x22\x32\x5C\x6F\x1D"
19563 			  "\x6E\x9F\xFA\xDD\x49\x40\xDC\x37"
19564 			  "\x14\x8C\xE1\x80\x1B\xDD\x36\x2A"
19565 			  "\xD0\xE9\x54\x99\x5D\xBA\x3B\x11"
19566 			  "\xD8\xFE\xC9\x5B\x5C\x25\xE5\x76"
19567 			  "\xFB\xF2\x3F",
19568 		.ilen	= 499,
19569 		.result	= "\x50\xB9\x22\xAE\x17\x80\x0C\x75"
19570 			  "\xDE\x47\xD3\x3C\xA5\x0E\x9A\x03"
19571 			  "\x6C\xF8\x61\xCA\x33\xBF\x28\x91"
19572 			  "\x1D\x86\xEF\x58\xE4\x4D\xB6\x1F"
19573 			  "\xAB\x14\x7D\x09\x72\xDB\x44\xD0"
19574 			  "\x39\xA2\x0B\x97\x00\x69\xF5\x5E"
19575 			  "\xC7\x30\xBC\x25\x8E\x1A\x83\xEC"
19576 			  "\x55\xE1\x4A\xB3\x1C\xA8\x11\x7A"
19577 			  "\x06\x6F\xD8\x41\xCD\x36\x9F\x08"
19578 			  "\x94\xFD\x66\xF2\x5B\xC4\x2D\xB9"
19579 			  "\x22\x8B\x17\x80\xE9\x52\xDE\x47"
19580 			  "\xB0\x19\xA5\x0E\x77\x03\x6C\xD5"
19581 			  "\x3E\xCA\x33\x9C\x05\x91\xFA\x63"
19582 			  "\xEF\x58\xC1\x2A\xB6\x1F\x88\x14"
19583 			  "\x7D\xE6\x4F\xDB\x44\xAD\x16\xA2"
19584 			  "\x0B\x74\x00\x69\xD2\x3B\xC7\x30"
19585 			  "\x99\x02\x8E\xF7\x60\xEC\x55\xBE"
19586 			  "\x27\xB3\x1C\x85\x11\x7A\xE3\x4C"
19587 			  "\xD8\x41\xAA\x13\x9F\x08\x71\xFD"
19588 			  "\x66\xCF\x38\xC4\x2D\x96\x22\x8B"
19589 			  "\xF4\x5D\xE9\x52\xBB\x24\xB0\x19"
19590 			  "\x82\x0E\x77\xE0\x49\xD5\x3E\xA7"
19591 			  "\x10\x9C\x05\x6E\xFA\x63\xCC\x35"
19592 			  "\xC1\x2A\x93\x1F\x88\xF1\x5A\xE6"
19593 			  "\x4F\xB8\x21\xAD\x16\x7F\x0B\x74"
19594 			  "\xDD\x46\xD2\x3B\xA4\x0D\x99\x02"
19595 			  "\x6B\xF7\x60\xC9\x32\xBE\x27\x90"
19596 			  "\x1C\x85\xEE\x57\xE3\x4C\xB5\x1E"
19597 			  "\xAA\x13\x7C\x08\x71\xDA\x43\xCF"
19598 			  "\x38\xA1\x0A\x96\xFF\x68\xF4\x5D"
19599 			  "\xC6\x2F\xBB\x24\x8D\x19\x82\xEB"
19600 			  "\x54\xE0\x49\xB2\x1B\xA7\x10\x79"
19601 			  "\x05\x6E\xD7\x40\xCC\x35\x9E\x07"
19602 			  "\x93\xFC\x65\xF1\x5A\xC3\x2C\xB8"
19603 			  "\x21\x8A\x16\x7F\xE8\x51\xDD\x46"
19604 			  "\xAF\x18\xA4\x0D\x76\x02\x6B\xD4"
19605 			  "\x3D\xC9\x32\x9B\x04\x90\xF9\x62"
19606 			  "\xEE\x57\xC0\x29\xB5\x1E\x87\x13"
19607 			  "\x7C\xE5\x4E\xDA\x43\xAC\x15\xA1"
19608 			  "\x0A\x73\xFF\x68\xD1\x3A\xC6\x2F"
19609 			  "\x98\x01\x8D\xF6\x5F\xEB\x54\xBD"
19610 			  "\x26\xB2\x1B\x84\x10\x79\xE2\x4B"
19611 			  "\xD7\x40\xA9\x12\x9E\x07\x70\xFC"
19612 			  "\x65\xCE\x37\xC3\x2C\x95\x21\x8A"
19613 			  "\xF3\x5C\xE8\x51\xBA\x23\xAF\x18"
19614 			  "\x81\x0D\x76\xDF\x48\xD4\x3D\xA6"
19615 			  "\x0F\x9B\x04\x6D\xF9\x62\xCB\x34"
19616 			  "\xC0\x29\x92\x1E\x87\xF0\x59\xE5"
19617 			  "\x4E\xB7\x20\xAC\x15\x7E\x0A\x73"
19618 			  "\xDC\x45\xD1\x3A\xA3\x0C\x98\x01"
19619 			  "\x6A\xF6\x5F\xC8\x31\xBD\x26\x8F"
19620 			  "\x1B\x84\xED\x56\xE2\x4B\xB4\x1D"
19621 			  "\xA9\x12\x7B\x07\x70\xD9\x42\xCE"
19622 			  "\x37\xA0\x09\x95\xFE\x67\xF3\x5C"
19623 			  "\xC5\x2E\xBA\x23\x8C\x18\x81\xEA"
19624 			  "\x53\xDF\x48\xB1\x1A\xA6\x0F\x78"
19625 			  "\x04\x6D\xD6\x3F\xCB\x34\x9D\x06"
19626 			  "\x92\xFB\x64\xF0\x59\xC2\x2B\xB7"
19627 			  "\x20\x89\x15\x7E\xE7\x50\xDC\x45"
19628 			  "\xAE\x17\xA3\x0C\x75\x01\x6A\xD3"
19629 			  "\x3C\xC8\x31\x9A\x03\x8F\xF8\x61"
19630 			  "\xED\x56\xBF\x28\xB4\x1D\x86\x12"
19631 			  "\x7B\xE4\x4D",
19632 		.rlen	= 499,
19633 		.also_non_np = 1,
19634 		.np	= 2,
19635 		.tap	= { 499 - 16, 16 },
19636 	},
19637 };
19638 
19639 static const struct cipher_testvec aes_ctr_rfc3686_enc_tv_template[] = {
19640 	{ /* From RFC 3686 */
19641 		.key	= "\xae\x68\x52\xf8\x12\x10\x67\xcc"
19642 			  "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
19643 			  "\x00\x00\x00\x30",
19644 		.klen	= 20,
19645 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
19646 		.input	= "Single block msg",
19647 		.ilen	= 16,
19648 		.result = "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
19649 			  "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
19650 		.rlen	= 16,
19651 	}, {
19652 		.key	= "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
19653 			  "\x43\xd6\xce\x1f\x32\x53\x91\x63"
19654 			  "\x00\x6c\xb6\xdb",
19655 		.klen	= 20,
19656 		.iv	= "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
19657 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
19658 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19659 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19660 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19661 		.ilen	= 32,
19662 		.result = "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
19663 			  "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
19664 			  "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
19665 			  "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
19666 		.rlen	= 32,
19667 	}, {
19668 		.key	= "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
19669 			  "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
19670 			  "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
19671 			  "\x00\x00\x00\x48",
19672 		.klen	= 28,
19673 		.iv	= "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
19674 		.input	= "Single block msg",
19675 		.ilen	= 16,
19676 		.result	= "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
19677 			  "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
19678 		.rlen	= 16,
19679 	}, {
19680 		.key	= "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
19681 			  "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
19682 			  "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
19683 			  "\x00\x96\xb0\x3b",
19684 		.klen	= 28,
19685 		.iv	= "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
19686 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
19687 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19688 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19689 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19690 		.ilen	= 32,
19691 		.result	= "\x45\x32\x43\xfc\x60\x9b\x23\x32"
19692 			  "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
19693 			  "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
19694 			  "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
19695 		.rlen	= 32,
19696 	}, {
19697 		.key	= "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
19698 			  "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
19699 			  "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
19700 			  "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
19701 			  "\x00\x00\x00\x60",
19702 		.klen	= 36,
19703 		.iv	= "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
19704 		.input	= "Single block msg",
19705 		.ilen	= 16,
19706 		.result = "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
19707 			  "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
19708 		.rlen	= 16,
19709 	}, {
19710 		.key	= "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
19711 			  "\x07\x96\x36\x58\x79\xef\xf8\x86"
19712 			  "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
19713 			  "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
19714 			  "\x00\xfa\xac\x24",
19715 		.klen	= 36,
19716 		.iv	= "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
19717 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
19718 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19719 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
19720 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
19721 		.ilen	= 32,
19722 		.result = "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
19723 			  "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
19724 			  "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
19725 			  "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
19726 		.rlen	= 32,
19727 	}, {
19728 	// generated using Crypto++
19729 		.key = "\x00\x01\x02\x03\x04\x05\x06\x07"
19730 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19731 			"\x10\x11\x12\x13\x14\x15\x16\x17"
19732 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19733 			"\x00\x00\x00\x00",
19734 		.klen = 32 + 4,
19735 		.iv = "\x00\x00\x00\x00\x00\x00\x00\x00",
19736 		.input =
19737 			"\x00\x01\x02\x03\x04\x05\x06\x07"
19738 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
19739 			"\x10\x11\x12\x13\x14\x15\x16\x17"
19740 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
19741 			"\x20\x21\x22\x23\x24\x25\x26\x27"
19742 			"\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
19743 			"\x30\x31\x32\x33\x34\x35\x36\x37"
19744 			"\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
19745 			"\x40\x41\x42\x43\x44\x45\x46\x47"
19746 			"\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
19747 			"\x50\x51\x52\x53\x54\x55\x56\x57"
19748 			"\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
19749 			"\x60\x61\x62\x63\x64\x65\x66\x67"
19750 			"\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
19751 			"\x70\x71\x72\x73\x74\x75\x76\x77"
19752 			"\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
19753 			"\x80\x81\x82\x83\x84\x85\x86\x87"
19754 			"\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
19755 			"\x90\x91\x92\x93\x94\x95\x96\x97"
19756 			"\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
19757 			"\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
19758 			"\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
19759 			"\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
19760 			"\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
19761 			"\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
19762 			"\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
19763 			"\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
19764 			"\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
19765 			"\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
19766 			"\xe8\xe9\xea\xeb\xec\xed\xee\xef"
19767 			"\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
19768 			"\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
19769 			"\x00\x03\x06\x09\x0c\x0f\x12\x15"
19770 			"\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
19771 			"\x30\x33\x36\x39\x3c\x3f\x42\x45"
19772 			"\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
19773 			"\x60\x63\x66\x69\x6c\x6f\x72\x75"
19774 			"\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
19775 			"\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
19776 			"\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
19777 			"\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
19778 			"\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
19779 			"\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
19780 			"\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
19781 			"\x20\x23\x26\x29\x2c\x2f\x32\x35"
19782 			"\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
19783 			"\x50\x53\x56\x59\x5c\x5f\x62\x65"
19784 			"\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
19785 			"\x80\x83\x86\x89\x8c\x8f\x92\x95"
19786 			"\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
19787 			"\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
19788 			"\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
19789 			"\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
19790 			"\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
19791 			"\x10\x13\x16\x19\x1c\x1f\x22\x25"
19792 			"\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
19793 			"\x40\x43\x46\x49\x4c\x4f\x52\x55"
19794 			"\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
19795 			"\x70\x73\x76\x79\x7c\x7f\x82\x85"
19796 			"\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
19797 			"\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
19798 			"\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
19799 			"\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
19800 			"\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
19801 			"\x00\x05\x0a\x0f\x14\x19\x1e\x23"
19802 			"\x28\x2d\x32\x37\x3c\x41\x46\x4b"
19803 			"\x50\x55\x5a\x5f\x64\x69\x6e\x73"
19804 			"\x78\x7d\x82\x87\x8c\x91\x96\x9b"
19805 			"\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
19806 			"\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
19807 			"\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
19808 			"\x18\x1d\x22\x27\x2c\x31\x36\x3b"
19809 			"\x40\x45\x4a\x4f\x54\x59\x5e\x63"
19810 			"\x68\x6d\x72\x77\x7c\x81\x86\x8b"
19811 			"\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
19812 			"\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
19813 			"\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
19814 			"\x08\x0d\x12\x17\x1c\x21\x26\x2b"
19815 			"\x30\x35\x3a\x3f\x44\x49\x4e\x53"
19816 			"\x58\x5d\x62\x67\x6c\x71\x76\x7b"
19817 			"\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
19818 			"\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
19819 			"\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
19820 			"\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
19821 			"\x20\x25\x2a\x2f\x34\x39\x3e\x43"
19822 			"\x48\x4d\x52\x57\x5c\x61\x66\x6b"
19823 			"\x70\x75\x7a\x7f\x84\x89\x8e\x93"
19824 			"\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
19825 			"\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
19826 			"\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
19827 			"\x10\x15\x1a\x1f\x24\x29\x2e\x33"
19828 			"\x38\x3d\x42\x47\x4c\x51\x56\x5b"
19829 			"\x60\x65\x6a\x6f\x74\x79\x7e\x83"
19830 			"\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
19831 			"\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
19832 			"\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
19833 			"\x00\x07\x0e\x15\x1c\x23\x2a\x31"
19834 			"\x38\x3f\x46\x4d\x54\x5b\x62\x69"
19835 			"\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
19836 			"\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
19837 			"\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
19838 			"\x18\x1f\x26\x2d\x34\x3b\x42\x49"
19839 			"\x50\x57\x5e\x65\x6c\x73\x7a\x81"
19840 			"\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
19841 			"\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
19842 			"\xf8\xff\x06\x0d\x14\x1b\x22\x29"
19843 			"\x30\x37\x3e\x45\x4c\x53\x5a\x61"
19844 			"\x68\x6f\x76\x7d\x84\x8b\x92\x99"
19845 			"\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
19846 			"\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
19847 			"\x10\x17\x1e\x25\x2c\x33\x3a\x41"
19848 			"\x48\x4f\x56\x5d\x64\x6b\x72\x79"
19849 			"\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
19850 			"\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
19851 			"\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
19852 			"\x28\x2f\x36\x3d\x44\x4b\x52\x59"
19853 			"\x60\x67\x6e\x75\x7c\x83\x8a\x91"
19854 			"\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
19855 			"\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
19856 			"\x08\x0f\x16\x1d\x24\x2b\x32\x39"
19857 			"\x40\x47\x4e\x55\x5c\x63\x6a\x71"
19858 			"\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
19859 			"\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
19860 			"\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
19861 			"\x20\x27\x2e\x35\x3c\x43\x4a\x51"
19862 			"\x58\x5f\x66\x6d\x74\x7b\x82\x89"
19863 			"\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
19864 			"\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
19865 			"\x00\x09\x12\x1b\x24\x2d\x36\x3f"
19866 			"\x48\x51\x5a\x63\x6c\x75\x7e\x87"
19867 			"\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
19868 			"\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
19869 			"\x20\x29\x32\x3b\x44\x4d\x56\x5f"
19870 			"\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
19871 			"\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
19872 			"\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
19873 			"\x40\x49\x52\x5b\x64\x6d\x76\x7f"
19874 			"\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
19875 			"\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
19876 			"\x18\x21\x2a\x33\x3c\x45\x4e\x57"
19877 			"\x60\x69\x72\x7b\x84\x8d\x96\x9f"
19878 			"\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
19879 			"\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
19880 			"\x38\x41\x4a\x53\x5c\x65\x6e\x77"
19881 			"\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
19882 			"\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
19883 			"\x10\x19\x22\x2b\x34\x3d\x46\x4f"
19884 			"\x58\x61\x6a\x73\x7c\x85\x8e\x97"
19885 			"\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
19886 			"\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
19887 			"\x30\x39\x42\x4b\x54\x5d\x66\x6f"
19888 			"\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
19889 			"\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
19890 			"\x08\x11\x1a\x23\x2c\x35\x3e\x47"
19891 			"\x50\x59\x62\x6b\x74\x7d\x86\x8f"
19892 			"\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
19893 			"\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
19894 			"\x28\x31\x3a\x43\x4c\x55\x5e\x67"
19895 			"\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
19896 			"\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
19897 			"\x00\x0b\x16\x21\x2c\x37\x42\x4d"
19898 			"\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
19899 			"\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
19900 			"\x08\x13\x1e\x29\x34\x3f\x4a\x55"
19901 			"\x60\x6b\x76\x81\x8c\x97\xa2\xad"
19902 			"\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
19903 			"\x10\x1b\x26\x31\x3c\x47\x52\x5d"
19904 			"\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
19905 			"\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
19906 			"\x18\x23\x2e\x39\x44\x4f\x5a\x65"
19907 			"\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
19908 			"\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
19909 			"\x20\x2b\x36\x41\x4c\x57\x62\x6d"
19910 			"\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
19911 			"\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
19912 			"\x28\x33\x3e\x49\x54\x5f\x6a\x75"
19913 			"\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
19914 			"\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
19915 			"\x30\x3b\x46\x51\x5c\x67\x72\x7d"
19916 			"\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
19917 			"\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
19918 			"\x38\x43\x4e\x59\x64\x6f\x7a\x85"
19919 			"\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
19920 			"\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
19921 			"\x40\x4b\x56\x61\x6c\x77\x82\x8d"
19922 			"\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
19923 			"\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
19924 			"\x48\x53\x5e\x69\x74\x7f\x8a\x95"
19925 			"\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
19926 			"\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
19927 			"\x50\x5b\x66\x71\x7c\x87\x92\x9d"
19928 			"\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
19929 			"\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
19930 			"\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
19931 			"\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
19932 			"\x38\x45\x52\x5f\x6c\x79\x86\x93"
19933 			"\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
19934 			"\x08\x15\x22\x2f\x3c\x49\x56\x63"
19935 			"\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
19936 			"\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
19937 			"\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
19938 			"\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
19939 			"\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
19940 			"\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
19941 			"\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
19942 			"\x48\x55\x62\x6f\x7c\x89\x96\xa3"
19943 			"\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
19944 			"\x18\x25\x32\x3f\x4c\x59\x66\x73"
19945 			"\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
19946 			"\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
19947 			"\x50\x5d\x6a\x77\x84\x91\x9e\xab"
19948 			"\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
19949 			"\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
19950 			"\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
19951 			"\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
19952 			"\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
19953 			"\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
19954 			"\x28\x35\x42\x4f\x5c\x69\x76\x83"
19955 			"\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
19956 			"\xf8\x05\x12\x1f\x2c\x39\x46\x53"
19957 			"\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
19958 			"\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
19959 			"\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
19960 			"\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
19961 			"\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
19962 			"\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
19963 			"\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
19964 			"\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
19965 			"\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
19966 			"\x58\x67\x76\x85\x94\xa3\xb2\xc1"
19967 			"\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
19968 			"\x48\x57\x66\x75\x84\x93\xa2\xb1"
19969 			"\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
19970 			"\x38\x47\x56\x65\x74\x83\x92\xa1"
19971 			"\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
19972 			"\x28\x37\x46\x55\x64\x73\x82\x91"
19973 			"\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
19974 			"\x18\x27\x36\x45\x54\x63\x72\x81"
19975 			"\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
19976 			"\x08\x17\x26\x35\x44\x53\x62\x71"
19977 			"\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
19978 			"\xf8\x07\x16\x25\x34\x43\x52\x61"
19979 			"\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
19980 			"\xe8\xf7\x06\x15\x24\x33\x42\x51"
19981 			"\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
19982 			"\xd8\xe7\xf6\x05\x14\x23\x32\x41"
19983 			"\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
19984 			"\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
19985 			"\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
19986 			"\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
19987 			"\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
19988 			"\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
19989 			"\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
19990 			"\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
19991 			"\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
19992 			"\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
19993 			"\x00\x11\x22\x33\x44\x55\x66\x77"
19994 			"\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
19995 			"\x10\x21\x32\x43\x54\x65\x76\x87"
19996 			"\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
19997 			"\x20\x31\x42\x53\x64\x75\x86\x97"
19998 			"\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
19999 			"\x30\x41\x52\x63\x74\x85\x96\xa7"
20000 			"\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
20001 			"\x40\x51\x62\x73\x84\x95\xa6\xb7"
20002 			"\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
20003 			"\x50\x61\x72\x83\x94\xa5\xb6\xc7"
20004 			"\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
20005 			"\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
20006 			"\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
20007 			"\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
20008 			"\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
20009 			"\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
20010 			"\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
20011 			"\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
20012 			"\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
20013 			"\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
20014 			"\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
20015 			"\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
20016 			"\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
20017 			"\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
20018 			"\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
20019 			"\xd0\xe1\xf2\x03\x14\x25\x36\x47"
20020 			"\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
20021 			"\xe0\xf1\x02\x13\x24\x35\x46\x57"
20022 			"\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
20023 			"\xf0\x01\x12\x23\x34\x45\x56\x67"
20024 			"\x78\x89\x9a\xab\xbc\xcd\xde\xef"
20025 			"\x00\x13\x26\x39\x4c\x5f\x72\x85"
20026 			"\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
20027 			"\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
20028 			"\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
20029 			"\x60\x73\x86\x99\xac\xbf\xd2\xe5"
20030 			"\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
20031 			"\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
20032 			"\x28\x3b\x4e\x61\x74\x87\x9a\xad"
20033 			"\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
20034 			"\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
20035 			"\xf0\x03\x16\x29\x3c\x4f\x62\x75"
20036 			"\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
20037 			"\x20\x33\x46\x59\x6c\x7f\x92\xa5"
20038 			"\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
20039 			"\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
20040 			"\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
20041 			"\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
20042 			"\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
20043 			"\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
20044 			"\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
20045 			"\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
20046 			"\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
20047 			"\x10\x23\x36\x49\x5c\x6f\x82\x95"
20048 			"\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
20049 			"\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
20050 			"\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
20051 			"\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
20052 			"\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
20053 			"\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
20054 			"\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
20055 			"\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
20056 			"\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
20057 			"\x00\x15\x2a\x3f\x54\x69\x7e\x93"
20058 			"\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
20059 			"\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
20060 			"\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
20061 			"\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
20062 			"\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
20063 			"\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
20064 			"\x98\xad\xc2\xd7\xec\x01\x16\x2b"
20065 			"\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
20066 			"\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
20067 			"\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
20068 			"\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
20069 			"\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
20070 			"\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
20071 			"\x30\x45\x5a\x6f\x84\x99\xae\xc3"
20072 			"\xd8\xed\x02\x17\x2c\x41\x56\x6b"
20073 			"\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
20074 			"\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
20075 			"\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
20076 			"\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
20077 			"\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
20078 			"\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
20079 			"\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
20080 			"\x18\x2d\x42\x57\x6c\x81\x96\xab"
20081 			"\xc0\xd5\xea\xff\x14\x29\x3e\x53"
20082 			"\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
20083 			"\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
20084 			"\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
20085 			"\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
20086 			"\x08\x1d\x32\x47\x5c\x71\x86\x9b"
20087 			"\xb0\xc5\xda\xef\x04\x19\x2e\x43"
20088 			"\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
20089 			"\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
20090 			"\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
20091 			"\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
20092 			"\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
20093 			"\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
20094 			"\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
20095 			"\x50\x67\x7e\x95\xac\xc3\xda\xf1"
20096 			"\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
20097 			"\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
20098 			"\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
20099 			"\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
20100 			"\xe8\xff\x16\x2d\x44\x5b\x72\x89"
20101 			"\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
20102 			"\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
20103 			"\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
20104 			"\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
20105 			"\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
20106 			"\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
20107 			"\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
20108 			"\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
20109 			"\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
20110 			"\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
20111 			"\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
20112 			"\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
20113 			"\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
20114 			"\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
20115 			"\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
20116 			"\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
20117 			"\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
20118 			"\xd8\xef\x06\x1d\x34\x4b\x62\x79"
20119 			"\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
20120 			"\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
20121 			"\x00\x19\x32\x4b\x64\x7d\x96\xaf"
20122 			"\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
20123 			"\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
20124 			"\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
20125 			"\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
20126 			"\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
20127 			"\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
20128 			"\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
20129 			"\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
20130 			"\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
20131 			"\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
20132 			"\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
20133 			"\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
20134 			"\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
20135 			"\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
20136 			"\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
20137 			"\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
20138 			"\x48\x61\x7a\x93\xac\xc5\xde\xf7"
20139 			"\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
20140 			"\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
20141 			"\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
20142 			"\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
20143 			"\x30\x49\x62\x7b\x94\xad\xc6\xdf"
20144 			"\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
20145 			"\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
20146 			"\x88\xa1\xba\xd3\xec\x05\x1e\x37"
20147 			"\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
20148 			"\x18\x31\x4a\x63\x7c\x95\xae\xc7"
20149 			"\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
20150 			"\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
20151 			"\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
20152 			"\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
20153 			"\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
20154 			"\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
20155 			"\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
20156 			"\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
20157 			"\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
20158 			"\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
20159 			"\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
20160 			"\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
20161 			"\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
20162 			"\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
20163 			"\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
20164 			"\x48\x63\x7e\x99\xb4\xcf\xea\x05"
20165 			"\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
20166 			"\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
20167 			"\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
20168 			"\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
20169 			"\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
20170 			"\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
20171 			"\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
20172 			"\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
20173 			"\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
20174 			"\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
20175 			"\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
20176 			"\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
20177 			"\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
20178 			"\x18\x33\x4e\x69\x84\x9f\xba\xd5"
20179 			"\xf0\x0b\x26\x41\x5c\x77\x92\xad"
20180 			"\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
20181 			"\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
20182 			"\x78\x93\xae\xc9\xe4\xff\x1a\x35"
20183 			"\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
20184 			"\x28\x43\x5e\x79\x94\xaf\xca\xe5"
20185 			"\x00\x1d\x3a\x57\x74\x91\xae\xcb"
20186 			"\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
20187 			"\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
20188 			"\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
20189 			"\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
20190 			"\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
20191 			"\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
20192 			"\x58\x75\x92\xaf\xcc\xe9\x06\x23"
20193 			"\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
20194 			"\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
20195 			"\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
20196 			"\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
20197 			"\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
20198 			"\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
20199 			"\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
20200 			"\x98\xb5\xd2\xef\x0c\x29\x46\x63"
20201 			"\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
20202 			"\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
20203 			"\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
20204 			"\x38\x55\x72\x8f\xac\xc9\xe6\x03"
20205 			"\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
20206 			"\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
20207 			"\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
20208 			"\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
20209 			"\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
20210 			"\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
20211 			"\x90\xad\xca\xe7\x04\x21\x3e\x5b"
20212 			"\x78\x95\xb2\xcf\xec\x09\x26\x43"
20213 			"\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
20214 			"\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
20215 			"\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
20216 			"\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
20217 			"\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
20218 			"\xf8\x17\x36\x55\x74\x93\xb2\xd1"
20219 			"\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
20220 			"\xe8\x07\x26\x45\x64\x83\xa2\xc1"
20221 			"\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
20222 			"\xd8\xf7\x16\x35\x54\x73\x92\xb1"
20223 			"\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
20224 			"\xc8\xe7\x06\x25\x44\x63\x82\xa1"
20225 			"\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
20226 			"\xb8\xd7\xf6\x15\x34\x53\x72\x91"
20227 			"\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
20228 			"\xa8\xc7\xe6\x05\x24\x43\x62\x81"
20229 			"\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
20230 			"\x98\xb7\xd6\xf5\x14\x33\x52\x71"
20231 			"\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
20232 			"\x88\xa7\xc6\xe5\x04\x23\x42\x61"
20233 			"\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
20234 			"\x78\x97\xb6\xd5\xf4\x13\x32\x51"
20235 			"\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
20236 			"\x68\x87\xa6\xc5\xe4\x03\x22\x41"
20237 			"\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
20238 			"\x58\x77\x96\xb5\xd4\xf3\x12\x31"
20239 			"\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
20240 			"\x48\x67\x86\xa5\xc4\xe3\x02\x21"
20241 			"\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
20242 			"\x38\x57\x76\x95\xb4\xd3\xf2\x11"
20243 			"\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
20244 			"\x28\x47\x66\x85\xa4\xc3\xe2\x01"
20245 			"\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
20246 			"\x18\x37\x56\x75\x94\xb3\xd2\xf1"
20247 			"\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
20248 			"\x08\x27\x46\x65\x84\xa3\xc2\xe1"
20249 			"\x00\x21\x42\x63",
20250 		.ilen = 4100,
20251 		.result =
20252 			"\xf0\x5c\x74\xad\x4e\xbc\x99\xe2"
20253 			"\xae\xff\x91\x3a\x44\xcf\x38\x32"
20254 			"\x1e\xad\xa7\xcd\xa1\x39\x95\xaa"
20255 			"\x10\xb1\xb3\x2e\x04\x31\x8f\x86"
20256 			"\xf2\x62\x74\x70\x0c\xa4\x46\x08"
20257 			"\xa8\xb7\x99\xa8\xe9\xd2\x73\x79"
20258 			"\x7e\x6e\xd4\x8f\x1e\xc7\x8e\x31"
20259 			"\x0b\xfa\x4b\xce\xfd\xf3\x57\x71"
20260 			"\xe9\x46\x03\xa5\x3d\x34\x00\xe2"
20261 			"\x18\xff\x75\x6d\x06\x2d\x00\xab"
20262 			"\xb9\x3e\x6c\x59\xc5\x84\x06\xb5"
20263 			"\x8b\xd0\x89\x9c\x4a\x79\x16\xc6"
20264 			"\x3d\x74\x54\xfa\x44\xcd\x23\x26"
20265 			"\x5c\xcf\x7e\x28\x92\x32\xbf\xdf"
20266 			"\xa7\x20\x3c\x74\x58\x2a\x9a\xde"
20267 			"\x61\x00\x1c\x4f\xff\x59\xc4\x22"
20268 			"\xac\x3c\xd0\xe8\x6c\xf9\x97\x1b"
20269 			"\x58\x9b\xad\x71\xe8\xa9\xb5\x0d"
20270 			"\xee\x2f\x04\x1f\x7f\xbc\x99\xee"
20271 			"\x84\xff\x42\x60\xdc\x3a\x18\xa5"
20272 			"\x81\xf9\xef\xdc\x7a\x0f\x65\x41"
20273 			"\x2f\xa3\xd3\xf9\xc2\xcb\xc0\x4d"
20274 			"\x8f\xd3\x76\x96\xad\x49\x6d\x38"
20275 			"\x3d\x39\x0b\x6c\x80\xb7\x54\x69"
20276 			"\xf0\x2c\x90\x02\x29\x0d\x1c\x12"
20277 			"\xad\x55\xc3\x8b\x68\xd9\xcc\xb3"
20278 			"\xb2\x64\x33\x90\x5e\xca\x4b\xe2"
20279 			"\xfb\x75\xdc\x63\xf7\x9f\x82\x74"
20280 			"\xf0\xc9\xaa\x7f\xe9\x2a\x9b\x33"
20281 			"\xbc\x88\x00\x7f\xca\xb2\x1f\x14"
20282 			"\xdb\xc5\x8e\x7b\x11\x3c\x3e\x08"
20283 			"\xf3\x83\xe8\xe0\x94\x86\x2e\x92"
20284 			"\x78\x6b\x01\xc9\xc7\x83\xba\x21"
20285 			"\x6a\x25\x15\x33\x4e\x45\x08\xec"
20286 			"\x35\xdb\xe0\x6e\x31\x51\x79\xa9"
20287 			"\x42\x44\x65\xc1\xa0\xf1\xf9\x2a"
20288 			"\x70\xd5\xb6\xc6\xc1\x8c\x39\xfc"
20289 			"\x25\xa6\x55\xd9\xdd\x2d\x4c\xec"
20290 			"\x49\xc6\xeb\x0e\xa8\x25\x2a\x16"
20291 			"\x1b\x66\x84\xda\xe2\x92\xe5\xc0"
20292 			"\xc8\x53\x07\xaf\x80\x84\xec\xfd"
20293 			"\xcd\xd1\x6e\xcd\x6f\x6a\xf5\x36"
20294 			"\xc5\x15\xe5\x25\x7d\x77\xd1\x1a"
20295 			"\x93\x36\xa9\xcf\x7c\xa4\x54\x4a"
20296 			"\x06\x51\x48\x4e\xf6\x59\x87\xd2"
20297 			"\x04\x02\xef\xd3\x44\xde\x76\x31"
20298 			"\xb3\x34\x17\x1b\x9d\x66\x11\x9f"
20299 			"\x1e\xcc\x17\xe9\xc7\x3c\x1b\xe7"
20300 			"\xcb\x50\x08\xfc\xdc\x2b\x24\xdb"
20301 			"\x65\x83\xd0\x3b\xe3\x30\xea\x94"
20302 			"\x6c\xe7\xe8\x35\x32\xc7\xdb\x64"
20303 			"\xb4\x01\xab\x36\x2c\x77\x13\xaf"
20304 			"\xf8\x2b\x88\x3f\x54\x39\xc4\x44"
20305 			"\xfe\xef\x6f\x68\x34\xbe\x0f\x05"
20306 			"\x16\x6d\xf6\x0a\x30\xe7\xe3\xed"
20307 			"\xc4\xde\x3c\x1b\x13\xd8\xdb\xfe"
20308 			"\x41\x62\xe5\x28\xd4\x8d\xa3\xc7"
20309 			"\x93\x97\xc6\x48\x45\x1d\x9f\x83"
20310 			"\xdf\x4b\x40\x3e\x42\x25\x87\x80"
20311 			"\x4c\x7d\xa8\xd4\x98\x23\x95\x75"
20312 			"\x41\x8c\xda\x41\x9b\xd4\xa7\x06"
20313 			"\xb5\xf1\x71\x09\x53\xbe\xca\xbf"
20314 			"\x32\x03\xed\xf0\x50\x1c\x56\x39"
20315 			"\x5b\xa4\x75\x18\xf7\x9b\x58\xef"
20316 			"\x53\xfc\x2a\x38\x23\x15\x75\xcd"
20317 			"\x45\xe5\x5a\x82\x55\xba\x21\xfa"
20318 			"\xd4\xbd\xc6\x94\x7c\xc5\x80\x12"
20319 			"\xf7\x4b\x32\xc4\x9a\x82\xd8\x28"
20320 			"\x8f\xd9\xc2\x0f\x60\x03\xbe\x5e"
20321 			"\x21\xd6\x5f\x58\xbf\x5c\xb1\x32"
20322 			"\x82\x8d\xa9\xe5\xf2\x66\x1a\xc0"
20323 			"\xa0\xbc\x58\x2f\x71\xf5\x2f\xed"
20324 			"\xd1\x26\xb9\xd8\x49\x5a\x07\x19"
20325 			"\x01\x7c\x59\xb0\xf8\xa4\xb7\xd3"
20326 			"\x7b\x1a\x8c\x38\xf4\x50\xa4\x59"
20327 			"\xb0\xcc\x41\x0b\x88\x7f\xe5\x31"
20328 			"\xb3\x42\xba\xa2\x7e\xd4\x32\x71"
20329 			"\x45\x87\x48\xa9\xc2\xf2\x89\xb3"
20330 			"\xe4\xa7\x7e\x52\x15\x61\xfa\xfe"
20331 			"\xc9\xdd\x81\xeb\x13\xab\xab\xc3"
20332 			"\x98\x59\xd8\x16\x3d\x14\x7a\x1c"
20333 			"\x3c\x41\x9a\x16\x16\x9b\xd2\xd2"
20334 			"\x69\x3a\x29\x23\xac\x86\x32\xa5"
20335 			"\x48\x9c\x9e\xf3\x47\x77\x81\x70"
20336 			"\x24\xe8\x85\xd2\xf5\xb5\xfa\xff"
20337 			"\x59\x6a\xd3\x50\x59\x43\x59\xde"
20338 			"\xd9\xf1\x55\xa5\x0c\xc3\x1a\x1a"
20339 			"\x18\x34\x0d\x1a\x63\x33\xed\x10"
20340 			"\xe0\x1d\x2a\x18\xd2\xc0\x54\xa8"
20341 			"\xca\xb5\x9a\xd3\xdd\xca\x45\x84"
20342 			"\x50\xe7\x0f\xfe\xa4\x99\x5a\xbe"
20343 			"\x43\x2d\x9a\xcb\x92\x3f\x5a\x1d"
20344 			"\x85\xd8\xc9\xdf\x68\xc9\x12\x80"
20345 			"\x56\x0c\xdc\x00\xdc\x3a\x7d\x9d"
20346 			"\xa3\xa2\xe8\x4d\xbf\xf9\x70\xa0"
20347 			"\xa4\x13\x4f\x6b\xaf\x0a\x89\x7f"
20348 			"\xda\xf0\xbf\x9b\xc8\x1d\xe5\xf8"
20349 			"\x2e\x8b\x07\xb5\x73\x1b\xcc\xa2"
20350 			"\xa6\xad\x30\xbc\x78\x3c\x5b\x10"
20351 			"\xfa\x5e\x62\x2d\x9e\x64\xb3\x33"
20352 			"\xce\xf9\x1f\x86\xe7\x8b\xa2\xb8"
20353 			"\xe8\x99\x57\x8c\x11\xed\x66\xd9"
20354 			"\x3c\x72\xb9\xc3\xe6\x4e\x17\x3a"
20355 			"\x6a\xcb\x42\x24\x06\xed\x3e\x4e"
20356 			"\xa3\xe8\x6a\x94\xda\x0d\x4e\xd5"
20357 			"\x14\x19\xcf\xb6\x26\xd8\x2e\xcc"
20358 			"\x64\x76\x38\x49\x4d\xfe\x30\x6d"
20359 			"\xe4\xc8\x8c\x7b\xc4\xe0\x35\xba"
20360 			"\x22\x6e\x76\xe1\x1a\xf2\x53\xc3"
20361 			"\x28\xa2\x82\x1f\x61\x69\xad\xc1"
20362 			"\x7b\x28\x4b\x1e\x6c\x85\x95\x9b"
20363 			"\x51\xb5\x17\x7f\x12\x69\x8c\x24"
20364 			"\xd5\xc7\x5a\x5a\x11\x54\xff\x5a"
20365 			"\xf7\x16\xc3\x91\xa6\xf0\xdc\x0a"
20366 			"\xb6\xa7\x4a\x0d\x7a\x58\xfe\xa5"
20367 			"\xf5\xcb\x8f\x7b\x0e\xea\x57\xe7"
20368 			"\xbd\x79\xd6\x1c\x88\x23\x6c\xf2"
20369 			"\x4d\x29\x77\x53\x35\x6a\x00\x8d"
20370 			"\xcd\xa3\x58\xbe\x77\x99\x18\xf8"
20371 			"\xe6\xe1\x8f\xe9\x37\x8f\xe3\xe2"
20372 			"\x5a\x8a\x93\x25\xaf\xf3\x78\x80"
20373 			"\xbe\xa6\x1b\xc6\xac\x8b\x1c\x91"
20374 			"\x58\xe1\x9f\x89\x35\x9d\x1d\x21"
20375 			"\x29\x9f\xf4\x99\x02\x27\x0f\xa8"
20376 			"\x4f\x79\x94\x2b\x33\x2c\xda\xa2"
20377 			"\x26\x39\x83\x94\xef\x27\xd8\x53"
20378 			"\x8f\x66\x0d\xe4\x41\x7d\x34\xcd"
20379 			"\x43\x7c\x95\x0a\x53\xef\x66\xda"
20380 			"\x7e\x9b\xf3\x93\xaf\xd0\x73\x71"
20381 			"\xba\x40\x9b\x74\xf8\xd7\xd7\x41"
20382 			"\x6d\xaf\x72\x9c\x8d\x21\x87\x3c"
20383 			"\xfd\x0a\x90\xa9\x47\x96\x9e\xd3"
20384 			"\x88\xee\x73\xcf\x66\x2f\x52\x56"
20385 			"\x6d\xa9\x80\x4c\xe2\x6f\x62\x88"
20386 			"\x3f\x0e\x54\x17\x48\x80\x5d\xd3"
20387 			"\xc3\xda\x25\x3d\xa1\xc8\xcb\x9f"
20388 			"\x9b\x70\xb3\xa1\xeb\x04\x52\xa1"
20389 			"\xf2\x22\x0f\xfc\xc8\x18\xfa\xf9"
20390 			"\x85\x9c\xf1\xac\xeb\x0c\x02\x46"
20391 			"\x75\xd2\xf5\x2c\xe3\xd2\x59\x94"
20392 			"\x12\xf3\x3c\xfc\xd7\x92\xfa\x36"
20393 			"\xba\x61\x34\x38\x7c\xda\x48\x3e"
20394 			"\x08\xc9\x39\x23\x5e\x02\x2c\x1a"
20395 			"\x18\x7e\xb4\xd9\xfd\x9e\x40\x02"
20396 			"\xb1\x33\x37\x32\xe7\xde\xd6\xd0"
20397 			"\x7c\x58\x65\x4b\xf8\x34\x27\x9c"
20398 			"\x44\xb4\xbd\xe9\xe9\x4c\x78\x7d"
20399 			"\x4b\x9f\xce\xb1\xcd\x47\xa5\x37"
20400 			"\xe5\x6d\xbd\xb9\x43\x94\x0a\xd4"
20401 			"\xd6\xf9\x04\x5f\xb5\x66\x6c\x1a"
20402 			"\x35\x12\xe3\x36\x28\x27\x36\x58"
20403 			"\x01\x2b\x79\xe4\xba\x6d\x10\x7d"
20404 			"\x65\xdf\x84\x95\xf4\xd5\xb6\x8f"
20405 			"\x2b\x9f\x96\x00\x86\x60\xf0\x21"
20406 			"\x76\xa8\x6a\x8c\x28\x1c\xb3\x6b"
20407 			"\x97\xd7\xb6\x53\x2a\xcc\xab\x40"
20408 			"\x9d\x62\x79\x58\x52\xe6\x65\xb7"
20409 			"\xab\x55\x67\x9c\x89\x7c\x03\xb0"
20410 			"\x73\x59\xc5\x81\xf5\x18\x17\x5c"
20411 			"\x89\xf3\x78\x35\x44\x62\x78\x72"
20412 			"\xd0\x96\xeb\x31\xe7\x87\x77\x14"
20413 			"\x99\x51\xf2\x59\x26\x9e\xb5\xa6"
20414 			"\x45\xfe\x6e\xbd\x07\x4c\x94\x5a"
20415 			"\xa5\x7d\xfc\xf1\x2b\x77\xe2\xfe"
20416 			"\x17\xd4\x84\xa0\xac\xb5\xc7\xda"
20417 			"\xa9\x1a\xb6\xf3\x74\x11\xb4\x9d"
20418 			"\xfb\x79\x2e\x04\x2d\x50\x28\x83"
20419 			"\xbf\xc6\x52\xd3\x34\xd6\xe8\x7a"
20420 			"\xb6\xea\xe7\xa8\x6c\x15\x1e\x2c"
20421 			"\x57\xbc\x48\x4e\x5f\x5c\xb6\x92"
20422 			"\xd2\x49\x77\x81\x6d\x90\x70\xae"
20423 			"\x98\xa1\x03\x0d\x6b\xb9\x77\x14"
20424 			"\xf1\x4e\x23\xd3\xf8\x68\xbd\xc2"
20425 			"\xfe\x04\xb7\x5c\xc5\x17\x60\x8f"
20426 			"\x65\x54\xa4\x7a\x42\xdc\x18\x0d"
20427 			"\xb5\xcf\x0f\xd3\xc7\x91\x66\x1b"
20428 			"\x45\x42\x27\x75\x50\xe5\xee\xb8"
20429 			"\x7f\x33\x2c\xba\x4a\x92\x4d\x2c"
20430 			"\x3c\xe3\x0d\x80\x01\xba\x0d\x29"
20431 			"\xd8\x3c\xe9\x13\x16\x57\xe6\xea"
20432 			"\x94\x52\xe7\x00\x4d\x30\xb0\x0f"
20433 			"\x35\xb8\xb8\xa7\xb1\xb5\x3b\x44"
20434 			"\xe1\x2f\xfd\x88\xed\x43\xe7\x52"
20435 			"\x10\x93\xb3\x8a\x30\x6b\x0a\xf7"
20436 			"\x23\xc6\x50\x9d\x4a\xb0\xde\xc3"
20437 			"\xdc\x9b\x2f\x01\x56\x36\x09\xc5"
20438 			"\x2f\x6b\xfe\xf1\xd8\x27\x45\x03"
20439 			"\x30\x5e\x5c\x5b\xb4\x62\x0e\x1a"
20440 			"\xa9\x21\x2b\x92\x94\x87\x62\x57"
20441 			"\x4c\x10\x74\x1a\xf1\x0a\xc5\x84"
20442 			"\x3b\x9e\x72\x02\xd7\xcc\x09\x56"
20443 			"\xbd\x54\xc1\xf0\xc3\xe3\xb3\xf8"
20444 			"\xd2\x0d\x61\xcb\xef\xce\x0d\x05"
20445 			"\xb0\x98\xd9\x8e\x4f\xf9\xbc\x93"
20446 			"\xa6\xea\xc8\xcf\x10\x53\x4b\xf1"
20447 			"\xec\xfc\x89\xf9\x64\xb0\x22\xbf"
20448 			"\x9e\x55\x46\x9f\x7c\x50\x8e\x84"
20449 			"\x54\x20\x98\xd7\x6c\x40\x1e\xdb"
20450 			"\x69\x34\x78\x61\x24\x21\x9c\x8a"
20451 			"\xb3\x62\x31\x8b\x6e\xf5\x2a\x35"
20452 			"\x86\x13\xb1\x6c\x64\x2e\x41\xa5"
20453 			"\x05\xf2\x42\xba\xd2\x3a\x0d\x8e"
20454 			"\x8a\x59\x94\x3c\xcf\x36\x27\x82"
20455 			"\xc2\x45\xee\x58\xcd\x88\xb4\xec"
20456 			"\xde\xb2\x96\x0a\xaf\x38\x6f\x88"
20457 			"\xd7\xd8\xe1\xdf\xb9\x96\xa9\x0a"
20458 			"\xb1\x95\x28\x86\x20\xe9\x17\x49"
20459 			"\xa2\x29\x38\xaa\xa5\xe9\x6e\xf1"
20460 			"\x19\x27\xc0\xd5\x2a\x22\xc3\x0b"
20461 			"\xdb\x7c\x73\x10\xb9\xba\x89\x76"
20462 			"\x54\xae\x7d\x71\xb3\x93\xf6\x32"
20463 			"\xe6\x47\x43\x55\xac\xa0\x0d\xc2"
20464 			"\x93\x27\x4a\x8e\x0e\x74\x15\xc7"
20465 			"\x0b\x85\xd9\x0c\xa9\x30\x7a\x3e"
20466 			"\xea\x8f\x85\x6d\x3a\x12\x4f\x72"
20467 			"\x69\x58\x7a\x80\xbb\xb5\x97\xf3"
20468 			"\xcf\x70\xd2\x5d\xdd\x4d\x21\x79"
20469 			"\x54\x4d\xe4\x05\xe8\xbd\xc2\x62"
20470 			"\xb1\x3b\x77\x1c\xd6\x5c\xf3\xa0"
20471 			"\x79\x00\xa8\x6c\x29\xd9\x18\x24"
20472 			"\x36\xa2\x46\xc0\x96\x65\x7f\xbd"
20473 			"\x2a\xed\x36\x16\x0c\xaa\x9f\xf4"
20474 			"\xc5\xb4\xe2\x12\xed\x69\xed\x4f"
20475 			"\x26\x2c\x39\x52\x89\x98\xe7\x2c"
20476 			"\x99\xa4\x9e\xa3\x9b\x99\x46\x7a"
20477 			"\x3a\xdc\xa8\x59\xa3\xdb\xc3\x3b"
20478 			"\x95\x0d\x3b\x09\x6e\xee\x83\x5d"
20479 			"\x32\x4d\xed\xab\xfa\x98\x14\x4e"
20480 			"\xc3\x15\x45\x53\x61\xc4\x93\xbd"
20481 			"\x90\xf4\x99\x95\x4c\xe6\x76\x92"
20482 			"\x29\x90\x46\x30\x92\x69\x7d\x13"
20483 			"\xf2\xa5\xcd\x69\x49\x44\xb2\x0f"
20484 			"\x63\x40\x36\x5f\x09\xe2\x78\xf8"
20485 			"\x91\xe3\xe2\xfa\x10\xf7\xc8\x24"
20486 			"\xa8\x89\x32\x5c\x37\x25\x1d\xb2"
20487 			"\xea\x17\x8a\x0a\xa9\x64\xc3\x7c"
20488 			"\x3c\x7c\xbd\xc6\x79\x34\xe7\xe2"
20489 			"\x85\x8e\xbf\xf8\xde\x92\xa0\xae"
20490 			"\x20\xc4\xf6\xbb\x1f\x38\x19\x0e"
20491 			"\xe8\x79\x9c\xa1\x23\xe9\x54\x7e"
20492 			"\x37\x2f\xe2\x94\x32\xaf\xa0\x23"
20493 			"\x49\xe4\xc0\xb3\xac\x00\x8f\x36"
20494 			"\x05\xc4\xa6\x96\xec\x05\x98\x4f"
20495 			"\x96\x67\x57\x1f\x20\x86\x1b\x2d"
20496 			"\x69\xe4\x29\x93\x66\x5f\xaf\x6b"
20497 			"\x88\x26\x2c\x67\x02\x4b\x52\xd0"
20498 			"\x83\x7a\x43\x1f\xc0\x71\x15\x25"
20499 			"\x77\x65\x08\x60\x11\x76\x4c\x8d"
20500 			"\xed\xa9\x27\xc6\xb1\x2a\x2c\x6a"
20501 			"\x4a\x97\xf5\xc6\xb7\x70\x42\xd3"
20502 			"\x03\xd1\x24\x95\xec\x6d\xab\x38"
20503 			"\x72\xce\xe2\x8b\x33\xd7\x51\x09"
20504 			"\xdc\x45\xe0\x09\x96\x32\xf3\xc4"
20505 			"\x84\xdc\x73\x73\x2d\x1b\x11\x98"
20506 			"\xc5\x0e\x69\x28\x94\xc7\xb5\x4d"
20507 			"\xc8\x8a\xd0\xaa\x13\x2e\x18\x74"
20508 			"\xdd\xd1\x1e\xf3\x90\xe8\xfc\x9a"
20509 			"\x72\x4a\x0e\xd1\xe4\xfb\x0d\x96"
20510 			"\xd1\x0c\x79\x85\x1b\x1c\xfe\xe1"
20511 			"\x62\x8f\x7a\x73\x32\xab\xc8\x18"
20512 			"\x69\xe3\x34\x30\xdf\x13\xa6\xe5"
20513 			"\xe8\x0e\x67\x7f\x81\x11\xb4\x60"
20514 			"\xc7\xbd\x79\x65\x50\xdc\xc4\x5b"
20515 			"\xde\x39\xa4\x01\x72\x63\xf3\xd1"
20516 			"\x64\x4e\xdf\xfc\x27\x92\x37\x0d"
20517 			"\x57\xcd\x11\x4f\x11\x04\x8e\x1d"
20518 			"\x16\xf7\xcd\x92\x9a\x99\x30\x14"
20519 			"\xf1\x7c\x67\x1b\x1f\x41\x0b\xe8"
20520 			"\x32\xe8\xb8\xc1\x4f\x54\x86\x4f"
20521 			"\xe5\x79\x81\x73\xcd\x43\x59\x68"
20522 			"\x73\x02\x3b\x78\x21\x72\x43\x00"
20523 			"\x49\x17\xf7\x00\xaf\x68\x24\x53"
20524 			"\x05\x0a\xc3\x33\xe0\x33\x3f\x69"
20525 			"\xd2\x84\x2f\x0b\xed\xde\x04\xf4"
20526 			"\x11\x94\x13\x69\x51\x09\x28\xde"
20527 			"\x57\x5c\xef\xdc\x9a\x49\x1c\x17"
20528 			"\x97\xf3\x96\xc1\x7f\x5d\x2e\x7d"
20529 			"\x55\xb8\xb3\x02\x09\xb3\x1f\xe7"
20530 			"\xc9\x8d\xa3\x36\x34\x8a\x77\x13"
20531 			"\x30\x63\x4c\xa5\xcd\xc3\xe0\x7e"
20532 			"\x05\xa1\x7b\x0c\xcb\x74\x47\x31"
20533 			"\x62\x03\x43\xf1\x87\xb4\xb0\x85"
20534 			"\x87\x8e\x4b\x25\xc7\xcf\xae\x4b"
20535 			"\x36\x46\x3e\x62\xbc\x6f\xeb\x5f"
20536 			"\x73\xac\xe6\x07\xee\xc1\xa1\xd6"
20537 			"\xc4\xab\xc9\xd6\x89\x45\xe1\xf1"
20538 			"\x04\x4e\x1a\x6f\xbb\x4f\x3a\xa3"
20539 			"\xa0\xcb\xa3\x0a\xd8\x71\x35\x55"
20540 			"\xe4\xbc\x2e\x04\x06\xe6\xff\x5b"
20541 			"\x1c\xc0\x11\x7c\xc5\x17\xf3\x38"
20542 			"\xcf\xe9\xba\x0f\x0e\xef\x02\xc2"
20543 			"\x8d\xc6\xbc\x4b\x67\x20\x95\xd7"
20544 			"\x2c\x45\x5b\x86\x44\x8c\x6f\x2e"
20545 			"\x7e\x9f\x1c\x77\xba\x6b\x0e\xa3"
20546 			"\x69\xdc\xab\x24\x57\x60\x47\xc1"
20547 			"\xd1\xa5\x9d\x23\xe6\xb1\x37\xfe"
20548 			"\x93\xd2\x4c\x46\xf9\x0c\xc6\xfb"
20549 			"\xd6\x9d\x99\x69\xab\x7a\x07\x0c"
20550 			"\x65\xe7\xc4\x08\x96\xe2\xa5\x01"
20551 			"\x3f\x46\x07\x05\x7e\xe8\x9a\x90"
20552 			"\x50\xdc\xe9\x7a\xea\xa1\x39\x6e"
20553 			"\x66\xe4\x6f\xa5\x5f\xb2\xd9\x5b"
20554 			"\xf5\xdb\x2a\x32\xf0\x11\x6f\x7c"
20555 			"\x26\x10\x8f\x3d\x80\xe9\x58\xf7"
20556 			"\xe0\xa8\x57\xf8\xdb\x0e\xce\x99"
20557 			"\x63\x19\x3d\xd5\xec\x1b\x77\x69"
20558 			"\x98\xf6\xe4\x5f\x67\x17\x4b\x09"
20559 			"\x85\x62\x82\x70\x18\xe2\x9a\x78"
20560 			"\xe2\x62\xbd\xb4\xf1\x42\xc6\xfb"
20561 			"\x08\xd0\xbd\xeb\x4e\x09\xf2\xc8"
20562 			"\x1e\xdc\x3d\x32\x21\x56\x9c\x4f"
20563 			"\x35\xf3\x61\x06\x72\x84\xc4\x32"
20564 			"\xf2\xf1\xfa\x0b\x2f\xc3\xdb\x02"
20565 			"\x04\xc2\xde\x57\x64\x60\x8d\xcf"
20566 			"\xcb\x86\x5d\x97\x3e\xb1\x9c\x01"
20567 			"\xd6\x28\x8f\x99\xbc\x46\xeb\x05"
20568 			"\xaf\x7e\xb8\x21\x2a\x56\x85\x1c"
20569 			"\xb3\x71\xa0\xde\xca\x96\xf1\x78"
20570 			"\x49\xa2\x99\x81\x80\x5c\x01\xf5"
20571 			"\xa0\xa2\x56\x63\xe2\x70\x07\xa5"
20572 			"\x95\xd6\x85\xeb\x36\x9e\xa9\x51"
20573 			"\x66\x56\x5f\x1d\x02\x19\xe2\xf6"
20574 			"\x4f\x73\x38\x09\x75\x64\x48\xe0"
20575 			"\xf1\x7e\x0e\xe8\x9d\xf9\xed\x94"
20576 			"\xfe\x16\x26\x62\x49\x74\xf4\xb0"
20577 			"\xd4\xa9\x6c\xb0\xfd\x53\xe9\x81"
20578 			"\xe0\x7a\xbf\xcf\xb5\xc4\x01\x81"
20579 			"\x79\x99\x77\x01\x3b\xe9\xa2\xb6"
20580 			"\xe6\x6a\x8a\x9e\x56\x1c\x8d\x1e"
20581 			"\x8f\x06\x55\x2c\x6c\xdc\x92\x87"
20582 			"\x64\x3b\x4b\x19\xa1\x13\x64\x1d"
20583 			"\x4a\xe9\xc0\x00\xb8\x95\xef\x6b"
20584 			"\x1a\x86\x6d\x37\x52\x02\xc2\xe0"
20585 			"\xc8\xbb\x42\x0c\x02\x21\x4a\xc9"
20586 			"\xef\xa0\x54\xe4\x5e\x16\x53\x81"
20587 			"\x70\x62\x10\xaf\xde\xb8\xb5\xd3"
20588 			"\xe8\x5e\x6c\xc3\x8a\x3e\x18\x07"
20589 			"\xf2\x2f\x7d\xa7\xe1\x3d\x4e\xb4"
20590 			"\x26\xa7\xa3\x93\x86\xb2\x04\x1e"
20591 			"\x53\x5d\x86\xd6\xde\x65\xca\xe3"
20592 			"\x4e\xc1\xcf\xef\xc8\x70\x1b\x83"
20593 			"\x13\xdd\x18\x8b\x0d\x76\xd2\xf6"
20594 			"\x37\x7a\x93\x7a\x50\x11\x9f\x96"
20595 			"\x86\x25\xfd\xac\xdc\xbe\x18\x93"
20596 			"\x19\x6b\xec\x58\x4f\xb9\x75\xa7"
20597 			"\xdd\x3f\x2f\xec\xc8\x5a\x84\xab"
20598 			"\xd5\xe4\x8a\x07\xf6\x4d\x23\xd6"
20599 			"\x03\xfb\x03\x6a\xea\x66\xbf\xd4"
20600 			"\xb1\x34\xfb\x78\xe9\x55\xdc\x7c"
20601 			"\x3d\x9c\xe5\x9a\xac\xc3\x7a\x80"
20602 			"\x24\x6d\xa0\xef\x25\x7c\xb7\xea"
20603 			"\xce\x4d\x5f\x18\x60\xce\x87\x22"
20604 			"\x66\x2f\xd5\xdd\xdd\x02\x21\x75"
20605 			"\x82\xa0\x1f\x58\xc6\xd3\x62\xf7"
20606 			"\x32\xd8\xaf\x1e\x07\x77\x51\x96"
20607 			"\xd5\x6b\x1e\x7e\x80\x02\xe8\x67"
20608 			"\xea\x17\x0b\x10\xd2\x3f\x28\x25"
20609 			"\x4f\x05\x77\x02\x14\x69\xf0\x2c"
20610 			"\xbe\x0c\xf1\x74\x30\xd1\xb9\x9b"
20611 			"\xfc\x8c\xbb\x04\x16\xd9\xba\xc3"
20612 			"\xbc\x91\x8a\xc4\x30\xa4\xb0\x12"
20613 			"\x4c\x21\x87\xcb\xc9\x1d\x16\x96"
20614 			"\x07\x6f\x23\x54\xb9\x6f\x79\xe5"
20615 			"\x64\xc0\x64\xda\xb1\xae\xdd\x60"
20616 			"\x6c\x1a\x9d\xd3\x04\x8e\x45\xb0"
20617 			"\x92\x61\xd0\x48\x81\xed\x5e\x1d"
20618 			"\xa0\xc9\xa4\x33\xc7\x13\x51\x5d"
20619 			"\x7f\x83\x73\xb6\x70\x18\x65\x3e"
20620 			"\x2f\x0e\x7a\x12\x39\x98\xab\xd8"
20621 			"\x7e\x6f\xa3\xd1\xba\x56\xad\xbd"
20622 			"\xf0\x03\x01\x1c\x85\x35\x9f\xeb"
20623 			"\x19\x63\xa1\xaf\xfe\x2d\x35\x50"
20624 			"\x39\xa0\x65\x7c\x95\x7e\x6b\xfe"
20625 			"\xc1\xac\x07\x7c\x98\x4f\xbe\x57"
20626 			"\xa7\x22\xec\xe2\x7e\x29\x09\x53"
20627 			"\xe8\xbf\xb4\x7e\x3f\x8f\xfc\x14"
20628 			"\xce\x54\xf9\x18\x58\xb5\xff\x44"
20629 			"\x05\x9d\xce\x1b\xb6\x82\x23\xc8"
20630 			"\x2e\xbc\x69\xbb\x4a\x29\x0f\x65"
20631 			"\x94\xf0\x63\x06\x0e\xef\x8c\xbd"
20632 			"\xff\xfd\xb0\x21\x6e\x57\x05\x75"
20633 			"\xda\xd5\xc4\xeb\x8d\x32\xf7\x50"
20634 			"\xd3\x6f\x22\xed\x5f\x8e\xa2\x5b"
20635 			"\x80\x8c\xc8\x78\x40\x24\x4b\x89"
20636 			"\x30\xce\x7a\x97\x0e\xc4\xaf\xef"
20637 			"\x9b\xb4\xcd\x66\x74\x14\x04\x2b"
20638 			"\xf7\xce\x0b\x1c\x6e\xc2\x78\x8c"
20639 			"\xca\xc5\xd0\x1c\x95\x4a\x91\x2d"
20640 			"\xa7\x20\xeb\x86\x52\xb7\x67\xd8"
20641 			"\x0c\xd6\x04\x14\xde\x51\x74\x75"
20642 			"\xe7\x11\xb4\x87\xa3\x3d\x2d\xad"
20643 			"\x4f\xef\xa0\x0f\x70\x00\x6d\x13"
20644 			"\x19\x1d\x41\x50\xe9\xd8\xf0\x32"
20645 			"\x71\xbc\xd3\x11\xf2\xac\xbe\xaf"
20646 			"\x75\x46\x65\x4e\x07\x34\x37\xa3"
20647 			"\x89\xfe\x75\xd4\x70\x4c\xc6\x3f"
20648 			"\x69\x24\x0e\x38\x67\x43\x8c\xde"
20649 			"\x06\xb5\xb8\xe7\xc4\xf0\x41\x8f"
20650 			"\xf0\xbd\x2f\x0b\xb9\x18\xf8\xde"
20651 			"\x64\xb1\xdb\xee\x00\x50\x77\xe1"
20652 			"\xc7\xff\xa6\xfa\xdd\x70\xf4\xe3"
20653 			"\x93\xe9\x77\x35\x3d\x4b\x2f\x2b"
20654 			"\x6d\x55\xf0\xfc\x88\x54\x4e\x89"
20655 			"\xc1\x8a\x23\x31\x2d\x14\x2a\xb8"
20656 			"\x1b\x15\xdd\x9e\x6e\x7b\xda\x05"
20657 			"\x91\x7d\x62\x64\x96\x72\xde\xfc"
20658 			"\xc1\xec\xf0\x23\x51\x6f\xdb\x5b"
20659 			"\x1d\x08\x57\xce\x09\xb8\xf6\xcd"
20660 			"\x8d\x95\xf2\x20\xbf\x0f\x20\x57"
20661 			"\x98\x81\x84\x4f\x15\x5c\x76\xe7"
20662 			"\x3e\x0a\x3a\x6c\xc4\x8a\xbe\x78"
20663 			"\x74\x77\xc3\x09\x4b\x5d\x48\xe4"
20664 			"\xc8\xcb\x0b\xea\x17\x28\xcf\xcf"
20665 			"\x31\x32\x44\xa4\xe5\x0e\x1a\x98"
20666 			"\x94\xc4\xf0\xff\xae\x3e\x44\xe8"
20667 			"\xa5\xb3\xb5\x37\x2f\xe8\xaf\x6f"
20668 			"\x28\xc1\x37\x5f\x31\xd2\xb9\x33"
20669 			"\xb1\xb2\x52\x94\x75\x2c\x29\x59"
20670 			"\x06\xc2\x25\xe8\x71\x65\x4e\xed"
20671 			"\xc0\x9c\xb1\xbb\x25\xdc\x6c\xe7"
20672 			"\x4b\xa5\x7a\x54\x7a\x60\xff\x7a"
20673 			"\xe0\x50\x40\x96\x35\x63\xe4\x0b"
20674 			"\x76\xbd\xa4\x65\x00\x1b\x57\x88"
20675 			"\xae\xed\x39\x88\x42\x11\x3c\xed"
20676 			"\x85\x67\x7d\xb9\x68\x82\xe9\x43"
20677 			"\x3c\x47\x53\xfa\xe8\xf8\x9f\x1f"
20678 			"\x9f\xef\x0f\xf7\x30\xd9\x30\x0e"
20679 			"\xb9\x9f\x69\x18\x2f\x7e\xf8\xf8"
20680 			"\xf8\x8c\x0f\xd4\x02\x4d\xea\xcd"
20681 			"\x0a\x9c\x6f\x71\x6d\x5a\x4c\x60"
20682 			"\xce\x20\x56\x32\xc6\xc5\x99\x1f"
20683 			"\x09\xe6\x4e\x18\x1a\x15\x13\xa8"
20684 			"\x7d\xb1\x6b\xc0\xb2\x6d\xf8\x26"
20685 			"\x66\xf8\x3d\x18\x74\x70\x66\x7a"
20686 			"\x34\x17\xde\xba\x47\xf1\x06\x18"
20687 			"\xcb\xaf\xeb\x4a\x1e\x8f\xa7\x77"
20688 			"\xe0\x3b\x78\x62\x66\xc9\x10\xea"
20689 			"\x1f\xb7\x29\x0a\x45\xa1\x1d\x1e"
20690 			"\x1d\xe2\x65\x61\x50\x9c\xd7\x05"
20691 			"\xf2\x0b\x5b\x12\x61\x02\xc8\xe5"
20692 			"\x63\x4f\x20\x0c\x07\x17\x33\x5e"
20693 			"\x03\x9a\x53\x0f\x2e\x55\xfe\x50"
20694 			"\x43\x7d\xd0\xb6\x7e\x5a\xda\xae"
20695 			"\x58\xef\x15\xa9\x83\xd9\x46\xb1"
20696 			"\x42\xaa\xf5\x02\x6c\xce\x92\x06"
20697 			"\x1b\xdb\x66\x45\x91\x79\xc2\x2d"
20698 			"\xe6\x53\xd3\x14\xfd\xbb\x44\x63"
20699 			"\xc6\xd7\x3d\x7a\x0c\x75\x78\x9d"
20700 			"\x5c\xa6\x39\xb3\xe5\x63\xca\x8b"
20701 			"\xfe\xd3\xef\x60\x83\xf6\x8e\x70"
20702 			"\xb6\x67\xc7\x77\xed\x23\xef\x4c"
20703 			"\xf0\xed\x2d\x07\x59\x6f\xc1\x01"
20704 			"\x34\x37\x08\xab\xd9\x1f\x09\xb1"
20705 			"\xce\x5b\x17\xff\x74\xf8\x9c\xd5"
20706 			"\x2c\x56\x39\x79\x0f\x69\x44\x75"
20707 			"\x58\x27\x01\xc4\xbf\xa7\xa1\x1d"
20708 			"\x90\x17\x77\x86\x5a\x3f\xd9\xd1"
20709 			"\x0e\xa0\x10\xf8\xec\x1e\xa5\x7f"
20710 			"\x5e\x36\xd1\xe3\x04\x2c\x70\xf7"
20711 			"\x8e\xc0\x98\x2f\x6c\x94\x2b\x41"
20712 			"\xb7\x60\x00\xb7\x2e\xb8\x02\x8d"
20713 			"\xb8\xb0\xd3\x86\xba\x1d\xd7\x90"
20714 			"\xd6\xb6\xe1\xfc\xd7\xd8\x28\x06"
20715 			"\x63\x9b\xce\x61\x24\x79\xc0\x70"
20716 			"\x52\xd0\xb6\xd4\x28\x95\x24\x87"
20717 			"\x03\x1f\xb7\x9a\xda\xa3\xfb\x52"
20718 			"\x5b\x68\xe7\x4c\x8c\x24\xe1\x42"
20719 			"\xf7\xd5\xfd\xad\x06\x32\x9f\xba"
20720 			"\xc1\xfc\xdd\xc6\xfc\xfc\xb3\x38"
20721 			"\x74\x56\x58\x40\x02\x37\x52\x2c"
20722 			"\x55\xcc\xb3\x9e\x7a\xe9\xd4\x38"
20723 			"\x41\x5e\x0c\x35\xe2\x11\xd1\x13"
20724 			"\xf8\xb7\x8d\x72\x6b\x22\x2a\xb0"
20725 			"\xdb\x08\xba\x35\xb9\x3f\xc8\xd3"
20726 			"\x24\x90\xec\x58\xd2\x09\xc7\x2d"
20727 			"\xed\x38\x80\x36\x72\x43\x27\x49"
20728 			"\x4a\x80\x8a\xa2\xe8\xd3\xda\x30"
20729 			"\x7d\xb6\x82\x37\x86\x92\x86\x3e"
20730 			"\x08\xb2\x28\x5a\x55\x44\x24\x7d"
20731 			"\x40\x48\x8a\xb6\x89\x58\x08\xa0"
20732 			"\xd6\x6d\x3a\x17\xbf\xf6\x54\xa2"
20733 			"\xf5\xd3\x8c\x0f\x78\x12\x57\x8b"
20734 			"\xd5\xc2\xfd\x58\x5b\x7f\x38\xe3"
20735 			"\xcc\xb7\x7c\x48\xb3\x20\xe8\x81"
20736 			"\x14\x32\x45\x05\xe0\xdb\x9f\x75"
20737 			"\x85\xb4\x6a\xfc\x95\xe3\x54\x22"
20738 			"\x12\xee\x30\xfe\xd8\x30\xef\x34"
20739 			"\x50\xab\x46\x30\x98\x2f\xb7\xc0"
20740 			"\x15\xa2\x83\xb6\xf2\x06\x21\xa2"
20741 			"\xc3\x26\x37\x14\xd1\x4d\xb5\x10"
20742 			"\x52\x76\x4d\x6a\xee\xb5\x2b\x15"
20743 			"\xb7\xf9\x51\xe8\x2a\xaf\xc7\xfa"
20744 			"\x77\xaf\xb0\x05\x4d\xd1\x68\x8e"
20745 			"\x74\x05\x9f\x9d\x93\xa5\x3e\x7f"
20746 			"\x4e\x5f\x9d\xcb\x09\xc7\x83\xe3"
20747 			"\x02\x9d\x27\x1f\xef\x85\x05\x8d"
20748 			"\xec\x55\x88\x0f\x0d\x7c\x4c\xe8"
20749 			"\xa1\x75\xa0\xd8\x06\x47\x14\xef"
20750 			"\xaa\x61\xcf\x26\x15\xad\xd8\xa3"
20751 			"\xaa\x75\xf2\x78\x4a\x5a\x61\xdf"
20752 			"\x8b\xc7\x04\xbc\xb2\x32\xd2\x7e"
20753 			"\x42\xee\xb4\x2f\x51\xff\x7b\x2e"
20754 			"\xd3\x02\xe8\xdc\x5d\x0d\x50\xdc"
20755 			"\xae\xb7\x46\xf9\xa8\xe6\xd0\x16"
20756 			"\xcc\xe6\x2c\x81\xc7\xad\xe9\xf0"
20757 			"\x05\x72\x6d\x3d\x0a\x7a\xa9\x02"
20758 			"\xac\x82\x93\x6e\xb6\x1c\x28\xfc"
20759 			"\x44\x12\xfb\x73\x77\xd4\x13\x39"
20760 			"\x29\x88\x8a\xf3\x5c\xa6\x36\xa0"
20761 			"\x2a\xed\x7e\xb1\x1d\xd6\x4c\x6b"
20762 			"\x41\x01\x18\x5d\x5d\x07\x97\xa6"
20763 			"\x4b\xef\x31\x18\xea\xac\xb1\x84"
20764 			"\x21\xed\xda\x86",
20765 		.rlen = 4100,
20766 		.np	= 2,
20767 		.tap	= { 4064, 36 },
20768 	},
20769 };
20770 
20771 static const struct cipher_testvec aes_ctr_rfc3686_dec_tv_template[] = {
20772 	{ /* From RFC 3686 */
20773 		.key	= "\xae\x68\x52\xf8\x12\x10\x67\xcc"
20774 			  "\x4b\xf7\xa5\x76\x55\x77\xf3\x9e"
20775 			  "\x00\x00\x00\x30",
20776 		.klen	= 20,
20777 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
20778 		.input	= "\xe4\x09\x5d\x4f\xb7\xa7\xb3\x79"
20779 			  "\x2d\x61\x75\xa3\x26\x13\x11\xb8",
20780 		.ilen	= 16,
20781 		.result	= "Single block msg",
20782 		.rlen	= 16,
20783 	}, {
20784 		.key	= "\x7e\x24\x06\x78\x17\xfa\xe0\xd7"
20785 			  "\x43\xd6\xce\x1f\x32\x53\x91\x63"
20786 			  "\x00\x6c\xb6\xdb",
20787 		.klen	= 20,
20788 		.iv	= "\xc0\x54\x3b\x59\xda\x48\xd9\x0b",
20789 		.input	= "\x51\x04\xa1\x06\x16\x8a\x72\xd9"
20790 			  "\x79\x0d\x41\xee\x8e\xda\xd3\x88"
20791 			  "\xeb\x2e\x1e\xfc\x46\xda\x57\xc8"
20792 			  "\xfc\xe6\x30\xdf\x91\x41\xbe\x28",
20793 		.ilen	= 32,
20794 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
20795 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20796 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
20797 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20798 		.rlen	= 32,
20799 	}, {
20800 		.key	= "\x16\xaf\x5b\x14\x5f\xc9\xf5\x79"
20801 			  "\xc1\x75\xf9\x3e\x3b\xfb\x0e\xed"
20802 			  "\x86\x3d\x06\xcc\xfd\xb7\x85\x15"
20803 			  "\x00\x00\x00\x48",
20804 		.klen	= 28,
20805 		.iv	= "\x36\x73\x3c\x14\x7d\x6d\x93\xcb",
20806 		.input	= "\x4b\x55\x38\x4f\xe2\x59\xc9\xc8"
20807 			  "\x4e\x79\x35\xa0\x03\xcb\xe9\x28",
20808 		.ilen	= 16,
20809 		.result	= "Single block msg",
20810 		.rlen	= 16,
20811 	}, {
20812 		.key	= "\x7c\x5c\xb2\x40\x1b\x3d\xc3\x3c"
20813 			  "\x19\xe7\x34\x08\x19\xe0\xf6\x9c"
20814 			  "\x67\x8c\x3d\xb8\xe6\xf6\xa9\x1a"
20815 			  "\x00\x96\xb0\x3b",
20816 		.klen	= 28,
20817 		.iv	= "\x02\x0c\x6e\xad\xc2\xcb\x50\x0d",
20818 		.input	= "\x45\x32\x43\xfc\x60\x9b\x23\x32"
20819 			  "\x7e\xdf\xaa\xfa\x71\x31\xcd\x9f"
20820 			  "\x84\x90\x70\x1c\x5a\xd4\xa7\x9c"
20821 			  "\xfc\x1f\xe0\xff\x42\xf4\xfb\x00",
20822 		.ilen	= 32,
20823 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
20824 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20825 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
20826 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20827 		.rlen	= 32,
20828 	}, {
20829 		.key	= "\x77\x6b\xef\xf2\x85\x1d\xb0\x6f"
20830 			  "\x4c\x8a\x05\x42\xc8\x69\x6f\x6c"
20831 			  "\x6a\x81\xaf\x1e\xec\x96\xb4\xd3"
20832 			  "\x7f\xc1\xd6\x89\xe6\xc1\xc1\x04"
20833 			  "\x00\x00\x00\x60",
20834 		.klen	= 36,
20835 		.iv	= "\xdb\x56\x72\xc9\x7a\xa8\xf0\xb2",
20836 		.input	= "\x14\x5a\xd0\x1d\xbf\x82\x4e\xc7"
20837 			  "\x56\x08\x63\xdc\x71\xe3\xe0\xc0",
20838 		.ilen	= 16,
20839 		.result	= "Single block msg",
20840 		.rlen	= 16,
20841 	}, {
20842 		.key	= "\xf6\xd6\x6d\x6b\xd5\x2d\x59\xbb"
20843 			  "\x07\x96\x36\x58\x79\xef\xf8\x86"
20844 			  "\xc6\x6d\xd5\x1a\x5b\x6a\x99\x74"
20845 			  "\x4b\x50\x59\x0c\x87\xa2\x38\x84"
20846 			  "\x00\xfa\xac\x24",
20847 		.klen	= 36,
20848 		.iv	= "\xc1\x58\x5e\xf1\x5a\x43\xd8\x75",
20849 		.input	= "\xf0\x5e\x23\x1b\x38\x94\x61\x2c"
20850 			  "\x49\xee\x00\x0b\x80\x4e\xb2\xa9"
20851 			  "\xb8\x30\x6b\x50\x8f\x83\x9d\x6a"
20852 			  "\x55\x30\x83\x1d\x93\x44\xaf\x1c",
20853 		.ilen	= 32,
20854 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
20855 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
20856 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
20857 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
20858 		.rlen	= 32,
20859 	},
20860 };
20861 
20862 static const struct cipher_testvec aes_ofb_enc_tv_template[] = {
20863 	 /* From NIST Special Publication 800-38A, Appendix F.5 */
20864 	{
20865 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
20866 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
20867 		.klen	= 16,
20868 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
20869 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
20870 		.input = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
20871 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
20872 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
20873 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
20874 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
20875 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
20876 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
20877 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
20878 		.ilen	= 64,
20879 		.result = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
20880 			  "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
20881 			  "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
20882 			  "\x3c\x52\xda\xc5\x4e\xd8\x25"
20883 			  "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
20884 			  "\x44\xf7\xa8\x22\x60\xed\xcc"
20885 			  "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
20886 			  "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
20887 		.rlen	= 64,
20888 	}
20889 };
20890 
20891 static const struct cipher_testvec aes_ofb_dec_tv_template[] = {
20892 	 /* From NIST Special Publication 800-38A, Appendix F.5 */
20893 	{
20894 		.key	= "\x2b\x7e\x15\x16\x28\xae\xd2\xa6"
20895 			  "\xab\xf7\x15\x88\x09\xcf\x4f\x3c",
20896 		.klen	= 16,
20897 		.iv	= "\x00\x01\x02\x03\x04\x05\x06\x07\x08"
20898 			  "\x09\x0a\x0b\x0c\x0d\x0e\x0f",
20899 		.input = "\x3b\x3f\xd9\x2e\xb7\x2d\xad\x20"
20900 			  "\x33\x34\x49\xf8\xe8\x3c\xfb\x4a"
20901 			  "\x77\x89\x50\x8d\x16\x91\x8f\x03\xf5"
20902 			  "\x3c\x52\xda\xc5\x4e\xd8\x25"
20903 			  "\x97\x40\x05\x1e\x9c\x5f\xec\xf6\x43"
20904 			  "\x44\xf7\xa8\x22\x60\xed\xcc"
20905 			  "\x30\x4c\x65\x28\xf6\x59\xc7\x78"
20906 			  "\x66\xa5\x10\xd9\xc1\xd6\xae\x5e",
20907 		.ilen	= 64,
20908 		.result = "\x6b\xc1\xbe\xe2\x2e\x40\x9f\x96"
20909 			  "\xe9\x3d\x7e\x11\x73\x93\x17\x2a"
20910 			  "\xae\x2d\x8a\x57\x1e\x03\xac\x9c"
20911 			  "\x9e\xb7\x6f\xac\x45\xaf\x8e\x51"
20912 			  "\x30\xc8\x1c\x46\xa3\x5c\xe4\x11"
20913 			  "\xe5\xfb\xc1\x19\x1a\x0a\x52\xef"
20914 			  "\xf6\x9f\x24\x45\xdf\x4f\x9b\x17"
20915 			  "\xad\x2b\x41\x7b\xe6\x6c\x37\x10",
20916 		.rlen	= 64,
20917 	}
20918 };
20919 
20920 static const struct aead_testvec aes_gcm_enc_tv_template[] = {
20921 	{ /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
20922 		.key    = zeroed_string,
20923 		.klen	= 16,
20924 		.result	= "\x58\xe2\xfc\xce\xfa\x7e\x30\x61"
20925 			  "\x36\x7f\x1d\x57\xa4\xe7\x45\x5a",
20926 		.rlen	= 16,
20927 	}, {
20928 		.key    = zeroed_string,
20929 		.klen	= 16,
20930 		.input  = zeroed_string,
20931 		.ilen	= 16,
20932 		.result = "\x03\x88\xda\xce\x60\xb6\xa3\x92"
20933 			  "\xf3\x28\xc2\xb9\x71\xb2\xfe\x78"
20934 			  "\xab\x6e\x47\xd4\x2c\xec\x13\xbd"
20935 			  "\xf5\x3a\x67\xb2\x12\x57\xbd\xdf",
20936 		.rlen	= 32,
20937 	}, {
20938 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20939 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20940 		.klen	= 16,
20941 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20942 			  "\xde\xca\xf8\x88",
20943 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20944 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20945 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20946 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20947 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20948 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20949 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20950 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
20951 		.ilen	= 64,
20952 		.result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20953 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20954 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20955 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20956 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20957 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
20958 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
20959 			  "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
20960 			  "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
20961 			  "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
20962 		.rlen	= 80,
20963 	}, {
20964 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
20965 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
20966 		.klen	= 16,
20967 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
20968 			  "\xde\xca\xf8\x88",
20969 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
20970 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
20971 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
20972 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
20973 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
20974 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
20975 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
20976 			  "\xba\x63\x7b\x39",
20977 		.ilen	= 60,
20978 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20979 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
20980 			  "\xab\xad\xda\xd2",
20981 		.alen	= 20,
20982 		.result = "\x42\x83\x1e\xc2\x21\x77\x74\x24"
20983 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
20984 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
20985 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
20986 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
20987 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
20988 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
20989 			  "\x3d\x58\xe0\x91"
20990 			  "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
20991 			  "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
20992 		.rlen	= 76,
20993 	}, {
20994 		.key    = zeroed_string,
20995 		.klen	= 24,
20996 		.result	= "\xcd\x33\xb2\x8a\xc7\x73\xf7\x4b"
20997 			  "\xa0\x0e\xd1\xf3\x12\x57\x24\x35",
20998 		.rlen	= 16,
20999 	}, {
21000 		.key    = zeroed_string,
21001 		.klen	= 24,
21002 		.input  = zeroed_string,
21003 		.ilen	= 16,
21004 		.result = "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
21005 			  "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
21006 			  "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
21007 			  "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
21008 		.rlen	= 32,
21009 	}, {
21010 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21011 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21012 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21013 		.klen	= 24,
21014 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21015 			  "\xde\xca\xf8\x88",
21016 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21017 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21018 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21019 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21020 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21021 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21022 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21023 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21024 		.ilen	= 64,
21025 		.result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21026 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21027 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21028 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21029 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21030 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21031 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21032 			  "\xcc\xda\x27\x10\xac\xad\xe2\x56"
21033 			  "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
21034 			  "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
21035 		.rlen	= 80,
21036 	}, {
21037 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21038 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21039 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21040 		.klen	= 24,
21041 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21042 			  "\xde\xca\xf8\x88",
21043 		.input	= "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21044 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21045 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21046 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21047 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21048 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21049 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21050 			  "\xba\x63\x7b\x39",
21051 		.ilen	= 60,
21052 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21053 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21054 			  "\xab\xad\xda\xd2",
21055 		.alen	= 20,
21056 		.result = "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21057 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21058 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21059 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21060 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21061 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21062 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21063 			  "\xcc\xda\x27\x10"
21064 			  "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
21065 			  "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
21066 		.rlen	= 76,
21067 		.np	= 2,
21068 		.tap	= { 32, 28 },
21069 		.anp	= 2,
21070 		.atap	= { 8, 12 }
21071 	}, {
21072 		.key    = zeroed_string,
21073 		.klen	= 32,
21074 		.result	= "\x53\x0f\x8a\xfb\xc7\x45\x36\xb9"
21075 			  "\xa9\x63\xb4\xf1\xc4\xcb\x73\x8b",
21076 		.rlen	= 16,
21077 	}
21078 };
21079 
21080 static const struct aead_testvec aes_gcm_dec_tv_template[] = {
21081 	{ /* From McGrew & Viega - http://citeseer.ist.psu.edu/656989.html */
21082 		.key    = zeroed_string,
21083 		.klen	= 32,
21084 		.input	= "\xce\xa7\x40\x3d\x4d\x60\x6b\x6e"
21085 			  "\x07\x4e\xc5\xd3\xba\xf3\x9d\x18"
21086 			  "\xd0\xd1\xc8\xa7\x99\x99\x6b\xf0"
21087 			  "\x26\x5b\x98\xb5\xd4\x8a\xb9\x19",
21088 		.ilen	= 32,
21089 		.result  = zeroed_string,
21090 		.rlen	= 16,
21091 	}, {
21092 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21093 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21094 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21095 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21096 		.klen	= 32,
21097 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21098 			  "\xde\xca\xf8\x88",
21099 		.input	= "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
21100 			  "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
21101 			  "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
21102 			  "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
21103 			  "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
21104 			  "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
21105 			  "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
21106 			  "\xbc\xc9\xf6\x62\x89\x80\x15\xad"
21107 			  "\xb0\x94\xda\xc5\xd9\x34\x71\xbd"
21108 			  "\xec\x1a\x50\x22\x70\xe3\xcc\x6c",
21109 		.ilen	= 80,
21110 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21111 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21112 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21113 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21114 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21115 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21116 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21117 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21118 		.rlen	= 64,
21119 	}, {
21120 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21121 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21122 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21123 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21124 		.klen	= 32,
21125 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21126 			  "\xde\xca\xf8\x88",
21127 		.input	= "\x52\x2d\xc1\xf0\x99\x56\x7d\x07"
21128 			  "\xf4\x7f\x37\xa3\x2a\x84\x42\x7d"
21129 			  "\x64\x3a\x8c\xdc\xbf\xe5\xc0\xc9"
21130 			  "\x75\x98\xa2\xbd\x25\x55\xd1\xaa"
21131 			  "\x8c\xb0\x8e\x48\x59\x0d\xbb\x3d"
21132 			  "\xa7\xb0\x8b\x10\x56\x82\x88\x38"
21133 			  "\xc5\xf6\x1e\x63\x93\xba\x7a\x0a"
21134 			  "\xbc\xc9\xf6\x62"
21135 			  "\x76\xfc\x6e\xce\x0f\x4e\x17\x68"
21136 			  "\xcd\xdf\x88\x53\xbb\x2d\x55\x1b",
21137 		.ilen	= 76,
21138 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21139 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21140 			  "\xab\xad\xda\xd2",
21141 		.alen	= 20,
21142 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21143 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21144 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21145 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21146 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21147 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21148 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21149 			  "\xba\x63\x7b\x39",
21150 		.rlen	= 60,
21151 		.np     = 2,
21152 		.tap    = { 48, 28 },
21153 		.anp	= 3,
21154 		.atap	= { 8, 8, 4 }
21155 	}, {
21156 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21157 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21158 		.klen	= 16,
21159 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21160 			  "\xde\xca\xf8\x88",
21161 		.input	= "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21162 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21163 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21164 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21165 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21166 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21167 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21168 			  "\x3d\x58\xe0\x91\x47\x3f\x59\x85"
21169 			  "\x4d\x5c\x2a\xf3\x27\xcd\x64\xa6"
21170 			  "\x2c\xf3\x5a\xbd\x2b\xa6\xfa\xb4",
21171 		.ilen	= 80,
21172 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21173 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21174 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21175 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21176 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21177 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21178 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21179 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21180 		.rlen	= 64,
21181 	}, {
21182 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21183 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08",
21184 		.klen	= 16,
21185 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21186 			  "\xde\xca\xf8\x88",
21187 		.input	= "\x42\x83\x1e\xc2\x21\x77\x74\x24"
21188 			  "\x4b\x72\x21\xb7\x84\xd0\xd4\x9c"
21189 			  "\xe3\xaa\x21\x2f\x2c\x02\xa4\xe0"
21190 			  "\x35\xc1\x7e\x23\x29\xac\xa1\x2e"
21191 			  "\x21\xd5\x14\xb2\x54\x66\x93\x1c"
21192 			  "\x7d\x8f\x6a\x5a\xac\x84\xaa\x05"
21193 			  "\x1b\xa3\x0b\x39\x6a\x0a\xac\x97"
21194 			  "\x3d\x58\xe0\x91"
21195 			  "\x5b\xc9\x4f\xbc\x32\x21\xa5\xdb"
21196 			  "\x94\xfa\xe9\x5a\xe7\x12\x1a\x47",
21197 		.ilen	= 76,
21198 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21199 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21200 			  "\xab\xad\xda\xd2",
21201 		.alen	= 20,
21202 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21203 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21204 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21205 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21206 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21207 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21208 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21209 			  "\xba\x63\x7b\x39",
21210 		.rlen	= 60,
21211 	}, {
21212 		.key    = zeroed_string,
21213 		.klen	= 24,
21214 		.input	= "\x98\xe7\x24\x7c\x07\xf0\xfe\x41"
21215 			  "\x1c\x26\x7e\x43\x84\xb0\xf6\x00"
21216 			  "\x2f\xf5\x8d\x80\x03\x39\x27\xab"
21217 			  "\x8e\xf4\xd4\x58\x75\x14\xf0\xfb",
21218 		.ilen	= 32,
21219 		.result  = zeroed_string,
21220 		.rlen	= 16,
21221 	}, {
21222 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21223 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21224 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21225 		.klen	= 24,
21226 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21227 			  "\xde\xca\xf8\x88",
21228 		.input	= "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21229 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21230 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21231 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21232 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21233 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21234 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21235 			  "\xcc\xda\x27\x10\xac\xad\xe2\x56"
21236 			  "\x99\x24\xa7\xc8\x58\x73\x36\xbf"
21237 			  "\xb1\x18\x02\x4d\xb8\x67\x4a\x14",
21238 		.ilen	= 80,
21239 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21240 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21241 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21242 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21243 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21244 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21245 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21246 			  "\xba\x63\x7b\x39\x1a\xaf\xd2\x55",
21247 		.rlen	= 64,
21248 	}, {
21249 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21250 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21251 			  "\xfe\xff\xe9\x92\x86\x65\x73\x1c",
21252 		.klen	= 24,
21253 		.iv	= "\xca\xfe\xba\xbe\xfa\xce\xdb\xad"
21254 			  "\xde\xca\xf8\x88",
21255 		.input	= "\x39\x80\xca\x0b\x3c\x00\xe8\x41"
21256 			  "\xeb\x06\xfa\xc4\x87\x2a\x27\x57"
21257 			  "\x85\x9e\x1c\xea\xa6\xef\xd9\x84"
21258 			  "\x62\x85\x93\xb4\x0c\xa1\xe1\x9c"
21259 			  "\x7d\x77\x3d\x00\xc1\x44\xc5\x25"
21260 			  "\xac\x61\x9d\x18\xc8\x4a\x3f\x47"
21261 			  "\x18\xe2\x44\x8b\x2f\xe3\x24\xd9"
21262 			  "\xcc\xda\x27\x10"
21263 			  "\x25\x19\x49\x8e\x80\xf1\x47\x8f"
21264 			  "\x37\xba\x55\xbd\x6d\x27\x61\x8c",
21265 		.ilen	= 76,
21266 		.assoc	= "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21267 			  "\xfe\xed\xfa\xce\xde\xad\xbe\xef"
21268 			  "\xab\xad\xda\xd2",
21269 		.alen	= 20,
21270 		.result = "\xd9\x31\x32\x25\xf8\x84\x06\xe5"
21271 			  "\xa5\x59\x09\xc5\xaf\xf5\x26\x9a"
21272 			  "\x86\xa7\xa9\x53\x15\x34\xf7\xda"
21273 			  "\x2e\x4c\x30\x3d\x8a\x31\x8a\x72"
21274 			  "\x1c\x3c\x0c\x95\x95\x68\x09\x53"
21275 			  "\x2f\xcf\x0e\x24\x49\xa6\xb5\x25"
21276 			  "\xb1\x6a\xed\xf5\xaa\x0d\xe6\x57"
21277 			  "\xba\x63\x7b\x39",
21278 		.rlen	= 60,
21279 	}
21280 };
21281 
21282 static const struct aead_testvec aes_gcm_rfc4106_enc_tv_template[] = {
21283 	{ /* Generated using Crypto++ */
21284 		.key    = zeroed_string,
21285 		.klen	= 20,
21286 		.iv	= zeroed_string,
21287 		.input  = zeroed_string,
21288 		.ilen   = 16,
21289 		.assoc  = zeroed_string,
21290 		.alen   = 16,
21291 		.result	= "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
21292 			  "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
21293 			  "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
21294 			  "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
21295 		.rlen	= 32,
21296 	},{
21297 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21298 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21299 			  "\x00\x00\x00\x00",
21300 		.klen	= 20,
21301 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21302 		.input  = zeroed_string,
21303 		.ilen   = 16,
21304 		.assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
21305 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21306 		.alen   = 16,
21307 		.result	= "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
21308 			  "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
21309 			  "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
21310 			  "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
21311 		.rlen	= 32,
21312 
21313 	}, {
21314 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21315 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21316 			  "\x00\x00\x00\x00",
21317 		.klen	= 20,
21318 		.iv     = zeroed_string,
21319 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21320 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21321 		.ilen   = 16,
21322 		.assoc  = zeroed_string,
21323 		.alen   = 16,
21324 		.result	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21325 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21326 			  "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
21327 			  "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
21328 		.rlen	= 32,
21329 	}, {
21330 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21331 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21332 			  "\x00\x00\x00\x00",
21333 		.klen	= 20,
21334 		.iv     = zeroed_string,
21335 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21336 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21337 		.ilen   = 16,
21338 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21339 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
21340 		.alen   = 16,
21341 		.result	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21342 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21343 			  "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
21344 			  "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
21345 		.rlen	= 32,
21346 	}, {
21347 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21348 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21349 			  "\x00\x00\x00\x00",
21350 		.klen	= 20,
21351 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21352 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21353 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21354 		.ilen   = 16,
21355 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21356 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21357 		.alen   = 16,
21358 		.result	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21359 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21360 			  "\x64\x50\xF9\x32\x13\xFB\x74\x61"
21361 			  "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
21362 		.rlen	= 32,
21363 	}, {
21364 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21365 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21366 			  "\x00\x00\x00\x00",
21367 		.klen	= 20,
21368 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21369 		.input  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21370 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21371 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21372 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21373 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21374 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21375 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21376 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21377 		.ilen   = 64,
21378 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21379 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21380 		.alen   = 16,
21381 		.result	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21382 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21383 			  "\x98\x14\xA1\x42\x37\x80\xFD\x90"
21384 			  "\x68\x12\x01\xA8\x91\x89\xB9\x83"
21385 			  "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
21386 			  "\x94\x5F\x18\x12\xBA\x27\x09\x39"
21387 			  "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
21388 			  "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
21389 			  "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
21390 			  "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
21391 		.rlen	= 80,
21392 	}, {
21393 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
21394 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
21395 			  "\x00\x00\x00\x00",
21396 		.klen	= 20,
21397 		.iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
21398 		.input  = "\xff\xff\xff\xff\xff\xff\xff\xff"
21399 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21400 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21401 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21402 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21403 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21404 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21405 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21406 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21407 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21408 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21409 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21410 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21411 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21412 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21413 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21414 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21415 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21416 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21417 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21418 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21419 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21420 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
21421 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
21422 		.ilen   = 192,
21423 		.assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
21424 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
21425 			  "\x89\xab\xcd\xef",
21426 		.alen   = 20,
21427 		.result	= "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
21428 			  "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
21429 			  "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
21430 			  "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
21431 			  "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
21432 			  "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
21433 			  "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
21434 			  "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
21435 			  "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
21436 			  "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
21437 			  "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
21438 			  "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
21439 			  "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
21440 			  "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
21441 			  "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
21442 			  "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
21443 			  "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
21444 			  "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
21445 			  "\x7E\x13\x06\x82\x08\x17\xA4\x35"
21446 			  "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
21447 			  "\xA3\x05\x38\x95\x20\x1A\x47\x04"
21448 			  "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
21449 			  "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
21450 			  "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
21451 			  "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
21452 			  "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
21453 		.rlen	= 208,
21454 	}, { /* From draft-mcgrew-gcm-test-01 */
21455 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21456 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21457 			  "\x2E\x44\x3B\x68",
21458 		.klen	= 20,
21459 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
21460 		.input	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
21461 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
21462 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
21463 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
21464 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
21465 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
21466 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
21467 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
21468 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
21469 		.ilen	= 72,
21470 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
21471 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
21472 			  "\x3B\x24\x4C\xFE",
21473 		.alen	= 20,
21474 		.result	= "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
21475 			  "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
21476 			  "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
21477 			  "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
21478 			  "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
21479 			  "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
21480 			  "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
21481 			  "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
21482 			  "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
21483 			  "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
21484 			  "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
21485 		.rlen	= 88,
21486 	}, {
21487 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21488 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21489 			  "\xCA\xFE\xBA\xBE",
21490 		.klen	= 20,
21491 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21492 		.input	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
21493 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
21494 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
21495 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
21496 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
21497 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
21498 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
21499 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
21500 		.ilen	= 64,
21501 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21502 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21503 		.alen	= 16,
21504 		.result	= "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
21505 			  "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
21506 			  "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
21507 			  "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
21508 			  "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
21509 			  "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
21510 			  "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
21511 			  "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
21512 			  "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
21513 			  "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
21514 		.rlen	= 80,
21515 	}, {
21516 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21517 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21518 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21519 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21520 			  "\x11\x22\x33\x44",
21521 		.klen	= 36,
21522 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
21523 		.input	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
21524 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
21525 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
21526 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
21527 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
21528 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
21529 			  "\x01\x02\x02\x01",
21530 		.ilen	= 52,
21531 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
21532 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
21533 		.alen	= 16,
21534 		.result	= "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
21535 			  "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
21536 			  "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
21537 			  "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
21538 			  "\x74\x8A\x63\x79\x85\x77\x1D\x34"
21539 			  "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
21540 			  "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
21541 			  "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
21542 			  "\x15\x95\x6C\x96",
21543 		.rlen	= 68,
21544 	}, {
21545 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
21546 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
21547 			  "\x00\x00\x00\x00",
21548 		.klen	= 20,
21549 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
21550 		.input	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
21551 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
21552 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
21553 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
21554 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21555 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21556 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
21557 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
21558 		.ilen	= 64,
21559 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
21560 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
21561 		.alen	= 16,
21562 		.result	= "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
21563 			  "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
21564 			  "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
21565 			  "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
21566 			  "\x45\x64\x76\x49\x27\x19\xFF\xB6"
21567 			  "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
21568 			  "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
21569 			  "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
21570 			  "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
21571 			  "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
21572 		.rlen	= 80,
21573 	}, {
21574 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21575 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21576 			  "\x57\x69\x0E\x43",
21577 		.klen	= 20,
21578 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21579 		.input	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
21580 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
21581 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
21582 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
21583 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21584 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21585 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
21586 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
21587 		.ilen	= 64,
21588 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21589 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
21590 			  "\xA2\xFC\xA1\xA3",
21591 		.alen	= 20,
21592 		.result	= "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
21593 			  "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
21594 			  "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
21595 			  "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
21596 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21597 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21598 			  "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
21599 			  "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
21600 			  "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
21601 			  "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
21602 		.rlen	= 80,
21603 	}, {
21604 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21605 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21606 			  "\x57\x69\x0E\x43",
21607 		.klen	= 20,
21608 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21609 		.input	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
21610 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
21611 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
21612 			  "\x01\x02\x02\x01",
21613 		.ilen	= 28,
21614 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21615 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
21616 			  "\xA2\xFC\xA1\xA3",
21617 		.alen	= 20,
21618 		.result	= "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
21619 			  "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
21620 			  "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
21621 			  "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
21622 			  "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
21623 			  "\xE7\xD0\x5D\x35",
21624 		.rlen	= 44,
21625 	}, {
21626 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21627 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
21628 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
21629 			  "\xCA\xFE\xBA\xBE",
21630 		.klen	= 28,
21631 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21632 		.input	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
21633 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
21634 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
21635 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
21636 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
21637 		.ilen	= 40,
21638 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
21639 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
21640 		.alen	= 16,
21641 		.result	= "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
21642 			  "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
21643 			  "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
21644 			  "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
21645 			  "\x31\x5B\x27\x45\x21\x44\xCC\x77"
21646 			  "\x95\x45\x7B\x96\x52\x03\x7F\x53"
21647 			  "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
21648 		.rlen	= 56,
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	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
21656 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
21657 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21658 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
21659 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
21660 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
21661 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
21662 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
21663 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
21664 			  "\x23\x01\x01\x01",
21665 		.ilen	= 76,
21666 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
21667 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21668 			  "\xCE\xFA\xCE\x74",
21669 		.alen	= 20,
21670 		.result	= "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
21671 			  "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
21672 			  "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
21673 			  "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
21674 			  "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
21675 			  "\x84\xE6\x58\x63\x96\x5D\x74\x72"
21676 			  "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
21677 			  "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
21678 			  "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
21679 			  "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
21680 			  "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
21681 			  "\x69\x62\x34\x36",
21682 		.rlen	= 92,
21683 	}, {
21684 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21685 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21686 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21687 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21688 			  "\x73\x61\x6C\x74",
21689 		.klen	= 36,
21690 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
21691 		.input	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
21692 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
21693 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
21694 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
21695 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
21696 		.ilen	= 40,
21697 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21698 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21699 			  "\x69\x76\x65\x63",
21700 		.alen	= 20,
21701 		.result	= "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
21702 			  "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
21703 			  "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
21704 			  "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
21705 			  "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
21706 			  "\x45\x16\x26\xC2\x41\x57\x71\xE3"
21707 			  "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
21708 		.rlen	= 56,
21709 	}, {
21710 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21711 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21712 			  "\x57\x69\x0E\x43",
21713 		.klen	= 20,
21714 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21715 		.input	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
21716 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
21717 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
21718 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
21719 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
21720 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
21721 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
21722 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
21723 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
21724 			  "\x15\x01\x01\x01",
21725 		.ilen	= 76,
21726 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
21727 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
21728 			  "\xA2\xFC\xA1\xA3",
21729 		.alen	= 20,
21730 		.result	= "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
21731 			  "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
21732 			  "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
21733 			  "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
21734 			  "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
21735 			  "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
21736 			  "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
21737 			  "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
21738 			  "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
21739 			  "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
21740 			  "\x76\x91\x89\x60\x97\x63\xB8\xE1"
21741 			  "\x8C\xAA\x81\xE2",
21742 		.rlen	= 92,
21743 	}, {
21744 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21745 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21746 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21747 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21748 			  "\x73\x61\x6C\x74",
21749 		.klen	= 36,
21750 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
21751 		.input	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
21752 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
21753 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
21754 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
21755 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
21756 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
21757 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
21758 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
21759 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
21760 		.ilen	= 72,
21761 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
21762 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
21763 			  "\x69\x76\x65\x63",
21764 		.alen	= 20,
21765 		.result	= "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
21766 			  "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
21767 			  "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
21768 			  "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
21769 			  "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
21770 			  "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
21771 			  "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
21772 			  "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
21773 			  "\x12\xA4\x93\x63\x41\x23\x64\xF8"
21774 			  "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
21775 			  "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
21776 		.rlen	= 88,
21777 	}, {
21778 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
21779 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
21780 			  "\xD9\x66\x42\x67",
21781 		.klen	= 20,
21782 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21783 		.input	= "\x01\x02\x02\x01",
21784 		.ilen	= 4,
21785 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
21786 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
21787 		.alen	= 16,
21788 		.result	= "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
21789 			  "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
21790 			  "\x04\xBE\xF2\x70",
21791 		.rlen	= 20,
21792 	}, {
21793 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
21794 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
21795 			  "\xDE\xCA\xF8\x88",
21796 		.klen	= 20,
21797 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
21798 		.input	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
21799 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
21800 			  "\x62\x65\x00\x01",
21801 		.ilen	= 20,
21802 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
21803 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
21804 			  "\xCE\xFA\xCE\x74",
21805 		.alen	= 20,
21806 		.result	= "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
21807 			  "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
21808 			  "\x43\x33\x21\x64\x41\x25\x03\x52"
21809 			  "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
21810 			  "\x43\xAF\x8C\x3E",
21811 		.rlen	= 36,
21812 	}, {
21813 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
21814 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
21815 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
21816 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
21817 			  "\x74\x75\x72\x6E",
21818 		.klen	= 36,
21819 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
21820 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21821 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21822 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21823 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
21824 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21825 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21826 			  "\x01\x02\x02\x01",
21827 		.ilen	= 52,
21828 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
21829 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
21830 			  "\x67\x65\x74\x6D",
21831 		.alen	= 20,
21832 		.result	= "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
21833 			  "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
21834 			  "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
21835 			  "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
21836 			  "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
21837 			  "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
21838 			  "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
21839 			  "\x94\x5F\x66\x93\x68\x66\x1A\x32"
21840 			  "\x9F\xB4\xC0\x53",
21841 		.rlen	= 68,
21842 	}, {
21843 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
21844 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
21845 			  "\x57\x69\x0E\x43",
21846 		.klen	= 20,
21847 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
21848 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
21849 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
21850 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
21851 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
21852 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
21853 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
21854 			  "\x01\x02\x02\x01",
21855 		.ilen	= 52,
21856 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
21857 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
21858 			  "\xA2\xFC\xA1\xA3",
21859 		.alen	= 20,
21860 		.result	= "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
21861 			  "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
21862 			  "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
21863 			  "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
21864 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
21865 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
21866 			  "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
21867 			  "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
21868 			  "\x40\xD7\xCB\x05",
21869 		.rlen	= 68,
21870 	}, {
21871 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
21872 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
21873 			  "\x22\x43\x3C\x64",
21874 		.klen	= 20,
21875 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
21876 		.input	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
21877 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
21878 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
21879 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
21880 		.ilen	= 32,
21881 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
21882 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
21883 			  "\x3A\x23\x4B\xFD",
21884 		.alen	= 20,
21885 		.result	= "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
21886 			  "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
21887 			  "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
21888 			  "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
21889 			  "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
21890 			  "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
21891 		.rlen	= 48,
21892 	}
21893 };
21894 
21895 static const struct aead_testvec aes_gcm_rfc4106_dec_tv_template[] = {
21896 	{ /* Generated using Crypto++ */
21897 		.key    = zeroed_string,
21898 		.klen	= 20,
21899 		.iv     = zeroed_string,
21900 		.input	= "\x03\x88\xDA\xCE\x60\xB6\xA3\x92"
21901 			  "\xF3\x28\xC2\xB9\x71\xB2\xFE\x78"
21902 			  "\x97\xFE\x4C\x23\x37\x42\x01\xE0"
21903 			  "\x81\x9F\x8D\xC5\xD7\x41\xA0\x1B",
21904 		.ilen	= 32,
21905 		.assoc  = zeroed_string,
21906 		.alen   = 16,
21907 		.result = zeroed_string,
21908 		.rlen   = 16,
21909 
21910 	},{
21911 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21912 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21913 			  "\x00\x00\x00\x00",
21914 		.klen	= 20,
21915 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21916 		.input	= "\xC0\x0D\x8B\x42\x0F\x8F\x34\x18"
21917 			  "\x88\xB1\xC5\xBC\xC5\xB6\xD6\x28"
21918 			  "\x6A\x9D\xDF\x11\x5E\xFE\x5E\x9D"
21919 			  "\x2F\x70\x44\x92\xF7\xF2\xE3\xEF",
21920 		.ilen	= 32,
21921 		.assoc  = "\x00\x00\x00\x00\x00\x00\x00\x00"
21922 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21923 		.alen   = 16,
21924 		.result = zeroed_string,
21925 		.rlen   = 16,
21926 	}, {
21927 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21928 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21929 			  "\x00\x00\x00\x00",
21930 		.klen	= 20,
21931 		.iv     = zeroed_string,
21932 		.input	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21933 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21934 			  "\x0B\x8F\x88\x69\x17\xE6\xB4\x3C"
21935 			  "\xB1\x68\xFD\x14\x52\x64\x61\xB2",
21936 		.ilen	= 32,
21937 		.assoc  = zeroed_string,
21938 		.alen   = 16,
21939 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21940 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21941 		.rlen   = 16,
21942 	}, {
21943 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21944 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21945 			  "\x00\x00\x00\x00",
21946 		.klen	= 20,
21947 		.iv     = zeroed_string,
21948 		.input	= "\x4B\xB1\xB5\xE3\x25\x71\x70\xDE"
21949 			  "\x7F\xC9\x9C\xA5\x14\x19\xF2\xAC"
21950 			  "\x90\x92\xB7\xE3\x5F\xA3\x9A\x63"
21951 			  "\x7E\xD7\x1F\xD8\xD3\x7C\x4B\xF5",
21952 		.ilen	= 32,
21953 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21954 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
21955 		.alen   = 16,
21956 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21957 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21958 		.rlen   = 16,
21959 
21960 	}, {
21961 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21962 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21963 			  "\x00\x00\x00\x00",
21964 		.klen	= 20,
21965 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21966 		.input	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21967 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21968 			  "\x64\x50\xF9\x32\x13\xFB\x74\x61"
21969 			  "\xF4\xED\x52\xD3\xC5\x10\x55\x3C",
21970 		.ilen	= 32,
21971 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21972 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21973 		.alen   = 16,
21974 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21975 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
21976 		.rlen   = 16,
21977 	}, {
21978 		.key    = "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
21979 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
21980 			  "\x00\x00\x00\x00",
21981 		.klen	= 20,
21982 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x01",
21983 		.input	= "\xC1\x0C\x8A\x43\x0E\x8E\x35\x19"
21984 			  "\x89\xB0\xC4\xBD\xC4\xB7\xD7\x29"
21985 			  "\x98\x14\xA1\x42\x37\x80\xFD\x90"
21986 			  "\x68\x12\x01\xA8\x91\x89\xB9\x83"
21987 			  "\x5B\x11\x77\x12\x9B\xFF\x24\x89"
21988 			  "\x94\x5F\x18\x12\xBA\x27\x09\x39"
21989 			  "\x99\x96\x76\x42\x15\x1C\xCD\xCB"
21990 			  "\xDC\xD3\xDA\x65\x73\xAF\x80\xCD"
21991 			  "\xD2\xB6\xC2\x4A\x76\xC2\x92\x85"
21992 			  "\xBD\xCF\x62\x98\x58\x14\xE5\xBD",
21993 		.ilen	= 80,
21994 		.assoc  = "\x01\x01\x01\x01\x01\x01\x01\x01"
21995 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
21996 		.alen   = 16,
21997 		.result = "\x01\x01\x01\x01\x01\x01\x01\x01"
21998 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
21999 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
22000 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
22001 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
22002 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
22003 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
22004 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
22005 		.rlen   = 64,
22006 	}, {
22007 		.key    = "\x00\x01\x02\x03\x04\x05\x06\x07"
22008 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22009 			  "\x00\x00\x00\x00",
22010 		.klen	= 20,
22011 		.iv     = "\x00\x00\x45\x67\x89\xab\xcd\xef",
22012 		.input	= "\xC1\x76\x33\x85\xE2\x9B\x5F\xDE"
22013 			  "\xDE\x89\x3D\x42\xE7\xC9\x69\x8A"
22014 			  "\x44\x6D\xC3\x88\x46\x2E\xC2\x01"
22015 			  "\x5E\xF6\x0C\x39\xF0\xC4\xA5\x82"
22016 			  "\xCD\xE8\x31\xCC\x0A\x4C\xE4\x44"
22017 			  "\x41\xA9\x82\x6F\x22\xA1\x23\x1A"
22018 			  "\xA8\xE3\x16\xFD\x31\x5C\x27\x31"
22019 			  "\xF1\x7F\x01\x63\xA3\xAF\x70\xA1"
22020 			  "\xCF\x07\x57\x41\x67\xD0\xC4\x42"
22021 			  "\xDB\x18\xC6\x4C\x4C\xE0\x3D\x9F"
22022 			  "\x05\x07\xFB\x13\x7D\x4A\xCA\x5B"
22023 			  "\xF0\xBF\x64\x7E\x05\xB1\x72\xEE"
22024 			  "\x7C\x3B\xD4\xCD\x14\x03\xB2\x2C"
22025 			  "\xD3\xA9\xEE\xFA\x17\xFC\x9C\xDF"
22026 			  "\xC7\x75\x40\xFF\xAE\xAD\x1E\x59"
22027 			  "\x2F\x30\x24\xFB\xAD\x6B\x10\xFA"
22028 			  "\x6C\x9F\x5B\xE7\x25\xD5\xD0\x25"
22029 			  "\xAC\x4A\x4B\xDA\xFC\x7A\x85\x1B"
22030 			  "\x7E\x13\x06\x82\x08\x17\xA4\x35"
22031 			  "\xEC\xC5\x8D\x63\x96\x81\x0A\x8F"
22032 			  "\xA3\x05\x38\x95\x20\x1A\x47\x04"
22033 			  "\x6F\x6D\xDA\x8F\xEF\xC1\x76\x35"
22034 			  "\x6B\xC7\x4D\x0F\x94\x12\xCA\x3E"
22035 			  "\x2E\xD5\x03\x2E\x86\x7E\xAA\x3B"
22036 			  "\x37\x08\x1C\xCF\xBA\x5D\x71\x46"
22037 			  "\x80\x72\xB0\x4C\x82\x0D\x60\x3C",
22038 		.ilen	= 208,
22039 		.assoc  = "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
22040 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
22041 			  "\x89\xab\xcd\xef",
22042 		.alen   = 20,
22043 		.result = "\xff\xff\xff\xff\xff\xff\xff\xff"
22044 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22045 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22046 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22047 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22048 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22049 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22050 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22051 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22052 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22053 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22054 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22055 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22056 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22057 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22058 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22059 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22060 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22061 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22062 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22063 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22064 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22065 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
22066 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
22067 		.rlen   = 192,
22068 	}, {
22069 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22070 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22071 			  "\x2E\x44\x3B\x68",
22072 		.klen	= 20,
22073 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
22074 		.result	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
22075 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
22076 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
22077 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
22078 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
22079 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
22080 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
22081 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
22082 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
22083 		.rlen	= 72,
22084 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
22085 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
22086 			  "\x3B\x24\x4C\xFE",
22087 		.alen	= 20,
22088 		.input	= "\xFE\xCF\x53\x7E\x72\x9D\x5B\x07"
22089 			  "\xDC\x30\xDF\x52\x8D\xD2\x2B\x76"
22090 			  "\x8D\x1B\x98\x73\x66\x96\xA6\xFD"
22091 			  "\x34\x85\x09\xFA\x13\xCE\xAC\x34"
22092 			  "\xCF\xA2\x43\x6F\x14\xA3\xF3\xCF"
22093 			  "\x65\x92\x5B\xF1\xF4\xA1\x3C\x5D"
22094 			  "\x15\xB2\x1E\x18\x84\xF5\xFF\x62"
22095 			  "\x47\xAE\xAB\xB7\x86\xB9\x3B\xCE"
22096 			  "\x61\xBC\x17\xD7\x68\xFD\x97\x32"
22097 			  "\x45\x90\x18\x14\x8F\x6C\xBE\x72"
22098 			  "\x2F\xD0\x47\x96\x56\x2D\xFD\xB4",
22099 		.ilen	= 88,
22100 	}, {
22101 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22102 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22103 			  "\xCA\xFE\xBA\xBE",
22104 		.klen	= 20,
22105 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22106 		.result	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
22107 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
22108 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
22109 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
22110 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
22111 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
22112 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
22113 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
22114 		.rlen	= 64,
22115 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22116 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22117 		.alen	= 16,
22118 		.input	= "\xDE\xB2\x2C\xD9\xB0\x7C\x72\xC1"
22119 			  "\x6E\x3A\x65\xBE\xEB\x8D\xF3\x04"
22120 			  "\xA5\xA5\x89\x7D\x33\xAE\x53\x0F"
22121 			  "\x1B\xA7\x6D\x5D\x11\x4D\x2A\x5C"
22122 			  "\x3D\xE8\x18\x27\xC1\x0E\x9A\x4F"
22123 			  "\x51\x33\x0D\x0E\xEC\x41\x66\x42"
22124 			  "\xCF\xBB\x85\xA5\xB4\x7E\x48\xA4"
22125 			  "\xEC\x3B\x9B\xA9\x5D\x91\x8B\xD1"
22126 			  "\x83\xB7\x0D\x3A\xA8\xBC\x6E\xE4"
22127 			  "\xC3\x09\xE9\xD8\x5A\x41\xAD\x4A",
22128 		.ilen	= 80,
22129 	}, {
22130 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22131 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22132 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22133 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22134 			  "\x11\x22\x33\x44",
22135 		.klen	= 36,
22136 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
22137 		.result	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
22138 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
22139 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
22140 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
22141 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
22142 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
22143 			  "\x01\x02\x02\x01",
22144 		.rlen	= 52,
22145 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
22146 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
22147 		.alen	= 16,
22148 		.input	= "\xFF\x42\x5C\x9B\x72\x45\x99\xDF"
22149 			  "\x7A\x3B\xCD\x51\x01\x94\xE0\x0D"
22150 			  "\x6A\x78\x10\x7F\x1B\x0B\x1C\xBF"
22151 			  "\x06\xEF\xAE\x9D\x65\xA5\xD7\x63"
22152 			  "\x74\x8A\x63\x79\x85\x77\x1D\x34"
22153 			  "\x7F\x05\x45\x65\x9F\x14\xE9\x9D"
22154 			  "\xEF\x84\x2D\x8E\xB3\x35\xF4\xEE"
22155 			  "\xCF\xDB\xF8\x31\x82\x4B\x4C\x49"
22156 			  "\x15\x95\x6C\x96",
22157 		.ilen	= 68,
22158 	}, {
22159 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
22160 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
22161 			  "\x00\x00\x00\x00",
22162 		.klen	= 20,
22163 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
22164 		.result	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
22165 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
22166 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
22167 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
22168 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22169 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22170 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
22171 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
22172 		.rlen	= 64,
22173 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
22174 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22175 		.alen	= 16,
22176 		.input	= "\x46\x88\xDA\xF2\xF9\x73\xA3\x92"
22177 			  "\x73\x29\x09\xC3\x31\xD5\x6D\x60"
22178 			  "\xF6\x94\xAB\xAA\x41\x4B\x5E\x7F"
22179 			  "\xF5\xFD\xCD\xFF\xF5\xE9\xA2\x84"
22180 			  "\x45\x64\x76\x49\x27\x19\xFF\xB6"
22181 			  "\x4D\xE7\xD9\xDC\xA1\xE1\xD8\x94"
22182 			  "\xBC\x3B\xD5\x78\x73\xED\x4D\x18"
22183 			  "\x1D\x19\xD4\xD5\xC8\xC1\x8A\xF3"
22184 			  "\xF8\x21\xD4\x96\xEE\xB0\x96\xE9"
22185 			  "\x8A\xD2\xB6\x9E\x47\x99\xC7\x1D",
22186 		.ilen	= 80,
22187 	}, {
22188 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22189 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22190 			  "\x57\x69\x0E\x43",
22191 		.klen	= 20,
22192 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22193 		.result	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
22194 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
22195 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
22196 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
22197 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22198 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22199 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
22200 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
22201 		.rlen	= 64,
22202 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22203 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22204 			  "\xA2\xFC\xA1\xA3",
22205 		.alen	= 20,
22206 		.input	= "\xFB\xA2\xCA\xA4\x85\x3C\xF9\xF0"
22207 			  "\xF2\x2C\xB1\x0D\x86\xDD\x83\xB0"
22208 			  "\xFE\xC7\x56\x91\xCF\x1A\x04\xB0"
22209 			  "\x0D\x11\x38\xEC\x9C\x35\x79\x17"
22210 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22211 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22212 			  "\x17\x55\xE6\x66\x2B\x4C\x8D\x0D"
22213 			  "\x1F\x5E\x22\x73\x95\x30\x32\x0A"
22214 			  "\xE0\xD7\x31\xCC\x97\x8E\xCA\xFA"
22215 			  "\xEA\xE8\x8F\x00\xE8\x0D\x6E\x48",
22216 		.ilen	= 80,
22217 	}, {
22218 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22219 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22220 			  "\x57\x69\x0E\x43",
22221 		.klen	= 20,
22222 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22223 		.result	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
22224 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
22225 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
22226 			  "\x01\x02\x02\x01",
22227 		.rlen	= 28,
22228 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22229 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22230 			  "\xA2\xFC\xA1\xA3",
22231 		.alen	= 20,
22232 		.input	= "\xFB\xA2\xCA\x84\x5E\x5D\xF9\xF0"
22233 			  "\xF2\x2C\x3E\x6E\x86\xDD\x83\x1E"
22234 			  "\x1F\xC6\x57\x92\xCD\x1A\xF9\x13"
22235 			  "\x0E\x13\x79\xED\x36\x9F\x07\x1F"
22236 			  "\x35\xE0\x34\xBE\x95\xF1\x12\xE4"
22237 			  "\xE7\xD0\x5D\x35",
22238 		.ilen	= 44,
22239 	}, {
22240 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22241 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
22242 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
22243 			  "\xCA\xFE\xBA\xBE",
22244 		.klen	= 28,
22245 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22246 		.result	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
22247 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
22248 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
22249 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
22250 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
22251 		.rlen	= 40,
22252 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
22253 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
22254 		.alen	= 16,
22255 		.input	= "\xA5\xB1\xF8\x06\x60\x29\xAE\xA4"
22256 			  "\x0E\x59\x8B\x81\x22\xDE\x02\x42"
22257 			  "\x09\x38\xB3\xAB\x33\xF8\x28\xE6"
22258 			  "\x87\xB8\x85\x8B\x5B\xFB\xDB\xD0"
22259 			  "\x31\x5B\x27\x45\x21\x44\xCC\x77"
22260 			  "\x95\x45\x7B\x96\x52\x03\x7F\x53"
22261 			  "\x18\x02\x7B\x5B\x4C\xD7\xA6\x36",
22262 		.ilen	= 56,
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	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
22270 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
22271 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22272 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
22273 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
22274 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
22275 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
22276 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
22277 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
22278 			  "\x23\x01\x01\x01",
22279 		.rlen	= 76,
22280 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
22281 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22282 			  "\xCE\xFA\xCE\x74",
22283 		.alen	= 20,
22284 		.input	= "\x18\xA6\xFD\x42\xF7\x2C\xBF\x4A"
22285 			  "\xB2\xA2\xEA\x90\x1F\x73\xD8\x14"
22286 			  "\xE3\xE7\xF2\x43\xD9\x54\x12\xE1"
22287 			  "\xC3\x49\xC1\xD2\xFB\xEC\x16\x8F"
22288 			  "\x91\x90\xFE\xEB\xAF\x2C\xB0\x19"
22289 			  "\x84\xE6\x58\x63\x96\x5D\x74\x72"
22290 			  "\xB7\x9D\xA3\x45\xE0\xE7\x80\x19"
22291 			  "\x1F\x0D\x2F\x0E\x0F\x49\x6C\x22"
22292 			  "\x6F\x21\x27\xB2\x7D\xB3\x57\x24"
22293 			  "\xE7\x84\x5D\x68\x65\x1F\x57\xE6"
22294 			  "\x5F\x35\x4F\x75\xFF\x17\x01\x57"
22295 			  "\x69\x62\x34\x36",
22296 		.ilen	= 92,
22297 	}, {
22298 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22299 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22300 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22301 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22302 			  "\x73\x61\x6C\x74",
22303 		.klen	= 36,
22304 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
22305 		.result	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
22306 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
22307 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
22308 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
22309 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
22310 		.rlen	= 40,
22311 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22312 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22313 			  "\x69\x76\x65\x63",
22314 		.alen	= 20,
22315 		.input	= "\xF2\xD6\x9E\xCD\xBD\x5A\x0D\x5B"
22316 			  "\x8D\x5E\xF3\x8B\xAD\x4D\xA5\x8D"
22317 			  "\x1F\x27\x8F\xDE\x98\xEF\x67\x54"
22318 			  "\x9D\x52\x4A\x30\x18\xD9\xA5\x7F"
22319 			  "\xF4\xD3\xA3\x1C\xE6\x73\x11\x9E"
22320 			  "\x45\x16\x26\xC2\x41\x57\x71\xE3"
22321 			  "\xB7\xEE\xBC\xA6\x14\xC8\x9B\x35",
22322 		.ilen	= 56,
22323 	}, {
22324 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22325 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22326 			  "\x57\x69\x0E\x43",
22327 		.klen	= 20,
22328 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22329 		.result	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
22330 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
22331 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
22332 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
22333 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
22334 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
22335 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
22336 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
22337 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
22338 			  "\x15\x01\x01\x01",
22339 		.rlen	= 76,
22340 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
22341 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22342 			  "\xA2\xFC\xA1\xA3",
22343 		.alen	= 20,
22344 		.input	= "\xFB\xA2\xCA\xD1\x2F\xC1\xF9\xF0"
22345 			  "\x0D\x3C\xEB\xF3\x05\x41\x0D\xB8"
22346 			  "\x3D\x77\x84\xB6\x07\x32\x3D\x22"
22347 			  "\x0F\x24\xB0\xA9\x7D\x54\x18\x28"
22348 			  "\x00\xCA\xDB\x0F\x68\xD9\x9E\xF0"
22349 			  "\xE0\xC0\xC8\x9A\xE9\xBE\xA8\x88"
22350 			  "\x4E\x52\xD6\x5B\xC1\xAF\xD0\x74"
22351 			  "\x0F\x74\x24\x44\x74\x7B\x5B\x39"
22352 			  "\xAB\x53\x31\x63\xAA\xD4\x55\x0E"
22353 			  "\xE5\x16\x09\x75\xCD\xB6\x08\xC5"
22354 			  "\x76\x91\x89\x60\x97\x63\xB8\xE1"
22355 			  "\x8C\xAA\x81\xE2",
22356 		.ilen	= 92,
22357 	}, {
22358 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22359 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22360 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22361 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22362 			  "\x73\x61\x6C\x74",
22363 		.klen	= 36,
22364 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
22365 		.result	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
22366 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
22367 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
22368 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
22369 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
22370 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
22371 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
22372 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
22373 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
22374 		.rlen	= 72,
22375 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
22376 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
22377 			  "\x69\x76\x65\x63",
22378 		.alen	= 20,
22379 		.input	= "\xD4\xB7\xED\x86\xA1\x77\x7F\x2E"
22380 			  "\xA1\x3D\x69\x73\xD3\x24\xC6\x9E"
22381 			  "\x7B\x43\xF8\x26\xFB\x56\x83\x12"
22382 			  "\x26\x50\x8B\xEB\xD2\xDC\xEB\x18"
22383 			  "\xD0\xA6\xDF\x10\xE5\x48\x7D\xF0"
22384 			  "\x74\x11\x3E\x14\xC6\x41\x02\x4E"
22385 			  "\x3E\x67\x73\xD9\x1A\x62\xEE\x42"
22386 			  "\x9B\x04\x3A\x10\xE3\xEF\xE6\xB0"
22387 			  "\x12\xA4\x93\x63\x41\x23\x64\xF8"
22388 			  "\xC0\xCA\xC5\x87\xF2\x49\xE5\x6B"
22389 			  "\x11\xE2\x4F\x30\xE4\x4C\xCC\x76",
22390 		.ilen	= 88,
22391 	}, {
22392 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
22393 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
22394 			  "\xD9\x66\x42\x67",
22395 		.klen	= 20,
22396 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22397 		.result	= "\x01\x02\x02\x01",
22398 		.rlen	= 4,
22399 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
22400 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
22401 		.alen	= 16,
22402 		.input	= "\x43\x7F\x86\x6B\xCB\x3F\x69\x9F"
22403 			  "\xE9\xB0\x82\x2B\xAC\x96\x1C\x45"
22404 			  "\x04\xBE\xF2\x70",
22405 		.ilen	= 20,
22406 	}, {
22407 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
22408 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
22409 			  "\xDE\xCA\xF8\x88",
22410 		.klen	= 20,
22411 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
22412 		.result	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
22413 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
22414 			  "\x62\x65\x00\x01",
22415 		.rlen	= 20,
22416 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
22417 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
22418 			  "\xCE\xFA\xCE\x74",
22419 		.alen	= 20,
22420 		.input	= "\x29\xC9\xFC\x69\xA1\x97\xD0\x38"
22421 			  "\xCC\xDD\x14\xE2\xDD\xFC\xAA\x05"
22422 			  "\x43\x33\x21\x64\x41\x25\x03\x52"
22423 			  "\x43\x03\xED\x3C\x6C\x5F\x28\x38"
22424 			  "\x43\xAF\x8C\x3E",
22425 		.ilen	= 36,
22426 	}, {
22427 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
22428 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
22429 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
22430 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
22431 			  "\x74\x75\x72\x6E",
22432 		.klen	= 36,
22433 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
22434 		.result	= "\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",
22441 		.rlen	= 52,
22442 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
22443 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
22444 			  "\x67\x65\x74\x6D",
22445 		.alen	= 20,
22446 		.input	= "\xF9\x7A\xB2\xAA\x35\x6D\x8E\xDC"
22447 			  "\xE1\x76\x44\xAC\x8C\x78\xE2\x5D"
22448 			  "\xD2\x4D\xED\xBB\x29\xEB\xF1\xB6"
22449 			  "\x4A\x27\x4B\x39\xB4\x9C\x3A\x86"
22450 			  "\x4C\xD3\xD7\x8C\xA4\xAE\x68\xA3"
22451 			  "\x2B\x42\x45\x8F\xB5\x7D\xBE\x82"
22452 			  "\x1D\xCC\x63\xB9\xD0\x93\x7B\xA2"
22453 			  "\x94\x5F\x66\x93\x68\x66\x1A\x32"
22454 			  "\x9F\xB4\xC0\x53",
22455 		.ilen	= 68,
22456 	}, {
22457 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
22458 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
22459 			  "\x57\x69\x0E\x43",
22460 		.klen	= 20,
22461 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
22462 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
22463 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
22464 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
22465 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22466 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
22467 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
22468 			  "\x01\x02\x02\x01",
22469 		.rlen	= 52,
22470 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
22471 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
22472 			  "\xA2\xFC\xA1\xA3",
22473 		.alen	= 20,
22474 		.input	= "\xFB\xA2\xCA\xA8\xC6\xC5\xF9\xF0"
22475 			  "\xF2\x2C\xA5\x4A\x06\x12\x10\xAD"
22476 			  "\x3F\x6E\x57\x91\xCF\x1A\xCA\x21"
22477 			  "\x0D\x11\x7C\xEC\x9C\x35\x79\x17"
22478 			  "\x65\xAC\xBD\x87\x01\xAD\x79\x84"
22479 			  "\x5B\xF9\xFE\x3F\xBA\x48\x7B\xC9"
22480 			  "\x63\x21\x93\x06\x84\xEE\xCA\xDB"
22481 			  "\x56\x91\x25\x46\xE7\xA9\x5C\x97"
22482 			  "\x40\xD7\xCB\x05",
22483 		.ilen	= 68,
22484 	}, {
22485 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
22486 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
22487 			  "\x22\x43\x3C\x64",
22488 		.klen	= 20,
22489 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
22490 		.result	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
22491 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
22492 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
22493 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
22494 		.rlen	= 32,
22495 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
22496 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
22497 			  "\x3A\x23\x4B\xFD",
22498 		.alen	= 20,
22499 		.input	= "\x74\x75\x2E\x8A\xEB\x5D\x87\x3C"
22500 			  "\xD7\xC0\xF4\xAC\xC3\x6C\x4B\xFF"
22501 			  "\x84\xB7\xD7\xB9\x8F\x0C\xA8\xB6"
22502 			  "\xAC\xDA\x68\x94\xBC\x61\x90\x69"
22503 			  "\xEF\x9C\xBC\x28\xFE\x1B\x56\xA7"
22504 			  "\xC4\xE0\xD5\x8C\x86\xCD\x2B\xC0",
22505 		.ilen	= 48,
22506 	}
22507 };
22508 
22509 static const struct aead_testvec aes_gcm_rfc4543_enc_tv_template[] = {
22510 	{ /* From draft-mcgrew-gcm-test-01 */
22511 		.key	= "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22512 			  "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22513 			  "\x22\x43\x3c\x64",
22514 		.klen	= 20,
22515 		.iv	= zeroed_string,
22516 		.assoc	= "\x00\x00\x43\x21\x00\x00\x00\x07"
22517 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22518 		.alen	= 16,
22519 		.input	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22520 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22521 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22522 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22523 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22524 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22525 			  "\x01\x02\x02\x01",
22526 		.ilen	= 52,
22527 		.result	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22528 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22529 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22530 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22531 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22532 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22533 			  "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22534 			  "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22535 			  "\xe4\x09\x9a\xaa",
22536 		.rlen	= 68,
22537 	}
22538 };
22539 
22540 static const struct aead_testvec aes_gcm_rfc4543_dec_tv_template[] = {
22541 	{ /* From draft-mcgrew-gcm-test-01 */
22542 		.key	= "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22543 			  "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22544 			  "\x22\x43\x3c\x64",
22545 		.klen	= 20,
22546 		.iv	= zeroed_string,
22547 		.assoc	= "\x00\x00\x43\x21\x00\x00\x00\x07"
22548 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22549 		.alen	= 16,
22550 		.input	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22551 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22552 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22553 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22554 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22555 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22556 			  "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22557 			  "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22558 			  "\xe4\x09\x9a\xaa",
22559 		.ilen	= 68,
22560 		.result	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22561 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22562 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22563 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22564 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22565 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22566 			  "\x01\x02\x02\x01",
22567 		.rlen	= 52,
22568 	}, { /* nearly same as previous, but should fail */
22569 		.key	= "\x4c\x80\xcd\xef\xbb\x5d\x10\xda"
22570 			  "\x90\x6a\xc7\x3c\x36\x13\xa6\x34"
22571 			  "\x22\x43\x3c\x64",
22572 		.klen	= 20,
22573 		.iv	= zeroed_string,
22574 		.assoc	= "\x00\x00\x43\x21\x00\x00\x00\x07"
22575 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
22576 		.alen	= 16,
22577 		.input	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22578 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22579 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22580 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22581 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22582 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22583 			  "\x01\x02\x02\x01\xf2\xa9\xa8\x36"
22584 			  "\xe1\x55\x10\x6a\xa8\xdc\xd6\x18"
22585 			  "\x00\x00\x00\x00",
22586 		.ilen	= 68,
22587 		.novrfy = 1,
22588 		.result	= "\x45\x00\x00\x30\xda\x3a\x00\x00"
22589 			  "\x80\x01\xdf\x3b\xc0\xa8\x00\x05"
22590 			  "\xc0\xa8\x00\x01\x08\x00\xc6\xcd"
22591 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
22592 			  "\x65\x66\x67\x68\x69\x6a\x6b\x6c"
22593 			  "\x6d\x6e\x6f\x70\x71\x72\x73\x74"
22594 			  "\x01\x02\x02\x01",
22595 		.rlen	= 52,
22596 	},
22597 };
22598 
22599 static const struct aead_testvec aes_ccm_enc_tv_template[] = {
22600 	{ /* From RFC 3610 */
22601 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22602 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22603 		.klen	= 16,
22604 		.iv	= "\x01\x00\x00\x00\x03\x02\x01\x00"
22605 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22606 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
22607 		.alen	= 8,
22608 		.input	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22609 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
22610 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e",
22611 		.ilen	= 23,
22612 		.result	= "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
22613 			  "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
22614 			  "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
22615 			  "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
22616 		.rlen	= 31,
22617 	}, {
22618 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22619 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22620 		.klen	= 16,
22621 		.iv	= "\x01\x00\x00\x00\x07\x06\x05\x04"
22622 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22623 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
22624 			  "\x08\x09\x0a\x0b",
22625 		.alen	= 12,
22626 		.input	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22627 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22628 			  "\x1c\x1d\x1e\x1f",
22629 		.ilen	= 20,
22630 		.result	= "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
22631 			  "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
22632 			  "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
22633 			  "\x7d\x9c\x2d\x93",
22634 		.rlen	= 28,
22635 	}, {
22636 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22637 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22638 		.klen	= 16,
22639 		.iv	= "\x01\x00\x00\x00\x0b\x0a\x09\x08"
22640 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22641 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
22642 		.alen	= 8,
22643 		.input	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22644 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
22645 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
22646 			  "\x20",
22647 		.ilen	= 25,
22648 		.result	= "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
22649 			  "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
22650 			  "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
22651 			  "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
22652 			  "\x7e\x5f\x4e",
22653 		.rlen	= 35,
22654 	}, {
22655 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22656 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22657 		.klen	= 16,
22658 		.iv	= "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
22659 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22660 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
22661 			  "\x08\x09\x0a\x0b",
22662 		.alen	= 12,
22663 		.input	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22664 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22665 			  "\x1c\x1d\x1e",
22666 		.ilen	= 19,
22667 		.result	= "\x07\x34\x25\x94\x15\x77\x85\x15"
22668 			  "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
22669 			  "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
22670 			  "\x4d\x99\x99\x88\xdd",
22671 		.rlen	= 29,
22672 	}, {
22673 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22674 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22675 		.klen	= 16,
22676 		.iv	= "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
22677 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22678 		.assoc	= "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
22679 		.alen	= 8,
22680 		.input	= "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
22681 			  "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
22682 			  "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
22683 		.ilen	= 24,
22684 		.result	= "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
22685 			  "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
22686 			  "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
22687 			  "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
22688 		.rlen	= 32,
22689 	}, {
22690 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22691 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22692 		.klen	= 16,
22693 		.iv	= "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
22694 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22695 		.assoc	= "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
22696 			  "\x20\xea\x60\xc0",
22697 		.alen	= 12,
22698 		.input	= "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
22699 			  "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
22700 			  "\x3a\x80\x3b\xa8\x7f",
22701 		.ilen	= 21,
22702 		.result	= "\x00\x97\x69\xec\xab\xdf\x48\x62"
22703 			  "\x55\x94\xc5\x92\x51\xe6\x03\x57"
22704 			  "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
22705 			  "\x5a\xe0\x70\x45\x51",
22706 		.rlen	= 29,
22707 	}, {
22708 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22709 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22710 		.klen	= 16,
22711 		.iv	= "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
22712 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22713 		.assoc	= "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
22714 		.alen	= 8,
22715 		.input	= "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
22716 			  "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
22717 			  "\x98\x09\xd6\x7d\xbe\xdd\x18",
22718 		.ilen	= 23,
22719 		.result	= "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
22720 			  "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
22721 			  "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
22722 			  "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
22723 			  "\xba",
22724 		.rlen	= 33,
22725 	}, {
22726 		/* This is taken from FIPS CAVS. */
22727 		.key	= "\x83\xac\x54\x66\xc2\xeb\xe5\x05"
22728 			  "\x2e\x01\xd1\xfc\x5d\x82\x66\x2e",
22729 		.klen	= 16,
22730 		.iv	= "\x03\x96\xac\x59\x30\x07\xa1\xe2\xa2\xc7\x55\x24\0\0\0\0",
22731 		.alen	= 0,
22732 		.input	= "\x19\xc8\x81\xf6\xe9\x86\xff\x93"
22733 			  "\x0b\x78\x67\xe5\xbb\xb7\xfc\x6e"
22734 			  "\x83\x77\xb3\xa6\x0c\x8c\x9f\x9c"
22735 			  "\x35\x2e\xad\xe0\x62\xf9\x91\xa1",
22736 		.ilen	= 32,
22737 		.result	= "\xab\x6f\xe1\x69\x1d\x19\x99\xa8"
22738 			  "\x92\xa0\xc4\x6f\x7e\xe2\x8b\xb1"
22739 			  "\x70\xbb\x8c\xa6\x4c\x6e\x97\x8a"
22740 			  "\x57\x2b\xbe\x5d\x98\xa6\xb1\x32"
22741 			  "\xda\x24\xea\xd9\xa1\x39\x98\xfd"
22742 			  "\xa4\xbe\xd9\xf2\x1a\x6d\x22\xa8",
22743 		.rlen	= 48,
22744 	}, {
22745 		.key	= "\x1e\x2c\x7e\x01\x41\x9a\xef\xc0"
22746 			  "\x0d\x58\x96\x6e\x5c\xa2\x4b\xd3",
22747 		.klen	= 16,
22748 		.iv	= "\x03\x4f\xa3\x19\xd3\x01\x5a\xd8"
22749 			  "\x30\x60\x15\x56\x00\x00\x00\x00",
22750 		.assoc	= "\xda\xe6\x28\x9c\x45\x2d\xfd\x63"
22751 			  "\x5e\xda\x4c\xb6\xe6\xfc\xf9\xb7"
22752 			  "\x0c\x56\xcb\xe4\xe0\x05\x7a\xe1"
22753 			  "\x0a\x63\x09\x78\xbc\x2c\x55\xde",
22754 		.alen	= 32,
22755 		.input	= "\x87\xa3\x36\xfd\x96\xb3\x93\x78"
22756 			  "\xa9\x28\x63\xba\x12\xa3\x14\x85"
22757 			  "\x57\x1e\x06\xc9\x7b\x21\xef\x76"
22758 			  "\x7f\x38\x7e\x8e\x29\xa4\x3e\x7e",
22759 		.ilen	= 32,
22760 		.result	= "\x8a\x1e\x11\xf0\x02\x6b\xe2\x19"
22761 			  "\xfc\x70\xc4\x6d\x8e\xb7\x99\xab"
22762 			  "\xc5\x4b\xa2\xac\xd3\xf3\x48\xff"
22763 			  "\x3b\xb5\xce\x53\xef\xde\xbb\x02"
22764 			  "\xa9\x86\x15\x6c\x13\xfe\xda\x0a"
22765 			  "\x22\xb8\x29\x3d\xd8\x39\x9a\x23",
22766 		.rlen	= 48,
22767 	}, {
22768 		.key	= "\xf4\x6b\xc2\x75\x62\xfe\xb4\xe1"
22769 			  "\xa3\xf0\xff\xdd\x4e\x4b\x12\x75"
22770 			  "\x53\x14\x73\x66\x8d\x88\xf6\x80",
22771 		.klen	= 24,
22772 		.iv	= "\x03\xa0\x20\x35\x26\xf2\x21\x8d"
22773 			  "\x50\x20\xda\xe2\x00\x00\x00\x00",
22774 		.assoc	= "\x5b\x9e\x13\x67\x02\x5e\xef\xc1"
22775 			  "\x6c\xf9\xd7\x1e\x52\x8f\x7a\x47"
22776 			  "\xe9\xd4\xcf\x20\x14\x6e\xf0\x2d"
22777 			  "\xd8\x9e\x2b\x56\x10\x23\x56\xe7",
22778 		.alen	= 32,
22779 		.result	= "\x36\xea\x7a\x70\x08\xdc\x6a\xbc"
22780 			  "\xad\x0c\x7a\x63\xf6\x61\xfd\x9b",
22781 		.rlen	= 16,
22782 	}, {
22783 		.key	= "\x56\xdf\x5c\x8f\x26\x3f\x0e\x42"
22784 			  "\xef\x7a\xd3\xce\xfc\x84\x60\x62"
22785 			  "\xca\xb4\x40\xaf\x5f\xc9\xc9\x01",
22786 		.klen	= 24,
22787 		.iv	= "\x03\xd6\x3c\x8c\x86\x84\xb6\xcd"
22788 			  "\xef\x09\x2e\x94\x00\x00\x00\x00",
22789 		.assoc	= "\x02\x65\x78\x3c\xe9\x21\x30\x91"
22790 			  "\xb1\xb9\xda\x76\x9a\x78\x6d\x95"
22791 			  "\xf2\x88\x32\xa3\xf2\x50\xcb\x4c"
22792 			  "\xe3\x00\x73\x69\x84\x69\x87\x79",
22793 		.alen	= 32,
22794 		.input	= "\x9f\xd2\x02\x4b\x52\x49\x31\x3c"
22795 			  "\x43\x69\x3a\x2d\x8e\x70\xad\x7e"
22796 			  "\xe0\xe5\x46\x09\x80\x89\x13\xb2"
22797 			  "\x8c\x8b\xd9\x3f\x86\xfb\xb5\x6b",
22798 		.ilen	= 32,
22799 		.result	= "\x39\xdf\x7c\x3c\x5a\x29\xb9\x62"
22800 			  "\x5d\x51\xc2\x16\xd8\xbd\x06\x9f"
22801 			  "\x9b\x6a\x09\x70\xc1\x51\x83\xc2"
22802 			  "\x66\x88\x1d\x4f\x9a\xda\xe0\x1e"
22803 			  "\xc7\x79\x11\x58\xe5\x6b\x20\x40"
22804 			  "\x7a\xea\x46\x42\x8b\xe4\x6f\xe1",
22805 		.rlen	= 48,
22806 	}, {
22807 		.key	= "\xe0\x8d\x99\x71\x60\xd7\x97\x1a"
22808 			  "\xbd\x01\x99\xd5\x8a\xdf\x71\x3a"
22809 			  "\xd3\xdf\x24\x4b\x5e\x3d\x4b\x4e"
22810 			  "\x30\x7a\xb9\xd8\x53\x0a\x5e\x2b",
22811 		.klen	= 32,
22812 		.iv	= "\x03\x1e\x29\x91\xad\x8e\xc1\x53"
22813 			  "\x0a\xcf\x2d\xbe\x00\x00\x00\x00",
22814 		.assoc	= "\x19\xb6\x1f\x57\xc4\xf3\xf0\x8b"
22815 			  "\x78\x2b\x94\x02\x29\x0f\x42\x27"
22816 			  "\x6b\x75\xcb\x98\x34\x08\x7e\x79"
22817 			  "\xe4\x3e\x49\x0d\x84\x8b\x22\x87",
22818 		.alen	= 32,
22819 		.input	= "\xe1\xd9\xd8\x13\xeb\x3a\x75\x3f"
22820 			  "\x9d\xbd\x5f\x66\xbe\xdc\xbb\x66"
22821 			  "\xbf\x17\x99\x62\x4a\x39\x27\x1f"
22822 			  "\x1d\xdc\x24\xae\x19\x2f\x98\x4c",
22823 		.ilen	= 32,
22824 		.result	= "\x19\xb8\x61\x33\x45\x2b\x43\x96"
22825 			  "\x6f\x51\xd0\x20\x30\x7d\x9b\xc6"
22826 			  "\x26\x3d\xf8\xc9\x65\x16\xa8\x9f"
22827 			  "\xf0\x62\x17\x34\xf2\x1e\x8d\x75"
22828 			  "\x4e\x13\xcc\xc0\xc3\x2a\x54\x2d",
22829 		.rlen	= 40,
22830 	}, {
22831 		.key	= "\x7c\xc8\x18\x3b\x8d\x99\xe0\x7c"
22832 			  "\x45\x41\xb8\xbd\x5c\xa7\xc2\x32"
22833 			  "\x8a\xb8\x02\x59\xa4\xfe\xa9\x2c"
22834 			  "\x09\x75\x9a\x9b\x3c\x9b\x27\x39",
22835 		.klen	= 32,
22836 		.iv	= "\x03\xf9\xd9\x4e\x63\xb5\x3d\x9d"
22837 			  "\x43\xf6\x1e\x50\0\0\0\0",
22838 		.assoc	= "\x57\xf5\x6b\x8b\x57\x5c\x3d\x3b"
22839 			  "\x13\x02\x01\x0c\x83\x4c\x96\x35"
22840 			  "\x8e\xd6\x39\xcf\x7d\x14\x9b\x94"
22841 			  "\xb0\x39\x36\xe6\x8f\x57\xe0\x13",
22842 		.alen	= 32,
22843 		.input	= "\x3b\x6c\x29\x36\xb6\xef\x07\xa6"
22844 			  "\x83\x72\x07\x4f\xcf\xfa\x66\x89"
22845 			  "\x5f\xca\xb1\xba\xd5\x8f\x2c\x27"
22846 			  "\x30\xdb\x75\x09\x93\xd4\x65\xe4",
22847 		.ilen	= 32,
22848 		.result	= "\xb0\x88\x5a\x33\xaa\xe5\xc7\x1d"
22849 			  "\x85\x23\xc7\xc6\x2f\xf4\x1e\x3d"
22850 			  "\xcc\x63\x44\x25\x07\x78\x4f\x9e"
22851 			  "\x96\xb8\x88\xeb\xbc\x48\x1f\x06"
22852 			  "\x39\xaf\x39\xac\xd8\x4a\x80\x39"
22853 			  "\x7b\x72\x8a\xf7",
22854 		.rlen	= 44,
22855 	}, {
22856 		.key	= "\xab\xd0\xe9\x33\x07\x26\xe5\x83"
22857 			  "\x8c\x76\x95\xd4\xb6\xdc\xf3\x46"
22858 			  "\xf9\x8f\xad\xe3\x02\x13\x83\x77"
22859 			  "\x3f\xb0\xf1\xa1\xa1\x22\x0f\x2b",
22860 		.klen	= 32,
22861 		.iv	= "\x03\x24\xa7\x8b\x07\xcb\xcc\x0e"
22862 			  "\xe6\x33\xbf\xf5\x00\x00\x00\x00",
22863 		.assoc	= "\xd4\xdb\x30\x1d\x03\xfe\xfd\x5f"
22864 			  "\x87\xd4\x8c\xb6\xb6\xf1\x7a\x5d"
22865 			  "\xab\x90\x65\x8d\x8e\xca\x4d\x4f"
22866 			  "\x16\x0c\x40\x90\x4b\xc7\x36\x73",
22867 		.alen	= 32,
22868 		.input	= "\xf5\xc6\x7d\x48\xc1\xb7\xe6\x92"
22869 			  "\x97\x5a\xca\xc4\xa9\x6d\xf9\x3d"
22870 			  "\x6c\xde\xbc\xf1\x90\xea\x6a\xb2"
22871 			  "\x35\x86\x36\xaf\x5c\xfe\x4b\x3a",
22872 		.ilen	= 32,
22873 		.result	= "\x83\x6f\x40\x87\x72\xcf\xc1\x13"
22874 			  "\xef\xbb\x80\x21\x04\x6c\x58\x09"
22875 			  "\x07\x1b\xfc\xdf\xc0\x3f\x5b\xc7"
22876 			  "\xe0\x79\xa8\x6e\x71\x7c\x3f\xcf"
22877 			  "\x5c\xda\xb2\x33\xe5\x13\xe2\x0d"
22878 			  "\x74\xd1\xef\xb5\x0f\x3a\xb5\xf8",
22879 		.rlen	= 48,
22880 	}
22881 };
22882 
22883 static const struct aead_testvec aes_ccm_dec_tv_template[] = {
22884 	{ /* From RFC 3610 */
22885 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22886 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22887 		.klen	= 16,
22888 		.iv	= "\x01\x00\x00\x00\x03\x02\x01\x00"
22889 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22890 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
22891 		.alen	= 8,
22892 		.input	= "\x58\x8c\x97\x9a\x61\xc6\x63\xd2"
22893 			  "\xf0\x66\xd0\xc2\xc0\xf9\x89\x80"
22894 			  "\x6d\x5f\x6b\x61\xda\xc3\x84\x17"
22895 			  "\xe8\xd1\x2c\xfd\xf9\x26\xe0",
22896 		.ilen	= 31,
22897 		.result	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22898 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
22899 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e",
22900 		.rlen	= 23,
22901 	}, {
22902 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22903 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22904 		.klen	= 16,
22905 		.iv	= "\x01\x00\x00\x00\x07\x06\x05\x04"
22906 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22907 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
22908 			  "\x08\x09\x0a\x0b",
22909 		.alen	= 12,
22910 		.input	= "\xdc\xf1\xfb\x7b\x5d\x9e\x23\xfb"
22911 			  "\x9d\x4e\x13\x12\x53\x65\x8a\xd8"
22912 			  "\x6e\xbd\xca\x3e\x51\xe8\x3f\x07"
22913 			  "\x7d\x9c\x2d\x93",
22914 		.ilen	= 28,
22915 		.result	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22916 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22917 			  "\x1c\x1d\x1e\x1f",
22918 		.rlen	= 20,
22919 	}, {
22920 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22921 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22922 		.klen	= 16,
22923 		.iv	= "\x01\x00\x00\x00\x0b\x0a\x09\x08"
22924 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22925 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07",
22926 		.alen	= 8,
22927 		.input	= "\x82\x53\x1a\x60\xcc\x24\x94\x5a"
22928 			  "\x4b\x82\x79\x18\x1a\xb5\xc8\x4d"
22929 			  "\xf2\x1c\xe7\xf9\xb7\x3f\x42\xe1"
22930 			  "\x97\xea\x9c\x07\xe5\x6b\x5e\xb1"
22931 			  "\x7e\x5f\x4e",
22932 		.ilen	= 35,
22933 		.result	= "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
22934 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
22935 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
22936 			  "\x20",
22937 		.rlen	= 25,
22938 	}, {
22939 		.key	= "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
22940 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf",
22941 		.klen	= 16,
22942 		.iv	= "\x01\x00\x00\x00\x0c\x0b\x0a\x09"
22943 			  "\xa0\xa1\xa2\xa3\xa4\xa5\x00\x00",
22944 		.assoc	= "\x00\x01\x02\x03\x04\x05\x06\x07"
22945 			  "\x08\x09\x0a\x0b",
22946 		.alen	= 12,
22947 		.input	= "\x07\x34\x25\x94\x15\x77\x85\x15"
22948 			  "\x2b\x07\x40\x98\x33\x0a\xbb\x14"
22949 			  "\x1b\x94\x7b\x56\x6a\xa9\x40\x6b"
22950 			  "\x4d\x99\x99\x88\xdd",
22951 		.ilen	= 29,
22952 		.result	= "\x0c\x0d\x0e\x0f\x10\x11\x12\x13"
22953 			  "\x14\x15\x16\x17\x18\x19\x1a\x1b"
22954 			  "\x1c\x1d\x1e",
22955 		.rlen	= 19,
22956 	}, {
22957 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22958 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22959 		.klen	= 16,
22960 		.iv	= "\x01\x00\x33\x56\x8e\xf7\xb2\x63"
22961 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22962 		.assoc	= "\x63\x01\x8f\x76\xdc\x8a\x1b\xcb",
22963 		.alen	= 8,
22964 		.input	= "\x4c\xcb\x1e\x7c\xa9\x81\xbe\xfa"
22965 			  "\xa0\x72\x6c\x55\xd3\x78\x06\x12"
22966 			  "\x98\xc8\x5c\x92\x81\x4a\xbc\x33"
22967 			  "\xc5\x2e\xe8\x1d\x7d\x77\xc0\x8a",
22968 		.ilen	= 32,
22969 		.result	= "\x90\x20\xea\x6f\x91\xbd\xd8\x5a"
22970 			  "\xfa\x00\x39\xba\x4b\xaf\xf9\xbf"
22971 			  "\xb7\x9c\x70\x28\x94\x9c\xd0\xec",
22972 		.rlen	= 24,
22973 	}, {
22974 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22975 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22976 		.klen	= 16,
22977 		.iv	= "\x01\x00\xd5\x60\x91\x2d\x3f\x70"
22978 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22979 		.assoc	= "\xcd\x90\x44\xd2\xb7\x1f\xdb\x81"
22980 			  "\x20\xea\x60\xc0",
22981 		.alen	= 12,
22982 		.input	= "\x00\x97\x69\xec\xab\xdf\x48\x62"
22983 			  "\x55\x94\xc5\x92\x51\xe6\x03\x57"
22984 			  "\x22\x67\x5e\x04\xc8\x47\x09\x9e"
22985 			  "\x5a\xe0\x70\x45\x51",
22986 		.ilen	= 29,
22987 		.result	= "\x64\x35\xac\xba\xfb\x11\xa8\x2e"
22988 			  "\x2f\x07\x1d\x7c\xa4\xa5\xeb\xd9"
22989 			  "\x3a\x80\x3b\xa8\x7f",
22990 		.rlen	= 21,
22991 	}, {
22992 		.key	= "\xd7\x82\x8d\x13\xb2\xb0\xbd\xc3"
22993 			  "\x25\xa7\x62\x36\xdf\x93\xcc\x6b",
22994 		.klen	= 16,
22995 		.iv	= "\x01\x00\x42\xff\xf8\xf1\x95\x1c"
22996 			  "\x3c\x96\x96\x76\x6c\xfa\x00\x00",
22997 		.assoc	= "\xd8\x5b\xc7\xe6\x9f\x94\x4f\xb8",
22998 		.alen	= 8,
22999 		.input	= "\xbc\x21\x8d\xaa\x94\x74\x27\xb6"
23000 			  "\xdb\x38\x6a\x99\xac\x1a\xef\x23"
23001 			  "\xad\xe0\xb5\x29\x39\xcb\x6a\x63"
23002 			  "\x7c\xf9\xbe\xc2\x40\x88\x97\xc6"
23003 			  "\xba",
23004 		.ilen	= 33,
23005 		.result	= "\x8a\x19\xb9\x50\xbc\xf7\x1a\x01"
23006 			  "\x8e\x5e\x67\x01\xc9\x17\x87\x65"
23007 			  "\x98\x09\xd6\x7d\xbe\xdd\x18",
23008 		.rlen	= 23,
23009 	}, {
23010 		/* This is taken from FIPS CAVS. */
23011 		.key	= "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
23012 			  "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
23013 		.klen	= 16,
23014 		.iv	= "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
23015 			  "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
23016 		.alen	= 0,
23017 		.input	= "\xd5\xe8\x93\x9f\xc7\x89\x2e\x2b",
23018 		.ilen	= 8,
23019 		.result	= "\x00",
23020 		.rlen	= 0,
23021 		.novrfy	= 1,
23022 	}, {
23023 		.key	= "\xab\x2f\x8a\x74\xb7\x1c\xd2\xb1"
23024 			  "\xff\x80\x2e\x48\x7d\x82\xf8\xb9",
23025 		.klen	= 16,
23026 		.iv	= "\x03\xaf\x94\x87\x78\x35\x82\x81"
23027 			  "\x7f\x88\x94\x68\x00\x00\x00\x00",
23028 		.alen	= 0,
23029 		.input	= "\x41\x3c\xb8\x87\x73\xcb\xf3\xf3",
23030 		.ilen	= 8,
23031 		.result	= "\x00",
23032 		.rlen	= 0,
23033 	}, {
23034 		.key	= "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
23035 			  "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
23036 		.klen	= 16,
23037 		.iv	= "\x03\xc6\xfb\x7d\x80\x0d\x13\xab"
23038 			  "\xd8\xa6\xb2\xd8\x00\x00\x00\x00",
23039 		.assoc	= "\xf3\x94\x87\x78\x35\x82\x81\x7f"
23040 			  "\x88\x94\x68\xb1\x78\x6b\x2b\xd6"
23041 			  "\x04\x1f\x4e\xed\x78\xd5\x33\x66"
23042 			  "\xd8\x94\x99\x91\x81\x54\x62\x57",
23043 		.alen	= 32,
23044 		.input	= "\xf0\x7c\x29\x02\xae\x1c\x2f\x55"
23045 			  "\xd0\xd1\x3d\x1a\xa3\x6d\xe4\x0a"
23046 			  "\x86\xb0\x87\x6b\x62\x33\x8c\x34"
23047 			  "\xce\xab\x57\xcc\x79\x0b\xe0\x6f"
23048 			  "\x5c\x3e\x48\x1f\x6c\x46\xf7\x51"
23049 			  "\x8b\x84\x83\x2a\xc1\x05\xb8\xc5",
23050 		.ilen	= 48,
23051 		.result	= "\x50\x82\x3e\x07\xe2\x1e\xb6\xfb"
23052 			  "\x33\xe4\x73\xce\xd2\xfb\x95\x79"
23053 			  "\xe8\xb4\xb5\x77\x11\x10\x62\x6f"
23054 			  "\x6a\x82\xd1\x13\xec\xf5\xd0\x48",
23055 		.rlen	= 32,
23056 		.novrfy	= 1,
23057 	}, {
23058 		.key	= "\x61\x0e\x8c\xae\xe3\x23\xb6\x38"
23059 			  "\x76\x1c\xf6\x3a\x67\xa3\x9c\xd8",
23060 		.klen	= 16,
23061 		.iv	= "\x03\x05\xe0\xc9\x0f\xed\x34\xea"
23062 			  "\x97\xd4\x3b\xdf\x00\x00\x00\x00",
23063 		.assoc	= "\x49\x5c\x50\x1f\x1d\x94\xcc\x81"
23064 			  "\xba\xb7\xb6\x03\xaf\xa5\xc1\xa1"
23065 			  "\xd8\x5c\x42\x68\xe0\x6c\xda\x89"
23066 			  "\x05\xac\x56\xac\x1b\x2a\xd3\x86",
23067 		.alen	= 32,
23068 		.input	= "\x39\xbe\x7d\x15\x62\x77\xf3\x3c"
23069 			  "\xad\x83\x52\x6d\x71\x03\x25\x1c"
23070 			  "\xed\x81\x3a\x9a\x16\x7d\x19\x80"
23071 			  "\x72\x04\x72\xd0\xf6\xff\x05\x0f"
23072 			  "\xb7\x14\x30\x00\x32\x9e\xa0\xa6"
23073 			  "\x9e\x5a\x18\xa1\xb8\xfe\xdb\xd3",
23074 		.ilen	= 48,
23075 		.result	= "\x75\x05\xbe\xc2\xd9\x1e\xde\x60"
23076 			  "\x47\x3d\x8c\x7d\xbd\xb5\xd9\xb7"
23077 			  "\xf2\xae\x61\x05\x8f\x82\x24\x3f"
23078 			  "\x9c\x67\x91\xe1\x38\x4f\xe4\x0c",
23079 		.rlen	= 32,
23080 	}, {
23081 		.key	= "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
23082 			  "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
23083 			  "\xa4\x48\x93\x39\x26\x71\x4a\xc6",
23084 		.klen	= 24,
23085 		.iv	= "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23086 			  "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23087 		.assoc	= "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
23088 			  "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
23089 			  "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
23090 			  "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
23091 		.alen	= 32,
23092 		.input	= "\x71\x99\xfa\xf4\x44\x12\x68\x9b",
23093 		.ilen	= 8,
23094 		.result	= "\x00",
23095 		.rlen	= 0,
23096 	}, {
23097 		.key	= "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23098 			  "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23099 			  "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
23100 		.klen	= 24,
23101 		.iv	= "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23102 			  "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23103 		.assoc	= "\x44\xa6\x2c\x05\xe9\xe1\x43\xb1"
23104 			  "\x58\x7c\xf2\x5c\x6d\x39\x0a\x64"
23105 			  "\xa4\xf0\x13\x05\xd1\x77\x99\x67"
23106 			  "\x11\xc4\xc6\xdb\x00\x56\x36\x61",
23107 		.alen	= 32,
23108 		.input	= "\xfb\xe5\x5d\x34\xbe\xe5\xe8\xe7"
23109 			  "\x5a\xef\x2f\xbf\x1f\x7f\xd4\xb2"
23110 			  "\x66\xca\x61\x1e\x96\x7a\x61\xb3"
23111 			  "\x1c\x16\x45\x52\xba\x04\x9c\x9f"
23112 			  "\xb1\xd2\x40\xbc\x52\x7c\x6f\xb1",
23113 		.ilen	= 40,
23114 		.result	= "\x85\x34\x66\x42\xc8\x92\x0f\x36"
23115 			  "\x58\xe0\x6b\x91\x3c\x98\x5c\xbb"
23116 			  "\x0a\x85\xcc\x02\xad\x7a\x96\xe9"
23117 			  "\x65\x43\xa4\xc3\x0f\xdc\x55\x81",
23118 		.rlen	= 32,
23119 	}, {
23120 		.key	= "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23121 			  "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23122 			  "\x29\xa0\xba\x9e\x48\x78\xd1\xba",
23123 		.klen	= 24,
23124 		.iv	= "\x03\xd1\xfc\x57\x9c\xfe\xb8\x9c"
23125 			  "\xad\x71\xaa\x1f\x00\x00\x00\x00",
23126 		.assoc	= "\x86\x67\xa5\xa9\x14\x5f\x0d\xc6"
23127 			  "\xff\x14\xc7\x44\xbf\x6c\x3a\xc3"
23128 			  "\xff\xb6\x81\xbd\xe2\xd5\x06\xc7"
23129 			  "\x3c\xa1\x52\x13\x03\x8a\x23\x3a",
23130 		.alen	= 32,
23131 		.input	= "\x3f\x66\xb0\x9d\xe5\x4b\x38\x00"
23132 			  "\xc6\x0e\x6e\xe5\xd6\x98\xa6\x37"
23133 			  "\x8c\x26\x33\xc6\xb2\xa2\x17\xfa"
23134 			  "\x64\x19\xc0\x30\xd7\xfc\x14\x6b"
23135 			  "\xe3\x33\xc2\x04\xb0\x37\xbe\x3f"
23136 			  "\xa9\xb4\x2d\x68\x03\xa3\x44\xef",
23137 		.ilen	= 48,
23138 		.result	= "\x02\x87\x4d\x28\x80\x6e\xb2\xed"
23139 			  "\x99\x2a\xa8\xca\x04\x25\x45\x90"
23140 			  "\x1d\xdd\x5a\xd9\xe4\xdb\x9c\x9c"
23141 			  "\x49\xe9\x01\xfe\xa7\x80\x6d\x6b",
23142 		.rlen	= 32,
23143 		.novrfy	= 1,
23144 	}, {
23145 		.key	= "\xa4\x4b\x54\x29\x0a\xb8\x6d\x01"
23146 			  "\x5b\x80\x2a\xcf\x25\xc4\xb7\x5c"
23147 			  "\x20\x2c\xad\x30\xc2\x2b\x41\xfb"
23148 			  "\x0e\x85\xbc\x33\xad\x0f\x2b\xff",
23149 		.klen	= 32,
23150 		.iv	= "\x03\xee\x49\x83\xe9\xa9\xff\xe9"
23151 			  "\x57\xba\xfd\x9e\x00\x00\x00\x00",
23152 		.alen	= 0,
23153 		.input	= "\x1f\xb8\x8f\xa3\xdd\x54\x00\xf2",
23154 		.ilen	= 8,
23155 		.result	= "\x00",
23156 		.rlen	= 0,
23157 	}, {
23158 		.key	= "\x39\xbb\xa7\xbe\x59\x97\x9e\x73"
23159 			  "\xa2\xbc\x6b\x98\xd7\x75\x7f\xe3"
23160 			  "\xa4\x48\x93\x39\x26\x71\x4a\xc6"
23161 			  "\xae\x8f\x11\x4c\xc2\x9c\x4a\xbb",
23162 		.klen	= 32,
23163 		.iv	= "\x03\x85\x34\x66\x42\xc8\x92\x0f"
23164 			  "\x36\x58\xe0\x6b\x00\x00\x00\x00",
23165 		.alen	= 0,
23166 		.input	= "\x48\x01\x5e\x02\x24\x04\x66\x47"
23167 			  "\xa1\xea\x6f\xaf\xe8\xfc\xfb\xdd"
23168 			  "\xa5\xa9\x87\x8d\x84\xee\x2e\x77"
23169 			  "\xbb\x86\xb9\xf5\x5c\x6c\xff\xf6"
23170 			  "\x72\xc3\x8e\xf7\x70\xb1\xb2\x07"
23171 			  "\xbc\xa8\xa3\xbd\x83\x7c\x1d\x2a",
23172 		.ilen	= 48,
23173 		.result	= "\xdc\x56\xf2\x71\xb0\xb1\xa0\x6c"
23174 			  "\xf0\x97\x3a\xfb\x6d\xe7\x32\x99"
23175 			  "\x3e\xaf\x70\x5e\xb2\x4d\xea\x39"
23176 			  "\x89\xd4\x75\x7a\x63\xb1\xda\x93",
23177 		.rlen	= 32,
23178 		.novrfy	= 1,
23179 	}, {
23180 		.key	= "\x58\x5d\xa0\x96\x65\x1a\x04\xd7"
23181 			  "\x96\xe5\xc5\x68\xaa\x95\x35\xe0"
23182 			  "\x29\xa0\xba\x9e\x48\x78\xd1\xba"
23183 			  "\x0d\x1a\x53\x3b\xb5\xe3\xf8\x8b",
23184 		.klen	= 32,
23185 		.iv	= "\x03\xcf\x76\x3f\xd9\x95\x75\x8f"
23186 			  "\x44\x89\x40\x7b\x00\x00\x00\x00",
23187 		.assoc	= "\x8f\x86\x6c\x4d\x1d\xc5\x39\x88"
23188 			  "\xc8\xf3\x5c\x52\x10\x63\x6f\x2b"
23189 			  "\x8a\x2a\xc5\x6f\x30\x23\x58\x7b"
23190 			  "\xfb\x36\x03\x11\xb4\xd9\xf2\xfe",
23191 		.alen	= 32,
23192 		.input	= "\x48\x58\xd6\xf3\xad\x63\x58\xbf"
23193 			  "\xae\xc7\x5e\xae\x83\x8f\x7b\xe4"
23194 			  "\x78\x5c\x4c\x67\x71\x89\x94\xbf"
23195 			  "\x47\xf1\x63\x7e\x1c\x59\xbd\xc5"
23196 			  "\x7f\x44\x0a\x0c\x01\x18\x07\x92"
23197 			  "\xe1\xd3\x51\xce\x32\x6d\x0c\x5b",
23198 		.ilen	= 48,
23199 		.result	= "\xc2\x54\xc8\xde\x78\x87\x77\x40"
23200 			  "\x49\x71\xe4\xb7\xe7\xcb\x76\x61"
23201 			  "\x0a\x41\xb9\xe9\xc0\x76\x54\xab"
23202 			  "\x04\x49\x3b\x19\x93\x57\x25\x5d",
23203 		.rlen	= 32,
23204 	},
23205 };
23206 
23207 /*
23208  * rfc4309 refers to section 8 of rfc3610 for test vectors, but they all
23209  * use a 13-byte nonce, we only support an 11-byte nonce.  Worse,
23210  * they use AD lengths which are not valid ESP header lengths.
23211  *
23212  * These vectors are copied/generated from the ones for rfc4106 with
23213  * the key truncated by one byte..
23214  */
23215 static const struct aead_testvec aes_ccm_rfc4309_enc_tv_template[] = {
23216 	{ /* Generated using Crypto++ */
23217 		.key	= zeroed_string,
23218 		.klen	= 19,
23219 		.iv	= zeroed_string,
23220 		.input	= zeroed_string,
23221 		.ilen	= 16,
23222 		.assoc	= zeroed_string,
23223 		.alen	= 16,
23224 		.result	= "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
23225 			  "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
23226 			  "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
23227 			  "\x27\x50\x01\xAC\x03\x33\x39\xFB",
23228 		.rlen	= 32,
23229 	},{
23230 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23231 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23232 			  "\x00\x00\x00",
23233 		.klen	= 19,
23234 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23235 		.input	= zeroed_string,
23236 		.ilen	= 16,
23237 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x00"
23238 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23239 		.alen	= 16,
23240 		.result	= "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
23241 			  "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
23242 			  "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
23243 			  "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
23244 		.rlen	= 32,
23245 
23246 	}, {
23247 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23248 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23249 			  "\x00\x00\x00",
23250 		.klen	= 19,
23251 		.iv	= zeroed_string,
23252 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23253 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23254 		.ilen	= 16,
23255 		.assoc	= zeroed_string,
23256 		.alen	= 16,
23257 		.result	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23258 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23259 			  "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
23260 			  "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
23261 		.rlen	= 32,
23262 	}, {
23263 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23264 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23265 			  "\x00\x00\x00",
23266 		.klen	= 19,
23267 		.iv	= zeroed_string,
23268 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23269 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23270 		.ilen	= 16,
23271 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23272 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23273 		.alen	= 16,
23274 		.result	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23275 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23276 			  "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
23277 			  "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
23278 		.rlen	= 32,
23279 	}, {
23280 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23281 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23282 			  "\x00\x00\x00",
23283 		.klen	= 19,
23284 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23285 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23286 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23287 		.ilen	= 16,
23288 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23289 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23290 		.alen	= 16,
23291 		.result	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23292 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23293 			  "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
23294 			  "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
23295 		.rlen	= 32,
23296 	}, {
23297 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23298 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23299 			  "\x00\x00\x00",
23300 		.klen	= 19,
23301 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23302 		.input	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23303 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23304 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23305 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23306 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23307 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23308 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23309 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23310 		.ilen	= 64,
23311 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23312 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23313 		.alen	= 16,
23314 		.result	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23315 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23316 			  "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
23317 			  "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
23318 			  "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
23319 			  "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
23320 			  "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
23321 			  "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
23322 			  "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
23323 			  "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
23324 		.rlen	= 80,
23325 	}, {
23326 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
23327 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23328 			  "\x00\x00\x00",
23329 		.klen	= 19,
23330 		.iv	= "\x00\x00\x45\x67\x89\xab\xcd\xef",
23331 		.input	= "\xff\xff\xff\xff\xff\xff\xff\xff"
23332 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23333 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23334 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23335 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23336 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23337 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23338 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23339 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23340 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23341 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23342 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23343 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23344 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23345 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23346 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23347 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23348 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23349 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23350 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23351 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23352 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23353 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23354 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
23355 		.ilen	= 192,
23356 		.assoc	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
23357 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
23358 			  "\x89\xab\xcd\xef",
23359 		.alen	= 20,
23360 		.result	= "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
23361 			  "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
23362 			  "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
23363 			  "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
23364 			  "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
23365 			  "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
23366 			  "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
23367 			  "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
23368 			  "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
23369 			  "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
23370 			  "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
23371 			  "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
23372 			  "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
23373 			  "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
23374 			  "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
23375 			  "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
23376 			  "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
23377 			  "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
23378 			  "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
23379 			  "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
23380 			  "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
23381 			  "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
23382 			  "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
23383 			  "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
23384 			  "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
23385 			  "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
23386 		.rlen	= 208,
23387 	}, { /* From draft-mcgrew-gcm-test-01 */
23388 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23389 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23390 			  "\x2E\x44\x3B",
23391 		.klen	= 19,
23392 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
23393 		.input	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
23394 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
23395 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
23396 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
23397 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
23398 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
23399 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
23400 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
23401 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
23402 		.ilen	= 72,
23403 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
23404 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
23405 			  "\x3B\x24\x4C\xFE",
23406 		.alen	= 20,
23407 		.result	= "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
23408 			  "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
23409 			  "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
23410 			  "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
23411 			  "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
23412 			  "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
23413 			  "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
23414 			  "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
23415 			  "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
23416 			  "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
23417 			  "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
23418 		.rlen	= 88,
23419 	}, {
23420 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23421 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
23422 			  "\xCA\xFE\xBA",
23423 		.klen	= 19,
23424 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23425 		.input	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
23426 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
23427 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
23428 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
23429 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
23430 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
23431 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
23432 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
23433 		.ilen	= 64,
23434 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
23435 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23436 		.alen	= 16,
23437 		.result	= "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
23438 			  "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
23439 			  "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
23440 			  "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
23441 			  "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
23442 			  "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
23443 			  "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
23444 			  "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
23445 			  "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
23446 			  "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
23447 		.rlen	= 80,
23448 	}, {
23449 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23450 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23451 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23452 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23453 			  "\x11\x22\x33",
23454 		.klen	= 35,
23455 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
23456 		.input	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
23457 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
23458 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
23459 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
23460 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
23461 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
23462 			  "\x01\x02\x02\x01",
23463 		.ilen	= 52,
23464 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
23465 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
23466 		.alen	= 16,
23467 		.result	= "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
23468 			  "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
23469 			  "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
23470 			  "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
23471 			  "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
23472 			  "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
23473 			  "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
23474 			  "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
23475 			  "\x5A\x48\x6A\x3E",
23476 		.rlen	= 68,
23477 	}, {
23478 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
23479 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
23480 			  "\x00\x00\x00",
23481 		.klen	= 19,
23482 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
23483 		.input	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
23484 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
23485 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
23486 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
23487 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23488 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23489 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
23490 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
23491 		.ilen	= 64,
23492 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
23493 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23494 		.alen	= 16,
23495 		.result	= "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
23496 			  "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
23497 			  "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
23498 			  "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
23499 			  "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
23500 			  "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
23501 			  "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
23502 			  "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
23503 			  "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
23504 			  "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
23505 		.rlen	= 80,
23506 	}, {
23507 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23508 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23509 			  "\x57\x69\x0E",
23510 		.klen	= 19,
23511 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23512 		.input	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
23513 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
23514 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
23515 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
23516 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23517 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23518 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
23519 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
23520 		.ilen	= 64,
23521 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23522 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23523 			  "\xA2\xFC\xA1\xA3",
23524 		.alen	= 20,
23525 		.result	= "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
23526 			  "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
23527 			  "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
23528 			  "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
23529 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
23530 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
23531 			  "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
23532 			  "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
23533 			  "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
23534 			  "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
23535 		.rlen	= 80,
23536 	}, {
23537 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23538 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23539 			  "\x57\x69\x0E",
23540 		.klen	= 19,
23541 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23542 		.input	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
23543 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
23544 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
23545 			  "\x01\x02\x02\x01",
23546 		.ilen	= 28,
23547 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23548 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23549 			  "\xA2\xFC\xA1\xA3",
23550 		.alen	= 20,
23551 		.result	= "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
23552 			  "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
23553 			  "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
23554 			  "\xA1\xE5\x90\x40\x05\x37\x45\x70"
23555 			  "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
23556 			  "\x08\xB4\x22\xE4",
23557 		.rlen	= 44,
23558 	}, {
23559 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23560 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
23561 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
23562 			  "\xCA\xFE\xBA",
23563 		.klen	= 27,
23564 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23565 		.input	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
23566 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
23567 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
23568 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
23569 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
23570 		.ilen	= 40,
23571 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
23572 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
23573 		.alen	= 16,
23574 		.result	= "\x05\x22\x15\xD1\x52\x56\x85\x04"
23575 			  "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
23576 			  "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
23577 			  "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
23578 			  "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
23579 			  "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
23580 			  "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
23581 		.rlen	= 56,
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	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
23589 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
23590 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
23591 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
23592 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
23593 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
23594 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
23595 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
23596 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
23597 			  "\x23\x01\x01\x01",
23598 		.ilen	= 76,
23599 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
23600 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
23601 			  "\xCE\xFA\xCE\x74",
23602 		.alen	= 20,
23603 		.result	= "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
23604 			  "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
23605 			  "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
23606 			  "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
23607 			  "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
23608 			  "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
23609 			  "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
23610 			  "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
23611 			  "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
23612 			  "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
23613 			  "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
23614 			  "\x12\x25\x0B\xF9",
23615 		.rlen	= 92,
23616 	}, {
23617 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23618 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23619 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23620 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23621 			  "\x73\x61\x6C",
23622 		.klen	= 35,
23623 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
23624 		.input	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
23625 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
23626 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
23627 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
23628 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
23629 		.ilen	= 40,
23630 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
23631 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
23632 			  "\x69\x76\x65\x63",
23633 		.alen	= 20,
23634 		.result	= "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
23635 			  "\x2C\x64\x87\x46\x1E\x34\x10\x05"
23636 			  "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
23637 			  "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
23638 			  "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
23639 			  "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
23640 			  "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
23641 		.rlen	= 56,
23642 	}, {
23643 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23644 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23645 			  "\x57\x69\x0E",
23646 		.klen	= 19,
23647 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23648 		.input	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
23649 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
23650 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
23651 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
23652 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
23653 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
23654 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
23655 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
23656 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
23657 			  "\x15\x01\x01\x01",
23658 		.ilen	= 76,
23659 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
23660 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23661 			  "\xA2\xFC\xA1\xA3",
23662 		.alen	= 20,
23663 		.result	= "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
23664 			  "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
23665 			  "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
23666 			  "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
23667 			  "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
23668 			  "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
23669 			  "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
23670 			  "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
23671 			  "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
23672 			  "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
23673 			  "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
23674 			  "\xCC\xF7\x46\x6F",
23675 		.rlen	= 92,
23676 	}, {
23677 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23678 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23679 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23680 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23681 			  "\x73\x61\x6C",
23682 		.klen	= 35,
23683 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
23684 		.input	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
23685 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
23686 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
23687 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
23688 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
23689 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
23690 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
23691 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
23692 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
23693 		.ilen	= 72,
23694 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
23695 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
23696 			  "\x69\x76\x65\x63",
23697 		.alen	= 20,
23698 		.result	= "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
23699 			  "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
23700 			  "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
23701 			  "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
23702 			  "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
23703 			  "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
23704 			  "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
23705 			  "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
23706 			  "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
23707 			  "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
23708 			  "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
23709 		.rlen	= 88,
23710 	}, {
23711 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
23712 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
23713 			  "\xD9\x66\x42",
23714 		.klen	= 19,
23715 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
23716 		.input	= "\x01\x02\x02\x01",
23717 		.ilen	= 4,
23718 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
23719 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
23720 		.alen	= 16,
23721 		.result	= "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
23722 			  "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
23723 			  "\xF7\x61\x24\x62",
23724 		.rlen	= 20,
23725 	}, {
23726 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
23727 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
23728 			  "\xDE\xCA\xF8",
23729 		.klen	= 19,
23730 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
23731 		.input	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
23732 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
23733 			  "\x62\x65\x00\x01",
23734 		.ilen	= 20,
23735 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
23736 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
23737 			  "\xCE\xFA\xCE\x74",
23738 		.alen	= 20,
23739 		.result	= "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
23740 			  "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
23741 			  "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
23742 			  "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
23743 			  "\x17\x17\x65\xAD",
23744 		.rlen	= 36,
23745 	}, {
23746 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
23747 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
23748 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
23749 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
23750 			  "\x74\x75\x72",
23751 		.klen	= 35,
23752 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
23753 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
23754 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
23755 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
23756 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23757 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23758 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23759 			  "\x01\x02\x02\x01",
23760 		.ilen	= 52,
23761 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
23762 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
23763 			  "\x67\x65\x74\x6D",
23764 		.alen	= 20,
23765 		.result	= "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
23766 			  "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
23767 			  "\x48\x59\x80\x18\x1A\x18\x1A\x04"
23768 			  "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
23769 			  "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
23770 			  "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
23771 			  "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
23772 			  "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
23773 			  "\x39\xDB\xC8\xDC",
23774 		.rlen	= 68,
23775 	}, {
23776 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
23777 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
23778 			  "\x57\x69\x0E",
23779 		.klen	= 19,
23780 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
23781 		.input	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
23782 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
23783 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
23784 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
23785 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
23786 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
23787 			  "\x01\x02\x02\x01",
23788 		.ilen	= 52,
23789 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
23790 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
23791 			  "\xA2\xFC\xA1\xA3",
23792 		.alen	= 20,
23793 		.result	= "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
23794 			  "\x10\x60\x54\x25\xEB\x80\x04\x93"
23795 			  "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
23796 			  "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
23797 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
23798 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
23799 			  "\x44\xCC\x90\xBF\x00\x94\x94\x92"
23800 			  "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
23801 			  "\xF4\x95\x5D\x4F",
23802 		.rlen	= 68,
23803 	}, {
23804 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
23805 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
23806 			  "\x22\x43\x3C",
23807 		.klen	= 19,
23808 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
23809 		.input	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
23810 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
23811 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
23812 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
23813 		.ilen	= 32,
23814 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
23815 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
23816 			  "\x3A\x23\x4B\xFD",
23817 		.alen	= 20,
23818 		.result	= "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
23819 			  "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
23820 			  "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
23821 			  "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
23822 			  "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
23823 			  "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
23824 		.rlen	= 48,
23825 	}
23826 };
23827 
23828 static const struct aead_testvec aes_ccm_rfc4309_dec_tv_template[]	= {
23829 	{ /* Generated using Crypto++ */
23830 		.key	= zeroed_string,
23831 		.klen	= 19,
23832 		.iv	= zeroed_string,
23833 		.result	= zeroed_string,
23834 		.rlen	= 16,
23835 		.assoc	= zeroed_string,
23836 		.alen	= 16,
23837 		.input	= "\x2E\x9A\xCA\x6B\xDA\x54\xFC\x6F"
23838 			  "\x12\x50\xE8\xDE\x81\x3C\x63\x08"
23839 			  "\x1A\x22\xBA\x75\xEE\xD4\xD5\xB5"
23840 			  "\x27\x50\x01\xAC\x03\x33\x39\xFB",
23841 		.ilen	= 32,
23842 	},{
23843 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23844 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23845 			  "\x00\x00\x00",
23846 		.klen	= 19,
23847 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23848 		.result	= zeroed_string,
23849 		.rlen	= 16,
23850 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x00"
23851 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23852 		.alen	= 16,
23853 		.input	= "\xCF\xB9\x99\x17\xC8\x86\x0E\x7F"
23854 			  "\x7E\x76\xF8\xE6\xF8\xCC\x1F\x17"
23855 			  "\x6A\xE0\x53\x9F\x4B\x73\x7E\xDA"
23856 			  "\x08\x09\x4E\xC4\x1E\xAD\xC6\xB0",
23857 		.ilen	= 32,
23858 
23859 	}, {
23860 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23861 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23862 			  "\x00\x00\x00",
23863 		.klen	= 19,
23864 		.iv	= zeroed_string,
23865 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23866 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23867 		.rlen	= 16,
23868 		.assoc	= zeroed_string,
23869 		.alen	= 16,
23870 		.input	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23871 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23872 			  "\xA1\xE2\xC2\x42\x2B\x81\x70\x40"
23873 			  "\xFD\x7F\x76\xD1\x03\x07\xBB\x0C",
23874 		.ilen	= 32,
23875 	}, {
23876 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23877 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23878 			  "\x00\x00\x00",
23879 		.klen	= 19,
23880 		.iv	= zeroed_string,
23881 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23882 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23883 		.rlen	= 16,
23884 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23885 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
23886 		.alen	= 16,
23887 		.input	= "\x33\xDE\x73\xBC\xA6\xCE\x4E\xA6"
23888 			  "\x61\xF4\xF5\x41\x03\x4A\xE3\x86"
23889 			  "\x5B\xC0\x73\xE0\x2B\x73\x68\xC9"
23890 			  "\x2D\x8C\x58\xC2\x90\x3D\xB0\x3E",
23891 		.ilen	= 32,
23892 	}, {
23893 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23894 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23895 			  "\x00\x00\x00",
23896 		.klen	= 19,
23897 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23898 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23899 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23900 		.rlen	= 16,
23901 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23902 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23903 		.alen	= 16,
23904 		.input	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23905 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23906 			  "\x43\x8E\x76\x57\x3B\xB4\x05\xE8"
23907 			  "\xA9\x9B\xBF\x25\xE0\x4F\xC0\xED",
23908 		.ilen	= 32,
23909 	}, {
23910 		.key	= "\xfe\xff\xe9\x92\x86\x65\x73\x1c"
23911 			  "\x6d\x6a\x8f\x94\x67\x30\x83\x08"
23912 			  "\x00\x00\x00",
23913 		.klen	= 19,
23914 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x01",
23915 		.result	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23916 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23917 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23918 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23919 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23920 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23921 			  "\x01\x01\x01\x01\x01\x01\x01\x01"
23922 			  "\x01\x01\x01\x01\x01\x01\x01\x01",
23923 		.rlen	= 64,
23924 		.assoc	= "\x01\x01\x01\x01\x01\x01\x01\x01"
23925 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
23926 		.alen	= 16,
23927 		.input	= "\xCE\xB8\x98\x16\xC9\x87\x0F\x7E"
23928 			  "\x7F\x77\xF9\xE7\xF9\xCD\x1E\x16"
23929 			  "\x9C\xA4\x97\x83\x3F\x01\xA5\xF4"
23930 			  "\x43\x09\xE7\xB8\xE9\xD1\xD7\x02"
23931 			  "\x9B\xAB\x39\x18\xEB\x94\x34\x36"
23932 			  "\xE6\xC5\xC8\x9B\x00\x81\x9E\x49"
23933 			  "\x1D\x78\xE1\x48\xE3\xE9\xEA\x8E"
23934 			  "\x3A\x2B\x67\x5D\x35\x6A\x0F\xDB"
23935 			  "\x02\x73\xDD\xE7\x30\x4A\x30\x54"
23936 			  "\x1A\x9D\x09\xCA\xC8\x1C\x32\x5F",
23937 		.ilen	= 80,
23938 	}, {
23939 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
23940 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
23941 			  "\x00\x00\x00",
23942 		.klen	= 19,
23943 		.iv	= "\x00\x00\x45\x67\x89\xab\xcd\xef",
23944 		.result	= "\xff\xff\xff\xff\xff\xff\xff\xff"
23945 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23946 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23947 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23948 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23949 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23950 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23951 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23952 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23953 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23954 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23955 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23956 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23957 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23958 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23959 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23960 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23961 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23962 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23963 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23964 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23965 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23966 			  "\xff\xff\xff\xff\xff\xff\xff\xff"
23967 			  "\xff\xff\xff\xff\xff\xff\xff\xff",
23968 		.rlen	= 192,
23969 		.assoc	= "\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
23970 			  "\xaa\xaa\xaa\xaa\x00\x00\x45\x67"
23971 			  "\x89\xab\xcd\xef",
23972 		.alen	= 20,
23973 		.input	= "\x64\x17\xDC\x24\x9D\x92\xBA\x5E"
23974 			  "\x7C\x64\x6D\x33\x46\x77\xAC\xB1"
23975 			  "\x5C\x9E\xE2\xC7\x27\x11\x3E\x95"
23976 			  "\x7D\xBE\x28\xC8\xC1\xCA\x5E\x8C"
23977 			  "\xB4\xE2\xDE\x9F\x53\x59\x26\xDB"
23978 			  "\x0C\xD4\xE4\x07\x9A\xE6\x3E\x01"
23979 			  "\x58\x0D\x3E\x3D\xD5\x21\xEB\x04"
23980 			  "\x06\x9D\x5F\xB9\x02\x49\x1A\x2B"
23981 			  "\xBA\xF0\x4E\x3B\x85\x50\x5B\x09"
23982 			  "\xFE\xEC\xFC\x54\xEC\x0C\xE2\x79"
23983 			  "\x8A\x2F\x5F\xD7\x05\x5D\xF1\x6D"
23984 			  "\x22\xEB\xD1\x09\x80\x3F\x5A\x70"
23985 			  "\xB2\xB9\xD3\x63\x99\xC2\x4D\x1B"
23986 			  "\x36\x12\x00\x89\xAA\x5D\x55\xDA"
23987 			  "\x1D\x5B\xD8\x3C\x5F\x09\xD2\xE6"
23988 			  "\x39\x41\x5C\xF0\xBE\x26\x4E\x5F"
23989 			  "\x2B\x50\x44\x52\xC2\x10\x7D\x38"
23990 			  "\x82\x64\x83\x0C\xAE\x49\xD0\xE5"
23991 			  "\x4F\xE5\x66\x4C\x58\x7A\xEE\x43"
23992 			  "\x3B\x51\xFE\xBA\x24\x8A\xFE\xDC"
23993 			  "\x19\x6D\x60\x66\x61\xF9\x9A\x3F"
23994 			  "\x75\xFC\x38\x53\x5B\xB5\xCD\x52"
23995 			  "\x4F\xE5\xE4\xC9\xFE\x10\xCB\x98"
23996 			  "\xF0\x06\x5B\x07\xAB\xBB\xF4\x0E"
23997 			  "\x2D\xC2\xDD\x5D\xDD\x22\x9A\xCC"
23998 			  "\x39\xAB\x63\xA5\x3D\x9C\x51\x8A",
23999 		.ilen	= 208,
24000 	}, { /* From draft-mcgrew-gcm-test-01 */
24001 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
24002 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
24003 			  "\x2E\x44\x3B",
24004 		.klen	= 19,
24005 		.iv	= "\x49\x56\xED\x7E\x3B\x24\x4C\xFE",
24006 		.result	= "\x45\x00\x00\x48\x69\x9A\x00\x00"
24007 			  "\x80\x11\x4D\xB7\xC0\xA8\x01\x02"
24008 			  "\xC0\xA8\x01\x01\x0A\x9B\xF1\x56"
24009 			  "\x38\xD3\x01\x00\x00\x01\x00\x00"
24010 			  "\x00\x00\x00\x00\x04\x5F\x73\x69"
24011 			  "\x70\x04\x5F\x75\x64\x70\x03\x73"
24012 			  "\x69\x70\x09\x63\x79\x62\x65\x72"
24013 			  "\x63\x69\x74\x79\x02\x64\x6B\x00"
24014 			  "\x00\x21\x00\x01\x01\x02\x02\x01",
24015 		.rlen	= 72,
24016 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
24017 			  "\x00\x00\x00\x00\x49\x56\xED\x7E"
24018 			  "\x3B\x24\x4C\xFE",
24019 		.alen	= 20,
24020 		.input	= "\x89\xBA\x3E\xEF\xE6\xD6\xCF\xDB"
24021 			  "\x83\x60\xF5\xBA\x3A\x56\x79\xE6"
24022 			  "\x7E\x0C\x53\xCF\x9E\x87\xE0\x4E"
24023 			  "\x1A\x26\x01\x24\xC7\x2E\x3D\xBF"
24024 			  "\x29\x2C\x91\xC1\xB8\xA8\xCF\xE0"
24025 			  "\x39\xF8\x53\x6D\x31\x22\x2B\xBF"
24026 			  "\x98\x81\xFC\x34\xEE\x85\x36\xCD"
24027 			  "\x26\xDB\x6C\x7A\x0C\x77\x8A\x35"
24028 			  "\x18\x85\x54\xB2\xBC\xDD\x3F\x43"
24029 			  "\x61\x06\x8A\xDF\x86\x3F\xB4\xAC"
24030 			  "\x97\xDC\xBD\xFD\x92\x10\xC5\xFF",
24031 		.ilen	= 88,
24032 	}, {
24033 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24034 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
24035 			  "\xCA\xFE\xBA",
24036 		.klen	= 19,
24037 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24038 		.result	= "\x45\x00\x00\x3E\x69\x8F\x00\x00"
24039 			  "\x80\x11\x4D\xCC\xC0\xA8\x01\x02"
24040 			  "\xC0\xA8\x01\x01\x0A\x98\x00\x35"
24041 			  "\x00\x2A\x23\x43\xB2\xD0\x01\x00"
24042 			  "\x00\x01\x00\x00\x00\x00\x00\x00"
24043 			  "\x03\x73\x69\x70\x09\x63\x79\x62"
24044 			  "\x65\x72\x63\x69\x74\x79\x02\x64"
24045 			  "\x6B\x00\x00\x01\x00\x01\x00\x01",
24046 		.rlen	= 64,
24047 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
24048 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24049 		.alen	= 16,
24050 		.input	= "\x4B\xC2\x70\x60\x64\xD2\xF3\xC8"
24051 			  "\xE5\x26\x8A\xDE\xB8\x7E\x7D\x16"
24052 			  "\x56\xC7\xD2\x88\xBA\x8D\x58\xAF"
24053 			  "\xF5\x71\xB6\x37\x84\xA7\xB1\x99"
24054 			  "\x51\x5C\x0D\xA0\x27\xDE\xE7\x2D"
24055 			  "\xEF\x25\x88\x1F\x1D\x77\x11\xFF"
24056 			  "\xDB\xED\xEE\x56\x16\xC5\x5C\x9B"
24057 			  "\x00\x62\x1F\x68\x4E\x7C\xA0\x97"
24058 			  "\x10\x72\x7E\x53\x13\x3B\x68\xE4"
24059 			  "\x30\x99\x91\x79\x09\xEA\xFF\x6A",
24060 		.ilen	= 80,
24061 	}, {
24062 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24063 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24064 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24065 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24066 			  "\x11\x22\x33",
24067 		.klen	= 35,
24068 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
24069 		.result	= "\x45\x00\x00\x30\x69\xA6\x40\x00"
24070 			  "\x80\x06\x26\x90\xC0\xA8\x01\x02"
24071 			  "\x93\x89\x15\x5E\x0A\x9E\x00\x8B"
24072 			  "\x2D\xC5\x7E\xE0\x00\x00\x00\x00"
24073 			  "\x70\x02\x40\x00\x20\xBF\x00\x00"
24074 			  "\x02\x04\x05\xB4\x01\x01\x04\x02"
24075 			  "\x01\x02\x02\x01",
24076 		.rlen	= 52,
24077 		.assoc	= "\x4A\x2C\xBF\xE3\x00\x00\x00\x02"
24078 			  "\x01\x02\x03\x04\x05\x06\x07\x08",
24079 		.alen	= 16,
24080 		.input	= "\xD6\x31\x0D\x2B\x3D\x6F\xBD\x2F"
24081 			  "\x58\x41\x7E\xFF\x9A\x9E\x09\xB4"
24082 			  "\x1A\xF7\xF6\x42\x31\xCD\xBF\xAD"
24083 			  "\x27\x0E\x2C\xF2\xDB\x10\xDF\x55"
24084 			  "\x8F\x0D\xD7\xAC\x23\xBD\x42\x10"
24085 			  "\xD0\xB2\xAF\xD8\x37\xAC\x6B\x0B"
24086 			  "\x11\xD4\x0B\x12\xEC\xB4\xB1\x92"
24087 			  "\x23\xA6\x10\xB0\x26\xD6\xD9\x26"
24088 			  "\x5A\x48\x6A\x3E",
24089 		.ilen	= 68,
24090 	}, {
24091 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
24092 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
24093 			  "\x00\x00\x00",
24094 		.klen	= 19,
24095 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
24096 		.result	= "\x45\x00\x00\x3C\x99\xC5\x00\x00"
24097 			  "\x80\x01\xCB\x7A\x40\x67\x93\x18"
24098 			  "\x01\x01\x01\x01\x08\x00\x07\x5C"
24099 			  "\x02\x00\x44\x00\x61\x62\x63\x64"
24100 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24101 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24102 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
24103 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
24104 		.rlen	= 64,
24105 		.assoc	= "\x00\x00\x00\x00\x00\x00\x00\x01"
24106 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24107 		.alen	= 16,
24108 		.input	= "\x6B\x9A\xCA\x57\x43\x91\xFC\x6F"
24109 			  "\x92\x51\x23\xA4\xC1\x5B\xF0\x10"
24110 			  "\xF3\x13\xF4\xF8\xA1\x9A\xB4\xDC"
24111 			  "\x89\xC8\xF8\x42\x62\x95\xB7\xCB"
24112 			  "\xB8\xF5\x0F\x1B\x2E\x94\xA2\xA7"
24113 			  "\xBF\xFB\x8A\x92\x13\x63\xD1\x3C"
24114 			  "\x08\xF5\xE8\xA6\xAA\xF6\x34\xF9"
24115 			  "\x42\x05\xAF\xB3\xE7\x9A\xFC\xEE"
24116 			  "\x36\x25\xC1\x10\x12\x1C\xCA\x82"
24117 			  "\xEA\xE6\x63\x5A\x57\x28\xA9\x9A",
24118 		.ilen	= 80,
24119 	}, {
24120 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24121 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24122 			  "\x57\x69\x0E",
24123 		.klen	= 19,
24124 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24125 		.result	= "\x45\x00\x00\x3C\x99\xC3\x00\x00"
24126 			  "\x80\x01\xCB\x7C\x40\x67\x93\x18"
24127 			  "\x01\x01\x01\x01\x08\x00\x08\x5C"
24128 			  "\x02\x00\x43\x00\x61\x62\x63\x64"
24129 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24130 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24131 			  "\x75\x76\x77\x61\x62\x63\x64\x65"
24132 			  "\x66\x67\x68\x69\x01\x02\x02\x01",
24133 		.rlen	= 64,
24134 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24135 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24136 			  "\xA2\xFC\xA1\xA3",
24137 		.alen	= 20,
24138 		.input	= "\x6A\x6B\x45\x2B\x7C\x67\x52\xF6"
24139 			  "\x10\x60\x40\x62\x6B\x4F\x97\x8E"
24140 			  "\x0B\xB2\x22\x97\xCB\x21\xE0\x90"
24141 			  "\xA2\xE7\xD1\x41\x30\xE4\x4B\x1B"
24142 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
24143 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
24144 			  "\x30\xB8\xE5\xDF\xD7\x12\x56\x75"
24145 			  "\xD0\x95\xB7\xB8\x91\x42\xF7\xFD"
24146 			  "\x97\x57\xCA\xC1\x20\xD0\x86\xB9"
24147 			  "\x66\x9D\xB4\x2B\x96\x22\xAC\x67",
24148 		.ilen	= 80,
24149 	}, {
24150 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24151 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24152 			  "\x57\x69\x0E",
24153 		.klen	= 19,
24154 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24155 		.result	= "\x45\x00\x00\x1C\x42\xA2\x00\x00"
24156 			  "\x80\x01\x44\x1F\x40\x67\x93\xB6"
24157 			  "\xE0\x00\x00\x02\x0A\x00\xF5\xFF"
24158 			  "\x01\x02\x02\x01",
24159 		.rlen	= 28,
24160 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24161 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24162 			  "\xA2\xFC\xA1\xA3",
24163 		.alen	= 20,
24164 		.input	= "\x6A\x6B\x45\x0B\xA7\x06\x52\xF6"
24165 			  "\x10\x60\xCF\x01\x6B\x4F\x97\x20"
24166 			  "\xEA\xB3\x23\x94\xC9\x21\x1D\x33"
24167 			  "\xA1\xE5\x90\x40\x05\x37\x45\x70"
24168 			  "\xB5\xD6\x09\x0A\x23\x73\x33\xF9"
24169 			  "\x08\xB4\x22\xE4",
24170 		.ilen	= 44,
24171 	}, {
24172 		.key	= "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24173 			  "\x6D\x6A\x8F\x94\x67\x30\x83\x08"
24174 			  "\xFE\xFF\xE9\x92\x86\x65\x73\x1C"
24175 			  "\xCA\xFE\xBA",
24176 		.klen	= 27,
24177 		.iv	= "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24178 		.result	= "\x45\x00\x00\x28\xA4\xAD\x40\x00"
24179 			  "\x40\x06\x78\x80\x0A\x01\x03\x8F"
24180 			  "\x0A\x01\x06\x12\x80\x23\x06\xB8"
24181 			  "\xCB\x71\x26\x02\xDD\x6B\xB0\x3E"
24182 			  "\x50\x10\x16\xD0\x75\x68\x00\x01",
24183 		.rlen	= 40,
24184 		.assoc	= "\x00\x00\xA5\xF8\x00\x00\x00\x0A"
24185 			  "\xFA\xCE\xDB\xAD\xDE\xCA\xF8\x88",
24186 		.alen	= 16,
24187 		.input	= "\x05\x22\x15\xD1\x52\x56\x85\x04"
24188 			  "\xA8\x5C\x5D\x6D\x7E\x6E\xF5\xFA"
24189 			  "\xEA\x16\x37\x50\xF3\xDF\x84\x3B"
24190 			  "\x2F\x32\x18\x57\x34\x2A\x8C\x23"
24191 			  "\x67\xDF\x6D\x35\x7B\x54\x0D\xFB"
24192 			  "\x34\xA5\x9F\x6C\x48\x30\x1E\x22"
24193 			  "\xFE\xB1\x22\x17\x17\x8A\xB9\x5B",
24194 		.ilen	= 56,
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	= "\x45\x00\x00\x49\x33\xBA\x00\x00"
24202 			  "\x7F\x11\x91\x06\xC3\xFB\x1D\x10"
24203 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
24204 			  "\x00\x35\xDD\x7B\x80\x03\x02\xD5"
24205 			  "\x00\x00\x4E\x20\x00\x1E\x8C\x18"
24206 			  "\xD7\x5B\x81\xDC\x91\xBA\xA0\x47"
24207 			  "\x6B\x91\xB9\x24\xB2\x80\x38\x9D"
24208 			  "\x92\xC9\x63\xBA\xC0\x46\xEC\x95"
24209 			  "\x9B\x62\x66\xC0\x47\x22\xB1\x49"
24210 			  "\x23\x01\x01\x01",
24211 		.rlen	= 76,
24212 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
24213 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
24214 			  "\xCE\xFA\xCE\x74",
24215 		.alen	= 20,
24216 		.input	= "\x92\xD0\x53\x79\x33\x38\xD5\xF3"
24217 			  "\x7D\xE4\x7A\x8E\x86\x03\xC9\x90"
24218 			  "\x96\x35\xAB\x9C\xFB\xE8\xA3\x76"
24219 			  "\xE9\xE9\xE2\xD1\x2E\x11\x0E\x00"
24220 			  "\xFA\xCE\xB5\x9E\x02\xA7\x7B\xEA"
24221 			  "\x71\x9A\x58\xFB\xA5\x8A\xE1\xB7"
24222 			  "\x9C\x39\x9D\xE3\xB5\x6E\x69\xE6"
24223 			  "\x63\xC9\xDB\x05\x69\x51\x12\xAD"
24224 			  "\x3E\x00\x32\x73\x86\xF2\xEE\xF5"
24225 			  "\x0F\xE8\x81\x7E\x84\xD3\xC0\x0D"
24226 			  "\x76\xD6\x55\xC6\xB4\xC2\x34\xC7"
24227 			  "\x12\x25\x0B\xF9",
24228 		.ilen	= 92,
24229 	}, {
24230 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24231 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24232 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24233 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24234 			  "\x73\x61\x6C",
24235 		.klen	= 35,
24236 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
24237 		.result	= "\x45\x08\x00\x28\x73\x2C\x00\x00"
24238 			  "\x40\x06\xE9\xF9\x0A\x01\x06\x12"
24239 			  "\x0A\x01\x03\x8F\x06\xB8\x80\x23"
24240 			  "\xDD\x6B\xAF\xBE\xCB\x71\x26\x02"
24241 			  "\x50\x10\x1F\x64\x6D\x54\x00\x01",
24242 		.rlen	= 40,
24243 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
24244 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
24245 			  "\x69\x76\x65\x63",
24246 		.alen	= 20,
24247 		.input	= "\xCC\x74\xB7\xD3\xB0\x38\x50\x42"
24248 			  "\x2C\x64\x87\x46\x1E\x34\x10\x05"
24249 			  "\x29\x6B\xBB\x36\xE9\x69\xAD\x92"
24250 			  "\x82\xA1\x10\x6A\xEB\x0F\xDC\x7D"
24251 			  "\x08\xBA\xF3\x91\xCA\xAA\x61\xDA"
24252 			  "\x62\xF4\x14\x61\x5C\x9D\xB5\xA7"
24253 			  "\xEE\xD7\xB9\x7E\x87\x99\x9B\x7D",
24254 		.ilen	= 56,
24255 	}, {
24256 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24257 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24258 			  "\x57\x69\x0E",
24259 		.klen	= 19,
24260 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24261 		.result	= "\x45\x00\x00\x49\x33\x3E\x00\x00"
24262 			  "\x7F\x11\x91\x82\xC3\xFB\x1D\x10"
24263 			  "\xC2\xB1\xD3\x26\xC0\x28\x31\xCE"
24264 			  "\x00\x35\xCB\x45\x80\x03\x02\x5B"
24265 			  "\x00\x00\x01\xE0\x00\x1E\x8C\x18"
24266 			  "\xD6\x57\x59\xD5\x22\x84\xA0\x35"
24267 			  "\x2C\x71\x47\x5C\x88\x80\x39\x1C"
24268 			  "\x76\x4D\x6E\x5E\xE0\x49\x6B\x32"
24269 			  "\x5A\xE2\x70\xC0\x38\x99\x49\x39"
24270 			  "\x15\x01\x01\x01",
24271 		.rlen	= 76,
24272 		.assoc	= "\x42\xF6\x7E\x3F\x10\x10\x10\x10"
24273 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24274 			  "\xA2\xFC\xA1\xA3",
24275 		.alen	= 20,
24276 		.input	= "\x6A\x6B\x45\x5E\xD6\x9A\x52\xF6"
24277 			  "\xEF\x70\x1A\x9C\xE8\xD3\x19\x86"
24278 			  "\xC8\x02\xF0\xB0\x03\x09\xD9\x02"
24279 			  "\xA0\xD2\x59\x04\xD1\x85\x2A\x24"
24280 			  "\x1C\x67\x3E\xD8\x68\x72\x06\x94"
24281 			  "\x97\xBA\x4F\x76\x8D\xB0\x44\x5B"
24282 			  "\x69\xBF\xD5\xE2\x3D\xF1\x0B\x0C"
24283 			  "\xC0\xBF\xB1\x8F\x70\x09\x9E\xCE"
24284 			  "\xA5\xF2\x55\x58\x84\xFA\xF9\xB5"
24285 			  "\x23\xF4\x84\x40\x74\x14\x8A\x6B"
24286 			  "\xDB\xD7\x67\xED\xA4\x93\xF3\x47"
24287 			  "\xCC\xF7\x46\x6F",
24288 		.ilen	= 92,
24289 	}, {
24290 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24291 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24292 			  "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24293 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24294 			  "\x73\x61\x6C",
24295 		.klen	= 35,
24296 		.iv	= "\x61\x6E\x64\x01\x69\x76\x65\x63",
24297 		.result	= "\x63\x69\x73\x63\x6F\x01\x72\x75"
24298 			  "\x6C\x65\x73\x01\x74\x68\x65\x01"
24299 			  "\x6E\x65\x74\x77\x65\x01\x64\x65"
24300 			  "\x66\x69\x6E\x65\x01\x74\x68\x65"
24301 			  "\x74\x65\x63\x68\x6E\x6F\x6C\x6F"
24302 			  "\x67\x69\x65\x73\x01\x74\x68\x61"
24303 			  "\x74\x77\x69\x6C\x6C\x01\x64\x65"
24304 			  "\x66\x69\x6E\x65\x74\x6F\x6D\x6F"
24305 			  "\x72\x72\x6F\x77\x01\x02\x02\x01",
24306 		.rlen	= 72,
24307 		.assoc	= "\x17\x40\x5E\x67\x15\x6F\x31\x26"
24308 			  "\xDD\x0D\xB9\x9B\x61\x6E\x64\x01"
24309 			  "\x69\x76\x65\x63",
24310 		.alen	= 20,
24311 		.input	= "\xEA\x15\xC4\x98\xAC\x15\x22\x37"
24312 			  "\x00\x07\x1D\xBE\x60\x5D\x73\x16"
24313 			  "\x4D\x0F\xCC\xCE\x8A\xD0\x49\xD4"
24314 			  "\x39\xA3\xD1\xB1\x21\x0A\x92\x1A"
24315 			  "\x2C\xCF\x8F\x9D\xC9\x91\x0D\xB4"
24316 			  "\x15\xFC\xBC\xA5\xC5\xBF\x54\xE5"
24317 			  "\x1C\xC7\x32\x41\x07\x7B\x2C\xB6"
24318 			  "\x5C\x23\x7C\x93\xEA\xEF\x23\x1C"
24319 			  "\x73\xF4\xE7\x12\x84\x4C\x37\x0A"
24320 			  "\x4A\x8F\x06\x37\x48\xF9\xF9\x05"
24321 			  "\x55\x13\x40\xC3\xD5\x55\x3A\x3D",
24322 		.ilen	= 88,
24323 	}, {
24324 		.key	= "\x7D\x77\x3D\x00\xC1\x44\xC5\x25"
24325 			  "\xAC\x61\x9D\x18\xC8\x4A\x3F\x47"
24326 			  "\xD9\x66\x42",
24327 		.klen	= 19,
24328 		.iv	= "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
24329 		.result	= "\x01\x02\x02\x01",
24330 		.rlen	= 4,
24331 		.assoc	= "\x33\x54\x67\xAE\xFF\xFF\xFF\xFF"
24332 			  "\x43\x45\x7E\x91\x82\x44\x3B\xC6",
24333 		.alen	= 16,
24334 		.input	= "\x4C\x72\x63\x30\x2F\xE6\x56\xDD"
24335 			  "\xD0\xD8\x60\x9D\x8B\xEF\x85\x90"
24336 			  "\xF7\x61\x24\x62",
24337 		.ilen	= 20,
24338 	}, {
24339 		.key	= "\xAB\xBC\xCD\xDE\xF0\x01\x12\x23"
24340 			  "\x34\x45\x56\x67\x78\x89\x9A\xAB"
24341 			  "\xDE\xCA\xF8",
24342 		.klen	= 19,
24343 		.iv	= "\xCA\xFE\xDE\xBA\xCE\xFA\xCE\x74",
24344 		.result	= "\x74\x6F\x01\x62\x65\x01\x6F\x72"
24345 			  "\x01\x6E\x6F\x74\x01\x74\x6F\x01"
24346 			  "\x62\x65\x00\x01",
24347 		.rlen	= 20,
24348 		.assoc	= "\x00\x00\x01\x00\x00\x00\x00\x00"
24349 			  "\x00\x00\x00\x01\xCA\xFE\xDE\xBA"
24350 			  "\xCE\xFA\xCE\x74",
24351 		.alen	= 20,
24352 		.input	= "\xA3\xBF\x52\x52\x65\x83\xBA\x81"
24353 			  "\x03\x9B\x84\xFC\x44\x8C\xBB\x81"
24354 			  "\x36\xE1\x78\xBB\xA5\x49\x3A\xD0"
24355 			  "\xF0\x6B\x21\xAF\x98\xC0\x34\xDC"
24356 			  "\x17\x17\x65\xAD",
24357 		.ilen	= 36,
24358 	}, {
24359 		.key	= "\x6C\x65\x67\x61\x6C\x69\x7A\x65"
24360 			  "\x6D\x61\x72\x69\x6A\x75\x61\x6E"
24361 			  "\x61\x61\x6E\x64\x64\x6F\x69\x74"
24362 			  "\x62\x65\x66\x6F\x72\x65\x69\x61"
24363 			  "\x74\x75\x72",
24364 		.klen	= 35,
24365 		.iv	= "\x33\x30\x21\x69\x67\x65\x74\x6D",
24366 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
24367 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
24368 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
24369 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
24370 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24371 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24372 			  "\x01\x02\x02\x01",
24373 		.rlen	= 52,
24374 		.assoc	= "\x79\x6B\x69\x63\xFF\xFF\xFF\xFF"
24375 			  "\xFF\xFF\xFF\xFF\x33\x30\x21\x69"
24376 			  "\x67\x65\x74\x6D",
24377 		.alen	= 20,
24378 		.input	= "\x96\xFD\x86\xF8\xD1\x98\xFF\x10"
24379 			  "\xAB\x8C\xDA\x8A\x5A\x08\x38\x1A"
24380 			  "\x48\x59\x80\x18\x1A\x18\x1A\x04"
24381 			  "\xC9\x0D\xE3\xE7\x0E\xA4\x0B\x75"
24382 			  "\x92\x9C\x52\x5C\x0B\xFB\xF8\xAF"
24383 			  "\x16\xC3\x35\xA8\xE7\xCE\x84\x04"
24384 			  "\xEB\x40\x6B\x7A\x8E\x75\xBB\x42"
24385 			  "\xE0\x63\x4B\x21\x44\xA2\x2B\x2B"
24386 			  "\x39\xDB\xC8\xDC",
24387 		.ilen	= 68,
24388 	}, {
24389 		.key	= "\x3D\xE0\x98\x74\xB3\x88\xE6\x49"
24390 			  "\x19\x88\xD0\xC3\x60\x7E\xAE\x1F"
24391 			  "\x57\x69\x0E",
24392 		.klen	= 19,
24393 		.iv	= "\x4E\x28\x00\x00\xA2\xFC\xA1\xA3",
24394 		.result	= "\x45\x00\x00\x30\xDA\x3A\x00\x00"
24395 			  "\x80\x01\xDF\x3B\xC0\xA8\x00\x05"
24396 			  "\xC0\xA8\x00\x01\x08\x00\xC6\xCD"
24397 			  "\x02\x00\x07\x00\x61\x62\x63\x64"
24398 			  "\x65\x66\x67\x68\x69\x6A\x6B\x6C"
24399 			  "\x6D\x6E\x6F\x70\x71\x72\x73\x74"
24400 			  "\x01\x02\x02\x01",
24401 		.rlen	= 52,
24402 		.assoc	= "\x3F\x7E\xF6\x42\x10\x10\x10\x10"
24403 			  "\x10\x10\x10\x10\x4E\x28\x00\x00"
24404 			  "\xA2\xFC\xA1\xA3",
24405 		.alen	= 20,
24406 		.input	= "\x6A\x6B\x45\x27\x3F\x9E\x52\xF6"
24407 			  "\x10\x60\x54\x25\xEB\x80\x04\x93"
24408 			  "\xCA\x1B\x23\x97\xCB\x21\x2E\x01"
24409 			  "\xA2\xE7\x95\x41\x30\xE4\x4B\x1B"
24410 			  "\x79\x01\x58\x50\x01\x06\xE1\xE0"
24411 			  "\x2C\x83\x79\xD3\xDE\x46\x97\x1A"
24412 			  "\x44\xCC\x90\xBF\x00\x94\x94\x92"
24413 			  "\x20\x17\x0C\x1B\x55\xDE\x7E\x68"
24414 			  "\xF4\x95\x5D\x4F",
24415 		.ilen	= 68,
24416 	}, {
24417 		.key	= "\x4C\x80\xCD\xEF\xBB\x5D\x10\xDA"
24418 			  "\x90\x6A\xC7\x3C\x36\x13\xA6\x34"
24419 			  "\x22\x43\x3C",
24420 		.klen	= 19,
24421 		.iv	= "\x48\x55\xEC\x7D\x3A\x23\x4B\xFD",
24422 		.result	= "\x08\x00\xC6\xCD\x02\x00\x07\x00"
24423 			  "\x61\x62\x63\x64\x65\x66\x67\x68"
24424 			  "\x69\x6A\x6B\x6C\x6D\x6E\x6F\x70"
24425 			  "\x71\x72\x73\x74\x01\x02\x02\x01",
24426 		.rlen	= 32,
24427 		.assoc	= "\x00\x00\x43\x21\x87\x65\x43\x21"
24428 			  "\x00\x00\x00\x07\x48\x55\xEC\x7D"
24429 			  "\x3A\x23\x4B\xFD",
24430 		.alen	= 20,
24431 		.input	= "\x67\xE9\x28\xB3\x1C\xA4\x6D\x02"
24432 			  "\xF0\xB5\x37\xB6\x6B\x2F\xF5\x4F"
24433 			  "\xF8\xA3\x4C\x53\xB8\x12\x09\xBF"
24434 			  "\x58\x7D\xCF\x29\xA3\x41\x68\x6B"
24435 			  "\xCE\xE8\x79\x85\x3C\xB0\x3A\x8F"
24436 			  "\x16\xB0\xA1\x26\xC9\xBC\xBC\xA6",
24437 		.ilen	= 48,
24438 	}
24439 };
24440 
24441 /*
24442  * ChaCha20-Poly1305 AEAD test vectors from RFC7539 2.8.2./A.5.
24443  */
24444 static const struct aead_testvec rfc7539_enc_tv_template[] = {
24445 	{
24446 		.key	= "\x80\x81\x82\x83\x84\x85\x86\x87"
24447 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24448 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
24449 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
24450 		.klen	= 32,
24451 		.iv	= "\x07\x00\x00\x00\x40\x41\x42\x43"
24452 			  "\x44\x45\x46\x47",
24453 		.assoc	= "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
24454 			  "\xc4\xc5\xc6\xc7",
24455 		.alen	= 12,
24456 		.input	= "\x4c\x61\x64\x69\x65\x73\x20\x61"
24457 			  "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
24458 			  "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
24459 			  "\x74\x68\x65\x20\x63\x6c\x61\x73"
24460 			  "\x73\x20\x6f\x66\x20\x27\x39\x39"
24461 			  "\x3a\x20\x49\x66\x20\x49\x20\x63"
24462 			  "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
24463 			  "\x65\x72\x20\x79\x6f\x75\x20\x6f"
24464 			  "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
24465 			  "\x74\x69\x70\x20\x66\x6f\x72\x20"
24466 			  "\x74\x68\x65\x20\x66\x75\x74\x75"
24467 			  "\x72\x65\x2c\x20\x73\x75\x6e\x73"
24468 			  "\x63\x72\x65\x65\x6e\x20\x77\x6f"
24469 			  "\x75\x6c\x64\x20\x62\x65\x20\x69"
24470 			  "\x74\x2e",
24471 		.ilen	= 114,
24472 		.result	= "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
24473 			  "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
24474 			  "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
24475 			  "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
24476 			  "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
24477 			  "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
24478 			  "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
24479 			  "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
24480 			  "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
24481 			  "\x98\x03\xae\xe3\x28\x09\x1b\x58"
24482 			  "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
24483 			  "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
24484 			  "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
24485 			  "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
24486 			  "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
24487 			  "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
24488 			  "\x06\x91",
24489 		.rlen	= 130,
24490 	}, {
24491 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24492 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24493 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24494 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
24495 		.klen	= 32,
24496 		.iv	= "\x00\x00\x00\x00\x01\x02\x03\x04"
24497 			  "\x05\x06\x07\x08",
24498 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
24499 			  "\x00\x00\x4e\x91",
24500 		.alen	= 12,
24501 		.input	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24502 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
24503 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
24504 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24505 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24506 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
24507 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24508 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24509 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24510 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
24511 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
24512 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24513 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24514 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24515 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
24516 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24517 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
24518 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24519 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
24520 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24521 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
24522 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
24523 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24524 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
24525 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
24526 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
24527 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24528 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
24529 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24530 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
24531 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24532 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24533 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24534 			  "\x9d",
24535 		.ilen	= 265,
24536 		.result	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24537 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24538 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24539 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24540 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24541 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24542 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24543 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24544 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24545 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24546 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24547 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24548 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24549 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24550 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24551 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24552 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24553 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24554 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24555 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24556 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24557 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24558 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24559 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24560 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24561 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24562 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24563 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24564 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24565 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24566 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24567 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24568 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24569 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24570 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24571 			  "\x38",
24572 		.rlen	= 281,
24573 	},
24574 };
24575 
24576 static const struct aead_testvec rfc7539_dec_tv_template[] = {
24577 	{
24578 		.key	= "\x80\x81\x82\x83\x84\x85\x86\x87"
24579 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
24580 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
24581 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f",
24582 		.klen	= 32,
24583 		.iv	= "\x07\x00\x00\x00\x40\x41\x42\x43"
24584 			  "\x44\x45\x46\x47",
24585 		.assoc	= "\x50\x51\x52\x53\xc0\xc1\xc2\xc3"
24586 			  "\xc4\xc5\xc6\xc7",
24587 		.alen	= 12,
24588 		.input	= "\xd3\x1a\x8d\x34\x64\x8e\x60\xdb"
24589 			  "\x7b\x86\xaf\xbc\x53\xef\x7e\xc2"
24590 			  "\xa4\xad\xed\x51\x29\x6e\x08\xfe"
24591 			  "\xa9\xe2\xb5\xa7\x36\xee\x62\xd6"
24592 			  "\x3d\xbe\xa4\x5e\x8c\xa9\x67\x12"
24593 			  "\x82\xfa\xfb\x69\xda\x92\x72\x8b"
24594 			  "\x1a\x71\xde\x0a\x9e\x06\x0b\x29"
24595 			  "\x05\xd6\xa5\xb6\x7e\xcd\x3b\x36"
24596 			  "\x92\xdd\xbd\x7f\x2d\x77\x8b\x8c"
24597 			  "\x98\x03\xae\xe3\x28\x09\x1b\x58"
24598 			  "\xfa\xb3\x24\xe4\xfa\xd6\x75\x94"
24599 			  "\x55\x85\x80\x8b\x48\x31\xd7\xbc"
24600 			  "\x3f\xf4\xde\xf0\x8e\x4b\x7a\x9d"
24601 			  "\xe5\x76\xd2\x65\x86\xce\xc6\x4b"
24602 			  "\x61\x16\x1a\xe1\x0b\x59\x4f\x09"
24603 			  "\xe2\x6a\x7e\x90\x2e\xcb\xd0\x60"
24604 			  "\x06\x91",
24605 		.ilen	= 130,
24606 		.result	= "\x4c\x61\x64\x69\x65\x73\x20\x61"
24607 			  "\x6e\x64\x20\x47\x65\x6e\x74\x6c"
24608 			  "\x65\x6d\x65\x6e\x20\x6f\x66\x20"
24609 			  "\x74\x68\x65\x20\x63\x6c\x61\x73"
24610 			  "\x73\x20\x6f\x66\x20\x27\x39\x39"
24611 			  "\x3a\x20\x49\x66\x20\x49\x20\x63"
24612 			  "\x6f\x75\x6c\x64\x20\x6f\x66\x66"
24613 			  "\x65\x72\x20\x79\x6f\x75\x20\x6f"
24614 			  "\x6e\x6c\x79\x20\x6f\x6e\x65\x20"
24615 			  "\x74\x69\x70\x20\x66\x6f\x72\x20"
24616 			  "\x74\x68\x65\x20\x66\x75\x74\x75"
24617 			  "\x72\x65\x2c\x20\x73\x75\x6e\x73"
24618 			  "\x63\x72\x65\x65\x6e\x20\x77\x6f"
24619 			  "\x75\x6c\x64\x20\x62\x65\x20\x69"
24620 			  "\x74\x2e",
24621 		.rlen	= 114,
24622 	}, {
24623 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24624 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24625 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24626 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
24627 		.klen	= 32,
24628 		.iv	= "\x00\x00\x00\x00\x01\x02\x03\x04"
24629 			  "\x05\x06\x07\x08",
24630 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
24631 			  "\x00\x00\x4e\x91",
24632 		.alen	= 12,
24633 		.input	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24634 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24635 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24636 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24637 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24638 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24639 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24640 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24641 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24642 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24643 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24644 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24645 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24646 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24647 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24648 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24649 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24650 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24651 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24652 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24653 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24654 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24655 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24656 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24657 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24658 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24659 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24660 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24661 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24662 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24663 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24664 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24665 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24666 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24667 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24668 			  "\x38",
24669 		.ilen	= 281,
24670 		.result	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24671 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
24672 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
24673 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24674 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24675 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
24676 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24677 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24678 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24679 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
24680 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
24681 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24682 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24683 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24684 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
24685 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24686 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
24687 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24688 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
24689 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24690 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
24691 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
24692 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24693 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
24694 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
24695 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
24696 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24697 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
24698 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24699 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
24700 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24701 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24702 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24703 			  "\x9d",
24704 		.rlen	= 265,
24705 	},
24706 };
24707 
24708 /*
24709  * draft-irtf-cfrg-chacha20-poly1305
24710  */
24711 static const struct aead_testvec rfc7539esp_enc_tv_template[] = {
24712 	{
24713 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24714 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24715 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24716 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
24717 			  "\x00\x00\x00\x00",
24718 		.klen	= 36,
24719 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
24720 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
24721 			  "\x00\x00\x4e\x91\x01\x02\x03\x04"
24722 			  "\x05\x06\x07\x08",
24723 		.alen	= 20,
24724 		.input	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24725 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
24726 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
24727 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24728 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24729 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
24730 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24731 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24732 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24733 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
24734 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
24735 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24736 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24737 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24738 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
24739 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24740 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
24741 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24742 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
24743 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24744 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
24745 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
24746 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24747 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
24748 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
24749 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
24750 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24751 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
24752 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24753 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
24754 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24755 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24756 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24757 			  "\x9d",
24758 		.ilen	= 265,
24759 		.result	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24760 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24761 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24762 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24763 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24764 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24765 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24766 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24767 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24768 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24769 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24770 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24771 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24772 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24773 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24774 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24775 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24776 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24777 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24778 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24779 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24780 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24781 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24782 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24783 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24784 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24785 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24786 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24787 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24788 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24789 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24790 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24791 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24792 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24793 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24794 			  "\x38",
24795 		.rlen	= 281,
24796 	},
24797 };
24798 
24799 static const struct aead_testvec rfc7539esp_dec_tv_template[] = {
24800 	{
24801 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
24802 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
24803 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
24804 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0"
24805 			  "\x00\x00\x00\x00",
24806 		.klen	= 36,
24807 		.iv	= "\x01\x02\x03\x04\x05\x06\x07\x08",
24808 		.assoc	= "\xf3\x33\x88\x86\x00\x00\x00\x00"
24809 			  "\x00\x00\x4e\x91\x01\x02\x03\x04"
24810 			  "\x05\x06\x07\x08",
24811 		.alen	= 20,
24812 		.input	= "\x64\xa0\x86\x15\x75\x86\x1a\xf4"
24813 			  "\x60\xf0\x62\xc7\x9b\xe6\x43\xbd"
24814 			  "\x5e\x80\x5c\xfd\x34\x5c\xf3\x89"
24815 			  "\xf1\x08\x67\x0a\xc7\x6c\x8c\xb2"
24816 			  "\x4c\x6c\xfc\x18\x75\x5d\x43\xee"
24817 			  "\xa0\x9e\xe9\x4e\x38\x2d\x26\xb0"
24818 			  "\xbd\xb7\xb7\x3c\x32\x1b\x01\x00"
24819 			  "\xd4\xf0\x3b\x7f\x35\x58\x94\xcf"
24820 			  "\x33\x2f\x83\x0e\x71\x0b\x97\xce"
24821 			  "\x98\xc8\xa8\x4a\xbd\x0b\x94\x81"
24822 			  "\x14\xad\x17\x6e\x00\x8d\x33\xbd"
24823 			  "\x60\xf9\x82\xb1\xff\x37\xc8\x55"
24824 			  "\x97\x97\xa0\x6e\xf4\xf0\xef\x61"
24825 			  "\xc1\x86\x32\x4e\x2b\x35\x06\x38"
24826 			  "\x36\x06\x90\x7b\x6a\x7c\x02\xb0"
24827 			  "\xf9\xf6\x15\x7b\x53\xc8\x67\xe4"
24828 			  "\xb9\x16\x6c\x76\x7b\x80\x4d\x46"
24829 			  "\xa5\x9b\x52\x16\xcd\xe7\xa4\xe9"
24830 			  "\x90\x40\xc5\xa4\x04\x33\x22\x5e"
24831 			  "\xe2\x82\xa1\xb0\xa0\x6c\x52\x3e"
24832 			  "\xaf\x45\x34\xd7\xf8\x3f\xa1\x15"
24833 			  "\x5b\x00\x47\x71\x8c\xbc\x54\x6a"
24834 			  "\x0d\x07\x2b\x04\xb3\x56\x4e\xea"
24835 			  "\x1b\x42\x22\x73\xf5\x48\x27\x1a"
24836 			  "\x0b\xb2\x31\x60\x53\xfa\x76\x99"
24837 			  "\x19\x55\xeb\xd6\x31\x59\x43\x4e"
24838 			  "\xce\xbb\x4e\x46\x6d\xae\x5a\x10"
24839 			  "\x73\xa6\x72\x76\x27\x09\x7a\x10"
24840 			  "\x49\xe6\x17\xd9\x1d\x36\x10\x94"
24841 			  "\xfa\x68\xf0\xff\x77\x98\x71\x30"
24842 			  "\x30\x5b\xea\xba\x2e\xda\x04\xdf"
24843 			  "\x99\x7b\x71\x4d\x6c\x6f\x2c\x29"
24844 			  "\xa6\xad\x5c\xb4\x02\x2b\x02\x70"
24845 			  "\x9b\xee\xad\x9d\x67\x89\x0c\xbb"
24846 			  "\x22\x39\x23\x36\xfe\xa1\x85\x1f"
24847 			  "\x38",
24848 		.ilen	= 281,
24849 		.result	= "\x49\x6e\x74\x65\x72\x6e\x65\x74"
24850 			  "\x2d\x44\x72\x61\x66\x74\x73\x20"
24851 			  "\x61\x72\x65\x20\x64\x72\x61\x66"
24852 			  "\x74\x20\x64\x6f\x63\x75\x6d\x65"
24853 			  "\x6e\x74\x73\x20\x76\x61\x6c\x69"
24854 			  "\x64\x20\x66\x6f\x72\x20\x61\x20"
24855 			  "\x6d\x61\x78\x69\x6d\x75\x6d\x20"
24856 			  "\x6f\x66\x20\x73\x69\x78\x20\x6d"
24857 			  "\x6f\x6e\x74\x68\x73\x20\x61\x6e"
24858 			  "\x64\x20\x6d\x61\x79\x20\x62\x65"
24859 			  "\x20\x75\x70\x64\x61\x74\x65\x64"
24860 			  "\x2c\x20\x72\x65\x70\x6c\x61\x63"
24861 			  "\x65\x64\x2c\x20\x6f\x72\x20\x6f"
24862 			  "\x62\x73\x6f\x6c\x65\x74\x65\x64"
24863 			  "\x20\x62\x79\x20\x6f\x74\x68\x65"
24864 			  "\x72\x20\x64\x6f\x63\x75\x6d\x65"
24865 			  "\x6e\x74\x73\x20\x61\x74\x20\x61"
24866 			  "\x6e\x79\x20\x74\x69\x6d\x65\x2e"
24867 			  "\x20\x49\x74\x20\x69\x73\x20\x69"
24868 			  "\x6e\x61\x70\x70\x72\x6f\x70\x72"
24869 			  "\x69\x61\x74\x65\x20\x74\x6f\x20"
24870 			  "\x75\x73\x65\x20\x49\x6e\x74\x65"
24871 			  "\x72\x6e\x65\x74\x2d\x44\x72\x61"
24872 			  "\x66\x74\x73\x20\x61\x73\x20\x72"
24873 			  "\x65\x66\x65\x72\x65\x6e\x63\x65"
24874 			  "\x20\x6d\x61\x74\x65\x72\x69\x61"
24875 			  "\x6c\x20\x6f\x72\x20\x74\x6f\x20"
24876 			  "\x63\x69\x74\x65\x20\x74\x68\x65"
24877 			  "\x6d\x20\x6f\x74\x68\x65\x72\x20"
24878 			  "\x74\x68\x61\x6e\x20\x61\x73\x20"
24879 			  "\x2f\xe2\x80\x9c\x77\x6f\x72\x6b"
24880 			  "\x20\x69\x6e\x20\x70\x72\x6f\x67"
24881 			  "\x72\x65\x73\x73\x2e\x2f\xe2\x80"
24882 			  "\x9d",
24883 		.rlen	= 265,
24884 	},
24885 };
24886 
24887 /*
24888  * All key wrapping test vectors taken from
24889  * http://csrc.nist.gov/groups/STM/cavp/documents/mac/kwtestvectors.zip
24890  *
24891  * Note: as documented in keywrap.c, the ivout for encryption is the first
24892  * semiblock of the ciphertext from the test vector. For decryption, iv is
24893  * the first semiblock of the ciphertext.
24894  */
24895 static const struct cipher_testvec aes_kw_enc_tv_template[] = {
24896 	{
24897 		.key	= "\x75\x75\xda\x3a\x93\x60\x7c\xc2"
24898 			  "\xbf\xd8\xce\xc7\xaa\xdf\xd9\xa6",
24899 		.klen	= 16,
24900 		.input	= "\x42\x13\x6d\x3c\x38\x4a\x3e\xea"
24901 			  "\xc9\x5a\x06\x6f\xd2\x8f\xed\x3f",
24902 		.ilen	= 16,
24903 		.result	= "\xf6\x85\x94\x81\x6f\x64\xca\xa3"
24904 			  "\xf5\x6f\xab\xea\x25\x48\xf5\xfb",
24905 		.rlen	= 16,
24906 		.iv_out	= "\x03\x1f\x6b\xd7\xe6\x1e\x64\x3d",
24907 	},
24908 };
24909 
24910 static const struct cipher_testvec aes_kw_dec_tv_template[] = {
24911 	{
24912 		.key	= "\x80\xaa\x99\x73\x27\xa4\x80\x6b"
24913 			  "\x6a\x7a\x41\xa5\x2b\x86\xc3\x71"
24914 			  "\x03\x86\xf9\x32\x78\x6e\xf7\x96"
24915 			  "\x76\xfa\xfb\x90\xb8\x26\x3c\x5f",
24916 		.klen	= 32,
24917 		.input	= "\xd3\x3d\x3d\x97\x7b\xf0\xa9\x15"
24918 			  "\x59\xf9\x9c\x8a\xcd\x29\x3d\x43",
24919 		.ilen	= 16,
24920 		.result	= "\x0a\x25\x6b\xa7\x5c\xfa\x03\xaa"
24921 			  "\xa0\x2b\xa9\x42\x03\xf1\x5b\xaa",
24922 		.rlen	= 16,
24923 		.iv	= "\x42\x3c\x96\x0d\x8a\x2a\xc4\xc1",
24924 	},
24925 };
24926 
24927 /*
24928  * ANSI X9.31 Continuous Pseudo-Random Number Generator (AES mode)
24929  * test vectors, taken from Appendix B.2.9 and B.2.10:
24930  *     http://csrc.nist.gov/groups/STM/cavp/documents/rng/RNGVS.pdf
24931  * Only AES-128 is supported at this time.
24932  */
24933 static const struct cprng_testvec ansi_cprng_aes_tv_template[] = {
24934 	{
24935 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24936 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24937 		.klen	= 16,
24938 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24939 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xf9",
24940 		.dtlen	= 16,
24941 		.v	= "\x80\x00\x00\x00\x00\x00\x00\x00"
24942 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24943 		.vlen	= 16,
24944 		.result	= "\x59\x53\x1e\xd1\x3b\xb0\xc0\x55"
24945 			  "\x84\x79\x66\x85\xc1\x2f\x76\x41",
24946 		.rlen	= 16,
24947 		.loops	= 1,
24948 	}, {
24949 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24950 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24951 		.klen	= 16,
24952 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24953 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfa",
24954 		.dtlen	= 16,
24955 		.v	= "\xc0\x00\x00\x00\x00\x00\x00\x00"
24956 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24957 		.vlen	= 16,
24958 		.result	= "\x7c\x22\x2c\xf4\xca\x8f\xa2\x4c"
24959 			  "\x1c\x9c\xb6\x41\xa9\xf3\x22\x0d",
24960 		.rlen	= 16,
24961 		.loops	= 1,
24962 	}, {
24963 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24964 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24965 		.klen	= 16,
24966 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24967 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfb",
24968 		.dtlen	= 16,
24969 		.v	= "\xe0\x00\x00\x00\x00\x00\x00\x00"
24970 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24971 		.vlen	= 16,
24972 		.result	= "\x8a\xaa\x00\x39\x66\x67\x5b\xe5"
24973 			  "\x29\x14\x28\x81\xa9\x4d\x4e\xc7",
24974 		.rlen	= 16,
24975 		.loops	= 1,
24976 	}, {
24977 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24978 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24979 		.klen	= 16,
24980 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24981 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfc",
24982 		.dtlen	= 16,
24983 		.v	= "\xf0\x00\x00\x00\x00\x00\x00\x00"
24984 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24985 		.vlen	= 16,
24986 		.result	= "\x88\xdd\xa4\x56\x30\x24\x23\xe5"
24987 			  "\xf6\x9d\xa5\x7e\x7b\x95\xc7\x3a",
24988 		.rlen	= 16,
24989 		.loops	= 1,
24990 	}, {
24991 		.key	= "\xf3\xb1\x66\x6d\x13\x60\x72\x42"
24992 			  "\xed\x06\x1c\xab\xb8\xd4\x62\x02",
24993 		.klen	= 16,
24994 		.dt	= "\xe6\xb3\xbe\x78\x2a\x23\xfa\x62"
24995 			  "\xd7\x1d\x4a\xfb\xb0\xe9\x22\xfd",
24996 		.dtlen	= 16,
24997 		.v	= "\xf8\x00\x00\x00\x00\x00\x00\x00"
24998 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
24999 		.vlen	= 16,
25000 		.result	= "\x05\x25\x92\x46\x61\x79\xd2\xcb"
25001 			  "\x78\xc4\x0b\x14\x0a\x5a\x9a\xc8",
25002 		.rlen	= 16,
25003 		.loops	= 1,
25004 	}, {	/* Monte Carlo Test */
25005 		.key	= "\x9f\x5b\x51\x20\x0b\xf3\x34\xb5"
25006 			  "\xd8\x2b\xe8\xc3\x72\x55\xc8\x48",
25007 		.klen	= 16,
25008 		.dt	= "\x63\x76\xbb\xe5\x29\x02\xba\x3b"
25009 			  "\x67\xc9\x25\xfa\x70\x1f\x11\xac",
25010 		.dtlen	= 16,
25011 		.v	= "\x57\x2c\x8e\x76\x87\x26\x47\x97"
25012 			  "\x7e\x74\xfb\xdd\xc4\x95\x01\xd1",
25013 		.vlen	= 16,
25014 		.result	= "\x48\xe9\xbd\x0d\x06\xee\x18\xfb"
25015 			  "\xe4\x57\x90\xd5\xc3\xfc\x9b\x73",
25016 		.rlen	= 16,
25017 		.loops	= 10000,
25018 	},
25019 };
25020 
25021 /*
25022  * SP800-90A DRBG Test vectors from
25023  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
25024  *
25025  * Test vectors for DRBG with prediction resistance. All types of DRBGs
25026  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
25027  * w/o personalization string, w/ and w/o additional input string).
25028  */
25029 static const struct drbg_testvec drbg_pr_sha256_tv_template[] = {
25030 	{
25031 		.entropy = (unsigned char *)
25032 			"\x72\x88\x4c\xcd\x6c\x85\x57\x70\xf7\x0b\x8b\x86"
25033 			"\xc1\xeb\xd2\x4e\x36\x14\xab\x18\xc4\x9c\xc9\xcf"
25034 			"\x1a\xe8\xf7\x7b\x02\x49\x73\xd7\xf1\x42\x7d\xc6"
25035 			"\x3f\x29\x2d\xec\xd3\x66\x51\x3f\x1d\x8d\x5b\x4e",
25036 		.entropylen = 48,
25037 		.entpra = (unsigned char *)
25038 			"\x38\x9c\x91\xfa\xc2\xa3\x46\x89\x56\x08\x3f\x62"
25039 			"\x73\xd5\x22\xa9\x29\x63\x3a\x1d\xe5\x5d\x5e\x4f"
25040 			"\x67\xb0\x67\x7a\x5e\x9e\x0c\x62",
25041 		.entprb = (unsigned char *)
25042 			"\xb2\x8f\x36\xb2\xf6\x8d\x39\x13\xfa\x6c\x66\xcf"
25043 			"\x62\x8a\x7e\x8c\x12\x33\x71\x9c\x69\xe4\xa5\xf0"
25044 			"\x8c\xee\xeb\x9c\xf5\x31\x98\x31",
25045 		.entprlen = 32,
25046 		.expected = (unsigned char *)
25047 			"\x52\x7b\xa3\xad\x71\x77\xa4\x49\x42\x04\x61\xc7"
25048 			"\xf0\xaf\xa5\xfd\xd3\xb3\x0d\x6a\x61\xba\x35\x49"
25049 			"\xbb\xaa\xaf\xe4\x25\x7d\xb5\x48\xaf\x5c\x18\x3d"
25050 			"\x33\x8d\x9d\x45\xdf\x98\xd5\x94\xa8\xda\x92\xfe"
25051 			"\xc4\x3c\x94\x2a\xcf\x7f\x7b\xf2\xeb\x28\xa9\xf1"
25052 			"\xe0\x86\x30\xa8\xfe\xf2\x48\x90\x91\x0c\x75\xb5"
25053 			"\x3c\x00\xf0\x4d\x09\x4f\x40\xa7\xa2\x8c\x52\xdf"
25054 			"\x52\xef\x17\xbf\x3d\xd1\xa2\x31\xb4\xb8\xdc\xe6"
25055 			"\x5b\x0d\x1f\x78\x36\xb4\xe6\x4b\xa7\x11\x25\xd5"
25056 			"\x94\xc6\x97\x36\xab\xf0\xe5\x31\x28\x6a\xbb\xce"
25057 			"\x30\x81\xa6\x8f\x27\x14\xf8\x1c",
25058 		.expectedlen = 128,
25059 		.addtla = NULL,
25060 		.addtlb = NULL,
25061 		.addtllen = 0,
25062 		.pers = NULL,
25063 		.perslen = 0,
25064 	}, {
25065 		.entropy = (unsigned char *)
25066 			"\x5d\xf2\x14\xbc\xf6\xb5\x4e\x0b\xf0\x0d\x6f\x2d"
25067 			"\xe2\x01\x66\x7b\xd0\xa4\x73\xa4\x21\xdd\xb0\xc0"
25068 			"\x51\x79\x09\xf4\xea\xa9\x08\xfa\xa6\x67\xe0\xe1"
25069 			"\xd1\x88\xa8\xad\xee\x69\x74\xb3\x55\x06\x9b\xf6",
25070 		.entropylen = 48,
25071 		.entpra = (unsigned char *)
25072 			"\xef\x48\x06\xa2\xc2\x45\xf1\x44\xfa\x34\x2c\xeb"
25073 			"\x8d\x78\x3c\x09\x8f\x34\x72\x20\xf2\xe7\xfd\x13"
25074 			"\x76\x0a\xf6\xdc\x3c\xf5\xc0\x15",
25075 		.entprb = (unsigned char *)
25076 			"\x4b\xbe\xe5\x24\xed\x6a\x2d\x0c\xdb\x73\x5e\x09"
25077 			"\xf9\xad\x67\x7c\x51\x47\x8b\x6b\x30\x2a\xc6\xde"
25078 			"\x76\xaa\x55\x04\x8b\x0a\x72\x95",
25079 		.entprlen = 32,
25080 		.expected = (unsigned char *)
25081 			"\x3b\x14\x71\x99\xa1\xda\xa0\x42\xe6\xc8\x85\x32"
25082 			"\x70\x20\x32\x53\x9a\xbe\xd1\x1e\x15\xef\xfb\x4c"
25083 			"\x25\x6e\x19\x3a\xf0\xb9\xcb\xde\xf0\x3b\xc6\x18"
25084 			"\x4d\x85\x5a\x9b\xf1\xe3\xc2\x23\x03\x93\x08\xdb"
25085 			"\xa7\x07\x4b\x33\x78\x40\x4d\xeb\x24\xf5\x6e\x81"
25086 			"\x4a\x1b\x6e\xa3\x94\x52\x43\xb0\xaf\x2e\x21\xf4"
25087 			"\x42\x46\x8e\x90\xed\x34\x21\x75\xea\xda\x67\xb6"
25088 			"\xe4\xf6\xff\xc6\x31\x6c\x9a\x5a\xdb\xb3\x97\x13"
25089 			"\x09\xd3\x20\x98\x33\x2d\x6d\xd7\xb5\x6a\xa8\xa9"
25090 			"\x9a\x5b\xd6\x87\x52\xa1\x89\x2b\x4b\x9c\x64\x60"
25091 			"\x50\x47\xa3\x63\x81\x16\xaf\x19",
25092 		.expectedlen = 128,
25093 		.addtla = (unsigned char *)
25094 			"\xbe\x13\xdb\x2a\xe9\xa8\xfe\x09\x97\xe1\xce\x5d"
25095 			"\xe8\xbb\xc0\x7c\x4f\xcb\x62\x19\x3f\x0f\xd2\xad"
25096 			"\xa9\xd0\x1d\x59\x02\xc4\xff\x70",
25097 		.addtlb = (unsigned char *)
25098 			"\x6f\x96\x13\xe2\xa7\xf5\x6c\xfe\xdf\x66\xe3\x31"
25099 			"\x63\x76\xbf\x20\x27\x06\x49\xf1\xf3\x01\x77\x41"
25100 			"\x9f\xeb\xe4\x38\xfe\x67\x00\xcd",
25101 		.addtllen = 32,
25102 		.pers = NULL,
25103 		.perslen = 0,
25104 	}, {
25105 		.entropy = (unsigned char *)
25106 			"\xc6\x1c\xaf\x83\xa2\x56\x38\xf9\xb0\xbc\xd9\x85"
25107 			"\xf5\x2e\xc4\x46\x9c\xe1\xb9\x40\x98\x70\x10\x72"
25108 			"\xd7\x7d\x15\x85\xa1\x83\x5a\x97\xdf\xc8\xa8\xe8"
25109 			"\x03\x4c\xcb\x70\x35\x8b\x90\x94\x46\x8a\x6e\xa1",
25110 		.entropylen = 48,
25111 		.entpra = (unsigned char *)
25112 			"\xc9\x05\xa4\xcf\x28\x80\x4b\x93\x0f\x8b\xc6\xf9"
25113 			"\x09\x41\x58\x74\xe9\xec\x28\xc7\x53\x0a\x73\x60"
25114 			"\xba\x0a\xde\x57\x5b\x4b\x9f\x29",
25115 		.entprb = (unsigned char *)
25116 			"\x4f\x31\xd2\xeb\xac\xfa\xa8\xe2\x01\x7d\xf3\xbd"
25117 			"\x42\xbd\x20\xa0\x30\x65\x74\xd5\x5d\xd2\xad\xa4"
25118 			"\xa9\xeb\x1f\x4d\xf6\xfd\xb8\x26",
25119 		.entprlen = 32,
25120 		.expected = (unsigned char *)
25121 			"\xf6\x13\x05\xcb\x83\x60\x16\x42\x49\x1d\xc6\x25"
25122 			"\x3b\x8c\x31\xa3\xbe\x8b\xbd\x1c\xe2\xec\x1d\xde"
25123 			"\xbb\xbf\xa1\xac\xa8\x9f\x50\xce\x69\xce\xef\xd5"
25124 			"\xd6\xf2\xef\x6a\xf7\x81\x38\xdf\xbc\xa7\x5a\xb9"
25125 			"\xb2\x42\x65\xab\xe4\x86\x8d\x2d\x9d\x59\x99\x2c"
25126 			"\x5a\x0d\x71\x55\x98\xa4\x45\xc2\x8d\xdb\x05\x5e"
25127 			"\x50\x21\xf7\xcd\xe8\x98\x43\xce\x57\x74\x63\x4c"
25128 			"\xf3\xb1\xa5\x14\x1e\x9e\x01\xeb\x54\xd9\x56\xae"
25129 			"\xbd\xb6\x6f\x1a\x47\x6b\x3b\x44\xe4\xa2\xe9\x3c"
25130 			"\x6c\x83\x12\x30\xb8\x78\x7f\x8e\x54\x82\xd4\xfe"
25131 			"\x90\x35\x0d\x4c\x4d\x85\xe7\x13",
25132 		.expectedlen = 128,
25133 		.addtla = NULL,
25134 		.addtlb = NULL,
25135 		.addtllen = 0,
25136 		.pers = (unsigned char *)
25137 			"\xa5\xbf\xac\x4f\x71\xa1\xbb\x67\x94\xc6\x50\xc7"
25138 			"\x2a\x45\x9e\x10\xa8\xed\xf7\x52\x4f\xfe\x21\x90"
25139 			"\xa4\x1b\xe1\xe2\x53\xcc\x61\x47",
25140 		.perslen = 32,
25141 	}, {
25142 		.entropy = (unsigned char *)
25143 			"\xb6\xc1\x8d\xdf\x99\x54\xbe\x95\x10\x48\xd9\xf6"
25144 			"\xd7\x48\xa8\x73\x2d\x74\xde\x1e\xde\x57\x7e\xf4"
25145 			"\x7b\x7b\x64\xef\x88\x7a\xa8\x10\x4b\xe1\xc1\x87"
25146 			"\xbb\x0b\xe1\x39\x39\x50\xaf\x68\x9c\xa2\xbf\x5e",
25147 		.entropylen = 48,
25148 		.entpra = (unsigned char *)
25149 			"\xdc\x81\x0a\x01\x58\xa7\x2e\xce\xee\x48\x8c\x7c"
25150 			"\x77\x9e\x3c\xf1\x17\x24\x7a\xbb\xab\x9f\xca\x12"
25151 			"\x19\xaf\x97\x2d\x5f\xf9\xff\xfc",
25152 		.entprb = (unsigned char *)
25153 			"\xaf\xfc\x4f\x98\x8b\x93\x95\xc1\xb5\x8b\x7f\x73"
25154 			"\x6d\xa6\xbe\x6d\x33\xeb\x2c\x82\xb1\xaf\xc1\xb6"
25155 			"\xb6\x05\xe2\x44\xaa\xfd\xe7\xdb",
25156 		.entprlen = 32,
25157 		.expected = (unsigned char *)
25158 			"\x51\x79\xde\x1c\x0f\x58\xf3\xf4\xc9\x57\x2e\x31"
25159 			"\xa7\x09\xa1\x53\x64\x63\xa2\xc5\x1d\x84\x88\x65"
25160 			"\x01\x1b\xc6\x16\x3c\x49\x5b\x42\x8e\x53\xf5\x18"
25161 			"\xad\x94\x12\x0d\x4f\x55\xcc\x45\x5c\x98\x0f\x42"
25162 			"\x28\x2f\x47\x11\xf9\xc4\x01\x97\x6b\xa0\x94\x50"
25163 			"\xa9\xd1\x5e\x06\x54\x3f\xdf\xbb\xc4\x98\xee\x8b"
25164 			"\xba\xa9\xfa\x49\xee\x1d\xdc\xfb\x50\xf6\x51\x9f"
25165 			"\x6c\x4a\x9a\x6f\x63\xa2\x7d\xad\xaf\x3a\x24\xa0"
25166 			"\xd9\x9f\x07\xeb\x15\xee\x26\xe0\xd5\x63\x39\xda"
25167 			"\x3c\x59\xd6\x33\x6c\x02\xe8\x05\x71\x46\x68\x44"
25168 			"\x63\x4a\x68\x72\xe9\xf5\x55\xfe",
25169 		.expectedlen = 128,
25170 		.addtla = (unsigned char *)
25171 			"\x15\x20\x2f\xf6\x98\x28\x63\xa2\xc4\x4e\xbb\x6c"
25172 			"\xb2\x25\x92\x61\x79\xc9\x22\xc4\x61\x54\x96\xff"
25173 			"\x4a\x85\xca\x80\xfe\x0d\x1c\xd0",
25174 		.addtlb = (unsigned char *)
25175 			"\xde\x29\x8e\x03\x42\x61\xa3\x28\x5e\xc8\x80\xc2"
25176 			"\x6d\xbf\xad\x13\xe1\x8d\x2a\xc7\xe8\xc7\x18\x89"
25177 			"\x42\x58\x9e\xd6\xcc\xad\x7b\x1e",
25178 		.addtllen = 32,
25179 		.pers = (unsigned char *)
25180 			"\x84\xc3\x73\x9e\xce\xb3\xbc\x89\xf7\x62\xb3\xe1"
25181 			"\xd7\x48\x45\x8a\xa9\xcc\xe9\xed\xd5\x81\x84\x52"
25182 			"\x82\x4c\xdc\x19\xb8\xf8\x92\x5c",
25183 		.perslen = 32,
25184 	},
25185 };
25186 
25187 static const struct drbg_testvec drbg_pr_hmac_sha256_tv_template[] = {
25188 	{
25189 		.entropy = (unsigned char *)
25190 			"\x99\x69\xe5\x4b\x47\x03\xff\x31\x78\x5b\x87\x9a"
25191 			"\x7e\x5c\x0e\xae\x0d\x3e\x30\x95\x59\xe9\xfe\x96"
25192 			"\xb0\x67\x6d\x49\xd5\x91\xea\x4d\x07\xd2\x0d\x46"
25193 			"\xd0\x64\x75\x7d\x30\x23\xca\xc2\x37\x61\x27\xab",
25194 		.entropylen = 48,
25195 		.entpra = (unsigned char *)
25196 			"\xc6\x0f\x29\x99\x10\x0f\x73\x8c\x10\xf7\x47\x92"
25197 			"\x67\x6a\x3f\xc4\xa2\x62\xd1\x37\x21\x79\x80\x46"
25198 			"\xe2\x9a\x29\x51\x81\x56\x9f\x54",
25199 		.entprb = (unsigned char *)
25200 			"\xc1\x1d\x45\x24\xc9\x07\x1b\xd3\x09\x60\x15\xfc"
25201 			"\xf7\xbc\x24\xa6\x07\xf2\x2f\xa0\x65\xc9\x37\x65"
25202 			"\x8a\x2a\x77\xa8\x69\x90\x89\xf4",
25203 		.entprlen = 32,
25204 		.expected = (unsigned char *)
25205 			"\xab\xc0\x15\x85\x60\x94\x80\x3a\x93\x8d\xff\xd2"
25206 			"\x0d\xa9\x48\x43\x87\x0e\xf9\x35\xb8\x2c\xfe\xc1"
25207 			"\x77\x06\xb8\xf5\x51\xb8\x38\x50\x44\x23\x5d\xd4"
25208 			"\x4b\x59\x9f\x94\xb3\x9b\xe7\x8d\xd4\x76\xe0\xcf"
25209 			"\x11\x30\x9c\x99\x5a\x73\x34\xe0\xa7\x8b\x37\xbc"
25210 			"\x95\x86\x23\x50\x86\xfa\x3b\x63\x7b\xa9\x1c\xf8"
25211 			"\xfb\x65\xef\xa2\x2a\x58\x9c\x13\x75\x31\xaa\x7b"
25212 			"\x2d\x4e\x26\x07\xaa\xc2\x72\x92\xb0\x1c\x69\x8e"
25213 			"\x6e\x01\xae\x67\x9e\xb8\x7c\x01\xa8\x9c\x74\x22"
25214 			"\xd4\x37\x2d\x6d\x75\x4a\xba\xbb\x4b\xf8\x96\xfc"
25215 			"\xb1\xcd\x09\xd6\x92\xd0\x28\x3f",
25216 		.expectedlen = 128,
25217 		.addtla = NULL,
25218 		.addtlb = NULL,
25219 		.addtllen = 0,
25220 		.pers = NULL,
25221 		.perslen = 0,
25222 	}, {
25223 		.entropy = (unsigned char *)
25224 			"\xb9\x1f\xe9\xef\xdd\x9b\x7d\x20\xb6\xec\xe0\x2f"
25225 			"\xdb\x76\x24\xce\x41\xc8\x3a\x4a\x12\x7f\x3e\x2f"
25226 			"\xae\x05\x99\xea\xb5\x06\x71\x0d\x0c\x4c\xb4\x05"
25227 			"\x26\xc6\xbd\xf5\x7f\x2a\x3d\xf2\xb5\x49\x7b\xda",
25228 		.entropylen = 48,
25229 		.entpra = (unsigned char *)
25230 			"\xef\x67\x50\x9c\xa7\x7d\xdf\xb7\x2d\x81\x01\xa4"
25231 			"\x62\x81\x6a\x69\x5b\xb3\x37\x45\xa7\x34\x8e\x26"
25232 			"\x46\xd9\x26\xa2\x19\xd4\x94\x43",
25233 		.entprb = (unsigned char *)
25234 			"\x97\x75\x53\x53\xba\xb4\xa6\xb2\x91\x60\x71\x79"
25235 			"\xd1\x6b\x4a\x24\x9a\x34\x66\xcc\x33\xab\x07\x98"
25236 			"\x51\x78\x72\xb2\x79\xfd\x2c\xff",
25237 		.entprlen = 32,
25238 		.expected = (unsigned char *)
25239 			"\x9c\xdc\x63\x8a\x19\x23\x22\x66\x0c\xc5\xb9\xd7"
25240 			"\xfb\x2a\xb0\x31\xe3\x8a\x36\xa8\x5a\xa8\x14\xda"
25241 			"\x1e\xa9\xcc\xfe\xb8\x26\x44\x83\x9f\xf6\xff\xaa"
25242 			"\xc8\x98\xb8\x30\x35\x3b\x3d\x36\xd2\x49\xd4\x40"
25243 			"\x62\x0a\x65\x10\x76\x55\xef\xc0\x95\x9c\xa7\xda"
25244 			"\x3f\xcf\xb7\x7b\xc6\xe1\x28\x52\xfc\x0c\xe2\x37"
25245 			"\x0d\x83\xa7\x51\x4b\x31\x47\x3c\xe1\x3c\xae\x70"
25246 			"\x01\xc8\xa3\xd3\xc2\xac\x77\x9c\xd1\x68\x77\x9b"
25247 			"\x58\x27\x3b\xa5\x0f\xc2\x7a\x8b\x04\x65\x62\xd5"
25248 			"\xe8\xd6\xfe\x2a\xaf\xd3\xd3\xfe\xbd\x18\xfb\xcd"
25249 			"\xcd\x66\xb5\x01\x69\x66\xa0\x3c",
25250 		.expectedlen = 128,
25251 		.addtla = (unsigned char *)
25252 			"\x17\xc1\x56\xcb\xcc\x50\xd6\x03\x7d\x45\x76\xa3"
25253 			"\x75\x76\xc1\x4a\x66\x1b\x2e\xdf\xb0\x2e\x7d\x56"
25254 			"\x6d\x99\x3b\xc6\x58\xda\x03\xf6",
25255 		.addtlb = (unsigned char *)
25256 			"\x7c\x7b\x4a\x4b\x32\x5e\x6f\x67\x34\xf5\x21\x4c"
25257 			"\xf9\x96\xf9\xbf\x1c\x8c\x81\xd3\x9b\x60\x6a\x44"
25258 			"\xc6\x03\xa2\xfb\x13\x20\x19\xb7",
25259 		.addtllen = 32,
25260 		.pers = NULL,
25261 		.perslen = 0,
25262 	}, {
25263 		.entropy = (unsigned char *)
25264 			"\x13\x54\x96\xfc\x1b\x7d\x28\xf3\x18\xc9\xa7\x89"
25265 			"\xb6\xb3\xc8\x72\xac\x00\xd4\x59\x36\x25\x05\xaf"
25266 			"\xa5\xdb\x96\xcb\x3c\x58\x46\x87\xa5\xaa\xbf\x20"
25267 			"\x3b\xfe\x23\x0e\xd1\xc7\x41\x0f\x3f\xc9\xb3\x67",
25268 		.entropylen = 48,
25269 		.entpra = (unsigned char *)
25270 			"\xe2\xbd\xb7\x48\x08\x06\xf3\xe1\x93\x3c\xac\x79"
25271 			"\xa7\x2b\x11\xda\xe3\x2e\xe1\x91\xa5\x02\x19\x57"
25272 			"\x20\x28\xad\xf2\x60\xd7\xcd\x45",
25273 		.entprb = (unsigned char *)
25274 			"\x8b\xd4\x69\xfc\xff\x59\x95\x95\xc6\x51\xde\x71"
25275 			"\x68\x5f\xfc\xf9\x4a\xab\xec\x5a\xcb\xbe\xd3\x66"
25276 			"\x1f\xfa\x74\xd3\xac\xa6\x74\x60",
25277 		.entprlen = 32,
25278 		.expected = (unsigned char *)
25279 			"\x1f\x9e\xaf\xe4\xd2\x46\xb7\x47\x41\x4c\x65\x99"
25280 			"\x01\xe9\x3b\xbb\x83\x0c\x0a\xb0\xc1\x3a\xe2\xb3"
25281 			"\x31\x4e\xeb\x93\x73\xee\x0b\x26\xc2\x63\xa5\x75"
25282 			"\x45\x99\xd4\x5c\x9f\xa1\xd4\x45\x87\x6b\x20\x61"
25283 			"\x40\xea\x78\xa5\x32\xdf\x9e\x66\x17\xaf\xb1\x88"
25284 			"\x9e\x2e\x23\xdd\xc1\xda\x13\x97\x88\xa5\xb6\x5e"
25285 			"\x90\x14\x4e\xef\x13\xab\x5c\xd9\x2c\x97\x9e\x7c"
25286 			"\xd7\xf8\xce\xea\x81\xf5\xcd\x71\x15\x49\x44\xce"
25287 			"\x83\xb6\x05\xfb\x7d\x30\xb5\x57\x2c\x31\x4f\xfc"
25288 			"\xfe\x80\xb6\xc0\x13\x0c\x5b\x9b\x2e\x8f\x3d\xfc"
25289 			"\xc2\xa3\x0c\x11\x1b\x80\x5f\xf3",
25290 		.expectedlen = 128,
25291 		.addtla = NULL,
25292 		.addtlb = NULL,
25293 		.addtllen = 0,
25294 		.pers = (unsigned char *)
25295 			"\x64\xb6\xfc\x60\xbc\x61\x76\x23\x6d\x3f\x4a\x0f"
25296 			"\xe1\xb4\xd5\x20\x9e\x70\xdd\x03\x53\x6d\xbf\xce"
25297 			"\xcd\x56\x80\xbc\xb8\x15\xc8\xaa",
25298 		.perslen = 32,
25299 	}, {
25300 		.entropy = (unsigned char *)
25301 			"\xc7\xcc\xbc\x67\x7e\x21\x66\x1e\x27\x2b\x63\xdd"
25302 			"\x3a\x78\xdc\xdf\x66\x6d\x3f\x24\xae\xcf\x37\x01"
25303 			"\xa9\x0d\x89\x8a\xa7\xdc\x81\x58\xae\xb2\x10\x15"
25304 			"\x7e\x18\x44\x6d\x13\xea\xdf\x37\x85\xfe\x81\xfb",
25305 		.entropylen = 48,
25306 		.entpra = (unsigned char *)
25307 			"\x7b\xa1\x91\x5b\x3c\x04\xc4\x1b\x1d\x19\x2f\x1a"
25308 			"\x18\x81\x60\x3c\x6c\x62\x91\xb7\xe9\xf5\xcb\x96"
25309 			"\xbb\x81\x6a\xcc\xb5\xae\x55\xb6",
25310 		.entprb = (unsigned char *)
25311 			"\x99\x2c\xc7\x78\x7e\x3b\x88\x12\xef\xbe\xd3\xd2"
25312 			"\x7d\x2a\xa5\x86\xda\x8d\x58\x73\x4a\x0a\xb2\x2e"
25313 			"\xbb\x4c\x7e\xe3\x9a\xb6\x81\xc1",
25314 		.entprlen = 32,
25315 		.expected = (unsigned char *)
25316 			"\x95\x6f\x95\xfc\x3b\xb7\xfe\x3e\xd0\x4e\x1a\x14"
25317 			"\x6c\x34\x7f\x7b\x1d\x0d\x63\x5e\x48\x9c\x69\xe6"
25318 			"\x46\x07\xd2\x87\xf3\x86\x52\x3d\x98\x27\x5e\xd7"
25319 			"\x54\xe7\x75\x50\x4f\xfb\x4d\xfd\xac\x2f\x4b\x77"
25320 			"\xcf\x9e\x8e\xcc\x16\xa2\x24\xcd\x53\xde\x3e\xc5"
25321 			"\x55\x5d\xd5\x26\x3f\x89\xdf\xca\x8b\x4e\x1e\xb6"
25322 			"\x88\x78\x63\x5c\xa2\x63\x98\x4e\x6f\x25\x59\xb1"
25323 			"\x5f\x2b\x23\xb0\x4b\xa5\x18\x5d\xc2\x15\x74\x40"
25324 			"\x59\x4c\xb4\x1e\xcf\x9a\x36\xfd\x43\xe2\x03\xb8"
25325 			"\x59\x91\x30\x89\x2a\xc8\x5a\x43\x23\x7c\x73\x72"
25326 			"\xda\x3f\xad\x2b\xba\x00\x6b\xd1",
25327 		.expectedlen = 128,
25328 		.addtla = (unsigned char *)
25329 			"\x18\xe8\x17\xff\xef\x39\xc7\x41\x5c\x73\x03\x03"
25330 			"\xf6\x3d\xe8\x5f\xc8\xab\xe4\xab\x0f\xad\xe8\xd6"
25331 			"\x86\x88\x55\x28\xc1\x69\xdd\x76",
25332 		.addtlb = (unsigned char *)
25333 			"\xac\x07\xfc\xbe\x87\x0e\xd3\xea\x1f\x7e\xb8\xe7"
25334 			"\x9d\xec\xe8\xe7\xbc\xf3\x18\x25\x77\x35\x4a\xaa"
25335 			"\x00\x99\x2a\xdd\x0a\x00\x50\x82",
25336 		.addtllen = 32,
25337 		.pers = (unsigned char *)
25338 			"\xbc\x55\xab\x3c\xf6\x52\xb0\x11\x3d\x7b\x90\xb8"
25339 			"\x24\xc9\x26\x4e\x5a\x1e\x77\x0d\x3d\x58\x4a\xda"
25340 			"\xd1\x81\xe9\xf8\xeb\x30\x8f\x6f",
25341 		.perslen = 32,
25342 	},
25343 };
25344 
25345 static const struct drbg_testvec drbg_pr_ctr_aes128_tv_template[] = {
25346 	{
25347 		.entropy = (unsigned char *)
25348 			"\xd1\x44\xc6\x61\x81\x6d\xca\x9d\x15\x28\x8a\x42"
25349 			"\x94\xd7\x28\x9c\x43\x77\x19\x29\x1a\x6d\xc3\xa2",
25350 		.entropylen = 24,
25351 		.entpra = (unsigned char *)
25352 			"\x96\xd8\x9e\x45\x32\xc9\xd2\x08\x7a\x6d\x97\x15"
25353 			"\xb4\xec\x80\xb1",
25354 		.entprb = (unsigned char *)
25355 			"\x8b\xb6\x72\xb5\x24\x0b\x98\x65\x95\x95\xe9\xc9"
25356 			"\x28\x07\xeb\xc2",
25357 		.entprlen = 16,
25358 		.expected = (unsigned char *)
25359 			"\x70\x19\xd0\x4c\x45\x78\xd6\x68\xa9\x9a\xaa\xfe"
25360 			"\xc1\xdf\x27\x9a\x1c\x0d\x0d\xf7\x24\x75\x46\xcc"
25361 			"\x77\x6b\xdf\x89\xc6\x94\xdc\x74\x50\x10\x70\x18"
25362 			"\x9b\xdc\x96\xb4\x89\x23\x40\x1a\xce\x09\x87\xce"
25363 			"\xd2\xf3\xd5\xe4\x51\x67\x74\x11\x5a\xcc\x8b\x3b"
25364 			"\x8a\xf1\x23\xa8",
25365 		.expectedlen = 64,
25366 		.addtla = NULL,
25367 		.addtlb = NULL,
25368 		.addtllen = 0,
25369 		.pers = NULL,
25370 		.perslen = 0,
25371 	}, {
25372 		.entropy = (unsigned char *)
25373 			"\x8e\x83\xe0\xeb\x37\xea\x3e\x53\x5e\x17\x6e\x77"
25374 			"\xbd\xb1\x53\x90\xfc\xdc\xc1\x3c\x9a\x88\x22\x94",
25375 		.entropylen = 24,
25376 		.entpra = (unsigned char *)
25377 			"\x6a\x85\xe7\x37\xc8\xf1\x04\x31\x98\x4f\xc8\x73"
25378 			"\x67\xd1\x08\xf8",
25379 		.entprb = (unsigned char *)
25380 			"\xd7\xa4\x68\xe2\x12\x74\xc3\xd9\xf1\xb7\x05\xbc"
25381 			"\xd4\xba\x04\x58",
25382 		.entprlen = 16,
25383 		.expected = (unsigned char *)
25384 			"\x78\xd6\xa6\x70\xff\xd1\x82\xf5\xa2\x88\x7f\x6d"
25385 			"\x3d\x8c\x39\xb1\xa8\xcb\x2c\x91\xab\x14\x7e\xbc"
25386 			"\x95\x45\x9f\x24\xb8\x20\xac\x21\x23\xdb\x72\xd7"
25387 			"\x12\x8d\x48\x95\xf3\x19\x0c\x43\xc6\x19\x45\xfc"
25388 			"\x8b\xac\x40\x29\x73\x00\x03\x45\x5e\x12\xff\x0c"
25389 			"\xc1\x02\x41\x82",
25390 		.expectedlen = 64,
25391 		.addtla = (unsigned char *)
25392 			"\xa2\xd9\x38\xcf\x8b\x29\x67\x5b\x65\x62\x6f\xe8"
25393 			"\xeb\xb3\x01\x76",
25394 		.addtlb = (unsigned char *)
25395 			"\x59\x63\x1e\x81\x8a\x14\xa8\xbb\xa1\xb8\x41\x25"
25396 			"\xd0\x7f\xcc\x43",
25397 		.addtllen = 16,
25398 		.pers = NULL,
25399 		.perslen = 0,
25400 	}, {
25401 		.entropy = (unsigned char *)
25402 			"\x04\xd9\x49\xa6\xdc\xe8\x6e\xbb\xf1\x08\x77\x2b"
25403 			"\x9e\x08\xca\x92\x65\x16\xda\x99\xa2\x59\xf3\xe8",
25404 		.entropylen = 24,
25405 		.entpra = (unsigned char *)
25406 			"\x38\x7e\x3f\x6b\x51\x70\x7b\x20\xec\x53\xd0\x66"
25407 			"\xc3\x0f\xe3\xb0",
25408 		.entprb = (unsigned char *)
25409 			"\xe0\x86\xa6\xaa\x5f\x72\x2f\xad\xf7\xef\x06\xb8"
25410 			"\xd6\x9c\x9d\xe8",
25411 		.entprlen = 16,
25412 		.expected = (unsigned char *)
25413 			"\xc9\x0a\xaf\x85\x89\x71\x44\x66\x4f\x25\x0b\x2b"
25414 			"\xde\xd8\xfa\xff\x52\x5a\x1b\x32\x5e\x41\x7a\x10"
25415 			"\x1f\xef\x1e\x62\x23\xe9\x20\x30\xc9\x0d\xad\x69"
25416 			"\xb4\x9c\x5b\xf4\x87\x42\xd5\xae\x5e\x5e\x43\xcc"
25417 			"\xd9\xfd\x0b\x93\x4a\xe3\xd4\x06\x37\x36\x0f\x3f"
25418 			"\x72\x82\x0c\xcf",
25419 		.expectedlen = 64,
25420 		.addtla = NULL,
25421 		.addtlb = NULL,
25422 		.addtllen = 0,
25423 		.pers = (unsigned char *)
25424 			"\xbf\xa4\x9a\x8f\x7b\xd8\xb1\x7a\x9d\xfa\x45\xed"
25425 			"\x21\x52\xb3\xad",
25426 		.perslen = 16,
25427 	}, {
25428 		.entropy = (unsigned char *)
25429 			"\x92\x89\x8f\x31\xfa\x1c\xff\x6d\x18\x2f\x26\x06"
25430 			"\x43\xdf\xf8\x18\xc2\xa4\xd9\x72\xc3\xb9\xb6\x97",
25431 		.entropylen = 24,
25432 		.entpra = (unsigned char *)
25433 			"\x20\x72\x8a\x06\xf8\x6f\x8d\xd4\x41\xe2\x72\xb7"
25434 			"\xc4\x2c\xe8\x10",
25435 		.entprb = (unsigned char *)
25436 			"\x3d\xb0\xf0\x94\xf3\x05\x50\x33\x17\x86\x3e\x22"
25437 			"\x08\xf7\xa5\x01",
25438 		.entprlen = 16,
25439 		.expected = (unsigned char *)
25440 			"\x5a\x35\x39\x87\x0f\x4d\x22\xa4\x09\x24\xee\x71"
25441 			"\xc9\x6f\xac\x72\x0a\xd6\xf0\x88\x82\xd0\x83\x28"
25442 			"\x73\xec\x3f\x93\xd8\xab\x45\x23\xf0\x7e\xac\x45"
25443 			"\x14\x5e\x93\x9f\xb1\xd6\x76\x43\x3d\xb6\xe8\x08"
25444 			"\x88\xf6\xda\x89\x08\x77\x42\xfe\x1a\xf4\x3f\xc4"
25445 			"\x23\xc5\x1f\x68",
25446 		.expectedlen = 64,
25447 		.addtla = (unsigned char *)
25448 			"\x1a\x40\xfa\xe3\xcc\x6c\x7c\xa0\xf8\xda\xba\x59"
25449 			"\x23\x6d\xad\x1d",
25450 		.addtlb = (unsigned char *)
25451 			"\x9f\x72\x76\x6c\xc7\x46\xe5\xed\x2e\x53\x20\x12"
25452 			"\xbc\x59\x31\x8c",
25453 		.addtllen = 16,
25454 		.pers = (unsigned char *)
25455 			"\xea\x65\xee\x60\x26\x4e\x7e\xb6\x0e\x82\x68\xc4"
25456 			"\x37\x3c\x5c\x0b",
25457 		.perslen = 16,
25458 	},
25459 };
25460 
25461 /*
25462  * SP800-90A DRBG Test vectors from
25463  * http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
25464  *
25465  * Test vectors for DRBG without prediction resistance. All types of DRBGs
25466  * (Hash, HMAC, CTR) are tested with all permutations of use cases (w/ and
25467  * w/o personalization string, w/ and w/o additional input string).
25468  */
25469 static const struct drbg_testvec drbg_nopr_sha256_tv_template[] = {
25470 	{
25471 		.entropy = (unsigned char *)
25472 			"\xa6\x5a\xd0\xf3\x45\xdb\x4e\x0e\xff\xe8\x75\xc3"
25473 			"\xa2\xe7\x1f\x42\xc7\x12\x9d\x62\x0f\xf5\xc1\x19"
25474 			"\xa9\xef\x55\xf0\x51\x85\xe0\xfb\x85\x81\xf9\x31"
25475 			"\x75\x17\x27\x6e\x06\xe9\x60\x7d\xdb\xcb\xcc\x2e",
25476 		.entropylen = 48,
25477 		.expected = (unsigned char *)
25478 			"\xd3\xe1\x60\xc3\x5b\x99\xf3\x40\xb2\x62\x82\x64"
25479 			"\xd1\x75\x10\x60\xe0\x04\x5d\xa3\x83\xff\x57\xa5"
25480 			"\x7d\x73\xa6\x73\xd2\xb8\xd8\x0d\xaa\xf6\xa6\xc3"
25481 			"\x5a\x91\xbb\x45\x79\xd7\x3f\xd0\xc8\xfe\xd1\x11"
25482 			"\xb0\x39\x13\x06\x82\x8a\xdf\xed\x52\x8f\x01\x81"
25483 			"\x21\xb3\xfe\xbd\xc3\x43\xe7\x97\xb8\x7d\xbb\x63"
25484 			"\xdb\x13\x33\xde\xd9\xd1\xec\xe1\x77\xcf\xa6\xb7"
25485 			"\x1f\xe8\xab\x1d\xa4\x66\x24\xed\x64\x15\xe5\x1c"
25486 			"\xcd\xe2\xc7\xca\x86\xe2\x83\x99\x0e\xea\xeb\x91"
25487 			"\x12\x04\x15\x52\x8b\x22\x95\x91\x02\x81\xb0\x2d"
25488 			"\xd4\x31\xf4\xc9\xf7\x04\x27\xdf",
25489 		.expectedlen = 128,
25490 		.addtla = NULL,
25491 		.addtlb = NULL,
25492 		.addtllen = 0,
25493 		.pers = NULL,
25494 		.perslen = 0,
25495 	}, {
25496 		.entropy = (unsigned char *)
25497 			"\x73\xd3\xfb\xa3\x94\x5f\x2b\x5f\xb9\x8f\xf6\x9c"
25498 			"\x8a\x93\x17\xae\x19\xc3\x4c\xc3\xd6\xca\xa3\x2d"
25499 			"\x16\xfc\x42\xd2\x2d\xd5\x6f\x56\xcc\x1d\x30\xff"
25500 			"\x9e\x06\x3e\x09\xce\x58\xe6\x9a\x35\xb3\xa6\x56",
25501 		.entropylen = 48,
25502 		.expected = (unsigned char *)
25503 			"\x71\x7b\x93\x46\x1a\x40\xaa\x35\xa4\xaa\xc5\xe7"
25504 			"\x6d\x5b\x5b\x8a\xa0\xdf\x39\x7d\xae\x71\x58\x5b"
25505 			"\x3c\x7c\xb4\xf0\x89\xfa\x4a\x8c\xa9\x5c\x54\xc0"
25506 			"\x40\xdf\xbc\xce\x26\x81\x34\xf8\xba\x7d\x1c\xe8"
25507 			"\xad\x21\xe0\x74\xcf\x48\x84\x30\x1f\xa1\xd5\x4f"
25508 			"\x81\x42\x2f\xf4\xdb\x0b\x23\xf8\x73\x27\xb8\x1d"
25509 			"\x42\xf8\x44\x58\xd8\x5b\x29\x27\x0a\xf8\x69\x59"
25510 			"\xb5\x78\x44\xeb\x9e\xe0\x68\x6f\x42\x9a\xb0\x5b"
25511 			"\xe0\x4e\xcb\x6a\xaa\xe2\xd2\xd5\x33\x25\x3e\xe0"
25512 			"\x6c\xc7\x6a\x07\xa5\x03\x83\x9f\xe2\x8b\xd1\x1c"
25513 			"\x70\xa8\x07\x59\x97\xeb\xf6\xbe",
25514 		.expectedlen = 128,
25515 		.addtla = (unsigned char *)
25516 			"\xf4\xd5\x98\x3d\xa8\xfc\xfa\x37\xb7\x54\x67\x73"
25517 			"\xc7\xc3\xdd\x47\x34\x71\x02\x5d\xc1\xa0\xd3\x10"
25518 			"\xc1\x8b\xbd\xf5\x66\x34\x6f\xdd",
25519 		.addtlb = (unsigned char *)
25520 			"\xf7\x9e\x6a\x56\x0e\x73\xe9\xd9\x7a\xd1\x69\xe0"
25521 			"\x6f\x8c\x55\x1c\x44\xd1\xce\x6f\x28\xcc\xa4\x4d"
25522 			"\xa8\xc0\x85\xd1\x5a\x0c\x59\x40",
25523 		.addtllen = 32,
25524 		.pers = NULL,
25525 		.perslen = 0,
25526 	}, {
25527 		.entropy = (unsigned char *)
25528 			"\x2a\x85\xa9\x8b\xd0\xda\x83\xd6\xad\xab\x9f\xbb"
25529 			"\x54\x31\x15\x95\x1c\x4d\x49\x9f\x6a\x15\xf6\xe4"
25530 			"\x15\x50\x88\x06\x29\x0d\xed\x8d\xb9\x6f\x96\xe1"
25531 			"\x83\x9f\xf7\x88\xda\x84\xbf\x44\x28\xd9\x1d\xaa",
25532 		.entropylen = 48,
25533 		.expected = (unsigned char *)
25534 			"\x2d\x55\xde\xc9\xed\x05\x47\x07\x3d\x04\xfc\x28"
25535 			"\x0f\x92\xf0\x4d\xd8\x00\x32\x47\x0a\x1b\x1c\x4b"
25536 			"\xef\xd9\x97\xa1\x17\x67\xda\x26\x6c\xfe\x76\x46"
25537 			"\x6f\xbc\x6d\x82\x4e\x83\x8a\x98\x66\x6c\x01\xb6"
25538 			"\xe6\x64\xe0\x08\x10\x6f\xd3\x5d\x90\xe7\x0d\x72"
25539 			"\xa6\xa7\xe3\xbb\x98\x11\x12\x56\x23\xc2\x6d\xd1"
25540 			"\xc8\xa8\x7a\x39\xf3\x34\xe3\xb8\xf8\x66\x00\x77"
25541 			"\x7d\xcf\x3c\x3e\xfa\xc9\x0f\xaf\xe0\x24\xfa\xe9"
25542 			"\x84\xf9\x6a\x01\xf6\x35\xdb\x5c\xab\x2a\xef\x4e"
25543 			"\xac\xab\x55\xb8\x9b\xef\x98\x68\xaf\x51\xd8\x16"
25544 			"\xa5\x5e\xae\xf9\x1e\xd2\xdb\xe6",
25545 		.expectedlen = 128,
25546 		.addtla = NULL,
25547 		.addtlb = NULL,
25548 		.addtllen = 0,
25549 		.pers = (unsigned char *)
25550 			"\xa8\x80\xec\x98\x30\x98\x15\xd2\xc6\xc4\x68\xf1"
25551 			"\x3a\x1c\xbf\xce\x6a\x40\x14\xeb\x36\x99\x53\xda"
25552 			"\x57\x6b\xce\xa4\x1c\x66\x3d\xbc",
25553 		.perslen = 32,
25554 	}, {
25555 		.entropy = (unsigned char *)
25556 			"\x69\xed\x82\xa9\xc5\x7b\xbf\xe5\x1d\x2f\xcb\x7a"
25557 			"\xd3\x50\x7d\x96\xb4\xb9\x2b\x50\x77\x51\x27\x74"
25558 			"\x33\x74\xba\xf1\x30\xdf\x8e\xdf\x87\x1d\x87\xbc"
25559 			"\x96\xb2\xc3\xa7\xed\x60\x5e\x61\x4e\x51\x29\x1a",
25560 		.entropylen = 48,
25561 		.expected = (unsigned char *)
25562 			"\xa5\x71\x24\x31\x11\xfe\x13\xe1\xa8\x24\x12\xfb"
25563 			"\x37\xa1\x27\xa5\xab\x77\xa1\x9f\xae\x8f\xaf\x13"
25564 			"\x93\xf7\x53\x85\x91\xb6\x1b\xab\xd4\x6b\xea\xb6"
25565 			"\xef\xda\x4c\x90\x6e\xef\x5f\xde\xe1\xc7\x10\x36"
25566 			"\xd5\x67\xbd\x14\xb6\x89\x21\x0c\xc9\x92\x65\x64"
25567 			"\xd0\xf3\x23\xe0\x7f\xd1\xe8\x75\xc2\x85\x06\xea"
25568 			"\xca\xc0\xcb\x79\x2d\x29\x82\xfc\xaa\x9a\xc6\x95"
25569 			"\x7e\xdc\x88\x65\xba\xec\x0e\x16\x87\xec\xa3\x9e"
25570 			"\xd8\x8c\x80\xab\x3a\x64\xe0\xcb\x0e\x45\x98\xdd"
25571 			"\x7c\x6c\x6c\x26\x11\x13\xc8\xce\xa9\x47\xa6\x06"
25572 			"\x57\xa2\x66\xbb\x2d\x7f\xf3\xc1",
25573 		.expectedlen = 128,
25574 		.addtla = (unsigned char *)
25575 			"\x74\xd3\x6d\xda\xe8\xd6\x86\x5f\x63\x01\xfd\xf2"
25576 			"\x7d\x06\x29\x6d\x94\xd1\x66\xf0\xd2\x72\x67\x4e"
25577 			"\x77\xc5\x3d\x9e\x03\xe3\xa5\x78",
25578 		.addtlb = (unsigned char *)
25579 			"\xf6\xb6\x3d\xf0\x7c\x26\x04\xc5\x8b\xcd\x3e\x6a"
25580 			"\x9f\x9c\x3a\x2e\xdb\x47\x87\xe5\x8e\x00\x5e\x2b"
25581 			"\x74\x7f\xa6\xf6\x80\xcd\x9b\x21",
25582 		.addtllen = 32,
25583 		.pers = (unsigned char *)
25584 			"\x74\xa6\xe0\x08\xf9\x27\xee\x1d\x6e\x3c\x28\x20"
25585 			"\x87\xdd\xd7\x54\x31\x47\x78\x4b\xe5\x6d\xa3\x73"
25586 			"\xa9\x65\xb1\x10\xc1\xdc\x77\x7c",
25587 		.perslen = 32,
25588 	},
25589 };
25590 
25591 static const struct drbg_testvec drbg_nopr_hmac_sha256_tv_template[] = {
25592 	{
25593 		.entropy = (unsigned char *)
25594 			"\xca\x85\x19\x11\x34\x93\x84\xbf\xfe\x89\xde\x1c"
25595 			"\xbd\xc4\x6e\x68\x31\xe4\x4d\x34\xa4\xfb\x93\x5e"
25596 			"\xe2\x85\xdd\x14\xb7\x1a\x74\x88\x65\x9b\xa9\x6c"
25597 			"\x60\x1d\xc6\x9f\xc9\x02\x94\x08\x05\xec\x0c\xa8",
25598 		.entropylen = 48,
25599 		.expected = (unsigned char *)
25600 			"\xe5\x28\xe9\xab\xf2\xde\xce\x54\xd4\x7c\x7e\x75"
25601 			"\xe5\xfe\x30\x21\x49\xf8\x17\xea\x9f\xb4\xbe\xe6"
25602 			"\xf4\x19\x96\x97\xd0\x4d\x5b\x89\xd5\x4f\xbb\x97"
25603 			"\x8a\x15\xb5\xc4\x43\xc9\xec\x21\x03\x6d\x24\x60"
25604 			"\xb6\xf7\x3e\xba\xd0\xdc\x2a\xba\x6e\x62\x4a\xbf"
25605 			"\x07\x74\x5b\xc1\x07\x69\x4b\xb7\x54\x7b\xb0\x99"
25606 			"\x5f\x70\xde\x25\xd6\xb2\x9e\x2d\x30\x11\xbb\x19"
25607 			"\xd2\x76\x76\xc0\x71\x62\xc8\xb5\xcc\xde\x06\x68"
25608 			"\x96\x1d\xf8\x68\x03\x48\x2c\xb3\x7e\xd6\xd5\xc0"
25609 			"\xbb\x8d\x50\xcf\x1f\x50\xd4\x76\xaa\x04\x58\xbd"
25610 			"\xab\xa8\x06\xf4\x8b\xe9\xdc\xb8",
25611 		.expectedlen = 128,
25612 		.addtla = NULL,
25613 		.addtlb = NULL,
25614 		.addtllen = 0,
25615 		.pers = NULL,
25616 		.perslen = 0,
25617 	}, {
25618 		.entropy = (unsigned char *)
25619 			"\xf9\x7a\x3c\xfd\x91\xfa\xa0\x46\xb9\xe6\x1b\x94"
25620 			"\x93\xd4\x36\xc4\x93\x1f\x60\x4b\x22\xf1\x08\x15"
25621 			"\x21\xb3\x41\x91\x51\xe8\xff\x06\x11\xf3\xa7\xd4"
25622 			"\x35\x95\x35\x7d\x58\x12\x0b\xd1\xe2\xdd\x8a\xed",
25623 		.entropylen = 48,
25624 		.expected = (unsigned char *)
25625 			"\xc6\x87\x1c\xff\x08\x24\xfe\x55\xea\x76\x89\xa5"
25626 			"\x22\x29\x88\x67\x30\x45\x0e\x5d\x36\x2d\xa5\xbf"
25627 			"\x59\x0d\xcf\x9a\xcd\x67\xfe\xd4\xcb\x32\x10\x7d"
25628 			"\xf5\xd0\x39\x69\xa6\x6b\x1f\x64\x94\xfd\xf5\xd6"
25629 			"\x3d\x5b\x4d\x0d\x34\xea\x73\x99\xa0\x7d\x01\x16"
25630 			"\x12\x6d\x0d\x51\x8c\x7c\x55\xba\x46\xe1\x2f\x62"
25631 			"\xef\xc8\xfe\x28\xa5\x1c\x9d\x42\x8e\x6d\x37\x1d"
25632 			"\x73\x97\xab\x31\x9f\xc7\x3d\xed\x47\x22\xe5\xb4"
25633 			"\xf3\x00\x04\x03\x2a\x61\x28\xdf\x5e\x74\x97\xec"
25634 			"\xf8\x2c\xa7\xb0\xa5\x0e\x86\x7e\xf6\x72\x8a\x4f"
25635 			"\x50\x9a\x8c\x85\x90\x87\x03\x9c",
25636 		.expectedlen = 128,
25637 		.addtla = (unsigned char *)
25638 			"\x51\x72\x89\xaf\xe4\x44\xa0\xfe\x5e\xd1\xa4\x1d"
25639 			"\xbb\xb5\xeb\x17\x15\x00\x79\xbd\xd3\x1e\x29\xcf"
25640 			"\x2f\xf3\x00\x34\xd8\x26\x8e\x3b",
25641 		.addtlb = (unsigned char *)
25642 			"\x88\x02\x8d\x29\xef\x80\xb4\xe6\xf0\xfe\x12\xf9"
25643 			"\x1d\x74\x49\xfe\x75\x06\x26\x82\xe8\x9c\x57\x14"
25644 			"\x40\xc0\xc9\xb5\x2c\x42\xa6\xe0",
25645 		.addtllen = 32,
25646 		.pers = NULL,
25647 		.perslen = 0,
25648 	}, {
25649 		.entropy = (unsigned char *)
25650 			"\x8d\xf0\x13\xb4\xd1\x03\x52\x30\x73\x91\x7d\xdf"
25651 			"\x6a\x86\x97\x93\x05\x9e\x99\x43\xfc\x86\x54\x54"
25652 			"\x9e\x7a\xb2\x2f\x7c\x29\xf1\x22\xda\x26\x25\xaf"
25653 			"\x2d\xdd\x4a\xbc\xce\x3c\xf4\xfa\x46\x59\xd8\x4e",
25654 		.entropylen = 48,
25655 		.expected = (unsigned char *)
25656 			"\xb9\x1c\xba\x4c\xc8\x4f\xa2\x5d\xf8\x61\x0b\x81"
25657 			"\xb6\x41\x40\x27\x68\xa2\x09\x72\x34\x93\x2e\x37"
25658 			"\xd5\x90\xb1\x15\x4c\xbd\x23\xf9\x74\x52\xe3\x10"
25659 			"\xe2\x91\xc4\x51\x46\x14\x7f\x0d\xa2\xd8\x17\x61"
25660 			"\xfe\x90\xfb\xa6\x4f\x94\x41\x9c\x0f\x66\x2b\x28"
25661 			"\xc1\xed\x94\xda\x48\x7b\xb7\xe7\x3e\xec\x79\x8f"
25662 			"\xbc\xf9\x81\xb7\x91\xd1\xbe\x4f\x17\x7a\x89\x07"
25663 			"\xaa\x3c\x40\x16\x43\xa5\xb6\x2b\x87\xb8\x9d\x66"
25664 			"\xb3\xa6\x0e\x40\xd4\xa8\xe4\xe9\xd8\x2a\xf6\xd2"
25665 			"\x70\x0e\x6f\x53\x5c\xdb\x51\xf7\x5c\x32\x17\x29"
25666 			"\x10\x37\x41\x03\x0c\xcc\x3a\x56",
25667 		.expectedlen = 128,
25668 		.addtla = NULL,
25669 		.addtlb = NULL,
25670 		.addtllen = 0,
25671 		.pers = (unsigned char *)
25672 			"\xb5\x71\xe6\x6d\x7c\x33\x8b\xc0\x7b\x76\xad\x37"
25673 			"\x57\xbb\x2f\x94\x52\xbf\x7e\x07\x43\x7a\xe8\x58"
25674 			"\x1c\xe7\xbc\x7c\x3a\xc6\x51\xa9",
25675 		.perslen = 32,
25676 	}, {
25677 		.entropy = (unsigned char *)
25678 			"\xc2\xa5\x66\xa9\xa1\x81\x7b\x15\xc5\xc3\xb7\x78"
25679 			"\x17\x7a\xc8\x7c\x24\xe7\x97\xbe\x0a\x84\x5f\x11"
25680 			"\xc2\xfe\x39\x9d\xd3\x77\x32\xf2\xcb\x18\x94\xeb"
25681 			"\x2b\x97\xb3\xc5\x6e\x62\x83\x29\x51\x6f\x86\xec",
25682 		.entropylen = 48,
25683 		.expected = (unsigned char *)
25684 			"\xb3\xa3\x69\x8d\x77\x76\x99\xa0\xdd\x9f\xa3\xf0"
25685 			"\xa9\xfa\x57\x83\x2d\x3c\xef\xac\x5d\xf2\x44\x37"
25686 			"\xc6\xd7\x3a\x0f\xe4\x10\x40\xf1\x72\x90\x38\xae"
25687 			"\xf1\xe9\x26\x35\x2e\xa5\x9d\xe1\x20\xbf\xb7\xb0"
25688 			"\x73\x18\x3a\x34\x10\x6e\xfe\xd6\x27\x8f\xf8\xad"
25689 			"\x84\x4b\xa0\x44\x81\x15\xdf\xdd\xf3\x31\x9a\x82"
25690 			"\xde\x6b\xb1\x1d\x80\xbd\x87\x1a\x9a\xcd\x35\xc7"
25691 			"\x36\x45\xe1\x27\x0f\xb9\xfe\x4f\xa8\x8e\xc0\xe4"
25692 			"\x65\x40\x9e\xa0\xcb\xa8\x09\xfe\x2f\x45\xe0\x49"
25693 			"\x43\xa2\xe3\x96\xbb\xb7\xdd\x2f\x4e\x07\x95\x30"
25694 			"\x35\x24\xcc\x9c\xc5\xea\x54\xa1",
25695 		.expectedlen = 128,
25696 		.addtla = (unsigned char *)
25697 			"\x41\x3d\xd8\x3f\xe5\x68\x35\xab\xd4\x78\xcb\x96"
25698 			"\x93\xd6\x76\x35\x90\x1c\x40\x23\x9a\x26\x64\x62"
25699 			"\xd3\x13\x3b\x83\xe4\x9c\x82\x0b",
25700 		.addtlb = (unsigned char *)
25701 			"\xd5\xc4\xa7\x1f\x9d\x6d\x95\xa1\xbe\xdf\x0b\xd2"
25702 			"\x24\x7c\x27\x7d\x1f\x84\xa4\xe5\x7a\x4a\x88\x25"
25703 			"\xb8\x2a\x2d\x09\x7d\xe6\x3e\xf1",
25704 		.addtllen = 32,
25705 		.pers = (unsigned char *)
25706 			"\x13\xce\x4d\x8d\xd2\xdb\x97\x96\xf9\x41\x56\xc8"
25707 			"\xe8\xf0\x76\x9b\x0a\xa1\xc8\x2c\x13\x23\xb6\x15"
25708 			"\x36\x60\x3b\xca\x37\xc9\xee\x29",
25709 		.perslen = 32,
25710 	},
25711 };
25712 
25713 static const struct drbg_testvec drbg_nopr_ctr_aes192_tv_template[] = {
25714 	{
25715 		.entropy = (unsigned char *)
25716 			"\xc3\x5c\x2f\xa2\xa8\x9d\x52\xa1\x1f\xa3\x2a\xa9"
25717 			"\x6c\x95\xb8\xf1\xc9\xa8\xf9\xcb\x24\x5a\x8b\x40"
25718 			"\xf3\xa6\xe5\xa7\xfb\xd9\xd3\xc6\x8e\x27\x7b\xa9"
25719 			"\xac\x9b\xbb\x00",
25720 		.entropylen = 40,
25721 		.expected = (unsigned char *)
25722 			"\x8c\x2e\x72\xab\xfd\x9b\xb8\x28\x4d\xb7\x9e\x17"
25723 			"\xa4\x3a\x31\x46\xcd\x76\x94\xe3\x52\x49\xfc\x33"
25724 			"\x83\x91\x4a\x71\x17\xf4\x13\x68\xe6\xd4\xf1\x48"
25725 			"\xff\x49\xbf\x29\x07\x6b\x50\x15\xc5\x9f\x45\x79"
25726 			"\x45\x66\x2e\x3d\x35\x03\x84\x3f\x4a\xa5\xa3\xdf"
25727 			"\x9a\x9d\xf1\x0d",
25728 		.expectedlen = 64,
25729 		.addtla = NULL,
25730 		.addtlb = NULL,
25731 		.addtllen = 0,
25732 		.pers = NULL,
25733 		.perslen = 0,
25734 	},
25735 };
25736 
25737 static const struct drbg_testvec drbg_nopr_ctr_aes256_tv_template[] = {
25738 	{
25739 		.entropy = (unsigned char *)
25740 			"\x36\x40\x19\x40\xfa\x8b\x1f\xba\x91\xa1\x66\x1f"
25741 			"\x21\x1d\x78\xa0\xb9\x38\x9a\x74\xe5\xbc\xcf\xec"
25742 			"\xe8\xd7\x66\xaf\x1a\x6d\x3b\x14\x49\x6f\x25\xb0"
25743 			"\xf1\x30\x1b\x4f\x50\x1b\xe3\x03\x80\xa1\x37\xeb",
25744 		.entropylen = 48,
25745 		.expected = (unsigned char *)
25746 			"\x58\x62\xeb\x38\xbd\x55\x8d\xd9\x78\xa6\x96\xe6"
25747 			"\xdf\x16\x47\x82\xdd\xd8\x87\xe7\xe9\xa6\xc9\xf3"
25748 			"\xf1\xfb\xaf\xb7\x89\x41\xb5\x35\xa6\x49\x12\xdf"
25749 			"\xd2\x24\xc6\xdc\x74\x54\xe5\x25\x0b\x3d\x97\x16"
25750 			"\x5e\x16\x26\x0c\x2f\xaf\x1c\xc7\x73\x5c\xb7\x5f"
25751 			"\xb4\xf0\x7e\x1d",
25752 		.expectedlen = 64,
25753 		.addtla = NULL,
25754 		.addtlb = NULL,
25755 		.addtllen = 0,
25756 		.pers = NULL,
25757 		.perslen = 0,
25758 	},
25759 };
25760 
25761 static const struct drbg_testvec drbg_nopr_ctr_aes128_tv_template[] = {
25762 	{
25763 		.entropy = (unsigned char *)
25764 			"\x87\xe1\xc5\x32\x99\x7f\x57\xa3\x5c\x28\x6d\xe8"
25765 			"\x64\xbf\xf2\x64\xa3\x9e\x98\xdb\x6c\x10\x78\x7f",
25766 		.entropylen = 24,
25767 		.expected = (unsigned char *)
25768 			"\x2c\x14\x7e\x24\x11\x9a\xd8\xd4\xb2\xed\x61\xc1"
25769 			"\x53\xd0\x50\xc9\x24\xff\x59\x75\x15\xf1\x17\x3a"
25770 			"\x3d\xf4\x4b\x2c\x84\x28\xef\x89\x0e\xb9\xde\xf3"
25771 			"\xe4\x78\x04\xb2\xfd\x9b\x35\x7f\xe1\x3f\x8a\x3e"
25772 			"\x10\xc8\x67\x0a\xf9\xdf\x2d\x6c\x96\xfb\xb2\xb8"
25773 			"\xcb\x2d\xd6\xb0",
25774 		.expectedlen = 64,
25775 		.addtla = NULL,
25776 		.addtlb = NULL,
25777 		.addtllen = 0,
25778 		.pers = NULL,
25779 		.perslen = 0,
25780 	}, {
25781 		.entropy = (unsigned char *)
25782 			"\x71\xbd\xce\x35\x42\x7d\x20\xbf\x58\xcf\x17\x74"
25783 			"\xce\x72\xd8\x33\x34\x50\x2d\x8f\x5b\x14\xc4\xdd",
25784 		.entropylen = 24,
25785 		.expected = (unsigned char *)
25786 			"\x97\x33\xe8\x20\x12\xe2\x7b\xa1\x46\x8f\xf2\x34"
25787 			"\xb3\xc9\xb6\x6b\x20\xb2\x4f\xee\x27\xd8\x0b\x21"
25788 			"\x8c\xff\x63\x73\x69\x29\xfb\xf3\x85\xcd\x88\x8e"
25789 			"\x43\x2c\x71\x8b\xa2\x55\xd2\x0f\x1d\x7f\xe3\xe1"
25790 			"\x2a\xa3\xe9\x2c\x25\x89\xc7\x14\x52\x99\x56\xcc"
25791 			"\xc3\xdf\xb3\x81",
25792 		.expectedlen = 64,
25793 		.addtla = (unsigned char *)
25794 			"\x66\xef\x42\xd6\x9a\x8c\x3d\x6d\x4a\x9e\x95\xa6"
25795 			"\x91\x4d\x81\x56",
25796 		.addtlb = (unsigned char *)
25797 			"\xe3\x18\x83\xd9\x4b\x5e\xc4\xcc\xaa\x61\x2f\xbb"
25798 			"\x4a\x55\xd1\xc6",
25799 		.addtllen = 16,
25800 		.pers = NULL,
25801 		.perslen = 0,
25802 	}, {
25803 		.entropy = (unsigned char *)
25804 			"\xca\x4b\x1e\xfa\x75\xbd\x69\x36\x38\x73\xb8\xf9"
25805 			"\xdb\x4d\x35\x0e\x47\xbf\x6c\x37\x72\xfd\xf7\xa9",
25806 		.entropylen = 24,
25807 		.expected = (unsigned char *)
25808 			"\x59\xc3\x19\x79\x1b\xb1\xf3\x0e\xe9\x34\xae\x6e"
25809 			"\x8b\x1f\xad\x1f\x74\xca\x25\x45\x68\xb8\x7f\x75"
25810 			"\x12\xf8\xf2\xab\x4c\x23\x01\x03\x05\xe1\x70\xee"
25811 			"\x75\xd8\xcb\xeb\x23\x4c\x7a\x23\x6e\x12\x27\xdb"
25812 			"\x6f\x7a\xac\x3c\x44\xb7\x87\x4b\x65\x56\x74\x45"
25813 			"\x34\x30\x0c\x3d",
25814 		.expectedlen = 64,
25815 		.addtla = NULL,
25816 		.addtlb = NULL,
25817 		.addtllen = 0,
25818 		.pers = (unsigned char *)
25819 			"\xeb\xaa\x60\x2c\x4d\xbe\x33\xff\x1b\xef\xbf\x0a"
25820 			"\x0b\xc6\x97\x54",
25821 		.perslen = 16,
25822 	}, {
25823 		.entropy = (unsigned char *)
25824 			"\xc0\x70\x1f\x92\x50\x75\x8f\xcd\xf2\xbe\x73\x98"
25825 			"\x80\xdb\x66\xeb\x14\x68\xb4\xa5\x87\x9c\x2d\xa6",
25826 		.entropylen = 24,
25827 		.expected = (unsigned char *)
25828 			"\x97\xc0\xc0\xe5\xa0\xcc\xf2\x4f\x33\x63\x48\x8a"
25829 			"\xdb\x13\x0a\x35\x89\xbf\x80\x65\x62\xee\x13\x95"
25830 			"\x7c\x33\xd3\x7d\xf4\x07\x77\x7a\x2b\x65\x0b\x5f"
25831 			"\x45\x5c\x13\xf1\x90\x77\x7f\xc5\x04\x3f\xcc\x1a"
25832 			"\x38\xf8\xcd\x1b\xbb\xd5\x57\xd1\x4a\x4c\x2e\x8a"
25833 			"\x2b\x49\x1e\x5c",
25834 		.expectedlen = 64,
25835 		.addtla = (unsigned char *)
25836 			"\xf9\x01\xf8\x16\x7a\x1d\xff\xde\x8e\x3c\x83\xe2"
25837 			"\x44\x85\xe7\xfe",
25838 		.addtlb = (unsigned char *)
25839 			"\x17\x1c\x09\x38\xc2\x38\x9f\x97\x87\x60\x55\xb4"
25840 			"\x82\x16\x62\x7f",
25841 		.addtllen = 16,
25842 		.pers = (unsigned char *)
25843 			"\x80\x08\xae\xe8\xe9\x69\x40\xc5\x08\x73\xc7\x9f"
25844 			"\x8e\xcf\xe0\x02",
25845 		.perslen = 16,
25846 	},
25847 };
25848 
25849 /* Cast5 test vectors from RFC 2144 */
25850 static const struct cipher_testvec cast5_enc_tv_template[] = {
25851 	{
25852 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
25853 			  "\x23\x45\x67\x89\x34\x56\x78\x9a",
25854 		.klen	= 16,
25855 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
25856 		.ilen	= 8,
25857 		.result	= "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
25858 		.rlen	= 8,
25859 	}, {
25860 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
25861 			  "\x23\x45",
25862 		.klen	= 10,
25863 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
25864 		.ilen	= 8,
25865 		.result	= "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
25866 		.rlen	= 8,
25867 	}, {
25868 		.key	= "\x01\x23\x45\x67\x12",
25869 		.klen	= 5,
25870 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
25871 		.ilen	= 8,
25872 		.result	= "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
25873 		.rlen	= 8,
25874 	}, { /* Generated from TF test vectors */
25875 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
25876 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
25877 		.klen	= 16,
25878 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
25879 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
25880 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
25881 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
25882 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
25883 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
25884 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
25885 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
25886 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
25887 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
25888 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
25889 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
25890 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
25891 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
25892 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
25893 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
25894 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
25895 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
25896 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
25897 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
25898 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
25899 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
25900 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
25901 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
25902 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
25903 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
25904 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
25905 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
25906 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
25907 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
25908 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
25909 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
25910 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
25911 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
25912 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
25913 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
25914 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
25915 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
25916 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
25917 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
25918 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
25919 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
25920 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
25921 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
25922 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
25923 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
25924 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
25925 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
25926 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
25927 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
25928 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
25929 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
25930 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
25931 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
25932 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
25933 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
25934 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
25935 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
25936 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
25937 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
25938 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
25939 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
25940 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
25941 		.ilen	= 496,
25942 		.result	= "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
25943 			  "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
25944 			  "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
25945 			  "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
25946 			  "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
25947 			  "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
25948 			  "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
25949 			  "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
25950 			  "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
25951 			  "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
25952 			  "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
25953 			  "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
25954 			  "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
25955 			  "\xED\x34\x35\x78\x6B\x91\xC9\x32"
25956 			  "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
25957 			  "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
25958 			  "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
25959 			  "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
25960 			  "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
25961 			  "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
25962 			  "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
25963 			  "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
25964 			  "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
25965 			  "\x78\x75\x37\x55\xC1\xF5\x90\x40"
25966 			  "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
25967 			  "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
25968 			  "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
25969 			  "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
25970 			  "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
25971 			  "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
25972 			  "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
25973 			  "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
25974 			  "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
25975 			  "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
25976 			  "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
25977 			  "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
25978 			  "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
25979 			  "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
25980 			  "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
25981 			  "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
25982 			  "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
25983 			  "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
25984 			  "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
25985 			  "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
25986 			  "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
25987 			  "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
25988 			  "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
25989 			  "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
25990 			  "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
25991 			  "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
25992 			  "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
25993 			  "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
25994 			  "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
25995 			  "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
25996 			  "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
25997 			  "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
25998 			  "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
25999 			  "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
26000 			  "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
26001 			  "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
26002 			  "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
26003 			  "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
26004 		.rlen	= 496,
26005 		.also_non_np = 1,
26006 		.np	= 3,
26007 		.tap	= { 496 - 20, 4, 16 },
26008 	},
26009 };
26010 
26011 static const struct cipher_testvec cast5_dec_tv_template[] = {
26012 	{
26013 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
26014 			  "\x23\x45\x67\x89\x34\x56\x78\x9a",
26015 		.klen	= 16,
26016 		.input	= "\x23\x8b\x4f\xe5\x84\x7e\x44\xb2",
26017 		.ilen	= 8,
26018 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26019 		.rlen	= 8,
26020 	}, {
26021 		.key	= "\x01\x23\x45\x67\x12\x34\x56\x78"
26022 			  "\x23\x45",
26023 		.klen	= 10,
26024 		.input	= "\xeb\x6a\x71\x1a\x2c\x02\x27\x1b",
26025 		.ilen	= 8,
26026 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26027 		.rlen	= 8,
26028 	}, {
26029 		.key	= "\x01\x23\x45\x67\x12",
26030 		.klen	= 5,
26031 		.input	= "\x7a\xc8\x16\xd1\x6e\x9b\x30\x2e",
26032 		.ilen	= 8,
26033 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26034 		.rlen	= 8,
26035 	}, { /* Generated from TF test vectors */
26036 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26037 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26038 		.klen	= 16,
26039 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26040 		.input	= "\x8D\xFC\x81\x9C\xCB\xAA\x5A\x1C"
26041 			  "\x7E\x95\xCF\x40\xAB\x4D\x6F\xEA"
26042 			  "\xD3\xD9\xB0\x9A\xB7\xC7\xE0\x2E"
26043 			  "\xD1\x39\x34\x92\x8F\xFA\x14\xF1"
26044 			  "\xD5\xD2\x7B\x59\x1F\x35\x28\xC2"
26045 			  "\x20\xD9\x42\x06\xC9\x0B\x10\x04"
26046 			  "\xF8\x79\xCD\x32\x86\x75\x4C\xB6"
26047 			  "\x7B\x1C\x52\xB1\x91\x64\x22\x4B"
26048 			  "\x13\xC7\xAE\x98\x0E\xB5\xCF\x6F"
26049 			  "\x3F\xF4\x43\x96\x73\x0D\xA2\x05"
26050 			  "\xDB\xFD\x28\x90\x2C\x56\xB9\x37"
26051 			  "\x5B\x69\x0C\xAD\x84\x67\xFF\x15"
26052 			  "\x4A\xD4\xA7\xD3\xDD\x99\x47\x3A"
26053 			  "\xED\x34\x35\x78\x6B\x91\xC9\x32"
26054 			  "\xE1\xBF\xBC\xB4\x04\x85\x6A\x39"
26055 			  "\xC0\xBA\x51\xD0\x0F\x4E\xD1\xE2"
26056 			  "\x1C\xFD\x0E\x05\x07\xF4\x10\xED"
26057 			  "\xA2\x17\xFF\xF5\x64\xC6\x1A\x22"
26058 			  "\xAD\x78\xE7\xD7\x11\xE9\x99\xB9"
26059 			  "\xAA\xEC\x6F\xF8\x3B\xBF\xCE\x77"
26060 			  "\x93\xE8\xAD\x1D\x50\x6C\xAE\xBC"
26061 			  "\xBA\x5C\x80\xD1\x91\x65\x51\x1B"
26062 			  "\xE8\x0A\xCD\x99\x96\x71\x3D\xB6"
26063 			  "\x78\x75\x37\x55\xC1\xF5\x90\x40"
26064 			  "\x34\xF4\x7E\xC8\xCC\x3A\x5F\x6E"
26065 			  "\x36\xA1\xA1\xC2\x3A\x72\x42\x8E"
26066 			  "\x0E\x37\x88\xE8\xCE\x83\xCB\xAD"
26067 			  "\xE0\x69\x77\x50\xC7\x0C\x99\xCA"
26068 			  "\x19\x5B\x30\x25\x9A\xEF\x9B\x0C"
26069 			  "\xEF\x8F\x74\x4C\xCF\x49\x4E\xB9"
26070 			  "\xC5\xAE\x9E\x2E\x78\x9A\xB9\x48"
26071 			  "\xD5\x81\xE4\x37\x1D\xBF\x27\xD9"
26072 			  "\xC5\xD6\x65\x43\x45\x8C\xBB\xB6"
26073 			  "\x55\xF4\x06\xBB\x49\x53\x8B\x1B"
26074 			  "\x07\xA9\x96\x69\x5B\xCB\x0F\xBC"
26075 			  "\x93\x85\x90\x0F\x0A\x68\x40\x2A"
26076 			  "\x95\xED\x2D\x88\xBF\x71\xD0\xBB"
26077 			  "\xEC\xB0\x77\x6C\x79\xFC\x3C\x05"
26078 			  "\x49\x3F\xB8\x24\xEF\x8E\x09\xA2"
26079 			  "\x1D\xEF\x92\x02\x96\xD4\x7F\xC8"
26080 			  "\x03\xB2\xCA\xDB\x17\x5C\x52\xCF"
26081 			  "\xDD\x70\x37\x63\xAA\xA5\x83\x20"
26082 			  "\x52\x02\xF6\xB9\xE7\x6E\x0A\xB6"
26083 			  "\x79\x03\xA0\xDA\xA3\x79\x21\xBD"
26084 			  "\xE3\x37\x3A\xC0\xF7\x2C\x32\xBE"
26085 			  "\x8B\xE8\xA6\x00\xC7\x32\xD5\x06"
26086 			  "\xBB\xE3\xAB\x06\x21\x82\xB8\x32"
26087 			  "\x31\x34\x2A\xA7\x1F\x64\x99\xBF"
26088 			  "\xFA\xDA\x3D\x75\xF7\x48\xD5\x48"
26089 			  "\x4B\x52\x7E\xF6\x7C\xAB\x67\x59"
26090 			  "\xC5\xDC\xA8\xC6\x63\x85\x4A\xDF"
26091 			  "\xF0\x40\x5F\xCF\xE3\x58\x52\x67"
26092 			  "\x7A\x24\x32\xC5\xEC\x9E\xA9\x6F"
26093 			  "\x58\x56\xDD\x94\x1F\x71\x8D\xF4"
26094 			  "\x6E\xFF\x2C\xA7\xA5\xD8\xBA\xAF"
26095 			  "\x1D\x8B\xA2\x46\xB5\xC4\x9F\x57"
26096 			  "\x8D\xD8\xB3\x3C\x02\x0D\xBB\x84"
26097 			  "\xC7\xBD\xB4\x9A\x6E\xBB\xB1\x37"
26098 			  "\x95\x79\xC4\xA7\xEA\x1D\xDC\x33"
26099 			  "\x5D\x0B\x3F\x03\x8F\x30\xF9\xAE"
26100 			  "\x4F\xFE\x24\x9C\x9A\x02\xE5\x57"
26101 			  "\xF5\xBC\x25\xD6\x02\x56\x57\x1C",
26102 		.ilen	= 496,
26103 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26104 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26105 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26106 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26107 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26108 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26109 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26110 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26111 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26112 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26113 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26114 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26115 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26116 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26117 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26118 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26119 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26120 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26121 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26122 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26123 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26124 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26125 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26126 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26127 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26128 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26129 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26130 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26131 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26132 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26133 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26134 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26135 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26136 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26137 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26138 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26139 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26140 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26141 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26142 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26143 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26144 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26145 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26146 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26147 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26148 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26149 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26150 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26151 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26152 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26153 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26154 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26155 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26156 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26157 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26158 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26159 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26160 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26161 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26162 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26163 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26164 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26165 		.rlen	= 496,
26166 		.also_non_np = 1,
26167 		.np	= 3,
26168 		.tap	= { 496 - 20, 4, 16 },
26169 	},
26170 };
26171 
26172 static const struct cipher_testvec cast5_cbc_enc_tv_template[] = {
26173 	{ /* Generated from TF test vectors */
26174 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26175 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26176 		.klen	= 16,
26177 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26178 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26179 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26180 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26181 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26182 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26183 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26184 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26185 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26186 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26187 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26188 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26189 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26190 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26191 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26192 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26193 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26194 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26195 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26196 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26197 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26198 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26199 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26200 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26201 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26202 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26203 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26204 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26205 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26206 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26207 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26208 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26209 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26210 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26211 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26212 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26213 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26214 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26215 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26216 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26217 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26218 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26219 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26220 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26221 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26222 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26223 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26224 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26225 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26226 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26227 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26228 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26229 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26230 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26231 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26232 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26233 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26234 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26235 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26236 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26237 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26238 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26239 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26240 		.ilen	= 496,
26241 		.result	= "\x05\x28\xCE\x61\x90\x80\xE1\x78"
26242 			  "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
26243 			  "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
26244 			  "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
26245 			  "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
26246 			  "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
26247 			  "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
26248 			  "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
26249 			  "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
26250 			  "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
26251 			  "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
26252 			  "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
26253 			  "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
26254 			  "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
26255 			  "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
26256 			  "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
26257 			  "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
26258 			  "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
26259 			  "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
26260 			  "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
26261 			  "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
26262 			  "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
26263 			  "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
26264 			  "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
26265 			  "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
26266 			  "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
26267 			  "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
26268 			  "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
26269 			  "\x90\x12\x37\x49\x27\x98\x69\x18"
26270 			  "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
26271 			  "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
26272 			  "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
26273 			  "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
26274 			  "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
26275 			  "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
26276 			  "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
26277 			  "\x03\x55\x0E\x02\x41\x4A\x45\x06"
26278 			  "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
26279 			  "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
26280 			  "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
26281 			  "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
26282 			  "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
26283 			  "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
26284 			  "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
26285 			  "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
26286 			  "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
26287 			  "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
26288 			  "\x11\xB4\x18\x17\x1A\x65\x92\x56"
26289 			  "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
26290 			  "\x1A\x01\x22\x45\x17\x62\x52\x6C"
26291 			  "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
26292 			  "\x32\x66\x6F\x23\x7F\x94\x36\x88"
26293 			  "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
26294 			  "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
26295 			  "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
26296 			  "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
26297 			  "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
26298 			  "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
26299 			  "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
26300 			  "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
26301 			  "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
26302 			  "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
26303 		.rlen	= 496,
26304 		.also_non_np = 1,
26305 		.np	= 3,
26306 		.tap	= { 496 - 20, 4, 16 },
26307 	},
26308 };
26309 
26310 static const struct cipher_testvec cast5_cbc_dec_tv_template[] = {
26311 	{ /* Generated from TF test vectors */
26312 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26313 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26314 		.klen	= 16,
26315 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26316 		.input	= "\x05\x28\xCE\x61\x90\x80\xE1\x78"
26317 			  "\xB9\x2A\x97\x7C\xB0\x83\xD8\x1A"
26318 			  "\xDE\x58\x7F\xD7\xFD\x72\xB8\xFB"
26319 			  "\xDA\xF0\x6E\x77\x14\x47\x82\xBA"
26320 			  "\x29\x0E\x25\x6E\xB4\x39\xD9\x7F"
26321 			  "\x05\xA7\xA7\x3A\xC1\x5D\x9E\x39"
26322 			  "\xA7\xFB\x0D\x05\x00\xF3\x58\x67"
26323 			  "\x60\xEC\x73\x77\x46\x85\x9B\x6A"
26324 			  "\x08\x3E\xBE\x59\xFB\xE4\x96\x34"
26325 			  "\xB4\x05\x49\x1A\x97\x43\xAD\xA0"
26326 			  "\xA9\x1E\x6E\x74\xF1\x94\xEC\xA8"
26327 			  "\xB5\x8A\x20\xEA\x89\x6B\x19\xAA"
26328 			  "\xA7\xF1\x33\x67\x90\x23\x0D\xEE"
26329 			  "\x81\xD5\x78\x4F\xD3\x63\xEA\x46"
26330 			  "\xB5\xB2\x6E\xBB\xCA\x76\x06\x10"
26331 			  "\x96\x2A\x0A\xBA\xF9\x41\x5A\x1D"
26332 			  "\x36\x7C\x56\x14\x54\x83\xFA\xA1"
26333 			  "\x27\xDD\xBA\x8A\x90\x29\xD6\xA6"
26334 			  "\xFA\x48\x3E\x1E\x23\x6E\x98\xA8"
26335 			  "\xA7\xD9\x67\x92\x5C\x13\xB4\x71"
26336 			  "\xA8\xAA\x89\x4A\xA4\xB3\x49\x7C"
26337 			  "\x7D\x7F\xCE\x6F\x29\x2E\x7E\x37"
26338 			  "\xC8\x52\x60\xD9\xE7\xCA\x60\x98"
26339 			  "\xED\xCD\xE8\x60\x83\xAD\x34\x4D"
26340 			  "\x96\x4A\x99\x2B\xB7\x14\x75\x66"
26341 			  "\x6C\x2C\x1A\xBA\x4B\xBB\x49\x56"
26342 			  "\xE1\x86\xA2\x0E\xD0\xF0\x07\xD3"
26343 			  "\x18\x38\x09\x9C\x0E\x8B\x86\x07"
26344 			  "\x90\x12\x37\x49\x27\x98\x69\x18"
26345 			  "\xB0\xCC\xFB\xD3\xBD\x04\xA0\x85"
26346 			  "\x4B\x22\x97\x07\xB6\x97\xE9\x95"
26347 			  "\x0F\x88\x36\xA9\x44\x00\xC6\xE9"
26348 			  "\x27\x53\x5C\x5B\x1F\xD3\xE2\xEE"
26349 			  "\xD0\xCD\x63\x30\xA9\xC0\xDD\x49"
26350 			  "\xFE\x16\xA4\x07\x0D\xE2\x5D\x97"
26351 			  "\xDE\x89\xBA\x2E\xF3\xA9\x5E\xBE"
26352 			  "\x03\x55\x0E\x02\x41\x4A\x45\x06"
26353 			  "\xBE\xEA\x32\xF2\xDC\x91\x5C\x20"
26354 			  "\x94\x02\x30\xD2\xFC\x29\xFA\x8E"
26355 			  "\x34\xA0\x31\xB8\x34\xBA\xAE\x54"
26356 			  "\xB5\x88\x1F\xDC\x43\xDC\x22\x9F"
26357 			  "\xDC\xCE\xD3\xFA\xA4\xA8\xBC\x8A"
26358 			  "\xC7\x5A\x43\x21\xA5\xB1\xDB\xC3"
26359 			  "\x84\x3B\xB4\x9B\xB5\xA7\xF1\x0A"
26360 			  "\xB6\x37\x21\x19\x55\xC2\xBD\x99"
26361 			  "\x49\x24\xBB\x7C\xB3\x8E\xEF\xD2"
26362 			  "\x3A\xCF\xA0\x31\x28\x0E\x25\xA2"
26363 			  "\x11\xB4\x18\x17\x1A\x65\x92\x56"
26364 			  "\xE8\xE0\x52\x9C\x61\x18\x2A\xB1"
26365 			  "\x1A\x01\x22\x45\x17\x62\x52\x6C"
26366 			  "\x91\x44\xCF\x98\xC7\xC0\x79\x26"
26367 			  "\x32\x66\x6F\x23\x7F\x94\x36\x88"
26368 			  "\x3C\xC9\xD0\xB7\x45\x30\x31\x86"
26369 			  "\x3D\xC6\xA3\x98\x62\x84\x1A\x8B"
26370 			  "\x16\x88\xC7\xA3\xE9\x4F\xE0\x86"
26371 			  "\xA4\x93\xA8\x34\x5A\xCA\xDF\xCA"
26372 			  "\x46\x38\xD2\xF4\xE0\x2D\x1E\xC9"
26373 			  "\x7C\xEF\x53\xB7\x60\x72\x41\xBF"
26374 			  "\x29\x00\x87\x02\xAF\x44\x4C\xB7"
26375 			  "\x8C\xF5\x3F\x19\xF4\x80\x45\xA7"
26376 			  "\x15\x5F\xDB\xE9\xB1\x83\xD2\xE6"
26377 			  "\x1D\x18\x66\x44\x5B\x8F\x14\xEB",
26378 		.ilen	= 496,
26379 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26380 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26381 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26382 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26383 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26384 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26385 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26386 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26387 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26388 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26389 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26390 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26391 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26392 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26393 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26394 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26395 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26396 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26397 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26398 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26399 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26400 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26401 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26402 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26403 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26404 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26405 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26406 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26407 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26408 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26409 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26410 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26411 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26412 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26413 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26414 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26415 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26416 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26417 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26418 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26419 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26420 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26421 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26422 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26423 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26424 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26425 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26426 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26427 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26428 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26429 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26430 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26431 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26432 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26433 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26434 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26435 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26436 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26437 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26438 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26439 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26440 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26441 		.rlen	= 496,
26442 		.also_non_np = 1,
26443 		.np	= 3,
26444 		.tap	= { 496 - 20, 4, 16 },
26445 	},
26446 };
26447 
26448 static const struct cipher_testvec cast5_ctr_enc_tv_template[] = {
26449 	{ /* Generated from TF test vectors */
26450 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26451 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26452 		.klen	= 16,
26453 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26454 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26455 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26456 			  "\x3A",
26457 		.ilen	= 17,
26458 		.result	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26459 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26460 			  "\x0C",
26461 		.rlen	= 17,
26462 	}, { /* Generated from TF test vectors */
26463 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26464 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26465 		.klen	= 16,
26466 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26467 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26468 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26469 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26470 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26471 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26472 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26473 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26474 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26475 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26476 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26477 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26478 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26479 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26480 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26481 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26482 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26483 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26484 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26485 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26486 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26487 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26488 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26489 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26490 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26491 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26492 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26493 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26494 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26495 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26496 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26497 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26498 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26499 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26500 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26501 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26502 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26503 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26504 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26505 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26506 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26507 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26508 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26509 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26510 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26511 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26512 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26513 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26514 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26515 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26516 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26517 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26518 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26519 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26520 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26521 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26522 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26523 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26524 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26525 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26526 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26527 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26528 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26529 		.ilen	= 496,
26530 		.result	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26531 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26532 			  "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
26533 			  "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
26534 			  "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
26535 			  "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
26536 			  "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
26537 			  "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
26538 			  "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
26539 			  "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
26540 			  "\x88\x18\x52\x56\x48\x58\xD1\x6B"
26541 			  "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
26542 			  "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
26543 			  "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
26544 			  "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
26545 			  "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
26546 			  "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
26547 			  "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
26548 			  "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
26549 			  "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
26550 			  "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
26551 			  "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
26552 			  "\x44\x67\x90\x20\xAC\x41\xDF\x43"
26553 			  "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
26554 			  "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
26555 			  "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
26556 			  "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
26557 			  "\xAE\x59\x0F\x07\x88\x79\x53\x26"
26558 			  "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
26559 			  "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
26560 			  "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
26561 			  "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
26562 			  "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
26563 			  "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
26564 			  "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
26565 			  "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
26566 			  "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
26567 			  "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
26568 			  "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
26569 			  "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
26570 			  "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
26571 			  "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
26572 			  "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
26573 			  "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
26574 			  "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
26575 			  "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
26576 			  "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
26577 			  "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
26578 			  "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
26579 			  "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
26580 			  "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
26581 			  "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
26582 			  "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
26583 			  "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
26584 			  "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
26585 			  "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
26586 			  "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
26587 			  "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
26588 			  "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
26589 			  "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
26590 			  "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
26591 			  "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
26592 		.rlen	= 496,
26593 		.also_non_np = 1,
26594 		.np	= 3,
26595 		.tap	= { 496 - 20, 4, 16 },
26596 	},
26597 };
26598 
26599 static const struct cipher_testvec cast5_ctr_dec_tv_template[] = {
26600 	{ /* Generated from TF test vectors */
26601 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26602 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26603 		.klen	= 16,
26604 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26605 		.input	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26606 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26607 			  "\x0C",
26608 		.ilen	= 17,
26609 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26610 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26611 			  "\x3A",
26612 		.rlen	= 17,
26613 	}, { /* Generated from TF test vectors */
26614 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
26615 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A",
26616 		.klen	= 16,
26617 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F",
26618 		.input	= "\xFF\xC4\x2E\x82\x3D\xF8\xA8\x39"
26619 			  "\x7C\x52\xC4\xD3\xBB\x62\xC6\xA8"
26620 			  "\x0C\x63\xA5\x55\xE3\xF8\x1C\x7F"
26621 			  "\xDC\x59\xF9\xA0\x52\xAD\x83\xDF"
26622 			  "\xD5\x3B\x53\x4A\xAA\x1F\x49\x44"
26623 			  "\xE8\x20\xCC\xF8\x97\xE6\xE0\x3C"
26624 			  "\x5A\xD2\x83\xEC\xEE\x25\x3F\xCF"
26625 			  "\x0D\xC2\x79\x80\x99\x6E\xFF\x7B"
26626 			  "\x64\xB0\x7B\x86\x29\x1D\x9F\x17"
26627 			  "\x10\xA5\xA5\xEB\x16\x55\x9E\xE3"
26628 			  "\x88\x18\x52\x56\x48\x58\xD1\x6B"
26629 			  "\xE8\x74\x6E\x48\xB0\x2E\x69\x63"
26630 			  "\x32\xAA\xAC\x26\x55\x45\x94\xDE"
26631 			  "\x30\x26\x26\xE6\x08\x82\x2F\x5F"
26632 			  "\xA7\x15\x94\x07\x75\x2D\xC6\x3A"
26633 			  "\x1B\xA0\x39\xFB\xBA\xB9\x06\x56"
26634 			  "\xF6\x9F\xF1\x2F\x9B\xF3\x89\x8B"
26635 			  "\x08\xC8\x9D\x5E\x6B\x95\x09\xC7"
26636 			  "\x98\xB7\x62\xA4\x1D\x25\xFA\xC5"
26637 			  "\x62\xC8\x5D\x6B\xB4\x85\x88\x7F"
26638 			  "\x3B\x29\xF9\xB4\x32\x62\x69\xBF"
26639 			  "\x32\xB8\xEB\xFD\x0E\x26\xAA\xA3"
26640 			  "\x44\x67\x90\x20\xAC\x41\xDF\x43"
26641 			  "\xC6\xC7\x19\x9F\x2C\x28\x74\xEB"
26642 			  "\x3E\x7F\x7A\x80\x5B\xE4\x08\x60"
26643 			  "\xC7\xC9\x71\x34\x44\xCE\x05\xFD"
26644 			  "\xA8\x91\xA8\x44\x5E\xD3\x89\x2C"
26645 			  "\xAE\x59\x0F\x07\x88\x79\x53\x26"
26646 			  "\xAF\xAC\xCB\x1D\x6F\x08\x25\x62"
26647 			  "\xD0\x82\x65\x66\xE4\x2A\x29\x1C"
26648 			  "\x9C\x64\x5F\x49\x9D\xF8\x62\xF9"
26649 			  "\xED\xC4\x13\x52\x75\xDC\xE4\xF9"
26650 			  "\x68\x0F\x8A\xCD\xA6\x8D\x75\xAA"
26651 			  "\x49\xA1\x86\x86\x37\x5C\x6B\x3D"
26652 			  "\x56\xE5\x6F\xBE\x27\xC0\x10\xF8"
26653 			  "\x3C\x4D\x17\x35\x14\xDC\x1C\xA0"
26654 			  "\x6E\xAE\xD1\x10\xDD\x83\x06\xC2"
26655 			  "\x23\xD3\xC7\x27\x15\x04\x2C\x27"
26656 			  "\xDD\x1F\x2E\x97\x09\x9C\x33\x7D"
26657 			  "\xAC\x50\x1B\x2E\xC9\x52\x0C\x14"
26658 			  "\x4B\x78\xC4\xDE\x07\x6A\x12\x02"
26659 			  "\x6E\xD7\x4B\x91\xB9\x88\x4D\x02"
26660 			  "\xC3\xB5\x04\xBC\xE0\x67\xCA\x18"
26661 			  "\x22\xA1\xAE\x9A\x21\xEF\xB2\x06"
26662 			  "\x35\xCD\xEC\x37\x70\x2D\xFC\x1E"
26663 			  "\xA8\x31\xE7\xFC\xE5\x8E\x88\x66"
26664 			  "\x16\xB5\xC8\x45\x21\x37\xBD\x24"
26665 			  "\xA9\xD5\x36\x12\x9F\x6E\x67\x80"
26666 			  "\x87\x54\xD5\xAF\x97\xE1\x15\xA7"
26667 			  "\x11\xF0\x63\x7B\xE1\x44\x14\x1C"
26668 			  "\x06\x32\x05\x8C\x6C\xDB\x9B\x36"
26669 			  "\x6A\x6B\xAD\x3A\x27\x55\x20\x4C"
26670 			  "\x76\x36\x43\xE8\x16\x60\xB5\xF3"
26671 			  "\xDF\x5A\xC6\xA5\x69\x78\x59\x51"
26672 			  "\x54\x68\x65\x06\x84\xDE\x3D\xAE"
26673 			  "\x38\x91\xBD\xCC\xA2\x8A\xEC\xE6"
26674 			  "\x9E\x83\xAE\x1E\x8E\x34\x5D\xDE"
26675 			  "\x91\xCE\x8F\xED\x40\xF7\xC8\x8B"
26676 			  "\x9A\x13\x4C\xAD\x89\x97\x9E\xD1"
26677 			  "\x91\x01\xD7\x21\x23\x28\x1E\xCC"
26678 			  "\x8C\x98\xDB\xDE\xFC\x72\x94\xAA"
26679 			  "\xC0\x0D\x96\xAA\x23\xF8\xFE\x13",
26680 		.ilen	= 496,
26681 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
26682 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
26683 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
26684 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
26685 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
26686 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
26687 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
26688 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
26689 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
26690 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
26691 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
26692 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
26693 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
26694 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
26695 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
26696 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
26697 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
26698 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
26699 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
26700 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
26701 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
26702 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
26703 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
26704 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
26705 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
26706 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
26707 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
26708 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
26709 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
26710 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
26711 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
26712 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
26713 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
26714 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
26715 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
26716 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
26717 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
26718 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
26719 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
26720 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
26721 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
26722 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
26723 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
26724 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
26725 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
26726 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
26727 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
26728 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
26729 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
26730 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
26731 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
26732 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
26733 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
26734 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
26735 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
26736 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
26737 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
26738 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
26739 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
26740 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
26741 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
26742 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
26743 		.rlen	= 496,
26744 		.also_non_np = 1,
26745 		.np	= 3,
26746 		.tap	= { 496 - 20, 4, 16 },
26747 	},
26748 };
26749 
26750 /*
26751  * ARC4 test vectors from OpenSSL
26752  */
26753 static const struct cipher_testvec arc4_enc_tv_template[] = {
26754 	{
26755 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26756 		.klen	= 8,
26757 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26758 		.ilen	= 8,
26759 		.result	= "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
26760 		.rlen	= 8,
26761 	}, {
26762 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26763 		.klen	= 8,
26764 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26765 		.ilen	= 8,
26766 		.result	= "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
26767 		.rlen	= 8,
26768 	}, {
26769 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26770 		.klen	= 8,
26771 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26772 		.ilen	= 8,
26773 		.result	= "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
26774 		.rlen	= 8,
26775 	}, {
26776 		.key	= "\xef\x01\x23\x45",
26777 		.klen	= 4,
26778 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
26779 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
26780 			  "\x00\x00\x00\x00",
26781 		.ilen	= 20,
26782 		.result	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26783 			  "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
26784 			  "\x36\xb6\x78\x58",
26785 		.rlen	= 20,
26786 	}, {
26787 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26788 		.klen	= 8,
26789 		.input	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26790 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26791 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26792 			  "\x12\x34\x56\x78",
26793 		.ilen	= 28,
26794 		.result	= "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
26795 			  "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
26796 			  "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
26797 			  "\x40\x01\x1e\xcf",
26798 		.rlen	= 28,
26799 	}, {
26800 		.key	= "\xef\x01\x23\x45",
26801 		.klen	= 4,
26802 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
26803 			  "\x00\x00",
26804 		.ilen	= 10,
26805 		.result	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26806 			  "\xbd\x61",
26807 		.rlen	= 10,
26808 	}, {
26809 		.key	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
26810 			"\x00\x00\x00\x00\x00\x00\x00\x00",
26811 		.klen	= 16,
26812 		.input	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
26813 		.ilen	= 8,
26814 		.result	= "\x69\x72\x36\x59\x1B\x52\x42\xB1",
26815 		.rlen	= 8,
26816 	},
26817 };
26818 
26819 static const struct cipher_testvec arc4_dec_tv_template[] = {
26820 	{
26821 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26822 		.klen	= 8,
26823 		.input	= "\x75\xb7\x87\x80\x99\xe0\xc5\x96",
26824 		.ilen	= 8,
26825 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26826 		.rlen	= 8,
26827 	}, {
26828 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26829 		.klen	= 8,
26830 		.input	= "\x74\x94\xc2\xe7\x10\x4b\x08\x79",
26831 		.ilen	= 8,
26832 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26833 		.rlen	= 8,
26834 	}, {
26835 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26836 		.klen	= 8,
26837 		.input	= "\xde\x18\x89\x41\xa3\x37\x5d\x3a",
26838 		.ilen	= 8,
26839 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
26840 		.rlen	= 8,
26841 	}, {
26842 		.key	= "\xef\x01\x23\x45",
26843 		.klen	= 4,
26844 		.input	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26845 			  "\xbd\x61\x5a\x11\x62\xe1\xc7\xba"
26846 			  "\x36\xb6\x78\x58",
26847 		.ilen	= 20,
26848 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
26849 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
26850 			  "\x00\x00\x00\x00",
26851 		.rlen	= 20,
26852 	}, {
26853 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef",
26854 		.klen	= 8,
26855 		.input	= "\x66\xa0\x94\x9f\x8a\xf7\xd6\x89"
26856 			  "\x1f\x7f\x83\x2b\xa8\x33\xc0\x0c"
26857 			  "\x89\x2e\xbe\x30\x14\x3c\xe2\x87"
26858 			  "\x40\x01\x1e\xcf",
26859 		.ilen	= 28,
26860 		.result	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26861 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26862 			  "\x12\x34\x56\x78\x9A\xBC\xDE\xF0"
26863 			  "\x12\x34\x56\x78",
26864 		.rlen	= 28,
26865 	}, {
26866 		.key	= "\xef\x01\x23\x45",
26867 		.klen	= 4,
26868 		.input	= "\xd6\xa1\x41\xa7\xec\x3c\x38\xdf"
26869 			  "\xbd\x61",
26870 		.ilen	= 10,
26871 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
26872 			  "\x00\x00",
26873 		.rlen	= 10,
26874 	}, {
26875 		.key	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF"
26876 			"\x00\x00\x00\x00\x00\x00\x00\x00",
26877 		.klen	= 16,
26878 		.input	= "\x69\x72\x36\x59\x1B\x52\x42\xB1",
26879 		.ilen	= 8,
26880 		.result	= "\x01\x23\x45\x67\x89\xAB\xCD\xEF",
26881 		.rlen	= 8,
26882 	},
26883 };
26884 
26885 /*
26886  * TEA test vectors
26887  */
26888 static const struct cipher_testvec tea_enc_tv_template[] = {
26889 	{
26890 		.key    = zeroed_string,
26891 		.klen	= 16,
26892 		.input  = zeroed_string,
26893 		.ilen	= 8,
26894 		.result	= "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
26895 		.rlen	= 8,
26896 	}, {
26897 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
26898 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26899 		.klen	= 16,
26900 		.input	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26901 		.ilen	= 8,
26902 		.result	= "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
26903 		.rlen	= 8,
26904 	}, {
26905 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
26906 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26907 		.klen	= 16,
26908 		.input	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26909 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
26910 		.ilen	= 16,
26911 		.result	= "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
26912 			  "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
26913 		.rlen	= 16,
26914 	}, {
26915 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
26916 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
26917 		.klen	= 16,
26918 		.input	= "\x54\x65\x61\x20\x69\x73\x20\x67"
26919 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
26920 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
26921 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
26922 		.ilen	= 32,
26923 		.result	= "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
26924 			  "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
26925 			  "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
26926 			  "\x07\x89\x73\xc2\x45\x92\xc6\x90",
26927 		.rlen	= 32,
26928 	}
26929 };
26930 
26931 static const struct cipher_testvec tea_dec_tv_template[] = {
26932 	{
26933 		.key    = zeroed_string,
26934 		.klen	= 16,
26935 		.input	= "\x0a\x3a\xea\x41\x40\xa9\xba\x94",
26936 		.ilen	= 8,
26937 		.result = zeroed_string,
26938 		.rlen	= 8,
26939 	}, {
26940 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
26941 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26942 		.klen	= 16,
26943 		.input	= "\x77\x5d\x2a\x6a\xf6\xce\x92\x09",
26944 		.ilen	= 8,
26945 		.result	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26946 		.rlen	= 8,
26947 	}, {
26948 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
26949 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26950 		.klen	= 16,
26951 		.input	= "\xbe\x7a\xbb\x81\x95\x2d\x1f\x1e"
26952 			  "\xdd\x89\xa1\x25\x04\x21\xdf\x95",
26953 		.ilen   = 16,
26954 		.result	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26955 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
26956 		.rlen	= 16,
26957 	}, {
26958 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
26959 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
26960 		.klen	= 16,
26961 		.input	= "\xe0\x4d\x5d\x3c\xb7\x8c\x36\x47"
26962 			  "\x94\x18\x95\x91\xa9\xfc\x49\xf8"
26963 			  "\x44\xd1\x2d\xc2\x99\xb8\x08\x2a"
26964 			  "\x07\x89\x73\xc2\x45\x92\xc6\x90",
26965 		.ilen	= 32,
26966 		.result	= "\x54\x65\x61\x20\x69\x73\x20\x67"
26967 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
26968 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
26969 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
26970 		.rlen	= 32,
26971 	}
26972 };
26973 
26974 /*
26975  * XTEA test vectors
26976  */
26977 static const struct cipher_testvec xtea_enc_tv_template[] = {
26978 	{
26979 		.key    = zeroed_string,
26980 		.klen	= 16,
26981 		.input  = zeroed_string,
26982 		.ilen	= 8,
26983 		.result	= "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
26984 		.rlen	= 8,
26985 	}, {
26986 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
26987 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
26988 		.klen	= 16,
26989 		.input	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
26990 		.ilen	= 8,
26991 		.result	= "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
26992 		.rlen	= 8,
26993 	}, {
26994 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
26995 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
26996 		.klen	= 16,
26997 		.input	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
26998 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
26999 		.ilen	= 16,
27000 		.result	= "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
27001 			  "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
27002 		.rlen	= 16,
27003 	}, {
27004 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27005 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27006 		.klen	= 16,
27007 		.input	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27008 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27009 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27010 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27011 		.ilen	= 32,
27012 		.result	= "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
27013 			  "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
27014 			  "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
27015 			  "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
27016 		.rlen	= 32,
27017 	}
27018 };
27019 
27020 static const struct cipher_testvec xtea_dec_tv_template[] = {
27021 	{
27022 		.key    = zeroed_string,
27023 		.klen	= 16,
27024 		.input	= "\xd8\xd4\xe9\xde\xd9\x1e\x13\xf7",
27025 		.ilen	= 8,
27026 		.result = zeroed_string,
27027 		.rlen	= 8,
27028 	}, {
27029 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27030 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27031 		.klen	= 16,
27032 		.input	= "\x94\xeb\xc8\x96\x84\x6a\x49\xa8",
27033 		.ilen	= 8,
27034 		.result	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27035 		.rlen	= 8,
27036 	}, {
27037 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27038 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27039 		.klen	= 16,
27040 		.input	= "\x3e\xce\xae\x22\x60\x56\xa8\x9d"
27041 			  "\x77\x4d\xd4\xb4\x87\x24\xe3\x9a",
27042 		.ilen	= 16,
27043 		.result	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27044 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27045 		.rlen	= 16,
27046 	}, {
27047 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27048 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27049 		.klen	= 16,
27050 		.input	= "\x99\x81\x9f\x5d\x6f\x4b\x31\x3a"
27051 			  "\x86\xff\x6f\xd0\xe3\x87\x70\x07"
27052 			  "\x4d\xb8\xcf\xf3\x99\x50\xb3\xd4"
27053 			  "\x73\xa2\xfa\xc9\x16\x59\x5d\x81",
27054 		.ilen	= 32,
27055 		.result	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27056 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27057 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27058 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27059 		.rlen	= 32,
27060 	}
27061 };
27062 
27063 /*
27064  * KHAZAD test vectors.
27065  */
27066 static const struct cipher_testvec khazad_enc_tv_template[] = {
27067 	{
27068 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
27069 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
27070 		.klen	= 16,
27071 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27072 		.ilen	= 8,
27073 		.result	= "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
27074 		.rlen	= 8,
27075 	}, {
27076 		.key	= "\x38\x38\x38\x38\x38\x38\x38\x38"
27077 			  "\x38\x38\x38\x38\x38\x38\x38\x38",
27078 		.klen	= 16,
27079 		.input	= "\x38\x38\x38\x38\x38\x38\x38\x38",
27080 		.ilen	= 8,
27081 		.result	= "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
27082 		.rlen	= 8,
27083 	}, {
27084 		.key	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
27085 			"\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27086 		.klen	= 16,
27087 		.input	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27088 		.ilen	= 8,
27089 		.result	= "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
27090 		.rlen	= 8,
27091 	}, {
27092 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27093 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27094 		.klen	= 16,
27095 		.input	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27096 		.ilen	= 8,
27097 		.result = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27098 		.rlen	= 8,
27099 	}, {
27100 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27101 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27102 		.klen	= 16,
27103 		.input	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27104 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27105 		.ilen	= 16,
27106 		.result = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
27107 			"\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27108 		.rlen	= 16,
27109 	},
27110 };
27111 
27112 static const struct cipher_testvec khazad_dec_tv_template[] = {
27113 	{
27114 		.key	= "\x80\x00\x00\x00\x00\x00\x00\x00"
27115 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
27116 		.klen	= 16,
27117 		.input	= "\x49\xa4\xce\x32\xac\x19\x0e\x3f",
27118 		.ilen	= 8,
27119 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27120 		.rlen	= 8,
27121 	}, {
27122 		.key	= "\x38\x38\x38\x38\x38\x38\x38\x38"
27123 			  "\x38\x38\x38\x38\x38\x38\x38\x38",
27124 		.klen	= 16,
27125 		.input	= "\x7e\x82\x12\xa1\xd9\x5b\xe4\xf9",
27126 		.ilen	= 8,
27127 		.result	= "\x38\x38\x38\x38\x38\x38\x38\x38",
27128 		.rlen	= 8,
27129 	}, {
27130 		.key	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2"
27131 			"\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27132 		.klen	= 16,
27133 		.input	= "\xaa\xbe\xc1\x95\xc5\x94\x1a\x9c",
27134 		.ilen	= 8,
27135 		.result	= "\xa2\xa2\xa2\xa2\xa2\xa2\xa2\xa2",
27136 		.rlen	= 8,
27137 	}, {
27138 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27139 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27140 		.klen	= 16,
27141 		.input  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27142 		.ilen	= 8,
27143 		.result	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27144 		.rlen	= 8,
27145 	}, {
27146 		.key	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27147 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27148 		.klen	= 16,
27149 		.input  = "\x04\x74\xf5\x70\x50\x16\xd3\xb8"
27150 			"\x04\x74\xf5\x70\x50\x16\xd3\xb8",
27151 		.ilen	= 16,
27152 		.result	= "\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f"
27153 			"\x2f\x2f\x2f\x2f\x2f\x2f\x2f\x2f",
27154 		.rlen	= 16,
27155 	},
27156 };
27157 
27158 /*
27159  * Anubis test vectors.
27160  */
27161 
27162 static const struct cipher_testvec anubis_enc_tv_template[] = {
27163 	{
27164 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27165 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27166 		.klen	= 16,
27167 		.input	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27168 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27169 		.ilen	= 16,
27170 		.result	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27171 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
27172 		.rlen	= 16,
27173 	}, {
27174 
27175 		.key	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27176 			  "\x03\x03\x03\x03\x03\x03\x03\x03"
27177 			  "\x03\x03\x03\x03",
27178 		.klen	= 20,
27179 		.input	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27180 			  "\x03\x03\x03\x03\x03\x03\x03\x03",
27181 		.ilen	= 16,
27182 		.result	= "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
27183 			  "\x87\x41\x6f\x82\x0a\x98\x64\xae",
27184 		.rlen	= 16,
27185 	}, {
27186 		.key	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27187 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27188 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27189 			  "\x24\x24\x24\x24",
27190 		.klen	= 28,
27191 		.input	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27192 			  "\x24\x24\x24\x24\x24\x24\x24\x24",
27193 		.ilen	= 16,
27194 		.result	= "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
27195 			  "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
27196 		.rlen	= 16,
27197 	}, {
27198 		.key	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27199 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27200 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27201 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27202 		.klen	= 32,
27203 		.input	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27204 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27205 		.ilen	= 16,
27206 		.result	= "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
27207 			"\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
27208 		.rlen	= 16,
27209 	}, {
27210 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27211 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27212 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27213 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27214 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27215 		.klen	= 40,
27216 		.input	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27217 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27218 		.ilen	= 16,
27219 		.result = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27220 			  "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
27221 		.rlen	= 16,
27222 	},
27223 };
27224 
27225 static const struct cipher_testvec anubis_dec_tv_template[] = {
27226 	{
27227 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27228 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27229 		.klen	= 16,
27230 		.input	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27231 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90",
27232 		.ilen	= 16,
27233 		.result	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27234 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27235 		.rlen	= 16,
27236 	}, {
27237 
27238 		.key	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27239 			  "\x03\x03\x03\x03\x03\x03\x03\x03"
27240 			  "\x03\x03\x03\x03",
27241 		.klen	= 20,
27242 		.input	= "\xdb\xf1\x42\xf4\xd1\x8a\xc7\x49"
27243 			  "\x87\x41\x6f\x82\x0a\x98\x64\xae",
27244 		.ilen	= 16,
27245 		.result	= "\x03\x03\x03\x03\x03\x03\x03\x03"
27246 			  "\x03\x03\x03\x03\x03\x03\x03\x03",
27247 		.rlen	= 16,
27248 	}, {
27249 		.key	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27250 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27251 			  "\x24\x24\x24\x24\x24\x24\x24\x24"
27252 			  "\x24\x24\x24\x24",
27253 		.klen	= 28,
27254 		.input	= "\xfd\x1b\x4a\xe3\xbf\xf0\xad\x3d"
27255 			  "\x06\xd3\x61\x27\xfd\x13\x9e\xde",
27256 		.ilen	= 16,
27257 		.result	= "\x24\x24\x24\x24\x24\x24\x24\x24"
27258 			  "\x24\x24\x24\x24\x24\x24\x24\x24",
27259 		.rlen	= 16,
27260 	}, {
27261 		.key	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27262 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27263 			  "\x25\x25\x25\x25\x25\x25\x25\x25"
27264 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27265 		.klen	= 32,
27266 		.input	= "\x1a\x91\xfb\x2b\xb7\x78\x6b\xc4"
27267 			"\x17\xd9\xff\x40\x3b\x0e\xe5\xfe",
27268 		.ilen	= 16,
27269 		.result	= "\x25\x25\x25\x25\x25\x25\x25\x25"
27270 			  "\x25\x25\x25\x25\x25\x25\x25\x25",
27271 		.rlen	= 16,
27272 	}, {
27273 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27274 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27275 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27276 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27277 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27278 		.input = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27279 			 "\x9e\xc6\x84\x0f\x17\x21\x07\xee",
27280 		.klen	= 40,
27281 		.ilen	= 16,
27282 		.result	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27283 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27284 		.rlen	= 16,
27285 	},
27286 };
27287 
27288 static const struct cipher_testvec anubis_cbc_enc_tv_template[] = {
27289 	{
27290 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27291 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27292 		.klen	= 16,
27293 		.input	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27294 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27295 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27296 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27297 		.ilen	= 32,
27298 		.result	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27299 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
27300 			  "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
27301 			  "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
27302 		.rlen	= 32,
27303 	}, {
27304 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27305 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27306 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27307 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27308 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27309 		.klen	= 40,
27310 		.input	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27311 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27312 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27313 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27314 		.ilen	= 32,
27315 		.result = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27316 			  "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
27317 			  "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
27318 			  "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
27319 		.rlen	= 32,
27320 	},
27321 };
27322 
27323 static const struct cipher_testvec anubis_cbc_dec_tv_template[] = {
27324 	{
27325 		.key	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27326 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27327 		.klen	= 16,
27328 		.input	= "\x6d\xc5\xda\xa2\x26\x7d\x62\x6f"
27329 			  "\x08\xb7\x52\x8e\x6e\x6e\x86\x90"
27330 			  "\x86\xd8\xb5\x6f\x98\x5e\x8a\x66"
27331 			  "\x4f\x1f\x78\xa1\xbb\x37\xf1\xbe",
27332 		.ilen	= 32,
27333 		.result	= "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27334 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27335 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe"
27336 			  "\xfe\xfe\xfe\xfe\xfe\xfe\xfe\xfe",
27337 		.rlen	= 32,
27338 	}, {
27339 		.key	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27340 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27341 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27342 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27343 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27344 		.klen	= 40,
27345 		.input = "\xa5\x2c\x85\x6f\x9c\xba\xa0\x97"
27346 			  "\x9e\xc6\x84\x0f\x17\x21\x07\xee"
27347 			  "\xa2\xbc\x06\x98\xc6\x4b\xda\x75"
27348 			  "\x2e\xaa\xbe\x58\xce\x01\x5b\xc7",
27349 		.ilen	= 32,
27350 		.result	= "\x35\x35\x35\x35\x35\x35\x35\x35"
27351 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27352 			  "\x35\x35\x35\x35\x35\x35\x35\x35"
27353 			  "\x35\x35\x35\x35\x35\x35\x35\x35",
27354 		.rlen	= 32,
27355 	},
27356 };
27357 
27358 /*
27359  * XETA test vectors
27360  */
27361 static const struct cipher_testvec xeta_enc_tv_template[] = {
27362 	{
27363 		.key    = zeroed_string,
27364 		.klen	= 16,
27365 		.input  = zeroed_string,
27366 		.ilen	= 8,
27367 		.result	= "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
27368 		.rlen	= 8,
27369 	}, {
27370 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27371 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27372 		.klen	= 16,
27373 		.input	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27374 		.ilen	= 8,
27375 		.result	= "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
27376 		.rlen	= 8,
27377 	}, {
27378 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27379 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27380 		.klen	= 16,
27381 		.input	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27382 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27383 		.ilen	= 16,
27384 		.result	= "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
27385 			  "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
27386 		.rlen	= 16,
27387 	}, {
27388 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27389 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27390 		.klen	= 16,
27391 		.input	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27392 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27393 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27394 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27395 		.ilen	= 32,
27396 		.result	= "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
27397 			  "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
27398 			  "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
27399 			  "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
27400 		.rlen	= 32,
27401 	}
27402 };
27403 
27404 static const struct cipher_testvec xeta_dec_tv_template[] = {
27405 	{
27406 		.key    = zeroed_string,
27407 		.klen	= 16,
27408 		.input	= "\xaa\x22\x96\xe5\x6c\x61\xf3\x45",
27409 		.ilen	= 8,
27410 		.result = zeroed_string,
27411 		.rlen	= 8,
27412 	}, {
27413 		.key	= "\x2b\x02\x05\x68\x06\x14\x49\x76"
27414 			  "\x77\x5d\x0e\x26\x6c\x28\x78\x43",
27415 		.klen	= 16,
27416 		.input	= "\x82\x3e\xeb\x35\xdc\xdd\xd9\xc3",
27417 		.ilen	= 8,
27418 		.result	= "\x74\x65\x73\x74\x20\x6d\x65\x2e",
27419 		.rlen	= 8,
27420 	}, {
27421 		.key	= "\x09\x65\x43\x11\x66\x44\x39\x25"
27422 			  "\x51\x3a\x16\x10\x0a\x08\x12\x6e",
27423 		.klen	= 16,
27424 		.input	= "\xe2\x04\xdb\xf2\x89\x85\x9e\xea"
27425 			  "\x61\x35\xaa\xed\xb5\xcb\x71\x2c",
27426 		.ilen	= 16,
27427 		.result	= "\x6c\x6f\x6e\x67\x65\x72\x5f\x74"
27428 			  "\x65\x73\x74\x5f\x76\x65\x63\x74",
27429 		.rlen	= 16,
27430 	}, {
27431 		.key	= "\x4d\x76\x32\x17\x05\x3f\x75\x2c"
27432 			  "\x5d\x04\x16\x36\x15\x72\x63\x2f",
27433 		.klen	= 16,
27434 		.input	= "\x0b\x03\xcd\x8a\xbe\x95\xfd\xb1"
27435 			  "\xc1\x44\x91\x0b\xa5\xc9\x1b\xb4"
27436 			  "\xa9\xda\x1e\x9e\xb1\x3e\x2a\x8f"
27437 			  "\xea\xa5\x6a\x85\xd1\xf4\xa8\xa5",
27438 		.ilen	= 32,
27439 		.result	= "\x54\x65\x61\x20\x69\x73\x20\x67"
27440 			  "\x6f\x6f\x64\x20\x66\x6f\x72\x20"
27441 			  "\x79\x6f\x75\x21\x21\x21\x20\x72"
27442 			  "\x65\x61\x6c\x6c\x79\x21\x21\x21",
27443 		.rlen	= 32,
27444 	}
27445 };
27446 
27447 /*
27448  * FCrypt test vectors
27449  */
27450 static const struct cipher_testvec fcrypt_pcbc_enc_tv_template[] = {
27451 	{ /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
27452 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27453 		.klen	= 8,
27454 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27455 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27456 		.ilen	= 8,
27457 		.result	= "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
27458 		.rlen	= 8,
27459 	}, {
27460 		.key	= "\x11\x44\x77\xAA\xDD\x00\x33\x66",
27461 		.klen	= 8,
27462 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27463 		.input	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
27464 		.ilen	= 8,
27465 		.result	= "\xD8\xED\x78\x74\x77\xEC\x06\x80",
27466 		.rlen	= 8,
27467 	}, { /* From Arla */
27468 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27469 		.klen	= 8,
27470 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27471 		.input	= "The quick brown fox jumps over the lazy dogs.\0\0",
27472 		.ilen	= 48,
27473 		.result	= "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
27474 			  "\xee\xac\x98\x62\x44\x51\xe4\x84"
27475 			  "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
27476 			  "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
27477 			  "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
27478 			  "\xf8\x91\x3c\xac\x44\x22\x92\xef",
27479 		.rlen	= 48,
27480 	}, {
27481 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27482 		.klen	= 8,
27483 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27484 		.input	= "The quick brown fox jumps over the lazy dogs.\0\0",
27485 		.ilen	= 48,
27486 		.result	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27487 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27488 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27489 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27490 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27491 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27492 		.rlen	= 48,
27493 	}, { /* split-page version */
27494 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27495 		.klen	= 8,
27496 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27497 		.input	= "The quick brown fox jumps over the lazy dogs.\0\0",
27498 		.ilen	= 48,
27499 		.result	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27500 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27501 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27502 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27503 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27504 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27505 		.rlen	= 48,
27506 		.np	= 2,
27507 		.tap	= { 20, 28 },
27508 	}
27509 };
27510 
27511 static const struct cipher_testvec fcrypt_pcbc_dec_tv_template[] = {
27512 	{ /* http://www.openafs.org/pipermail/openafs-devel/2000-December/005320.html */
27513 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27514 		.klen	= 8,
27515 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27516 		.input	= "\x0E\x09\x00\xC7\x3E\xF7\xED\x41",
27517 		.ilen	= 8,
27518 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27519 		.rlen	= 8,
27520 	}, {
27521 		.key	= "\x11\x44\x77\xAA\xDD\x00\x33\x66",
27522 		.klen	= 8,
27523 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00",
27524 		.input	= "\xD8\xED\x78\x74\x77\xEC\x06\x80",
27525 		.ilen	= 8,
27526 		.result	= "\x12\x34\x56\x78\x9A\xBC\xDE\xF0",
27527 		.rlen	= 8,
27528 	}, { /* From Arla */
27529 		.key	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27530 		.klen	= 8,
27531 		.iv	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27532 		.input	= "\x00\xf0\x0e\x11\x75\xe6\x23\x82"
27533 			  "\xee\xac\x98\x62\x44\x51\xe4\x84"
27534 			  "\xc3\x59\xd8\xaa\x64\x60\xae\xf7"
27535 			  "\xd2\xd9\x13\x79\x72\xa3\x45\x03"
27536 			  "\x23\xb5\x62\xd7\x0c\xf5\x27\xd1"
27537 			  "\xf8\x91\x3c\xac\x44\x22\x92\xef",
27538 		.ilen	= 48,
27539 		.result	= "The quick brown fox jumps over the lazy dogs.\0\0",
27540 		.rlen	= 48,
27541 	}, {
27542 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27543 		.klen	= 8,
27544 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27545 		.input	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27546 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27547 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27548 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27549 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27550 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27551 		.ilen	= 48,
27552 		.result	= "The quick brown fox jumps over the lazy dogs.\0\0",
27553 		.rlen	= 48,
27554 	}, { /* split-page version */
27555 		.key	= "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27556 		.klen	= 8,
27557 		.iv	= "\xf0\xe1\xd2\xc3\xb4\xa5\x96\x87",
27558 		.input	= "\xca\x90\xf5\x9d\xcb\xd4\xd2\x3c"
27559 			  "\x01\x88\x7f\x3e\x31\x6e\x62\x9d"
27560 			  "\xd8\xe0\x57\xa3\x06\x3a\x42\x58"
27561 			  "\x2a\x28\xfe\x72\x52\x2f\xdd\xe0"
27562 			  "\x19\x89\x09\x1c\x2a\x8e\x8c\x94"
27563 			  "\xfc\xc7\x68\xe4\x88\xaa\xde\x0f",
27564 		.ilen	= 48,
27565 		.result	= "The quick brown fox jumps over the lazy dogs.\0\0",
27566 		.rlen	= 48,
27567 		.np	= 2,
27568 		.tap	= { 20, 28 },
27569 	}
27570 };
27571 
27572 /*
27573  * CAMELLIA test vectors.
27574  */
27575 static const struct cipher_testvec camellia_enc_tv_template[] = {
27576 	{
27577 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27578 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27579 		.klen	= 16,
27580 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27581 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27582 		.ilen	= 16,
27583 		.result	= "\x67\x67\x31\x38\x54\x96\x69\x73"
27584 			  "\x08\x57\x06\x56\x48\xea\xbe\x43",
27585 		.rlen	= 16,
27586 	}, {
27587 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27588 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27589 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
27590 		.klen	= 24,
27591 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27592 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27593 		.ilen	= 16,
27594 		.result	= "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
27595 			  "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
27596 		.rlen	= 16,
27597 	}, {
27598 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27599 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27600 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
27601 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
27602 		.klen	= 32,
27603 		.input	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27604 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27605 		.ilen	= 16,
27606 		.result	= "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
27607 			  "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
27608 		.rlen	= 16,
27609 	}, { /* Generated with Crypto++ */
27610 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
27611 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
27612 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
27613 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
27614 		.klen	= 32,
27615 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
27616 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
27617 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
27618 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
27619 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
27620 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
27621 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
27622 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
27623 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
27624 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
27625 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
27626 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
27627 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
27628 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
27629 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
27630 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
27631 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
27632 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
27633 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
27634 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
27635 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
27636 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
27637 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
27638 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
27639 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
27640 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
27641 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
27642 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
27643 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
27644 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
27645 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
27646 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
27647 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
27648 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
27649 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
27650 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
27651 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
27652 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
27653 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
27654 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
27655 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
27656 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
27657 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
27658 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
27659 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
27660 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
27661 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
27662 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
27663 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
27664 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
27665 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
27666 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
27667 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
27668 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
27669 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
27670 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
27671 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
27672 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
27673 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
27674 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
27675 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
27676 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
27677 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
27678 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
27679 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
27680 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
27681 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
27682 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
27683 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
27684 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
27685 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
27686 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
27687 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
27688 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
27689 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
27690 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
27691 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
27692 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
27693 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
27694 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
27695 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
27696 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
27697 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
27698 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
27699 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
27700 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
27701 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
27702 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
27703 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
27704 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
27705 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
27706 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
27707 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
27708 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
27709 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
27710 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
27711 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
27712 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
27713 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
27714 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
27715 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
27716 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
27717 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
27718 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
27719 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
27720 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
27721 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
27722 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
27723 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
27724 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
27725 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
27726 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
27727 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
27728 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
27729 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
27730 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
27731 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
27732 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
27733 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
27734 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
27735 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
27736 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
27737 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
27738 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
27739 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
27740 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
27741 		.ilen	= 1008,
27742 		.result	= "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
27743 			  "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
27744 			  "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
27745 			  "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
27746 			  "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
27747 			  "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
27748 			  "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
27749 			  "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
27750 			  "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
27751 			  "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
27752 			  "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
27753 			  "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
27754 			  "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
27755 			  "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
27756 			  "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
27757 			  "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
27758 			  "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
27759 			  "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
27760 			  "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
27761 			  "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
27762 			  "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
27763 			  "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
27764 			  "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
27765 			  "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
27766 			  "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
27767 			  "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
27768 			  "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
27769 			  "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
27770 			  "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
27771 			  "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
27772 			  "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
27773 			  "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
27774 			  "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
27775 			  "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
27776 			  "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
27777 			  "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
27778 			  "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
27779 			  "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
27780 			  "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
27781 			  "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
27782 			  "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
27783 			  "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
27784 			  "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
27785 			  "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
27786 			  "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
27787 			  "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
27788 			  "\x83\x06\xAB\x82\x99\x01\x16\x1A"
27789 			  "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
27790 			  "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
27791 			  "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
27792 			  "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
27793 			  "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
27794 			  "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
27795 			  "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
27796 			  "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
27797 			  "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
27798 			  "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
27799 			  "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
27800 			  "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
27801 			  "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
27802 			  "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
27803 			  "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
27804 			  "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
27805 			  "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
27806 			  "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
27807 			  "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
27808 			  "\xED\x28\x39\xE9\x63\xED\x41\x70"
27809 			  "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
27810 			  "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
27811 			  "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
27812 			  "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
27813 			  "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
27814 			  "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
27815 			  "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
27816 			  "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
27817 			  "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
27818 			  "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
27819 			  "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
27820 			  "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
27821 			  "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
27822 			  "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
27823 			  "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
27824 			  "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
27825 			  "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
27826 			  "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
27827 			  "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
27828 			  "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
27829 			  "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
27830 			  "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
27831 			  "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
27832 			  "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
27833 			  "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
27834 			  "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
27835 			  "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
27836 			  "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
27837 			  "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
27838 			  "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
27839 			  "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
27840 			  "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
27841 			  "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
27842 			  "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
27843 			  "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
27844 			  "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
27845 			  "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
27846 			  "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
27847 			  "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
27848 			  "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
27849 			  "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
27850 			  "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
27851 			  "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
27852 			  "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
27853 			  "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
27854 			  "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
27855 			  "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
27856 			  "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
27857 			  "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
27858 			  "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
27859 			  "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
27860 			  "\x31\x93\x51\x1C\x63\x97\x70\xB0"
27861 			  "\x99\x78\x83\x13\xFD\xCF\x53\x81"
27862 			  "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
27863 			  "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
27864 			  "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
27865 			  "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
27866 			  "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
27867 			  "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
27868 		.rlen	= 1008,
27869 		.also_non_np = 1,
27870 		.np	= 3,
27871 		.tap	= { 1008 - 20, 4, 16 },
27872 	},
27873 };
27874 
27875 static const struct cipher_testvec camellia_dec_tv_template[] = {
27876 	{
27877 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27878 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27879 		.klen	= 16,
27880 		.input	= "\x67\x67\x31\x38\x54\x96\x69\x73"
27881 			  "\x08\x57\x06\x56\x48\xea\xbe\x43",
27882 		.ilen	= 16,
27883 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27884 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27885 		.rlen	= 16,
27886 	}, {
27887 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27888 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27889 			  "\x00\x11\x22\x33\x44\x55\x66\x77",
27890 		.klen	= 24,
27891 		.input	= "\xb4\x99\x34\x01\xb3\xe9\x96\xf8"
27892 			  "\x4e\xe5\xce\xe7\xd7\x9b\x09\xb9",
27893 		.ilen	= 16,
27894 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27895 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27896 		.rlen	= 16,
27897 	}, {
27898 		.key	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27899 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10"
27900 			  "\x00\x11\x22\x33\x44\x55\x66\x77"
27901 			  "\x88\x99\xaa\xbb\xcc\xdd\xee\xff",
27902 		.klen	= 32,
27903 		.input	= "\x9a\xcc\x23\x7d\xff\x16\xd7\x6c"
27904 			  "\x20\xef\x7c\x91\x9e\x3a\x75\x09",
27905 		.ilen	= 16,
27906 		.result	= "\x01\x23\x45\x67\x89\xab\xcd\xef"
27907 			  "\xfe\xdc\xba\x98\x76\x54\x32\x10",
27908 		.rlen	= 16,
27909 	}, { /* Generated with Crypto++ */
27910 		.key	= "\x3F\x85\x62\x3F\x1C\xF9\xD6\x1C"
27911 			  "\xF9\xD6\xB3\x90\x6D\x4A\x90\x6D"
27912 			  "\x4A\x27\x04\xE1\x27\x04\xE1\xBE"
27913 			  "\x9B\x78\xBE\x9B\x78\x55\x32\x0F",
27914 		.klen	= 32,
27915 		.input	= "\xED\xCD\xDB\xB8\x68\xCE\xBD\xEA"
27916 			  "\x9D\x9D\xCD\x9F\x4F\xFC\x4D\xB7"
27917 			  "\xA5\xFF\x6F\x43\x0F\xBA\x32\x04"
27918 			  "\xB3\xC2\xB9\x03\xAA\x91\x56\x29"
27919 			  "\x0D\xD0\xFD\xC4\x65\xA5\x69\xB9"
27920 			  "\xF1\xF6\xB1\xA5\xB2\x75\x4F\x8A"
27921 			  "\x8D\x7D\x1B\x9B\xC7\x68\x72\xF8"
27922 			  "\x01\x9B\x17\x0A\x29\xE7\x61\x28"
27923 			  "\x7F\xA7\x50\xCA\x20\x2C\x96\x3B"
27924 			  "\x6E\x5C\x5D\x3F\xB5\x7F\xF3\x2B"
27925 			  "\x04\xEF\x9D\xD4\xCE\x41\x28\x8E"
27926 			  "\x83\x54\xAE\x7C\x82\x46\x10\xC9"
27927 			  "\xC4\x8A\x1E\x1F\x4C\xA9\xFC\xEC"
27928 			  "\x3C\x8C\x30\xFC\x59\xD2\x54\xC4"
27929 			  "\x6F\x50\xC6\xCA\x8C\x14\x5B\x9C"
27930 			  "\x18\x56\x5B\xF8\x33\x0E\x4A\xDB"
27931 			  "\xEC\xB5\x6E\x5B\x31\xC4\x0E\x98"
27932 			  "\x9F\x32\xBA\xA2\x18\xCF\x55\x43"
27933 			  "\xFE\x80\x8F\x60\xCF\x05\x30\x9B"
27934 			  "\x70\x50\x1E\x9C\x08\x87\xE6\x20"
27935 			  "\xD2\xF3\x27\xF8\x2A\x8D\x12\xB2"
27936 			  "\xBC\x5F\xFE\x52\x52\xF6\x7F\xB6"
27937 			  "\xB8\x30\x86\x3B\x0F\x94\x1E\x79"
27938 			  "\x13\x94\x35\xA2\xB1\x35\x5B\x05"
27939 			  "\x2A\x98\x6B\x96\x4C\xB1\x20\xBE"
27940 			  "\xB6\x14\xC2\x06\xBF\xFD\x5F\x2A"
27941 			  "\xF5\x33\xC8\x19\x45\x14\x44\x5D"
27942 			  "\xFE\x94\x7B\xBB\x63\x13\x57\xC3"
27943 			  "\x2A\x8F\x6C\x11\x2A\x07\xA7\x6A"
27944 			  "\xBF\x20\xD3\x99\xC6\x00\x0B\xBF"
27945 			  "\x83\x46\x25\x3A\xB0\xF6\xC5\xC8"
27946 			  "\x00\xCA\xE5\x28\x4A\x7C\x95\x9C"
27947 			  "\x7B\x43\xAB\xF9\xE4\xF8\x74\xAB"
27948 			  "\xA7\xB8\x9C\x0F\x53\x7B\xB6\x74"
27949 			  "\x60\x64\x0D\x1C\x80\xD1\x20\x9E"
27950 			  "\xDC\x14\x27\x9B\xFC\xBD\x5C\x96"
27951 			  "\xD2\x51\xDC\x96\xEE\xE5\xEA\x2B"
27952 			  "\x02\x7C\xAA\x3C\xDC\x9D\x7B\x01"
27953 			  "\x20\xC3\xE1\x0B\xDD\xAB\xF3\x1E"
27954 			  "\x19\xA8\x84\x29\x5F\xCC\xC3\x5B"
27955 			  "\xE4\x33\x59\xDC\x12\xEB\x2B\x4D"
27956 			  "\x5B\x55\x23\xB7\x40\x31\xDE\xEE"
27957 			  "\x18\xC9\x3C\x4D\xBC\xED\xE0\x42"
27958 			  "\xAD\xDE\xA0\xA3\xC3\xFE\x44\xD3"
27959 			  "\xE1\x9A\xDA\xAB\x32\xFC\x1A\xBF"
27960 			  "\x63\xA9\xF0\x6A\x08\x46\xBD\x48"
27961 			  "\x83\x06\xAB\x82\x99\x01\x16\x1A"
27962 			  "\x03\x36\xC5\x59\x6B\xB8\x8C\x9F"
27963 			  "\xC6\x51\x3D\xE5\x7F\xBF\xAB\xBC"
27964 			  "\xC9\xA1\x88\x34\x5F\xA9\x7C\x3B"
27965 			  "\x9F\x1B\x98\x2B\x4F\xFB\x9B\xF0"
27966 			  "\xCD\xB6\x45\xB2\x29\x2E\x34\x23"
27967 			  "\xA9\x97\xC0\x22\x8C\x42\x9B\x5F"
27968 			  "\x40\xC8\xD7\x3D\x82\x9A\x6F\xAA"
27969 			  "\x74\x83\x29\x05\xE8\xC4\x4D\x01"
27970 			  "\xB5\xE5\x84\x3F\x7F\xD3\xE0\x99"
27971 			  "\xDA\xE7\x6F\x30\xFD\xAA\x92\x30"
27972 			  "\xA5\x46\x8B\xA2\xE6\x58\x62\x7C"
27973 			  "\x2C\x35\x1B\x38\x85\x7D\xE8\xF3"
27974 			  "\x87\x4F\xDA\xD8\x5F\xFC\xB6\x44"
27975 			  "\xD0\xE3\x9B\x8B\xBF\xD6\xB8\xC4"
27976 			  "\x73\xAE\x1D\x8B\x5B\x74\x8B\xCB"
27977 			  "\xA4\xAD\xCF\x5D\xD4\x58\xC9\xCD"
27978 			  "\xF7\x90\x68\xCF\xC9\x11\x52\x3E"
27979 			  "\xE8\xA1\xA3\x78\x8B\xD0\xAC\x0A"
27980 			  "\xD4\xC9\xA3\xA5\x55\x30\xC8\x3E"
27981 			  "\xED\x28\x39\xE9\x63\xED\x41\x70"
27982 			  "\x51\xE3\xC4\xA0\xFC\xD5\x43\xCB"
27983 			  "\x4D\x65\xC8\xFD\x3A\x91\x8F\x60"
27984 			  "\x8A\xA6\x6D\x9D\x3E\x01\x23\x4B"
27985 			  "\x50\x47\xC9\xDC\x9B\xDE\x37\xC5"
27986 			  "\xBF\x67\xB1\x6B\x78\x38\xD5\x7E"
27987 			  "\xB6\xFF\x67\x83\x3B\x6E\xBE\x23"
27988 			  "\x45\xFA\x1D\x69\x44\xFD\xC6\xB9"
27989 			  "\xD0\x4A\x92\xD1\xBE\xF6\x4A\xB7"
27990 			  "\xCA\xA8\xA2\x9E\x13\x87\x57\x92"
27991 			  "\x64\x7C\x85\x0B\xB3\x29\x37\xD8"
27992 			  "\xE6\xAA\xAF\xC4\x03\x67\xA3\xBF"
27993 			  "\x2E\x45\x83\xB6\xD8\x54\x00\x89"
27994 			  "\xF6\xBC\x3A\x7A\x88\x58\x51\xED"
27995 			  "\xF4\x4E\x01\xA5\xC3\x2E\xD9\x42"
27996 			  "\xBD\x6E\x0D\x0B\x21\xB0\x1A\xCC"
27997 			  "\xA4\xD3\x3F\xDC\x9B\x81\xD8\xF1"
27998 			  "\xEA\x7A\x6A\xB7\x07\xC9\x6D\x91"
27999 			  "\x6D\x3A\xF5\x5F\xA6\xFF\x87\x1E"
28000 			  "\x3F\xDD\xC0\x72\xEA\xAC\x08\x15"
28001 			  "\x21\xE6\xC6\xB6\x0D\xD8\x51\x86"
28002 			  "\x2A\x03\x73\xF7\x29\xD4\xC4\xE4"
28003 			  "\x7F\x95\x10\xF7\xAB\x3F\x92\x23"
28004 			  "\xD3\xCE\x9C\x2E\x46\x3B\x63\x43"
28005 			  "\xBB\xC2\x82\x7A\x83\xD5\x55\xE2"
28006 			  "\xE7\x9B\x2F\x92\xAF\xFD\x81\x56"
28007 			  "\x79\xFD\x3E\xF9\x46\xE0\x25\xD4"
28008 			  "\x38\xDE\xBC\x2C\xC4\x7A\x2A\x8F"
28009 			  "\x94\x4F\xD0\xAD\x9B\x37\x18\xD4"
28010 			  "\x0E\x4D\x0F\x02\x3A\xDC\x5A\xA2"
28011 			  "\x39\x25\x55\x20\x5A\xA6\x02\x9F"
28012 			  "\xE6\x77\x21\x77\xE5\x4B\x7B\x0B"
28013 			  "\x30\xF8\x5F\x33\x0F\x49\xCD\xFF"
28014 			  "\xF2\xE4\x35\xF9\xF0\x63\xC3\x7E"
28015 			  "\xF1\xA6\x73\xB4\xDF\xE7\xBB\x78"
28016 			  "\xFF\x21\xA9\xF3\xF3\xCF\x5D\xBA"
28017 			  "\xED\x87\x98\xAC\xFE\x48\x97\x6D"
28018 			  "\xA6\x7F\x69\x31\xB1\xC4\xFF\x14"
28019 			  "\xC6\x76\xD4\x10\xDD\xF6\x49\x2C"
28020 			  "\x9C\xC8\x6D\x76\xC0\x8F\x5F\x55"
28021 			  "\x2F\x3C\x8A\x30\xAA\xC3\x16\x55"
28022 			  "\xC6\xFC\x8D\x8B\xB9\xE5\x80\x6C"
28023 			  "\xC8\x7E\xBD\x65\x58\x36\xD5\xBC"
28024 			  "\xF0\x33\x52\x29\x70\xF9\x5C\xE9"
28025 			  "\xAC\x1F\xB5\x73\x56\x66\x54\xAF"
28026 			  "\x1B\x8F\x7D\xED\xAB\x03\xCE\xE3"
28027 			  "\xAE\x47\xB6\x69\x86\xE9\x01\x31"
28028 			  "\x83\x18\x3D\xF4\x74\x7B\xF9\x42"
28029 			  "\x4C\xFD\x75\x4A\x6D\xF0\x03\xA6"
28030 			  "\x2B\x20\x63\xDA\x49\x65\x5E\x8B"
28031 			  "\xC0\x19\xE3\x8D\xD9\xF3\xB0\x34"
28032 			  "\xD3\x52\xFC\x68\x00\x43\x1B\x37"
28033 			  "\x31\x93\x51\x1C\x63\x97\x70\xB0"
28034 			  "\x99\x78\x83\x13\xFD\xCF\x53\x81"
28035 			  "\x36\x46\xB5\x42\x52\x2F\x32\xEB"
28036 			  "\x4A\x3D\xF1\x8F\x1C\x54\x2E\xFC"
28037 			  "\x41\x75\x5A\x8C\x8E\x6F\xE7\x1A"
28038 			  "\xAE\xEF\x3E\x82\x12\x0B\x74\x72"
28039 			  "\xF8\xB2\xAA\x7A\xD6\xFF\xFA\x55"
28040 			  "\x33\x1A\xBB\xD3\xA2\x7E\x97\x66",
28041 		.ilen	= 1008,
28042 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28043 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28044 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28045 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28046 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28047 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28048 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28049 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28050 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28051 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28052 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28053 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28054 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28055 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28056 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28057 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28058 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28059 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28060 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28061 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28062 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28063 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28064 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28065 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28066 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28067 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28068 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28069 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28070 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28071 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28072 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28073 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28074 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28075 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28076 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28077 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28078 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28079 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28080 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28081 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28082 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28083 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28084 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28085 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28086 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28087 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28088 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28089 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28090 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28091 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28092 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28093 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28094 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28095 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28096 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28097 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28098 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28099 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28100 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28101 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28102 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28103 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28104 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28105 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28106 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28107 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28108 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28109 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28110 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28111 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28112 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28113 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28114 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28115 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28116 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28117 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28118 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28119 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28120 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28121 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28122 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28123 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28124 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28125 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28126 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28127 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28128 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28129 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28130 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28131 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28132 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28133 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28134 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28135 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28136 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28137 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28138 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28139 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28140 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28141 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28142 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28143 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28144 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28145 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28146 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28147 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28148 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28149 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28150 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28151 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28152 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28153 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28154 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28155 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28156 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28157 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28158 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28159 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28160 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28161 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28162 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28163 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28164 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28165 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28166 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28167 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28168 		.rlen	= 1008,
28169 		.also_non_np = 1,
28170 		.np	= 3,
28171 		.tap	= { 1008 - 20, 4, 16 },
28172 	},
28173 };
28174 
28175 static const struct cipher_testvec camellia_cbc_enc_tv_template[] = {
28176 	{
28177 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
28178 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
28179 		.klen   = 16,
28180 		.iv	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
28181 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
28182 		.input	= "Single block msg",
28183 		.ilen   = 16,
28184 		.result = "\xea\x32\x12\x76\x3b\x50\x10\xe7"
28185 			  "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
28186 		.rlen   = 16,
28187 	}, {
28188 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
28189 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
28190 		.klen   = 16,
28191 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
28192 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
28193 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
28194 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28195 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
28196 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
28197 		.ilen   = 32,
28198 		.result = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
28199 			  "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
28200 			  "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
28201 			  "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
28202 		.rlen   = 32,
28203 	}, { /* Generated with Crypto++ */
28204 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28205 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28206 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28207 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28208 		.klen	= 32,
28209 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28210 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28211 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28212 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28213 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28214 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28215 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28216 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28217 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28218 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28219 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28220 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28221 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28222 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28223 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28224 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28225 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28226 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28227 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28228 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28229 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28230 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28231 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28232 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28233 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28234 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28235 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28236 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28237 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28238 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28239 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28240 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28241 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28242 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28243 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28244 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28245 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28246 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28247 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28248 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28249 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28250 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28251 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28252 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28253 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28254 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28255 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28256 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28257 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28258 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28259 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28260 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28261 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28262 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28263 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28264 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28265 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28266 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28267 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28268 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28269 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28270 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28271 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28272 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28273 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28274 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28275 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28276 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28277 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28278 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28279 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28280 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28281 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28282 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28283 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28284 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28285 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28286 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28287 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28288 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28289 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28290 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28291 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28292 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28293 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28294 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28295 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28296 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28297 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28298 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28299 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28300 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28301 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28302 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28303 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28304 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28305 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28306 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28307 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28308 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28309 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28310 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28311 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28312 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28313 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28314 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28315 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28316 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28317 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28318 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28319 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28320 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28321 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28322 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28323 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28324 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28325 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28326 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28327 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28328 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28329 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28330 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28331 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28332 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28333 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28334 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28335 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28336 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28337 		.ilen	= 1008,
28338 		.result	= "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
28339 			  "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
28340 			  "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
28341 			  "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
28342 			  "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
28343 			  "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
28344 			  "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
28345 			  "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
28346 			  "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
28347 			  "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
28348 			  "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
28349 			  "\x37\x49\x88\xA4\xEF\x91\x21\x47"
28350 			  "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
28351 			  "\x28\x90\x77\x46\xD8\xD2\x35\x16"
28352 			  "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
28353 			  "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
28354 			  "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
28355 			  "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
28356 			  "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
28357 			  "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
28358 			  "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
28359 			  "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
28360 			  "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
28361 			  "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
28362 			  "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
28363 			  "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
28364 			  "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
28365 			  "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
28366 			  "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
28367 			  "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
28368 			  "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
28369 			  "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
28370 			  "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
28371 			  "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
28372 			  "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
28373 			  "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
28374 			  "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
28375 			  "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
28376 			  "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
28377 			  "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
28378 			  "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
28379 			  "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
28380 			  "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
28381 			  "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
28382 			  "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
28383 			  "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
28384 			  "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
28385 			  "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
28386 			  "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
28387 			  "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
28388 			  "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
28389 			  "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
28390 			  "\x38\xB8\x48\x36\x66\x4E\x20\x43"
28391 			  "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
28392 			  "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
28393 			  "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
28394 			  "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
28395 			  "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
28396 			  "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
28397 			  "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
28398 			  "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
28399 			  "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
28400 			  "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
28401 			  "\x21\x41\x56\x72\x13\xE1\x86\x07"
28402 			  "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
28403 			  "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
28404 			  "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
28405 			  "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
28406 			  "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
28407 			  "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
28408 			  "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
28409 			  "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
28410 			  "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
28411 			  "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
28412 			  "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
28413 			  "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
28414 			  "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
28415 			  "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
28416 			  "\xBE\x31\x31\x96\x8B\x40\x18\x75"
28417 			  "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
28418 			  "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
28419 			  "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
28420 			  "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
28421 			  "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
28422 			  "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
28423 			  "\x09\xB0\x43\x96\x4A\x64\x80\x40"
28424 			  "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
28425 			  "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
28426 			  "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
28427 			  "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
28428 			  "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
28429 			  "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
28430 			  "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
28431 			  "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
28432 			  "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
28433 			  "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
28434 			  "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
28435 			  "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
28436 			  "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
28437 			  "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
28438 			  "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
28439 			  "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
28440 			  "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
28441 			  "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
28442 			  "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
28443 			  "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
28444 			  "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
28445 			  "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
28446 			  "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
28447 			  "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
28448 			  "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
28449 			  "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
28450 			  "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
28451 			  "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
28452 			  "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
28453 			  "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
28454 			  "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
28455 			  "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
28456 			  "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
28457 			  "\x80\xE7\x29\xDC\x23\x55\x98\x54"
28458 			  "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
28459 			  "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
28460 			  "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
28461 			  "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
28462 			  "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
28463 			  "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
28464 		.rlen	= 1008,
28465 		.also_non_np = 1,
28466 		.np	= 3,
28467 		.tap	= { 1008 - 20, 4, 16 },
28468 	},
28469 };
28470 
28471 static const struct cipher_testvec camellia_cbc_dec_tv_template[] = {
28472 	{
28473 		.key    = "\x06\xa9\x21\x40\x36\xb8\xa1\x5b"
28474 			  "\x51\x2e\x03\xd5\x34\x12\x00\x06",
28475 		.klen   = 16,
28476 		.iv	= "\x3d\xaf\xba\x42\x9d\x9e\xb4\x30"
28477 			  "\xb4\x22\xda\x80\x2c\x9f\xac\x41",
28478 		.input	= "\xea\x32\x12\x76\x3b\x50\x10\xe7"
28479 			  "\x18\xf6\xfd\x5d\xf6\x8f\x13\x51",
28480 		.ilen   = 16,
28481 		.result = "Single block msg",
28482 		.rlen   = 16,
28483 	}, {
28484 		.key    = "\xc2\x86\x69\x6d\x88\x7c\x9a\xa0"
28485 			  "\x61\x1b\xbb\x3e\x20\x25\xa4\x5a",
28486 		.klen   = 16,
28487 		.iv     = "\x56\x2e\x17\x99\x6d\x09\x3d\x28"
28488 			  "\xdd\xb3\xba\x69\x5a\x2e\x6f\x58",
28489 		.input = "\xa5\xdf\x6e\x50\xda\x70\x6c\x01"
28490 			  "\x4a\xab\xf3\xf2\xd6\xfc\x6c\xfd"
28491 			  "\x19\xb4\x3e\x57\x1c\x02\x5e\xa0"
28492 			  "\x15\x78\xe0\x5e\xf2\xcb\x87\x16",
28493 		.ilen   = 32,
28494 		.result = "\x00\x01\x02\x03\x04\x05\x06\x07"
28495 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
28496 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
28497 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
28498 		.rlen   = 32,
28499 	}, { /* Generated with Crypto++ */
28500 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28501 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28502 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28503 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28504 		.klen	= 32,
28505 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28506 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28507 		.input	= "\xCD\x3E\x2A\x3B\x3E\x94\xC5\x77"
28508 			  "\xBA\xBB\x5B\xB1\xDE\x7B\xA4\x40"
28509 			  "\x88\x39\xE3\xFD\x94\x4B\x25\x58"
28510 			  "\xE1\x4B\xC4\x18\x7A\xFD\x17\x2B"
28511 			  "\xB9\xF9\xC2\x27\x6A\xB6\x31\x27"
28512 			  "\xA6\xAD\xEF\xE5\x5D\xE4\x02\x01"
28513 			  "\x56\x2E\x10\xC2\x2C\xFF\xC6\x83"
28514 			  "\xB5\xDC\x4F\x63\xAD\x0E\x63\x5E"
28515 			  "\x56\xC8\x18\x3D\x79\x86\x97\xEF"
28516 			  "\x57\x0E\x63\xA1\xC1\x41\x48\xB8"
28517 			  "\x98\xB7\x51\x6D\x18\xF6\x19\x82"
28518 			  "\x37\x49\x88\xA4\xEF\x91\x21\x47"
28519 			  "\x03\x28\xEA\x42\xF4\xFB\x7A\x58"
28520 			  "\x28\x90\x77\x46\xD8\xD2\x35\x16"
28521 			  "\x44\xA9\x9E\x49\x52\x2A\xE4\x16"
28522 			  "\x5D\xF7\x65\xEB\x0F\xC9\x29\xE6"
28523 			  "\xCF\x76\x91\x89\x8A\x94\x39\xFA"
28524 			  "\x6B\x5F\x63\x53\x74\x43\x91\xF5"
28525 			  "\x3F\xBC\x88\x53\xB2\x1A\x02\x3F"
28526 			  "\x9D\x32\x84\xEB\x56\x28\xD6\x06"
28527 			  "\xD5\xB2\x20\xA9\xFC\xC3\x76\x62"
28528 			  "\x32\xCC\x86\xC8\x36\x67\x5E\x7E"
28529 			  "\xA4\xAA\x15\x63\x6B\xA9\x86\xAF"
28530 			  "\x1A\x52\x82\x36\x5F\xF4\x3F\x7A"
28531 			  "\x9B\x78\x62\x3B\x02\x28\x60\xB3"
28532 			  "\xBA\x82\xB1\xDD\xC9\x60\x8F\x47"
28533 			  "\xF1\x6B\xFE\xE5\x39\x34\xA0\x28"
28534 			  "\xA4\xB3\xC9\x7E\xED\x28\x8D\x70"
28535 			  "\xB2\x1D\xFD\xC6\x00\xCF\x1A\x94"
28536 			  "\x28\xF8\xC1\x34\xB7\x58\xA5\x6C"
28537 			  "\x1A\x9D\xE4\xE4\xF6\xB9\xB4\xB0"
28538 			  "\x5D\x51\x54\x9A\x53\xA0\xF9\x32"
28539 			  "\xBD\x31\x54\x14\x7B\x33\xEE\x17"
28540 			  "\xD3\xC7\x1F\x48\xBF\x0B\x22\xA2"
28541 			  "\x7D\x0C\xDF\xD0\x2E\x98\xFA\xD2"
28542 			  "\xFA\xCF\x24\x1D\x99\x9B\xD0\x7E"
28543 			  "\xF4\x4F\x88\xFF\x45\x99\x4A\xF4"
28544 			  "\xF2\x0A\x5B\x3B\x21\xAB\x92\xAE"
28545 			  "\x40\x78\x91\x95\xC4\x2F\xA3\xE8"
28546 			  "\x18\xC7\x07\xA6\xC8\xC0\x66\x33"
28547 			  "\x35\xC0\xB4\xA0\xF8\xEE\x1E\xF3"
28548 			  "\x40\xF5\x40\x54\xF1\x84\x8C\xEA"
28549 			  "\x27\x38\x1F\xF8\x77\xC7\xDF\xD8"
28550 			  "\x1D\xE2\xD9\x59\x40\x4F\x59\xD4"
28551 			  "\xF8\x17\x99\x8D\x58\x2D\x72\x44"
28552 			  "\x9D\x1D\x91\x64\xD6\x3F\x0A\x82"
28553 			  "\xC7\x57\x3D\xEF\xD3\x41\xFA\xA7"
28554 			  "\x68\xA3\xB8\xA5\x93\x74\x2E\x85"
28555 			  "\x4C\x9D\x69\x59\xCE\x15\xAE\xBF"
28556 			  "\x9C\x8F\x14\x64\x5D\x7F\xCF\x0B"
28557 			  "\xCE\x43\x5D\x28\xC0\x2F\xFB\x18"
28558 			  "\x79\x9A\xFC\x43\x16\x7C\x6B\x7B"
28559 			  "\x38\xB8\x48\x36\x66\x4E\x20\x43"
28560 			  "\xBA\x76\x13\x9A\xC3\xF2\xEB\x52"
28561 			  "\xD7\xDC\xB2\x67\x63\x14\x25\xCD"
28562 			  "\xB1\x13\x4B\xDE\x8C\x59\x21\x84"
28563 			  "\x81\x8D\x97\x23\x45\x33\x7C\xF3"
28564 			  "\xC5\xBC\x79\x95\xAA\x84\x68\x31"
28565 			  "\x2D\x1A\x68\xFE\xEC\x92\x94\xDA"
28566 			  "\x94\x2A\x6F\xD6\xFE\xE5\x76\x97"
28567 			  "\xF4\x6E\xEE\xCB\x2B\x95\x4E\x36"
28568 			  "\x5F\x74\x8C\x86\x5B\x71\xD0\x20"
28569 			  "\x78\x1A\x7F\x18\x8C\xD9\xCD\xF5"
28570 			  "\x21\x41\x56\x72\x13\xE1\x86\x07"
28571 			  "\x07\x26\xF3\x4F\x7B\xEA\xB5\x18"
28572 			  "\xFE\x94\x2D\x9F\xE0\x72\x18\x65"
28573 			  "\xB2\xA5\x63\x48\xB4\x13\x22\xF7"
28574 			  "\x25\xF1\x80\xA8\x7F\x54\x86\x7B"
28575 			  "\x39\xAE\x95\x0C\x09\x32\x22\x2D"
28576 			  "\x4D\x73\x39\x0C\x09\x2C\x7C\x10"
28577 			  "\xD0\x4B\x53\xF6\x90\xC5\x99\x2F"
28578 			  "\x15\xE1\x7F\xC6\xC5\x7A\x52\x14"
28579 			  "\x65\xEE\x93\x54\xD0\x66\x15\x3C"
28580 			  "\x4C\x68\xFD\x64\x0F\xF9\x10\x39"
28581 			  "\x46\x7A\xDD\x97\x20\xEE\xC7\xD2"
28582 			  "\x98\x4A\xB6\xE6\xF5\xA8\x1F\x4F"
28583 			  "\xDB\xAB\x6D\xD5\x9B\x34\x16\x97"
28584 			  "\x2F\x64\xE5\x37\xEF\x0E\xA1\xE9"
28585 			  "\xBE\x31\x31\x96\x8B\x40\x18\x75"
28586 			  "\x11\x75\x14\x32\xA5\x2D\x1B\x6B"
28587 			  "\xDB\x59\xEB\xFA\x3D\x8E\x7C\xC4"
28588 			  "\xDE\x68\xC8\x9F\xC9\x99\xE3\xC6"
28589 			  "\x71\xB0\x12\x57\x89\x0D\xC0\x2B"
28590 			  "\x9F\x12\x6A\x04\x67\xF1\x95\x31"
28591 			  "\x59\xFD\x84\x95\x2C\x9C\x5B\xEC"
28592 			  "\x09\xB0\x43\x96\x4A\x64\x80\x40"
28593 			  "\xB9\x72\x19\xDD\x70\x42\xFA\xB1"
28594 			  "\x4A\x2C\x0C\x0A\x60\x6E\xE3\x7C"
28595 			  "\x37\x5A\xBE\xA4\x62\xCF\x29\xAB"
28596 			  "\x7F\x4D\xA6\xB3\xE2\xB6\x64\xC6"
28597 			  "\x33\x0B\xF3\xD5\x01\x38\x74\xA4"
28598 			  "\x67\x1E\x75\x68\xC3\xAD\x76\xE9"
28599 			  "\xE9\xBC\xF0\xEB\xD8\xFD\x31\x8A"
28600 			  "\x5F\xC9\x18\x94\x4B\x86\x66\xFC"
28601 			  "\xBD\x0B\x3D\xB3\x9F\xFA\x1F\xD9"
28602 			  "\x78\xC4\xE3\x24\x1C\x67\xA2\xF8"
28603 			  "\x43\xBC\x76\x75\xBF\x6C\x05\xB3"
28604 			  "\x32\xE8\x7C\x80\xDB\xC7\xB6\x61"
28605 			  "\x1A\x3E\x2B\xA7\x25\xED\x8F\xA0"
28606 			  "\x00\x4B\xF8\x90\xCA\xD8\xFB\x12"
28607 			  "\xAC\x1F\x18\xE9\xD2\x5E\xA2\x8E"
28608 			  "\xE4\x84\x6B\x9D\xEB\x1E\x6B\xA3"
28609 			  "\x7B\xDC\xCE\x15\x97\x27\xB2\x65"
28610 			  "\xBC\x0E\x47\xAB\x55\x13\x53\xAB"
28611 			  "\x0E\x34\x55\x02\x5F\x27\xC5\x89"
28612 			  "\xDF\xC5\x70\xC4\xDD\x76\x82\xEE"
28613 			  "\x68\xA6\x09\xB0\xE5\x5E\xF1\x0C"
28614 			  "\xE3\xF3\x09\x9B\xFE\x65\x4B\xB8"
28615 			  "\x30\xEC\xD5\x7C\x6A\xEC\x1D\xD2"
28616 			  "\x93\xB7\xA1\x1A\x02\xD4\xC0\xD6"
28617 			  "\x8D\x4D\x83\x9A\xED\x29\x4E\x14"
28618 			  "\x86\xD5\x3C\x1A\xD5\xB9\x0A\x6A"
28619 			  "\x72\x22\xD5\x92\x38\xF1\xA1\x86"
28620 			  "\xB2\x41\x51\xCA\x4E\xAB\x8F\xD3"
28621 			  "\x80\x56\xC3\xD7\x65\xE1\xB3\x86"
28622 			  "\xCB\xCE\x98\xA1\xD4\x59\x1C\x06"
28623 			  "\x01\xED\xF8\x29\x91\x19\x5C\x9A"
28624 			  "\xEE\x28\x1B\x48\xD7\x32\xEF\x9F"
28625 			  "\x6C\x2B\x66\x4E\x78\xD5\x8B\x72"
28626 			  "\x80\xE7\x29\xDC\x23\x55\x98\x54"
28627 			  "\xB1\xFF\x3E\x95\x56\xA8\x78\x78"
28628 			  "\xEF\xC4\xA5\x11\x2D\x2B\xD8\x93"
28629 			  "\x30\x6E\x7E\x51\xBB\x42\x5F\x03"
28630 			  "\x43\x94\x23\x7E\xEE\xF0\xA5\x79"
28631 			  "\x55\x01\xD4\x58\xB2\xF2\x85\x49"
28632 			  "\x70\xC5\xB9\x0B\x3B\x7A\x6E\x6C",
28633 		.ilen	= 1008,
28634 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28635 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28636 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28637 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28638 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28639 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28640 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28641 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28642 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28643 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28644 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28645 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28646 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28647 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28648 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28649 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28650 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28651 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28652 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28653 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28654 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28655 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28656 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28657 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28658 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28659 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28660 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28661 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28662 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28663 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28664 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28665 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28666 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28667 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28668 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28669 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28670 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28671 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28672 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28673 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28674 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28675 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28676 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28677 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28678 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28679 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28680 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28681 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28682 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28683 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28684 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28685 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28686 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28687 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28688 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28689 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28690 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28691 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28692 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28693 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28694 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28695 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28696 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28697 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28698 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28699 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28700 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28701 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28702 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28703 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28704 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28705 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28706 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28707 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28708 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28709 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28710 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28711 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28712 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28713 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28714 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28715 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28716 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28717 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28718 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28719 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28720 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28721 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28722 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28723 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
28724 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
28725 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
28726 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
28727 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
28728 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
28729 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
28730 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
28731 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
28732 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
28733 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
28734 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
28735 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
28736 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
28737 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
28738 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
28739 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
28740 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
28741 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
28742 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
28743 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
28744 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
28745 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
28746 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
28747 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
28748 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
28749 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
28750 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
28751 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
28752 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
28753 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
28754 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
28755 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
28756 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
28757 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
28758 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
28759 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
28760 		.rlen	= 1008,
28761 		.also_non_np = 1,
28762 		.np	= 3,
28763 		.tap	= { 1008 - 20, 4, 16 },
28764 	},
28765 };
28766 
28767 static const struct cipher_testvec camellia_ctr_enc_tv_template[] = {
28768 	{ /* Generated with Crypto++ */
28769 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28770 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28771 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28772 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28773 		.klen	= 32,
28774 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28775 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28776 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28777 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28778 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28779 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28780 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28781 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28782 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28783 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28784 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28785 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28786 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28787 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28788 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28789 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28790 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28791 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28792 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28793 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28794 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28795 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28796 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28797 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28798 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28799 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28800 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28801 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28802 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28803 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28804 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28805 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28806 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28807 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28808 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28809 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28810 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28811 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28812 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28813 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28814 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28815 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28816 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28817 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28818 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28819 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28820 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28821 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28822 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28823 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28824 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28825 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28826 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28827 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28828 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28829 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28830 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28831 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28832 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28833 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28834 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28835 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28836 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28837 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
28838 		.ilen	= 496,
28839 		.result	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
28840 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
28841 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
28842 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
28843 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
28844 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
28845 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
28846 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
28847 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
28848 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
28849 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
28850 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
28851 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
28852 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
28853 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
28854 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
28855 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
28856 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
28857 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
28858 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
28859 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
28860 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
28861 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
28862 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
28863 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
28864 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
28865 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
28866 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
28867 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
28868 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
28869 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
28870 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
28871 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
28872 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
28873 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
28874 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
28875 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
28876 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
28877 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
28878 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
28879 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
28880 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
28881 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
28882 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
28883 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
28884 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
28885 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
28886 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
28887 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
28888 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
28889 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
28890 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
28891 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
28892 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
28893 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
28894 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
28895 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
28896 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
28897 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
28898 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
28899 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
28900 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
28901 		.rlen	= 496,
28902 	}, { /* Generated with Crypto++ */
28903 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
28904 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
28905 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
28906 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
28907 		.klen	= 32,
28908 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
28909 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
28910 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
28911 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
28912 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
28913 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
28914 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
28915 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
28916 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
28917 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
28918 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
28919 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
28920 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
28921 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
28922 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
28923 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
28924 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
28925 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
28926 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
28927 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
28928 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
28929 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
28930 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
28931 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
28932 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
28933 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
28934 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
28935 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
28936 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
28937 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
28938 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
28939 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
28940 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
28941 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
28942 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
28943 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
28944 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
28945 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
28946 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
28947 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
28948 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
28949 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
28950 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
28951 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
28952 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
28953 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
28954 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
28955 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
28956 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
28957 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
28958 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
28959 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
28960 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
28961 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
28962 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
28963 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
28964 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
28965 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
28966 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
28967 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
28968 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
28969 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
28970 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
28971 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
28972 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
28973 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
28974 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
28975 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
28976 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
28977 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
28978 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
28979 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
28980 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
28981 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
28982 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
28983 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
28984 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
28985 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
28986 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
28987 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
28988 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
28989 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
28990 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
28991 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
28992 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
28993 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
28994 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
28995 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
28996 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
28997 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
28998 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
28999 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29000 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29001 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29002 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29003 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29004 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29005 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29006 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29007 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29008 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29009 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29010 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29011 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29012 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29013 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29014 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29015 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29016 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29017 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29018 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29019 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29020 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29021 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29022 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29023 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29024 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29025 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29026 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29027 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29028 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29029 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29030 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29031 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29032 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29033 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29034 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29035 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
29036 			  "\xE4\x7B\x12",
29037 		.ilen	= 1011,
29038 		.result	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29039 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29040 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29041 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29042 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29043 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29044 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29045 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29046 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29047 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29048 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29049 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29050 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29051 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29052 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29053 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29054 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29055 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29056 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29057 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29058 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29059 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29060 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29061 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29062 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29063 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29064 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29065 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29066 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29067 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29068 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29069 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29070 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29071 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29072 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29073 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29074 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29075 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29076 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29077 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29078 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29079 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29080 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29081 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29082 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29083 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29084 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29085 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29086 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29087 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29088 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
29089 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29090 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29091 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29092 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29093 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29094 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29095 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29096 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29097 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29098 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29099 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
29100 			  "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
29101 			  "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
29102 			  "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
29103 			  "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
29104 			  "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
29105 			  "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
29106 			  "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
29107 			  "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
29108 			  "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
29109 			  "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
29110 			  "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
29111 			  "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
29112 			  "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
29113 			  "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
29114 			  "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
29115 			  "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
29116 			  "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
29117 			  "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
29118 			  "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
29119 			  "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
29120 			  "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
29121 			  "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
29122 			  "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
29123 			  "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
29124 			  "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
29125 			  "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
29126 			  "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
29127 			  "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
29128 			  "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
29129 			  "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
29130 			  "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
29131 			  "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
29132 			  "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
29133 			  "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
29134 			  "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
29135 			  "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
29136 			  "\x00\x70\x12\x56\x56\x50\xAD\x14"
29137 			  "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
29138 			  "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
29139 			  "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
29140 			  "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
29141 			  "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
29142 			  "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
29143 			  "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
29144 			  "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
29145 			  "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
29146 			  "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
29147 			  "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
29148 			  "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
29149 			  "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
29150 			  "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
29151 			  "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
29152 			  "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
29153 			  "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
29154 			  "\x40\x48\x19\x73\x7C\x78\x64\x0B"
29155 			  "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
29156 			  "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
29157 			  "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
29158 			  "\x74\x28\x9D\x05\x30\x20\x62\x41"
29159 			  "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
29160 			  "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
29161 			  "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
29162 			  "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
29163 			  "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
29164 			  "\xF1\x6B\xD9",
29165 		.rlen	= 1011,
29166 		.also_non_np = 1,
29167 		.np	= 2,
29168 		.tap	= { 1011 - 16, 16 },
29169 	}, { /* Generated with Crypto++ */
29170 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29171 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29172 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29173 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29174 		.klen	= 32,
29175 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
29176 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
29177 		.input	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29178 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29179 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29180 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29181 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29182 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29183 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29184 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29185 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29186 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29187 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29188 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29189 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29190 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29191 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29192 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29193 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29194 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29195 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29196 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29197 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29198 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29199 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29200 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29201 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29202 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29203 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29204 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29205 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29206 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29207 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29208 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29209 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29210 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29211 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29212 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29213 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29214 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29215 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29216 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29217 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29218 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29219 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29220 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29221 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29222 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29223 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29224 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29225 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29226 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29227 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29228 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29229 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29230 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29231 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29232 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29233 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29234 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29235 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29236 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29237 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29238 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29239 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29240 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29241 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29242 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29243 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29244 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29245 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29246 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29247 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29248 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29249 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29250 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29251 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29252 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29253 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29254 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29255 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29256 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29257 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29258 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29259 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29260 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29261 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29262 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29263 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29264 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29265 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29266 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29267 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29268 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29269 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29270 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29271 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29272 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29273 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29274 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29275 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29276 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29277 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29278 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29279 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29280 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29281 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29282 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29283 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29284 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29285 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29286 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29287 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29288 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29289 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29290 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29291 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29292 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29293 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29294 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29295 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29296 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29297 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29298 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29299 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29300 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29301 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29302 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
29303 		.ilen	= 1008,
29304 		.result	= "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
29305 			  "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
29306 			  "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
29307 			  "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
29308 			  "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
29309 			  "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
29310 			  "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
29311 			  "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
29312 			  "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
29313 			  "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
29314 			  "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
29315 			  "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
29316 			  "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
29317 			  "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
29318 			  "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
29319 			  "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
29320 			  "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
29321 			  "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
29322 			  "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
29323 			  "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
29324 			  "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
29325 			  "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
29326 			  "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
29327 			  "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
29328 			  "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
29329 			  "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
29330 			  "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
29331 			  "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
29332 			  "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
29333 			  "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
29334 			  "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
29335 			  "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
29336 			  "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
29337 			  "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
29338 			  "\x93\x78\x86\x05\x69\x46\xD0\xC5"
29339 			  "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
29340 			  "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
29341 			  "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
29342 			  "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
29343 			  "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
29344 			  "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
29345 			  "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
29346 			  "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
29347 			  "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
29348 			  "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
29349 			  "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
29350 			  "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
29351 			  "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
29352 			  "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
29353 			  "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
29354 			  "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
29355 			  "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
29356 			  "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
29357 			  "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
29358 			  "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
29359 			  "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
29360 			  "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
29361 			  "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
29362 			  "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
29363 			  "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
29364 			  "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
29365 			  "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
29366 			  "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
29367 			  "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
29368 			  "\x3F\x23\x69\x63\x56\x96\x45\xD6"
29369 			  "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
29370 			  "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
29371 			  "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
29372 			  "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
29373 			  "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
29374 			  "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
29375 			  "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
29376 			  "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
29377 			  "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
29378 			  "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
29379 			  "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
29380 			  "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
29381 			  "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
29382 			  "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
29383 			  "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
29384 			  "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
29385 			  "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
29386 			  "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
29387 			  "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
29388 			  "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
29389 			  "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
29390 			  "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
29391 			  "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
29392 			  "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
29393 			  "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
29394 			  "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
29395 			  "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
29396 			  "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
29397 			  "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
29398 			  "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
29399 			  "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
29400 			  "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
29401 			  "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
29402 			  "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
29403 			  "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
29404 			  "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
29405 			  "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
29406 			  "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
29407 			  "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
29408 			  "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
29409 			  "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
29410 			  "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
29411 			  "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
29412 			  "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
29413 			  "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
29414 			  "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
29415 			  "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
29416 			  "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
29417 			  "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
29418 			  "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
29419 			  "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
29420 			  "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
29421 			  "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
29422 			  "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
29423 			  "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
29424 			  "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
29425 			  "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
29426 			  "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
29427 			  "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
29428 			  "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
29429 			  "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
29430 		.rlen	= 1008,
29431 	},
29432 };
29433 
29434 static const struct cipher_testvec camellia_ctr_dec_tv_template[] = {
29435 	{ /* Generated with Crypto++ */
29436 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29437 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29438 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29439 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29440 		.klen	= 32,
29441 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
29442 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
29443 		.input	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29444 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29445 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29446 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29447 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29448 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29449 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29450 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29451 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29452 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29453 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29454 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29455 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29456 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29457 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29458 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29459 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29460 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29461 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29462 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29463 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29464 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29465 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29466 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29467 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29468 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29469 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29470 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29471 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29472 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29473 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29474 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29475 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29476 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29477 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29478 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29479 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29480 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29481 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29482 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29483 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29484 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29485 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29486 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29487 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29488 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29489 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29490 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29491 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29492 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29493 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
29494 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29495 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29496 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29497 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29498 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29499 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29500 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29501 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29502 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29503 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29504 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D",
29505 		.ilen	= 496,
29506 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29507 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29508 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29509 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29510 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29511 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29512 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29513 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29514 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29515 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29516 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29517 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29518 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29519 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29520 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29521 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29522 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29523 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29524 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29525 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29526 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29527 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29528 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29529 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29530 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29531 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29532 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29533 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29534 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29535 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29536 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29537 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29538 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29539 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29540 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29541 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29542 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29543 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29544 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29545 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29546 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29547 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29548 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29549 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29550 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29551 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29552 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29553 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29554 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29555 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29556 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29557 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29558 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29559 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29560 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29561 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29562 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29563 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29564 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29565 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29566 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29567 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7",
29568 		.rlen	= 496,
29569 	}, { /* Generated with Crypto++ */
29570 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29571 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29572 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29573 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29574 		.klen	= 32,
29575 		.iv	= "\xE2\x24\x89\xEE\x53\xB8\x1D\x5F"
29576 			  "\xC4\x29\x8E\xF3\x35\x9A\xFF\x64",
29577 		.input	= "\xF3\x06\x3A\x84\xCD\xBA\x8E\x11"
29578 			  "\xB7\x74\x6F\x5C\x97\xFB\x36\xFE"
29579 			  "\xDE\x71\x58\xD4\x15\xD1\xC1\xA4"
29580 			  "\xC9\x28\x74\xA6\x6B\xC7\x95\xA6"
29581 			  "\x6C\x77\xF7\x2F\xDF\xC7\xBB\x85"
29582 			  "\x60\xFC\xE8\x94\xE8\xB5\x09\x2C"
29583 			  "\x1E\x43\xEF\x6C\xE9\x98\xC5\xA0"
29584 			  "\x7B\x13\xE5\x7F\xF8\x49\x9A\x8C"
29585 			  "\xE6\x7B\x08\xC3\x32\x66\x55\x4E"
29586 			  "\xA5\x44\x1D\x2C\x18\xC7\x29\x1F"
29587 			  "\x61\x28\x4A\xE3\xCD\xE5\x47\xB2"
29588 			  "\x82\x2F\x66\x83\x91\x51\xAE\xD7"
29589 			  "\x1C\x91\x3C\x57\xE3\x1D\x5A\xC9"
29590 			  "\xFD\xC5\x58\x58\xEF\xCC\x33\xC9"
29591 			  "\x0F\xEA\x26\x32\xD1\x15\x19\x2D"
29592 			  "\x25\xB4\x7F\xB0\xDF\xFB\x88\x60"
29593 			  "\x4E\x4D\x06\x7D\xCC\x1F\xED\x3B"
29594 			  "\x68\x84\xD5\xB3\x1B\xE7\xB9\xA1"
29595 			  "\x68\x8B\x2C\x1A\x44\xDA\x63\xD3"
29596 			  "\x29\xE9\x59\x32\x1F\x30\x1C\x43"
29597 			  "\xEA\x3A\xA3\x6B\x54\x3C\xAA\x11"
29598 			  "\xAD\x38\x20\xC9\xB9\x8A\x64\x66"
29599 			  "\x5A\x07\x49\xDF\xA1\x9C\xF9\x76"
29600 			  "\x36\x65\xB6\x81\x8F\x76\x09\xE5"
29601 			  "\xEB\xD1\x29\xA4\xE4\xF4\x4C\xCD"
29602 			  "\xAF\xFC\xB9\x16\xD9\xC3\x73\x6A"
29603 			  "\x33\x12\xF8\x7E\xBC\xCC\x7D\x80"
29604 			  "\xBF\x3C\x25\x06\x13\x84\xFA\x35"
29605 			  "\xF7\x40\xFA\xA1\x44\x13\x70\xD8"
29606 			  "\x01\xF9\x85\x15\x63\xEC\x7D\xB9"
29607 			  "\x02\xD8\xBA\x41\x6C\x92\x68\x66"
29608 			  "\x95\xDD\xD6\x42\xE7\xBB\xE1\xFD"
29609 			  "\x28\x3E\x94\xB6\xBD\xA7\xBF\x47"
29610 			  "\x58\x8D\xFF\x19\x30\x75\x0D\x48"
29611 			  "\x94\xE9\xA6\xCD\xB3\x8E\x1E\xCD"
29612 			  "\x59\xBC\x1A\xAC\x3C\x4F\xA9\xEB"
29613 			  "\xF4\xA7\xE4\x75\x4A\x18\x40\xC9"
29614 			  "\x1E\xEC\x06\x9C\x28\x4B\xF7\x2B"
29615 			  "\xE2\xEF\xD6\x42\x2E\xBB\xFC\x0A"
29616 			  "\x79\xA2\x99\x28\x93\x1B\x00\x57"
29617 			  "\x35\x1E\x1A\x93\x90\xA4\x68\x95"
29618 			  "\x5E\x57\x40\xD5\xA9\xAA\x19\x48"
29619 			  "\xEC\xFF\x76\x77\xDC\x78\x89\x76"
29620 			  "\xE5\x3B\x00\xEC\x58\x4D\xD1\xE3"
29621 			  "\xC8\x6C\x2C\x45\x5E\x5F\xD9\x4E"
29622 			  "\x71\xA5\x36\x6D\x03\xF1\xC7\xD5"
29623 			  "\xF3\x63\xC0\xD8\xCB\x2B\xF1\xA8"
29624 			  "\xB9\x2B\xE6\x0B\xB9\x65\x78\xA0"
29625 			  "\xC4\x46\xE6\x9B\x8B\x43\x2D\xAB"
29626 			  "\x70\xA6\xE0\x59\x1E\xAC\x9D\xE0"
29627 			  "\x76\x44\x45\xF3\x24\x11\x57\x98"
29628 			  "\x9A\x86\xB4\x12\x80\x28\x86\x20"
29629 			  "\x23\x9D\x2D\xE9\x38\x32\xB1\xE1"
29630 			  "\xCF\x0A\x23\x73\x7D\xC5\x80\x3D"
29631 			  "\x9F\x6D\xA0\xD0\xEE\x93\x8A\x79"
29632 			  "\x3A\xDD\x1D\xBB\x9E\x26\x5D\x01"
29633 			  "\x44\xD0\xD4\x4E\xC3\xF1\xE4\x38"
29634 			  "\x09\x62\x0A\x1A\x4E\xD2\x63\x0F"
29635 			  "\x6E\x3E\xD2\xA4\x3A\xF4\xF3\xFF"
29636 			  "\x7E\x42\xEC\xB6\x6F\x4D\x6B\x48"
29637 			  "\xE6\xA6\x50\x80\x78\x9E\xF1\xB0"
29638 			  "\x4D\xB2\x0D\x3D\xFC\x40\x25\x4D"
29639 			  "\x93\x11\x1C\xE9\xD2\x9F\x6E\x90"
29640 			  "\xE5\x41\x4A\xE2\x3C\x45\x29\x35"
29641 			  "\xEC\xD6\x47\x50\xCB\x7B\xA2\x32"
29642 			  "\xF7\x8B\x62\xF1\xE3\x9A\xFE\xC7"
29643 			  "\x1D\x8C\x02\x72\x68\x09\xE9\xB6"
29644 			  "\x4A\x80\xE6\xB1\x56\xDF\x90\xD4"
29645 			  "\x93\x74\xA4\xCE\x20\x23\xBF\x48"
29646 			  "\xA5\xDE\x1B\xFA\x40\x69\x31\x98"
29647 			  "\x62\x6E\xA5\xC7\xBF\x0C\x62\xE5"
29648 			  "\x6D\xE1\x93\xF1\x83\x10\x1C\xCA"
29649 			  "\xF6\x5C\x19\xF8\x90\x78\xCB\xE4"
29650 			  "\x0B\x3A\xB5\xF8\x43\x86\xD3\x3F"
29651 			  "\xBA\x83\x34\x3C\x42\xCC\x7D\x28"
29652 			  "\x29\x63\x4F\xD8\x02\x17\xC5\x07"
29653 			  "\x2C\xA4\xAC\x79\xCB\xC3\xA9\x09"
29654 			  "\x81\x45\x18\xED\xE4\xCB\x42\x3B"
29655 			  "\x87\x2D\x23\xDC\xC5\xBA\x45\xBD"
29656 			  "\x92\xE5\x02\x97\x96\xCE\xAD\xEC"
29657 			  "\xBA\xD8\x76\xF8\xCA\xC1\x31\xEC"
29658 			  "\x1E\x4F\x3F\x83\xF8\x33\xE8\x6E"
29659 			  "\xCC\xF8\x5F\xDD\x65\x50\x99\x69"
29660 			  "\xAF\x48\xCE\xA5\xBA\xB6\x14\x9F"
29661 			  "\x05\x93\xB2\xE6\x59\xC8\x28\xFE"
29662 			  "\x8F\x37\xF9\x64\xB9\xA5\x56\x8F"
29663 			  "\xF1\x1B\x90\xEF\xAE\xEB\xFC\x09"
29664 			  "\x11\x7A\xF2\x19\x0A\x0A\x9A\x3C"
29665 			  "\xE2\x5E\x29\xFA\x31\x9B\xC1\x74"
29666 			  "\x1E\x10\x3E\x07\xA9\x31\x6D\xF8"
29667 			  "\x81\xF5\xD5\x8A\x04\x23\x51\xAC"
29668 			  "\xA2\xE2\x63\xFD\x27\x1F\x79\x5B"
29669 			  "\x1F\xE8\xDA\x11\x49\x4D\x1C\xBA"
29670 			  "\x54\xCC\x0F\xBA\x92\x69\xE5\xCB"
29671 			  "\x41\x1A\x67\xA6\x40\x82\x70\x8C"
29672 			  "\x19\x79\x08\xA4\x51\x20\x7D\xC9"
29673 			  "\x12\x27\xAE\x20\x0D\x2C\xA1\x6D"
29674 			  "\xF4\x55\xD4\xE7\xE6\xD4\x28\x08"
29675 			  "\x00\x70\x12\x56\x56\x50\xAD\x14"
29676 			  "\x5C\x3E\xA2\xD1\x36\x3F\x36\x48"
29677 			  "\xED\xB1\x57\x3E\x5D\x15\xF6\x1E"
29678 			  "\x53\xE9\xA4\x3E\xED\x7D\xCF\x7D"
29679 			  "\x29\xAF\xF3\x1E\x51\xA8\x9F\x85"
29680 			  "\x8B\xF0\xBB\xCE\xCC\x39\xC3\x64"
29681 			  "\x4B\xF2\xAD\x70\x19\xD4\x44\x8F"
29682 			  "\x91\x76\xE8\x15\x66\x34\x9F\xF6"
29683 			  "\x0F\x15\xA4\xA8\x24\xF8\x58\xB1"
29684 			  "\x38\x46\x47\xC7\x9B\xCA\xE9\x42"
29685 			  "\x44\xAA\xE6\xB5\x9C\x91\xA4\xD3"
29686 			  "\x16\xA0\xED\x42\xBE\xB5\x06\x19"
29687 			  "\xBE\x67\xE8\xBC\x22\x32\xA4\x1E"
29688 			  "\x93\xEB\xBE\xE9\xE1\x93\xE5\x31"
29689 			  "\x3A\xA2\x75\xDF\xE3\x6B\xE7\xCC"
29690 			  "\xB4\x70\x20\xE0\x6D\x82\x7C\xC8"
29691 			  "\x94\x5C\x5E\x37\x18\xAD\xED\x8B"
29692 			  "\x44\x86\xCA\x5E\x07\xB7\x70\x8D"
29693 			  "\x40\x48\x19\x73\x7C\x78\x64\x0B"
29694 			  "\xDB\x01\xCA\xAE\x63\x19\xE9\xD1"
29695 			  "\x6B\x2C\x84\x10\x45\x42\x2E\xC3"
29696 			  "\xDF\x7F\xAA\xE8\x87\x1B\x63\x46"
29697 			  "\x74\x28\x9D\x05\x30\x20\x62\x41"
29698 			  "\xC0\x9F\x2C\x36\x2B\x78\xD7\x26"
29699 			  "\xDF\x58\x51\xED\xFA\xDC\x87\x79"
29700 			  "\xBF\x8C\xBF\xC4\x0F\xE5\x05\xDA"
29701 			  "\x45\xE3\x35\x0D\x69\x91\x54\x1C"
29702 			  "\xE7\x2C\x49\x08\x8B\x72\xFA\x5C"
29703 			  "\xF1\x6B\xD9",
29704 		.ilen	= 1011,
29705 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29706 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29707 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29708 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29709 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29710 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29711 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29712 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29713 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29714 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29715 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29716 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29717 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29718 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29719 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29720 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29721 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29722 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29723 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29724 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29725 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29726 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29727 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29728 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29729 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29730 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29731 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29732 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29733 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
29734 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
29735 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
29736 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
29737 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
29738 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
29739 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
29740 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
29741 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
29742 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
29743 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
29744 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
29745 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
29746 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
29747 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
29748 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
29749 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
29750 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
29751 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
29752 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
29753 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
29754 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
29755 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
29756 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
29757 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
29758 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
29759 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
29760 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
29761 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
29762 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
29763 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
29764 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
29765 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
29766 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
29767 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
29768 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
29769 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
29770 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
29771 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
29772 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
29773 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
29774 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
29775 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
29776 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
29777 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
29778 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
29779 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
29780 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
29781 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
29782 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
29783 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
29784 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
29785 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
29786 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
29787 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
29788 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
29789 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
29790 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
29791 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
29792 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
29793 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
29794 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
29795 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
29796 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
29797 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
29798 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
29799 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
29800 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
29801 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
29802 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
29803 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
29804 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
29805 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
29806 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
29807 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
29808 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
29809 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
29810 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
29811 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
29812 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
29813 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
29814 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
29815 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
29816 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
29817 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
29818 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
29819 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
29820 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
29821 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
29822 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
29823 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
29824 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
29825 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
29826 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
29827 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
29828 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
29829 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
29830 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D"
29831 			  "\xE4\x7B\x12",
29832 		.rlen	= 1011,
29833 		.also_non_np = 1,
29834 		.np	= 2,
29835 		.tap	= { 1011 - 16, 16 },
29836 	}, { /* Generated with Crypto++ */
29837 		.key	= "\x85\x62\x3F\x1C\xF9\xD6\x1C\xF9"
29838 			  "\xD6\xB3\x90\x6D\x4A\x90\x6D\x4A"
29839 			  "\x27\x04\xE1\x27\x04\xE1\xBE\x9B"
29840 			  "\x78\xBE\x9B\x78\x55\x32\x0F\x55",
29841 		.klen	= 32,
29842 		.iv	= "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFF"
29843 			  "\xFF\xFF\xFF\xFF\xFF\xFF\xFF\xFD",
29844 		.input	= "\x85\x79\x6C\x8B\x2B\x6D\x14\xF9"
29845 			  "\xA6\x83\xB6\x80\x5B\x3A\xF3\x7E"
29846 			  "\x30\x29\xEB\x1F\xDC\x19\x5F\xEB"
29847 			  "\xF7\xC4\x27\x04\x51\x87\xD7\x6F"
29848 			  "\xB8\x4E\x07\xFB\xAC\x3B\x08\xB4"
29849 			  "\x4D\xCB\xE8\xE1\x71\x7D\x4F\x48"
29850 			  "\xCD\x81\x64\xA5\xC4\x07\x1A\x9A"
29851 			  "\x4B\x62\x90\x0E\xC8\xB3\x2B\x6B"
29852 			  "\x8F\x9C\x6E\x72\x4B\xBA\xEF\x07"
29853 			  "\x2C\x56\x07\x5E\x37\x30\x60\xA9"
29854 			  "\xE3\xEF\xD6\x69\xE1\xA1\x77\x64"
29855 			  "\x93\x75\x7A\xB7\x7A\x3B\xE9\x43"
29856 			  "\x23\x35\x95\x91\x80\x8A\xC7\xCF"
29857 			  "\xC3\xD5\xBF\xE7\xFE\x4C\x06\x6B"
29858 			  "\x05\x19\x48\xE2\x62\xBA\x4F\xF2"
29859 			  "\xFB\xEE\xE4\xCB\x79\x9D\xA3\x10"
29860 			  "\x1D\x29\x8C\x1D\x7A\x88\x5A\xDD"
29861 			  "\x4E\xB6\x18\xAA\xCD\xE6\x33\x96"
29862 			  "\xD9\x0F\x90\x5A\x78\x76\x4D\x77"
29863 			  "\x3C\x20\x89\x3B\xA3\xF9\x07\xFD"
29864 			  "\xE4\xE8\x20\x2D\x15\x0A\x63\x49"
29865 			  "\xF5\x4F\x89\xD8\xDE\xA1\x28\x78"
29866 			  "\x28\x07\x09\x1B\x03\x94\x1D\x4B"
29867 			  "\x82\x28\x1E\x1D\x95\xBA\xAC\x85"
29868 			  "\x71\x6E\x3C\x18\x4B\x77\x74\x79"
29869 			  "\xBF\x67\x0A\x53\x3C\x94\xD9\x60"
29870 			  "\xE9\x6D\x40\x34\xA0\x2A\x53\x5D"
29871 			  "\x27\xD5\x47\xF9\xC3\x4B\x27\x29"
29872 			  "\xE4\x76\x9C\x3F\xA7\x1C\x87\xFC"
29873 			  "\x6E\x0F\xCF\x9B\x60\xF0\xF0\x8B"
29874 			  "\x70\x1C\x84\x81\x72\x4D\xB4\x98"
29875 			  "\x23\x62\xE7\x6A\x2B\xFC\xA5\xB2"
29876 			  "\xFF\xF5\x71\x07\xCD\x90\x23\x13"
29877 			  "\x19\xD7\x79\x36\x6C\x9D\x55\x8B"
29878 			  "\x93\x78\x86\x05\x69\x46\xD0\xC5"
29879 			  "\x39\x09\xEB\x79\xEF\xFA\x9F\xAE"
29880 			  "\xF3\xD5\x44\xC3\xFD\x86\xD2\x7C"
29881 			  "\x83\x4B\xD8\x75\x9C\x18\x04\x7B"
29882 			  "\x73\xAD\x72\xA4\xF6\xAB\xCF\x4B"
29883 			  "\xCC\x01\x45\x90\xA6\x43\x05\x0C"
29884 			  "\x6C\x4F\x62\x77\x57\x97\x9F\xEE"
29885 			  "\x75\xA7\x3C\x38\xD1\x0F\x3D\x0E"
29886 			  "\x2C\x43\x98\xFB\x13\x65\x73\xE4"
29887 			  "\x3C\x1E\xD6\x90\x08\xF7\xE0\x99"
29888 			  "\x3B\xF1\x9D\x6C\x48\xA9\x0E\x32"
29889 			  "\x17\xC2\xCC\x20\xA1\x19\x26\xAA"
29890 			  "\xE0\x75\x2F\xFB\x54\x66\x0A\xDF"
29891 			  "\xB5\xF2\x1F\xC1\x34\x3C\x30\x56"
29892 			  "\xE8\xDC\xF7\x92\x6B\xBF\x17\x24"
29893 			  "\xEC\x94\xB5\x3B\xD6\xCE\xA2\x54"
29894 			  "\x10\x7F\x50\xDE\x69\x77\xD5\x37"
29895 			  "\xFE\x9C\x10\x83\xC5\xEB\xC9\x53"
29896 			  "\xB7\xF3\xC4\x20\xAF\x0A\x7E\x57"
29897 			  "\x3A\xE6\x75\xFE\x89\x00\x6E\x48"
29898 			  "\xFB\x99\x17\x2C\xF6\x64\x40\x95"
29899 			  "\x5E\xDC\x7A\xA6\x70\xC7\xF4\xDD"
29900 			  "\x52\x05\x24\x34\xF9\x0E\xC8\x64"
29901 			  "\x6D\xE2\xD8\x80\x53\x31\x4C\xFE"
29902 			  "\xB4\x3A\x5F\x19\xCF\x42\x1B\x22"
29903 			  "\x0B\x2D\x7B\xF1\xC5\x43\xF7\x5E"
29904 			  "\x12\xA8\x01\x64\x16\x0B\x26\x5A"
29905 			  "\x0C\x95\x0F\x40\xC5\x5A\x06\x7C"
29906 			  "\xCF\xF5\xD5\xB7\x7A\x34\x23\xB6"
29907 			  "\xAA\x9E\xA8\x98\xA2\xF8\x3D\xD3"
29908 			  "\x3F\x23\x69\x63\x56\x96\x45\xD6"
29909 			  "\x74\x23\x1D\x5C\x63\xCC\xD8\x78"
29910 			  "\x16\xE2\x9C\xD2\x80\x02\xF2\x28"
29911 			  "\x69\x2F\xC4\xA8\x15\x15\x24\x3B"
29912 			  "\xCB\xF0\x14\xE4\x62\xC8\xF3\xD1"
29913 			  "\x03\x58\x1B\x33\x77\x74\x1F\xB4"
29914 			  "\x07\x86\xF2\x21\xB7\x41\xAE\xBF"
29915 			  "\x25\xC2\xFF\x51\xEF\xEA\xCE\xC4"
29916 			  "\x5F\xD9\xB8\x18\x6A\xF0\x0F\x0D"
29917 			  "\xF8\x04\xBB\x6D\x62\x33\x87\x26"
29918 			  "\x4F\x2F\x14\x6E\xDC\xDB\x66\x09"
29919 			  "\x2A\xEF\x7D\x84\x10\xAC\x82\x5E"
29920 			  "\xD2\xE4\xAD\x74\x7A\x6D\xCC\x3A"
29921 			  "\x7B\x62\xD8\xD6\x07\x2D\xF7\xDF"
29922 			  "\x9B\xB3\x82\xCF\x9C\x1D\x76\x5C"
29923 			  "\xAC\x7B\xD4\x9B\x45\xA1\x64\x11"
29924 			  "\x66\xF1\xA7\x0B\xF9\xDD\x00\xDD"
29925 			  "\xA4\x45\x3D\x3E\x03\xC9\x2E\xCB"
29926 			  "\xC3\x14\x84\x72\xFD\x41\xDC\xBD"
29927 			  "\x75\xBE\xA8\xE5\x16\x48\x64\x39"
29928 			  "\xCA\xF3\xE6\xDC\x25\x24\xF1\x6D"
29929 			  "\xB2\x8D\xC5\x38\x54\xD3\x5D\x6D"
29930 			  "\x0B\x29\x10\x15\x0E\x13\x3B\xAC"
29931 			  "\x7E\xCC\x9E\x3E\x18\x48\xA6\x02"
29932 			  "\xEF\x03\xB2\x2E\xE3\xD2\x70\x21"
29933 			  "\xB4\x19\x26\xBE\x3A\x3D\x05\xE0"
29934 			  "\xF8\x09\xAF\xE4\x31\x26\x92\x2F"
29935 			  "\x8F\x55\xAC\xED\x0B\xB2\xA5\x34"
29936 			  "\xBE\x50\xB1\x02\x22\x96\xE3\x40"
29937 			  "\x7B\x70\x50\x6E\x3B\xD5\xE5\xA0"
29938 			  "\x8E\xA2\xAD\x14\x60\x5C\x7A\x2B"
29939 			  "\x3D\x1B\x7F\xC1\xC0\x2C\x56\x36"
29940 			  "\xD2\x0A\x32\x06\x97\x34\xB9\xF4"
29941 			  "\x6F\x9F\x7E\x80\xD0\x9D\xF7\x6A"
29942 			  "\x21\xC1\xA2\x6A\xB1\x96\x5B\x4D"
29943 			  "\x7A\x15\x6C\xC4\x4E\xB8\xE0\x9E"
29944 			  "\x6C\x50\xF3\x9C\xC9\xB5\x23\xB7"
29945 			  "\xF1\xD4\x29\x4A\x23\xC4\xAD\x1E"
29946 			  "\x2C\x07\xD2\x43\x5F\x57\x93\xCA"
29947 			  "\x85\xF9\x9F\xAD\x4C\xF1\xE4\xB1"
29948 			  "\x1A\x8E\x28\xA4\xB6\x52\x77\x7E"
29949 			  "\x68\xC6\x47\xB9\x76\xCC\x65\x5F"
29950 			  "\x0B\xF9\x67\x93\xD8\x0E\x9A\x37"
29951 			  "\x5F\x41\xED\x64\x6C\xAD\x5F\xED"
29952 			  "\x3F\x8D\xFB\x8E\x1E\xA0\xE4\x1F"
29953 			  "\xC2\xC7\xED\x18\x43\xE1\x20\x86"
29954 			  "\x5D\xBC\x30\x70\x22\xA1\xDC\x53"
29955 			  "\x10\x3A\x8D\x47\x82\xCD\x7F\x59"
29956 			  "\x03\x2D\x6D\xF5\xE7\x79\xD4\x07"
29957 			  "\x68\x2A\xA5\x42\x19\x4D\xAF\xF5"
29958 			  "\xED\x47\x83\xBC\x5F\x62\x84\xDA"
29959 			  "\xDA\x41\xFF\xB0\x1D\x64\xA3\xC8"
29960 			  "\xBD\x4E\xE0\xB8\x7F\xEE\x55\x0A"
29961 			  "\x4E\x61\xB2\x51\xF6\x9C\x95\xF6"
29962 			  "\x92\xBB\xF6\xC5\xF0\x09\x86\xDE"
29963 			  "\x37\x9E\x29\xF9\x2A\x18\x73\x0D"
29964 			  "\xDC\x7E\x6B\x7B\x1B\x43\x8C\xEA"
29965 			  "\x13\xC8\x1A\x47\x0A\x2D\x6D\x56"
29966 			  "\xCD\xD2\xE7\x53\x1A\xAB\x1C\x3C"
29967 			  "\xC5\x9B\x03\x70\x29\x2A\x49\x09"
29968 			  "\x67\xA1\xEA\xD6\x3A\x5B\xBF\x71"
29969 			  "\x1D\x48\x64\x6C\xFB\xC0\x9E\x36",
29970 		.ilen	= 1008,
29971 		.result	= "\x56\xED\x84\x1B\x8F\x26\xBD\x31"
29972 			  "\xC8\x5F\xF6\x6A\x01\x98\x0C\xA3"
29973 			  "\x3A\xD1\x45\xDC\x73\x0A\x7E\x15"
29974 			  "\xAC\x20\xB7\x4E\xE5\x59\xF0\x87"
29975 			  "\x1E\x92\x29\xC0\x34\xCB\x62\xF9"
29976 			  "\x6D\x04\x9B\x0F\xA6\x3D\xD4\x48"
29977 			  "\xDF\x76\x0D\x81\x18\xAF\x23\xBA"
29978 			  "\x51\xE8\x5C\xF3\x8A\x21\x95\x2C"
29979 			  "\xC3\x37\xCE\x65\xFC\x70\x07\x9E"
29980 			  "\x12\xA9\x40\xD7\x4B\xE2\x79\x10"
29981 			  "\x84\x1B\xB2\x26\xBD\x54\xEB\x5F"
29982 			  "\xF6\x8D\x01\x98\x2F\xC6\x3A\xD1"
29983 			  "\x68\xFF\x73\x0A\xA1\x15\xAC\x43"
29984 			  "\xDA\x4E\xE5\x7C\x13\x87\x1E\xB5"
29985 			  "\x29\xC0\x57\xEE\x62\xF9\x90\x04"
29986 			  "\x9B\x32\xC9\x3D\xD4\x6B\x02\x76"
29987 			  "\x0D\xA4\x18\xAF\x46\xDD\x51\xE8"
29988 			  "\x7F\x16\x8A\x21\xB8\x2C\xC3\x5A"
29989 			  "\xF1\x65\xFC\x93\x07\x9E\x35\xCC"
29990 			  "\x40\xD7\x6E\x05\x79\x10\xA7\x1B"
29991 			  "\xB2\x49\xE0\x54\xEB\x82\x19\x8D"
29992 			  "\x24\xBB\x2F\xC6\x5D\xF4\x68\xFF"
29993 			  "\x96\x0A\xA1\x38\xCF\x43\xDA\x71"
29994 			  "\x08\x7C\x13\xAA\x1E\xB5\x4C\xE3"
29995 			  "\x57\xEE\x85\x1C\x90\x27\xBE\x32"
29996 			  "\xC9\x60\xF7\x6B\x02\x99\x0D\xA4"
29997 			  "\x3B\xD2\x46\xDD\x74\x0B\x7F\x16"
29998 			  "\xAD\x21\xB8\x4F\xE6\x5A\xF1\x88"
29999 			  "\x1F\x93\x2A\xC1\x35\xCC\x63\xFA"
30000 			  "\x6E\x05\x9C\x10\xA7\x3E\xD5\x49"
30001 			  "\xE0\x77\x0E\x82\x19\xB0\x24\xBB"
30002 			  "\x52\xE9\x5D\xF4\x8B\x22\x96\x2D"
30003 			  "\xC4\x38\xCF\x66\xFD\x71\x08\x9F"
30004 			  "\x13\xAA\x41\xD8\x4C\xE3\x7A\x11"
30005 			  "\x85\x1C\xB3\x27\xBE\x55\xEC\x60"
30006 			  "\xF7\x8E\x02\x99\x30\xC7\x3B\xD2"
30007 			  "\x69\x00\x74\x0B\xA2\x16\xAD\x44"
30008 			  "\xDB\x4F\xE6\x7D\x14\x88\x1F\xB6"
30009 			  "\x2A\xC1\x58\xEF\x63\xFA\x91\x05"
30010 			  "\x9C\x33\xCA\x3E\xD5\x6C\x03\x77"
30011 			  "\x0E\xA5\x19\xB0\x47\xDE\x52\xE9"
30012 			  "\x80\x17\x8B\x22\xB9\x2D\xC4\x5B"
30013 			  "\xF2\x66\xFD\x94\x08\x9F\x36\xCD"
30014 			  "\x41\xD8\x6F\x06\x7A\x11\xA8\x1C"
30015 			  "\xB3\x4A\xE1\x55\xEC\x83\x1A\x8E"
30016 			  "\x25\xBC\x30\xC7\x5E\xF5\x69\x00"
30017 			  "\x97\x0B\xA2\x39\xD0\x44\xDB\x72"
30018 			  "\x09\x7D\x14\xAB\x1F\xB6\x4D\xE4"
30019 			  "\x58\xEF\x86\x1D\x91\x28\xBF\x33"
30020 			  "\xCA\x61\xF8\x6C\x03\x9A\x0E\xA5"
30021 			  "\x3C\xD3\x47\xDE\x75\x0C\x80\x17"
30022 			  "\xAE\x22\xB9\x50\xE7\x5B\xF2\x89"
30023 			  "\x20\x94\x2B\xC2\x36\xCD\x64\xFB"
30024 			  "\x6F\x06\x9D\x11\xA8\x3F\xD6\x4A"
30025 			  "\xE1\x78\x0F\x83\x1A\xB1\x25\xBC"
30026 			  "\x53\xEA\x5E\xF5\x8C\x00\x97\x2E"
30027 			  "\xC5\x39\xD0\x67\xFE\x72\x09\xA0"
30028 			  "\x14\xAB\x42\xD9\x4D\xE4\x7B\x12"
30029 			  "\x86\x1D\xB4\x28\xBF\x56\xED\x61"
30030 			  "\xF8\x8F\x03\x9A\x31\xC8\x3C\xD3"
30031 			  "\x6A\x01\x75\x0C\xA3\x17\xAE\x45"
30032 			  "\xDC\x50\xE7\x7E\x15\x89\x20\xB7"
30033 			  "\x2B\xC2\x59\xF0\x64\xFB\x92\x06"
30034 			  "\x9D\x34\xCB\x3F\xD6\x6D\x04\x78"
30035 			  "\x0F\xA6\x1A\xB1\x48\xDF\x53\xEA"
30036 			  "\x81\x18\x8C\x23\xBA\x2E\xC5\x5C"
30037 			  "\xF3\x67\xFE\x95\x09\xA0\x37\xCE"
30038 			  "\x42\xD9\x70\x07\x7B\x12\xA9\x1D"
30039 			  "\xB4\x4B\xE2\x56\xED\x84\x1B\x8F"
30040 			  "\x26\xBD\x31\xC8\x5F\xF6\x6A\x01"
30041 			  "\x98\x0C\xA3\x3A\xD1\x45\xDC\x73"
30042 			  "\x0A\x7E\x15\xAC\x20\xB7\x4E\xE5"
30043 			  "\x59\xF0\x87\x1E\x92\x29\xC0\x34"
30044 			  "\xCB\x62\xF9\x6D\x04\x9B\x0F\xA6"
30045 			  "\x3D\xD4\x48\xDF\x76\x0D\x81\x18"
30046 			  "\xAF\x23\xBA\x51\xE8\x5C\xF3\x8A"
30047 			  "\x21\x95\x2C\xC3\x37\xCE\x65\xFC"
30048 			  "\x70\x07\x9E\x12\xA9\x40\xD7\x4B"
30049 			  "\xE2\x79\x10\x84\x1B\xB2\x26\xBD"
30050 			  "\x54\xEB\x5F\xF6\x8D\x01\x98\x2F"
30051 			  "\xC6\x3A\xD1\x68\xFF\x73\x0A\xA1"
30052 			  "\x15\xAC\x43\xDA\x4E\xE5\x7C\x13"
30053 			  "\x87\x1E\xB5\x29\xC0\x57\xEE\x62"
30054 			  "\xF9\x90\x04\x9B\x32\xC9\x3D\xD4"
30055 			  "\x6B\x02\x76\x0D\xA4\x18\xAF\x46"
30056 			  "\xDD\x51\xE8\x7F\x16\x8A\x21\xB8"
30057 			  "\x2C\xC3\x5A\xF1\x65\xFC\x93\x07"
30058 			  "\x9E\x35\xCC\x40\xD7\x6E\x05\x79"
30059 			  "\x10\xA7\x1B\xB2\x49\xE0\x54\xEB"
30060 			  "\x82\x19\x8D\x24\xBB\x2F\xC6\x5D"
30061 			  "\xF4\x68\xFF\x96\x0A\xA1\x38\xCF"
30062 			  "\x43\xDA\x71\x08\x7C\x13\xAA\x1E"
30063 			  "\xB5\x4C\xE3\x57\xEE\x85\x1C\x90"
30064 			  "\x27\xBE\x32\xC9\x60\xF7\x6B\x02"
30065 			  "\x99\x0D\xA4\x3B\xD2\x46\xDD\x74"
30066 			  "\x0B\x7F\x16\xAD\x21\xB8\x4F\xE6"
30067 			  "\x5A\xF1\x88\x1F\x93\x2A\xC1\x35"
30068 			  "\xCC\x63\xFA\x6E\x05\x9C\x10\xA7"
30069 			  "\x3E\xD5\x49\xE0\x77\x0E\x82\x19"
30070 			  "\xB0\x24\xBB\x52\xE9\x5D\xF4\x8B"
30071 			  "\x22\x96\x2D\xC4\x38\xCF\x66\xFD"
30072 			  "\x71\x08\x9F\x13\xAA\x41\xD8\x4C"
30073 			  "\xE3\x7A\x11\x85\x1C\xB3\x27\xBE"
30074 			  "\x55\xEC\x60\xF7\x8E\x02\x99\x30"
30075 			  "\xC7\x3B\xD2\x69\x00\x74\x0B\xA2"
30076 			  "\x16\xAD\x44\xDB\x4F\xE6\x7D\x14"
30077 			  "\x88\x1F\xB6\x2A\xC1\x58\xEF\x63"
30078 			  "\xFA\x91\x05\x9C\x33\xCA\x3E\xD5"
30079 			  "\x6C\x03\x77\x0E\xA5\x19\xB0\x47"
30080 			  "\xDE\x52\xE9\x80\x17\x8B\x22\xB9"
30081 			  "\x2D\xC4\x5B\xF2\x66\xFD\x94\x08"
30082 			  "\x9F\x36\xCD\x41\xD8\x6F\x06\x7A"
30083 			  "\x11\xA8\x1C\xB3\x4A\xE1\x55\xEC"
30084 			  "\x83\x1A\x8E\x25\xBC\x30\xC7\x5E"
30085 			  "\xF5\x69\x00\x97\x0B\xA2\x39\xD0"
30086 			  "\x44\xDB\x72\x09\x7D\x14\xAB\x1F"
30087 			  "\xB6\x4D\xE4\x58\xEF\x86\x1D\x91"
30088 			  "\x28\xBF\x33\xCA\x61\xF8\x6C\x03"
30089 			  "\x9A\x0E\xA5\x3C\xD3\x47\xDE\x75"
30090 			  "\x0C\x80\x17\xAE\x22\xB9\x50\xE7"
30091 			  "\x5B\xF2\x89\x20\x94\x2B\xC2\x36"
30092 			  "\xCD\x64\xFB\x6F\x06\x9D\x11\xA8"
30093 			  "\x3F\xD6\x4A\xE1\x78\x0F\x83\x1A"
30094 			  "\xB1\x25\xBC\x53\xEA\x5E\xF5\x8C"
30095 			  "\x00\x97\x2E\xC5\x39\xD0\x67\xFE"
30096 			  "\x72\x09\xA0\x14\xAB\x42\xD9\x4D",
30097 		.rlen	= 1008,
30098 	},
30099 };
30100 
30101 static const struct cipher_testvec camellia_lrw_enc_tv_template[] = {
30102 	/* Generated from AES-LRW test vectors */
30103 	{
30104 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
30105 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
30106 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
30107 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
30108 		.klen	= 32,
30109 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30110 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30111 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30112 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30113 		.ilen	= 16,
30114 		.result	= "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
30115 			  "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
30116 		.rlen	= 16,
30117 	}, {
30118 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
30119 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
30120 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
30121 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
30122 		.klen	= 32,
30123 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30124 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
30125 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30126 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30127 		.ilen	= 16,
30128 		.result	= "\x73\x09\xb7\x50\xb6\x77\x30\x50"
30129 			  "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
30130 		.rlen	= 16,
30131 	}, {
30132 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
30133 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
30134 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
30135 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
30136 		.klen	= 32,
30137 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30138 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30139 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30140 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30141 		.ilen	= 16,
30142 		.result	= "\x90\xae\x83\xe0\x22\xb9\x60\x91"
30143 			  "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
30144 		.rlen	= 16,
30145 	}, {
30146 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
30147 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
30148 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
30149 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
30150 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
30151 		.klen	= 40,
30152 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30153 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30154 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30155 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30156 		.ilen	= 16,
30157 		.result	= "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
30158 			  "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
30159 		.rlen	= 16,
30160 	}, {
30161 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
30162 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
30163 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
30164 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
30165 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
30166 		.klen	= 40,
30167 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30168 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30169 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30170 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30171 		.ilen	= 16,
30172 		.result	= "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
30173 			  "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
30174 		.rlen	= 16,
30175 	}, {
30176 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30177 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30178 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30179 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30180 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30181 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30182 		.klen	= 48,
30183 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30184 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30185 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30186 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30187 		.ilen	= 16,
30188 		.result	= "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
30189 			  "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
30190 		.rlen	= 16,
30191 	}, {
30192 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
30193 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
30194 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
30195 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
30196 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
30197 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
30198 		.klen	= 48,
30199 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30200 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30201 		.input	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30202 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30203 		.ilen	= 16,
30204 		.result	= "\x04\xab\x28\x37\x31\x7a\x26\xab"
30205 			  "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
30206 		.rlen	= 16,
30207 	}, {
30208 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30209 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30210 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30211 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30212 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30213 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30214 		.klen	= 48,
30215 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30216 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30217 		.input	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
30218 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
30219 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
30220 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
30221 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
30222 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
30223 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
30224 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
30225 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
30226 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
30227 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
30228 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
30229 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
30230 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
30231 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
30232 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
30233 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
30234 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
30235 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
30236 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
30237 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
30238 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
30239 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
30240 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
30241 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
30242 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
30243 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
30244 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
30245 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
30246 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
30247 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
30248 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
30249 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
30250 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
30251 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
30252 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
30253 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
30254 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
30255 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
30256 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
30257 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
30258 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
30259 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
30260 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
30261 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
30262 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
30263 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
30264 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
30265 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
30266 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
30267 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
30268 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
30269 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
30270 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
30271 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
30272 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
30273 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
30274 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
30275 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
30276 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
30277 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
30278 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
30279 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
30280 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
30281 		.ilen	= 512,
30282 		.result	= "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
30283 			  "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
30284 			  "\x67\x76\xac\x2c\xd2\x63\x18\x93"
30285 			  "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
30286 			  "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
30287 			  "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
30288 			  "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
30289 			  "\x62\xdd\x78\x81\xea\x1d\xef\x04"
30290 			  "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
30291 			  "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
30292 			  "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
30293 			  "\x40\x41\x69\xaa\x71\xc0\x37\xec"
30294 			  "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
30295 			  "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
30296 			  "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
30297 			  "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
30298 			  "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
30299 			  "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
30300 			  "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
30301 			  "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
30302 			  "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
30303 			  "\x42\x08\x40\x82\x06\x1c\x2d\x55"
30304 			  "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
30305 			  "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
30306 			  "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
30307 			  "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
30308 			  "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
30309 			  "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
30310 			  "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
30311 			  "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
30312 			  "\xed\x14\xa9\x57\x19\x63\x40\x04"
30313 			  "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
30314 			  "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
30315 			  "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
30316 			  "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
30317 			  "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
30318 			  "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
30319 			  "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
30320 			  "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
30321 			  "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
30322 			  "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
30323 			  "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
30324 			  "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
30325 			  "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
30326 			  "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
30327 			  "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
30328 			  "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
30329 			  "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
30330 			  "\x35\xa5\x83\x04\x84\x01\x99\x56"
30331 			  "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
30332 			  "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
30333 			  "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
30334 			  "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
30335 			  "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
30336 			  "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
30337 			  "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
30338 			  "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
30339 			  "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
30340 			  "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
30341 			  "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
30342 			  "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
30343 			  "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
30344 			  "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
30345 			  "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
30346 		.rlen	= 512,
30347 		.also_non_np = 1,
30348 		.np	= 3,
30349 		.tap	= { 512 - 20, 4, 16 },
30350 	},
30351 };
30352 
30353 static const struct cipher_testvec camellia_lrw_dec_tv_template[] = {
30354 	/* Generated from AES-LRW test vectors */
30355 	/* same as enc vectors with input and result reversed */
30356 	{
30357 		.key	= "\x45\x62\xac\x25\xf8\x28\x17\x6d"
30358 			  "\x4c\x26\x84\x14\xb5\x68\x01\x85"
30359 			  "\x25\x8e\x2a\x05\xe7\x3e\x9d\x03"
30360 			  "\xee\x5a\x83\x0c\xcc\x09\x4c\x87",
30361 		.klen	= 32,
30362 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30363 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30364 		.input	= "\x92\x68\x19\xd7\xb7\x5b\x0a\x31"
30365 			  "\x97\xcc\x72\xbe\x99\x17\xeb\x3e",
30366 		.ilen	= 16,
30367 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30368 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30369 		.rlen	= 16,
30370 	}, {
30371 		.key	= "\x59\x70\x47\x14\xf5\x57\x47\x8c"
30372 			  "\xd7\x79\xe8\x0f\x54\x88\x79\x44"
30373 			  "\x0d\x48\xf0\xb7\xb1\x5a\x53\xea"
30374 			  "\x1c\xaa\x6b\x29\xc2\xca\xfb\xaf",
30375 		.klen	= 32,
30376 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30377 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
30378 		.input	= "\x73\x09\xb7\x50\xb6\x77\x30\x50"
30379 			  "\x5c\x8a\x9c\x26\x77\x9d\xfc\x4a",
30380 		.ilen	= 16,
30381 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30382 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30383 		.rlen	= 16,
30384 	}, {
30385 		.key	= "\xd8\x2a\x91\x34\xb2\x6a\x56\x50"
30386 			  "\x30\xfe\x69\xe2\x37\x7f\x98\x47"
30387 			  "\xcd\xf9\x0b\x16\x0c\x64\x8f\xb6"
30388 			  "\xb0\x0d\x0d\x1b\xae\x85\x87\x1f",
30389 		.klen	= 32,
30390 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30391 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30392 		.input	= "\x90\xae\x83\xe0\x22\xb9\x60\x91"
30393 			  "\xfa\xa9\xb7\x98\xe3\xed\x87\x01",
30394 		.ilen	= 16,
30395 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30396 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30397 		.rlen	= 16,
30398 	}, {
30399 		.key	= "\x0f\x6a\xef\xf8\xd3\xd2\xbb\x15"
30400 			  "\x25\x83\xf7\x3c\x1f\x01\x28\x74"
30401 			  "\xca\xc6\xbc\x35\x4d\x4a\x65\x54"
30402 			  "\x90\xae\x61\xcf\x7b\xae\xbd\xcc"
30403 			  "\xad\xe4\x94\xc5\x4a\x29\xae\x70",
30404 		.klen	= 40,
30405 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30406 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30407 		.input	= "\x99\xe9\x6e\xd4\xc9\x21\xa5\xf0"
30408 			  "\xd8\x83\xef\xd9\x07\x16\x5f\x35",
30409 		.ilen	= 16,
30410 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30411 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30412 		.rlen	= 16,
30413 	}, {
30414 		.key	= "\x8a\xd4\xee\x10\x2f\xbd\x81\xff"
30415 			  "\xf8\x86\xce\xac\x93\xc5\xad\xc6"
30416 			  "\xa0\x19\x07\xc0\x9d\xf7\xbb\xdd"
30417 			  "\x52\x13\xb2\xb7\xf0\xff\x11\xd8"
30418 			  "\xd6\x08\xd0\xcd\x2e\xb1\x17\x6f",
30419 		.klen	= 40,
30420 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30421 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30422 		.input	= "\x42\x88\xf4\xcb\x21\x11\x6d\x8e"
30423 			  "\xde\x1a\xf2\x29\xf1\x4a\xe0\x15",
30424 		.ilen	= 16,
30425 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30426 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30427 		.rlen	= 16,
30428 	}, {
30429 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30430 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30431 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30432 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30433 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30434 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30435 		.klen	= 48,
30436 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30437 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30438 		.input	= "\x40\xaa\x34\x86\x4a\x8f\x78\xb9"
30439 			  "\xdb\xdb\x0f\x3d\x48\x70\xbe\x8d",
30440 		.ilen	= 16,
30441 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30442 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30443 		.rlen	= 16,
30444 	}, {
30445 		.key	= "\xfb\x76\x15\xb2\x3d\x80\x89\x1d"
30446 			  "\xd4\x70\x98\x0b\xc7\x95\x84\xc8"
30447 			  "\xb2\xfb\x64\xce\x60\x97\x87\x8d"
30448 			  "\x17\xfc\xe4\x5a\x49\xe8\x30\xb7"
30449 			  "\x6e\x78\x17\xe7\x2d\x5e\x12\xd4"
30450 			  "\x60\x64\x04\x7a\xf1\x2f\x9e\x0c",
30451 		.klen	= 48,
30452 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30453 			  "\x00\x00\x00\x02\x00\x00\x00\x00",
30454 		.input	= "\x04\xab\x28\x37\x31\x7a\x26\xab"
30455 			  "\xa1\x70\x1b\x9c\xe7\xdd\x83\xff",
30456 		.ilen	= 16,
30457 		.result	= "\x30\x31\x32\x33\x34\x35\x36\x37"
30458 			  "\x38\x39\x41\x42\x43\x44\x45\x46",
30459 		.rlen	= 16,
30460 	}, {
30461 		.key	= "\xf8\xd4\x76\xff\xd6\x46\xee\x6c"
30462 			  "\x23\x84\xcb\x1c\x77\xd6\x19\x5d"
30463 			  "\xfe\xf1\xa9\xf3\x7b\xbc\x8d\x21"
30464 			  "\xa7\x9c\x21\xf8\xcb\x90\x02\x89"
30465 			  "\xa8\x45\x34\x8e\xc8\xc5\xb5\xf1"
30466 			  "\x26\xf5\x0e\x76\xfe\xfd\x1b\x1e",
30467 		.klen	= 48,
30468 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30469 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
30470 		.input	= "\x90\x69\x8e\xf2\x14\x86\x59\xf9"
30471 			  "\xec\xe7\xfa\x3f\x48\x9d\x7f\x96"
30472 			  "\x67\x76\xac\x2c\xd2\x63\x18\x93"
30473 			  "\x13\xf8\xf1\xf6\x71\x77\xb3\xee"
30474 			  "\x93\xb2\xcc\xf3\x26\xc1\x16\x4f"
30475 			  "\xd4\xe8\x43\xc1\x68\xa3\x3e\x06"
30476 			  "\x38\x51\xff\xa8\xb9\xa4\xeb\xb1"
30477 			  "\x62\xdd\x78\x81\xea\x1d\xef\x04"
30478 			  "\x1d\x07\xc1\x67\xc8\xd6\x77\xa1"
30479 			  "\x84\x95\xf4\x9a\xd9\xbc\x2d\xe2"
30480 			  "\xf6\x80\xfc\x91\x2a\xbc\x42\xa0"
30481 			  "\x40\x41\x69\xaa\x71\xc0\x37\xec"
30482 			  "\x39\xf3\xf2\xec\x82\xc3\x88\x79"
30483 			  "\xbc\xc3\xaa\xb7\xcf\x6a\x72\x80"
30484 			  "\x4c\xf4\x84\x8f\x13\x9e\x94\x5c"
30485 			  "\xe5\xb2\x91\xbb\x92\x51\x4d\xf1"
30486 			  "\xd6\x0d\x71\x6b\x7a\xc2\x2f\x12"
30487 			  "\x6f\x75\xc7\x80\x99\x50\x84\xcf"
30488 			  "\xa8\xeb\xd6\xe1\x1c\x59\x81\x7e"
30489 			  "\xb9\xb3\xde\x7a\x93\x14\x12\xa2"
30490 			  "\xf7\x43\xb3\x9d\x1a\x87\x65\x91"
30491 			  "\x42\x08\x40\x82\x06\x1c\x2d\x55"
30492 			  "\x6e\x48\xd5\x74\x07\x6e\x9d\x80"
30493 			  "\xeb\xb4\x97\xa1\x36\xdf\xfa\x74"
30494 			  "\x79\x7f\x5a\x75\xe7\x71\xc8\x8c"
30495 			  "\x7e\xf8\x3a\x77\xcd\x32\x05\xf9"
30496 			  "\x3d\xd4\xe9\xa2\xbb\xc4\x8b\x83"
30497 			  "\x42\x5c\x82\xfa\xe9\x4b\x96\x3b"
30498 			  "\x7f\x89\x8b\xf9\xf1\x87\xda\xf0"
30499 			  "\x87\xef\x13\x5d\xf0\xe2\xc5\xc1"
30500 			  "\xed\x14\xa9\x57\x19\x63\x40\x04"
30501 			  "\x24\xeb\x6e\x19\xd1\x3d\x70\x78"
30502 			  "\xeb\xda\x55\x70\x2c\x4f\x41\x5b"
30503 			  "\x56\x9f\x1a\xd3\xac\xf1\xc0\xc3"
30504 			  "\x21\xec\xd7\xd2\x55\x32\x7c\x2e"
30505 			  "\x3c\x48\x8e\xb4\x85\x35\x47\xfe"
30506 			  "\xe2\x88\x79\x98\x6a\xc9\x8d\xff"
30507 			  "\xe9\x89\x6e\xb8\xe2\x97\x00\xbd"
30508 			  "\xa4\x8f\xba\xd0\x8c\xcb\x79\x99"
30509 			  "\xb3\xb2\xb2\x7a\xc3\xb7\xef\x75"
30510 			  "\x23\x52\x76\xc3\x50\x6e\x66\xf8"
30511 			  "\xa2\xe2\xce\xba\x40\x21\x3f\xc9"
30512 			  "\x0a\x32\x7f\xf7\x08\x8c\x66\xcf"
30513 			  "\xd3\xdf\x57\x59\x83\xb8\xe1\x85"
30514 			  "\xd6\x8f\xfb\x48\x1f\x3a\xc4\x2f"
30515 			  "\xb4\x2d\x58\xab\xd8\x7f\x5e\x3a"
30516 			  "\xbc\x62\x3e\xe2\x6a\x52\x0d\x76"
30517 			  "\x2f\x1c\x1a\x30\xed\x95\x2a\x44"
30518 			  "\x35\xa5\x83\x04\x84\x01\x99\x56"
30519 			  "\xb7\xe3\x10\x96\xfa\xdc\x19\xdd"
30520 			  "\xe2\x7f\xcb\xa0\x49\x1b\xff\x4c"
30521 			  "\x73\xf6\xbb\x94\x00\xe8\xa9\x3d"
30522 			  "\xe2\x20\xe9\x3f\xfa\x07\x5d\x77"
30523 			  "\x06\xd5\x4f\x4d\x02\xb8\x40\x1b"
30524 			  "\x30\xed\x1a\x50\x19\xef\xc4\x2c"
30525 			  "\x02\xd9\xc5\xd3\x11\x33\x37\xe5"
30526 			  "\x2b\xa3\x95\xa6\xee\xd8\x74\x1d"
30527 			  "\x68\xa0\xeb\xbf\xdd\x5e\x99\x96"
30528 			  "\x91\xc3\x94\x24\xa5\x12\xa2\x37"
30529 			  "\xb3\xac\xcf\x2a\xfd\x55\x34\xfe"
30530 			  "\x79\x92\x3e\xe6\x1b\x49\x57\x5d"
30531 			  "\x93\x6c\x01\xf7\xcc\x4e\x20\xd1"
30532 			  "\xb2\x1a\xd8\x4c\xbd\x1d\x10\xe9"
30533 			  "\x5a\xa8\x92\x7f\xba\xe6\x0c\x95",
30534 		.ilen	= 512,
30535 		.result	= "\x05\x11\xb7\x18\xab\xc6\x2d\xac"
30536 			  "\x70\x5d\xf6\x22\x94\xcd\xe5\x6c"
30537 			  "\x17\x6b\xf6\x1c\xf0\xf3\x6e\xf8"
30538 			  "\x50\x38\x1f\x71\x49\xb6\x57\xd6"
30539 			  "\x8f\xcb\x8d\x6b\xe3\xa6\x29\x90"
30540 			  "\xfe\x2a\x62\x82\xae\x6d\x8b\xf6"
30541 			  "\xad\x1e\x9e\x20\x5f\x38\xbe\x04"
30542 			  "\xda\x10\x8e\xed\xa2\xa4\x87\xab"
30543 			  "\xda\x6b\xb4\x0c\x75\xba\xd3\x7c"
30544 			  "\xc9\xac\x42\x31\x95\x7c\xc9\x04"
30545 			  "\xeb\xd5\x6e\x32\x69\x8a\xdb\xa6"
30546 			  "\x15\xd7\x3f\x4f\x2f\x66\x69\x03"
30547 			  "\x9c\x1f\x54\x0f\xde\x1f\xf3\x65"
30548 			  "\x4c\x96\x12\xed\x7c\x92\x03\x01"
30549 			  "\x6f\xbc\x35\x93\xac\xf1\x27\xf1"
30550 			  "\xb4\x96\x82\x5a\x5f\xb0\xa0\x50"
30551 			  "\x89\xa4\x8e\x66\x44\x85\xcc\xfd"
30552 			  "\x33\x14\x70\xe3\x96\xb2\xc3\xd3"
30553 			  "\xbb\x54\x5a\x1a\xf9\x74\xa2\xc5"
30554 			  "\x2d\x64\x75\xdd\xb4\x54\xe6\x74"
30555 			  "\x8c\xd3\x9d\x9e\x86\xab\x51\x53"
30556 			  "\xb7\x93\x3e\x6f\xd0\x4e\x2c\x40"
30557 			  "\xf6\xa8\x2e\x3e\x9d\xf4\x66\xa5"
30558 			  "\x76\x12\x73\x44\x1a\x56\xd7\x72"
30559 			  "\x88\xcd\x21\x8c\x4c\x0f\xfe\xda"
30560 			  "\x95\xe0\x3a\xa6\xa5\x84\x46\xcd"
30561 			  "\xd5\x3e\x9d\x3a\xe2\x67\xe6\x60"
30562 			  "\x1a\xe2\x70\x85\x58\xc2\x1b\x09"
30563 			  "\xe1\xd7\x2c\xca\xad\xa8\x8f\xf9"
30564 			  "\xac\xb3\x0e\xdb\xca\x2e\xe2\xb8"
30565 			  "\x51\x71\xd9\x3c\x6c\xf1\x56\xf8"
30566 			  "\xea\x9c\xf1\xfb\x0c\xe6\xb7\x10"
30567 			  "\x1c\xf8\xa9\x7c\xe8\x53\x35\xc1"
30568 			  "\x90\x3e\x76\x4a\x74\xa4\x21\x2c"
30569 			  "\xf6\x2c\x4e\x0f\x94\x3a\x88\x2e"
30570 			  "\x41\x09\x6a\x33\x7d\xf6\xdd\x3f"
30571 			  "\x8d\x23\x31\x74\x84\xeb\x88\x6e"
30572 			  "\xcc\xb9\xbc\x22\x83\x19\x07\x22"
30573 			  "\xa5\x2d\xdf\xa5\xf3\x80\x85\x78"
30574 			  "\x84\x39\x6a\x6d\x6a\x99\x4f\xa5"
30575 			  "\x15\xfe\x46\xb0\xe4\x6c\xa5\x41"
30576 			  "\x3c\xce\x8f\x42\x60\x71\xa7\x75"
30577 			  "\x08\x40\x65\x8a\x82\xbf\xf5\x43"
30578 			  "\x71\x96\xa9\x4d\x44\x8a\x20\xbe"
30579 			  "\xfa\x4d\xbb\xc0\x7d\x31\x96\x65"
30580 			  "\xe7\x75\xe5\x3e\xfd\x92\x3b\xc9"
30581 			  "\x55\xbb\x16\x7e\xf7\xc2\x8c\xa4"
30582 			  "\x40\x1d\xe5\xef\x0e\xdf\xe4\x9a"
30583 			  "\x62\x73\x65\xfd\x46\x63\x25\x3d"
30584 			  "\x2b\xaf\xe5\x64\xfe\xa5\x5c\xcf"
30585 			  "\x24\xf3\xb4\xac\x64\xba\xdf\x4b"
30586 			  "\xc6\x96\x7d\x81\x2d\x8d\x97\xf7"
30587 			  "\xc5\x68\x77\x84\x32\x2b\xcc\x85"
30588 			  "\x74\x96\xf0\x12\x77\x61\xb9\xeb"
30589 			  "\x71\xaa\x82\xcb\x1c\xdb\x89\xc8"
30590 			  "\xc6\xb5\xe3\x5c\x7d\x39\x07\x24"
30591 			  "\xda\x39\x87\x45\xc0\x2b\xbb\x01"
30592 			  "\xac\xbc\x2a\x5c\x7f\xfc\xe8\xce"
30593 			  "\x6d\x9c\x6f\xed\xd3\xc1\xa1\xd6"
30594 			  "\xc5\x55\xa9\x66\x2f\xe1\xc8\x32"
30595 			  "\xa6\x5d\xa4\x3a\x98\x73\xe8\x45"
30596 			  "\xa4\xc7\xa8\xb4\xf6\x13\x03\xf6"
30597 			  "\xe9\x2e\xc4\x29\x0f\x84\xdb\xc4"
30598 			  "\x21\xc4\xc2\x75\x67\x89\x37\x0a",
30599 		.rlen	= 512,
30600 		.also_non_np = 1,
30601 		.np	= 3,
30602 		.tap	= { 512 - 20, 4, 16 },
30603 	},
30604 };
30605 
30606 static const struct cipher_testvec camellia_xts_enc_tv_template[] = {
30607 	/* Generated from AES-XTS test vectors */
30608 	{
30609 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30610 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30611 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30612 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30613 		.klen	= 32,
30614 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30615 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30616 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30617 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30618 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30619 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30620 		.ilen	= 32,
30621 		.result	= "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
30622 			  "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
30623 			  "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
30624 			  "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
30625 		.rlen	= 32,
30626 	}, {
30627 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
30628 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
30629 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
30630 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
30631 		.klen	= 32,
30632 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
30633 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30634 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
30635 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30636 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30637 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
30638 		.ilen	= 32,
30639 		.result	= "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
30640 			  "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
30641 			  "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
30642 			  "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
30643 		.rlen	= 32,
30644 	}, {
30645 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
30646 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
30647 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
30648 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
30649 		.klen	= 32,
30650 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
30651 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30652 		.input	= "\x44\x44\x44\x44\x44\x44\x44\x44"
30653 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30654 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30655 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
30656 		.ilen	= 32,
30657 		.result	= "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
30658 			  "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
30659 			  "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
30660 			  "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
30661 		.rlen	= 32,
30662 	}, {
30663 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
30664 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
30665 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
30666 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
30667 		.klen	= 32,
30668 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30669 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30670 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
30671 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30672 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30673 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30674 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30675 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30676 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30677 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30678 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30679 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30680 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30681 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30682 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30683 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30684 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30685 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30686 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30687 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30688 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30689 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30690 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30691 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30692 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30693 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30694 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30695 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30696 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30697 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30698 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30699 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30700 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30701 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
30702 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
30703 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30704 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30705 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30706 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30707 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30708 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30709 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30710 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30711 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30712 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30713 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30714 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30715 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30716 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30717 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30718 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30719 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30720 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30721 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30722 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30723 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30724 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30725 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30726 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30727 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30728 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30729 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30730 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30731 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30732 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30733 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
30734 		.ilen	= 512,
30735 		.result	= "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
30736 			  "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
30737 			  "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
30738 			  "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
30739 			  "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
30740 			  "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
30741 			  "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
30742 			  "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
30743 			  "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
30744 			  "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
30745 			  "\x08\xda\x76\x00\x65\xcf\x7b\x31"
30746 			  "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
30747 			  "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
30748 			  "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
30749 			  "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
30750 			  "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
30751 			  "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
30752 			  "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
30753 			  "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
30754 			  "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
30755 			  "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
30756 			  "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
30757 			  "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
30758 			  "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
30759 			  "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
30760 			  "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
30761 			  "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
30762 			  "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
30763 			  "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
30764 			  "\x16\x31\xb2\x47\x91\x67\xaa\x28"
30765 			  "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
30766 			  "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
30767 			  "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
30768 			  "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
30769 			  "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
30770 			  "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
30771 			  "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
30772 			  "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
30773 			  "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
30774 			  "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
30775 			  "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
30776 			  "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
30777 			  "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
30778 			  "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
30779 			  "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
30780 			  "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
30781 			  "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
30782 			  "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
30783 			  "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
30784 			  "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
30785 			  "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
30786 			  "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
30787 			  "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
30788 			  "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
30789 			  "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
30790 			  "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
30791 			  "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
30792 			  "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
30793 			  "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
30794 			  "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
30795 			  "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
30796 			  "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
30797 			  "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
30798 			  "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
30799 		.rlen	= 512,
30800 	}, {
30801 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
30802 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
30803 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
30804 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
30805 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
30806 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
30807 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
30808 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
30809 		.klen	= 64,
30810 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
30811 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30812 		.input	= "\x00\x01\x02\x03\x04\x05\x06\x07"
30813 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30814 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30815 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30816 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30817 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30818 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30819 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30820 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30821 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30822 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30823 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30824 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30825 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30826 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30827 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30828 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30829 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30830 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30831 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30832 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30833 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30834 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30835 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30836 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30837 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30838 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30839 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30840 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30841 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30842 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30843 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
30844 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
30845 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
30846 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
30847 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
30848 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
30849 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
30850 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
30851 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
30852 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
30853 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
30854 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
30855 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
30856 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
30857 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
30858 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
30859 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
30860 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
30861 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
30862 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
30863 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
30864 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
30865 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
30866 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
30867 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
30868 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
30869 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
30870 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
30871 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
30872 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
30873 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
30874 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
30875 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
30876 		.ilen	= 512,
30877 		.result	= "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
30878 			  "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
30879 			  "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
30880 			  "\xf1\x74\xac\x96\x05\x7b\x32\xca"
30881 			  "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
30882 			  "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
30883 			  "\x97\x07\x82\xf0\x07\x12\x38\x0a"
30884 			  "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
30885 			  "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
30886 			  "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
30887 			  "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
30888 			  "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
30889 			  "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
30890 			  "\x41\x82\x0c\x45\x39\x35\xa8\x75"
30891 			  "\x03\x29\x01\x84\x8c\xab\x48\xbe"
30892 			  "\x11\x56\x22\x67\xb7\x67\x1a\x09"
30893 			  "\xa1\x72\x25\x41\x3c\x39\x65\x80"
30894 			  "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
30895 			  "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
30896 			  "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
30897 			  "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
30898 			  "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
30899 			  "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
30900 			  "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
30901 			  "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
30902 			  "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
30903 			  "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
30904 			  "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
30905 			  "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
30906 			  "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
30907 			  "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
30908 			  "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
30909 			  "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
30910 			  "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
30911 			  "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
30912 			  "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
30913 			  "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
30914 			  "\xef\x38\x52\x18\x0e\x29\x7e\xef"
30915 			  "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
30916 			  "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
30917 			  "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
30918 			  "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
30919 			  "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
30920 			  "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
30921 			  "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
30922 			  "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
30923 			  "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
30924 			  "\x21\x17\xf8\x59\x15\x24\x64\x22"
30925 			  "\x57\x48\x80\xd5\x3d\x92\x30\x07"
30926 			  "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
30927 			  "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
30928 			  "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
30929 			  "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
30930 			  "\x6b\x84\xf3\x00\xba\x52\x05\x02"
30931 			  "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
30932 			  "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
30933 			  "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
30934 			  "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
30935 			  "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
30936 			  "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
30937 			  "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
30938 			  "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
30939 			  "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
30940 			  "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
30941 		.rlen	= 512,
30942 		.also_non_np = 1,
30943 		.np	= 3,
30944 		.tap	= { 512 - 20, 4, 16 },
30945 	},
30946 };
30947 
30948 static const struct cipher_testvec camellia_xts_dec_tv_template[] = {
30949 	/* Generated from AES-XTS test vectors */
30950 	/* same as enc vectors with input and result reversed */
30951 	{
30952 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30953 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30954 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30955 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30956 		.klen	= 32,
30957 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30958 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30959 		.input	= "\x06\xcb\xa5\xf1\x04\x63\xb2\x41"
30960 			  "\xdc\xca\xfa\x09\xba\x74\xb9\x05"
30961 			  "\x78\xba\xa4\xf8\x67\x4d\x7e\xad"
30962 			  "\x20\x18\xf5\x0c\x41\x16\x2a\x61",
30963 		.ilen	= 32,
30964 		.result	= "\x00\x00\x00\x00\x00\x00\x00\x00"
30965 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30966 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
30967 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30968 		.rlen	= 32,
30969 	}, {
30970 		.key	= "\x11\x11\x11\x11\x11\x11\x11\x11"
30971 			  "\x11\x11\x11\x11\x11\x11\x11\x11"
30972 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
30973 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
30974 		.klen	= 32,
30975 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
30976 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30977 		.input	= "\xc2\xb9\xdc\x44\x1d\xdf\xf2\x86"
30978 			  "\x8d\x35\x42\x0a\xa5\x5e\x3d\x4f"
30979 			  "\xb5\x37\x06\xff\xbd\xd4\x91\x70"
30980 			  "\x80\x1f\xb2\x39\x10\x89\x44\xf5",
30981 		.ilen	= 32,
30982 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
30983 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30984 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
30985 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
30986 		.rlen	= 32,
30987 	}, {
30988 		.key	= "\xff\xfe\xfd\xfc\xfb\xfa\xf9\xf8"
30989 			  "\xf7\xf6\xf5\xf4\xf3\xf2\xf1\xf0"
30990 			  "\x22\x22\x22\x22\x22\x22\x22\x22"
30991 			  "\x22\x22\x22\x22\x22\x22\x22\x22",
30992 		.klen	= 32,
30993 		.iv	= "\x33\x33\x33\x33\x33\x00\x00\x00"
30994 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
30995 		.input	= "\x52\x1f\x9d\xf5\x5a\x58\x5a\x7e"
30996 			  "\x9f\xd0\x8e\x02\x9c\x9a\x6a\xa7"
30997 			  "\xb4\x3b\xce\xe7\x17\xaa\x89\x6a"
30998 			  "\x35\x3c\x6b\xb5\x61\x1c\x79\x38",
30999 		.ilen	= 32,
31000 		.result	= "\x44\x44\x44\x44\x44\x44\x44\x44"
31001 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31002 			  "\x44\x44\x44\x44\x44\x44\x44\x44"
31003 			  "\x44\x44\x44\x44\x44\x44\x44\x44",
31004 		.rlen	= 32,
31005 	}, {
31006 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
31007 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
31008 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
31009 			  "\x23\x84\x62\x64\x33\x83\x27\x95",
31010 		.klen	= 32,
31011 		.iv	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31012 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31013 		.input	= "\xc7\xf9\x0a\xaa\xcb\xb5\x8f\x33"
31014 			  "\x60\xc3\xe9\x47\x90\xb7\x50\x57"
31015 			  "\xa3\xad\x81\x2f\xf5\x22\x96\x02"
31016 			  "\xaa\x7f\xea\xac\x29\x78\xca\x2a"
31017 			  "\x7c\xcd\x31\x1a\x3c\x40\x0a\x73"
31018 			  "\x09\x66\xad\x72\x0e\x4d\x5d\x77"
31019 			  "\xbc\xb8\x76\x80\x37\x59\xa9\x01"
31020 			  "\x9e\xfb\xdb\x6c\x93\xef\xb6\x8d"
31021 			  "\x1e\xc1\x94\xa8\xd4\xb5\xb0\x01"
31022 			  "\xd5\x01\x97\x28\xcd\x7a\x1f\xe8"
31023 			  "\x08\xda\x76\x00\x65\xcf\x7b\x31"
31024 			  "\xc6\xfa\xf2\x3b\x00\xa7\x6a\x9e"
31025 			  "\x6c\x43\x80\x87\xe0\xbb\x4e\xe5"
31026 			  "\xdc\x8a\xdf\xc3\x1d\x1b\x41\x04"
31027 			  "\xfb\x54\xdd\x29\x27\xc2\x65\x17"
31028 			  "\x36\x88\xb0\x85\x8d\x73\x7e\x4b"
31029 			  "\x1d\x16\x8a\x52\xbc\xa6\xbc\xa4"
31030 			  "\x8c\xd1\x04\x16\xbf\x8c\x01\x0f"
31031 			  "\x7e\x6b\x59\x15\x29\xd1\x9b\xd3"
31032 			  "\x6c\xee\xac\xdc\x45\x58\xca\x5b"
31033 			  "\x70\x0e\x6a\x12\x86\x82\x79\x9f"
31034 			  "\x16\xd4\x9d\x67\xcd\x70\x65\x26"
31035 			  "\x21\x72\x1e\xa1\x94\x8a\x83\x0c"
31036 			  "\x92\x42\x58\x5e\xa2\xc5\x31\xf3"
31037 			  "\x7b\xd1\x31\xd4\x15\x80\x31\x61"
31038 			  "\x5c\x53\x10\xdd\xea\xc8\x83\x5c"
31039 			  "\x7d\xa7\x05\x66\xcc\x1e\xbb\x05"
31040 			  "\x47\xae\xb4\x0f\x84\xd8\xf6\xb5"
31041 			  "\xa1\xc6\x52\x00\x52\xe8\xdc\xd9"
31042 			  "\x16\x31\xb2\x47\x91\x67\xaa\x28"
31043 			  "\x2c\x29\x85\xa3\xf7\xf2\x24\x93"
31044 			  "\x23\x80\x1f\xa8\x1b\x82\x8d\xdc"
31045 			  "\x9f\x0b\xcd\xb4\x3c\x20\xbc\xec"
31046 			  "\x4f\xc7\xee\xf8\xfd\xd9\xfb\x7e"
31047 			  "\x3f\x0d\x23\xfa\x3f\xa7\xcc\x66"
31048 			  "\x1c\xfe\xa6\x86\xf6\xf7\x85\xc7"
31049 			  "\x43\xc1\xd4\xfc\xe4\x79\xc9\x1d"
31050 			  "\xf8\x89\xcd\x20\x27\x84\x5d\x5c"
31051 			  "\x8e\x4f\x1f\xeb\x08\x21\x4f\xa3"
31052 			  "\xe0\x7e\x0b\x9c\xe7\x42\xcf\xb7"
31053 			  "\x3f\x43\xcc\x86\x71\x34\x6a\xd9"
31054 			  "\x5e\xec\x8f\x36\xc9\x0a\x03\xfe"
31055 			  "\x18\x41\xdc\x9e\x2e\x75\x20\x3e"
31056 			  "\xcc\x77\xe0\x8f\xe8\x43\x37\x4c"
31057 			  "\xed\x1a\x5a\xb3\xfa\x43\xc9\x71"
31058 			  "\x9f\xc5\xce\xcf\xff\xe7\x77\x1e"
31059 			  "\x35\x93\xde\x6b\xc0\x6a\x7e\xa9"
31060 			  "\x34\xb8\x27\x74\x08\xda\xf2\x4a"
31061 			  "\x23\x5b\x9f\x55\x3a\x57\x82\x52"
31062 			  "\xea\x6d\xc3\xc7\xf2\xc8\xb5\xdc"
31063 			  "\xc5\xb9\xbb\xaa\xf2\x29\x9f\x49"
31064 			  "\x7a\xef\xfe\xdc\x9f\xc9\x28\xe2"
31065 			  "\x96\x0b\x35\x84\x05\x0d\xd6\x2a"
31066 			  "\xea\x5a\xbf\x69\xde\xee\x4f\x8f"
31067 			  "\x84\xb9\xcf\xa7\x57\xea\xe0\xe8"
31068 			  "\x96\xef\x0f\x0e\xec\xc7\xa6\x74"
31069 			  "\xb1\xfe\x7a\x6d\x11\xdd\x0e\x15"
31070 			  "\x4a\x1e\x73\x7f\x55\xea\xf6\xe1"
31071 			  "\x5b\xb6\x71\xda\xb0\x0c\xba\x26"
31072 			  "\x5c\x48\x38\x6d\x1c\x32\xb2\x7d"
31073 			  "\x05\x87\xc2\x1e\x7e\x2d\xd4\x33"
31074 			  "\xcc\x06\xdb\xe7\x82\x29\x63\xd1"
31075 			  "\x52\x84\x4f\xee\x27\xe8\x02\xd4"
31076 			  "\x34\x3c\x69\xc2\xbd\x20\xe6\x7a",
31077 		.ilen	= 512,
31078 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31079 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31080 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31081 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31082 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31083 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31084 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31085 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31086 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31087 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31088 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31089 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31090 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31091 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31092 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31093 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31094 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31095 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31096 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31097 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31098 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31099 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31100 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31101 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31102 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31103 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31104 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31105 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31106 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31107 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31108 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31109 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31110 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
31111 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31112 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31113 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31114 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31115 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31116 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31117 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31118 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31119 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31120 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31121 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31122 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31123 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31124 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31125 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31126 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31127 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31128 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31129 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31130 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31131 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31132 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31133 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31134 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31135 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31136 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31137 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31138 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31139 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31140 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31141 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
31142 		.rlen	= 512,
31143 	}, {
31144 		.key	= "\x27\x18\x28\x18\x28\x45\x90\x45"
31145 			  "\x23\x53\x60\x28\x74\x71\x35\x26"
31146 			  "\x62\x49\x77\x57\x24\x70\x93\x69"
31147 			  "\x99\x59\x57\x49\x66\x96\x76\x27"
31148 			  "\x31\x41\x59\x26\x53\x58\x97\x93"
31149 			  "\x23\x84\x62\x64\x33\x83\x27\x95"
31150 			  "\x02\x88\x41\x97\x16\x93\x99\x37"
31151 			  "\x51\x05\x82\x09\x74\x94\x45\x92",
31152 		.klen	= 64,
31153 		.iv	= "\xff\x00\x00\x00\x00\x00\x00\x00"
31154 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
31155 		.input	= "\x49\xcd\xb8\xbf\x2f\x73\x37\x28"
31156 			  "\x9a\x7f\x6e\x57\x55\xb8\x07\x88"
31157 			  "\x4a\x0d\x8b\x55\x60\xed\xb6\x7b"
31158 			  "\xf1\x74\xac\x96\x05\x7b\x32\xca"
31159 			  "\xd1\x4e\xf1\x58\x29\x16\x24\x6c"
31160 			  "\xf2\xb3\xe4\x88\x84\xac\x4d\xee"
31161 			  "\x97\x07\x82\xf0\x07\x12\x38\x0a"
31162 			  "\x67\x62\xaf\xfd\x85\x9f\x0a\x55"
31163 			  "\xa5\x20\xc5\x60\xe4\x68\x53\xa4"
31164 			  "\x0e\x2e\x65\xe3\xe4\x0c\x30\x7c"
31165 			  "\x1c\x01\x4f\x55\xa9\x13\xeb\x25"
31166 			  "\x21\x87\xbc\xd3\xe7\x67\x4f\x38"
31167 			  "\xa8\x14\x25\x71\xe9\x2e\x4c\x21"
31168 			  "\x41\x82\x0c\x45\x39\x35\xa8\x75"
31169 			  "\x03\x29\x01\x84\x8c\xab\x48\xbe"
31170 			  "\x11\x56\x22\x67\xb7\x67\x1a\x09"
31171 			  "\xa1\x72\x25\x41\x3c\x39\x65\x80"
31172 			  "\x7d\x2f\xf8\x2c\x73\x04\x58\x9d"
31173 			  "\xdd\x16\x8b\x63\x70\x4e\xc5\x17"
31174 			  "\x21\xe0\x84\x51\x4b\x6f\x05\x52"
31175 			  "\xe3\x63\x34\xfa\xa4\xaf\x33\x20"
31176 			  "\xc1\xae\x32\xc4\xb8\x2b\xdb\x76"
31177 			  "\xd9\x02\x31\x2f\xa3\xc6\xd0\x7b"
31178 			  "\xaf\x1b\x84\xe3\x9b\xbf\xa6\xe0"
31179 			  "\xb8\x8a\x13\x88\x71\xf4\x11\xa5"
31180 			  "\xe9\xa9\x10\x33\xe0\xbe\x49\x89"
31181 			  "\x41\x22\xf5\x9d\x80\x3e\x3b\x76"
31182 			  "\x01\x16\x50\x6e\x7c\x6a\x81\xe9"
31183 			  "\x13\x2c\xde\xb2\x5f\x79\xba\xb2"
31184 			  "\xb1\x75\xae\xd2\x07\x98\x4b\x69"
31185 			  "\xae\x7d\x5b\x90\xc2\x6c\xe6\x98"
31186 			  "\xd3\x4c\xa1\xa3\x9c\xc9\x33\x6a"
31187 			  "\x0d\x23\xb1\x79\x25\x13\x4b\xe5"
31188 			  "\xaf\x93\x20\x5c\x7f\x06\x7a\x34"
31189 			  "\x0b\x78\xe3\x67\x26\xe0\xad\x95"
31190 			  "\xc5\x4e\x26\x22\xcf\x73\x77\x62"
31191 			  "\x3e\x10\xd7\x90\x4b\x52\x1c\xc9"
31192 			  "\xef\x38\x52\x18\x0e\x29\x7e\xef"
31193 			  "\x34\xfe\x31\x95\xc5\xbc\xa8\xe2"
31194 			  "\xa8\x4e\x9f\xea\xa6\xf0\xfe\x5d"
31195 			  "\xc5\x39\x86\xed\x2f\x6d\xa0\xfe"
31196 			  "\x96\xcd\x41\x10\x78\x4e\x0c\xc9"
31197 			  "\xc3\x6d\x0f\xb7\xe8\xe0\x62\xab"
31198 			  "\x8b\xf1\x21\x89\xa1\x12\xaa\xfa"
31199 			  "\x9d\x70\xbe\x4c\xa8\x98\x89\x01"
31200 			  "\xb9\xe2\x61\xde\x0c\x4a\x0b\xaa"
31201 			  "\x89\xf5\x14\x79\x18\x8f\x3b\x0d"
31202 			  "\x21\x17\xf8\x59\x15\x24\x64\x22"
31203 			  "\x57\x48\x80\xd5\x3d\x92\x30\x07"
31204 			  "\xd9\xa1\x4a\x23\x16\x43\x48\x0e"
31205 			  "\x2b\x2d\x1b\x87\xef\x7e\xbd\xfa"
31206 			  "\x49\xbc\x7e\x68\x6e\xa8\x46\x95"
31207 			  "\xad\x5e\xfe\x0a\xa8\xd3\x1a\x5d"
31208 			  "\x6b\x84\xf3\x00\xba\x52\x05\x02"
31209 			  "\xe3\x96\x4e\xb6\x79\x3f\x43\xd3"
31210 			  "\x4d\x3f\xd6\xab\x0a\xc4\x75\x2d"
31211 			  "\xd1\x08\xc3\x6a\xc8\x37\x29\xa0"
31212 			  "\xcc\x9a\x05\xdd\x5c\xe1\xff\x66"
31213 			  "\xf2\x7a\x1d\xf2\xaf\xa9\x48\x89"
31214 			  "\xf5\x21\x0f\x02\x48\x83\x74\xbf"
31215 			  "\x2e\xe6\x93\x7b\xa0\xf4\xb1\x2b"
31216 			  "\xb1\x02\x0a\x5c\x79\x19\x3b\x75"
31217 			  "\xb7\x16\xd8\x12\x5c\xcd\x7d\x4e"
31218 			  "\xd5\xc6\x99\xcc\x4e\x6c\x94\x95",
31219 		.ilen	= 512,
31220 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31221 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31222 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31223 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31224 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31225 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31226 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31227 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31228 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31229 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31230 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31231 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31232 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31233 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31234 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31235 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31236 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31237 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31238 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31239 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31240 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31241 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31242 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31243 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31244 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31245 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31246 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31247 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31248 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31249 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31250 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31251 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31252 			  "\x00\x01\x02\x03\x04\x05\x06\x07"
31253 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31254 			  "\x10\x11\x12\x13\x14\x15\x16\x17"
31255 			  "\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31256 			  "\x20\x21\x22\x23\x24\x25\x26\x27"
31257 			  "\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31258 			  "\x30\x31\x32\x33\x34\x35\x36\x37"
31259 			  "\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31260 			  "\x40\x41\x42\x43\x44\x45\x46\x47"
31261 			  "\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31262 			  "\x50\x51\x52\x53\x54\x55\x56\x57"
31263 			  "\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31264 			  "\x60\x61\x62\x63\x64\x65\x66\x67"
31265 			  "\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31266 			  "\x70\x71\x72\x73\x74\x75\x76\x77"
31267 			  "\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31268 			  "\x80\x81\x82\x83\x84\x85\x86\x87"
31269 			  "\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31270 			  "\x90\x91\x92\x93\x94\x95\x96\x97"
31271 			  "\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31272 			  "\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31273 			  "\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31274 			  "\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31275 			  "\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31276 			  "\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31277 			  "\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31278 			  "\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31279 			  "\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31280 			  "\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31281 			  "\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31282 			  "\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31283 			  "\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff",
31284 		.rlen	= 512,
31285 		.also_non_np = 1,
31286 		.np	= 3,
31287 		.tap	= { 512 - 20, 4, 16 },
31288 	},
31289 };
31290 
31291 /*
31292  * SEED test vectors
31293  */
31294 static const struct cipher_testvec seed_enc_tv_template[] = {
31295 	{
31296 		.key    = zeroed_string,
31297 		.klen	= 16,
31298 		.input  = "\x00\x01\x02\x03\x04\x05\x06\x07"
31299 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31300 		.ilen	= 16,
31301 		.result	= "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
31302 			  "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
31303 		.rlen	= 16,
31304 	}, {
31305 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31306 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31307 		.klen	= 16,
31308 		.input	= zeroed_string,
31309 		.ilen	= 16,
31310 		.result	= "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
31311 			  "\x84\x48\x35\x97\xe4\x37\x0f\x43",
31312 		.rlen	= 16,
31313 	}, {
31314 		.key	= "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
31315 			  "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
31316 		.klen	= 16,
31317 		.input	= "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
31318 			  "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
31319 		.ilen	= 16,
31320 		.result	= "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
31321 			  "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
31322 		.rlen	= 16,
31323 	}, {
31324 		.key	= "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
31325 			  "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
31326 		.klen	= 16,
31327 		.input	= "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
31328 			  "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
31329 		.ilen	= 16,
31330 		.result	= "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
31331 			  "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
31332 		.rlen	= 16,
31333 	}
31334 };
31335 
31336 static const struct cipher_testvec seed_dec_tv_template[] = {
31337 	{
31338 		.key    = zeroed_string,
31339 		.klen	= 16,
31340 		.input	= "\x5e\xba\xc6\xe0\x05\x4e\x16\x68"
31341 			  "\x19\xaf\xf1\xcc\x6d\x34\x6c\xdb",
31342 		.ilen	= 16,
31343 		.result	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31344 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31345 		.rlen	= 16,
31346 	}, {
31347 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31348 			  "\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f",
31349 		.klen	= 16,
31350 		.input	= "\xc1\x1f\x22\xf2\x01\x40\x50\x50"
31351 			  "\x84\x48\x35\x97\xe4\x37\x0f\x43",
31352 		.ilen	= 16,
31353 		.result	= zeroed_string,
31354 		.rlen	= 16,
31355 	}, {
31356 		.key	= "\x47\x06\x48\x08\x51\xe6\x1b\xe8"
31357 			  "\x5d\x74\xbf\xb3\xfd\x95\x61\x85",
31358 		.klen	= 16,
31359 		.input	= "\xee\x54\xd1\x3e\xbc\xae\x70\x6d"
31360 			  "\x22\x6b\xc3\x14\x2c\xd4\x0d\x4a",
31361 		.ilen	= 16,
31362 		.result	= "\x83\xa2\xf8\xa2\x88\x64\x1f\xb9"
31363 			  "\xa4\xe9\xa5\xcc\x2f\x13\x1c\x7d",
31364 		.rlen	= 16,
31365 	}, {
31366 		.key	= "\x28\xdb\xc3\xbc\x49\xff\xd8\x7d"
31367 			  "\xcf\xa5\x09\xb1\x1d\x42\x2b\xe7",
31368 		.klen	= 16,
31369 		.input	= "\x9b\x9b\x7b\xfc\xd1\x81\x3c\xb9"
31370 			  "\x5d\x0b\x36\x18\xf4\x0f\x51\x22",
31371 		.ilen	= 16,
31372 		.result	= "\xb4\x1e\x6b\xe2\xeb\xa8\x4a\x14"
31373 			  "\x8e\x2e\xed\x84\x59\x3c\x5e\xc7",
31374 		.rlen	= 16,
31375 	}
31376 };
31377 
31378 static const struct cipher_testvec salsa20_stream_enc_tv_template[] = {
31379 	/*
31380 	* Testvectors from verified.test-vectors submitted to ECRYPT.
31381 	* They are truncated to size 39, 64, 111, 129 to test a variety
31382 	* of input length.
31383 	*/
31384 	{ /* Set 3, vector 0 */
31385 		.key	= "\x00\x01\x02\x03\x04\x05\x06\x07"
31386 			"\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F",
31387 		.klen	= 16,
31388 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
31389 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31390 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31391 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31392 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31393 			"\x00\x00\x00\x00\x00\x00\x00",
31394 		.ilen	= 39,
31395 		.result	= "\x2D\xD5\xC3\xF7\xBA\x2B\x20\xF7"
31396 			 "\x68\x02\x41\x0C\x68\x86\x88\x89"
31397 			 "\x5A\xD8\xC1\xBD\x4E\xA6\xC9\xB1"
31398 			 "\x40\xFB\x9B\x90\xE2\x10\x49\xBF"
31399 			 "\x58\x3F\x52\x79\x70\xEB\xC1",
31400 		.rlen	= 39,
31401 	}, { /* Set 5, vector 0 */
31402 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31403 			"\x00\x00\x00\x00\x00\x00\x00\x00",
31404 		.klen	= 16,
31405 		.iv     = "\x80\x00\x00\x00\x00\x00\x00\x00",
31406 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31407 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31408 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31409 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31410 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31411 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31412 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31413 			"\x00\x00\x00\x00\x00\x00\x00\x00",
31414 		.ilen	= 64,
31415 		.result	= "\xB6\x6C\x1E\x44\x46\xDD\x95\x57"
31416 			 "\xE5\x78\xE2\x23\xB0\xB7\x68\x01"
31417 			 "\x7B\x23\xB2\x67\xBB\x02\x34\xAE"
31418 			 "\x46\x26\xBF\x44\x3F\x21\x97\x76"
31419 			 "\x43\x6F\xB1\x9F\xD0\xE8\x86\x6F"
31420 			 "\xCD\x0D\xE9\xA9\x53\x8F\x4A\x09"
31421 			 "\xCA\x9A\xC0\x73\x2E\x30\xBC\xF9"
31422 			 "\x8E\x4F\x13\xE4\xB9\xE2\x01\xD9",
31423 		.rlen	= 64,
31424 	}, { /* Set 3, vector 27 */
31425 		.key	= "\x1B\x1C\x1D\x1E\x1F\x20\x21\x22"
31426 			"\x23\x24\x25\x26\x27\x28\x29\x2A"
31427 			"\x2B\x2C\x2D\x2E\x2F\x30\x31\x32"
31428 			"\x33\x34\x35\x36\x37\x38\x39\x3A",
31429 		.klen	= 32,
31430 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00",
31431 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31432 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31433 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31434 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31435 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31436 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31437 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31438 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31439 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31440 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31441 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31442 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31443 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31444 			"\x00\x00\x00\x00\x00\x00\x00",
31445 		.ilen	= 111,
31446 		.result	= "\xAE\x39\x50\x8E\xAC\x9A\xEC\xE7"
31447 			 "\xBF\x97\xBB\x20\xB9\xDE\xE4\x1F"
31448 			 "\x87\xD9\x47\xF8\x28\x91\x35\x98"
31449 			 "\xDB\x72\xCC\x23\x29\x48\x56\x5E"
31450 			 "\x83\x7E\x0B\xF3\x7D\x5D\x38\x7B"
31451 			 "\x2D\x71\x02\xB4\x3B\xB5\xD8\x23"
31452 			 "\xB0\x4A\xDF\x3C\xEC\xB6\xD9\x3B"
31453 			 "\x9B\xA7\x52\xBE\xC5\xD4\x50\x59"
31454 			 "\x15\x14\xB4\x0E\x40\xE6\x53\xD1"
31455 			 "\x83\x9C\x5B\xA0\x92\x29\x6B\x5E"
31456 			 "\x96\x5B\x1E\x2F\xD3\xAC\xC1\x92"
31457 			 "\xB1\x41\x3F\x19\x2F\xC4\x3B\xC6"
31458 			 "\x95\x46\x45\x54\xE9\x75\x03\x08"
31459 			 "\x44\xAF\xE5\x8A\x81\x12\x09",
31460 		.rlen	= 111,
31461 	}, { /* Set 5, vector 27 */
31462 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31463 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31464 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31465 			"\x00\x00\x00\x00\x00\x00\x00\x00",
31466 		.klen	= 32,
31467 		.iv     = "\x00\x00\x00\x10\x00\x00\x00\x00",
31468 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
31469 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31470 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31471 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31472 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31473 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31474 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31475 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31476 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31477 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31478 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31479 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31480 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31481 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31482 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31483 			"\x00\x00\x00\x00\x00\x00\x00\x00"
31484 			"\x00",
31485 		.ilen	= 129,
31486 		.result	= "\xD2\xDB\x1A\x5C\xF1\xC1\xAC\xDB"
31487 			 "\xE8\x1A\x7A\x43\x40\xEF\x53\x43"
31488 			 "\x5E\x7F\x4B\x1A\x50\x52\x3F\x8D"
31489 			 "\x28\x3D\xCF\x85\x1D\x69\x6E\x60"
31490 			 "\xF2\xDE\x74\x56\x18\x1B\x84\x10"
31491 			 "\xD4\x62\xBA\x60\x50\xF0\x61\xF2"
31492 			 "\x1C\x78\x7F\xC1\x24\x34\xAF\x58"
31493 			 "\xBF\x2C\x59\xCA\x90\x77\xF3\xB0"
31494 			 "\x5B\x4A\xDF\x89\xCE\x2C\x2F\xFC"
31495 			 "\x67\xF0\xE3\x45\xE8\xB3\xB3\x75"
31496 			 "\xA0\x95\x71\xA1\x29\x39\x94\xCA"
31497 			 "\x45\x2F\xBD\xCB\x10\xB6\xBE\x9F"
31498 			 "\x8E\xF9\xB2\x01\x0A\x5A\x0A\xB7"
31499 			 "\x6B\x9D\x70\x8E\x4B\xD6\x2F\xCD"
31500 			 "\x2E\x40\x48\x75\xE9\xE2\x21\x45"
31501 			 "\x0B\xC9\xB6\xB5\x66\xBC\x9A\x59"
31502 			 "\x5A",
31503 		.rlen	= 129,
31504 	}, { /* large test vector generated using Crypto++ */
31505 		.key =  "\x00\x01\x02\x03\x04\x05\x06\x07"
31506 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31507 			"\x10\x11\x12\x13\x14\x15\x16\x17"
31508 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f",
31509 		.klen = 32,
31510 		.iv =	"\x00\x00\x00\x00\x00\x00\x00\x00"
31511 			"\x00\x00\x00\x00\x00\x00\x00\x00",
31512 		.input =
31513 			"\x00\x01\x02\x03\x04\x05\x06\x07"
31514 			"\x08\x09\x0a\x0b\x0c\x0d\x0e\x0f"
31515 			"\x10\x11\x12\x13\x14\x15\x16\x17"
31516 			"\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f"
31517 			"\x20\x21\x22\x23\x24\x25\x26\x27"
31518 			"\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f"
31519 			"\x30\x31\x32\x33\x34\x35\x36\x37"
31520 			"\x38\x39\x3a\x3b\x3c\x3d\x3e\x3f"
31521 			"\x40\x41\x42\x43\x44\x45\x46\x47"
31522 			"\x48\x49\x4a\x4b\x4c\x4d\x4e\x4f"
31523 			"\x50\x51\x52\x53\x54\x55\x56\x57"
31524 			"\x58\x59\x5a\x5b\x5c\x5d\x5e\x5f"
31525 			"\x60\x61\x62\x63\x64\x65\x66\x67"
31526 			"\x68\x69\x6a\x6b\x6c\x6d\x6e\x6f"
31527 			"\x70\x71\x72\x73\x74\x75\x76\x77"
31528 			"\x78\x79\x7a\x7b\x7c\x7d\x7e\x7f"
31529 			"\x80\x81\x82\x83\x84\x85\x86\x87"
31530 			"\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f"
31531 			"\x90\x91\x92\x93\x94\x95\x96\x97"
31532 			"\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f"
31533 			"\xa0\xa1\xa2\xa3\xa4\xa5\xa6\xa7"
31534 			"\xa8\xa9\xaa\xab\xac\xad\xae\xaf"
31535 			"\xb0\xb1\xb2\xb3\xb4\xb5\xb6\xb7"
31536 			"\xb8\xb9\xba\xbb\xbc\xbd\xbe\xbf"
31537 			"\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7"
31538 			"\xc8\xc9\xca\xcb\xcc\xcd\xce\xcf"
31539 			"\xd0\xd1\xd2\xd3\xd4\xd5\xd6\xd7"
31540 			"\xd8\xd9\xda\xdb\xdc\xdd\xde\xdf"
31541 			"\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7"
31542 			"\xe8\xe9\xea\xeb\xec\xed\xee\xef"
31543 			"\xf0\xf1\xf2\xf3\xf4\xf5\xf6\xf7"
31544 			"\xf8\xf9\xfa\xfb\xfc\xfd\xfe\xff"
31545 			"\x00\x03\x06\x09\x0c\x0f\x12\x15"
31546 			"\x18\x1b\x1e\x21\x24\x27\x2a\x2d"
31547 			"\x30\x33\x36\x39\x3c\x3f\x42\x45"
31548 			"\x48\x4b\x4e\x51\x54\x57\x5a\x5d"
31549 			"\x60\x63\x66\x69\x6c\x6f\x72\x75"
31550 			"\x78\x7b\x7e\x81\x84\x87\x8a\x8d"
31551 			"\x90\x93\x96\x99\x9c\x9f\xa2\xa5"
31552 			"\xa8\xab\xae\xb1\xb4\xb7\xba\xbd"
31553 			"\xc0\xc3\xc6\xc9\xcc\xcf\xd2\xd5"
31554 			"\xd8\xdb\xde\xe1\xe4\xe7\xea\xed"
31555 			"\xf0\xf3\xf6\xf9\xfc\xff\x02\x05"
31556 			"\x08\x0b\x0e\x11\x14\x17\x1a\x1d"
31557 			"\x20\x23\x26\x29\x2c\x2f\x32\x35"
31558 			"\x38\x3b\x3e\x41\x44\x47\x4a\x4d"
31559 			"\x50\x53\x56\x59\x5c\x5f\x62\x65"
31560 			"\x68\x6b\x6e\x71\x74\x77\x7a\x7d"
31561 			"\x80\x83\x86\x89\x8c\x8f\x92\x95"
31562 			"\x98\x9b\x9e\xa1\xa4\xa7\xaa\xad"
31563 			"\xb0\xb3\xb6\xb9\xbc\xbf\xc2\xc5"
31564 			"\xc8\xcb\xce\xd1\xd4\xd7\xda\xdd"
31565 			"\xe0\xe3\xe6\xe9\xec\xef\xf2\xf5"
31566 			"\xf8\xfb\xfe\x01\x04\x07\x0a\x0d"
31567 			"\x10\x13\x16\x19\x1c\x1f\x22\x25"
31568 			"\x28\x2b\x2e\x31\x34\x37\x3a\x3d"
31569 			"\x40\x43\x46\x49\x4c\x4f\x52\x55"
31570 			"\x58\x5b\x5e\x61\x64\x67\x6a\x6d"
31571 			"\x70\x73\x76\x79\x7c\x7f\x82\x85"
31572 			"\x88\x8b\x8e\x91\x94\x97\x9a\x9d"
31573 			"\xa0\xa3\xa6\xa9\xac\xaf\xb2\xb5"
31574 			"\xb8\xbb\xbe\xc1\xc4\xc7\xca\xcd"
31575 			"\xd0\xd3\xd6\xd9\xdc\xdf\xe2\xe5"
31576 			"\xe8\xeb\xee\xf1\xf4\xf7\xfa\xfd"
31577 			"\x00\x05\x0a\x0f\x14\x19\x1e\x23"
31578 			"\x28\x2d\x32\x37\x3c\x41\x46\x4b"
31579 			"\x50\x55\x5a\x5f\x64\x69\x6e\x73"
31580 			"\x78\x7d\x82\x87\x8c\x91\x96\x9b"
31581 			"\xa0\xa5\xaa\xaf\xb4\xb9\xbe\xc3"
31582 			"\xc8\xcd\xd2\xd7\xdc\xe1\xe6\xeb"
31583 			"\xf0\xf5\xfa\xff\x04\x09\x0e\x13"
31584 			"\x18\x1d\x22\x27\x2c\x31\x36\x3b"
31585 			"\x40\x45\x4a\x4f\x54\x59\x5e\x63"
31586 			"\x68\x6d\x72\x77\x7c\x81\x86\x8b"
31587 			"\x90\x95\x9a\x9f\xa4\xa9\xae\xb3"
31588 			"\xb8\xbd\xc2\xc7\xcc\xd1\xd6\xdb"
31589 			"\xe0\xe5\xea\xef\xf4\xf9\xfe\x03"
31590 			"\x08\x0d\x12\x17\x1c\x21\x26\x2b"
31591 			"\x30\x35\x3a\x3f\x44\x49\x4e\x53"
31592 			"\x58\x5d\x62\x67\x6c\x71\x76\x7b"
31593 			"\x80\x85\x8a\x8f\x94\x99\x9e\xa3"
31594 			"\xa8\xad\xb2\xb7\xbc\xc1\xc6\xcb"
31595 			"\xd0\xd5\xda\xdf\xe4\xe9\xee\xf3"
31596 			"\xf8\xfd\x02\x07\x0c\x11\x16\x1b"
31597 			"\x20\x25\x2a\x2f\x34\x39\x3e\x43"
31598 			"\x48\x4d\x52\x57\x5c\x61\x66\x6b"
31599 			"\x70\x75\x7a\x7f\x84\x89\x8e\x93"
31600 			"\x98\x9d\xa2\xa7\xac\xb1\xb6\xbb"
31601 			"\xc0\xc5\xca\xcf\xd4\xd9\xde\xe3"
31602 			"\xe8\xed\xf2\xf7\xfc\x01\x06\x0b"
31603 			"\x10\x15\x1a\x1f\x24\x29\x2e\x33"
31604 			"\x38\x3d\x42\x47\x4c\x51\x56\x5b"
31605 			"\x60\x65\x6a\x6f\x74\x79\x7e\x83"
31606 			"\x88\x8d\x92\x97\x9c\xa1\xa6\xab"
31607 			"\xb0\xb5\xba\xbf\xc4\xc9\xce\xd3"
31608 			"\xd8\xdd\xe2\xe7\xec\xf1\xf6\xfb"
31609 			"\x00\x07\x0e\x15\x1c\x23\x2a\x31"
31610 			"\x38\x3f\x46\x4d\x54\x5b\x62\x69"
31611 			"\x70\x77\x7e\x85\x8c\x93\x9a\xa1"
31612 			"\xa8\xaf\xb6\xbd\xc4\xcb\xd2\xd9"
31613 			"\xe0\xe7\xee\xf5\xfc\x03\x0a\x11"
31614 			"\x18\x1f\x26\x2d\x34\x3b\x42\x49"
31615 			"\x50\x57\x5e\x65\x6c\x73\x7a\x81"
31616 			"\x88\x8f\x96\x9d\xa4\xab\xb2\xb9"
31617 			"\xc0\xc7\xce\xd5\xdc\xe3\xea\xf1"
31618 			"\xf8\xff\x06\x0d\x14\x1b\x22\x29"
31619 			"\x30\x37\x3e\x45\x4c\x53\x5a\x61"
31620 			"\x68\x6f\x76\x7d\x84\x8b\x92\x99"
31621 			"\xa0\xa7\xae\xb5\xbc\xc3\xca\xd1"
31622 			"\xd8\xdf\xe6\xed\xf4\xfb\x02\x09"
31623 			"\x10\x17\x1e\x25\x2c\x33\x3a\x41"
31624 			"\x48\x4f\x56\x5d\x64\x6b\x72\x79"
31625 			"\x80\x87\x8e\x95\x9c\xa3\xaa\xb1"
31626 			"\xb8\xbf\xc6\xcd\xd4\xdb\xe2\xe9"
31627 			"\xf0\xf7\xfe\x05\x0c\x13\x1a\x21"
31628 			"\x28\x2f\x36\x3d\x44\x4b\x52\x59"
31629 			"\x60\x67\x6e\x75\x7c\x83\x8a\x91"
31630 			"\x98\x9f\xa6\xad\xb4\xbb\xc2\xc9"
31631 			"\xd0\xd7\xde\xe5\xec\xf3\xfa\x01"
31632 			"\x08\x0f\x16\x1d\x24\x2b\x32\x39"
31633 			"\x40\x47\x4e\x55\x5c\x63\x6a\x71"
31634 			"\x78\x7f\x86\x8d\x94\x9b\xa2\xa9"
31635 			"\xb0\xb7\xbe\xc5\xcc\xd3\xda\xe1"
31636 			"\xe8\xef\xf6\xfd\x04\x0b\x12\x19"
31637 			"\x20\x27\x2e\x35\x3c\x43\x4a\x51"
31638 			"\x58\x5f\x66\x6d\x74\x7b\x82\x89"
31639 			"\x90\x97\x9e\xa5\xac\xb3\xba\xc1"
31640 			"\xc8\xcf\xd6\xdd\xe4\xeb\xf2\xf9"
31641 			"\x00\x09\x12\x1b\x24\x2d\x36\x3f"
31642 			"\x48\x51\x5a\x63\x6c\x75\x7e\x87"
31643 			"\x90\x99\xa2\xab\xb4\xbd\xc6\xcf"
31644 			"\xd8\xe1\xea\xf3\xfc\x05\x0e\x17"
31645 			"\x20\x29\x32\x3b\x44\x4d\x56\x5f"
31646 			"\x68\x71\x7a\x83\x8c\x95\x9e\xa7"
31647 			"\xb0\xb9\xc2\xcb\xd4\xdd\xe6\xef"
31648 			"\xf8\x01\x0a\x13\x1c\x25\x2e\x37"
31649 			"\x40\x49\x52\x5b\x64\x6d\x76\x7f"
31650 			"\x88\x91\x9a\xa3\xac\xb5\xbe\xc7"
31651 			"\xd0\xd9\xe2\xeb\xf4\xfd\x06\x0f"
31652 			"\x18\x21\x2a\x33\x3c\x45\x4e\x57"
31653 			"\x60\x69\x72\x7b\x84\x8d\x96\x9f"
31654 			"\xa8\xb1\xba\xc3\xcc\xd5\xde\xe7"
31655 			"\xf0\xf9\x02\x0b\x14\x1d\x26\x2f"
31656 			"\x38\x41\x4a\x53\x5c\x65\x6e\x77"
31657 			"\x80\x89\x92\x9b\xa4\xad\xb6\xbf"
31658 			"\xc8\xd1\xda\xe3\xec\xf5\xfe\x07"
31659 			"\x10\x19\x22\x2b\x34\x3d\x46\x4f"
31660 			"\x58\x61\x6a\x73\x7c\x85\x8e\x97"
31661 			"\xa0\xa9\xb2\xbb\xc4\xcd\xd6\xdf"
31662 			"\xe8\xf1\xfa\x03\x0c\x15\x1e\x27"
31663 			"\x30\x39\x42\x4b\x54\x5d\x66\x6f"
31664 			"\x78\x81\x8a\x93\x9c\xa5\xae\xb7"
31665 			"\xc0\xc9\xd2\xdb\xe4\xed\xf6\xff"
31666 			"\x08\x11\x1a\x23\x2c\x35\x3e\x47"
31667 			"\x50\x59\x62\x6b\x74\x7d\x86\x8f"
31668 			"\x98\xa1\xaa\xb3\xbc\xc5\xce\xd7"
31669 			"\xe0\xe9\xf2\xfb\x04\x0d\x16\x1f"
31670 			"\x28\x31\x3a\x43\x4c\x55\x5e\x67"
31671 			"\x70\x79\x82\x8b\x94\x9d\xa6\xaf"
31672 			"\xb8\xc1\xca\xd3\xdc\xe5\xee\xf7"
31673 			"\x00\x0b\x16\x21\x2c\x37\x42\x4d"
31674 			"\x58\x63\x6e\x79\x84\x8f\x9a\xa5"
31675 			"\xb0\xbb\xc6\xd1\xdc\xe7\xf2\xfd"
31676 			"\x08\x13\x1e\x29\x34\x3f\x4a\x55"
31677 			"\x60\x6b\x76\x81\x8c\x97\xa2\xad"
31678 			"\xb8\xc3\xce\xd9\xe4\xef\xfa\x05"
31679 			"\x10\x1b\x26\x31\x3c\x47\x52\x5d"
31680 			"\x68\x73\x7e\x89\x94\x9f\xaa\xb5"
31681 			"\xc0\xcb\xd6\xe1\xec\xf7\x02\x0d"
31682 			"\x18\x23\x2e\x39\x44\x4f\x5a\x65"
31683 			"\x70\x7b\x86\x91\x9c\xa7\xb2\xbd"
31684 			"\xc8\xd3\xde\xe9\xf4\xff\x0a\x15"
31685 			"\x20\x2b\x36\x41\x4c\x57\x62\x6d"
31686 			"\x78\x83\x8e\x99\xa4\xaf\xba\xc5"
31687 			"\xd0\xdb\xe6\xf1\xfc\x07\x12\x1d"
31688 			"\x28\x33\x3e\x49\x54\x5f\x6a\x75"
31689 			"\x80\x8b\x96\xa1\xac\xb7\xc2\xcd"
31690 			"\xd8\xe3\xee\xf9\x04\x0f\x1a\x25"
31691 			"\x30\x3b\x46\x51\x5c\x67\x72\x7d"
31692 			"\x88\x93\x9e\xa9\xb4\xbf\xca\xd5"
31693 			"\xe0\xeb\xf6\x01\x0c\x17\x22\x2d"
31694 			"\x38\x43\x4e\x59\x64\x6f\x7a\x85"
31695 			"\x90\x9b\xa6\xb1\xbc\xc7\xd2\xdd"
31696 			"\xe8\xf3\xfe\x09\x14\x1f\x2a\x35"
31697 			"\x40\x4b\x56\x61\x6c\x77\x82\x8d"
31698 			"\x98\xa3\xae\xb9\xc4\xcf\xda\xe5"
31699 			"\xf0\xfb\x06\x11\x1c\x27\x32\x3d"
31700 			"\x48\x53\x5e\x69\x74\x7f\x8a\x95"
31701 			"\xa0\xab\xb6\xc1\xcc\xd7\xe2\xed"
31702 			"\xf8\x03\x0e\x19\x24\x2f\x3a\x45"
31703 			"\x50\x5b\x66\x71\x7c\x87\x92\x9d"
31704 			"\xa8\xb3\xbe\xc9\xd4\xdf\xea\xf5"
31705 			"\x00\x0d\x1a\x27\x34\x41\x4e\x5b"
31706 			"\x68\x75\x82\x8f\x9c\xa9\xb6\xc3"
31707 			"\xd0\xdd\xea\xf7\x04\x11\x1e\x2b"
31708 			"\x38\x45\x52\x5f\x6c\x79\x86\x93"
31709 			"\xa0\xad\xba\xc7\xd4\xe1\xee\xfb"
31710 			"\x08\x15\x22\x2f\x3c\x49\x56\x63"
31711 			"\x70\x7d\x8a\x97\xa4\xb1\xbe\xcb"
31712 			"\xd8\xe5\xf2\xff\x0c\x19\x26\x33"
31713 			"\x40\x4d\x5a\x67\x74\x81\x8e\x9b"
31714 			"\xa8\xb5\xc2\xcf\xdc\xe9\xf6\x03"
31715 			"\x10\x1d\x2a\x37\x44\x51\x5e\x6b"
31716 			"\x78\x85\x92\x9f\xac\xb9\xc6\xd3"
31717 			"\xe0\xed\xfa\x07\x14\x21\x2e\x3b"
31718 			"\x48\x55\x62\x6f\x7c\x89\x96\xa3"
31719 			"\xb0\xbd\xca\xd7\xe4\xf1\xfe\x0b"
31720 			"\x18\x25\x32\x3f\x4c\x59\x66\x73"
31721 			"\x80\x8d\x9a\xa7\xb4\xc1\xce\xdb"
31722 			"\xe8\xf5\x02\x0f\x1c\x29\x36\x43"
31723 			"\x50\x5d\x6a\x77\x84\x91\x9e\xab"
31724 			"\xb8\xc5\xd2\xdf\xec\xf9\x06\x13"
31725 			"\x20\x2d\x3a\x47\x54\x61\x6e\x7b"
31726 			"\x88\x95\xa2\xaf\xbc\xc9\xd6\xe3"
31727 			"\xf0\xfd\x0a\x17\x24\x31\x3e\x4b"
31728 			"\x58\x65\x72\x7f\x8c\x99\xa6\xb3"
31729 			"\xc0\xcd\xda\xe7\xf4\x01\x0e\x1b"
31730 			"\x28\x35\x42\x4f\x5c\x69\x76\x83"
31731 			"\x90\x9d\xaa\xb7\xc4\xd1\xde\xeb"
31732 			"\xf8\x05\x12\x1f\x2c\x39\x46\x53"
31733 			"\x60\x6d\x7a\x87\x94\xa1\xae\xbb"
31734 			"\xc8\xd5\xe2\xef\xfc\x09\x16\x23"
31735 			"\x30\x3d\x4a\x57\x64\x71\x7e\x8b"
31736 			"\x98\xa5\xb2\xbf\xcc\xd9\xe6\xf3"
31737 			"\x00\x0f\x1e\x2d\x3c\x4b\x5a\x69"
31738 			"\x78\x87\x96\xa5\xb4\xc3\xd2\xe1"
31739 			"\xf0\xff\x0e\x1d\x2c\x3b\x4a\x59"
31740 			"\x68\x77\x86\x95\xa4\xb3\xc2\xd1"
31741 			"\xe0\xef\xfe\x0d\x1c\x2b\x3a\x49"
31742 			"\x58\x67\x76\x85\x94\xa3\xb2\xc1"
31743 			"\xd0\xdf\xee\xfd\x0c\x1b\x2a\x39"
31744 			"\x48\x57\x66\x75\x84\x93\xa2\xb1"
31745 			"\xc0\xcf\xde\xed\xfc\x0b\x1a\x29"
31746 			"\x38\x47\x56\x65\x74\x83\x92\xa1"
31747 			"\xb0\xbf\xce\xdd\xec\xfb\x0a\x19"
31748 			"\x28\x37\x46\x55\x64\x73\x82\x91"
31749 			"\xa0\xaf\xbe\xcd\xdc\xeb\xfa\x09"
31750 			"\x18\x27\x36\x45\x54\x63\x72\x81"
31751 			"\x90\x9f\xae\xbd\xcc\xdb\xea\xf9"
31752 			"\x08\x17\x26\x35\x44\x53\x62\x71"
31753 			"\x80\x8f\x9e\xad\xbc\xcb\xda\xe9"
31754 			"\xf8\x07\x16\x25\x34\x43\x52\x61"
31755 			"\x70\x7f\x8e\x9d\xac\xbb\xca\xd9"
31756 			"\xe8\xf7\x06\x15\x24\x33\x42\x51"
31757 			"\x60\x6f\x7e\x8d\x9c\xab\xba\xc9"
31758 			"\xd8\xe7\xf6\x05\x14\x23\x32\x41"
31759 			"\x50\x5f\x6e\x7d\x8c\x9b\xaa\xb9"
31760 			"\xc8\xd7\xe6\xf5\x04\x13\x22\x31"
31761 			"\x40\x4f\x5e\x6d\x7c\x8b\x9a\xa9"
31762 			"\xb8\xc7\xd6\xe5\xf4\x03\x12\x21"
31763 			"\x30\x3f\x4e\x5d\x6c\x7b\x8a\x99"
31764 			"\xa8\xb7\xc6\xd5\xe4\xf3\x02\x11"
31765 			"\x20\x2f\x3e\x4d\x5c\x6b\x7a\x89"
31766 			"\x98\xa7\xb6\xc5\xd4\xe3\xf2\x01"
31767 			"\x10\x1f\x2e\x3d\x4c\x5b\x6a\x79"
31768 			"\x88\x97\xa6\xb5\xc4\xd3\xe2\xf1"
31769 			"\x00\x11\x22\x33\x44\x55\x66\x77"
31770 			"\x88\x99\xaa\xbb\xcc\xdd\xee\xff"
31771 			"\x10\x21\x32\x43\x54\x65\x76\x87"
31772 			"\x98\xa9\xba\xcb\xdc\xed\xfe\x0f"
31773 			"\x20\x31\x42\x53\x64\x75\x86\x97"
31774 			"\xa8\xb9\xca\xdb\xec\xfd\x0e\x1f"
31775 			"\x30\x41\x52\x63\x74\x85\x96\xa7"
31776 			"\xb8\xc9\xda\xeb\xfc\x0d\x1e\x2f"
31777 			"\x40\x51\x62\x73\x84\x95\xa6\xb7"
31778 			"\xc8\xd9\xea\xfb\x0c\x1d\x2e\x3f"
31779 			"\x50\x61\x72\x83\x94\xa5\xb6\xc7"
31780 			"\xd8\xe9\xfa\x0b\x1c\x2d\x3e\x4f"
31781 			"\x60\x71\x82\x93\xa4\xb5\xc6\xd7"
31782 			"\xe8\xf9\x0a\x1b\x2c\x3d\x4e\x5f"
31783 			"\x70\x81\x92\xa3\xb4\xc5\xd6\xe7"
31784 			"\xf8\x09\x1a\x2b\x3c\x4d\x5e\x6f"
31785 			"\x80\x91\xa2\xb3\xc4\xd5\xe6\xf7"
31786 			"\x08\x19\x2a\x3b\x4c\x5d\x6e\x7f"
31787 			"\x90\xa1\xb2\xc3\xd4\xe5\xf6\x07"
31788 			"\x18\x29\x3a\x4b\x5c\x6d\x7e\x8f"
31789 			"\xa0\xb1\xc2\xd3\xe4\xf5\x06\x17"
31790 			"\x28\x39\x4a\x5b\x6c\x7d\x8e\x9f"
31791 			"\xb0\xc1\xd2\xe3\xf4\x05\x16\x27"
31792 			"\x38\x49\x5a\x6b\x7c\x8d\x9e\xaf"
31793 			"\xc0\xd1\xe2\xf3\x04\x15\x26\x37"
31794 			"\x48\x59\x6a\x7b\x8c\x9d\xae\xbf"
31795 			"\xd0\xe1\xf2\x03\x14\x25\x36\x47"
31796 			"\x58\x69\x7a\x8b\x9c\xad\xbe\xcf"
31797 			"\xe0\xf1\x02\x13\x24\x35\x46\x57"
31798 			"\x68\x79\x8a\x9b\xac\xbd\xce\xdf"
31799 			"\xf0\x01\x12\x23\x34\x45\x56\x67"
31800 			"\x78\x89\x9a\xab\xbc\xcd\xde\xef"
31801 			"\x00\x13\x26\x39\x4c\x5f\x72\x85"
31802 			"\x98\xab\xbe\xd1\xe4\xf7\x0a\x1d"
31803 			"\x30\x43\x56\x69\x7c\x8f\xa2\xb5"
31804 			"\xc8\xdb\xee\x01\x14\x27\x3a\x4d"
31805 			"\x60\x73\x86\x99\xac\xbf\xd2\xe5"
31806 			"\xf8\x0b\x1e\x31\x44\x57\x6a\x7d"
31807 			"\x90\xa3\xb6\xc9\xdc\xef\x02\x15"
31808 			"\x28\x3b\x4e\x61\x74\x87\x9a\xad"
31809 			"\xc0\xd3\xe6\xf9\x0c\x1f\x32\x45"
31810 			"\x58\x6b\x7e\x91\xa4\xb7\xca\xdd"
31811 			"\xf0\x03\x16\x29\x3c\x4f\x62\x75"
31812 			"\x88\x9b\xae\xc1\xd4\xe7\xfa\x0d"
31813 			"\x20\x33\x46\x59\x6c\x7f\x92\xa5"
31814 			"\xb8\xcb\xde\xf1\x04\x17\x2a\x3d"
31815 			"\x50\x63\x76\x89\x9c\xaf\xc2\xd5"
31816 			"\xe8\xfb\x0e\x21\x34\x47\x5a\x6d"
31817 			"\x80\x93\xa6\xb9\xcc\xdf\xf2\x05"
31818 			"\x18\x2b\x3e\x51\x64\x77\x8a\x9d"
31819 			"\xb0\xc3\xd6\xe9\xfc\x0f\x22\x35"
31820 			"\x48\x5b\x6e\x81\x94\xa7\xba\xcd"
31821 			"\xe0\xf3\x06\x19\x2c\x3f\x52\x65"
31822 			"\x78\x8b\x9e\xb1\xc4\xd7\xea\xfd"
31823 			"\x10\x23\x36\x49\x5c\x6f\x82\x95"
31824 			"\xa8\xbb\xce\xe1\xf4\x07\x1a\x2d"
31825 			"\x40\x53\x66\x79\x8c\x9f\xb2\xc5"
31826 			"\xd8\xeb\xfe\x11\x24\x37\x4a\x5d"
31827 			"\x70\x83\x96\xa9\xbc\xcf\xe2\xf5"
31828 			"\x08\x1b\x2e\x41\x54\x67\x7a\x8d"
31829 			"\xa0\xb3\xc6\xd9\xec\xff\x12\x25"
31830 			"\x38\x4b\x5e\x71\x84\x97\xaa\xbd"
31831 			"\xd0\xe3\xf6\x09\x1c\x2f\x42\x55"
31832 			"\x68\x7b\x8e\xa1\xb4\xc7\xda\xed"
31833 			"\x00\x15\x2a\x3f\x54\x69\x7e\x93"
31834 			"\xa8\xbd\xd2\xe7\xfc\x11\x26\x3b"
31835 			"\x50\x65\x7a\x8f\xa4\xb9\xce\xe3"
31836 			"\xf8\x0d\x22\x37\x4c\x61\x76\x8b"
31837 			"\xa0\xb5\xca\xdf\xf4\x09\x1e\x33"
31838 			"\x48\x5d\x72\x87\x9c\xb1\xc6\xdb"
31839 			"\xf0\x05\x1a\x2f\x44\x59\x6e\x83"
31840 			"\x98\xad\xc2\xd7\xec\x01\x16\x2b"
31841 			"\x40\x55\x6a\x7f\x94\xa9\xbe\xd3"
31842 			"\xe8\xfd\x12\x27\x3c\x51\x66\x7b"
31843 			"\x90\xa5\xba\xcf\xe4\xf9\x0e\x23"
31844 			"\x38\x4d\x62\x77\x8c\xa1\xb6\xcb"
31845 			"\xe0\xf5\x0a\x1f\x34\x49\x5e\x73"
31846 			"\x88\x9d\xb2\xc7\xdc\xf1\x06\x1b"
31847 			"\x30\x45\x5a\x6f\x84\x99\xae\xc3"
31848 			"\xd8\xed\x02\x17\x2c\x41\x56\x6b"
31849 			"\x80\x95\xaa\xbf\xd4\xe9\xfe\x13"
31850 			"\x28\x3d\x52\x67\x7c\x91\xa6\xbb"
31851 			"\xd0\xe5\xfa\x0f\x24\x39\x4e\x63"
31852 			"\x78\x8d\xa2\xb7\xcc\xe1\xf6\x0b"
31853 			"\x20\x35\x4a\x5f\x74\x89\x9e\xb3"
31854 			"\xc8\xdd\xf2\x07\x1c\x31\x46\x5b"
31855 			"\x70\x85\x9a\xaf\xc4\xd9\xee\x03"
31856 			"\x18\x2d\x42\x57\x6c\x81\x96\xab"
31857 			"\xc0\xd5\xea\xff\x14\x29\x3e\x53"
31858 			"\x68\x7d\x92\xa7\xbc\xd1\xe6\xfb"
31859 			"\x10\x25\x3a\x4f\x64\x79\x8e\xa3"
31860 			"\xb8\xcd\xe2\xf7\x0c\x21\x36\x4b"
31861 			"\x60\x75\x8a\x9f\xb4\xc9\xde\xf3"
31862 			"\x08\x1d\x32\x47\x5c\x71\x86\x9b"
31863 			"\xb0\xc5\xda\xef\x04\x19\x2e\x43"
31864 			"\x58\x6d\x82\x97\xac\xc1\xd6\xeb"
31865 			"\x00\x17\x2e\x45\x5c\x73\x8a\xa1"
31866 			"\xb8\xcf\xe6\xfd\x14\x2b\x42\x59"
31867 			"\x70\x87\x9e\xb5\xcc\xe3\xfa\x11"
31868 			"\x28\x3f\x56\x6d\x84\x9b\xb2\xc9"
31869 			"\xe0\xf7\x0e\x25\x3c\x53\x6a\x81"
31870 			"\x98\xaf\xc6\xdd\xf4\x0b\x22\x39"
31871 			"\x50\x67\x7e\x95\xac\xc3\xda\xf1"
31872 			"\x08\x1f\x36\x4d\x64\x7b\x92\xa9"
31873 			"\xc0\xd7\xee\x05\x1c\x33\x4a\x61"
31874 			"\x78\x8f\xa6\xbd\xd4\xeb\x02\x19"
31875 			"\x30\x47\x5e\x75\x8c\xa3\xba\xd1"
31876 			"\xe8\xff\x16\x2d\x44\x5b\x72\x89"
31877 			"\xa0\xb7\xce\xe5\xfc\x13\x2a\x41"
31878 			"\x58\x6f\x86\x9d\xb4\xcb\xe2\xf9"
31879 			"\x10\x27\x3e\x55\x6c\x83\x9a\xb1"
31880 			"\xc8\xdf\xf6\x0d\x24\x3b\x52\x69"
31881 			"\x80\x97\xae\xc5\xdc\xf3\x0a\x21"
31882 			"\x38\x4f\x66\x7d\x94\xab\xc2\xd9"
31883 			"\xf0\x07\x1e\x35\x4c\x63\x7a\x91"
31884 			"\xa8\xbf\xd6\xed\x04\x1b\x32\x49"
31885 			"\x60\x77\x8e\xa5\xbc\xd3\xea\x01"
31886 			"\x18\x2f\x46\x5d\x74\x8b\xa2\xb9"
31887 			"\xd0\xe7\xfe\x15\x2c\x43\x5a\x71"
31888 			"\x88\x9f\xb6\xcd\xe4\xfb\x12\x29"
31889 			"\x40\x57\x6e\x85\x9c\xb3\xca\xe1"
31890 			"\xf8\x0f\x26\x3d\x54\x6b\x82\x99"
31891 			"\xb0\xc7\xde\xf5\x0c\x23\x3a\x51"
31892 			"\x68\x7f\x96\xad\xc4\xdb\xf2\x09"
31893 			"\x20\x37\x4e\x65\x7c\x93\xaa\xc1"
31894 			"\xd8\xef\x06\x1d\x34\x4b\x62\x79"
31895 			"\x90\xa7\xbe\xd5\xec\x03\x1a\x31"
31896 			"\x48\x5f\x76\x8d\xa4\xbb\xd2\xe9"
31897 			"\x00\x19\x32\x4b\x64\x7d\x96\xaf"
31898 			"\xc8\xe1\xfa\x13\x2c\x45\x5e\x77"
31899 			"\x90\xa9\xc2\xdb\xf4\x0d\x26\x3f"
31900 			"\x58\x71\x8a\xa3\xbc\xd5\xee\x07"
31901 			"\x20\x39\x52\x6b\x84\x9d\xb6\xcf"
31902 			"\xe8\x01\x1a\x33\x4c\x65\x7e\x97"
31903 			"\xb0\xc9\xe2\xfb\x14\x2d\x46\x5f"
31904 			"\x78\x91\xaa\xc3\xdc\xf5\x0e\x27"
31905 			"\x40\x59\x72\x8b\xa4\xbd\xd6\xef"
31906 			"\x08\x21\x3a\x53\x6c\x85\x9e\xb7"
31907 			"\xd0\xe9\x02\x1b\x34\x4d\x66\x7f"
31908 			"\x98\xb1\xca\xe3\xfc\x15\x2e\x47"
31909 			"\x60\x79\x92\xab\xc4\xdd\xf6\x0f"
31910 			"\x28\x41\x5a\x73\x8c\xa5\xbe\xd7"
31911 			"\xf0\x09\x22\x3b\x54\x6d\x86\x9f"
31912 			"\xb8\xd1\xea\x03\x1c\x35\x4e\x67"
31913 			"\x80\x99\xb2\xcb\xe4\xfd\x16\x2f"
31914 			"\x48\x61\x7a\x93\xac\xc5\xde\xf7"
31915 			"\x10\x29\x42\x5b\x74\x8d\xa6\xbf"
31916 			"\xd8\xf1\x0a\x23\x3c\x55\x6e\x87"
31917 			"\xa0\xb9\xd2\xeb\x04\x1d\x36\x4f"
31918 			"\x68\x81\x9a\xb3\xcc\xe5\xfe\x17"
31919 			"\x30\x49\x62\x7b\x94\xad\xc6\xdf"
31920 			"\xf8\x11\x2a\x43\x5c\x75\x8e\xa7"
31921 			"\xc0\xd9\xf2\x0b\x24\x3d\x56\x6f"
31922 			"\x88\xa1\xba\xd3\xec\x05\x1e\x37"
31923 			"\x50\x69\x82\x9b\xb4\xcd\xe6\xff"
31924 			"\x18\x31\x4a\x63\x7c\x95\xae\xc7"
31925 			"\xe0\xf9\x12\x2b\x44\x5d\x76\x8f"
31926 			"\xa8\xc1\xda\xf3\x0c\x25\x3e\x57"
31927 			"\x70\x89\xa2\xbb\xd4\xed\x06\x1f"
31928 			"\x38\x51\x6a\x83\x9c\xb5\xce\xe7"
31929 			"\x00\x1b\x36\x51\x6c\x87\xa2\xbd"
31930 			"\xd8\xf3\x0e\x29\x44\x5f\x7a\x95"
31931 			"\xb0\xcb\xe6\x01\x1c\x37\x52\x6d"
31932 			"\x88\xa3\xbe\xd9\xf4\x0f\x2a\x45"
31933 			"\x60\x7b\x96\xb1\xcc\xe7\x02\x1d"
31934 			"\x38\x53\x6e\x89\xa4\xbf\xda\xf5"
31935 			"\x10\x2b\x46\x61\x7c\x97\xb2\xcd"
31936 			"\xe8\x03\x1e\x39\x54\x6f\x8a\xa5"
31937 			"\xc0\xdb\xf6\x11\x2c\x47\x62\x7d"
31938 			"\x98\xb3\xce\xe9\x04\x1f\x3a\x55"
31939 			"\x70\x8b\xa6\xc1\xdc\xf7\x12\x2d"
31940 			"\x48\x63\x7e\x99\xb4\xcf\xea\x05"
31941 			"\x20\x3b\x56\x71\x8c\xa7\xc2\xdd"
31942 			"\xf8\x13\x2e\x49\x64\x7f\x9a\xb5"
31943 			"\xd0\xeb\x06\x21\x3c\x57\x72\x8d"
31944 			"\xa8\xc3\xde\xf9\x14\x2f\x4a\x65"
31945 			"\x80\x9b\xb6\xd1\xec\x07\x22\x3d"
31946 			"\x58\x73\x8e\xa9\xc4\xdf\xfa\x15"
31947 			"\x30\x4b\x66\x81\x9c\xb7\xd2\xed"
31948 			"\x08\x23\x3e\x59\x74\x8f\xaa\xc5"
31949 			"\xe0\xfb\x16\x31\x4c\x67\x82\x9d"
31950 			"\xb8\xd3\xee\x09\x24\x3f\x5a\x75"
31951 			"\x90\xab\xc6\xe1\xfc\x17\x32\x4d"
31952 			"\x68\x83\x9e\xb9\xd4\xef\x0a\x25"
31953 			"\x40\x5b\x76\x91\xac\xc7\xe2\xfd"
31954 			"\x18\x33\x4e\x69\x84\x9f\xba\xd5"
31955 			"\xf0\x0b\x26\x41\x5c\x77\x92\xad"
31956 			"\xc8\xe3\xfe\x19\x34\x4f\x6a\x85"
31957 			"\xa0\xbb\xd6\xf1\x0c\x27\x42\x5d"
31958 			"\x78\x93\xae\xc9\xe4\xff\x1a\x35"
31959 			"\x50\x6b\x86\xa1\xbc\xd7\xf2\x0d"
31960 			"\x28\x43\x5e\x79\x94\xaf\xca\xe5"
31961 			"\x00\x1d\x3a\x57\x74\x91\xae\xcb"
31962 			"\xe8\x05\x22\x3f\x5c\x79\x96\xb3"
31963 			"\xd0\xed\x0a\x27\x44\x61\x7e\x9b"
31964 			"\xb8\xd5\xf2\x0f\x2c\x49\x66\x83"
31965 			"\xa0\xbd\xda\xf7\x14\x31\x4e\x6b"
31966 			"\x88\xa5\xc2\xdf\xfc\x19\x36\x53"
31967 			"\x70\x8d\xaa\xc7\xe4\x01\x1e\x3b"
31968 			"\x58\x75\x92\xaf\xcc\xe9\x06\x23"
31969 			"\x40\x5d\x7a\x97\xb4\xd1\xee\x0b"
31970 			"\x28\x45\x62\x7f\x9c\xb9\xd6\xf3"
31971 			"\x10\x2d\x4a\x67\x84\xa1\xbe\xdb"
31972 			"\xf8\x15\x32\x4f\x6c\x89\xa6\xc3"
31973 			"\xe0\xfd\x1a\x37\x54\x71\x8e\xab"
31974 			"\xc8\xe5\x02\x1f\x3c\x59\x76\x93"
31975 			"\xb0\xcd\xea\x07\x24\x41\x5e\x7b"
31976 			"\x98\xb5\xd2\xef\x0c\x29\x46\x63"
31977 			"\x80\x9d\xba\xd7\xf4\x11\x2e\x4b"
31978 			"\x68\x85\xa2\xbf\xdc\xf9\x16\x33"
31979 			"\x50\x6d\x8a\xa7\xc4\xe1\xfe\x1b"
31980 			"\x38\x55\x72\x8f\xac\xc9\xe6\x03"
31981 			"\x20\x3d\x5a\x77\x94\xb1\xce\xeb"
31982 			"\x08\x25\x42\x5f\x7c\x99\xb6\xd3"
31983 			"\xf0\x0d\x2a\x47\x64\x81\x9e\xbb"
31984 			"\xd8\xf5\x12\x2f\x4c\x69\x86\xa3"
31985 			"\xc0\xdd\xfa\x17\x34\x51\x6e\x8b"
31986 			"\xa8\xc5\xe2\xff\x1c\x39\x56\x73"
31987 			"\x90\xad\xca\xe7\x04\x21\x3e\x5b"
31988 			"\x78\x95\xb2\xcf\xec\x09\x26\x43"
31989 			"\x60\x7d\x9a\xb7\xd4\xf1\x0e\x2b"
31990 			"\x48\x65\x82\x9f\xbc\xd9\xf6\x13"
31991 			"\x30\x4d\x6a\x87\xa4\xc1\xde\xfb"
31992 			"\x18\x35\x52\x6f\x8c\xa9\xc6\xe3"
31993 			"\x00\x1f\x3e\x5d\x7c\x9b\xba\xd9"
31994 			"\xf8\x17\x36\x55\x74\x93\xb2\xd1"
31995 			"\xf0\x0f\x2e\x4d\x6c\x8b\xaa\xc9"
31996 			"\xe8\x07\x26\x45\x64\x83\xa2\xc1"
31997 			"\xe0\xff\x1e\x3d\x5c\x7b\x9a\xb9"
31998 			"\xd8\xf7\x16\x35\x54\x73\x92\xb1"
31999 			"\xd0\xef\x0e\x2d\x4c\x6b\x8a\xa9"
32000 			"\xc8\xe7\x06\x25\x44\x63\x82\xa1"
32001 			"\xc0\xdf\xfe\x1d\x3c\x5b\x7a\x99"
32002 			"\xb8\xd7\xf6\x15\x34\x53\x72\x91"
32003 			"\xb0\xcf\xee\x0d\x2c\x4b\x6a\x89"
32004 			"\xa8\xc7\xe6\x05\x24\x43\x62\x81"
32005 			"\xa0\xbf\xde\xfd\x1c\x3b\x5a\x79"
32006 			"\x98\xb7\xd6\xf5\x14\x33\x52\x71"
32007 			"\x90\xaf\xce\xed\x0c\x2b\x4a\x69"
32008 			"\x88\xa7\xc6\xe5\x04\x23\x42\x61"
32009 			"\x80\x9f\xbe\xdd\xfc\x1b\x3a\x59"
32010 			"\x78\x97\xb6\xd5\xf4\x13\x32\x51"
32011 			"\x70\x8f\xae\xcd\xec\x0b\x2a\x49"
32012 			"\x68\x87\xa6\xc5\xe4\x03\x22\x41"
32013 			"\x60\x7f\x9e\xbd\xdc\xfb\x1a\x39"
32014 			"\x58\x77\x96\xb5\xd4\xf3\x12\x31"
32015 			"\x50\x6f\x8e\xad\xcc\xeb\x0a\x29"
32016 			"\x48\x67\x86\xa5\xc4\xe3\x02\x21"
32017 			"\x40\x5f\x7e\x9d\xbc\xdb\xfa\x19"
32018 			"\x38\x57\x76\x95\xb4\xd3\xf2\x11"
32019 			"\x30\x4f\x6e\x8d\xac\xcb\xea\x09"
32020 			"\x28\x47\x66\x85\xa4\xc3\xe2\x01"
32021 			"\x20\x3f\x5e\x7d\x9c\xbb\xda\xf9"
32022 			"\x18\x37\x56\x75\x94\xb3\xd2\xf1"
32023 			"\x10\x2f\x4e\x6d\x8c\xab\xca\xe9"
32024 			"\x08\x27\x46\x65\x84\xa3\xc2\xe1"
32025 			"\x00\x21\x42\x63",
32026 		.ilen = 4100,
32027 		.result =
32028 			"\xb5\x81\xf5\x64\x18\x73\xe3\xf0"
32029 			"\x4c\x13\xf2\x77\x18\x60\x65\x5e"
32030 			"\x29\x01\xce\x98\x55\x53\xf9\x0c"
32031 			"\x2a\x08\xd5\x09\xb3\x57\x55\x56"
32032 			"\xc5\xe9\x56\x90\xcb\x6a\xa3\xc0"
32033 			"\xff\xc4\x79\xb4\xd2\x97\x5d\xc4"
32034 			"\x43\xd1\xfe\x94\x7b\x88\x06\x5a"
32035 			"\xb2\x9e\x2c\xfc\x44\x03\xb7\x90"
32036 			"\xa0\xc1\xba\x6a\x33\xb8\xc7\xb2"
32037 			"\x9d\xe1\x12\x4f\xc0\x64\xd4\x01"
32038 			"\xfe\x8c\x7a\x66\xf7\xe6\x5a\x91"
32039 			"\xbb\xde\x56\x86\xab\x65\x21\x30"
32040 			"\x00\x84\x65\x24\xa5\x7d\x85\xb4"
32041 			"\xe3\x17\xed\x3a\xb7\x6f\xb4\x0b"
32042 			"\x0b\xaf\x15\xae\x5a\x8f\xf2\x0c"
32043 			"\x2f\x27\xf4\x09\xd8\xd2\x96\xb7"
32044 			"\x71\xf2\xc5\x99\x4d\x7e\x7f\x75"
32045 			"\x77\x89\x30\x8b\x59\xdb\xa2\xb2"
32046 			"\xa0\xf3\x19\x39\x2b\xc5\x7e\x3f"
32047 			"\x4f\xd9\xd3\x56\x28\x97\x44\xdc"
32048 			"\xc0\x8b\x77\x24\xd9\x52\xe7\xc5"
32049 			"\xaf\xf6\x7d\x59\xb2\x44\x05\x1d"
32050 			"\xb1\xb0\x11\xa5\x0f\xec\x33\xe1"
32051 			"\x6d\x1b\x4e\x1f\xff\x57\x91\xb4"
32052 			"\x5b\x9a\x96\xc5\x53\xbc\xae\x20"
32053 			"\x3c\xbb\x14\xe2\xe8\x22\x33\xc1"
32054 			"\x5e\x76\x9e\x46\x99\xf6\x2a\x15"
32055 			"\xc6\x97\x02\xa0\x66\x43\xd1\xa6"
32056 			"\x31\xa6\x9f\xfb\xf4\xd3\x69\xe5"
32057 			"\xcd\x76\x95\xb8\x7a\x82\x7f\x21"
32058 			"\x45\xff\x3f\xce\x55\xf6\x95\x10"
32059 			"\x08\x77\x10\x43\xc6\xf3\x09\xe5"
32060 			"\x68\xe7\x3c\xad\x00\x52\x45\x0d"
32061 			"\xfe\x2d\xc6\xc2\x94\x8c\x12\x1d"
32062 			"\xe6\x25\xae\x98\x12\x8e\x19\x9c"
32063 			"\x81\x68\xb1\x11\xf6\x69\xda\xe3"
32064 			"\x62\x08\x18\x7a\x25\x49\x28\xac"
32065 			"\xba\x71\x12\x0b\xe4\xa2\xe5\xc7"
32066 			"\x5d\x8e\xec\x49\x40\x21\xbf\x5a"
32067 			"\x98\xf3\x02\x68\x55\x03\x7f\x8a"
32068 			"\xe5\x94\x0c\x32\x5c\x07\x82\x63"
32069 			"\xaf\x6f\x91\x40\x84\x8e\x52\x25"
32070 			"\xd0\xb0\x29\x53\x05\xe2\x50\x7a"
32071 			"\x34\xeb\xc9\x46\x20\xa8\x3d\xde"
32072 			"\x7f\x16\x5f\x36\xc5\x2e\xdc\xd1"
32073 			"\x15\x47\xc7\x50\x40\x6d\x91\xc5"
32074 			"\xe7\x93\x95\x1a\xd3\x57\xbc\x52"
32075 			"\x33\xee\x14\x19\x22\x52\x89\xa7"
32076 			"\x4a\x25\x56\x77\x4b\xca\xcf\x0a"
32077 			"\xe1\xf5\x35\x85\x30\x7e\x59\x4a"
32078 			"\xbd\x14\x5b\xdf\xe3\x46\xcb\xac"
32079 			"\x1f\x6c\x96\x0e\xf4\x81\xd1\x99"
32080 			"\xca\x88\x63\x3d\x02\x58\x6b\xa9"
32081 			"\xe5\x9f\xb3\x00\xb2\x54\xc6\x74"
32082 			"\x1c\xbf\x46\xab\x97\xcc\xf8\x54"
32083 			"\x04\x07\x08\x52\xe6\xc0\xda\x93"
32084 			"\x74\x7d\x93\x99\x5d\x78\x68\xa6"
32085 			"\x2e\x6b\xd3\x6a\x69\xcc\x12\x6b"
32086 			"\xd4\xc7\xa5\xc6\xe7\xf6\x03\x04"
32087 			"\x5d\xcd\x61\x5e\x17\x40\xdc\xd1"
32088 			"\x5c\xf5\x08\xdf\x5c\x90\x85\xa4"
32089 			"\xaf\xf6\x78\xbb\x0d\xf1\xf4\xa4"
32090 			"\x54\x26\x72\x9e\x61\xfa\x86\xcf"
32091 			"\xe8\x9e\xa1\xe0\xc7\x48\x23\xae"
32092 			"\x5a\x90\xae\x75\x0a\x74\x18\x89"
32093 			"\x05\xb1\x92\xb2\x7f\xd0\x1b\xa6"
32094 			"\x62\x07\x25\x01\xc7\xc2\x4f\xf9"
32095 			"\xe8\xfe\x63\x95\x80\x07\xb4\x26"
32096 			"\xcc\xd1\x26\xb6\xc4\x3f\x9e\xcb"
32097 			"\x8e\x3b\x2e\x44\x16\xd3\x10\x9a"
32098 			"\x95\x08\xeb\xc8\xcb\xeb\xbf\x6f"
32099 			"\x0b\xcd\x1f\xc8\xca\x86\xaa\xec"
32100 			"\x33\xe6\x69\xf4\x45\x25\x86\x3a"
32101 			"\x22\x94\x4f\x00\x23\x6a\x44\xc2"
32102 			"\x49\x97\x33\xab\x36\x14\x0a\x70"
32103 			"\x24\xc3\xbe\x04\x3b\x79\xa0\xf9"
32104 			"\xb8\xe7\x76\x29\x22\x83\xd7\xf2"
32105 			"\x94\xf4\x41\x49\xba\x5f\x7b\x07"
32106 			"\xb5\xfb\xdb\x03\x1a\x9f\xb6\x4c"
32107 			"\xc2\x2e\x37\x40\x49\xc3\x38\x16"
32108 			"\xe2\x4f\x77\x82\xb0\x68\x4c\x71"
32109 			"\x1d\x57\x61\x9c\xd9\x4e\x54\x99"
32110 			"\x47\x13\x28\x73\x3c\xbb\x00\x90"
32111 			"\xf3\x4d\xc9\x0e\xfd\xe7\xb1\x71"
32112 			"\xd3\x15\x79\xbf\xcc\x26\x2f\xbd"
32113 			"\xad\x6c\x50\x69\x6c\x3e\x6d\x80"
32114 			"\x9a\xea\x78\xaf\x19\xb2\x0d\x4d"
32115 			"\xad\x04\x07\xae\x22\x90\x4a\x93"
32116 			"\x32\x0e\x36\x9b\x1b\x46\xba\x3b"
32117 			"\xb4\xac\xc6\xd1\xa2\x31\x53\x3b"
32118 			"\x2a\x3d\x45\xfe\x03\x61\x10\x85"
32119 			"\x17\x69\xa6\x78\xcc\x6c\x87\x49"
32120 			"\x53\xf9\x80\x10\xde\x80\xa2\x41"
32121 			"\x6a\xc3\x32\x02\xad\x6d\x3c\x56"
32122 			"\x00\x71\x51\x06\xa7\xbd\xfb\xef"
32123 			"\x3c\xb5\x9f\xfc\x48\x7d\x53\x7c"
32124 			"\x66\xb0\x49\x23\xc4\x47\x10\x0e"
32125 			"\xe5\x6c\x74\x13\xe6\xc5\x3f\xaa"
32126 			"\xde\xff\x07\x44\xdd\x56\x1b\xad"
32127 			"\x09\x77\xfb\x5b\x12\xb8\x0d\x38"
32128 			"\x17\x37\x35\x7b\x9b\xbc\xfe\xd4"
32129 			"\x7e\x8b\xda\x7e\x5b\x04\xa7\x22"
32130 			"\xa7\x31\xa1\x20\x86\xc7\x1b\x99"
32131 			"\xdb\xd1\x89\xf4\x94\xa3\x53\x69"
32132 			"\x8d\xe7\xe8\x74\x11\x8d\x74\xd6"
32133 			"\x07\x37\x91\x9f\xfd\x67\x50\x3a"
32134 			"\xc9\xe1\xf4\x36\xd5\xa0\x47\xd1"
32135 			"\xf9\xe5\x39\xa3\x31\xac\x07\x36"
32136 			"\x23\xf8\x66\x18\x14\x28\x34\x0f"
32137 			"\xb8\xd0\xe7\x29\xb3\x04\x4b\x55"
32138 			"\x01\x41\xb2\x75\x8d\xcb\x96\x85"
32139 			"\x3a\xfb\xab\x2b\x9e\xfa\x58\x20"
32140 			"\x44\x1f\xc0\x14\x22\x75\x61\xe8"
32141 			"\xaa\x19\xcf\xf1\x82\x56\xf4\xd7"
32142 			"\x78\x7b\x3d\x5f\xb3\x9e\x0b\x8a"
32143 			"\x57\x50\xdb\x17\x41\x65\x4d\xa3"
32144 			"\x02\xc9\x9c\x9c\x53\xfb\x39\x39"
32145 			"\x9b\x1d\x72\x24\xda\xb7\x39\xbe"
32146 			"\x13\x3b\xfa\x29\xda\x9e\x54\x64"
32147 			"\x6e\xba\xd8\xa1\xcb\xb3\x36\xfa"
32148 			"\xcb\x47\x85\xe9\x61\x38\xbc\xbe"
32149 			"\xc5\x00\x38\x2a\x54\xf7\xc4\xb9"
32150 			"\xb3\xd3\x7b\xa0\xa0\xf8\x72\x7f"
32151 			"\x8c\x8e\x82\x0e\xc6\x1c\x75\x9d"
32152 			"\xca\x8e\x61\x87\xde\xad\x80\xd2"
32153 			"\xf5\xf9\x80\xef\x15\x75\xaf\xf5"
32154 			"\x80\xfb\xff\x6d\x1e\x25\xb7\x40"
32155 			"\x61\x6a\x39\x5a\x6a\xb5\x31\xab"
32156 			"\x97\x8a\x19\x89\x44\x40\xc0\xa6"
32157 			"\xb4\x4e\x30\x32\x7b\x13\xe7\x67"
32158 			"\xa9\x8b\x57\x04\xc2\x01\xa6\xf4"
32159 			"\x28\x99\xad\x2c\x76\xa3\x78\xc2"
32160 			"\x4a\xe6\xca\x5c\x50\x6a\xc1\xb0"
32161 			"\x62\x4b\x10\x8e\x7c\x17\x43\xb3"
32162 			"\x17\x66\x1c\x3e\x8d\x69\xf0\x5a"
32163 			"\x71\xf5\x97\xdc\xd1\x45\xdd\x28"
32164 			"\xf3\x5d\xdf\x53\x7b\x11\xe5\xbc"
32165 			"\x4c\xdb\x1b\x51\x6b\xe9\xfb\x3d"
32166 			"\xc1\xc3\x2c\xb9\x71\xf5\xb6\xb2"
32167 			"\x13\x36\x79\x80\x53\xe8\xd3\xa6"
32168 			"\x0a\xaf\xfd\x56\x97\xf7\x40\x8e"
32169 			"\x45\xce\xf8\xb0\x9e\x5c\x33\x82"
32170 			"\xb0\x44\x56\xfc\x05\x09\xe9\x2a"
32171 			"\xac\x26\x80\x14\x1d\xc8\x3a\x35"
32172 			"\x4c\x82\x97\xfd\x76\xb7\xa9\x0a"
32173 			"\x35\x58\x79\x8e\x0f\x66\xea\xaf"
32174 			"\x51\x6c\x09\xa9\x6e\x9b\xcb\x9a"
32175 			"\x31\x47\xa0\x2f\x7c\x71\xb4\x4a"
32176 			"\x11\xaa\x8c\x66\xc5\x64\xe6\x3a"
32177 			"\x54\xda\x24\x6a\xc4\x41\x65\x46"
32178 			"\x82\xa0\x0a\x0f\x5f\xfb\x25\xd0"
32179 			"\x2c\x91\xa7\xee\xc4\x81\x07\x86"
32180 			"\x75\x5e\x33\x69\x97\xe4\x2c\xa8"
32181 			"\x9d\x9f\x0b\x6a\xbe\xad\x98\xda"
32182 			"\x6d\x94\x41\xda\x2c\x1e\x89\xc4"
32183 			"\xc2\xaf\x1e\x00\x05\x0b\x83\x60"
32184 			"\xbd\x43\xea\x15\x23\x7f\xb9\xac"
32185 			"\xee\x4f\x2c\xaf\x2a\xf3\xdf\xd0"
32186 			"\xf3\x19\x31\xbb\x4a\x74\x84\x17"
32187 			"\x52\x32\x2c\x7d\x61\xe4\xcb\xeb"
32188 			"\x80\x38\x15\x52\xcb\x6f\xea\xe5"
32189 			"\x73\x9c\xd9\x24\x69\xc6\x95\x32"
32190 			"\x21\xc8\x11\xe4\xdc\x36\xd7\x93"
32191 			"\x38\x66\xfb\xb2\x7f\x3a\xb9\xaf"
32192 			"\x31\xdd\x93\x75\x78\x8a\x2c\x94"
32193 			"\x87\x1a\x58\xec\x9e\x7d\x4d\xba"
32194 			"\xe1\xe5\x4d\xfc\xbc\xa4\x2a\x14"
32195 			"\xef\xcc\xa7\xec\xab\x43\x09\x18"
32196 			"\xd3\xab\x68\xd1\x07\x99\x44\x47"
32197 			"\xd6\x83\x85\x3b\x30\xea\xa9\x6b"
32198 			"\x63\xea\xc4\x07\xfb\x43\x2f\xa4"
32199 			"\xaa\xb0\xab\x03\x89\xce\x3f\x8c"
32200 			"\x02\x7c\x86\x54\xbc\x88\xaf\x75"
32201 			"\xd2\xdc\x63\x17\xd3\x26\xf6\x96"
32202 			"\xa9\x3c\xf1\x61\x8c\x11\x18\xcc"
32203 			"\xd6\xea\x5b\xe2\xcd\xf0\xf1\xb2"
32204 			"\xe5\x35\x90\x1f\x85\x4c\x76\x5b"
32205 			"\x66\xce\x44\xa4\x32\x9f\xe6\x7b"
32206 			"\x71\x6e\x9f\x58\x15\x67\x72\x87"
32207 			"\x64\x8e\x3a\x44\x45\xd4\x76\xfa"
32208 			"\xc2\xf6\xef\x85\x05\x18\x7a\x9b"
32209 			"\xba\x41\x54\xac\xf0\xfc\x59\x12"
32210 			"\x3f\xdf\xa0\xe5\x8a\x65\xfd\x3a"
32211 			"\x62\x8d\x83\x2c\x03\xbe\x05\x76"
32212 			"\x2e\x53\x49\x97\x94\x33\xae\x40"
32213 			"\x81\x15\xdb\x6e\xad\xaa\xf5\x4b"
32214 			"\xe3\x98\x70\xdf\xe0\x7c\xcd\xdb"
32215 			"\x02\xd4\x7d\x2f\xc1\xe6\xb4\xf3"
32216 			"\xd7\x0d\x7a\xd9\x23\x9e\x87\x2d"
32217 			"\xce\x87\xad\xcc\x72\x05\x00\x29"
32218 			"\xdc\x73\x7f\x64\xc1\x15\x0e\xc2"
32219 			"\xdf\xa7\x5f\xeb\x41\xa1\xcd\xef"
32220 			"\x5c\x50\x79\x2a\x56\x56\x71\x8c"
32221 			"\xac\xc0\x79\x50\x69\xca\x59\x32"
32222 			"\x65\xf2\x54\xe4\x52\x38\x76\xd1"
32223 			"\x5e\xde\x26\x9e\xfb\x75\x2e\x11"
32224 			"\xb5\x10\xf4\x17\x73\xf5\x89\xc7"
32225 			"\x4f\x43\x5c\x8e\x7c\xb9\x05\x52"
32226 			"\x24\x40\x99\xfe\x9b\x85\x0b\x6c"
32227 			"\x22\x3e\x8b\xae\x86\xa1\xd2\x79"
32228 			"\x05\x68\x6b\xab\xe3\x41\x49\xed"
32229 			"\x15\xa1\x8d\x40\x2d\x61\xdf\x1a"
32230 			"\x59\xc9\x26\x8b\xef\x30\x4c\x88"
32231 			"\x4b\x10\xf8\x8d\xa6\x92\x9f\x4b"
32232 			"\xf3\xc4\x53\x0b\x89\x5d\x28\x92"
32233 			"\xcf\x78\xb2\xc0\x5d\xed\x7e\xfc"
32234 			"\xc0\x12\x23\x5f\x5a\x78\x86\x43"
32235 			"\x6e\x27\xf7\x5a\xa7\x6a\xed\x19"
32236 			"\x04\xf0\xb3\x12\xd1\xbd\x0e\x89"
32237 			"\x6e\xbc\x96\xa8\xd8\x49\x39\x9f"
32238 			"\x7e\x67\xf0\x2e\x3e\x01\xa9\xba"
32239 			"\xec\x8b\x62\x8e\xcb\x4a\x70\x43"
32240 			"\xc7\xc2\xc4\xca\x82\x03\x73\xe9"
32241 			"\x11\xdf\xcf\x54\xea\xc9\xb0\x95"
32242 			"\x51\xc0\x13\x3d\x92\x05\xfa\xf4"
32243 			"\xa9\x34\xc8\xce\x6c\x3d\x54\xcc"
32244 			"\xc4\xaf\xf1\xdc\x11\x44\x26\xa2"
32245 			"\xaf\xf1\x85\x75\x7d\x03\x61\x68"
32246 			"\x4e\x78\xc6\x92\x7d\x86\x7d\x77"
32247 			"\xdc\x71\x72\xdb\xc6\xae\xa1\xcb"
32248 			"\x70\x9a\x0b\x19\xbe\x4a\x6c\x2a"
32249 			"\xe2\xba\x6c\x64\x9a\x13\x28\xdf"
32250 			"\x85\x75\xe6\x43\xf6\x87\x08\x68"
32251 			"\x6e\xba\x6e\x79\x9f\x04\xbc\x23"
32252 			"\x50\xf6\x33\x5c\x1f\x24\x25\xbe"
32253 			"\x33\x47\x80\x45\x56\xa3\xa7\xd7"
32254 			"\x7a\xb1\x34\x0b\x90\x3c\x9c\xad"
32255 			"\x44\x5f\x9e\x0e\x9d\xd4\xbd\x93"
32256 			"\x5e\xfa\x3c\xe0\xb0\xd9\xed\xf3"
32257 			"\xd6\x2e\xff\x24\xd8\x71\x6c\xed"
32258 			"\xaf\x55\xeb\x22\xac\x93\x68\x32"
32259 			"\x05\x5b\x47\xdd\xc6\x4a\xcb\xc7"
32260 			"\x10\xe1\x3c\x92\x1a\xf3\x23\x78"
32261 			"\x2b\xa1\xd2\x80\xf4\x12\xb1\x20"
32262 			"\x8f\xff\x26\x35\xdd\xfb\xc7\x4e"
32263 			"\x78\xf1\x2d\x50\x12\x77\xa8\x60"
32264 			"\x7c\x0f\xf5\x16\x2f\x63\x70\x2a"
32265 			"\xc0\x96\x80\x4e\x0a\xb4\x93\x35"
32266 			"\x5d\x1d\x3f\x56\xf7\x2f\xbb\x90"
32267 			"\x11\x16\x8f\xa2\xec\x47\xbe\xac"
32268 			"\x56\x01\x26\x56\xb1\x8c\xb2\x10"
32269 			"\xf9\x1a\xca\xf5\xd1\xb7\x39\x20"
32270 			"\x63\xf1\x69\x20\x4f\x13\x12\x1f"
32271 			"\x5b\x65\xfc\x98\xf7\xc4\x7a\xbe"
32272 			"\xf7\x26\x4d\x2b\x84\x7b\x42\xad"
32273 			"\xd8\x7a\x0a\xb4\xd8\x74\xbf\xc1"
32274 			"\xf0\x6e\xb4\x29\xa3\xbb\xca\x46"
32275 			"\x67\x70\x6a\x2d\xce\x0e\xa2\x8a"
32276 			"\xa9\x87\xbf\x05\xc4\xc1\x04\xa3"
32277 			"\xab\xd4\x45\x43\x8c\xb6\x02\xb0"
32278 			"\x41\xc8\xfc\x44\x3d\x59\xaa\x2e"
32279 			"\x44\x21\x2a\x8d\x88\x9d\x57\xf4"
32280 			"\xa0\x02\x77\xb8\xa6\xa0\xe6\x75"
32281 			"\x5c\x82\x65\x3e\x03\x5c\x29\x8f"
32282 			"\x38\x55\xab\x33\x26\xef\x9f\x43"
32283 			"\x52\xfd\x68\xaf\x36\xb4\xbb\x9a"
32284 			"\x58\x09\x09\x1b\xc3\x65\x46\x46"
32285 			"\x1d\xa7\x94\x18\x23\x50\x2c\xca"
32286 			"\x2c\x55\x19\x97\x01\x9d\x93\x3b"
32287 			"\x63\x86\xf2\x03\x67\x45\xd2\x72"
32288 			"\x28\x52\x6c\xf4\xe3\x1c\xb5\x11"
32289 			"\x13\xf1\xeb\x21\xc7\xd9\x56\x82"
32290 			"\x2b\x82\x39\xbd\x69\x54\xed\x62"
32291 			"\xc3\xe2\xde\x73\xd4\x6a\x12\xae"
32292 			"\x13\x21\x7f\x4b\x5b\xfc\xbf\xe8"
32293 			"\x2b\xbe\x56\xba\x68\x8b\x9a\xb1"
32294 			"\x6e\xfa\xbf\x7e\x5a\x4b\xf1\xac"
32295 			"\x98\x65\x85\xd1\x93\x53\xd3\x7b"
32296 			"\x09\xdd\x4b\x10\x6d\x84\xb0\x13"
32297 			"\x65\xbd\xcf\x52\x09\xc4\x85\xe2"
32298 			"\x84\x74\x15\x65\xb7\xf7\x51\xaf"
32299 			"\x55\xad\xa4\xd1\x22\x54\x70\x94"
32300 			"\xa0\x1c\x90\x41\xfd\x99\xd7\x5a"
32301 			"\x31\xef\xaa\x25\xd0\x7f\x4f\xea"
32302 			"\x1d\x55\x42\xe5\x49\xb0\xd0\x46"
32303 			"\x62\x36\x43\xb2\x82\x15\x75\x50"
32304 			"\xa4\x72\xeb\x54\x27\x1f\x8a\xe4"
32305 			"\x7d\xe9\x66\xc5\xf1\x53\xa4\xd1"
32306 			"\x0c\xeb\xb8\xf8\xbc\xd4\xe2\xe7"
32307 			"\xe1\xf8\x4b\xcb\xa9\xa1\xaf\x15"
32308 			"\x83\xcb\x72\xd0\x33\x79\x00\x2d"
32309 			"\x9f\xd7\xf1\x2e\x1e\x10\xe4\x45"
32310 			"\xc0\x75\x3a\x39\xea\x68\xf7\x5d"
32311 			"\x1b\x73\x8f\xe9\x8e\x0f\x72\x47"
32312 			"\xae\x35\x0a\x31\x7a\x14\x4d\x4a"
32313 			"\x6f\x47\xf7\x7e\x91\x6e\x74\x8b"
32314 			"\x26\x47\xf9\xc3\xf9\xde\x70\xf5"
32315 			"\x61\xab\xa9\x27\x9f\x82\xe4\x9c"
32316 			"\x89\x91\x3f\x2e\x6a\xfd\xb5\x49"
32317 			"\xe9\xfd\x59\x14\x36\x49\x40\x6d"
32318 			"\x32\xd8\x85\x42\xf3\xa5\xdf\x0c"
32319 			"\xa8\x27\xd7\x54\xe2\x63\x2f\xf2"
32320 			"\x7e\x8b\x8b\xe7\xf1\x9a\x95\x35"
32321 			"\x43\xdc\x3a\xe4\xb6\xf4\xd0\xdf"
32322 			"\x9c\xcb\x94\xf3\x21\xa0\x77\x50"
32323 			"\xe2\xc6\xc4\xc6\x5f\x09\x64\x5b"
32324 			"\x92\x90\xd8\xe1\xd1\xed\x4b\x42"
32325 			"\xd7\x37\xaf\x65\x3d\x11\x39\xb6"
32326 			"\x24\x8a\x60\xae\xd6\x1e\xbf\x0e"
32327 			"\x0d\xd7\xdc\x96\x0e\x65\x75\x4e"
32328 			"\x29\x06\x9d\xa4\x51\x3a\x10\x63"
32329 			"\x8f\x17\x07\xd5\x8e\x3c\xf4\x28"
32330 			"\x00\x5a\x5b\x05\x19\xd8\xc0\x6c"
32331 			"\xe5\x15\xe4\x9c\x9d\x71\x9d\x5e"
32332 			"\x94\x29\x1a\xa7\x80\xfa\x0e\x33"
32333 			"\x03\xdd\xb7\x3e\x9a\xa9\x26\x18"
32334 			"\x37\xa9\x64\x08\x4d\x94\x5a\x88"
32335 			"\xca\x35\xce\x81\x02\xe3\x1f\x1b"
32336 			"\x89\x1a\x77\x85\xe3\x41\x6d\x32"
32337 			"\x42\x19\x23\x7d\xc8\x73\xee\x25"
32338 			"\x85\x0d\xf8\x31\x25\x79\x1b\x6f"
32339 			"\x79\x25\xd2\xd8\xd4\x23\xfd\xf7"
32340 			"\x82\x36\x6a\x0c\x46\x22\x15\xe9"
32341 			"\xff\x72\x41\x91\x91\x7d\x3a\xb7"
32342 			"\xdd\x65\x99\x70\xf6\x8d\x84\xf8"
32343 			"\x67\x15\x20\x11\xd6\xb2\x55\x7b"
32344 			"\xdb\x87\xee\xef\x55\x89\x2a\x59"
32345 			"\x2b\x07\x8f\x43\x8a\x59\x3c\x01"
32346 			"\x8b\x65\x54\xa1\x66\xd5\x38\xbd"
32347 			"\xc6\x30\xa9\xcc\x49\xb6\xa8\x1b"
32348 			"\xb8\xc0\x0e\xe3\x45\x28\xe2\xff"
32349 			"\x41\x9f\x7e\x7c\xd1\xae\x9e\x25"
32350 			"\x3f\x4c\x7c\x7c\xf4\xa8\x26\x4d"
32351 			"\x5c\xfd\x4b\x27\x18\xf9\x61\x76"
32352 			"\x48\xba\x0c\x6b\xa9\x4d\xfc\xf5"
32353 			"\x3b\x35\x7e\x2f\x4a\xa9\xc2\x9a"
32354 			"\xae\xab\x86\x09\x89\xc9\xc2\x40"
32355 			"\x39\x2c\x81\xb3\xb8\x17\x67\xc2"
32356 			"\x0d\x32\x4a\x3a\x67\x81\xd7\x1a"
32357 			"\x34\x52\xc5\xdb\x0a\xf5\x63\x39"
32358 			"\xea\x1f\xe1\x7c\xa1\x9e\xc1\x35"
32359 			"\xe3\xb1\x18\x45\x67\xf9\x22\x38"
32360 			"\x95\xd9\x34\x34\x86\xc6\x41\x94"
32361 			"\x15\xf9\x5b\x41\xa6\x87\x8b\xf8"
32362 			"\xd5\xe1\x1b\xe2\x5b\xf3\x86\x10"
32363 			"\xff\xe6\xae\x69\x76\xbc\x0d\xb4"
32364 			"\x09\x90\x0c\xa2\x65\x0c\xad\x74"
32365 			"\xf5\xd7\xff\xda\xc1\xce\x85\xbe"
32366 			"\x00\xa7\xff\x4d\x2f\x65\xd3\x8c"
32367 			"\x86\x2d\x05\xe8\xed\x3e\x6b\x8b"
32368 			"\x0f\x3d\x83\x8c\xf1\x1d\x5b\x96"
32369 			"\x2e\xb1\x9c\xc2\x98\xe1\x70\xb9"
32370 			"\xba\x5c\x8a\x43\xd6\x34\xa7\x2d"
32371 			"\xc9\x92\xae\xf2\xa5\x7b\x05\x49"
32372 			"\xa7\x33\x34\x86\xca\xe4\x96\x23"
32373 			"\x76\x5b\xf2\xc6\xf1\x51\x28\x42"
32374 			"\x7b\xcc\x76\x8f\xfa\xa2\xad\x31"
32375 			"\xd4\xd6\x7a\x6d\x25\x25\x54\xe4"
32376 			"\x3f\x50\x59\xe1\x5c\x05\xb7\x27"
32377 			"\x48\xbf\x07\xec\x1b\x13\xbe\x2b"
32378 			"\xa1\x57\x2b\xd5\xab\xd7\xd0\x4c"
32379 			"\x1e\xcb\x71\x9b\xc5\x90\x85\xd3"
32380 			"\xde\x59\xec\x71\xeb\x89\xbb\xd0"
32381 			"\x09\x50\xe1\x16\x3f\xfd\x1c\x34"
32382 			"\xc3\x1c\xa1\x10\x77\x53\x98\xef"
32383 			"\xf2\xfd\xa5\x01\x59\xc2\x9b\x26"
32384 			"\xc7\x42\xd9\x49\xda\x58\x2b\x6e"
32385 			"\x9f\x53\x19\x76\x7e\xd9\xc9\x0e"
32386 			"\x68\xc8\x7f\x51\x22\x42\xef\x49"
32387 			"\xa4\x55\xb6\x36\xac\x09\xc7\x31"
32388 			"\x88\x15\x4b\x2e\x8f\x3a\x08\xf7"
32389 			"\xd8\xf7\xa8\xc5\xa9\x33\xa6\x45"
32390 			"\xe4\xc4\x94\x76\xf3\x0d\x8f\x7e"
32391 			"\xc8\xf6\xbc\x23\x0a\xb6\x4c\xd3"
32392 			"\x6a\xcd\x36\xc2\x90\x5c\x5c\x3c"
32393 			"\x65\x7b\xc2\xd6\xcc\xe6\x0d\x87"
32394 			"\x73\x2e\x71\x79\x16\x06\x63\x28"
32395 			"\x09\x15\xd8\x89\x38\x38\x3d\xb5"
32396 			"\x42\x1c\x08\x24\xf7\x2a\xd2\x9d"
32397 			"\xc8\xca\xef\xf9\x27\xd8\x07\x86"
32398 			"\xf7\x43\x0b\x55\x15\x3f\x9f\x83"
32399 			"\xef\xdc\x49\x9d\x2a\xc1\x54\x62"
32400 			"\xbd\x9b\x66\x55\x9f\xb7\x12\xf3"
32401 			"\x1b\x4d\x9d\x2a\x5c\xed\x87\x75"
32402 			"\x87\x26\xec\x61\x2c\xb4\x0f\x89"
32403 			"\xb0\xfb\x2e\x68\x5d\x15\xc7\x8d"
32404 			"\x2e\xc0\xd9\xec\xaf\x4f\xd2\x25"
32405 			"\x29\xe8\xd2\x26\x2b\x67\xe9\xfc"
32406 			"\x2b\xa8\x67\x96\x12\x1f\x5b\x96"
32407 			"\xc6\x14\x53\xaf\x44\xea\xd6\xe2"
32408 			"\x94\x98\xe4\x12\x93\x4c\x92\xe0"
32409 			"\x18\xa5\x8d\x2d\xe4\x71\x3c\x47"
32410 			"\x4c\xf7\xe6\x47\x9e\xc0\x68\xdf"
32411 			"\xd4\xf5\x5a\x74\xb1\x2b\x29\x03"
32412 			"\x19\x07\xaf\x90\x62\x5c\x68\x98"
32413 			"\x48\x16\x11\x02\x9d\xee\xb4\x9b"
32414 			"\xe5\x42\x7f\x08\xfd\x16\x32\x0b"
32415 			"\xd0\xb3\xfa\x2b\xb7\x99\xf9\x29"
32416 			"\xcd\x20\x45\x9f\xb3\x1a\x5d\xa2"
32417 			"\xaf\x4d\xe0\xbd\x42\x0d\xbc\x74"
32418 			"\x99\x9c\x8e\x53\x1a\xb4\x3e\xbd"
32419 			"\xa2\x9a\x2d\xf7\xf8\x39\x0f\x67"
32420 			"\x63\xfc\x6b\xc0\xaf\xb3\x4b\x4f"
32421 			"\x55\xc4\xcf\xa7\xc8\x04\x11\x3e"
32422 			"\x14\x32\xbb\x1b\x38\x77\xd6\x7f"
32423 			"\x54\x4c\xdf\x75\xf3\x07\x2d\x33"
32424 			"\x9b\xa8\x20\xe1\x7b\x12\xb5\xf3"
32425 			"\xef\x2f\xce\x72\xe5\x24\x60\xc1"
32426 			"\x30\xe2\xab\xa1\x8e\x11\x09\xa8"
32427 			"\x21\x33\x44\xfe\x7f\x35\x32\x93"
32428 			"\x39\xa7\xad\x8b\x79\x06\xb2\xcb"
32429 			"\x4e\xa9\x5f\xc7\xba\x74\x29\xec"
32430 			"\x93\xa0\x4e\x54\x93\xc0\xbc\x55"
32431 			"\x64\xf0\x48\xe5\x57\x99\xee\x75"
32432 			"\xd6\x79\x0f\x66\xb7\xc6\x57\x76"
32433 			"\xf7\xb7\xf3\x9c\xc5\x60\xe8\x7f"
32434 			"\x83\x76\xd6\x0e\xaa\xe6\x90\x39"
32435 			"\x1d\xa6\x32\x6a\x34\xe3\x55\xf8"
32436 			"\x58\xa0\x58\x7d\x33\xe0\x22\x39"
32437 			"\x44\x64\x87\x86\x5a\x2f\xa7\x7e"
32438 			"\x0f\x38\xea\xb0\x30\xcc\x61\xa5"
32439 			"\x6a\x32\xae\x1e\xf7\xe9\xd0\xa9"
32440 			"\x0c\x32\x4b\xb5\x49\x28\xab\x85"
32441 			"\x2f\x8e\x01\x36\x38\x52\xd0\xba"
32442 			"\xd6\x02\x78\xf8\x0e\x3e\x9c\x8b"
32443 			"\x6b\x45\x99\x3f\x5c\xfe\x58\xf1"
32444 			"\x5c\x94\x04\xe1\xf5\x18\x6d\x51"
32445 			"\xb2\x5d\x18\x20\xb6\xc2\x9a\x42"
32446 			"\x1d\xb3\xab\x3c\xb6\x3a\x13\x03"
32447 			"\xb2\x46\x82\x4f\xfc\x64\xbc\x4f"
32448 			"\xca\xfa\x9c\xc0\xd5\xa7\xbd\x11"
32449 			"\xb7\xe4\x5a\xf6\x6f\x4d\x4d\x54"
32450 			"\xea\xa4\x98\x66\xd4\x22\x3b\xd3"
32451 			"\x8f\x34\x47\xd9\x7c\xf4\x72\x3b"
32452 			"\x4d\x02\x77\xf6\xd6\xdd\x08\x0a"
32453 			"\x81\xe1\x86\x89\x3e\x56\x10\x3c"
32454 			"\xba\xd7\x81\x8c\x08\xbc\x8b\xe2"
32455 			"\x53\xec\xa7\x89\xee\xc8\x56\xb5"
32456 			"\x36\x2c\xb2\x03\xba\x99\xdd\x7c"
32457 			"\x48\xa0\xb0\xbc\x91\x33\xe9\xa8"
32458 			"\xcb\xcd\xcf\x59\x5f\x1f\x15\xe2"
32459 			"\x56\xf5\x4e\x01\x35\x27\x45\x77"
32460 			"\x47\xc8\xbc\xcb\x7e\x39\xc1\x97"
32461 			"\x28\xd3\x84\xfc\x2c\x3e\xc8\xad"
32462 			"\x9c\xf8\x8a\x61\x9c\x28\xaa\xc5"
32463 			"\x99\x20\x43\x85\x9d\xa5\xe2\x8b"
32464 			"\xb8\xae\xeb\xd0\x32\x0d\x52\x78"
32465 			"\x09\x56\x3f\xc7\xd8\x7e\x26\xfc"
32466 			"\x37\xfb\x6f\x04\xfc\xfa\x92\x10"
32467 			"\xac\xf8\x3e\x21\xdc\x8c\x21\x16"
32468 			"\x7d\x67\x6e\xf6\xcd\xda\xb6\x98"
32469 			"\x23\xab\x23\x3c\xb2\x10\xa0\x53"
32470 			"\x5a\x56\x9f\xc5\xd0\xff\xbb\xe4"
32471 			"\x98\x3c\x69\x1e\xdb\x38\x8f\x7e"
32472 			"\x0f\xd2\x98\x88\x81\x8b\x45\x67"
32473 			"\xea\x33\xf1\xeb\xe9\x97\x55\x2e"
32474 			"\xd9\xaa\xeb\x5a\xec\xda\xe1\x68"
32475 			"\xa8\x9d\x3c\x84\x7c\x05\x3d\x62"
32476 			"\x87\x8f\x03\x21\x28\x95\x0c\x89"
32477 			"\x25\x22\x4a\xb0\x93\xa9\x50\xa2"
32478 			"\x2f\x57\x6e\x18\x42\x19\x54\x0c"
32479 			"\x55\x67\xc6\x11\x49\xf4\x5c\xd2"
32480 			"\xe9\x3d\xdd\x8b\x48\x71\x21\x00"
32481 			"\xc3\x9a\x6c\x85\x74\x28\x83\x4a"
32482 			"\x1b\x31\x05\xe1\x06\x92\xe7\xda"
32483 			"\x85\x73\x78\x45\x20\x7f\xae\x13"
32484 			"\x7c\x33\x06\x22\xf4\x83\xf9\x35"
32485 			"\x3f\x6c\x71\xa8\x4e\x48\xbe\x9b"
32486 			"\xce\x8a\xba\xda\xbe\x28\x08\xf7"
32487 			"\xe2\x14\x8c\x71\xea\x72\xf9\x33"
32488 			"\xf2\x88\x3f\xd7\xbb\x69\x6c\x29"
32489 			"\x19\xdc\x84\xce\x1f\x12\x4f\xc8"
32490 			"\xaf\xa5\x04\xba\x5a\xab\xb0\xd9"
32491 			"\x14\x1f\x6c\x68\x98\x39\x89\x7a"
32492 			"\xd9\xd8\x2f\xdf\xa8\x47\x4a\x25"
32493 			"\xe2\xfb\x33\xf4\x59\x78\xe1\x68"
32494 			"\x85\xcf\xfe\x59\x20\xd4\x05\x1d"
32495 			"\x80\x99\xae\xbc\xca\xae\x0f\x2f"
32496 			"\x65\x43\x34\x8e\x7e\xac\xd3\x93"
32497 			"\x2f\xac\x6d\x14\x3d\x02\x07\x70"
32498 			"\x9d\xa4\xf3\x1b\x5c\x36\xfc\x01"
32499 			"\x73\x34\x85\x0c\x6c\xd6\xf1\xbd"
32500 			"\x3f\xdf\xee\xf5\xd9\xba\x56\xef"
32501 			"\xf4\x9b\x6b\xee\x9f\x5a\x78\x6d"
32502 			"\x32\x19\xf4\xf7\xf8\x4c\x69\x0b"
32503 			"\x4b\xbc\xbb\xb7\xf2\x85\xaf\x70"
32504 			"\x75\x24\x6c\x54\xa7\x0e\x4d\x1d"
32505 			"\x01\xbf\x08\xac\xcf\x7f\x2c\xe3"
32506 			"\x14\x89\x5e\x70\x5a\x99\x92\xcd"
32507 			"\x01\x84\xc8\xd2\xab\xe5\x4f\x58"
32508 			"\xe7\x0f\x2f\x0e\xff\x68\xea\xfd"
32509 			"\x15\xb3\x17\xe6\xb0\xe7\x85\xd8"
32510 			"\x23\x2e\x05\xc7\xc9\xc4\x46\x1f"
32511 			"\xe1\x9e\x49\x20\x23\x24\x4d\x7e"
32512 			"\x29\x65\xff\xf4\xb6\xfd\x1a\x85"
32513 			"\xc4\x16\xec\xfc\xea\x7b\xd6\x2c"
32514 			"\x43\xf8\xb7\xbf\x79\xc0\x85\xcd"
32515 			"\xef\xe1\x98\xd3\xa5\xf7\x90\x8c"
32516 			"\xe9\x7f\x80\x6b\xd2\xac\x4c\x30"
32517 			"\xa7\xc6\x61\x6c\xd2\xf9\x2c\xff"
32518 			"\x30\xbc\x22\x81\x7d\x93\x12\xe4"
32519 			"\x0a\xcd\xaf\xdd\xe8\xab\x0a\x1e"
32520 			"\x13\xa4\x27\xc3\x5f\xf7\x4b\xbb"
32521 			"\x37\x09\x4b\x91\x6f\x92\x4f\xaf"
32522 			"\x52\xee\xdf\xef\x09\x6f\xf7\x5c"
32523 			"\x6e\x12\x17\x72\x63\x57\xc7\xba"
32524 			"\x3b\x6b\x38\x32\x73\x1b\x9c\x80"
32525 			"\xc1\x7a\xc6\xcf\xcd\x35\xc0\x6b"
32526 			"\x31\x1a\x6b\xe9\xd8\x2c\x29\x3f"
32527 			"\x96\xfb\xb6\xcd\x13\x91\x3b\xc2"
32528 			"\xd2\xa3\x31\x8d\xa4\xcd\x57\xcd"
32529 			"\x13\x3d\x64\xfd\x06\xce\xe6\xdc"
32530 			"\x0c\x24\x43\x31\x40\x57\xf1\x72"
32531 			"\x17\xe3\x3a\x63\x6d\x35\xcf\x5d"
32532 			"\x97\x40\x59\xdd\xf7\x3c\x02\xf7"
32533 			"\x1c\x7e\x05\xbb\xa9\x0d\x01\xb1"
32534 			"\x8e\xc0\x30\xa9\x53\x24\xc9\x89"
32535 			"\x84\x6d\xaa\xd0\xcd\x91\xc2\x4d"
32536 			"\x91\xb0\x89\xe2\xbf\x83\x44\xaa"
32537 			"\x28\x72\x23\xa0\xc2\xad\xad\x1c"
32538 			"\xfc\x3f\x09\x7a\x0b\xdc\xc5\x1b"
32539 			"\x87\x13\xc6\x5b\x59\x8d\xf2\xc8"
32540 			"\xaf\xdf\x11\x95",
32541 		.rlen	= 4100,
32542 		.np	= 2,
32543 		.tap	= { 4064, 36 },
32544 	},
32545 };
32546 
32547 static const struct cipher_testvec chacha20_enc_tv_template[] = {
32548 	{ /* RFC7539 A.2. Test Vector #1 */
32549 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32550 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32551 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32552 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
32553 		.klen	= 32,
32554 		.iv     = "\x00\x00\x00\x00\x00\x00\x00\x00"
32555 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
32556 		.input	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32557 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32558 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32559 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32560 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32561 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32562 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32563 			  "\x00\x00\x00\x00\x00\x00\x00\x00",
32564 		.ilen	= 64,
32565 		.result	= "\x76\xb8\xe0\xad\xa0\xf1\x3d\x90"
32566 			  "\x40\x5d\x6a\xe5\x53\x86\xbd\x28"
32567 			  "\xbd\xd2\x19\xb8\xa0\x8d\xed\x1a"
32568 			  "\xa8\x36\xef\xcc\x8b\x77\x0d\xc7"
32569 			  "\xda\x41\x59\x7c\x51\x57\x48\x8d"
32570 			  "\x77\x24\xe0\x3f\xb8\xd8\x4a\x37"
32571 			  "\x6a\x43\xb8\xf4\x15\x18\xa1\x1c"
32572 			  "\xc3\x87\xb6\x69\xb2\xee\x65\x86",
32573 		.rlen	= 64,
32574 	}, { /* RFC7539 A.2. Test Vector #2 */
32575 		.key	= "\x00\x00\x00\x00\x00\x00\x00\x00"
32576 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32577 			  "\x00\x00\x00\x00\x00\x00\x00\x00"
32578 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
32579 		.klen	= 32,
32580 		.iv     = "\x01\x00\x00\x00\x00\x00\x00\x00"
32581 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
32582 		.input	= "\x41\x6e\x79\x20\x73\x75\x62\x6d"
32583 			  "\x69\x73\x73\x69\x6f\x6e\x20\x74"
32584 			  "\x6f\x20\x74\x68\x65\x20\x49\x45"
32585 			  "\x54\x46\x20\x69\x6e\x74\x65\x6e"
32586 			  "\x64\x65\x64\x20\x62\x79\x20\x74"
32587 			  "\x68\x65\x20\x43\x6f\x6e\x74\x72"
32588 			  "\x69\x62\x75\x74\x6f\x72\x20\x66"
32589 			  "\x6f\x72\x20\x70\x75\x62\x6c\x69"
32590 			  "\x63\x61\x74\x69\x6f\x6e\x20\x61"
32591 			  "\x73\x20\x61\x6c\x6c\x20\x6f\x72"
32592 			  "\x20\x70\x61\x72\x74\x20\x6f\x66"
32593 			  "\x20\x61\x6e\x20\x49\x45\x54\x46"
32594 			  "\x20\x49\x6e\x74\x65\x72\x6e\x65"
32595 			  "\x74\x2d\x44\x72\x61\x66\x74\x20"
32596 			  "\x6f\x72\x20\x52\x46\x43\x20\x61"
32597 			  "\x6e\x64\x20\x61\x6e\x79\x20\x73"
32598 			  "\x74\x61\x74\x65\x6d\x65\x6e\x74"
32599 			  "\x20\x6d\x61\x64\x65\x20\x77\x69"
32600 			  "\x74\x68\x69\x6e\x20\x74\x68\x65"
32601 			  "\x20\x63\x6f\x6e\x74\x65\x78\x74"
32602 			  "\x20\x6f\x66\x20\x61\x6e\x20\x49"
32603 			  "\x45\x54\x46\x20\x61\x63\x74\x69"
32604 			  "\x76\x69\x74\x79\x20\x69\x73\x20"
32605 			  "\x63\x6f\x6e\x73\x69\x64\x65\x72"
32606 			  "\x65\x64\x20\x61\x6e\x20\x22\x49"
32607 			  "\x45\x54\x46\x20\x43\x6f\x6e\x74"
32608 			  "\x72\x69\x62\x75\x74\x69\x6f\x6e"
32609 			  "\x22\x2e\x20\x53\x75\x63\x68\x20"
32610 			  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
32611 			  "\x74\x73\x20\x69\x6e\x63\x6c\x75"
32612 			  "\x64\x65\x20\x6f\x72\x61\x6c\x20"
32613 			  "\x73\x74\x61\x74\x65\x6d\x65\x6e"
32614 			  "\x74\x73\x20\x69\x6e\x20\x49\x45"
32615 			  "\x54\x46\x20\x73\x65\x73\x73\x69"
32616 			  "\x6f\x6e\x73\x2c\x20\x61\x73\x20"
32617 			  "\x77\x65\x6c\x6c\x20\x61\x73\x20"
32618 			  "\x77\x72\x69\x74\x74\x65\x6e\x20"
32619 			  "\x61\x6e\x64\x20\x65\x6c\x65\x63"
32620 			  "\x74\x72\x6f\x6e\x69\x63\x20\x63"
32621 			  "\x6f\x6d\x6d\x75\x6e\x69\x63\x61"
32622 			  "\x74\x69\x6f\x6e\x73\x20\x6d\x61"
32623 			  "\x64\x65\x20\x61\x74\x20\x61\x6e"
32624 			  "\x79\x20\x74\x69\x6d\x65\x20\x6f"
32625 			  "\x72\x20\x70\x6c\x61\x63\x65\x2c"
32626 			  "\x20\x77\x68\x69\x63\x68\x20\x61"
32627 			  "\x72\x65\x20\x61\x64\x64\x72\x65"
32628 			  "\x73\x73\x65\x64\x20\x74\x6f",
32629 		.ilen	= 375,
32630 		.result	= "\xa3\xfb\xf0\x7d\xf3\xfa\x2f\xde"
32631 			  "\x4f\x37\x6c\xa2\x3e\x82\x73\x70"
32632 			  "\x41\x60\x5d\x9f\x4f\x4f\x57\xbd"
32633 			  "\x8c\xff\x2c\x1d\x4b\x79\x55\xec"
32634 			  "\x2a\x97\x94\x8b\xd3\x72\x29\x15"
32635 			  "\xc8\xf3\xd3\x37\xf7\xd3\x70\x05"
32636 			  "\x0e\x9e\x96\xd6\x47\xb7\xc3\x9f"
32637 			  "\x56\xe0\x31\xca\x5e\xb6\x25\x0d"
32638 			  "\x40\x42\xe0\x27\x85\xec\xec\xfa"
32639 			  "\x4b\x4b\xb5\xe8\xea\xd0\x44\x0e"
32640 			  "\x20\xb6\xe8\xdb\x09\xd8\x81\xa7"
32641 			  "\xc6\x13\x2f\x42\x0e\x52\x79\x50"
32642 			  "\x42\xbd\xfa\x77\x73\xd8\xa9\x05"
32643 			  "\x14\x47\xb3\x29\x1c\xe1\x41\x1c"
32644 			  "\x68\x04\x65\x55\x2a\xa6\xc4\x05"
32645 			  "\xb7\x76\x4d\x5e\x87\xbe\xa8\x5a"
32646 			  "\xd0\x0f\x84\x49\xed\x8f\x72\xd0"
32647 			  "\xd6\x62\xab\x05\x26\x91\xca\x66"
32648 			  "\x42\x4b\xc8\x6d\x2d\xf8\x0e\xa4"
32649 			  "\x1f\x43\xab\xf9\x37\xd3\x25\x9d"
32650 			  "\xc4\xb2\xd0\xdf\xb4\x8a\x6c\x91"
32651 			  "\x39\xdd\xd7\xf7\x69\x66\xe9\x28"
32652 			  "\xe6\x35\x55\x3b\xa7\x6c\x5c\x87"
32653 			  "\x9d\x7b\x35\xd4\x9e\xb2\xe6\x2b"
32654 			  "\x08\x71\xcd\xac\x63\x89\x39\xe2"
32655 			  "\x5e\x8a\x1e\x0e\xf9\xd5\x28\x0f"
32656 			  "\xa8\xca\x32\x8b\x35\x1c\x3c\x76"
32657 			  "\x59\x89\xcb\xcf\x3d\xaa\x8b\x6c"
32658 			  "\xcc\x3a\xaf\x9f\x39\x79\xc9\x2b"
32659 			  "\x37\x20\xfc\x88\xdc\x95\xed\x84"
32660 			  "\xa1\xbe\x05\x9c\x64\x99\xb9\xfd"
32661 			  "\xa2\x36\xe7\xe8\x18\xb0\x4b\x0b"
32662 			  "\xc3\x9c\x1e\x87\x6b\x19\x3b\xfe"
32663 			  "\x55\x69\x75\x3f\x88\x12\x8c\xc0"
32664 			  "\x8a\xaa\x9b\x63\xd1\xa1\x6f\x80"
32665 			  "\xef\x25\x54\xd7\x18\x9c\x41\x1f"
32666 			  "\x58\x69\xca\x52\xc5\xb8\x3f\xa3"
32667 			  "\x6f\xf2\x16\xb9\xc1\xd3\x00\x62"
32668 			  "\xbe\xbc\xfd\x2d\xc5\xbc\xe0\x91"
32669 			  "\x19\x34\xfd\xa7\x9a\x86\xf6\xe6"
32670 			  "\x98\xce\xd7\x59\xc3\xff\x9b\x64"
32671 			  "\x77\x33\x8f\x3d\xa4\xf9\xcd\x85"
32672 			  "\x14\xea\x99\x82\xcc\xaf\xb3\x41"
32673 			  "\xb2\x38\x4d\xd9\x02\xf3\xd1\xab"
32674 			  "\x7a\xc6\x1d\xd2\x9c\x6f\x21\xba"
32675 			  "\x5b\x86\x2f\x37\x30\xe3\x7c\xfd"
32676 			  "\xc4\xfd\x80\x6c\x22\xf2\x21",
32677 		.rlen	= 375,
32678 		.also_non_np = 1,
32679 		.np	= 3,
32680 		.tap	= { 375 - 20, 4, 16 },
32681 
32682 	}, { /* RFC7539 A.2. Test Vector #3 */
32683 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
32684 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
32685 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
32686 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
32687 		.klen	= 32,
32688 		.iv     = "\x2a\x00\x00\x00\x00\x00\x00\x00"
32689 			  "\x00\x00\x00\x00\x00\x00\x00\x02",
32690 		.input	= "\x27\x54\x77\x61\x73\x20\x62\x72"
32691 			  "\x69\x6c\x6c\x69\x67\x2c\x20\x61"
32692 			  "\x6e\x64\x20\x74\x68\x65\x20\x73"
32693 			  "\x6c\x69\x74\x68\x79\x20\x74\x6f"
32694 			  "\x76\x65\x73\x0a\x44\x69\x64\x20"
32695 			  "\x67\x79\x72\x65\x20\x61\x6e\x64"
32696 			  "\x20\x67\x69\x6d\x62\x6c\x65\x20"
32697 			  "\x69\x6e\x20\x74\x68\x65\x20\x77"
32698 			  "\x61\x62\x65\x3a\x0a\x41\x6c\x6c"
32699 			  "\x20\x6d\x69\x6d\x73\x79\x20\x77"
32700 			  "\x65\x72\x65\x20\x74\x68\x65\x20"
32701 			  "\x62\x6f\x72\x6f\x67\x6f\x76\x65"
32702 			  "\x73\x2c\x0a\x41\x6e\x64\x20\x74"
32703 			  "\x68\x65\x20\x6d\x6f\x6d\x65\x20"
32704 			  "\x72\x61\x74\x68\x73\x20\x6f\x75"
32705 			  "\x74\x67\x72\x61\x62\x65\x2e",
32706 		.ilen	= 127,
32707 		.result	= "\x62\xe6\x34\x7f\x95\xed\x87\xa4"
32708 			  "\x5f\xfa\xe7\x42\x6f\x27\xa1\xdf"
32709 			  "\x5f\xb6\x91\x10\x04\x4c\x0d\x73"
32710 			  "\x11\x8e\xff\xa9\x5b\x01\xe5\xcf"
32711 			  "\x16\x6d\x3d\xf2\xd7\x21\xca\xf9"
32712 			  "\xb2\x1e\x5f\xb1\x4c\x61\x68\x71"
32713 			  "\xfd\x84\xc5\x4f\x9d\x65\xb2\x83"
32714 			  "\x19\x6c\x7f\xe4\xf6\x05\x53\xeb"
32715 			  "\xf3\x9c\x64\x02\xc4\x22\x34\xe3"
32716 			  "\x2a\x35\x6b\x3e\x76\x43\x12\xa6"
32717 			  "\x1a\x55\x32\x05\x57\x16\xea\xd6"
32718 			  "\x96\x25\x68\xf8\x7d\x3f\x3f\x77"
32719 			  "\x04\xc6\xa8\xd1\xbc\xd1\xbf\x4d"
32720 			  "\x50\xd6\x15\x4b\x6d\xa7\x31\xb1"
32721 			  "\x87\xb5\x8d\xfd\x72\x8a\xfa\x36"
32722 			  "\x75\x7a\x79\x7a\xc1\x88\xd1",
32723 		.rlen	= 127,
32724 	}, { /* Self-made test vector for long data */
32725 		.key	= "\x1c\x92\x40\xa5\xeb\x55\xd3\x8a"
32726 			  "\xf3\x33\x88\x86\x04\xf6\xb5\xf0"
32727 			  "\x47\x39\x17\xc1\x40\x2b\x80\x09"
32728 			  "\x9d\xca\x5c\xbc\x20\x70\x75\xc0",
32729 		.klen	= 32,
32730 		.iv     = "\x1c\x00\x00\x00\x00\x00\x00\x00"
32731 			  "\x00\x00\x00\x00\x00\x00\x00\x01",
32732 		.input	= "\x49\xee\xe0\xdc\x24\x90\x40\xcd"
32733 			  "\xc5\x40\x8f\x47\x05\xbc\xdd\x81"
32734 			  "\x47\xc6\x8d\xe6\xb1\x8f\xd7\xcb"
32735 			  "\x09\x0e\x6e\x22\x48\x1f\xbf\xb8"
32736 			  "\x5c\xf7\x1e\x8a\xc1\x23\xf2\xd4"
32737 			  "\x19\x4b\x01\x0f\x4e\xa4\x43\xce"
32738 			  "\x01\xc6\x67\xda\x03\x91\x18\x90"
32739 			  "\xa5\xa4\x8e\x45\x03\xb3\x2d\xac"
32740 			  "\x74\x92\xd3\x53\x47\xc8\xdd\x25"
32741 			  "\x53\x6c\x02\x03\x87\x0d\x11\x0c"
32742 			  "\x58\xe3\x12\x18\xfd\x2a\x5b\x40"
32743 			  "\x0c\x30\xf0\xb8\x3f\x43\xce\xae"
32744 			  "\x65\x3a\x7d\x7c\xf4\x54\xaa\xcc"
32745 			  "\x33\x97\xc3\x77\xba\xc5\x70\xde"
32746 			  "\xd7\xd5\x13\xa5\x65\xc4\x5f\x0f"
32747 			  "\x46\x1a\x0d\x97\xb5\xf3\xbb\x3c"
32748 			  "\x84\x0f\x2b\xc5\xaa\xea\xf2\x6c"
32749 			  "\xc9\xb5\x0c\xee\x15\xf3\x7d\xbe"
32750 			  "\x9f\x7b\x5a\xa6\xae\x4f\x83\xb6"
32751 			  "\x79\x49\x41\xf4\x58\x18\xcb\x86"
32752 			  "\x7f\x30\x0e\xf8\x7d\x44\x36\xea"
32753 			  "\x75\xeb\x88\x84\x40\x3c\xad\x4f"
32754 			  "\x6f\x31\x6b\xaa\x5d\xe5\xa5\xc5"
32755 			  "\x21\x66\xe9\xa7\xe3\xb2\x15\x88"
32756 			  "\x78\xf6\x79\xa1\x59\x47\x12\x4e"
32757 			  "\x9f\x9f\x64\x1a\xa0\x22\x5b\x08"
32758 			  "\xbe\x7c\x36\xc2\x2b\x66\x33\x1b"
32759 			  "\xdd\x60\x71\xf7\x47\x8c\x61\xc3"
32760 			  "\xda\x8a\x78\x1e\x16\xfa\x1e\x86"
32761 			  "\x81\xa6\x17\x2a\xa7\xb5\xc2\xe7"
32762 			  "\xa4\xc7\x42\xf1\xcf\x6a\xca\xb4"
32763 			  "\x45\xcf\xf3\x93\xf0\xe7\xea\xf6"
32764 			  "\xf4\xe6\x33\x43\x84\x93\xa5\x67"
32765 			  "\x9b\x16\x58\x58\x80\x0f\x2b\x5c"
32766 			  "\x24\x74\x75\x7f\x95\x81\xb7\x30"
32767 			  "\x7a\x33\xa7\xf7\x94\x87\x32\x27"
32768 			  "\x10\x5d\x14\x4c\x43\x29\xdd\x26"
32769 			  "\xbd\x3e\x3c\x0e\xfe\x0e\xa5\x10"
32770 			  "\xea\x6b\x64\xfd\x73\xc6\xed\xec"
32771 			  "\xa8\xc9\xbf\xb3\xba\x0b\x4d\x07"
32772 			  "\x70\xfc\x16\xfd\x79\x1e\xd7\xc5"
32773 			  "\x49\x4e\x1c\x8b\x8d\x79\x1b\xb1"
32774 			  "\xec\xca\x60\x09\x4c\x6a\xd5\x09"
32775 			  "\x49\x46\x00\x88\x22\x8d\xce\xea"
32776 			  "\xb1\x17\x11\xde\x42\xd2\x23\xc1"
32777 			  "\x72\x11\xf5\x50\x73\x04\x40\x47"
32778 			  "\xf9\x5d\xe7\xa7\x26\xb1\x7e\xb0"
32779 			  "\x3f\x58\xc1\x52\xab\x12\x67\x9d"
32780 			  "\x3f\x43\x4b\x68\xd4\x9c\x68\x38"
32781 			  "\x07\x8a\x2d\x3e\xf3\xaf\x6a\x4b"
32782 			  "\xf9\xe5\x31\x69\x22\xf9\xa6\x69"
32783 			  "\xc6\x9c\x96\x9a\x12\x35\x95\x1d"
32784 			  "\x95\xd5\xdd\xbe\xbf\x93\x53\x24"
32785 			  "\xfd\xeb\xc2\x0a\x64\xb0\x77\x00"
32786 			  "\x6f\x88\xc4\x37\x18\x69\x7c\xd7"
32787 			  "\x41\x92\x55\x4c\x03\xa1\x9a\x4b"
32788 			  "\x15\xe5\xdf\x7f\x37\x33\x72\xc1"
32789 			  "\x8b\x10\x67\xa3\x01\x57\x94\x25"
32790 			  "\x7b\x38\x71\x7e\xdd\x1e\xcc\x73"
32791 			  "\x55\xd2\x8e\xeb\x07\xdd\xf1\xda"
32792 			  "\x58\xb1\x47\x90\xfe\x42\x21\x72"
32793 			  "\xa3\x54\x7a\xa0\x40\xec\x9f\xdd"
32794 			  "\xc6\x84\x6e\xca\xae\xe3\x68\xb4"
32795 			  "\x9d\xe4\x78\xff\x57\xf2\xf8\x1b"
32796 			  "\x03\xa1\x31\xd9\xde\x8d\xf5\x22"
32797 			  "\x9c\xdd\x20\xa4\x1e\x27\xb1\x76"
32798 			  "\x4f\x44\x55\xe2\x9b\xa1\x9c\xfe"
32799 			  "\x54\xf7\x27\x1b\xf4\xde\x02\xf5"
32800 			  "\x1b\x55\x48\x5c\xdc\x21\x4b\x9e"
32801 			  "\x4b\x6e\xed\x46\x23\xdc\x65\xb2"
32802 			  "\xcf\x79\x5f\x28\xe0\x9e\x8b\xe7"
32803 			  "\x4c\x9d\x8a\xff\xc1\xa6\x28\xb8"
32804 			  "\x65\x69\x8a\x45\x29\xef\x74\x85"
32805 			  "\xde\x79\xc7\x08\xae\x30\xb0\xf4"
32806 			  "\xa3\x1d\x51\x41\xab\xce\xcb\xf6"
32807 			  "\xb5\xd8\x6d\xe0\x85\xe1\x98\xb3"
32808 			  "\x43\xbb\x86\x83\x0a\xa0\xf5\xb7"
32809 			  "\x04\x0b\xfa\x71\x1f\xb0\xf6\xd9"
32810 			  "\x13\x00\x15\xf0\xc7\xeb\x0d\x5a"
32811 			  "\x9f\xd7\xb9\x6c\x65\x14\x22\x45"
32812 			  "\x6e\x45\x32\x3e\x7e\x60\x1a\x12"
32813 			  "\x97\x82\x14\xfb\xaa\x04\x22\xfa"
32814 			  "\xa0\xe5\x7e\x8c\x78\x02\x48\x5d"
32815 			  "\x78\x33\x5a\x7c\xad\xdb\x29\xce"
32816 			  "\xbb\x8b\x61\xa4\xb7\x42\xe2\xac"
32817 			  "\x8b\x1a\xd9\x2f\x0b\x8b\x62\x21"
32818 			  "\x83\x35\x7e\xad\x73\xc2\xb5\x6c"
32819 			  "\x10\x26\x38\x07\xe5\xc7\x36\x80"
32820 			  "\xe2\x23\x12\x61\xf5\x48\x4b\x2b"
32821 			  "\xc5\xdf\x15\xd9\x87\x01\xaa\xac"
32822 			  "\x1e\x7c\xad\x73\x78\x18\x63\xe0"
32823 			  "\x8b\x9f\x81\xd8\x12\x6a\x28\x10"
32824 			  "\xbe\x04\x68\x8a\x09\x7c\x1b\x1c"
32825 			  "\x83\x66\x80\x47\x80\xe8\xfd\x35"
32826 			  "\x1c\x97\x6f\xae\x49\x10\x66\xcc"
32827 			  "\xc6\xd8\xcc\x3a\x84\x91\x20\x77"
32828 			  "\x72\xe4\x24\xd2\x37\x9f\xc5\xc9"
32829 			  "\x25\x94\x10\x5f\x40\x00\x64\x99"
32830 			  "\xdc\xae\xd7\x21\x09\x78\x50\x15"
32831 			  "\xac\x5f\xc6\x2c\xa2\x0b\xa9\x39"
32832 			  "\x87\x6e\x6d\xab\xde\x08\x51\x16"
32833 			  "\xc7\x13\xe9\xea\xed\x06\x8e\x2c"
32834 			  "\xf8\x37\x8c\xf0\xa6\x96\x8d\x43"
32835 			  "\xb6\x98\x37\xb2\x43\xed\xde\xdf"
32836 			  "\x89\x1a\xe7\xeb\x9d\xa1\x7b\x0b"
32837 			  "\x77\xb0\xe2\x75\xc0\xf1\x98\xd9"
32838 			  "\x80\x55\xc9\x34\x91\xd1\x59\xe8"
32839 			  "\x4b\x0f\xc1\xa9\x4b\x7a\x84\x06"
32840 			  "\x20\xa8\x5d\xfa\xd1\xde\x70\x56"
32841 			  "\x2f\x9e\x91\x9c\x20\xb3\x24\xd8"
32842 			  "\x84\x3d\xe1\x8c\x7e\x62\x52\xe5"
32843 			  "\x44\x4b\x9f\xc2\x93\x03\xea\x2b"
32844 			  "\x59\xc5\xfa\x3f\x91\x2b\xbb\x23"
32845 			  "\xf5\xb2\x7b\xf5\x38\xaf\xb3\xee"
32846 			  "\x63\xdc\x7b\xd1\xff\xaa\x8b\xab"
32847 			  "\x82\x6b\x37\x04\xeb\x74\xbe\x79"
32848 			  "\xb9\x83\x90\xef\x20\x59\x46\xff"
32849 			  "\xe9\x97\x3e\x2f\xee\xb6\x64\x18"
32850 			  "\x38\x4c\x7a\x4a\xf9\x61\xe8\x9a"
32851 			  "\xa1\xb5\x01\xa6\x47\xd3\x11\xd4"
32852 			  "\xce\xd3\x91\x49\x88\xc7\xb8\x4d"
32853 			  "\xb1\xb9\x07\x6d\x16\x72\xae\x46"
32854 			  "\x5e\x03\xa1\x4b\xb6\x02\x30\xa8"
32855 			  "\x3d\xa9\x07\x2a\x7c\x19\xe7\x62"
32856 			  "\x87\xe3\x82\x2f\x6f\xe1\x09\xd9"
32857 			  "\x94\x97\xea\xdd\x58\x9e\xae\x76"
32858 			  "\x7e\x35\xe5\xb4\xda\x7e\xf4\xde"
32859 			  "\xf7\x32\x87\xcd\x93\xbf\x11\x56"
32860 			  "\x11\xbe\x08\x74\xe1\x69\xad\xe2"
32861 			  "\xd7\xf8\x86\x75\x8a\x3c\xa4\xbe"
32862 			  "\x70\xa7\x1b\xfc\x0b\x44\x2a\x76"
32863 			  "\x35\xea\x5d\x85\x81\xaf\x85\xeb"
32864 			  "\xa0\x1c\x61\xc2\xf7\x4f\xa5\xdc"
32865 			  "\x02\x7f\xf6\x95\x40\x6e\x8a\x9a"
32866 			  "\xf3\x5d\x25\x6e\x14\x3a\x22\xc9"
32867 			  "\x37\x1c\xeb\x46\x54\x3f\xa5\x91"
32868 			  "\xc2\xb5\x8c\xfe\x53\x08\x97\x32"
32869 			  "\x1b\xb2\x30\x27\xfe\x25\x5d\xdc"
32870 			  "\x08\x87\xd0\xe5\x94\x1a\xd4\xf1"
32871 			  "\xfe\xd6\xb4\xa3\xe6\x74\x81\x3c"
32872 			  "\x1b\xb7\x31\xa7\x22\xfd\xd4\xdd"
32873 			  "\x20\x4e\x7c\x51\xb0\x60\x73\xb8"
32874 			  "\x9c\xac\x91\x90\x7e\x01\xb0\xe1"
32875 			  "\x8a\x2f\x75\x1c\x53\x2a\x98\x2a"
32876 			  "\x06\x52\x95\x52\xb2\xe9\x25\x2e"
32877 			  "\x4c\xe2\x5a\x00\xb2\x13\x81\x03"
32878 			  "\x77\x66\x0d\xa5\x99\xda\x4e\x8c"
32879 			  "\xac\xf3\x13\x53\x27\x45\xaf\x64"
32880 			  "\x46\xdc\xea\x23\xda\x97\xd1\xab"
32881 			  "\x7d\x6c\x30\x96\x1f\xbc\x06\x34"
32882 			  "\x18\x0b\x5e\x21\x35\x11\x8d\x4c"
32883 			  "\xe0\x2d\xe9\x50\x16\x74\x81\xa8"
32884 			  "\xb4\x34\xb9\x72\x42\xa6\xcc\xbc"
32885 			  "\xca\x34\x83\x27\x10\x5b\x68\x45"
32886 			  "\x8f\x52\x22\x0c\x55\x3d\x29\x7c"
32887 			  "\xe3\xc0\x66\x05\x42\x91\x5f\x58"
32888 			  "\xfe\x4a\x62\xd9\x8c\xa9\x04\x19"
32889 			  "\x04\xa9\x08\x4b\x57\xfc\x67\x53"
32890 			  "\x08\x7c\xbc\x66\x8a\xb0\xb6\x9f"
32891 			  "\x92\xd6\x41\x7c\x5b\x2a\x00\x79"
32892 			  "\x72",
32893 		.ilen	= 1281,
32894 		.result	= "\x45\xe8\xe0\xb6\x9c\xca\xfd\x87"
32895 			  "\xe8\x1d\x37\x96\x8a\xe3\x40\x35"
32896 			  "\xcf\x5e\x3a\x46\x3d\xfb\xd0\x69"
32897 			  "\xde\xaf\x7a\xd5\x0d\xe9\x52\xec"
32898 			  "\xc2\x82\xe5\x3e\x7d\xb2\x4a\xd9"
32899 			  "\xbb\xc3\x9f\xc0\x5d\xac\x93\x8d"
32900 			  "\x0e\x6f\xd3\xd7\xfb\x6a\x0d\xce"
32901 			  "\x92\x2c\xf7\xbb\x93\x57\xcc\xee"
32902 			  "\x42\x72\x6f\xc8\x4b\xd2\x76\xbf"
32903 			  "\xa0\xe3\x7a\x39\xf9\x5c\x8e\xfd"
32904 			  "\xa1\x1d\x41\xe5\x08\xc1\x1c\x11"
32905 			  "\x92\xfd\x39\x5c\x51\xd0\x2f\x66"
32906 			  "\x33\x4a\x71\x15\xfe\xee\x12\x54"
32907 			  "\x8c\x8f\x34\xd8\x50\x3c\x18\xa6"
32908 			  "\xc5\xe1\x46\x8a\xfb\x5f\x7e\x25"
32909 			  "\x9b\xe2\xc3\x66\x41\x2b\xb3\xa5"
32910 			  "\x57\x0e\x94\x17\x26\x39\xbb\x54"
32911 			  "\xae\x2e\x6f\x42\xfb\x4d\x89\x6f"
32912 			  "\x9d\xf1\x16\x2e\xe3\xe7\xfc\xe3"
32913 			  "\xb2\x4b\x2b\xa6\x7c\x04\x69\x3a"
32914 			  "\x70\x5a\xa7\xf1\x31\x64\x19\xca"
32915 			  "\x45\x79\xd8\x58\x23\x61\xaf\xc2"
32916 			  "\x52\x05\xc3\x0b\xc1\x64\x7c\x81"
32917 			  "\xd9\x11\xcf\xff\x02\x3d\x51\x84"
32918 			  "\x01\xac\xc6\x2e\x34\x2b\x09\x3a"
32919 			  "\xa8\x5d\x98\x0e\x89\xd9\xef\x8f"
32920 			  "\xd9\xd7\x7d\xdd\x63\x47\x46\x7d"
32921 			  "\xa1\xda\x0b\x53\x7d\x79\xcd\xc9"
32922 			  "\x86\xdd\x6b\x13\xa1\x9a\x70\xdd"
32923 			  "\x5c\xa1\x69\x3c\xe4\x5d\xe3\x8c"
32924 			  "\xe5\xf4\x87\x9c\x10\xcf\x0f\x0b"
32925 			  "\xc8\x43\xdc\xf8\x1d\x62\x5e\x5b"
32926 			  "\xe2\x03\x06\xc5\x71\xb6\x48\xa5"
32927 			  "\xf0\x0f\x2d\xd5\xa2\x73\x55\x8f"
32928 			  "\x01\xa7\x59\x80\x5f\x11\x6c\x40"
32929 			  "\xff\xb1\xf2\xc6\x7e\x01\xbb\x1c"
32930 			  "\x69\x9c\xc9\x3f\x71\x5f\x07\x7e"
32931 			  "\xdf\x6f\x99\xca\x9c\xfd\xf9\xb9"
32932 			  "\x49\xe7\xcc\x91\xd5\x9b\x8f\x03"
32933 			  "\xae\xe7\x61\x32\xef\x41\x6c\x75"
32934 			  "\x84\x9b\x8c\xce\x1d\x6b\x93\x21"
32935 			  "\x41\xec\xc6\xad\x8e\x0c\x48\xa8"
32936 			  "\xe2\xf5\x57\xde\xf7\x38\xfd\x4a"
32937 			  "\x6f\xa7\x4a\xf9\xac\x7d\xb1\x85"
32938 			  "\x7d\x6c\x95\x0a\x5a\xcf\x68\xd2"
32939 			  "\xe0\x7a\x26\xd9\xc1\x6d\x3e\xc6"
32940 			  "\x37\xbd\xbe\x24\x36\x77\x9f\x1b"
32941 			  "\xc1\x22\xf3\x79\xae\x95\x78\x66"
32942 			  "\x97\x11\xc0\x1a\xf1\xe8\x0d\x38"
32943 			  "\x09\xc2\xee\xb7\xd3\x46\x7b\x59"
32944 			  "\x77\x23\xe8\xb4\x92\x3d\x78\xbe"
32945 			  "\xe2\x25\x63\xa5\x2a\x06\x70\x92"
32946 			  "\x32\x63\xf9\x19\x21\x68\xe1\x0b"
32947 			  "\x9a\xd0\xee\x21\xdb\x1f\xe0\xde"
32948 			  "\x3e\x64\x02\x4d\x0e\xe0\x0a\xa9"
32949 			  "\xed\x19\x8c\xa8\xbf\xe3\x2e\x75"
32950 			  "\x24\x2b\xb0\xe5\x82\x6a\x1e\x6f"
32951 			  "\x71\x2a\x3a\x60\xed\x06\x0d\x17"
32952 			  "\xa2\xdb\x29\x1d\xae\xb2\xc4\xfb"
32953 			  "\x94\x04\xd8\x58\xfc\xc4\x04\x4e"
32954 			  "\xee\xc7\xc1\x0f\xe9\x9b\x63\x2d"
32955 			  "\x02\x3e\x02\x67\xe5\xd8\xbb\x79"
32956 			  "\xdf\xd2\xeb\x50\xe9\x0a\x02\x46"
32957 			  "\xdf\x68\xcf\xe7\x2b\x0a\x56\xd6"
32958 			  "\xf7\xbc\x44\xad\xb8\xb5\x5f\xeb"
32959 			  "\xbc\x74\x6b\xe8\x7e\xb0\x60\xc6"
32960 			  "\x0d\x96\x09\xbb\x19\xba\xe0\x3c"
32961 			  "\xc4\x6c\xbf\x0f\x58\xc0\x55\x62"
32962 			  "\x23\xa0\xff\xb5\x1c\xfd\x18\xe1"
32963 			  "\xcf\x6d\xd3\x52\xb4\xce\xa6\xfa"
32964 			  "\xaa\xfb\x1b\x0b\x42\x6d\x79\x42"
32965 			  "\x48\x70\x5b\x0e\xdd\x3a\xc9\x69"
32966 			  "\x8b\x73\x67\xf6\x95\xdb\x8c\xfb"
32967 			  "\xfd\xb5\x08\x47\x42\x84\x9a\xfa"
32968 			  "\xcc\x67\xb2\x3c\xb6\xfd\xd8\x32"
32969 			  "\xd6\x04\xb6\x4a\xea\x53\x4b\xf5"
32970 			  "\x94\x16\xad\xf0\x10\x2e\x2d\xb4"
32971 			  "\x8b\xab\xe5\x89\xc7\x39\x12\xf3"
32972 			  "\x8d\xb5\x96\x0b\x87\x5d\xa7\x7c"
32973 			  "\xb0\xc2\xf6\x2e\x57\x97\x2c\xdc"
32974 			  "\x54\x1c\x34\x72\xde\x0c\x68\x39"
32975 			  "\x9d\x32\xa5\x75\x92\x13\x32\xea"
32976 			  "\x90\x27\xbd\x5b\x1d\xb9\x21\x02"
32977 			  "\x1c\xcc\xba\x97\x5e\x49\x58\xe8"
32978 			  "\xac\x8b\xf3\xce\x3c\xf0\x00\xe9"
32979 			  "\x6c\xae\xe9\x77\xdf\xf4\x02\xcd"
32980 			  "\x55\x25\x89\x9e\x90\xf3\x6b\x8f"
32981 			  "\xb7\xd6\x47\x98\x26\x2f\x31\x2f"
32982 			  "\x8d\xbf\x54\xcd\x99\xeb\x80\xd7"
32983 			  "\xac\xc3\x08\xc2\xa6\x32\xf1\x24"
32984 			  "\x76\x7c\x4f\x78\x53\x55\xfb\x00"
32985 			  "\x8a\xd6\x52\x53\x25\x45\xfb\x0a"
32986 			  "\x6b\xb9\xbe\x3c\x5e\x11\xcc\x6a"
32987 			  "\xdd\xfc\xa7\xc4\x79\x4d\xbd\xfb"
32988 			  "\xce\x3a\xf1\x7a\xda\xeb\xfe\x64"
32989 			  "\x28\x3d\x0f\xee\x80\xba\x0c\xf8"
32990 			  "\xe9\x5b\x3a\xd4\xae\xc9\xf3\x0e"
32991 			  "\xe8\x5d\xc5\x5c\x0b\x20\x20\xee"
32992 			  "\x40\x0d\xde\x07\xa7\x14\xb4\x90"
32993 			  "\xb6\xbd\x3b\xae\x7d\x2b\xa7\xc7"
32994 			  "\xdc\x0b\x4c\x5d\x65\xb0\xd2\xc5"
32995 			  "\x79\x61\x23\xe0\xa2\x99\x73\x55"
32996 			  "\xad\xc6\xfb\xc7\x54\xb5\x98\x1f"
32997 			  "\x8c\x86\xc2\x3f\xbe\x5e\xea\x64"
32998 			  "\xa3\x60\x18\x9f\x80\xaf\x52\x74"
32999 			  "\x1a\xfe\x22\xc2\x92\x67\x40\x02"
33000 			  "\x08\xee\x67\x5b\x67\xe0\x3d\xde"
33001 			  "\x7a\xaf\x8e\x28\xf3\x5e\x0e\xf4"
33002 			  "\x48\x56\xaa\x85\x22\xd8\x36\xed"
33003 			  "\x3b\x3d\x68\x69\x30\xbc\x71\x23"
33004 			  "\xb1\x6e\x61\x03\x89\x44\x03\xf4"
33005 			  "\x32\xaa\x4c\x40\x9f\x69\xfb\x70"
33006 			  "\x91\xcc\x1f\x11\xbd\x76\x67\xe6"
33007 			  "\x10\x8b\x29\x39\x68\xea\x4e\x6d"
33008 			  "\xae\xfb\x40\xcf\xe2\xd0\x0d\x8d"
33009 			  "\x6f\xed\x9b\x8d\x64\x7a\x94\x8e"
33010 			  "\x32\x38\x78\xeb\x7d\x5f\xf9\x4d"
33011 			  "\x13\xbe\x21\xea\x16\xe7\x5c\xee"
33012 			  "\xcd\xf6\x5f\xc6\x45\xb2\x8f\x2b"
33013 			  "\xb5\x93\x3e\x45\xdb\xfd\xa2\x6a"
33014 			  "\xec\x83\x92\x99\x87\x47\xe0\x7c"
33015 			  "\xa2\x7b\xc4\x2a\xcd\xc0\x81\x03"
33016 			  "\x98\xb0\x87\xb6\x86\x13\x64\x33"
33017 			  "\x4c\xd7\x99\xbf\xdb\x7b\x6e\xaa"
33018 			  "\x76\xcc\xa0\x74\x1b\xa3\x6e\x83"
33019 			  "\xd4\xba\x7a\x84\x9d\x91\x71\xcd"
33020 			  "\x60\x2d\x56\xfd\x26\x35\xcb\xeb"
33021 			  "\xac\xe9\xee\xa4\xfc\x18\x5b\x91"
33022 			  "\xd5\xfe\x84\x45\xe0\xc7\xfd\x11"
33023 			  "\xe9\x00\xb6\x54\xdf\xe1\x94\xde"
33024 			  "\x2b\x70\x9f\x94\x7f\x15\x0e\x83"
33025 			  "\x63\x10\xb3\xf5\xea\xd3\xe8\xd1"
33026 			  "\xa5\xfc\x17\x19\x68\x9a\xbc\x17"
33027 			  "\x30\x43\x0a\x1a\x33\x92\xd4\x2a"
33028 			  "\x2e\x68\x99\xbc\x49\xf0\x68\xe3"
33029 			  "\xf0\x1f\xcb\xcc\xfa\xbb\x05\x56"
33030 			  "\x46\x84\x8b\x69\x83\x64\xc5\xe0"
33031 			  "\xc5\x52\x99\x07\x3c\xa6\x5c\xaf"
33032 			  "\xa3\xde\xd7\xdb\x43\xe6\xb7\x76"
33033 			  "\x4e\x4d\xd6\x71\x60\x63\x4a\x0c"
33034 			  "\x5f\xae\x25\x84\x22\x90\x5f\x26"
33035 			  "\x61\x4d\x8f\xaf\xc9\x22\xf2\x05"
33036 			  "\xcf\xc1\xdc\x68\xe5\x57\x8e\x24"
33037 			  "\x1b\x30\x59\xca\xd7\x0d\xc3\xd3"
33038 			  "\x52\x9e\x09\x3e\x0e\xaf\xdb\x5f"
33039 			  "\xc7\x2b\xde\x3a\xfd\xad\x93\x04"
33040 			  "\x74\x06\x89\x0e\x90\xeb\x85\xff"
33041 			  "\xe6\x3c\x12\x42\xf4\xfa\x80\x75"
33042 			  "\x5e\x4e\xd7\x2f\x93\x0b\x34\x41"
33043 			  "\x02\x85\x68\xd0\x03\x12\xde\x92"
33044 			  "\x54\x7a\x7e\xfb\x55\xe7\x88\xfb"
33045 			  "\xa4\xa9\xf2\xd1\xc6\x70\x06\x37"
33046 			  "\x25\xee\xa7\x6e\xd9\x89\x86\x50"
33047 			  "\x2e\x07\xdb\xfb\x2a\x86\x45\x0e"
33048 			  "\x91\xf4\x7c\xbb\x12\x60\xe8\x3f"
33049 			  "\x71\xbe\x8f\x9d\x26\xef\xd9\x89"
33050 			  "\xc4\x8f\xd8\xc5\x73\xd8\x84\xaa"
33051 			  "\x2f\xad\x22\x1e\x7e\xcf\xa2\x08"
33052 			  "\x23\x45\x89\x42\xa0\x30\xeb\xbf"
33053 			  "\xa1\xed\xad\xd5\x76\xfa\x24\x8f"
33054 			  "\x98",
33055 		.rlen	= 1281,
33056 		.also_non_np = 1,
33057 		.np	= 3,
33058 		.tap	= { 1200, 1, 80 },
33059 	},
33060 };
33061 
33062 /*
33063  * CTS (Cipher Text Stealing) mode tests
33064  */
33065 static const struct cipher_testvec cts_mode_enc_tv_template[] = {
33066 	{ /* from rfc3962 */
33067 		.klen	= 16,
33068 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33069 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33070 		.ilen	= 17,
33071 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33072 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33073 			  "\x20",
33074 		.rlen	= 17,
33075 		.result	= "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
33076 			  "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
33077 			  "\x97",
33078 	}, {
33079 		.klen	= 16,
33080 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33081 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33082 		.ilen   = 31,
33083 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33084 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33085 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33086 			  "\x20\x47\x61\x75\x27\x73\x20",
33087 		.rlen   = 31,
33088 		.result = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
33089 			  "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
33090 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33091 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
33092 	}, {
33093 		.klen	= 16,
33094 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33095 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33096 		.ilen   = 32,
33097 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33098 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33099 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33100 			  "\x20\x47\x61\x75\x27\x73\x20\x43",
33101 		.rlen   = 32,
33102 		.result = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33103 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33104 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33105 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
33106 	}, {
33107 		.klen	= 16,
33108 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33109 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33110 		.ilen   = 47,
33111 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33112 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33113 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33114 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33115 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33116 			  "\x70\x6c\x65\x61\x73\x65\x2c",
33117 		.rlen   = 47,
33118 		.result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33119 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33120 			  "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
33121 			  "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
33122 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33123 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
33124 	}, {
33125 		.klen	= 16,
33126 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33127 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33128 		.ilen   = 48,
33129 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33130 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33131 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33132 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33133 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33134 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20",
33135 		.rlen   = 48,
33136 		.result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33137 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33138 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33139 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
33140 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33141 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
33142 	}, {
33143 		.klen	= 16,
33144 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33145 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33146 		.ilen   = 64,
33147 		.input  = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33148 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33149 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33150 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33151 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33152 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20"
33153 			  "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
33154 			  "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
33155 		.rlen   = 64,
33156 		.result = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33157 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33158 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33159 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33160 			  "\x48\x07\xef\xe8\x36\xee\x89\xa5"
33161 			  "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
33162 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33163 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
33164 	}
33165 };
33166 
33167 static const struct cipher_testvec cts_mode_dec_tv_template[] = {
33168 	{ /* from rfc3962 */
33169 		.klen	= 16,
33170 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33171 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33172 		.rlen	= 17,
33173 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33174 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33175 			  "\x20",
33176 		.ilen	= 17,
33177 		.input	= "\xc6\x35\x35\x68\xf2\xbf\x8c\xb4"
33178 			  "\xd8\xa5\x80\x36\x2d\xa7\xff\x7f"
33179 			  "\x97",
33180 	}, {
33181 		.klen	= 16,
33182 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33183 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33184 		.rlen   = 31,
33185 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33186 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33187 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33188 			  "\x20\x47\x61\x75\x27\x73\x20",
33189 		.ilen   = 31,
33190 		.input  = "\xfc\x00\x78\x3e\x0e\xfd\xb2\xc1"
33191 			  "\xd4\x45\xd4\xc8\xef\xf7\xed\x22"
33192 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33193 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5",
33194 	}, {
33195 		.klen	= 16,
33196 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33197 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33198 		.rlen   = 32,
33199 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33200 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33201 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33202 			  "\x20\x47\x61\x75\x27\x73\x20\x43",
33203 		.ilen   = 32,
33204 		.input  = "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33205 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33206 			  "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33207 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84",
33208 	}, {
33209 		.klen	= 16,
33210 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33211 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33212 		.rlen   = 47,
33213 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33214 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33215 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33216 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33217 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33218 			  "\x70\x6c\x65\x61\x73\x65\x2c",
33219 		.ilen   = 47,
33220 		.input  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33221 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33222 			  "\xb3\xff\xfd\x94\x0c\x16\xa1\x8c"
33223 			  "\x1b\x55\x49\xd2\xf8\x38\x02\x9e"
33224 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33225 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5",
33226 	}, {
33227 		.klen	= 16,
33228 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33229 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33230 		.rlen   = 48,
33231 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33232 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33233 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33234 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33235 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33236 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20",
33237 		.ilen   = 48,
33238 		.input  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33239 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33240 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33241 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8"
33242 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33243 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8",
33244 	}, {
33245 		.klen	= 16,
33246 		.key    = "\x63\x68\x69\x63\x6b\x65\x6e\x20"
33247 			  "\x74\x65\x72\x69\x79\x61\x6b\x69",
33248 		.rlen   = 64,
33249 		.result = "\x49\x20\x77\x6f\x75\x6c\x64\x20"
33250 			  "\x6c\x69\x6b\x65\x20\x74\x68\x65"
33251 			  "\x20\x47\x65\x6e\x65\x72\x61\x6c"
33252 			  "\x20\x47\x61\x75\x27\x73\x20\x43"
33253 			  "\x68\x69\x63\x6b\x65\x6e\x2c\x20"
33254 			  "\x70\x6c\x65\x61\x73\x65\x2c\x20"
33255 			  "\x61\x6e\x64\x20\x77\x6f\x6e\x74"
33256 			  "\x6f\x6e\x20\x73\x6f\x75\x70\x2e",
33257 		.ilen   = 64,
33258 		.input  = "\x97\x68\x72\x68\xd6\xec\xcc\xc0"
33259 			  "\xc0\x7b\x25\xe2\x5e\xcf\xe5\x84"
33260 			  "\x39\x31\x25\x23\xa7\x86\x62\xd5"
33261 			  "\xbe\x7f\xcb\xcc\x98\xeb\xf5\xa8"
33262 			  "\x48\x07\xef\xe8\x36\xee\x89\xa5"
33263 			  "\x26\x73\x0d\xbc\x2f\x7b\xc8\x40"
33264 			  "\x9d\xad\x8b\xbb\x96\xc4\xcd\xc0"
33265 			  "\x3b\xc1\x03\xe1\xa1\x94\xbb\xd8",
33266 	}
33267 };
33268 
33269 /*
33270  * Compression stuff.
33271  */
33272 #define COMP_BUF_SIZE           512
33273 
33274 struct comp_testvec {
33275 	int inlen, outlen;
33276 	char input[COMP_BUF_SIZE];
33277 	char output[COMP_BUF_SIZE];
33278 };
33279 
33280 /*
33281  * Deflate test vectors (null-terminated strings).
33282  * Params: winbits=-11, Z_DEFAULT_COMPRESSION, MAX_MEM_LEVEL.
33283  */
33284 
33285 static const struct comp_testvec deflate_comp_tv_template[] = {
33286 	{
33287 		.inlen	= 70,
33288 		.outlen	= 38,
33289 		.input	= "Join us now and share the software "
33290 			"Join us now and share the software ",
33291 		.output	= "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33292 			  "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33293 			  "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33294 			  "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33295 			  "\x71\xbc\x08\x2b\x01\x00",
33296 	}, {
33297 		.inlen	= 191,
33298 		.outlen	= 122,
33299 		.input	= "This document describes a compression method based on the DEFLATE"
33300 			"compression algorithm.  This document defines the application of "
33301 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33302 		.output	= "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33303 			  "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33304 			  "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33305 			  "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33306 			  "\x68\x12\x51\xae\x76\x67\xd6\x27"
33307 			  "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33308 			  "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33309 			  "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33310 			  "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33311 			  "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33312 			  "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33313 			  "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33314 			  "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33315 			  "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33316 			  "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33317 			  "\xfa\x02",
33318 	},
33319 };
33320 
33321 static const struct comp_testvec deflate_decomp_tv_template[] = {
33322 	{
33323 		.inlen	= 122,
33324 		.outlen	= 191,
33325 		.input	= "\x5d\x8d\x31\x0e\xc2\x30\x10\x04"
33326 			  "\xbf\xb2\x2f\xc8\x1f\x10\x04\x09"
33327 			  "\x89\xc2\x85\x3f\x70\xb1\x2f\xf8"
33328 			  "\x24\xdb\x67\xd9\x47\xc1\xef\x49"
33329 			  "\x68\x12\x51\xae\x76\x67\xd6\x27"
33330 			  "\x19\x88\x1a\xde\x85\xab\x21\xf2"
33331 			  "\x08\x5d\x16\x1e\x20\x04\x2d\xad"
33332 			  "\xf3\x18\xa2\x15\x85\x2d\x69\xc4"
33333 			  "\x42\x83\x23\xb6\x6c\x89\x71\x9b"
33334 			  "\xef\xcf\x8b\x9f\xcf\x33\xca\x2f"
33335 			  "\xed\x62\xa9\x4c\x80\xff\x13\xaf"
33336 			  "\x52\x37\xed\x0e\x52\x6b\x59\x02"
33337 			  "\xd9\x4e\xe8\x7a\x76\x1d\x02\x98"
33338 			  "\xfe\x8a\x87\x83\xa3\x4f\x56\x8a"
33339 			  "\xb8\x9e\x8e\x5c\x57\xd3\xa0\x79"
33340 			  "\xfa\x02",
33341 		.output	= "This document describes a compression method based on the DEFLATE"
33342 			"compression algorithm.  This document defines the application of "
33343 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33344 	}, {
33345 		.inlen	= 38,
33346 		.outlen	= 70,
33347 		.input	= "\xf3\xca\xcf\xcc\x53\x28\x2d\x56"
33348 			  "\xc8\xcb\x2f\x57\x48\xcc\x4b\x51"
33349 			  "\x28\xce\x48\x2c\x4a\x55\x28\xc9"
33350 			  "\x48\x55\x28\xce\x4f\x2b\x29\x07"
33351 			  "\x71\xbc\x08\x2b\x01\x00",
33352 		.output	= "Join us now and share the software "
33353 			"Join us now and share the software ",
33354 	},
33355 };
33356 
33357 static const struct comp_testvec zlib_deflate_comp_tv_template[] = {
33358 	{
33359 		.inlen	= 70,
33360 		.outlen	= 44,
33361 		.input	= "Join us now and share the software "
33362 			"Join us now and share the software ",
33363 		.output	= "\x78\x5e\xf3\xca\xcf\xcc\x53\x28"
33364 			  "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
33365 			  "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
33366 			  "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
33367 			  "\x29\x07\x71\xbc\x08\x2b\x01\x00"
33368 			  "\x7c\x65\x19\x3d",
33369 	}, {
33370 		.inlen	= 191,
33371 		.outlen	= 129,
33372 		.input	= "This document describes a compression method based on the DEFLATE"
33373 			"compression algorithm.  This document defines the application of "
33374 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33375 		.output	= "\x78\x5e\x5d\xce\x41\x0a\xc3\x30"
33376 			  "\x0c\x04\xc0\xaf\xec\x0b\xf2\x87"
33377 			  "\xd2\xa6\x50\xe8\xc1\x07\x7f\x40"
33378 			  "\xb1\x95\x5a\x60\x5b\xc6\x56\x0f"
33379 			  "\xfd\x7d\x93\x1e\x42\xe8\x51\xec"
33380 			  "\xee\x20\x9f\x64\x20\x6a\x78\x17"
33381 			  "\xae\x86\xc8\x23\x74\x59\x78\x80"
33382 			  "\x10\xb4\xb4\xce\x63\x88\x56\x14"
33383 			  "\xb6\xa4\x11\x0b\x0d\x8e\xd8\x6e"
33384 			  "\x4b\x8c\xdb\x7c\x7f\x5e\xfc\x7c"
33385 			  "\xae\x51\x7e\x69\x17\x4b\x65\x02"
33386 			  "\xfc\x1f\xbc\x4a\xdd\xd8\x7d\x48"
33387 			  "\xad\x65\x09\x64\x3b\xac\xeb\xd9"
33388 			  "\xc2\x01\xc0\xf4\x17\x3c\x1c\x1c"
33389 			  "\x7d\xb2\x52\xc4\xf5\xf4\x8f\xeb"
33390 			  "\x6a\x1a\x34\x4f\x5f\x2e\x32\x45"
33391 			  "\x4e",
33392 	},
33393 };
33394 
33395 static const struct comp_testvec zlib_deflate_decomp_tv_template[] = {
33396 	{
33397 		.inlen	= 128,
33398 		.outlen	= 191,
33399 		.input	= "\x78\x9c\x5d\x8d\x31\x0e\xc2\x30"
33400 			  "\x10\x04\xbf\xb2\x2f\xc8\x1f\x10"
33401 			  "\x04\x09\x89\xc2\x85\x3f\x70\xb1"
33402 			  "\x2f\xf8\x24\xdb\x67\xd9\x47\xc1"
33403 			  "\xef\x49\x68\x12\x51\xae\x76\x67"
33404 			  "\xd6\x27\x19\x88\x1a\xde\x85\xab"
33405 			  "\x21\xf2\x08\x5d\x16\x1e\x20\x04"
33406 			  "\x2d\xad\xf3\x18\xa2\x15\x85\x2d"
33407 			  "\x69\xc4\x42\x83\x23\xb6\x6c\x89"
33408 			  "\x71\x9b\xef\xcf\x8b\x9f\xcf\x33"
33409 			  "\xca\x2f\xed\x62\xa9\x4c\x80\xff"
33410 			  "\x13\xaf\x52\x37\xed\x0e\x52\x6b"
33411 			  "\x59\x02\xd9\x4e\xe8\x7a\x76\x1d"
33412 			  "\x02\x98\xfe\x8a\x87\x83\xa3\x4f"
33413 			  "\x56\x8a\xb8\x9e\x8e\x5c\x57\xd3"
33414 			  "\xa0\x79\xfa\x02\x2e\x32\x45\x4e",
33415 		.output	= "This document describes a compression method based on the DEFLATE"
33416 			"compression algorithm.  This document defines the application of "
33417 			"the DEFLATE algorithm to the IP Payload Compression Protocol.",
33418 	}, {
33419 		.inlen	= 44,
33420 		.outlen	= 70,
33421 		.input	= "\x78\x9c\xf3\xca\xcf\xcc\x53\x28"
33422 			  "\x2d\x56\xc8\xcb\x2f\x57\x48\xcc"
33423 			  "\x4b\x51\x28\xce\x48\x2c\x4a\x55"
33424 			  "\x28\xc9\x48\x55\x28\xce\x4f\x2b"
33425 			  "\x29\x07\x71\xbc\x08\x2b\x01\x00"
33426 			  "\x7c\x65\x19\x3d",
33427 		.output	= "Join us now and share the software "
33428 			"Join us now and share the software ",
33429 	},
33430 };
33431 
33432 /*
33433  * LZO test vectors (null-terminated strings).
33434  */
33435 static const struct comp_testvec lzo_comp_tv_template[] = {
33436 	{
33437 		.inlen	= 70,
33438 		.outlen	= 57,
33439 		.input	= "Join us now and share the software "
33440 			"Join us now and share the software ",
33441 		.output	= "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
33442 			  "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
33443 			  "\x64\x20\x73\x68\x61\x72\x65\x20"
33444 			  "\x74\x68\x65\x20\x73\x6f\x66\x74"
33445 			  "\x77\x70\x01\x32\x88\x00\x0c\x65"
33446 			  "\x20\x74\x68\x65\x20\x73\x6f\x66"
33447 			  "\x74\x77\x61\x72\x65\x20\x11\x00"
33448 			  "\x00",
33449 	}, {
33450 		.inlen	= 159,
33451 		.outlen	= 131,
33452 		.input	= "This document describes a compression method based on the LZO "
33453 			"compression algorithm.  This document defines the application of "
33454 			"the LZO algorithm used in UBIFS.",
33455 		.output	= "\x00\x2c\x54\x68\x69\x73\x20\x64"
33456 			  "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33457 			  "\x64\x65\x73\x63\x72\x69\x62\x65"
33458 			  "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33459 			  "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33460 			  "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33461 			  "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33462 			  "\x74\x68\x65\x20\x4c\x5a\x4f\x20"
33463 			  "\x2a\x8c\x00\x09\x61\x6c\x67\x6f"
33464 			  "\x72\x69\x74\x68\x6d\x2e\x20\x20"
33465 			  "\x2e\x54\x01\x03\x66\x69\x6e\x65"
33466 			  "\x73\x20\x74\x06\x05\x61\x70\x70"
33467 			  "\x6c\x69\x63\x61\x74\x76\x0a\x6f"
33468 			  "\x66\x88\x02\x60\x09\x27\xf0\x00"
33469 			  "\x0c\x20\x75\x73\x65\x64\x20\x69"
33470 			  "\x6e\x20\x55\x42\x49\x46\x53\x2e"
33471 			  "\x11\x00\x00",
33472 	},
33473 };
33474 
33475 static const struct comp_testvec lzo_decomp_tv_template[] = {
33476 	{
33477 		.inlen	= 133,
33478 		.outlen	= 159,
33479 		.input	= "\x00\x2b\x54\x68\x69\x73\x20\x64"
33480 			  "\x6f\x63\x75\x6d\x65\x6e\x74\x20"
33481 			  "\x64\x65\x73\x63\x72\x69\x62\x65"
33482 			  "\x73\x20\x61\x20\x63\x6f\x6d\x70"
33483 			  "\x72\x65\x73\x73\x69\x6f\x6e\x20"
33484 			  "\x6d\x65\x74\x68\x6f\x64\x20\x62"
33485 			  "\x61\x73\x65\x64\x20\x6f\x6e\x20"
33486 			  "\x74\x68\x65\x20\x4c\x5a\x4f\x2b"
33487 			  "\x8c\x00\x0d\x61\x6c\x67\x6f\x72"
33488 			  "\x69\x74\x68\x6d\x2e\x20\x20\x54"
33489 			  "\x68\x69\x73\x2a\x54\x01\x02\x66"
33490 			  "\x69\x6e\x65\x73\x94\x06\x05\x61"
33491 			  "\x70\x70\x6c\x69\x63\x61\x74\x76"
33492 			  "\x0a\x6f\x66\x88\x02\x60\x09\x27"
33493 			  "\xf0\x00\x0c\x20\x75\x73\x65\x64"
33494 			  "\x20\x69\x6e\x20\x55\x42\x49\x46"
33495 			  "\x53\x2e\x11\x00\x00",
33496 		.output	= "This document describes a compression method based on the LZO "
33497 			"compression algorithm.  This document defines the application of "
33498 			"the LZO algorithm used in UBIFS.",
33499 	}, {
33500 		.inlen	= 46,
33501 		.outlen	= 70,
33502 		.input	= "\x00\x0d\x4a\x6f\x69\x6e\x20\x75"
33503 			  "\x73\x20\x6e\x6f\x77\x20\x61\x6e"
33504 			  "\x64\x20\x73\x68\x61\x72\x65\x20"
33505 			  "\x74\x68\x65\x20\x73\x6f\x66\x74"
33506 			  "\x77\x70\x01\x01\x4a\x6f\x69\x6e"
33507 			  "\x3d\x88\x00\x11\x00\x00",
33508 		.output	= "Join us now and share the software "
33509 			"Join us now and share the software ",
33510 	},
33511 };
33512 
33513 /*
33514  * Michael MIC test vectors from IEEE 802.11i
33515  */
33516 #define MICHAEL_MIC_TEST_VECTORS 6
33517 
33518 static const struct hash_testvec michael_mic_tv_template[] = {
33519 	{
33520 		.key = "\x00\x00\x00\x00\x00\x00\x00\x00",
33521 		.ksize = 8,
33522 		.plaintext = zeroed_string,
33523 		.psize = 0,
33524 		.digest = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
33525 	},
33526 	{
33527 		.key = "\x82\x92\x5c\x1c\xa1\xd1\x30\xb8",
33528 		.ksize = 8,
33529 		.plaintext = "M",
33530 		.psize = 1,
33531 		.digest = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
33532 	},
33533 	{
33534 		.key = "\x43\x47\x21\xca\x40\x63\x9b\x3f",
33535 		.ksize = 8,
33536 		.plaintext = "Mi",
33537 		.psize = 2,
33538 		.digest = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
33539 	},
33540 	{
33541 		.key = "\xe8\xf9\xbe\xca\xe9\x7e\x5d\x29",
33542 		.ksize = 8,
33543 		.plaintext = "Mic",
33544 		.psize = 3,
33545 		.digest = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
33546 	},
33547 	{
33548 		.key = "\x90\x03\x8f\xc6\xcf\x13\xc1\xdb",
33549 		.ksize = 8,
33550 		.plaintext = "Mich",
33551 		.psize = 4,
33552 		.digest = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
33553 	},
33554 	{
33555 		.key = "\xd5\x5e\x10\x05\x10\x12\x89\x86",
33556 		.ksize = 8,
33557 		.plaintext = "Michael",
33558 		.psize = 7,
33559 		.digest = "\x0a\x94\x2b\x12\x4e\xca\xa5\x46",
33560 	}
33561 };
33562 
33563 /*
33564  * CRC32 test vectors
33565  */
33566 static const struct hash_testvec crc32_tv_template[] = {
33567 	{
33568 		.key = "\x87\xa9\xcb\xed",
33569 		.ksize = 4,
33570 		.psize = 0,
33571 		.digest = "\x87\xa9\xcb\xed",
33572 	},
33573 	{
33574 		.key = "\xff\xff\xff\xff",
33575 		.ksize = 4,
33576 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33577 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33578 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
33579 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33580 			     "\x21\x22\x23\x24\x25\x26\x27\x28",
33581 		.psize = 40,
33582 		.digest = "\x3a\xdf\x4b\xb0",
33583 	},
33584 	{
33585 		.key = "\xff\xff\xff\xff",
33586 		.ksize = 4,
33587 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33588 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33589 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33590 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33591 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33592 		.psize = 40,
33593 		.digest = "\xa9\x7a\x7f\x7b",
33594 	},
33595 	{
33596 		.key = "\xff\xff\xff\xff",
33597 		.ksize = 4,
33598 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33599 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33600 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
33601 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33602 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
33603 		.psize = 40,
33604 		.digest = "\xba\xd3\xf8\x1c",
33605 	},
33606 	{
33607 		.key = "\xff\xff\xff\xff",
33608 		.ksize = 4,
33609 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33610 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
33611 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33612 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
33613 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33614 		.psize = 40,
33615 		.digest = "\xa8\xa9\xc2\x02",
33616 	},
33617 	{
33618 		.key = "\xff\xff\xff\xff",
33619 		.ksize = 4,
33620 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33621 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33622 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33623 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33624 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33625 		.psize = 40,
33626 		.digest = "\x27\xf0\x57\xe2",
33627 	},
33628 	{
33629 		.key = "\xff\xff\xff\xff",
33630 		.ksize = 4,
33631 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33632 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33633 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33634 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33635 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33636 		.psize = 40,
33637 		.digest = "\x49\x78\x10\x08",
33638 	},
33639 	{
33640 		.key = "\x80\xea\xd3\xf1",
33641 		.ksize = 4,
33642 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33643 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33644 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33645 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33646 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
33647 		.psize = 40,
33648 		.digest = "\x9a\xb1\xdc\xf0",
33649 	},
33650 	{
33651 		.key = "\xf3\x4a\x1d\x5d",
33652 		.ksize = 4,
33653 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
33654 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33655 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
33656 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33657 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
33658 		.psize = 40,
33659 		.digest = "\xb4\x97\xcc\xd4",
33660 	},
33661 	{
33662 		.key = "\x2e\x80\x04\x59",
33663 		.ksize = 4,
33664 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33665 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
33666 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33667 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
33668 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
33669 		.psize = 40,
33670 		.digest = "\x67\x9b\xfa\x79",
33671 	},
33672 	{
33673 		.key = "\xa6\xcc\x19\x85",
33674 		.ksize = 4,
33675 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33676 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33677 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33678 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33679 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
33680 		.psize = 40,
33681 		.digest = "\x24\xb5\x16\xef",
33682 	},
33683 	{
33684 		.key = "\x41\xfc\xfe\x2d",
33685 		.ksize = 4,
33686 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33687 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33688 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33689 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33690 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33691 		.psize = 40,
33692 		.digest = "\x15\x94\x80\x39",
33693 	},
33694 	{
33695 		.key = "\xff\xff\xff\xff",
33696 		.ksize = 4,
33697 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
33698 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
33699 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
33700 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
33701 			     "\x21\x22\x23\x24\x25\x26\x27\x28"
33702 			     "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
33703 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
33704 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
33705 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
33706 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
33707 			     "\x51\x52\x53\x54\x55\x56\x57\x58"
33708 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
33709 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
33710 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
33711 			     "\x71\x72\x73\x74\x75\x76\x77\x78"
33712 			     "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
33713 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
33714 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
33715 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
33716 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
33717 			     "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
33718 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
33719 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
33720 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
33721 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
33722 			     "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
33723 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
33724 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
33725 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
33726 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
33727 		.psize = 240,
33728 		.digest = "\x6c\xc6\x56\xde",
33729 		.np = 2,
33730 		.tap = { 31, 209 }
33731 	}, {
33732 		.key = "\xff\xff\xff\xff",
33733 		.ksize = 4,
33734 		.plaintext =	"\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
33735 				"\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
33736 				"\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
33737 				"\xa1\x38\xcf\x43\xda\x71\x08\x7c"
33738 				"\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
33739 				"\x85\x1c\x90\x27\xbe\x32\xc9\x60"
33740 				"\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
33741 				"\x46\xdd\x74\x0b\x7f\x16\xad\x21"
33742 				"\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
33743 				"\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
33744 				"\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
33745 				"\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
33746 				"\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
33747 				"\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
33748 				"\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
33749 				"\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
33750 				"\x02\x99\x30\xc7\x3b\xd2\x69\x00"
33751 				"\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
33752 				"\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
33753 				"\x58\xef\x63\xfa\x91\x05\x9c\x33"
33754 				"\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
33755 				"\x19\xb0\x47\xde\x52\xe9\x80\x17"
33756 				"\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
33757 				"\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
33758 				"\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
33759 				"\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
33760 				"\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
33761 				"\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
33762 				"\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
33763 				"\x86\x1d\x91\x28\xbf\x33\xca\x61"
33764 				"\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
33765 				"\x47\xde\x75\x0c\x80\x17\xae\x22"
33766 				"\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
33767 				"\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
33768 				"\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
33769 				"\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
33770 				"\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
33771 				"\xd0\x67\xfe\x72\x09\xa0\x14\xab"
33772 				"\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
33773 				"\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
33774 				"\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
33775 				"\x75\x0c\xa3\x17\xae\x45\xdc\x50"
33776 				"\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
33777 				"\x59\xf0\x64\xfb\x92\x06\x9d\x34"
33778 				"\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
33779 				"\x1a\xb1\x48\xdf\x53\xea\x81\x18"
33780 				"\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
33781 				"\xfe\x95\x09\xa0\x37\xce\x42\xd9"
33782 				"\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
33783 				"\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
33784 				"\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
33785 				"\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
33786 				"\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
33787 				"\x87\x1e\x92\x29\xc0\x34\xcb\x62"
33788 				"\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
33789 				"\x48\xdf\x76\x0d\x81\x18\xaf\x23"
33790 				"\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
33791 				"\x2c\xc3\x37\xce\x65\xfc\x70\x07"
33792 				"\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
33793 				"\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
33794 				"\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
33795 				"\xd1\x68\xff\x73\x0a\xa1\x15\xac"
33796 				"\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
33797 				"\xb5\x29\xc0\x57\xee\x62\xf9\x90"
33798 				"\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
33799 				"\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
33800 				"\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
33801 				"\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
33802 				"\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
33803 				"\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
33804 				"\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
33805 				"\xff\x96\x0a\xa1\x38\xcf\x43\xda"
33806 				"\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
33807 				"\xe3\x57\xee\x85\x1c\x90\x27\xbe"
33808 				"\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
33809 				"\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
33810 				"\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
33811 				"\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
33812 				"\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
33813 				"\x49\xe0\x77\x0e\x82\x19\xb0\x24"
33814 				"\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
33815 				"\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
33816 				"\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
33817 				"\x11\x85\x1c\xb3\x27\xbe\x55\xec"
33818 				"\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
33819 				"\xd2\x69\x00\x74\x0b\xa2\x16\xad"
33820 				"\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
33821 				"\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
33822 				"\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
33823 				"\x77\x0e\xa5\x19\xb0\x47\xde\x52"
33824 				"\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
33825 				"\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
33826 				"\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
33827 				"\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
33828 				"\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
33829 				"\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
33830 				"\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
33831 				"\xe4\x58\xef\x86\x1d\x91\x28\xbf"
33832 				"\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
33833 				"\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
33834 				"\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
33835 				"\x89\x20\x94\x2b\xc2\x36\xcd\x64"
33836 				"\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
33837 				"\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
33838 				"\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
33839 				"\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
33840 				"\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
33841 				"\x12\x86\x1d\xb4\x28\xbf\x56\xed"
33842 				"\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
33843 				"\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
33844 				"\x45\xdc\x50\xe7\x7e\x15\x89\x20"
33845 				"\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
33846 				"\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
33847 				"\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
33848 				"\xea\x81\x18\x8c\x23\xba\x2e\xc5"
33849 				"\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
33850 				"\xce\x42\xd9\x70\x07\x7b\x12\xa9"
33851 				"\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
33852 				"\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
33853 				"\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
33854 				"\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
33855 				"\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
33856 				"\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
33857 				"\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
33858 				"\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
33859 				"\x8a\x21\x95\x2c\xc3\x37\xce\x65"
33860 				"\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
33861 				"\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
33862 				"\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
33863 				"\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
33864 				"\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
33865 				"\x13\x87\x1e\xb5\x29\xc0\x57\xee"
33866 				"\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
33867 				"\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
33868 				"\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
33869 				"\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
33870 				"\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
33871 				"\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
33872 				"\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
33873 				"\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
33874 				"\xcf\x43\xda\x71\x08\x7c\x13\xaa"
33875 				"\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
33876 				"\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
33877 				"\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
33878 				"\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
33879 				"\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
33880 				"\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
33881 				"\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
33882 				"\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
33883 				"\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
33884 				"\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
33885 				"\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
33886 				"\xbe\x55\xec\x60\xf7\x8e\x02\x99"
33887 				"\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
33888 				"\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
33889 				"\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
33890 				"\x63\xfa\x91\x05\x9c\x33\xca\x3e"
33891 				"\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
33892 				"\x47\xde\x52\xe9\x80\x17\x8b\x22"
33893 				"\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
33894 				"\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
33895 				"\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
33896 				"\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
33897 				"\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
33898 				"\xd0\x44\xdb\x72\x09\x7d\x14\xab"
33899 				"\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
33900 				"\x91\x28\xbf\x33\xca\x61\xf8\x6c"
33901 				"\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
33902 				"\x75\x0c\x80\x17\xae\x22\xb9\x50"
33903 				"\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
33904 				"\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
33905 				"\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
33906 				"\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
33907 				"\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
33908 				"\xfe\x72\x09\xa0\x14\xab\x42\xd9"
33909 				"\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
33910 				"\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
33911 				"\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
33912 				"\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
33913 				"\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
33914 				"\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
33915 				"\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
33916 				"\x48\xdf\x53\xea\x81\x18\x8c\x23"
33917 				"\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
33918 				"\x09\xa0\x37\xce\x42\xd9\x70\x07"
33919 				"\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
33920 				"\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
33921 				"\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
33922 				"\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
33923 				"\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
33924 				"\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
33925 				"\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
33926 				"\x76\x0d\x81\x18\xaf\x23\xba\x51"
33927 				"\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
33928 				"\x37\xce\x65\xfc\x70\x07\x9e\x12"
33929 				"\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
33930 				"\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
33931 				"\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
33932 				"\xff\x73\x0a\xa1\x15\xac\x43\xda"
33933 				"\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
33934 				"\xc0\x57\xee\x62\xf9\x90\x04\x9b"
33935 				"\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
33936 				"\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
33937 				"\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
33938 				"\x65\xfc\x93\x07\x9e\x35\xcc\x40"
33939 				"\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
33940 				"\x49\xe0\x54\xeb\x82\x19\x8d\x24"
33941 				"\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
33942 				"\x0a\xa1\x38\xcf\x43\xda\x71\x08"
33943 				"\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
33944 				"\xee\x85\x1c\x90\x27\xbe\x32\xc9"
33945 				"\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
33946 				"\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
33947 				"\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
33948 				"\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
33949 				"\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
33950 				"\x77\x0e\x82\x19\xb0\x24\xbb\x52"
33951 				"\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
33952 				"\x38\xcf\x66\xfd\x71\x08\x9f\x13"
33953 				"\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
33954 				"\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
33955 				"\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
33956 				"\x00\x74\x0b\xa2\x16\xad\x44\xdb"
33957 				"\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
33958 				"\xc1\x58\xef\x63\xfa\x91\x05\x9c"
33959 				"\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
33960 				"\xa5\x19\xb0\x47\xde\x52\xe9\x80"
33961 				"\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
33962 				"\x66\xfd\x94\x08\x9f\x36\xcd\x41"
33963 				"\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
33964 				"\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
33965 				"\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
33966 				"\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
33967 				"\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
33968 				"\xef\x86\x1d\x91\x28\xbf\x33\xca"
33969 				"\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
33970 				"\xd3\x47\xde\x75\x0c\x80\x17\xae"
33971 				"\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
33972 				"\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
33973 				"\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
33974 				"\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
33975 				"\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
33976 				"\x39\xd0\x67\xfe\x72\x09\xa0\x14"
33977 				"\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
33978 				"\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
33979 				"\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
33980 				"\x01\x75\x0c\xa3\x17\xae\x45\xdc"
33981 				"\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
33982 				"\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
33983 				"\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
33984 				"\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
33985 				"\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
33986 				"\x67\xfe\x95\x09\xa0\x37\xce\x42"
33987 				"\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
33988 				"\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
33989 				"\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
33990 		.psize = 2048,
33991 		.digest = "\xfb\x3a\x7a\xda",
33992 	}
33993 };
33994 
33995 /*
33996  * CRC32C test vectors
33997  */
33998 static const struct hash_testvec crc32c_tv_template[] = {
33999 	{
34000 		.psize = 0,
34001 		.digest = "\x00\x00\x00\x00",
34002 	},
34003 	{
34004 		.key = "\x87\xa9\xcb\xed",
34005 		.ksize = 4,
34006 		.psize = 0,
34007 		.digest = "\x78\x56\x34\x12",
34008 	},
34009 	{
34010 		.key = "\xff\xff\xff\xff",
34011 		.ksize = 4,
34012 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34013 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34014 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34015 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34016 			     "\x21\x22\x23\x24\x25\x26\x27\x28",
34017 		.psize = 40,
34018 		.digest = "\x7f\x15\x2c\x0e",
34019 	},
34020 	{
34021 		.key = "\xff\xff\xff\xff",
34022 		.ksize = 4,
34023 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34024 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34025 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34026 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34027 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34028 		.psize = 40,
34029 		.digest = "\xf6\xeb\x80\xe9",
34030 	},
34031 	{
34032 		.key = "\xff\xff\xff\xff",
34033 		.ksize = 4,
34034 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34035 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34036 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34037 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34038 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
34039 		.psize = 40,
34040 		.digest = "\xed\xbd\x74\xde",
34041 	},
34042 	{
34043 		.key = "\xff\xff\xff\xff",
34044 		.ksize = 4,
34045 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34046 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34047 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34048 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34049 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34050 		.psize = 40,
34051 		.digest = "\x62\xc8\x79\xd5",
34052 	},
34053 	{
34054 		.key = "\xff\xff\xff\xff",
34055 		.ksize = 4,
34056 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34057 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34058 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34059 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34060 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34061 		.psize = 40,
34062 		.digest = "\xd0\x9a\x97\xba",
34063 	},
34064 	{
34065 		.key = "\xff\xff\xff\xff",
34066 		.ksize = 4,
34067 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34068 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34069 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34070 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34071 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34072 		.psize = 40,
34073 		.digest = "\x13\xd9\x29\x2b",
34074 	},
34075 	{
34076 		.key = "\x80\xea\xd3\xf1",
34077 		.ksize = 4,
34078 		.plaintext = "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34079 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34080 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34081 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34082 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50",
34083 		.psize = 40,
34084 		.digest = "\x0c\xb5\xe2\xa2",
34085 	},
34086 	{
34087 		.key = "\xf3\x4a\x1d\x5d",
34088 		.ksize = 4,
34089 		.plaintext = "\x51\x52\x53\x54\x55\x56\x57\x58"
34090 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34091 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34092 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34093 			     "\x71\x72\x73\x74\x75\x76\x77\x78",
34094 		.psize = 40,
34095 		.digest = "\xd1\x7f\xfb\xa6",
34096 	},
34097 	{
34098 		.key = "\x2e\x80\x04\x59",
34099 		.ksize = 4,
34100 		.plaintext = "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34101 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34102 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34103 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34104 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0",
34105 		.psize = 40,
34106 		.digest = "\x59\x33\xe6\x7a",
34107 	},
34108 	{
34109 		.key = "\xa6\xcc\x19\x85",
34110 		.ksize = 4,
34111 		.plaintext = "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34112 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34113 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34114 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34115 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8",
34116 		.psize = 40,
34117 		.digest = "\xbe\x03\x01\xd2",
34118 	},
34119 	{
34120 		.key = "\x41\xfc\xfe\x2d",
34121 		.ksize = 4,
34122 		.plaintext = "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34123 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34124 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34125 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34126 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34127 		.psize = 40,
34128 		.digest = "\x75\xd3\xc5\x24",
34129 	},
34130 	{
34131 		.key = "\xff\xff\xff\xff",
34132 		.ksize = 4,
34133 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34134 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34135 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34136 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34137 			     "\x21\x22\x23\x24\x25\x26\x27\x28"
34138 			     "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34139 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34140 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34141 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34142 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
34143 			     "\x51\x52\x53\x54\x55\x56\x57\x58"
34144 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34145 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34146 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34147 			     "\x71\x72\x73\x74\x75\x76\x77\x78"
34148 			     "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34149 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34150 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34151 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34152 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34153 			     "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34154 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34155 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34156 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34157 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34158 			     "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34159 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34160 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34161 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34162 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34163 		.psize = 240,
34164 		.digest = "\x75\xd3\xc5\x24",
34165 		.np = 2,
34166 		.tap = { 31, 209 }
34167 	}, {
34168 		.key = "\xff\xff\xff\xff",
34169 		.ksize = 4,
34170 		.plaintext =	"\x6e\x05\x79\x10\xa7\x1b\xb2\x49"
34171 				"\xe0\x54\xeb\x82\x19\x8d\x24\xbb"
34172 				"\x2f\xc6\x5d\xf4\x68\xff\x96\x0a"
34173 				"\xa1\x38\xcf\x43\xda\x71\x08\x7c"
34174 				"\x13\xaa\x1e\xb5\x4c\xe3\x57\xee"
34175 				"\x85\x1c\x90\x27\xbe\x32\xc9\x60"
34176 				"\xf7\x6b\x02\x99\x0d\xa4\x3b\xd2"
34177 				"\x46\xdd\x74\x0b\x7f\x16\xad\x21"
34178 				"\xb8\x4f\xe6\x5a\xf1\x88\x1f\x93"
34179 				"\x2a\xc1\x35\xcc\x63\xfa\x6e\x05"
34180 				"\x9c\x10\xa7\x3e\xd5\x49\xe0\x77"
34181 				"\x0e\x82\x19\xb0\x24\xbb\x52\xe9"
34182 				"\x5d\xf4\x8b\x22\x96\x2d\xc4\x38"
34183 				"\xcf\x66\xfd\x71\x08\x9f\x13\xaa"
34184 				"\x41\xd8\x4c\xe3\x7a\x11\x85\x1c"
34185 				"\xb3\x27\xbe\x55\xec\x60\xf7\x8e"
34186 				"\x02\x99\x30\xc7\x3b\xd2\x69\x00"
34187 				"\x74\x0b\xa2\x16\xad\x44\xdb\x4f"
34188 				"\xe6\x7d\x14\x88\x1f\xb6\x2a\xc1"
34189 				"\x58\xef\x63\xfa\x91\x05\x9c\x33"
34190 				"\xca\x3e\xd5\x6c\x03\x77\x0e\xa5"
34191 				"\x19\xb0\x47\xde\x52\xe9\x80\x17"
34192 				"\x8b\x22\xb9\x2d\xc4\x5b\xf2\x66"
34193 				"\xfd\x94\x08\x9f\x36\xcd\x41\xd8"
34194 				"\x6f\x06\x7a\x11\xa8\x1c\xb3\x4a"
34195 				"\xe1\x55\xec\x83\x1a\x8e\x25\xbc"
34196 				"\x30\xc7\x5e\xf5\x69\x00\x97\x0b"
34197 				"\xa2\x39\xd0\x44\xdb\x72\x09\x7d"
34198 				"\x14\xab\x1f\xb6\x4d\xe4\x58\xef"
34199 				"\x86\x1d\x91\x28\xbf\x33\xca\x61"
34200 				"\xf8\x6c\x03\x9a\x0e\xa5\x3c\xd3"
34201 				"\x47\xde\x75\x0c\x80\x17\xae\x22"
34202 				"\xb9\x50\xe7\x5b\xf2\x89\x20\x94"
34203 				"\x2b\xc2\x36\xcd\x64\xfb\x6f\x06"
34204 				"\x9d\x11\xa8\x3f\xd6\x4a\xe1\x78"
34205 				"\x0f\x83\x1a\xb1\x25\xbc\x53\xea"
34206 				"\x5e\xf5\x8c\x00\x97\x2e\xc5\x39"
34207 				"\xd0\x67\xfe\x72\x09\xa0\x14\xab"
34208 				"\x42\xd9\x4d\xe4\x7b\x12\x86\x1d"
34209 				"\xb4\x28\xbf\x56\xed\x61\xf8\x8f"
34210 				"\x03\x9a\x31\xc8\x3c\xd3\x6a\x01"
34211 				"\x75\x0c\xa3\x17\xae\x45\xdc\x50"
34212 				"\xe7\x7e\x15\x89\x20\xb7\x2b\xc2"
34213 				"\x59\xf0\x64\xfb\x92\x06\x9d\x34"
34214 				"\xcb\x3f\xd6\x6d\x04\x78\x0f\xa6"
34215 				"\x1a\xb1\x48\xdf\x53\xea\x81\x18"
34216 				"\x8c\x23\xba\x2e\xc5\x5c\xf3\x67"
34217 				"\xfe\x95\x09\xa0\x37\xce\x42\xd9"
34218 				"\x70\x07\x7b\x12\xa9\x1d\xb4\x4b"
34219 				"\xe2\x56\xed\x84\x1b\x8f\x26\xbd"
34220 				"\x31\xc8\x5f\xf6\x6a\x01\x98\x0c"
34221 				"\xa3\x3a\xd1\x45\xdc\x73\x0a\x7e"
34222 				"\x15\xac\x20\xb7\x4e\xe5\x59\xf0"
34223 				"\x87\x1e\x92\x29\xc0\x34\xcb\x62"
34224 				"\xf9\x6d\x04\x9b\x0f\xa6\x3d\xd4"
34225 				"\x48\xdf\x76\x0d\x81\x18\xaf\x23"
34226 				"\xba\x51\xe8\x5c\xf3\x8a\x21\x95"
34227 				"\x2c\xc3\x37\xce\x65\xfc\x70\x07"
34228 				"\x9e\x12\xa9\x40\xd7\x4b\xe2\x79"
34229 				"\x10\x84\x1b\xb2\x26\xbd\x54\xeb"
34230 				"\x5f\xf6\x8d\x01\x98\x2f\xc6\x3a"
34231 				"\xd1\x68\xff\x73\x0a\xa1\x15\xac"
34232 				"\x43\xda\x4e\xe5\x7c\x13\x87\x1e"
34233 				"\xb5\x29\xc0\x57\xee\x62\xf9\x90"
34234 				"\x04\x9b\x32\xc9\x3d\xd4\x6b\x02"
34235 				"\x76\x0d\xa4\x18\xaf\x46\xdd\x51"
34236 				"\xe8\x7f\x16\x8a\x21\xb8\x2c\xc3"
34237 				"\x5a\xf1\x65\xfc\x93\x07\x9e\x35"
34238 				"\xcc\x40\xd7\x6e\x05\x79\x10\xa7"
34239 				"\x1b\xb2\x49\xe0\x54\xeb\x82\x19"
34240 				"\x8d\x24\xbb\x2f\xc6\x5d\xf4\x68"
34241 				"\xff\x96\x0a\xa1\x38\xcf\x43\xda"
34242 				"\x71\x08\x7c\x13\xaa\x1e\xb5\x4c"
34243 				"\xe3\x57\xee\x85\x1c\x90\x27\xbe"
34244 				"\x32\xc9\x60\xf7\x6b\x02\x99\x0d"
34245 				"\xa4\x3b\xd2\x46\xdd\x74\x0b\x7f"
34246 				"\x16\xad\x21\xb8\x4f\xe6\x5a\xf1"
34247 				"\x88\x1f\x93\x2a\xc1\x35\xcc\x63"
34248 				"\xfa\x6e\x05\x9c\x10\xa7\x3e\xd5"
34249 				"\x49\xe0\x77\x0e\x82\x19\xb0\x24"
34250 				"\xbb\x52\xe9\x5d\xf4\x8b\x22\x96"
34251 				"\x2d\xc4\x38\xcf\x66\xfd\x71\x08"
34252 				"\x9f\x13\xaa\x41\xd8\x4c\xe3\x7a"
34253 				"\x11\x85\x1c\xb3\x27\xbe\x55\xec"
34254 				"\x60\xf7\x8e\x02\x99\x30\xc7\x3b"
34255 				"\xd2\x69\x00\x74\x0b\xa2\x16\xad"
34256 				"\x44\xdb\x4f\xe6\x7d\x14\x88\x1f"
34257 				"\xb6\x2a\xc1\x58\xef\x63\xfa\x91"
34258 				"\x05\x9c\x33\xca\x3e\xd5\x6c\x03"
34259 				"\x77\x0e\xa5\x19\xb0\x47\xde\x52"
34260 				"\xe9\x80\x17\x8b\x22\xb9\x2d\xc4"
34261 				"\x5b\xf2\x66\xfd\x94\x08\x9f\x36"
34262 				"\xcd\x41\xd8\x6f\x06\x7a\x11\xa8"
34263 				"\x1c\xb3\x4a\xe1\x55\xec\x83\x1a"
34264 				"\x8e\x25\xbc\x30\xc7\x5e\xf5\x69"
34265 				"\x00\x97\x0b\xa2\x39\xd0\x44\xdb"
34266 				"\x72\x09\x7d\x14\xab\x1f\xb6\x4d"
34267 				"\xe4\x58\xef\x86\x1d\x91\x28\xbf"
34268 				"\x33\xca\x61\xf8\x6c\x03\x9a\x0e"
34269 				"\xa5\x3c\xd3\x47\xde\x75\x0c\x80"
34270 				"\x17\xae\x22\xb9\x50\xe7\x5b\xf2"
34271 				"\x89\x20\x94\x2b\xc2\x36\xcd\x64"
34272 				"\xfb\x6f\x06\x9d\x11\xa8\x3f\xd6"
34273 				"\x4a\xe1\x78\x0f\x83\x1a\xb1\x25"
34274 				"\xbc\x53\xea\x5e\xf5\x8c\x00\x97"
34275 				"\x2e\xc5\x39\xd0\x67\xfe\x72\x09"
34276 				"\xa0\x14\xab\x42\xd9\x4d\xe4\x7b"
34277 				"\x12\x86\x1d\xb4\x28\xbf\x56\xed"
34278 				"\x61\xf8\x8f\x03\x9a\x31\xc8\x3c"
34279 				"\xd3\x6a\x01\x75\x0c\xa3\x17\xae"
34280 				"\x45\xdc\x50\xe7\x7e\x15\x89\x20"
34281 				"\xb7\x2b\xc2\x59\xf0\x64\xfb\x92"
34282 				"\x06\x9d\x34\xcb\x3f\xd6\x6d\x04"
34283 				"\x78\x0f\xa6\x1a\xb1\x48\xdf\x53"
34284 				"\xea\x81\x18\x8c\x23\xba\x2e\xc5"
34285 				"\x5c\xf3\x67\xfe\x95\x09\xa0\x37"
34286 				"\xce\x42\xd9\x70\x07\x7b\x12\xa9"
34287 				"\x1d\xb4\x4b\xe2\x56\xed\x84\x1b"
34288 				"\x8f\x26\xbd\x31\xc8\x5f\xf6\x6a"
34289 				"\x01\x98\x0c\xa3\x3a\xd1\x45\xdc"
34290 				"\x73\x0a\x7e\x15\xac\x20\xb7\x4e"
34291 				"\xe5\x59\xf0\x87\x1e\x92\x29\xc0"
34292 				"\x34\xcb\x62\xf9\x6d\x04\x9b\x0f"
34293 				"\xa6\x3d\xd4\x48\xdf\x76\x0d\x81"
34294 				"\x18\xaf\x23\xba\x51\xe8\x5c\xf3"
34295 				"\x8a\x21\x95\x2c\xc3\x37\xce\x65"
34296 				"\xfc\x70\x07\x9e\x12\xa9\x40\xd7"
34297 				"\x4b\xe2\x79\x10\x84\x1b\xb2\x26"
34298 				"\xbd\x54\xeb\x5f\xf6\x8d\x01\x98"
34299 				"\x2f\xc6\x3a\xd1\x68\xff\x73\x0a"
34300 				"\xa1\x15\xac\x43\xda\x4e\xe5\x7c"
34301 				"\x13\x87\x1e\xb5\x29\xc0\x57\xee"
34302 				"\x62\xf9\x90\x04\x9b\x32\xc9\x3d"
34303 				"\xd4\x6b\x02\x76\x0d\xa4\x18\xaf"
34304 				"\x46\xdd\x51\xe8\x7f\x16\x8a\x21"
34305 				"\xb8\x2c\xc3\x5a\xf1\x65\xfc\x93"
34306 				"\x07\x9e\x35\xcc\x40\xd7\x6e\x05"
34307 				"\x79\x10\xa7\x1b\xb2\x49\xe0\x54"
34308 				"\xeb\x82\x19\x8d\x24\xbb\x2f\xc6"
34309 				"\x5d\xf4\x68\xff\x96\x0a\xa1\x38"
34310 				"\xcf\x43\xda\x71\x08\x7c\x13\xaa"
34311 				"\x1e\xb5\x4c\xe3\x57\xee\x85\x1c"
34312 				"\x90\x27\xbe\x32\xc9\x60\xf7\x6b"
34313 				"\x02\x99\x0d\xa4\x3b\xd2\x46\xdd"
34314 				"\x74\x0b\x7f\x16\xad\x21\xb8\x4f"
34315 				"\xe6\x5a\xf1\x88\x1f\x93\x2a\xc1"
34316 				"\x35\xcc\x63\xfa\x6e\x05\x9c\x10"
34317 				"\xa7\x3e\xd5\x49\xe0\x77\x0e\x82"
34318 				"\x19\xb0\x24\xbb\x52\xe9\x5d\xf4"
34319 				"\x8b\x22\x96\x2d\xc4\x38\xcf\x66"
34320 				"\xfd\x71\x08\x9f\x13\xaa\x41\xd8"
34321 				"\x4c\xe3\x7a\x11\x85\x1c\xb3\x27"
34322 				"\xbe\x55\xec\x60\xf7\x8e\x02\x99"
34323 				"\x30\xc7\x3b\xd2\x69\x00\x74\x0b"
34324 				"\xa2\x16\xad\x44\xdb\x4f\xe6\x7d"
34325 				"\x14\x88\x1f\xb6\x2a\xc1\x58\xef"
34326 				"\x63\xfa\x91\x05\x9c\x33\xca\x3e"
34327 				"\xd5\x6c\x03\x77\x0e\xa5\x19\xb0"
34328 				"\x47\xde\x52\xe9\x80\x17\x8b\x22"
34329 				"\xb9\x2d\xc4\x5b\xf2\x66\xfd\x94"
34330 				"\x08\x9f\x36\xcd\x41\xd8\x6f\x06"
34331 				"\x7a\x11\xa8\x1c\xb3\x4a\xe1\x55"
34332 				"\xec\x83\x1a\x8e\x25\xbc\x30\xc7"
34333 				"\x5e\xf5\x69\x00\x97\x0b\xa2\x39"
34334 				"\xd0\x44\xdb\x72\x09\x7d\x14\xab"
34335 				"\x1f\xb6\x4d\xe4\x58\xef\x86\x1d"
34336 				"\x91\x28\xbf\x33\xca\x61\xf8\x6c"
34337 				"\x03\x9a\x0e\xa5\x3c\xd3\x47\xde"
34338 				"\x75\x0c\x80\x17\xae\x22\xb9\x50"
34339 				"\xe7\x5b\xf2\x89\x20\x94\x2b\xc2"
34340 				"\x36\xcd\x64\xfb\x6f\x06\x9d\x11"
34341 				"\xa8\x3f\xd6\x4a\xe1\x78\x0f\x83"
34342 				"\x1a\xb1\x25\xbc\x53\xea\x5e\xf5"
34343 				"\x8c\x00\x97\x2e\xc5\x39\xd0\x67"
34344 				"\xfe\x72\x09\xa0\x14\xab\x42\xd9"
34345 				"\x4d\xe4\x7b\x12\x86\x1d\xb4\x28"
34346 				"\xbf\x56\xed\x61\xf8\x8f\x03\x9a"
34347 				"\x31\xc8\x3c\xd3\x6a\x01\x75\x0c"
34348 				"\xa3\x17\xae\x45\xdc\x50\xe7\x7e"
34349 				"\x15\x89\x20\xb7\x2b\xc2\x59\xf0"
34350 				"\x64\xfb\x92\x06\x9d\x34\xcb\x3f"
34351 				"\xd6\x6d\x04\x78\x0f\xa6\x1a\xb1"
34352 				"\x48\xdf\x53\xea\x81\x18\x8c\x23"
34353 				"\xba\x2e\xc5\x5c\xf3\x67\xfe\x95"
34354 				"\x09\xa0\x37\xce\x42\xd9\x70\x07"
34355 				"\x7b\x12\xa9\x1d\xb4\x4b\xe2\x56"
34356 				"\xed\x84\x1b\x8f\x26\xbd\x31\xc8"
34357 				"\x5f\xf6\x6a\x01\x98\x0c\xa3\x3a"
34358 				"\xd1\x45\xdc\x73\x0a\x7e\x15\xac"
34359 				"\x20\xb7\x4e\xe5\x59\xf0\x87\x1e"
34360 				"\x92\x29\xc0\x34\xcb\x62\xf9\x6d"
34361 				"\x04\x9b\x0f\xa6\x3d\xd4\x48\xdf"
34362 				"\x76\x0d\x81\x18\xaf\x23\xba\x51"
34363 				"\xe8\x5c\xf3\x8a\x21\x95\x2c\xc3"
34364 				"\x37\xce\x65\xfc\x70\x07\x9e\x12"
34365 				"\xa9\x40\xd7\x4b\xe2\x79\x10\x84"
34366 				"\x1b\xb2\x26\xbd\x54\xeb\x5f\xf6"
34367 				"\x8d\x01\x98\x2f\xc6\x3a\xd1\x68"
34368 				"\xff\x73\x0a\xa1\x15\xac\x43\xda"
34369 				"\x4e\xe5\x7c\x13\x87\x1e\xb5\x29"
34370 				"\xc0\x57\xee\x62\xf9\x90\x04\x9b"
34371 				"\x32\xc9\x3d\xd4\x6b\x02\x76\x0d"
34372 				"\xa4\x18\xaf\x46\xdd\x51\xe8\x7f"
34373 				"\x16\x8a\x21\xb8\x2c\xc3\x5a\xf1"
34374 				"\x65\xfc\x93\x07\x9e\x35\xcc\x40"
34375 				"\xd7\x6e\x05\x79\x10\xa7\x1b\xb2"
34376 				"\x49\xe0\x54\xeb\x82\x19\x8d\x24"
34377 				"\xbb\x2f\xc6\x5d\xf4\x68\xff\x96"
34378 				"\x0a\xa1\x38\xcf\x43\xda\x71\x08"
34379 				"\x7c\x13\xaa\x1e\xb5\x4c\xe3\x57"
34380 				"\xee\x85\x1c\x90\x27\xbe\x32\xc9"
34381 				"\x60\xf7\x6b\x02\x99\x0d\xa4\x3b"
34382 				"\xd2\x46\xdd\x74\x0b\x7f\x16\xad"
34383 				"\x21\xb8\x4f\xe6\x5a\xf1\x88\x1f"
34384 				"\x93\x2a\xc1\x35\xcc\x63\xfa\x6e"
34385 				"\x05\x9c\x10\xa7\x3e\xd5\x49\xe0"
34386 				"\x77\x0e\x82\x19\xb0\x24\xbb\x52"
34387 				"\xe9\x5d\xf4\x8b\x22\x96\x2d\xc4"
34388 				"\x38\xcf\x66\xfd\x71\x08\x9f\x13"
34389 				"\xaa\x41\xd8\x4c\xe3\x7a\x11\x85"
34390 				"\x1c\xb3\x27\xbe\x55\xec\x60\xf7"
34391 				"\x8e\x02\x99\x30\xc7\x3b\xd2\x69"
34392 				"\x00\x74\x0b\xa2\x16\xad\x44\xdb"
34393 				"\x4f\xe6\x7d\x14\x88\x1f\xb6\x2a"
34394 				"\xc1\x58\xef\x63\xfa\x91\x05\x9c"
34395 				"\x33\xca\x3e\xd5\x6c\x03\x77\x0e"
34396 				"\xa5\x19\xb0\x47\xde\x52\xe9\x80"
34397 				"\x17\x8b\x22\xb9\x2d\xc4\x5b\xf2"
34398 				"\x66\xfd\x94\x08\x9f\x36\xcd\x41"
34399 				"\xd8\x6f\x06\x7a\x11\xa8\x1c\xb3"
34400 				"\x4a\xe1\x55\xec\x83\x1a\x8e\x25"
34401 				"\xbc\x30\xc7\x5e\xf5\x69\x00\x97"
34402 				"\x0b\xa2\x39\xd0\x44\xdb\x72\x09"
34403 				"\x7d\x14\xab\x1f\xb6\x4d\xe4\x58"
34404 				"\xef\x86\x1d\x91\x28\xbf\x33\xca"
34405 				"\x61\xf8\x6c\x03\x9a\x0e\xa5\x3c"
34406 				"\xd3\x47\xde\x75\x0c\x80\x17\xae"
34407 				"\x22\xb9\x50\xe7\x5b\xf2\x89\x20"
34408 				"\x94\x2b\xc2\x36\xcd\x64\xfb\x6f"
34409 				"\x06\x9d\x11\xa8\x3f\xd6\x4a\xe1"
34410 				"\x78\x0f\x83\x1a\xb1\x25\xbc\x53"
34411 				"\xea\x5e\xf5\x8c\x00\x97\x2e\xc5"
34412 				"\x39\xd0\x67\xfe\x72\x09\xa0\x14"
34413 				"\xab\x42\xd9\x4d\xe4\x7b\x12\x86"
34414 				"\x1d\xb4\x28\xbf\x56\xed\x61\xf8"
34415 				"\x8f\x03\x9a\x31\xc8\x3c\xd3\x6a"
34416 				"\x01\x75\x0c\xa3\x17\xae\x45\xdc"
34417 				"\x50\xe7\x7e\x15\x89\x20\xb7\x2b"
34418 				"\xc2\x59\xf0\x64\xfb\x92\x06\x9d"
34419 				"\x34\xcb\x3f\xd6\x6d\x04\x78\x0f"
34420 				"\xa6\x1a\xb1\x48\xdf\x53\xea\x81"
34421 				"\x18\x8c\x23\xba\x2e\xc5\x5c\xf3"
34422 				"\x67\xfe\x95\x09\xa0\x37\xce\x42"
34423 				"\xd9\x70\x07\x7b\x12\xa9\x1d\xb4"
34424 				"\x4b\xe2\x56\xed\x84\x1b\x8f\x26"
34425 				"\xbd\x31\xc8\x5f\xf6\x6a\x01\x98",
34426 		.psize = 2048,
34427 		.digest = "\xec\x26\x4d\x95",
34428 	}
34429 };
34430 
34431 /*
34432  * Blakcifn CRC test vectors
34433  */
34434 static const struct hash_testvec bfin_crc_tv_template[] = {
34435 	{
34436 		.psize = 0,
34437 		.digest = "\x00\x00\x00\x00",
34438 	},
34439 	{
34440 		.key = "\x87\xa9\xcb\xed",
34441 		.ksize = 4,
34442 		.psize = 0,
34443 		.digest = "\x87\xa9\xcb\xed",
34444 	},
34445 	{
34446 		.key = "\xff\xff\xff\xff",
34447 		.ksize = 4,
34448 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34449 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34450 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34451 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34452 			     "\x21\x22\x23\x24\x25\x26\x27\x28",
34453 		.psize = 40,
34454 		.digest = "\x84\x0c\x8d\xa2",
34455 	},
34456 	{
34457 		.key = "\xff\xff\xff\xff",
34458 		.ksize = 4,
34459 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34460 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34461 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34462 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34463 			     "\x21\x22\x23\x24\x25\x26",
34464 		.psize = 38,
34465 		.digest = "\x8c\x58\xec\xb7",
34466 	},
34467 	{
34468 		.key = "\xff\xff\xff\xff",
34469 		.ksize = 4,
34470 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34471 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34472 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34473 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34474 			     "\x21\x22\x23\x24\x25\x26\x27",
34475 		.psize = 39,
34476 		.digest = "\xdc\x50\x28\x7b",
34477 	},
34478 	{
34479 		.key = "\xff\xff\xff\xff",
34480 		.ksize = 4,
34481 		.plaintext = "\x01\x02\x03\x04\x05\x06\x07\x08"
34482 			     "\x09\x0a\x0b\x0c\x0d\x0e\x0f\x10"
34483 			     "\x11\x12\x13\x14\x15\x16\x17\x18"
34484 			     "\x19\x1a\x1b\x1c\x1d\x1e\x1f\x20"
34485 			     "\x21\x22\x23\x24\x25\x26\x27\x28"
34486 			     "\x29\x2a\x2b\x2c\x2d\x2e\x2f\x30"
34487 			     "\x31\x32\x33\x34\x35\x36\x37\x38"
34488 			     "\x39\x3a\x3b\x3c\x3d\x3e\x3f\x40"
34489 			     "\x41\x42\x43\x44\x45\x46\x47\x48"
34490 			     "\x49\x4a\x4b\x4c\x4d\x4e\x4f\x50"
34491 			     "\x51\x52\x53\x54\x55\x56\x57\x58"
34492 			     "\x59\x5a\x5b\x5c\x5d\x5e\x5f\x60"
34493 			     "\x61\x62\x63\x64\x65\x66\x67\x68"
34494 			     "\x69\x6a\x6b\x6c\x6d\x6e\x6f\x70"
34495 			     "\x71\x72\x73\x74\x75\x76\x77\x78"
34496 			     "\x79\x7a\x7b\x7c\x7d\x7e\x7f\x80"
34497 			     "\x81\x82\x83\x84\x85\x86\x87\x88"
34498 			     "\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90"
34499 			     "\x91\x92\x93\x94\x95\x96\x97\x98"
34500 			     "\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0"
34501 			     "\xa1\xa2\xa3\xa4\xa5\xa6\xa7\xa8"
34502 			     "\xa9\xaa\xab\xac\xad\xae\xaf\xb0"
34503 			     "\xb1\xb2\xb3\xb4\xb5\xb6\xb7\xb8"
34504 			     "\xb9\xba\xbb\xbc\xbd\xbe\xbf\xc0"
34505 			     "\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc8"
34506 			     "\xc9\xca\xcb\xcc\xcd\xce\xcf\xd0"
34507 			     "\xd1\xd2\xd3\xd4\xd5\xd6\xd7\xd8"
34508 			     "\xd9\xda\xdb\xdc\xdd\xde\xdf\xe0"
34509 			     "\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8"
34510 			     "\xe9\xea\xeb\xec\xed\xee\xef\xf0",
34511 		.psize = 240,
34512 		.digest = "\x10\x19\x4a\x5c",
34513 		.np = 2,
34514 		.tap = { 31, 209 }
34515 	},
34516 
34517 };
34518 
34519 static const struct comp_testvec lz4_comp_tv_template[] = {
34520 	{
34521 		.inlen	= 255,
34522 		.outlen	= 218,
34523 		.input	= "LZ4 is lossless compression algorithm, providing"
34524 			 " compression speed at 400 MB/s per core, scalable "
34525 			 "with multi-cores CPU. It features an extremely fast "
34526 			 "decoder, with speed in multiple GB/s per core, "
34527 			 "typically reaching RAM speed limits on multi-core "
34528 			 "systems.",
34529 		.output	= "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34530 			  "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34531 			  "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34532 			  "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34533 			  "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34534 			  "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34535 			  "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34536 			  "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34537 			  "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34538 			  "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34539 			  "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34540 			  "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34541 			  "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34542 			  "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34543 			  "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
34544 			  "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
34545 			  "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
34546 
34547 	},
34548 };
34549 
34550 static const struct comp_testvec lz4_decomp_tv_template[] = {
34551 	{
34552 		.inlen	= 218,
34553 		.outlen	= 255,
34554 		.input	= "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34555 			  "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34556 			  "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34557 			  "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34558 			  "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34559 			  "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34560 			  "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34561 			  "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34562 			  "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34563 			  "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34564 			  "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34565 			  "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34566 			  "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34567 			  "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34568 			  "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x83"
34569 			  "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x3f\x00\x01\x85\x00"
34570 			  "\x90\x20\x73\x79\x73\x74\x65\x6d\x73\x2e",
34571 		.output	= "LZ4 is lossless compression algorithm, providing"
34572 			 " compression speed at 400 MB/s per core, scalable "
34573 			 "with multi-cores CPU. It features an extremely fast "
34574 			 "decoder, with speed in multiple GB/s per core, "
34575 			 "typically reaching RAM speed limits on multi-core "
34576 			 "systems.",
34577 	},
34578 };
34579 
34580 static const struct comp_testvec lz4hc_comp_tv_template[] = {
34581 	{
34582 		.inlen	= 255,
34583 		.outlen	= 216,
34584 		.input	= "LZ4 is lossless compression algorithm, providing"
34585 			 " compression speed at 400 MB/s per core, scalable "
34586 			 "with multi-cores CPU. It features an extremely fast "
34587 			 "decoder, with speed in multiple GB/s per core, "
34588 			 "typically reaching RAM speed limits on multi-core "
34589 			 "systems.",
34590 		.output = "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34591 			  "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34592 			  "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34593 			  "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34594 			  "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34595 			  "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34596 			  "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34597 			  "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34598 			  "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34599 			  "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34600 			  "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34601 			  "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34602 			  "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34603 			  "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34604 			  "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
34605 			  "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
34606 			  "\x73\x79\x73\x74\x65\x6d\x73\x2e",
34607 
34608 	},
34609 };
34610 
34611 static const struct comp_testvec lz4hc_decomp_tv_template[] = {
34612 	{
34613 		.inlen	= 216,
34614 		.outlen	= 255,
34615 		.input	= "\xf9\x21\x4c\x5a\x34\x20\x69\x73\x20\x6c\x6f\x73\x73"
34616 			  "\x6c\x65\x73\x73\x20\x63\x6f\x6d\x70\x72\x65\x73\x73"
34617 			  "\x69\x6f\x6e\x20\x61\x6c\x67\x6f\x72\x69\x74\x68\x6d"
34618 			  "\x2c\x20\x70\x72\x6f\x76\x69\x64\x69\x6e\x67\x21\x00"
34619 			  "\xf0\x21\x73\x70\x65\x65\x64\x20\x61\x74\x20\x34\x30"
34620 			  "\x30\x20\x4d\x42\x2f\x73\x20\x70\x65\x72\x20\x63\x6f"
34621 			  "\x72\x65\x2c\x20\x73\x63\x61\x6c\x61\x62\x6c\x65\x20"
34622 			  "\x77\x69\x74\x68\x20\x6d\x75\x6c\x74\x69\x2d\x1a\x00"
34623 			  "\xf0\x00\x73\x20\x43\x50\x55\x2e\x20\x49\x74\x20\x66"
34624 			  "\x65\x61\x74\x75\x11\x00\xf2\x0b\x61\x6e\x20\x65\x78"
34625 			  "\x74\x72\x65\x6d\x65\x6c\x79\x20\x66\x61\x73\x74\x20"
34626 			  "\x64\x65\x63\x6f\x64\x65\x72\x2c\x3d\x00\x02\x67\x00"
34627 			  "\x22\x69\x6e\x46\x00\x5a\x70\x6c\x65\x20\x47\x6c\x00"
34628 			  "\xf0\x00\x74\x79\x70\x69\x63\x61\x6c\x6c\x79\x20\x72"
34629 			  "\x65\x61\x63\x68\xa7\x00\x33\x52\x41\x4d\x38\x00\x97"
34630 			  "\x6c\x69\x6d\x69\x74\x73\x20\x6f\x6e\x85\x00\x90\x20"
34631 			  "\x73\x79\x73\x74\x65\x6d\x73\x2e",
34632 		.output	= "LZ4 is lossless compression algorithm, providing"
34633 			 " compression speed at 400 MB/s per core, scalable "
34634 			 "with multi-cores CPU. It features an extremely fast "
34635 			 "decoder, with speed in multiple GB/s per core, "
34636 			 "typically reaching RAM speed limits on multi-core "
34637 			 "systems.",
34638 	},
34639 };
34640 
34641 #endif	/* _CRYPTO_TESTMGR_H */
34642